client/game/ddr.dll/lifted-0032.c (1145191B)
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_2B07C7ED(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(0x2B07C7EDu); 17 18 goto L_2B07C7ED; 19 L_2B07C55D: 20 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 21 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 22 RECOMP_FLAGS_IN(); 23 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 24 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 25 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26 _flag_k = FK_CMP; 27 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 28 L_2B07C572: 29 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 30 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 31 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 32 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 33 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 34 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 35 RECOMP_FLAGS_IN(); 36 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 37 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 38 _cf = 0; 39 _flag_k = FK_TEST; 40 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 41 L_2B07C594: 42 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 43 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 44 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 45 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 46 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 47 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 48 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 49 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 50 _cf = 0; 51 _flag_k = FK_TEST; 52 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 53 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 54 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 55 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 56 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 57 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 58 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 59 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 60 _cf = 0; 61 _flag_k = FK_TEST; 62 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 63 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 64 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 65 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 66 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 67 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 68 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 69 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 70 _cf = 0; 71 _flag_k = FK_TEST; 72 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 73 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 74 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 75 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 76 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 77 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 78 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 79 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 80 _cf = 0; 81 _flag_k = FK_TEST; 82 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 83 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 84 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 85 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 86 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 87 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 88 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 89 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 90 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 91 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 92 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 93 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 94 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 95 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 96 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 97 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 98 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 99 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 100 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 101 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 102 RECOMP_FLAGS_IN(); 103 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 104 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 106 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 107 _flag_k = FK_ADD; 108 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 109 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 110 _cf = 0; 111 _flag_k = FK_NARROW(FK_TEST, 24); 112 RECOMP_BACKEDGE(); 113 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 114 L_2B07C654: 115 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 116 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 118 _flag_k = FK_NARROW(FK_CMP, 24); 119 RECOMP_BACKEDGE(); 120 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 121 L_2B07C65C: 122 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 123 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 125 _flag_k = FK_NARROW(FK_CMP, 24); 126 RECOMP_BACKEDGE(); 127 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 128 L_2B07C664: 129 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 130 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 132 _flag_k = FK_NARROW(FK_CMP, 24); 133 RECOMP_BACKEDGE(); 134 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 135 L_2B07C66C: 136 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 137 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 138 L_2B07C677: 139 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 140 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 141 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 142 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 144 _flag_k = FK_NARROW(FK_CMP, 24); 145 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 146 L_2B07C67F: 147 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 148 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 149 _cf = 0; 150 _flag_k = FK_NARROW(FK_TEST, 24); 151 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 152 L_2B07C683: 153 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 154 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 155 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 156 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 158 _flag_k = FK_NARROW(FK_CMP, 24); 159 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 160 L_2B07C68D: 161 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 162 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 163 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 164 _flag_k = FK_ADD; 165 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 166 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 167 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 168 _flag_k = FK_ADD; 169 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 170 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 171 _cf = 0; 172 _flag_k = FK_NARROW(FK_TEST, 24); 173 RECOMP_BACKEDGE(); 174 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 175 L_2B07C697: 176 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 177 eax = 0; /* 0x2B07C697: xor eax, eax */ 178 _cf = 0; 179 _flag_k = FK_TEST; 180 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 181 L_2B07C69B: 182 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 183 eax = _sc ? 0xFFFFFFFFu : 0; 184 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 185 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 186 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 187 eax = _sa - _sb - _sc; 188 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 189 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 190 L_2B07C6A0: 191 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 192 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 193 _cf = 0; 194 _flag_k = FK_TEST; 195 RECOMP_BACKEDGE(); 196 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 197 L_2B07C6A8: 198 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 199 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 200 L_2B07C6B3: 201 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 202 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 203 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 204 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 206 _flag_k = FK_NARROW(FK_CMP, 24); 207 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 208 L_2B07C6BB: 209 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 210 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 211 _cf = 0; 212 _flag_k = FK_NARROW(FK_TEST, 24); 213 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 214 L_2B07C6BF: 215 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 216 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 217 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 218 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 220 _flag_k = FK_NARROW(FK_CMP, 24); 221 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 222 L_2B07C6C9: 223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 225 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 226 _flag_k = FK_ADD; 227 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 229 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 230 _flag_k = FK_ADD; 231 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 232 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 233 _cf = 0; 234 _flag_k = FK_NARROW(FK_TEST, 24); 235 RECOMP_BACKEDGE(); 236 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 237 L_2B07C6D3: 238 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 239 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 240 _cf = 0; 241 _flag_k = FK_TEST; 242 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 243 L_2B07C6D7: 244 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 245 eax = _sc ? 0xFFFFFFFFu : 0; 246 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 247 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 248 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 249 eax = _sa - _sb - _sc; 250 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 251 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 252 L_2B07C6DC: 253 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 254 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 255 _cf = 0; 256 _flag_k = FK_TEST; 257 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 258 L_2B07C6E4: 259 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 260 RECOMP_FLAGS_IN(); 261 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 262 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 263 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 264 _cf = 0; 265 _flag_k = FK_TEST; 266 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 267 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 268 _cf = 0; 269 _flag_k = FK_TEST; 270 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 271 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 272 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 273 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 274 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 275 _flag_k = FK_DEC; 276 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 277 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 278 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 279 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 280 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 281 RECOMP_FLAGS_IN(); 282 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 283 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 284 _cf = 0; 285 _flag_k = FK_NARROW(FK_TEST, 24); 286 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 287 L_2B07C70A: 288 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 289 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 290 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 291 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 292 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 293 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 294 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 295 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 297 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 298 _cf = 0; 299 _flag_k = FK_TEST; 300 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 301 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 302 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 303 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 304 RECOMP_FLAGS_IN(); 305 L_2B07C727: 306 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 307 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 308 _cf = 0; 309 _flag_k = FK_TEST; 310 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 311 eax = 0; /* 0x2B07C72A: xor eax, eax */ 312 _cf = 0; 313 _flag_k = FK_TEST; 314 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 315 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 316 ecx = ~ecx; /* 0x2B07C733: not ecx */ 317 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 318 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 319 _flag_k = FK_DEC; 320 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 321 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 322 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 323 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 324 RECOMP_FLAGS_IN(); 325 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 326 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 327 _cf = 0; 328 _flag_k = FK_TEST; 329 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 330 eax = 0; /* 0x2B07C748: xor eax, eax */ 331 _cf = 0; 332 _flag_k = FK_TEST; 333 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 334 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 335 ecx = ~ecx; /* 0x2B07C752: not ecx */ 336 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 337 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 338 _flag_k = FK_DEC; 339 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 340 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 341 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 342 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 344 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 345 _flag_k = FK_CMP; 346 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 347 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 349 _flag_k = FK_CMP; 350 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 351 L_2B07C766: 352 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 353 RECOMP_FLAGS_IN(); 354 L_2B07C76C: 355 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 356 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 357 _cf = 0; 358 _flag_k = FK_TEST; 359 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 360 L_2B07C770: 361 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 362 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 363 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 364 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 365 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 366 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 367 RECOMP_FLAGS_IN(); 368 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 369 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 370 _cf = 0; 371 _flag_k = FK_NARROW(FK_TEST, 24); 372 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 373 L_2B07C786: 374 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 375 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 376 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 377 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 378 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 379 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 380 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 381 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 382 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 383 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 384 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 385 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 386 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 387 _cf = 0; 388 _flag_k = FK_TEST; 389 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 390 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 391 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 392 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 393 RECOMP_FLAGS_IN(); 394 L_2B07C7AF: 395 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 396 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 397 _cf = 0; 398 _flag_k = FK_TEST; 399 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 400 RECOMP_BACKEDGE(); 401 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 402 L_2B07C7B9: 403 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 404 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 405 L_2B07C7C4: 406 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 407 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 408 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 409 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 411 _flag_k = FK_NARROW(FK_CMP, 24); 412 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 413 L_2B07C7CC: 414 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 415 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 416 _cf = 0; 417 _flag_k = FK_NARROW(FK_TEST, 24); 418 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 419 L_2B07C7D0: 420 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 421 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 422 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 423 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 425 _flag_k = FK_NARROW(FK_CMP, 24); 426 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 427 L_2B07C7DA: 428 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 430 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 431 _flag_k = FK_ADD; 432 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 433 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 434 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 435 _flag_k = FK_ADD; 436 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 437 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 438 _cf = 0; 439 _flag_k = FK_NARROW(FK_TEST, 24); 440 RECOMP_BACKEDGE(); 441 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 442 L_2B07C7E4: 443 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 444 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 445 _cf = 0; 446 _flag_k = FK_TEST; 447 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 448 L_2B07C7E8: 449 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 450 eax = _sc ? 0xFFFFFFFFu : 0; 451 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 452 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 453 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 454 eax = _sa - _sb - _sc; 455 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 456 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 457 L_2B07C7ED: 458 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 460 _cf = 0; 461 _flag_k = FK_TEST; 462 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 463 L_2B07C7F5: 464 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 465 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 466 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 467 RECOMP_FLAGS_IN(); 468 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 469 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 470 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 471 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 472 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 473 _flag_k = FK_ADD; 474 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 475 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 476 eax = 0; /* 0x2B07C810: xor eax, eax */ 477 _cf = 0; 478 _flag_k = FK_TEST; 479 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 480 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 481 edi = edi + 1; /* 0x2B07C818: inc edi */ 482 _flag_k = FK_INC; 483 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 484 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 485 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 486 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 487 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 488 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 489 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 490 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 491 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 492 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 493 RECOMP_FLAGS_IN(); 494 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 495 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 496 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 497 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 498 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 499 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 500 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 501 RECOMP_FLAGS_IN(); 502 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 503 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 504 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 505 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 506 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 507 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 508 RECOMP_FLAGS_IN(); 509 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 510 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 511 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 512 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 513 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 514 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 515 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 516 RECOMP_FLAGS_IN(); 517 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 518 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 519 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 520 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 521 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 522 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 523 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 524 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 525 RECOMP_FLAGS_IN(); 526 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 527 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 528 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 529 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 530 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 531 RECOMP_FLAGS_IN(); 532 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 533 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 534 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 535 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 536 RECOMP_FLAGS_IN(); 537 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 538 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 539 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 540 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 541 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 542 RECOMP_FLAGS_IN(); 543 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 544 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 545 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 546 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 547 RECOMP_FLAGS_IN(); 548 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 549 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 550 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 551 RECOMP_FLAGS_IN(); 552 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 553 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 554 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 555 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 556 RECOMP_FLAGS_IN(); 557 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 558 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 559 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 560 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 561 RECOMP_FLAGS_IN(); 562 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 563 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 564 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 565 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 566 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 567 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 568 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 569 esi = 0; /* 0x2B07C953: xor esi, esi */ 570 _cf = 0; 571 _flag_k = FK_TEST; 572 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 573 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 574 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 575 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 576 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 577 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 578 RECOMP_FLAGS_IN(); 579 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 580 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 581 RECOMP_BACKEDGE(); 582 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 583 L_2B07C971: 584 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 585 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 586 _cf = 0; 587 _flag_k = FK_TEST; 588 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 589 L_2B07C979: 590 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 591 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 592 L_2B07C984: 593 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 594 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 595 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 596 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 598 _flag_k = FK_NARROW(FK_CMP, 24); 599 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 600 L_2B07C98C: 601 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 602 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 603 _cf = 0; 604 _flag_k = FK_NARROW(FK_TEST, 24); 605 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 606 L_2B07C990: 607 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 608 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 609 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 610 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 612 _flag_k = FK_NARROW(FK_CMP, 24); 613 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 614 L_2B07C99A: 615 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 616 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 617 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 618 _flag_k = FK_ADD; 619 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 620 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 621 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 622 _flag_k = FK_ADD; 623 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 624 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 625 _cf = 0; 626 _flag_k = FK_NARROW(FK_TEST, 24); 627 RECOMP_BACKEDGE(); 628 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 629 L_2B07C9A4: 630 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 631 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 632 _cf = 0; 633 _flag_k = FK_TEST; 634 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 635 L_2B07C9A8: 636 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 637 eax = _sc ? 0xFFFFFFFFu : 0; 638 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 639 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 640 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 641 eax = _sa - _sb - _sc; 642 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 643 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 644 L_2B07C9AD: 645 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 647 _cf = 0; 648 _flag_k = FK_TEST; 649 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 650 L_2B07C9B1: 651 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 652 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 653 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 654 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 655 RECOMP_FLAGS_IN(); 656 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 657 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 658 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 659 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 660 RECOMP_FLAGS_IN(); 661 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 662 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 663 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 664 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 665 _flag_k = FK_ADD; 666 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 667 RECOMP_BACKEDGE(); 668 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 669 L_2B07C9D9: 670 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 671 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 672 L_2B07C9E4: 673 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 674 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 675 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 676 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 678 _flag_k = FK_NARROW(FK_CMP, 24); 679 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 680 L_2B07C9EC: 681 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 682 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 683 _cf = 0; 684 _flag_k = FK_NARROW(FK_TEST, 24); 685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 686 L_2B07C9F0: 687 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 688 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 689 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 690 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 692 _flag_k = FK_NARROW(FK_CMP, 24); 693 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 694 L_2B07C9FA: 695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 697 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 698 _flag_k = FK_ADD; 699 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 700 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 701 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 702 _flag_k = FK_ADD; 703 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 704 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 705 _cf = 0; 706 _flag_k = FK_NARROW(FK_TEST, 24); 707 RECOMP_BACKEDGE(); 708 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 709 L_2B07CA04: 710 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 711 eax = 0; /* 0x2B07CA04: xor eax, eax */ 712 _cf = 0; 713 _flag_k = FK_TEST; 714 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 715 L_2B07CA08: 716 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 717 eax = _sc ? 0xFFFFFFFFu : 0; 718 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 719 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 720 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 721 eax = _sa - _sb - _sc; 722 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 723 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 724 L_2B07CA0D: 725 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 727 _cf = 0; 728 _flag_k = FK_TEST; 729 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 730 L_2B07CA11: 731 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 732 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 733 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 734 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 735 RECOMP_FLAGS_IN(); 736 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 737 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 738 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 739 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 740 RECOMP_FLAGS_IN(); 741 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 742 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 743 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 744 _flag_k = FK_ADD; 745 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 746 RECOMP_BACKEDGE(); 747 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 748 L_2B07CA36: 749 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 750 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 751 L_2B07CA41: 752 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 753 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 754 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 755 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 757 _flag_k = FK_NARROW(FK_CMP, 24); 758 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 759 L_2B07CA49: 760 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 761 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 762 _cf = 0; 763 _flag_k = FK_NARROW(FK_TEST, 24); 764 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 765 L_2B07CA4D: 766 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 767 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 768 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 769 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 771 _flag_k = FK_NARROW(FK_CMP, 24); 772 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 773 L_2B07CA57: 774 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 776 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 777 _flag_k = FK_ADD; 778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 779 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 780 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 781 _flag_k = FK_ADD; 782 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 783 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 784 _cf = 0; 785 _flag_k = FK_NARROW(FK_TEST, 24); 786 RECOMP_BACKEDGE(); 787 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 788 L_2B07CA61: 789 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 790 eax = 0; /* 0x2B07CA61: xor eax, eax */ 791 _cf = 0; 792 _flag_k = FK_TEST; 793 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 794 L_2B07CA65: 795 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 796 eax = _sc ? 0xFFFFFFFFu : 0; 797 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 798 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 799 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 800 eax = _sa - _sb - _sc; 801 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 802 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 803 L_2B07CA6A: 804 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 806 _cf = 0; 807 _flag_k = FK_TEST; 808 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 809 L_2B07CA6E: 810 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 811 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 812 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 813 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 814 RECOMP_FLAGS_IN(); 815 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 816 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 817 esi = eax; /* 0x2B07CA84: mov esi, eax */ 818 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 819 RECOMP_FLAGS_IN(); 820 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 821 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 822 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 823 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 824 RECOMP_FLAGS_IN(); 825 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 826 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 827 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 828 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 829 RECOMP_FLAGS_IN(); 830 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 831 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 832 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 833 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 834 _flag_k = FK_ADD; 835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 836 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 837 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 838 _flag_k = FK_ADD; 839 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 840 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 841 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 842 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 843 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 844 RECOMP_BACKEDGE(); 845 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 846 L_2B07CABE: 847 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 848 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 849 L_2B07CAC9: 850 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 851 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 852 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 853 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 855 _flag_k = FK_NARROW(FK_CMP, 24); 856 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 857 L_2B07CAD1: 858 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 859 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 860 _cf = 0; 861 _flag_k = FK_NARROW(FK_TEST, 24); 862 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 863 L_2B07CAD5: 864 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 865 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 866 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 867 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 869 _flag_k = FK_NARROW(FK_CMP, 24); 870 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 871 L_2B07CADF: 872 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 873 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 874 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 875 _flag_k = FK_ADD; 876 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 877 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 878 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 879 _flag_k = FK_ADD; 880 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 881 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 882 _cf = 0; 883 _flag_k = FK_NARROW(FK_TEST, 24); 884 RECOMP_BACKEDGE(); 885 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 886 L_2B07CAE9: 887 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 888 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 889 _cf = 0; 890 _flag_k = FK_TEST; 891 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 892 L_2B07CAED: 893 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 894 eax = _sc ? 0xFFFFFFFFu : 0; 895 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 896 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 897 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 898 eax = _sa - _sb - _sc; 899 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 900 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 901 L_2B07CAF2: 902 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 904 _cf = 0; 905 _flag_k = FK_TEST; 906 RECOMP_BACKEDGE(); 907 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 908 L_2B07CAFA: 909 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 910 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 911 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 912 RECOMP_FLAGS_IN(); 913 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 914 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 915 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 916 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 917 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 918 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 919 edx = 0; /* 0x2B07CB10: xor edx, edx */ 920 _cf = 0; 921 _flag_k = FK_TEST; 922 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 923 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 924 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 925 _flag_k = FK_ADD; 926 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 927 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 928 _cf = 0; 929 _flag_k = FK_TEST; 930 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 931 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 932 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 933 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 934 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 935 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 936 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 937 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 938 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 939 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 940 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 941 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 942 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 943 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 944 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 945 RECOMP_FLAGS_IN(); 946 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 947 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 948 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 949 RECOMP_FLAGS_IN(); 950 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 951 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 952 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 953 RECOMP_FLAGS_IN(); 954 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 955 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 956 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 957 RECOMP_FLAGS_IN(); 958 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 959 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 960 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 961 _flag_k = FK_INC; 962 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 963 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 964 _flag_k = FK_DEC; 965 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 966 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 968 _flag_k = FK_CMP; 969 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 970 RECOMP_BACKEDGE(); 971 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 972 L_2B07CB7A: 973 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 975 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 976 _flag_k = FK_INC; 977 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 978 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 979 RECOMP_BACKEDGE(); 980 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 981 L_2B07CB8D: 982 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 983 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 984 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 985 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 986 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 987 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 988 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 989 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 990 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 991 RECOMP_FLAGS_IN(); 992 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 993 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 994 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 995 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 996 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 997 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 998 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 999 RECOMP_FLAGS_IN(); 1000 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 1001 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1002 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 1003 _flag_k = FK_ADD; 1004 L_2B07CBCB: 1005 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 1006 L_2B07CBCF: 1007 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 1008 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 1009 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 1010 RECOMP_FLAGS_IN(); 1011 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 1012 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1013 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1014 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 1015 _flag_k = FK_ADD; 1016 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 1017 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1018 _cf = 0; 1019 _flag_k = FK_NARROW(FK_TEST, 24); 1020 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 1021 L_2B07CBE2: 1022 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 1023 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 1024 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 1025 L_2B07CBEE: 1026 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 1027 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1028 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 1029 _cf = 0; 1030 _flag_k = FK_TEST; 1031 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 1032 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1034 _flag_k = FK_CMP; 1035 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 1036 L_2B07CBF7: 1037 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 1038 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 1039 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 1040 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1041 _cf = 0; 1042 _flag_k = FK_NARROW(FK_TEST, 24); 1043 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 1044 L_2B07CC00: 1045 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 1046 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1048 _flag_k = FK_NARROW(FK_CMP, 24); 1049 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 1050 L_2B07CC04: 1051 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1052 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 1053 _flag_k = FK_NARROW(FK_DEC, 24); 1054 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 1055 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 1056 L_2B07CC0A: 1057 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 1058 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 1059 RECOMP_FLAGS_IN(); 1060 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1061 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1062 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 1063 _flag_k = FK_ADD; 1064 L_2B07CC13: 1065 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 1066 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 1067 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 1068 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 1069 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 1070 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 1071 RECOMP_FLAGS_IN(); 1072 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 1073 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 1074 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 1075 RECOMP_FLAGS_IN(); 1076 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 1077 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 1078 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 1079 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 1080 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 1081 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 1082 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 1083 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 1084 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 1085 RECOMP_REGS_OUT(); 1086 } 1087 1088 void sub_2B07C9AD(void) { 1089 int _fpu_cmp = 0; 1090 uint32_t _cf = 0; 1091 int _df = 1; 1092 uint32_t _flag_k = FK_NONE; 1093 uint32_t _flag_a = 0, _flag_b = 0; 1094 uint32_t _itail_tgt = 0; 1095 RECOMP_REGS_LOCALS 1096 RECOMP_ENTER(0x2B07C9ADu); 1097 1098 goto L_2B07C9AD; 1099 L_2B07C55D: 1100 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 1101 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 1102 RECOMP_FLAGS_IN(); 1103 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 1104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 1105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1106 _flag_k = FK_CMP; 1107 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 1108 L_2B07C572: 1109 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 1110 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 1111 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 1112 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 1113 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 1114 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 1115 RECOMP_FLAGS_IN(); 1116 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 1117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1118 _cf = 0; 1119 _flag_k = FK_TEST; 1120 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 1121 L_2B07C594: 1122 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 1123 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 1124 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 1125 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1126 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 1127 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 1128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1129 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 1130 _cf = 0; 1131 _flag_k = FK_TEST; 1132 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 1133 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 1134 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 1135 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1136 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 1137 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 1138 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1139 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 1140 _cf = 0; 1141 _flag_k = FK_TEST; 1142 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 1143 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 1144 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 1145 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1146 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 1147 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 1148 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1149 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 1150 _cf = 0; 1151 _flag_k = FK_TEST; 1152 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 1153 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 1154 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 1155 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1156 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 1157 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 1158 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1159 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 1160 _cf = 0; 1161 _flag_k = FK_TEST; 1162 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 1163 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 1164 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 1165 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 1166 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 1167 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 1168 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 1169 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 1170 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 1171 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 1172 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 1173 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 1174 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 1175 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 1176 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 1177 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 1178 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 1179 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 1180 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 1181 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 1182 RECOMP_FLAGS_IN(); 1183 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 1184 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 1185 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1186 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 1187 _flag_k = FK_ADD; 1188 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 1189 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1190 _cf = 0; 1191 _flag_k = FK_NARROW(FK_TEST, 24); 1192 RECOMP_BACKEDGE(); 1193 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 1194 L_2B07C654: 1195 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 1196 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 1197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1198 _flag_k = FK_NARROW(FK_CMP, 24); 1199 RECOMP_BACKEDGE(); 1200 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 1201 L_2B07C65C: 1202 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 1203 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 1204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1205 _flag_k = FK_NARROW(FK_CMP, 24); 1206 RECOMP_BACKEDGE(); 1207 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 1208 L_2B07C664: 1209 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 1210 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 1211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1212 _flag_k = FK_NARROW(FK_CMP, 24); 1213 RECOMP_BACKEDGE(); 1214 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 1215 L_2B07C66C: 1216 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 1217 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 1218 L_2B07C677: 1219 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 1220 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 1221 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 1222 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 1223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1224 _flag_k = FK_NARROW(FK_CMP, 24); 1225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 1226 L_2B07C67F: 1227 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 1228 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1229 _cf = 0; 1230 _flag_k = FK_NARROW(FK_TEST, 24); 1231 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 1232 L_2B07C683: 1233 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 1234 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 1235 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 1236 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 1237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1238 _flag_k = FK_NARROW(FK_CMP, 24); 1239 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 1240 L_2B07C68D: 1241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1242 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1243 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 1244 _flag_k = FK_ADD; 1245 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1247 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 1248 _flag_k = FK_ADD; 1249 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 1250 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1251 _cf = 0; 1252 _flag_k = FK_NARROW(FK_TEST, 24); 1253 RECOMP_BACKEDGE(); 1254 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 1255 L_2B07C697: 1256 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1257 eax = 0; /* 0x2B07C697: xor eax, eax */ 1258 _cf = 0; 1259 _flag_k = FK_TEST; 1260 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 1261 L_2B07C69B: 1262 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 1263 eax = _sc ? 0xFFFFFFFFu : 0; 1264 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1265 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1266 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 1267 eax = _sa - _sb - _sc; 1268 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1269 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1270 L_2B07C6A0: 1271 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 1272 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1273 _cf = 0; 1274 _flag_k = FK_TEST; 1275 RECOMP_BACKEDGE(); 1276 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 1277 L_2B07C6A8: 1278 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 1279 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 1280 L_2B07C6B3: 1281 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 1282 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 1283 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 1284 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 1285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1286 _flag_k = FK_NARROW(FK_CMP, 24); 1287 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 1288 L_2B07C6BB: 1289 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 1290 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1291 _cf = 0; 1292 _flag_k = FK_NARROW(FK_TEST, 24); 1293 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 1294 L_2B07C6BF: 1295 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 1296 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 1297 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 1298 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 1299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1300 _flag_k = FK_NARROW(FK_CMP, 24); 1301 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 1302 L_2B07C6C9: 1303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1304 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1305 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 1306 _flag_k = FK_ADD; 1307 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1308 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1309 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 1310 _flag_k = FK_ADD; 1311 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 1312 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1313 _cf = 0; 1314 _flag_k = FK_NARROW(FK_TEST, 24); 1315 RECOMP_BACKEDGE(); 1316 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 1317 L_2B07C6D3: 1318 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1319 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 1320 _cf = 0; 1321 _flag_k = FK_TEST; 1322 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 1323 L_2B07C6D7: 1324 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 1325 eax = _sc ? 0xFFFFFFFFu : 0; 1326 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1327 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1328 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 1329 eax = _sa - _sb - _sc; 1330 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1331 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1332 L_2B07C6DC: 1333 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 1334 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1335 _cf = 0; 1336 _flag_k = FK_TEST; 1337 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 1338 L_2B07C6E4: 1339 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 1340 RECOMP_FLAGS_IN(); 1341 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 1342 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1343 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 1344 _cf = 0; 1345 _flag_k = FK_TEST; 1346 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1347 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 1348 _cf = 0; 1349 _flag_k = FK_TEST; 1350 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 1351 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 1352 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 1353 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1354 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 1355 _flag_k = FK_DEC; 1356 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 1357 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 1358 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 1359 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 1360 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 1361 RECOMP_FLAGS_IN(); 1362 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 1363 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1364 _cf = 0; 1365 _flag_k = FK_NARROW(FK_TEST, 24); 1366 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 1367 L_2B07C70A: 1368 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 1369 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 1370 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 1371 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 1372 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1373 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 1374 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 1375 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 1376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1377 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 1378 _cf = 0; 1379 _flag_k = FK_TEST; 1380 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 1381 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 1382 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 1383 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 1384 RECOMP_FLAGS_IN(); 1385 L_2B07C727: 1386 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1387 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 1388 _cf = 0; 1389 _flag_k = FK_TEST; 1390 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1391 eax = 0; /* 0x2B07C72A: xor eax, eax */ 1392 _cf = 0; 1393 _flag_k = FK_TEST; 1394 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 1395 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 1396 ecx = ~ecx; /* 0x2B07C733: not ecx */ 1397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1398 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 1399 _flag_k = FK_DEC; 1400 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 1401 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 1402 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 1403 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 1404 RECOMP_FLAGS_IN(); 1405 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1406 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 1407 _cf = 0; 1408 _flag_k = FK_TEST; 1409 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1410 eax = 0; /* 0x2B07C748: xor eax, eax */ 1411 _cf = 0; 1412 _flag_k = FK_TEST; 1413 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 1414 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 1415 ecx = ~ecx; /* 0x2B07C752: not ecx */ 1416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1417 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 1418 _flag_k = FK_DEC; 1419 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 1420 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 1421 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 1422 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 1423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1424 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 1425 _flag_k = FK_CMP; 1426 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 1427 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1429 _flag_k = FK_CMP; 1430 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 1431 L_2B07C766: 1432 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 1433 RECOMP_FLAGS_IN(); 1434 L_2B07C76C: 1435 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 1436 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1437 _cf = 0; 1438 _flag_k = FK_TEST; 1439 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 1440 L_2B07C770: 1441 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 1442 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 1443 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 1444 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 1445 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 1446 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 1447 RECOMP_FLAGS_IN(); 1448 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 1449 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1450 _cf = 0; 1451 _flag_k = FK_NARROW(FK_TEST, 24); 1452 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 1453 L_2B07C786: 1454 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 1455 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 1456 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 1457 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 1458 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 1459 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 1460 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1461 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 1462 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 1463 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 1464 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 1465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1466 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 1467 _cf = 0; 1468 _flag_k = FK_TEST; 1469 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 1470 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 1471 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 1472 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 1473 RECOMP_FLAGS_IN(); 1474 L_2B07C7AF: 1475 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1476 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 1477 _cf = 0; 1478 _flag_k = FK_TEST; 1479 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 1480 RECOMP_BACKEDGE(); 1481 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 1482 L_2B07C7B9: 1483 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 1484 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 1485 L_2B07C7C4: 1486 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 1487 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 1488 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 1489 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 1490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1491 _flag_k = FK_NARROW(FK_CMP, 24); 1492 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 1493 L_2B07C7CC: 1494 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 1495 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1496 _cf = 0; 1497 _flag_k = FK_NARROW(FK_TEST, 24); 1498 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 1499 L_2B07C7D0: 1500 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 1501 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 1502 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 1503 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 1504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1505 _flag_k = FK_NARROW(FK_CMP, 24); 1506 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 1507 L_2B07C7DA: 1508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1510 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 1511 _flag_k = FK_ADD; 1512 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1513 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1514 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 1515 _flag_k = FK_ADD; 1516 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 1517 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1518 _cf = 0; 1519 _flag_k = FK_NARROW(FK_TEST, 24); 1520 RECOMP_BACKEDGE(); 1521 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 1522 L_2B07C7E4: 1523 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1524 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 1525 _cf = 0; 1526 _flag_k = FK_TEST; 1527 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 1528 L_2B07C7E8: 1529 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 1530 eax = _sc ? 0xFFFFFFFFu : 0; 1531 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1532 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1533 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 1534 eax = _sa - _sb - _sc; 1535 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1536 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1537 L_2B07C7ED: 1538 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 1539 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1540 _cf = 0; 1541 _flag_k = FK_TEST; 1542 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 1543 L_2B07C7F5: 1544 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 1545 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 1546 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 1547 RECOMP_FLAGS_IN(); 1548 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 1549 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 1550 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1551 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1552 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 1553 _flag_k = FK_ADD; 1554 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 1555 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1556 eax = 0; /* 0x2B07C810: xor eax, eax */ 1557 _cf = 0; 1558 _flag_k = FK_TEST; 1559 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 1560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 1561 edi = edi + 1; /* 0x2B07C818: inc edi */ 1562 _flag_k = FK_INC; 1563 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 1564 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 1565 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 1566 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 1567 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 1568 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 1569 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 1570 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 1571 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 1572 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 1573 RECOMP_FLAGS_IN(); 1574 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 1575 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 1576 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 1577 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 1578 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 1579 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 1580 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 1581 RECOMP_FLAGS_IN(); 1582 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 1583 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 1584 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 1585 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 1586 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 1587 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 1588 RECOMP_FLAGS_IN(); 1589 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 1590 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 1591 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 1592 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 1593 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 1594 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 1595 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 1596 RECOMP_FLAGS_IN(); 1597 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 1598 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 1599 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 1600 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 1601 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 1602 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 1603 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 1604 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 1605 RECOMP_FLAGS_IN(); 1606 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 1607 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 1608 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 1609 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 1610 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 1611 RECOMP_FLAGS_IN(); 1612 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 1613 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 1614 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 1615 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 1616 RECOMP_FLAGS_IN(); 1617 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 1618 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 1619 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 1620 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 1621 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 1622 RECOMP_FLAGS_IN(); 1623 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 1624 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 1625 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 1626 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 1627 RECOMP_FLAGS_IN(); 1628 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 1629 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 1630 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 1631 RECOMP_FLAGS_IN(); 1632 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 1633 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 1634 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 1635 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 1636 RECOMP_FLAGS_IN(); 1637 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 1638 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 1639 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 1640 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 1641 RECOMP_FLAGS_IN(); 1642 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 1643 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 1644 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 1645 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 1646 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 1647 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 1648 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1649 esi = 0; /* 0x2B07C953: xor esi, esi */ 1650 _cf = 0; 1651 _flag_k = FK_TEST; 1652 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 1653 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 1654 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 1655 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 1656 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 1657 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 1658 RECOMP_FLAGS_IN(); 1659 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 1660 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 1661 RECOMP_BACKEDGE(); 1662 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 1663 L_2B07C971: 1664 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 1665 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 1666 _cf = 0; 1667 _flag_k = FK_TEST; 1668 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 1669 L_2B07C979: 1670 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 1671 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 1672 L_2B07C984: 1673 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 1674 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 1675 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 1676 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 1677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1678 _flag_k = FK_NARROW(FK_CMP, 24); 1679 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 1680 L_2B07C98C: 1681 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 1682 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1683 _cf = 0; 1684 _flag_k = FK_NARROW(FK_TEST, 24); 1685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 1686 L_2B07C990: 1687 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 1688 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 1689 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 1690 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 1691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1692 _flag_k = FK_NARROW(FK_CMP, 24); 1693 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 1694 L_2B07C99A: 1695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1697 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 1698 _flag_k = FK_ADD; 1699 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1700 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1701 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 1702 _flag_k = FK_ADD; 1703 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 1704 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1705 _cf = 0; 1706 _flag_k = FK_NARROW(FK_TEST, 24); 1707 RECOMP_BACKEDGE(); 1708 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 1709 L_2B07C9A4: 1710 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1711 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 1712 _cf = 0; 1713 _flag_k = FK_TEST; 1714 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 1715 L_2B07C9A8: 1716 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 1717 eax = _sc ? 0xFFFFFFFFu : 0; 1718 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1719 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1720 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 1721 eax = _sa - _sb - _sc; 1722 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1723 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1724 L_2B07C9AD: 1725 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 1726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1727 _cf = 0; 1728 _flag_k = FK_TEST; 1729 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 1730 L_2B07C9B1: 1731 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 1732 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 1733 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 1734 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 1735 RECOMP_FLAGS_IN(); 1736 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 1737 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 1738 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 1739 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 1740 RECOMP_FLAGS_IN(); 1741 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 1742 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1744 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 1745 _flag_k = FK_ADD; 1746 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 1747 RECOMP_BACKEDGE(); 1748 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 1749 L_2B07C9D9: 1750 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 1751 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 1752 L_2B07C9E4: 1753 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 1754 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 1755 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 1756 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 1757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1758 _flag_k = FK_NARROW(FK_CMP, 24); 1759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 1760 L_2B07C9EC: 1761 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 1762 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1763 _cf = 0; 1764 _flag_k = FK_NARROW(FK_TEST, 24); 1765 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 1766 L_2B07C9F0: 1767 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 1768 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 1769 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 1770 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 1771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1772 _flag_k = FK_NARROW(FK_CMP, 24); 1773 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 1774 L_2B07C9FA: 1775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1777 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 1778 _flag_k = FK_ADD; 1779 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1780 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1781 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 1782 _flag_k = FK_ADD; 1783 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 1784 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1785 _cf = 0; 1786 _flag_k = FK_NARROW(FK_TEST, 24); 1787 RECOMP_BACKEDGE(); 1788 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 1789 L_2B07CA04: 1790 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1791 eax = 0; /* 0x2B07CA04: xor eax, eax */ 1792 _cf = 0; 1793 _flag_k = FK_TEST; 1794 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 1795 L_2B07CA08: 1796 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 1797 eax = _sc ? 0xFFFFFFFFu : 0; 1798 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1799 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1800 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 1801 eax = _sa - _sb - _sc; 1802 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1803 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1804 L_2B07CA0D: 1805 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 1806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1807 _cf = 0; 1808 _flag_k = FK_TEST; 1809 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 1810 L_2B07CA11: 1811 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 1812 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 1813 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 1814 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 1815 RECOMP_FLAGS_IN(); 1816 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 1817 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 1818 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 1819 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 1820 RECOMP_FLAGS_IN(); 1821 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1822 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1823 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 1824 _flag_k = FK_ADD; 1825 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 1826 RECOMP_BACKEDGE(); 1827 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 1828 L_2B07CA36: 1829 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 1830 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 1831 L_2B07CA41: 1832 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 1833 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 1834 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 1835 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 1836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1837 _flag_k = FK_NARROW(FK_CMP, 24); 1838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 1839 L_2B07CA49: 1840 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 1841 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1842 _cf = 0; 1843 _flag_k = FK_NARROW(FK_TEST, 24); 1844 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 1845 L_2B07CA4D: 1846 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 1847 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 1848 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 1849 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 1850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1851 _flag_k = FK_NARROW(FK_CMP, 24); 1852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 1853 L_2B07CA57: 1854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1855 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1856 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 1857 _flag_k = FK_ADD; 1858 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1859 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1860 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 1861 _flag_k = FK_ADD; 1862 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 1863 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1864 _cf = 0; 1865 _flag_k = FK_NARROW(FK_TEST, 24); 1866 RECOMP_BACKEDGE(); 1867 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 1868 L_2B07CA61: 1869 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1870 eax = 0; /* 0x2B07CA61: xor eax, eax */ 1871 _cf = 0; 1872 _flag_k = FK_TEST; 1873 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 1874 L_2B07CA65: 1875 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 1876 eax = _sc ? 0xFFFFFFFFu : 0; 1877 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1878 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1879 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 1880 eax = _sa - _sb - _sc; 1881 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1882 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1883 L_2B07CA6A: 1884 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 1885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1886 _cf = 0; 1887 _flag_k = FK_TEST; 1888 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 1889 L_2B07CA6E: 1890 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 1891 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 1892 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 1893 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 1894 RECOMP_FLAGS_IN(); 1895 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 1896 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 1897 esi = eax; /* 0x2B07CA84: mov esi, eax */ 1898 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 1899 RECOMP_FLAGS_IN(); 1900 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 1901 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 1902 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 1903 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 1904 RECOMP_FLAGS_IN(); 1905 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 1906 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 1907 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 1908 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 1909 RECOMP_FLAGS_IN(); 1910 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 1911 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1913 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 1914 _flag_k = FK_ADD; 1915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 1916 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1917 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 1918 _flag_k = FK_ADD; 1919 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 1920 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 1921 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 1922 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 1923 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 1924 RECOMP_BACKEDGE(); 1925 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 1926 L_2B07CABE: 1927 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 1928 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 1929 L_2B07CAC9: 1930 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 1931 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 1932 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 1933 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 1934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1935 _flag_k = FK_NARROW(FK_CMP, 24); 1936 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 1937 L_2B07CAD1: 1938 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 1939 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1940 _cf = 0; 1941 _flag_k = FK_NARROW(FK_TEST, 24); 1942 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 1943 L_2B07CAD5: 1944 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 1945 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 1946 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 1947 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 1948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1949 _flag_k = FK_NARROW(FK_CMP, 24); 1950 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 1951 L_2B07CADF: 1952 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1953 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1954 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 1955 _flag_k = FK_ADD; 1956 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 1957 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1958 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 1959 _flag_k = FK_ADD; 1960 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 1961 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1962 _cf = 0; 1963 _flag_k = FK_NARROW(FK_TEST, 24); 1964 RECOMP_BACKEDGE(); 1965 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 1966 L_2B07CAE9: 1967 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1968 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 1969 _cf = 0; 1970 _flag_k = FK_TEST; 1971 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 1972 L_2B07CAED: 1973 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 1974 eax = _sc ? 0xFFFFFFFFu : 0; 1975 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1976 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1977 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 1978 eax = _sa - _sb - _sc; 1979 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1980 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1981 L_2B07CAF2: 1982 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 1983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1984 _cf = 0; 1985 _flag_k = FK_TEST; 1986 RECOMP_BACKEDGE(); 1987 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 1988 L_2B07CAFA: 1989 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 1990 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 1991 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 1992 RECOMP_FLAGS_IN(); 1993 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 1994 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 1995 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 1996 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1997 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 1998 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1999 edx = 0; /* 0x2B07CB10: xor edx, edx */ 2000 _cf = 0; 2001 _flag_k = FK_TEST; 2002 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2003 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2004 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 2005 _flag_k = FK_ADD; 2006 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 2007 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 2008 _cf = 0; 2009 _flag_k = FK_TEST; 2010 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 2011 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 2012 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 2013 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 2014 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 2015 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 2016 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 2017 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 2018 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 2019 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 2020 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 2021 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 2022 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 2023 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 2024 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 2025 RECOMP_FLAGS_IN(); 2026 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 2027 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 2028 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 2029 RECOMP_FLAGS_IN(); 2030 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 2031 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 2032 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 2033 RECOMP_FLAGS_IN(); 2034 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 2035 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 2036 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 2037 RECOMP_FLAGS_IN(); 2038 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 2039 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 2040 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 2041 _flag_k = FK_INC; 2042 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2043 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 2044 _flag_k = FK_DEC; 2045 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 2046 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2048 _flag_k = FK_CMP; 2049 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 2050 RECOMP_BACKEDGE(); 2051 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 2052 L_2B07CB7A: 2053 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 2054 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2055 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 2056 _flag_k = FK_INC; 2057 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 2058 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 2059 RECOMP_BACKEDGE(); 2060 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 2061 L_2B07CB8D: 2062 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 2063 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 2064 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 2065 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 2066 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 2067 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 2068 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 2069 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 2070 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 2071 RECOMP_FLAGS_IN(); 2072 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 2073 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 2074 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 2075 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 2076 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 2077 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 2078 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 2079 RECOMP_FLAGS_IN(); 2080 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 2081 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2082 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 2083 _flag_k = FK_ADD; 2084 L_2B07CBCB: 2085 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 2086 L_2B07CBCF: 2087 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 2088 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 2089 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 2090 RECOMP_FLAGS_IN(); 2091 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 2092 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2093 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2094 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 2095 _flag_k = FK_ADD; 2096 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 2097 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2098 _cf = 0; 2099 _flag_k = FK_NARROW(FK_TEST, 24); 2100 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 2101 L_2B07CBE2: 2102 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 2103 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 2104 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 2105 L_2B07CBEE: 2106 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 2107 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2108 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 2109 _cf = 0; 2110 _flag_k = FK_TEST; 2111 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 2112 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2114 _flag_k = FK_CMP; 2115 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 2116 L_2B07CBF7: 2117 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 2118 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 2119 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 2120 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2121 _cf = 0; 2122 _flag_k = FK_NARROW(FK_TEST, 24); 2123 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 2124 L_2B07CC00: 2125 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 2126 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2128 _flag_k = FK_NARROW(FK_CMP, 24); 2129 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 2130 L_2B07CC04: 2131 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2132 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 2133 _flag_k = FK_NARROW(FK_DEC, 24); 2134 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 2135 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 2136 L_2B07CC0A: 2137 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 2138 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 2139 RECOMP_FLAGS_IN(); 2140 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2142 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 2143 _flag_k = FK_ADD; 2144 L_2B07CC13: 2145 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 2146 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 2147 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 2148 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 2149 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 2150 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 2151 RECOMP_FLAGS_IN(); 2152 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 2153 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 2154 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 2155 RECOMP_FLAGS_IN(); 2156 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 2157 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 2158 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 2159 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 2160 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 2161 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 2162 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 2163 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 2164 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 2165 RECOMP_REGS_OUT(); 2166 } 2167 2168 void sub_2B07CA0D(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(0x2B07CA0Du); 2177 2178 goto L_2B07CA0D; 2179 L_2B07C55D: 2180 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 2181 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 2182 RECOMP_FLAGS_IN(); 2183 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 2184 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 2185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2186 _flag_k = FK_CMP; 2187 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 2188 L_2B07C572: 2189 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 2190 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 2191 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 2192 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 2193 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 2194 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 2195 RECOMP_FLAGS_IN(); 2196 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 2197 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2198 _cf = 0; 2199 _flag_k = FK_TEST; 2200 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 2201 L_2B07C594: 2202 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 2203 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 2204 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 2205 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2206 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 2207 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 2208 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2209 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 2210 _cf = 0; 2211 _flag_k = FK_TEST; 2212 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 2213 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 2214 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 2215 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2216 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 2217 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 2218 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2219 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 2220 _cf = 0; 2221 _flag_k = FK_TEST; 2222 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 2223 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 2224 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 2225 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2226 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 2227 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 2228 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2229 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 2230 _cf = 0; 2231 _flag_k = FK_TEST; 2232 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 2233 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 2234 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 2235 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2236 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 2237 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 2238 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2239 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 2240 _cf = 0; 2241 _flag_k = FK_TEST; 2242 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 2243 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 2244 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 2245 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 2246 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 2247 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 2248 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 2249 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 2250 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 2251 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 2252 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 2253 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 2254 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 2255 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 2256 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 2257 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 2258 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 2259 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 2260 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 2261 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 2262 RECOMP_FLAGS_IN(); 2263 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 2264 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 2265 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2266 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 2267 _flag_k = FK_ADD; 2268 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 2269 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2270 _cf = 0; 2271 _flag_k = FK_NARROW(FK_TEST, 24); 2272 RECOMP_BACKEDGE(); 2273 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 2274 L_2B07C654: 2275 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 2276 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 2277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2278 _flag_k = FK_NARROW(FK_CMP, 24); 2279 RECOMP_BACKEDGE(); 2280 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 2281 L_2B07C65C: 2282 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 2283 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 2284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2285 _flag_k = FK_NARROW(FK_CMP, 24); 2286 RECOMP_BACKEDGE(); 2287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 2288 L_2B07C664: 2289 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 2290 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 2291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2292 _flag_k = FK_NARROW(FK_CMP, 24); 2293 RECOMP_BACKEDGE(); 2294 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 2295 L_2B07C66C: 2296 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 2297 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 2298 L_2B07C677: 2299 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 2300 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 2301 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 2302 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 2303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2304 _flag_k = FK_NARROW(FK_CMP, 24); 2305 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 2306 L_2B07C67F: 2307 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 2308 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2309 _cf = 0; 2310 _flag_k = FK_NARROW(FK_TEST, 24); 2311 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 2312 L_2B07C683: 2313 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 2314 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 2315 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 2316 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 2317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2318 _flag_k = FK_NARROW(FK_CMP, 24); 2319 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 2320 L_2B07C68D: 2321 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 2322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2323 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 2324 _flag_k = FK_ADD; 2325 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 2326 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2327 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 2328 _flag_k = FK_ADD; 2329 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 2330 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2331 _cf = 0; 2332 _flag_k = FK_NARROW(FK_TEST, 24); 2333 RECOMP_BACKEDGE(); 2334 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 2335 L_2B07C697: 2336 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2337 eax = 0; /* 0x2B07C697: xor eax, eax */ 2338 _cf = 0; 2339 _flag_k = FK_TEST; 2340 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 2341 L_2B07C69B: 2342 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 2343 eax = _sc ? 0xFFFFFFFFu : 0; 2344 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2345 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2346 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 2347 eax = _sa - _sb - _sc; 2348 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2349 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2350 L_2B07C6A0: 2351 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 2352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2353 _cf = 0; 2354 _flag_k = FK_TEST; 2355 RECOMP_BACKEDGE(); 2356 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 2357 L_2B07C6A8: 2358 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 2359 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 2360 L_2B07C6B3: 2361 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 2362 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 2363 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 2364 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 2365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2366 _flag_k = FK_NARROW(FK_CMP, 24); 2367 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 2368 L_2B07C6BB: 2369 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 2370 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2371 _cf = 0; 2372 _flag_k = FK_NARROW(FK_TEST, 24); 2373 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 2374 L_2B07C6BF: 2375 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 2376 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 2377 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 2378 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 2379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2380 _flag_k = FK_NARROW(FK_CMP, 24); 2381 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 2382 L_2B07C6C9: 2383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 2384 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2385 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 2386 _flag_k = FK_ADD; 2387 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 2388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2389 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 2390 _flag_k = FK_ADD; 2391 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 2392 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2393 _cf = 0; 2394 _flag_k = FK_NARROW(FK_TEST, 24); 2395 RECOMP_BACKEDGE(); 2396 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 2397 L_2B07C6D3: 2398 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2399 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 2400 _cf = 0; 2401 _flag_k = FK_TEST; 2402 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 2403 L_2B07C6D7: 2404 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 2405 eax = _sc ? 0xFFFFFFFFu : 0; 2406 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2407 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2408 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 2409 eax = _sa - _sb - _sc; 2410 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2411 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2412 L_2B07C6DC: 2413 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 2414 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2415 _cf = 0; 2416 _flag_k = FK_TEST; 2417 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 2418 L_2B07C6E4: 2419 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 2420 RECOMP_FLAGS_IN(); 2421 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 2422 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2423 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 2424 _cf = 0; 2425 _flag_k = FK_TEST; 2426 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2427 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 2428 _cf = 0; 2429 _flag_k = FK_TEST; 2430 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 2431 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 2432 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 2433 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2434 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 2435 _flag_k = FK_DEC; 2436 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 2437 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 2438 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 2439 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 2440 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 2441 RECOMP_FLAGS_IN(); 2442 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 2443 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2444 _cf = 0; 2445 _flag_k = FK_NARROW(FK_TEST, 24); 2446 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 2447 L_2B07C70A: 2448 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 2449 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 2450 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 2451 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 2452 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2453 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 2454 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 2455 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 2456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2457 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 2458 _cf = 0; 2459 _flag_k = FK_TEST; 2460 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 2461 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 2462 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 2463 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 2464 RECOMP_FLAGS_IN(); 2465 L_2B07C727: 2466 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2467 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 2468 _cf = 0; 2469 _flag_k = FK_TEST; 2470 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2471 eax = 0; /* 0x2B07C72A: xor eax, eax */ 2472 _cf = 0; 2473 _flag_k = FK_TEST; 2474 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 2475 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 2476 ecx = ~ecx; /* 0x2B07C733: not ecx */ 2477 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2478 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 2479 _flag_k = FK_DEC; 2480 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 2481 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 2482 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 2483 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 2484 RECOMP_FLAGS_IN(); 2485 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2486 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 2487 _cf = 0; 2488 _flag_k = FK_TEST; 2489 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2490 eax = 0; /* 0x2B07C748: xor eax, eax */ 2491 _cf = 0; 2492 _flag_k = FK_TEST; 2493 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 2494 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 2495 ecx = ~ecx; /* 0x2B07C752: not ecx */ 2496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2497 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 2498 _flag_k = FK_DEC; 2499 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 2500 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 2501 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 2502 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 2503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2504 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 2505 _flag_k = FK_CMP; 2506 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 2507 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 2508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2509 _flag_k = FK_CMP; 2510 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 2511 L_2B07C766: 2512 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 2513 RECOMP_FLAGS_IN(); 2514 L_2B07C76C: 2515 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 2516 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2517 _cf = 0; 2518 _flag_k = FK_TEST; 2519 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 2520 L_2B07C770: 2521 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 2522 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 2523 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 2524 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 2525 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 2526 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 2527 RECOMP_FLAGS_IN(); 2528 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 2529 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2530 _cf = 0; 2531 _flag_k = FK_NARROW(FK_TEST, 24); 2532 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 2533 L_2B07C786: 2534 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 2535 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 2536 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 2537 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 2538 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 2539 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 2540 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2541 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 2542 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 2543 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 2544 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 2545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2546 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 2547 _cf = 0; 2548 _flag_k = FK_TEST; 2549 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 2550 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 2551 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 2552 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 2553 RECOMP_FLAGS_IN(); 2554 L_2B07C7AF: 2555 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2556 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 2557 _cf = 0; 2558 _flag_k = FK_TEST; 2559 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 2560 RECOMP_BACKEDGE(); 2561 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 2562 L_2B07C7B9: 2563 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 2564 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 2565 L_2B07C7C4: 2566 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 2567 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 2568 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 2569 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 2570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2571 _flag_k = FK_NARROW(FK_CMP, 24); 2572 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 2573 L_2B07C7CC: 2574 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 2575 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2576 _cf = 0; 2577 _flag_k = FK_NARROW(FK_TEST, 24); 2578 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 2579 L_2B07C7D0: 2580 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 2581 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 2582 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 2583 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 2584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2585 _flag_k = FK_NARROW(FK_CMP, 24); 2586 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 2587 L_2B07C7DA: 2588 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 2589 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2590 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 2591 _flag_k = FK_ADD; 2592 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 2593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2594 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 2595 _flag_k = FK_ADD; 2596 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 2597 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2598 _cf = 0; 2599 _flag_k = FK_NARROW(FK_TEST, 24); 2600 RECOMP_BACKEDGE(); 2601 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 2602 L_2B07C7E4: 2603 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2604 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 2605 _cf = 0; 2606 _flag_k = FK_TEST; 2607 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 2608 L_2B07C7E8: 2609 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 2610 eax = _sc ? 0xFFFFFFFFu : 0; 2611 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2612 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2613 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 2614 eax = _sa - _sb - _sc; 2615 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2616 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2617 L_2B07C7ED: 2618 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 2619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2620 _cf = 0; 2621 _flag_k = FK_TEST; 2622 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 2623 L_2B07C7F5: 2624 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 2625 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 2626 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 2627 RECOMP_FLAGS_IN(); 2628 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 2629 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 2630 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2631 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2632 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 2633 _flag_k = FK_ADD; 2634 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 2635 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2636 eax = 0; /* 0x2B07C810: xor eax, eax */ 2637 _cf = 0; 2638 _flag_k = FK_TEST; 2639 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 2640 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 2641 edi = edi + 1; /* 0x2B07C818: inc edi */ 2642 _flag_k = FK_INC; 2643 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 2644 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 2645 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 2646 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 2647 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 2648 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 2649 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 2650 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 2651 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 2652 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 2653 RECOMP_FLAGS_IN(); 2654 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 2655 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 2656 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 2657 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 2658 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 2659 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 2660 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 2661 RECOMP_FLAGS_IN(); 2662 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 2663 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 2664 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 2665 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 2666 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 2667 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 2668 RECOMP_FLAGS_IN(); 2669 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 2670 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 2671 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 2672 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 2673 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 2674 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 2675 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 2676 RECOMP_FLAGS_IN(); 2677 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 2678 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 2679 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 2680 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 2681 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 2682 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 2683 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 2684 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 2685 RECOMP_FLAGS_IN(); 2686 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 2687 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 2688 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 2689 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 2690 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 2691 RECOMP_FLAGS_IN(); 2692 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 2693 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 2694 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 2695 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 2696 RECOMP_FLAGS_IN(); 2697 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 2698 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 2699 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 2700 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 2701 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 2702 RECOMP_FLAGS_IN(); 2703 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 2704 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 2705 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 2706 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 2707 RECOMP_FLAGS_IN(); 2708 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 2709 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 2710 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 2711 RECOMP_FLAGS_IN(); 2712 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 2713 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 2714 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 2715 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 2716 RECOMP_FLAGS_IN(); 2717 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 2718 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 2719 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 2720 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 2721 RECOMP_FLAGS_IN(); 2722 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 2723 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 2724 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 2725 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 2726 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 2727 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 2728 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2729 esi = 0; /* 0x2B07C953: xor esi, esi */ 2730 _cf = 0; 2731 _flag_k = FK_TEST; 2732 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 2733 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 2734 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 2735 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 2736 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 2737 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 2738 RECOMP_FLAGS_IN(); 2739 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 2740 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 2741 RECOMP_BACKEDGE(); 2742 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 2743 L_2B07C971: 2744 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 2745 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 2746 _cf = 0; 2747 _flag_k = FK_TEST; 2748 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 2749 L_2B07C979: 2750 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 2751 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 2752 L_2B07C984: 2753 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 2754 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 2755 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 2756 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 2757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2758 _flag_k = FK_NARROW(FK_CMP, 24); 2759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 2760 L_2B07C98C: 2761 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 2762 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2763 _cf = 0; 2764 _flag_k = FK_NARROW(FK_TEST, 24); 2765 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 2766 L_2B07C990: 2767 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 2768 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 2769 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 2770 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 2771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2772 _flag_k = FK_NARROW(FK_CMP, 24); 2773 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 2774 L_2B07C99A: 2775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 2776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2777 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 2778 _flag_k = FK_ADD; 2779 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 2780 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2781 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 2782 _flag_k = FK_ADD; 2783 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 2784 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2785 _cf = 0; 2786 _flag_k = FK_NARROW(FK_TEST, 24); 2787 RECOMP_BACKEDGE(); 2788 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 2789 L_2B07C9A4: 2790 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2791 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 2792 _cf = 0; 2793 _flag_k = FK_TEST; 2794 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 2795 L_2B07C9A8: 2796 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 2797 eax = _sc ? 0xFFFFFFFFu : 0; 2798 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2799 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2800 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 2801 eax = _sa - _sb - _sc; 2802 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2803 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2804 L_2B07C9AD: 2805 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 2806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2807 _cf = 0; 2808 _flag_k = FK_TEST; 2809 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 2810 L_2B07C9B1: 2811 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 2812 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 2813 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 2814 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 2815 RECOMP_FLAGS_IN(); 2816 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 2817 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 2818 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 2819 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 2820 RECOMP_FLAGS_IN(); 2821 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 2822 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2823 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2824 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 2825 _flag_k = FK_ADD; 2826 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 2827 RECOMP_BACKEDGE(); 2828 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 2829 L_2B07C9D9: 2830 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 2831 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 2832 L_2B07C9E4: 2833 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 2834 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 2835 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 2836 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 2837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2838 _flag_k = FK_NARROW(FK_CMP, 24); 2839 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 2840 L_2B07C9EC: 2841 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 2842 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2843 _cf = 0; 2844 _flag_k = FK_NARROW(FK_TEST, 24); 2845 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 2846 L_2B07C9F0: 2847 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 2848 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 2849 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 2850 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 2851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2852 _flag_k = FK_NARROW(FK_CMP, 24); 2853 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 2854 L_2B07C9FA: 2855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 2856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2857 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 2858 _flag_k = FK_ADD; 2859 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 2860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2861 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 2862 _flag_k = FK_ADD; 2863 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 2864 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2865 _cf = 0; 2866 _flag_k = FK_NARROW(FK_TEST, 24); 2867 RECOMP_BACKEDGE(); 2868 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 2869 L_2B07CA04: 2870 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2871 eax = 0; /* 0x2B07CA04: xor eax, eax */ 2872 _cf = 0; 2873 _flag_k = FK_TEST; 2874 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 2875 L_2B07CA08: 2876 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 2877 eax = _sc ? 0xFFFFFFFFu : 0; 2878 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2879 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2880 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 2881 eax = _sa - _sb - _sc; 2882 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2883 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2884 L_2B07CA0D: 2885 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 2886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2887 _cf = 0; 2888 _flag_k = FK_TEST; 2889 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 2890 L_2B07CA11: 2891 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 2892 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 2893 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 2894 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 2895 RECOMP_FLAGS_IN(); 2896 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 2897 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 2898 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 2899 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 2900 RECOMP_FLAGS_IN(); 2901 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2902 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2903 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 2904 _flag_k = FK_ADD; 2905 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 2906 RECOMP_BACKEDGE(); 2907 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 2908 L_2B07CA36: 2909 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 2910 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 2911 L_2B07CA41: 2912 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 2913 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 2914 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 2915 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 2916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2917 _flag_k = FK_NARROW(FK_CMP, 24); 2918 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 2919 L_2B07CA49: 2920 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 2921 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2922 _cf = 0; 2923 _flag_k = FK_NARROW(FK_TEST, 24); 2924 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 2925 L_2B07CA4D: 2926 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 2927 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 2928 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 2929 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 2930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2931 _flag_k = FK_NARROW(FK_CMP, 24); 2932 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 2933 L_2B07CA57: 2934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 2935 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2936 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 2937 _flag_k = FK_ADD; 2938 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 2939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2940 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 2941 _flag_k = FK_ADD; 2942 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 2943 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 2944 _cf = 0; 2945 _flag_k = FK_NARROW(FK_TEST, 24); 2946 RECOMP_BACKEDGE(); 2947 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 2948 L_2B07CA61: 2949 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2950 eax = 0; /* 0x2B07CA61: xor eax, eax */ 2951 _cf = 0; 2952 _flag_k = FK_TEST; 2953 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 2954 L_2B07CA65: 2955 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 2956 eax = _sc ? 0xFFFFFFFFu : 0; 2957 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2958 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2959 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 2960 eax = _sa - _sb - _sc; 2961 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 2962 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 2963 L_2B07CA6A: 2964 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 2965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2966 _cf = 0; 2967 _flag_k = FK_TEST; 2968 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 2969 L_2B07CA6E: 2970 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 2971 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 2972 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 2973 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 2974 RECOMP_FLAGS_IN(); 2975 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 2976 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 2977 esi = eax; /* 0x2B07CA84: mov esi, eax */ 2978 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 2979 RECOMP_FLAGS_IN(); 2980 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 2981 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 2982 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 2983 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 2984 RECOMP_FLAGS_IN(); 2985 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 2986 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 2987 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 2988 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 2989 RECOMP_FLAGS_IN(); 2990 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 2991 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 2992 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2993 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 2994 _flag_k = FK_ADD; 2995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 2996 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2997 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 2998 _flag_k = FK_ADD; 2999 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 3000 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 3001 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 3002 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 3003 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 3004 RECOMP_BACKEDGE(); 3005 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 3006 L_2B07CABE: 3007 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 3008 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 3009 L_2B07CAC9: 3010 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 3011 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 3012 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 3013 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 3014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3015 _flag_k = FK_NARROW(FK_CMP, 24); 3016 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 3017 L_2B07CAD1: 3018 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 3019 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3020 _cf = 0; 3021 _flag_k = FK_NARROW(FK_TEST, 24); 3022 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 3023 L_2B07CAD5: 3024 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 3025 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 3026 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 3027 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 3028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3029 _flag_k = FK_NARROW(FK_CMP, 24); 3030 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 3031 L_2B07CADF: 3032 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3033 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3034 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 3035 _flag_k = FK_ADD; 3036 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 3037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3038 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 3039 _flag_k = FK_ADD; 3040 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 3041 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3042 _cf = 0; 3043 _flag_k = FK_NARROW(FK_TEST, 24); 3044 RECOMP_BACKEDGE(); 3045 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 3046 L_2B07CAE9: 3047 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3048 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 3049 _cf = 0; 3050 _flag_k = FK_TEST; 3051 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 3052 L_2B07CAED: 3053 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 3054 eax = _sc ? 0xFFFFFFFFu : 0; 3055 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3056 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3057 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 3058 eax = _sa - _sb - _sc; 3059 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3060 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3061 L_2B07CAF2: 3062 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 3063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3064 _cf = 0; 3065 _flag_k = FK_TEST; 3066 RECOMP_BACKEDGE(); 3067 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 3068 L_2B07CAFA: 3069 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 3070 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 3071 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 3072 RECOMP_FLAGS_IN(); 3073 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 3074 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 3075 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 3076 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3077 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 3078 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3079 edx = 0; /* 0x2B07CB10: xor edx, edx */ 3080 _cf = 0; 3081 _flag_k = FK_TEST; 3082 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3083 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3084 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 3085 _flag_k = FK_ADD; 3086 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 3087 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 3088 _cf = 0; 3089 _flag_k = FK_TEST; 3090 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 3091 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 3092 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 3093 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 3094 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 3095 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 3096 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 3097 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 3098 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 3099 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 3100 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 3101 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 3102 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 3103 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 3104 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 3105 RECOMP_FLAGS_IN(); 3106 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 3107 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 3108 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 3109 RECOMP_FLAGS_IN(); 3110 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 3111 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 3112 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 3113 RECOMP_FLAGS_IN(); 3114 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 3115 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 3116 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 3117 RECOMP_FLAGS_IN(); 3118 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 3119 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 3120 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 3121 _flag_k = FK_INC; 3122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3123 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 3124 _flag_k = FK_DEC; 3125 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 3126 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3128 _flag_k = FK_CMP; 3129 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 3130 RECOMP_BACKEDGE(); 3131 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 3132 L_2B07CB7A: 3133 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 3134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3135 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 3136 _flag_k = FK_INC; 3137 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 3138 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 3139 RECOMP_BACKEDGE(); 3140 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 3141 L_2B07CB8D: 3142 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 3143 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 3144 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 3145 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 3146 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 3147 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 3148 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 3149 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 3150 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 3151 RECOMP_FLAGS_IN(); 3152 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 3153 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 3154 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 3155 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 3156 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 3157 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 3158 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 3159 RECOMP_FLAGS_IN(); 3160 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 3161 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3162 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 3163 _flag_k = FK_ADD; 3164 L_2B07CBCB: 3165 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 3166 L_2B07CBCF: 3167 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 3168 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 3169 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 3170 RECOMP_FLAGS_IN(); 3171 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 3172 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3173 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3174 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 3175 _flag_k = FK_ADD; 3176 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 3177 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3178 _cf = 0; 3179 _flag_k = FK_NARROW(FK_TEST, 24); 3180 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 3181 L_2B07CBE2: 3182 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 3183 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 3184 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 3185 L_2B07CBEE: 3186 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 3187 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3188 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 3189 _cf = 0; 3190 _flag_k = FK_TEST; 3191 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 3192 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3194 _flag_k = FK_CMP; 3195 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 3196 L_2B07CBF7: 3197 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 3198 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 3199 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 3200 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3201 _cf = 0; 3202 _flag_k = FK_NARROW(FK_TEST, 24); 3203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 3204 L_2B07CC00: 3205 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 3206 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3208 _flag_k = FK_NARROW(FK_CMP, 24); 3209 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 3210 L_2B07CC04: 3211 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3212 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 3213 _flag_k = FK_NARROW(FK_DEC, 24); 3214 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 3215 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 3216 L_2B07CC0A: 3217 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 3218 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 3219 RECOMP_FLAGS_IN(); 3220 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3221 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3222 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 3223 _flag_k = FK_ADD; 3224 L_2B07CC13: 3225 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 3226 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 3227 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 3228 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 3229 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 3230 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 3231 RECOMP_FLAGS_IN(); 3232 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 3233 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 3234 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 3235 RECOMP_FLAGS_IN(); 3236 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 3237 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 3238 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 3239 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 3240 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 3241 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 3242 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 3243 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 3244 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 3245 RECOMP_REGS_OUT(); 3246 } 3247 3248 void sub_2B07CA6A(void) { 3249 int _fpu_cmp = 0; 3250 uint32_t _cf = 0; 3251 int _df = 1; 3252 uint32_t _flag_k = FK_NONE; 3253 uint32_t _flag_a = 0, _flag_b = 0; 3254 uint32_t _itail_tgt = 0; 3255 RECOMP_REGS_LOCALS 3256 RECOMP_ENTER(0x2B07CA6Au); 3257 3258 goto L_2B07CA6A; 3259 L_2B07C55D: 3260 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 3261 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 3262 RECOMP_FLAGS_IN(); 3263 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 3264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 3265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3266 _flag_k = FK_CMP; 3267 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 3268 L_2B07C572: 3269 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 3270 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 3271 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 3272 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 3273 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 3274 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 3275 RECOMP_FLAGS_IN(); 3276 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 3277 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3278 _cf = 0; 3279 _flag_k = FK_TEST; 3280 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 3281 L_2B07C594: 3282 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 3283 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 3284 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 3285 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3286 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 3287 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 3288 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3289 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 3290 _cf = 0; 3291 _flag_k = FK_TEST; 3292 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 3293 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 3294 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 3295 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3296 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 3297 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 3298 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3299 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 3300 _cf = 0; 3301 _flag_k = FK_TEST; 3302 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 3303 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 3304 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 3305 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3306 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 3307 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 3308 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3309 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 3310 _cf = 0; 3311 _flag_k = FK_TEST; 3312 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 3313 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 3314 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 3315 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3316 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 3317 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 3318 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3319 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 3320 _cf = 0; 3321 _flag_k = FK_TEST; 3322 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 3323 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 3324 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 3325 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 3326 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 3327 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 3328 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 3329 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 3330 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 3331 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 3332 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 3333 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 3334 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 3335 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 3336 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 3337 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 3338 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 3339 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 3340 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 3341 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 3342 RECOMP_FLAGS_IN(); 3343 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 3344 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 3345 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3346 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 3347 _flag_k = FK_ADD; 3348 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 3349 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3350 _cf = 0; 3351 _flag_k = FK_NARROW(FK_TEST, 24); 3352 RECOMP_BACKEDGE(); 3353 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 3354 L_2B07C654: 3355 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 3356 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 3357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3358 _flag_k = FK_NARROW(FK_CMP, 24); 3359 RECOMP_BACKEDGE(); 3360 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 3361 L_2B07C65C: 3362 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 3363 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 3364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3365 _flag_k = FK_NARROW(FK_CMP, 24); 3366 RECOMP_BACKEDGE(); 3367 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 3368 L_2B07C664: 3369 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 3370 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 3371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3372 _flag_k = FK_NARROW(FK_CMP, 24); 3373 RECOMP_BACKEDGE(); 3374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 3375 L_2B07C66C: 3376 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 3377 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 3378 L_2B07C677: 3379 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 3380 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 3381 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 3382 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 3383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3384 _flag_k = FK_NARROW(FK_CMP, 24); 3385 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 3386 L_2B07C67F: 3387 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 3388 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3389 _cf = 0; 3390 _flag_k = FK_NARROW(FK_TEST, 24); 3391 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 3392 L_2B07C683: 3393 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 3394 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 3395 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 3396 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 3397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3398 _flag_k = FK_NARROW(FK_CMP, 24); 3399 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 3400 L_2B07C68D: 3401 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3402 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3403 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 3404 _flag_k = FK_ADD; 3405 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 3406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3407 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 3408 _flag_k = FK_ADD; 3409 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 3410 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3411 _cf = 0; 3412 _flag_k = FK_NARROW(FK_TEST, 24); 3413 RECOMP_BACKEDGE(); 3414 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 3415 L_2B07C697: 3416 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3417 eax = 0; /* 0x2B07C697: xor eax, eax */ 3418 _cf = 0; 3419 _flag_k = FK_TEST; 3420 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 3421 L_2B07C69B: 3422 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 3423 eax = _sc ? 0xFFFFFFFFu : 0; 3424 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3425 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3426 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 3427 eax = _sa - _sb - _sc; 3428 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3429 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3430 L_2B07C6A0: 3431 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 3432 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3433 _cf = 0; 3434 _flag_k = FK_TEST; 3435 RECOMP_BACKEDGE(); 3436 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 3437 L_2B07C6A8: 3438 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 3439 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 3440 L_2B07C6B3: 3441 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 3442 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 3443 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 3444 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 3445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3446 _flag_k = FK_NARROW(FK_CMP, 24); 3447 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 3448 L_2B07C6BB: 3449 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 3450 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3451 _cf = 0; 3452 _flag_k = FK_NARROW(FK_TEST, 24); 3453 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 3454 L_2B07C6BF: 3455 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 3456 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 3457 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 3458 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 3459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3460 _flag_k = FK_NARROW(FK_CMP, 24); 3461 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 3462 L_2B07C6C9: 3463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3465 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 3466 _flag_k = FK_ADD; 3467 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 3468 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3469 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 3470 _flag_k = FK_ADD; 3471 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 3472 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3473 _cf = 0; 3474 _flag_k = FK_NARROW(FK_TEST, 24); 3475 RECOMP_BACKEDGE(); 3476 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 3477 L_2B07C6D3: 3478 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3479 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 3480 _cf = 0; 3481 _flag_k = FK_TEST; 3482 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 3483 L_2B07C6D7: 3484 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 3485 eax = _sc ? 0xFFFFFFFFu : 0; 3486 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3487 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3488 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 3489 eax = _sa - _sb - _sc; 3490 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3491 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3492 L_2B07C6DC: 3493 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 3494 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3495 _cf = 0; 3496 _flag_k = FK_TEST; 3497 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 3498 L_2B07C6E4: 3499 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 3500 RECOMP_FLAGS_IN(); 3501 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 3502 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3503 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 3504 _cf = 0; 3505 _flag_k = FK_TEST; 3506 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3507 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 3508 _cf = 0; 3509 _flag_k = FK_TEST; 3510 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 3511 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 3512 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 3513 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3514 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 3515 _flag_k = FK_DEC; 3516 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 3517 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 3518 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 3519 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 3520 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 3521 RECOMP_FLAGS_IN(); 3522 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 3523 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3524 _cf = 0; 3525 _flag_k = FK_NARROW(FK_TEST, 24); 3526 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 3527 L_2B07C70A: 3528 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 3529 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 3530 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 3531 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 3532 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3533 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 3534 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3535 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 3536 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3537 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 3538 _cf = 0; 3539 _flag_k = FK_TEST; 3540 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3541 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 3542 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 3543 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 3544 RECOMP_FLAGS_IN(); 3545 L_2B07C727: 3546 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3547 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 3548 _cf = 0; 3549 _flag_k = FK_TEST; 3550 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3551 eax = 0; /* 0x2B07C72A: xor eax, eax */ 3552 _cf = 0; 3553 _flag_k = FK_TEST; 3554 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 3555 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 3556 ecx = ~ecx; /* 0x2B07C733: not ecx */ 3557 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3558 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 3559 _flag_k = FK_DEC; 3560 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 3561 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 3562 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 3563 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 3564 RECOMP_FLAGS_IN(); 3565 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3566 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 3567 _cf = 0; 3568 _flag_k = FK_TEST; 3569 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3570 eax = 0; /* 0x2B07C748: xor eax, eax */ 3571 _cf = 0; 3572 _flag_k = FK_TEST; 3573 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 3574 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 3575 ecx = ~ecx; /* 0x2B07C752: not ecx */ 3576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3577 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 3578 _flag_k = FK_DEC; 3579 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 3580 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 3581 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 3582 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 3583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3584 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 3585 _flag_k = FK_CMP; 3586 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 3587 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 3588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3589 _flag_k = FK_CMP; 3590 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 3591 L_2B07C766: 3592 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 3593 RECOMP_FLAGS_IN(); 3594 L_2B07C76C: 3595 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 3596 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3597 _cf = 0; 3598 _flag_k = FK_TEST; 3599 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 3600 L_2B07C770: 3601 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 3602 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 3603 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 3604 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 3605 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 3606 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 3607 RECOMP_FLAGS_IN(); 3608 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: 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_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 3613 L_2B07C786: 3614 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 3615 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 3616 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 3617 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 3618 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 3619 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 3620 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3621 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 3622 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 3623 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3624 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 3625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3626 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 3627 _cf = 0; 3628 _flag_k = FK_TEST; 3629 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 3630 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 3631 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 3632 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 3633 RECOMP_FLAGS_IN(); 3634 L_2B07C7AF: 3635 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3636 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 3637 _cf = 0; 3638 _flag_k = FK_TEST; 3639 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 3640 RECOMP_BACKEDGE(); 3641 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 3642 L_2B07C7B9: 3643 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 3644 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 3645 L_2B07C7C4: 3646 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 3647 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 3648 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 3649 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 3650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3651 _flag_k = FK_NARROW(FK_CMP, 24); 3652 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 3653 L_2B07C7CC: 3654 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 3655 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3656 _cf = 0; 3657 _flag_k = FK_NARROW(FK_TEST, 24); 3658 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 3659 L_2B07C7D0: 3660 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 3661 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 3662 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 3663 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 3664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3665 _flag_k = FK_NARROW(FK_CMP, 24); 3666 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 3667 L_2B07C7DA: 3668 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3669 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3670 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 3671 _flag_k = FK_ADD; 3672 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 3673 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3674 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 3675 _flag_k = FK_ADD; 3676 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 3677 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3678 _cf = 0; 3679 _flag_k = FK_NARROW(FK_TEST, 24); 3680 RECOMP_BACKEDGE(); 3681 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 3682 L_2B07C7E4: 3683 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3684 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 3685 _cf = 0; 3686 _flag_k = FK_TEST; 3687 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 3688 L_2B07C7E8: 3689 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 3690 eax = _sc ? 0xFFFFFFFFu : 0; 3691 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3692 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3693 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 3694 eax = _sa - _sb - _sc; 3695 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3696 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3697 L_2B07C7ED: 3698 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 3699 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3700 _cf = 0; 3701 _flag_k = FK_TEST; 3702 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 3703 L_2B07C7F5: 3704 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 3705 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 3706 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 3707 RECOMP_FLAGS_IN(); 3708 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 3709 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 3710 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3711 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3712 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 3713 _flag_k = FK_ADD; 3714 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 3715 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3716 eax = 0; /* 0x2B07C810: xor eax, eax */ 3717 _cf = 0; 3718 _flag_k = FK_TEST; 3719 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 3720 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3721 edi = edi + 1; /* 0x2B07C818: inc edi */ 3722 _flag_k = FK_INC; 3723 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 3724 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 3725 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 3726 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 3727 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 3728 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 3729 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 3730 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 3731 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 3732 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 3733 RECOMP_FLAGS_IN(); 3734 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 3735 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 3736 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 3737 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 3738 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 3739 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 3740 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 3741 RECOMP_FLAGS_IN(); 3742 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 3743 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 3744 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 3745 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 3746 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 3747 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 3748 RECOMP_FLAGS_IN(); 3749 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 3750 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 3751 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 3752 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 3753 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 3754 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 3755 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 3756 RECOMP_FLAGS_IN(); 3757 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 3758 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 3759 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 3760 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 3761 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 3762 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 3763 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 3764 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 3765 RECOMP_FLAGS_IN(); 3766 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 3767 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 3768 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 3769 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 3770 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 3771 RECOMP_FLAGS_IN(); 3772 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 3773 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 3774 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 3775 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 3776 RECOMP_FLAGS_IN(); 3777 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 3778 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 3779 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 3780 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 3781 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 3782 RECOMP_FLAGS_IN(); 3783 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 3784 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 3785 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 3786 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 3787 RECOMP_FLAGS_IN(); 3788 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 3789 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 3790 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 3791 RECOMP_FLAGS_IN(); 3792 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 3793 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 3794 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 3795 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 3796 RECOMP_FLAGS_IN(); 3797 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 3798 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 3799 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 3800 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 3801 RECOMP_FLAGS_IN(); 3802 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 3803 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 3804 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 3805 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 3806 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 3807 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 3808 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3809 esi = 0; /* 0x2B07C953: xor esi, esi */ 3810 _cf = 0; 3811 _flag_k = FK_TEST; 3812 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 3813 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 3814 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 3815 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 3816 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 3817 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 3818 RECOMP_FLAGS_IN(); 3819 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 3820 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 3821 RECOMP_BACKEDGE(); 3822 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 3823 L_2B07C971: 3824 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 3825 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 3826 _cf = 0; 3827 _flag_k = FK_TEST; 3828 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 3829 L_2B07C979: 3830 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 3831 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 3832 L_2B07C984: 3833 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 3834 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 3835 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 3836 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 3837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3838 _flag_k = FK_NARROW(FK_CMP, 24); 3839 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 3840 L_2B07C98C: 3841 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 3842 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3843 _cf = 0; 3844 _flag_k = FK_NARROW(FK_TEST, 24); 3845 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 3846 L_2B07C990: 3847 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 3848 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 3849 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 3850 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 3851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3852 _flag_k = FK_NARROW(FK_CMP, 24); 3853 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 3854 L_2B07C99A: 3855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3856 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3857 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 3858 _flag_k = FK_ADD; 3859 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 3860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3861 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 3862 _flag_k = FK_ADD; 3863 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 3864 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3865 _cf = 0; 3866 _flag_k = FK_NARROW(FK_TEST, 24); 3867 RECOMP_BACKEDGE(); 3868 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 3869 L_2B07C9A4: 3870 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3871 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 3872 _cf = 0; 3873 _flag_k = FK_TEST; 3874 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 3875 L_2B07C9A8: 3876 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 3877 eax = _sc ? 0xFFFFFFFFu : 0; 3878 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3879 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3880 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 3881 eax = _sa - _sb - _sc; 3882 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3883 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3884 L_2B07C9AD: 3885 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 3886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3887 _cf = 0; 3888 _flag_k = FK_TEST; 3889 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 3890 L_2B07C9B1: 3891 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 3892 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 3893 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 3894 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 3895 RECOMP_FLAGS_IN(); 3896 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 3897 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 3898 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 3899 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 3900 RECOMP_FLAGS_IN(); 3901 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 3902 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3903 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3904 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 3905 _flag_k = FK_ADD; 3906 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 3907 RECOMP_BACKEDGE(); 3908 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 3909 L_2B07C9D9: 3910 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 3911 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 3912 L_2B07C9E4: 3913 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 3914 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 3915 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 3916 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 3917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3918 _flag_k = FK_NARROW(FK_CMP, 24); 3919 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 3920 L_2B07C9EC: 3921 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: 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_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 3926 L_2B07C9F0: 3927 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 3928 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 3929 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 3930 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 3931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3932 _flag_k = FK_NARROW(FK_CMP, 24); 3933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 3934 L_2B07C9FA: 3935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3936 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3937 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 3938 _flag_k = FK_ADD; 3939 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 3940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3941 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 3942 _flag_k = FK_ADD; 3943 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 3944 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 3945 _cf = 0; 3946 _flag_k = FK_NARROW(FK_TEST, 24); 3947 RECOMP_BACKEDGE(); 3948 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 3949 L_2B07CA04: 3950 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3951 eax = 0; /* 0x2B07CA04: xor eax, eax */ 3952 _cf = 0; 3953 _flag_k = FK_TEST; 3954 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 3955 L_2B07CA08: 3956 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 3957 eax = _sc ? 0xFFFFFFFFu : 0; 3958 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3959 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3960 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 3961 eax = _sa - _sb - _sc; 3962 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3963 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3964 L_2B07CA0D: 3965 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 3966 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3967 _cf = 0; 3968 _flag_k = FK_TEST; 3969 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 3970 L_2B07CA11: 3971 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 3972 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 3973 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 3974 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 3975 RECOMP_FLAGS_IN(); 3976 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 3977 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 3978 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 3979 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 3980 RECOMP_FLAGS_IN(); 3981 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3982 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3983 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 3984 _flag_k = FK_ADD; 3985 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 3986 RECOMP_BACKEDGE(); 3987 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 3988 L_2B07CA36: 3989 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 3990 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 3991 L_2B07CA41: 3992 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 3993 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 3994 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 3995 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 3996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3997 _flag_k = FK_NARROW(FK_CMP, 24); 3998 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 3999 L_2B07CA49: 4000 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 4001 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4002 _cf = 0; 4003 _flag_k = FK_NARROW(FK_TEST, 24); 4004 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 4005 L_2B07CA4D: 4006 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 4007 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 4008 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 4009 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 4010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4011 _flag_k = FK_NARROW(FK_CMP, 24); 4012 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 4013 L_2B07CA57: 4014 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4015 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4016 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 4017 _flag_k = FK_ADD; 4018 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 4019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4020 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 4021 _flag_k = FK_ADD; 4022 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: 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 RECOMP_BACKEDGE(); 4027 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 4028 L_2B07CA61: 4029 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4030 eax = 0; /* 0x2B07CA61: xor eax, eax */ 4031 _cf = 0; 4032 _flag_k = FK_TEST; 4033 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 4034 L_2B07CA65: 4035 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 4036 eax = _sc ? 0xFFFFFFFFu : 0; 4037 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4038 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4039 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 4040 eax = _sa - _sb - _sc; 4041 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4042 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4043 L_2B07CA6A: 4044 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 4045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4046 _cf = 0; 4047 _flag_k = FK_TEST; 4048 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 4049 L_2B07CA6E: 4050 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 4051 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 4052 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 4053 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 4054 RECOMP_FLAGS_IN(); 4055 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 4056 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 4057 esi = eax; /* 0x2B07CA84: mov esi, eax */ 4058 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 4059 RECOMP_FLAGS_IN(); 4060 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 4061 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 4062 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 4063 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 4064 RECOMP_FLAGS_IN(); 4065 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 4066 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 4067 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 4068 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 4069 RECOMP_FLAGS_IN(); 4070 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 4071 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 4072 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4073 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 4074 _flag_k = FK_ADD; 4075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 4076 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4077 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 4078 _flag_k = FK_ADD; 4079 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 4080 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 4081 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 4082 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 4083 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 4084 RECOMP_BACKEDGE(); 4085 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 4086 L_2B07CABE: 4087 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 4088 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 4089 L_2B07CAC9: 4090 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 4091 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 4092 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 4093 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 4094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4095 _flag_k = FK_NARROW(FK_CMP, 24); 4096 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 4097 L_2B07CAD1: 4098 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 4099 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4100 _cf = 0; 4101 _flag_k = FK_NARROW(FK_TEST, 24); 4102 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 4103 L_2B07CAD5: 4104 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 4105 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 4106 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 4107 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 4108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4109 _flag_k = FK_NARROW(FK_CMP, 24); 4110 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 4111 L_2B07CADF: 4112 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4113 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4114 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 4115 _flag_k = FK_ADD; 4116 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 4117 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4118 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 4119 _flag_k = FK_ADD; 4120 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 4121 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4122 _cf = 0; 4123 _flag_k = FK_NARROW(FK_TEST, 24); 4124 RECOMP_BACKEDGE(); 4125 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 4126 L_2B07CAE9: 4127 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4128 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 4129 _cf = 0; 4130 _flag_k = FK_TEST; 4131 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 4132 L_2B07CAED: 4133 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 4134 eax = _sc ? 0xFFFFFFFFu : 0; 4135 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4136 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4137 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 4138 eax = _sa - _sb - _sc; 4139 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4140 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4141 L_2B07CAF2: 4142 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 4143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4144 _cf = 0; 4145 _flag_k = FK_TEST; 4146 RECOMP_BACKEDGE(); 4147 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 4148 L_2B07CAFA: 4149 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 4150 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 4151 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 4152 RECOMP_FLAGS_IN(); 4153 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 4154 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 4155 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 4156 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4157 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 4158 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4159 edx = 0; /* 0x2B07CB10: xor edx, edx */ 4160 _cf = 0; 4161 _flag_k = FK_TEST; 4162 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4163 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4164 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 4165 _flag_k = FK_ADD; 4166 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 4167 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 4168 _cf = 0; 4169 _flag_k = FK_TEST; 4170 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 4171 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 4172 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 4173 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 4174 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 4175 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 4176 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 4177 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 4178 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 4179 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 4180 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 4181 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 4182 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 4183 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 4184 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 4185 RECOMP_FLAGS_IN(); 4186 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 4187 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 4188 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 4189 RECOMP_FLAGS_IN(); 4190 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 4191 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 4192 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 4193 RECOMP_FLAGS_IN(); 4194 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 4195 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 4196 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 4197 RECOMP_FLAGS_IN(); 4198 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 4199 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 4200 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 4201 _flag_k = FK_INC; 4202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4203 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 4204 _flag_k = FK_DEC; 4205 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 4206 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 4207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4208 _flag_k = FK_CMP; 4209 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 4210 RECOMP_BACKEDGE(); 4211 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 4212 L_2B07CB7A: 4213 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 4214 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4215 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 4216 _flag_k = FK_INC; 4217 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 4218 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 4219 RECOMP_BACKEDGE(); 4220 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 4221 L_2B07CB8D: 4222 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 4223 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 4224 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 4225 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 4226 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 4227 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 4228 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 4229 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 4230 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 4231 RECOMP_FLAGS_IN(); 4232 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 4233 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 4234 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 4235 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 4236 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 4237 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 4238 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 4239 RECOMP_FLAGS_IN(); 4240 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 4241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4242 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 4243 _flag_k = FK_ADD; 4244 L_2B07CBCB: 4245 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 4246 L_2B07CBCF: 4247 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 4248 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 4249 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 4250 RECOMP_FLAGS_IN(); 4251 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 4252 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4253 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4254 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 4255 _flag_k = FK_ADD; 4256 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 4257 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4258 _cf = 0; 4259 _flag_k = FK_NARROW(FK_TEST, 24); 4260 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 4261 L_2B07CBE2: 4262 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 4263 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 4264 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 4265 L_2B07CBEE: 4266 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 4267 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4268 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 4269 _cf = 0; 4270 _flag_k = FK_TEST; 4271 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 4272 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4274 _flag_k = FK_CMP; 4275 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 4276 L_2B07CBF7: 4277 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 4278 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 4279 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 4280 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4281 _cf = 0; 4282 _flag_k = FK_NARROW(FK_TEST, 24); 4283 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 4284 L_2B07CC00: 4285 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 4286 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4288 _flag_k = FK_NARROW(FK_CMP, 24); 4289 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 4290 L_2B07CC04: 4291 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4292 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 4293 _flag_k = FK_NARROW(FK_DEC, 24); 4294 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 4295 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 4296 L_2B07CC0A: 4297 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 4298 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 4299 RECOMP_FLAGS_IN(); 4300 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4301 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4302 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 4303 _flag_k = FK_ADD; 4304 L_2B07CC13: 4305 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 4306 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 4307 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 4308 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 4309 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 4310 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 4311 RECOMP_FLAGS_IN(); 4312 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 4313 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 4314 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 4315 RECOMP_FLAGS_IN(); 4316 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 4317 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 4318 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 4319 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 4320 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 4321 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 4322 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 4323 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 4324 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 4325 RECOMP_REGS_OUT(); 4326 } 4327 4328 void sub_2B07CAF2(void) { 4329 int _fpu_cmp = 0; 4330 uint32_t _cf = 0; 4331 int _df = 1; 4332 uint32_t _flag_k = FK_NONE; 4333 uint32_t _flag_a = 0, _flag_b = 0; 4334 uint32_t _itail_tgt = 0; 4335 RECOMP_REGS_LOCALS 4336 RECOMP_ENTER(0x2B07CAF2u); 4337 4338 goto L_2B07CAF2; 4339 L_2B07C55D: 4340 ecx = ebp + (-0x9C); /* 0x2B07C55D: lea ecx, [ebp - 0x9c] */ 4341 RECOMP_ICALL(MEM32(0x2B0B56B8)); /* 0x2B07C563: call dword ptr [0x2b0b56b8] */ 4342 RECOMP_FLAGS_IN(); 4343 /* cmp eax, MEM32(ebp + (-0x44)) */ /* 0x2B07C569: cmp eax, dword ptr [ebp - 0x44] */ 4344 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x44))); 4345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4346 _flag_k = FK_CMP; 4347 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07CBCF; /* 0x2B07C56C: jge 0x2b07cbcf */ 4348 L_2B07C572: 4349 PUSH32(esp, 0xAu); /* 0x2B07C572: push 0xa */ 4350 PUSH32(esp, 0x800u); /* 0x2B07C574: push 0x800 */ 4351 eax = ebp + (-0x1274); /* 0x2B07C579: lea eax, [ebp - 0x1274] */ 4352 PUSH32(esp, eax); /* 0x2B07C57F: push eax */ 4353 ecx = ebp + (-0x9C); /* 0x2B07C580: lea ecx, [ebp - 0x9c] */ 4354 RECOMP_ICALL(MEM32(0x2B0B56B4)); /* 0x2B07C586: call dword ptr [0x2b0b56b4] */ 4355 RECOMP_FLAGS_IN(); 4356 /* test eax, eax */ /* 0x2B07C58C: test eax, eax */ 4357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4358 _cf = 0; 4359 _flag_k = FK_TEST; 4360 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CBCB; /* 0x2B07C58E: jne 0x2b07cbcb */ 4361 L_2B07C594: 4362 MEM8(ebp + (-0x974)) = (uint8_t)(LO8(eax)); /* 0x2B07C594: mov byte ptr [ebp - 0x974], al */ 4363 ecx = 0x63u; /* 0x2B07C59A: mov ecx, 0x63 */ 4364 edi = ebp + (-0x973); /* 0x2B07C59F: lea edi, [ebp - 0x973] */ 4365 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5A5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 4366 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5A7: stosw word ptr es:[edi], ax */ 4367 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5A9: stosb byte ptr es:[edi], al */ 4368 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4369 eax = 0; /* 0x2B07C5AA: xor eax, eax */ 4370 _cf = 0; 4371 _flag_k = FK_TEST; 4372 MEM8(ebp + (-0x7E4)) = (uint8_t)(0); /* 0x2B07C5AC: mov byte ptr [ebp - 0x7e4], 0 */ 4373 ecx = 0x63u; /* 0x2B07C5B3: mov ecx, 0x63 */ 4374 edi = ebp + (-0x7E3); /* 0x2B07C5B8: lea edi, [ebp - 0x7e3] */ 4375 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5BE: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 4376 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5C0: stosw word ptr es:[edi], ax */ 4377 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5C2: stosb byte ptr es:[edi], al */ 4378 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4379 eax = 0; /* 0x2B07C5C3: xor eax, eax */ 4380 _cf = 0; 4381 _flag_k = FK_TEST; 4382 MEM8(ebp + (-0x654)) = (uint8_t)(0); /* 0x2B07C5C5: mov byte ptr [ebp - 0x654], 0 */ 4383 ecx = 0x63u; /* 0x2B07C5CC: mov ecx, 0x63 */ 4384 edi = ebp + (-0x653); /* 0x2B07C5D1: lea edi, [ebp - 0x653] */ 4385 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5D7: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 4386 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5D9: stosw word ptr es:[edi], ax */ 4387 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5DB: stosb byte ptr es:[edi], al */ 4388 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4389 eax = 0; /* 0x2B07C5DC: xor eax, eax */ 4390 _cf = 0; 4391 _flag_k = FK_TEST; 4392 MEM8(ebp + (-0x4C4)) = (uint8_t)(0); /* 0x2B07C5DE: mov byte ptr [ebp - 0x4c4], 0 */ 4393 ecx = 0x63u; /* 0x2B07C5E5: mov ecx, 0x63 */ 4394 edi = ebp + (-0x4C3); /* 0x2B07C5EA: lea edi, [ebp - 0x4c3] */ 4395 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C5F0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 4396 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C5F2: stosw word ptr es:[edi], ax */ 4397 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C5F4: stosb byte ptr es:[edi], al */ 4398 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4399 eax = 0; /* 0x2B07C5F5: xor eax, eax */ 4400 _cf = 0; 4401 _flag_k = FK_TEST; 4402 MEM8(ebp + (-0x334)) = (uint8_t)(0); /* 0x2B07C5F7: mov byte ptr [ebp - 0x334], 0 */ 4403 ecx = 0x63u; /* 0x2B07C5FE: mov ecx, 0x63 */ 4404 edi = ebp + (-0x333); /* 0x2B07C603: lea edi, [ebp - 0x333] */ 4405 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C609: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 4406 MEM16(edi) = (uint16_t)LO16(eax); edi += _df * 2; /* 0x2B07C60B: stosw word ptr es:[edi], ax */ 4407 ecx = ebp + (-0x334); /* 0x2B07C60D: lea ecx, [ebp - 0x334] */ 4408 PUSH32(esp, ecx); /* 0x2B07C613: push ecx */ 4409 MEM8(edi) = LO8(eax); edi += _df; /* 0x2B07C614: stosb byte ptr es:[edi], al */ 4410 edx = ebp + (-0x4C4); /* 0x2B07C615: lea edx, [ebp - 0x4c4] */ 4411 PUSH32(esp, edx); /* 0x2B07C61B: push edx */ 4412 eax = ebp + (-0x654); /* 0x2B07C61C: lea eax, [ebp - 0x654] */ 4413 PUSH32(esp, eax); /* 0x2B07C622: push eax */ 4414 ecx = ebp + (-0x7E4); /* 0x2B07C623: lea ecx, [ebp - 0x7e4] */ 4415 PUSH32(esp, ecx); /* 0x2B07C629: push ecx */ 4416 edx = ebp + (-0x974); /* 0x2B07C62A: lea edx, [ebp - 0x974] */ 4417 PUSH32(esp, edx); /* 0x2B07C630: push edx */ 4418 eax = ebp + (-0x1274); /* 0x2B07C631: lea eax, [ebp - 0x1274] */ 4419 PUSH32(esp, 0x2B0EC880u); /* 0x2B07C637: push 0x2b0ec880 */ 4420 PUSH32(esp, eax); /* 0x2B07C63C: push eax */ 4421 RECOMP_ICALL(MEM32(0x2B0B5220)); /* 0x2B07C63D: call dword ptr [0x2b0b5220] */ 4422 RECOMP_FLAGS_IN(); 4423 SET_LO8(eax, MEM8(ebp + (-0x974))); /* 0x2B07C643: mov al, byte ptr [ebp - 0x974] */ 4424 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 4425 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4426 esp = esp + 0x1Cu; /* 0x2B07C649: add esp, 0x1c */ 4427 _flag_k = FK_ADD; 4428 /* test LO8(eax), LO8(eax) */ /* 0x2B07C64C: test al, al */ 4429 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4430 _cf = 0; 4431 _flag_k = FK_NARROW(FK_TEST, 24); 4432 RECOMP_BACKEDGE(); 4433 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C64E: je 0x2b07c55d */ 4434 L_2B07C654: 4435 /* cmp LO8(eax), 0xAu */ /* 0x2B07C654: cmp al, 0xa */ 4436 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xAu) << 24; 4437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4438 _flag_k = FK_NARROW(FK_CMP, 24); 4439 RECOMP_BACKEDGE(); 4440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C656: je 0x2b07c55d */ 4441 L_2B07C65C: 4442 /* cmp LO8(eax), 0x2Fu */ /* 0x2B07C65C: cmp al, 0x2f */ 4443 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x2Fu) << 24; 4444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4445 _flag_k = FK_NARROW(FK_CMP, 24); 4446 RECOMP_BACKEDGE(); 4447 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C65E: je 0x2b07c55d */ 4448 L_2B07C664: 4449 /* cmp LO8(eax), 0x23u */ /* 0x2B07C664: cmp al, 0x23 */ 4450 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0x23u) << 24; 4451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4452 _flag_k = FK_NARROW(FK_CMP, 24); 4453 RECOMP_BACKEDGE(); 4454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C666: je 0x2b07c55d */ 4455 L_2B07C66C: 4456 esi = 0x2B0EC878u; /* 0x2B07C66C: mov esi, 0x2b0ec878 */ 4457 eax = ebp + (-0x974); /* 0x2B07C671: lea eax, [ebp - 0x974] */ 4458 L_2B07C677: 4459 SET_LO8(edx, MEM8(eax)); /* 0x2B07C677: mov dl, byte ptr [eax] */ 4460 SET_LO8(ecx, LO8(edx)); /* 0x2B07C679: mov cl, dl */ 4461 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C67B: cmp dl, byte ptr [esi] */ 4462 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 4463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4464 _flag_k = FK_NARROW(FK_CMP, 24); 4465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C67D: jne 0x2b07c69b */ 4466 L_2B07C67F: 4467 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C67F: test cl, cl */ 4468 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4469 _cf = 0; 4470 _flag_k = FK_NARROW(FK_TEST, 24); 4471 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C697; /* 0x2B07C681: je 0x2b07c697 */ 4472 L_2B07C683: 4473 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C683: mov dl, byte ptr [eax + 1] */ 4474 SET_LO8(ecx, LO8(edx)); /* 0x2B07C686: mov cl, dl */ 4475 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C688: cmp dl, byte ptr [esi + 1] */ 4476 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 4477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4478 _flag_k = FK_NARROW(FK_CMP, 24); 4479 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C69B; /* 0x2B07C68B: jne 0x2b07c69b */ 4480 L_2B07C68D: 4481 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4483 eax = eax + 2; /* 0x2B07C68D: add eax, 2 */ 4484 _flag_k = FK_ADD; 4485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 4486 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4487 esi = esi + 2; /* 0x2B07C690: add esi, 2 */ 4488 _flag_k = FK_ADD; 4489 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C693: test cl, cl */ 4490 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4491 _cf = 0; 4492 _flag_k = FK_NARROW(FK_TEST, 24); 4493 RECOMP_BACKEDGE(); 4494 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C677; /* 0x2B07C695: jne 0x2b07c677 */ 4495 L_2B07C697: 4496 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4497 eax = 0; /* 0x2B07C697: xor eax, eax */ 4498 _cf = 0; 4499 _flag_k = FK_TEST; 4500 goto L_2B07C6A0; /* 0x2B07C699: jmp 0x2b07c6a0 */ 4501 L_2B07C69B: 4502 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C69B: sbb eax, eax */ 4503 eax = _sc ? 0xFFFFFFFFu : 0; 4504 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4505 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4506 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C69D: sbb eax, -1 */ 4507 eax = _sa - _sb - _sc; 4508 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4509 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4510 L_2B07C6A0: 4511 /* test eax, eax */ /* 0x2B07C6A0: test eax, eax */ 4512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4513 _cf = 0; 4514 _flag_k = FK_TEST; 4515 RECOMP_BACKEDGE(); 4516 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07C6A2: je 0x2b07c55d */ 4517 L_2B07C6A8: 4518 esi = 0x2B0EC870u; /* 0x2B07C6A8: mov esi, 0x2b0ec870 */ 4519 eax = ebp + (-0x974); /* 0x2B07C6AD: lea eax, [ebp - 0x974] */ 4520 L_2B07C6B3: 4521 SET_LO8(edx, MEM8(eax)); /* 0x2B07C6B3: mov dl, byte ptr [eax] */ 4522 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6B5: mov cl, dl */ 4523 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C6B7: cmp dl, byte ptr [esi] */ 4524 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 4525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4526 _flag_k = FK_NARROW(FK_CMP, 24); 4527 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6B9: jne 0x2b07c6d7 */ 4528 L_2B07C6BB: 4529 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6BB: test cl, cl */ 4530 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4531 _cf = 0; 4532 _flag_k = FK_NARROW(FK_TEST, 24); 4533 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C6D3; /* 0x2B07C6BD: je 0x2b07c6d3 */ 4534 L_2B07C6BF: 4535 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C6BF: mov dl, byte ptr [eax + 1] */ 4536 SET_LO8(ecx, LO8(edx)); /* 0x2B07C6C2: mov cl, dl */ 4537 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C6C4: cmp dl, byte ptr [esi + 1] */ 4538 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 4539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4540 _flag_k = FK_NARROW(FK_CMP, 24); 4541 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C6D7; /* 0x2B07C6C7: jne 0x2b07c6d7 */ 4542 L_2B07C6C9: 4543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4545 eax = eax + 2; /* 0x2B07C6C9: add eax, 2 */ 4546 _flag_k = FK_ADD; 4547 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 4548 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4549 esi = esi + 2; /* 0x2B07C6CC: add esi, 2 */ 4550 _flag_k = FK_ADD; 4551 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C6CF: test cl, cl */ 4552 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4553 _cf = 0; 4554 _flag_k = FK_NARROW(FK_TEST, 24); 4555 RECOMP_BACKEDGE(); 4556 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C6B3; /* 0x2B07C6D1: jne 0x2b07c6b3 */ 4557 L_2B07C6D3: 4558 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4559 eax = 0; /* 0x2B07C6D3: xor eax, eax */ 4560 _cf = 0; 4561 _flag_k = FK_TEST; 4562 goto L_2B07C6DC; /* 0x2B07C6D5: jmp 0x2b07c6dc */ 4563 L_2B07C6D7: 4564 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C6D7: sbb eax, eax */ 4565 eax = _sc ? 0xFFFFFFFFu : 0; 4566 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4567 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4568 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C6D9: sbb eax, -1 */ 4569 eax = _sa - _sb - _sc; 4570 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4571 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4572 L_2B07C6DC: 4573 /* test eax, eax */ /* 0x2B07C6DC: test eax, eax */ 4574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4575 _cf = 0; 4576 _flag_k = FK_TEST; 4577 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7B9; /* 0x2B07C6DE: jne 0x2b07c7b9 */ 4578 L_2B07C6E4: 4579 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07C6E4: call dword ptr [0x2b0b56d4] */ 4580 RECOMP_FLAGS_IN(); 4581 esi = eax; /* 0x2B07C6EA: mov esi, eax */ 4582 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4583 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C6EC: or ecx, 0xffffffff */ 4584 _cf = 0; 4585 _flag_k = FK_TEST; 4586 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4587 eax = 0; /* 0x2B07C6EF: xor eax, eax */ 4588 _cf = 0; 4589 _flag_k = FK_TEST; 4590 edi = esi; /* 0x2B07C6F1: mov edi, esi */ 4591 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C6F3: repne scasb al, byte ptr es:[edi] */ 4592 ecx = ~ecx; /* 0x2B07C6F5: not ecx */ 4593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4594 ecx = ecx - 1; /* 0x2B07C6F7: dec ecx */ 4595 _flag_k = FK_DEC; 4596 ebx = ecx; /* 0x2B07C6F8: mov ebx, ecx */ 4597 PUSH32(esp, 1); /* 0x2B07C6FA: push 1 */ 4598 PUSH32(esp, ebx); /* 0x2B07C6FC: push ebx */ 4599 ecx = ebp + (-0x2C); /* 0x2B07C6FD: lea ecx, [ebp - 0x2c] */ 4600 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C700: call dword ptr [0x2b0b5154] */ 4601 RECOMP_FLAGS_IN(); 4602 /* test LO8(eax), LO8(eax) */ /* 0x2B07C706: test al, al */ 4603 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4604 _cf = 0; 4605 _flag_k = FK_NARROW(FK_TEST, 24); 4606 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C727; /* 0x2B07C708: je 0x2b07c727 */ 4607 L_2B07C70A: 4608 edi = MEM32(ebp + (-0x28)); /* 0x2B07C70A: mov edi, dword ptr [ebp - 0x28] */ 4609 ecx = ebx; /* 0x2B07C70D: mov ecx, ebx */ 4610 eax = ecx; /* 0x2B07C70F: mov eax, ecx */ 4611 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C711: shr ecx, 2 */ 4612 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4613 ecx = ecx >> 2u; /* 0x2B07C711: shr ecx, 2 */ 4614 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C714: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 4615 ecx = eax; /* 0x2B07C716: mov ecx, eax */ 4616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4617 ecx = ecx & 3; /* 0x2B07C718: and ecx, 3 */ 4618 _cf = 0; 4619 _flag_k = FK_TEST; 4620 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C71B: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 4621 PUSH32(esp, ebx); /* 0x2B07C71D: push ebx */ 4622 ecx = ebp + (-0x2C); /* 0x2B07C71E: lea ecx, [ebp - 0x2c] */ 4623 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C721: call dword ptr [0x2b0b5150] */ 4624 RECOMP_FLAGS_IN(); 4625 L_2B07C727: 4626 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4627 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C727: or ecx, 0xffffffff */ 4628 _cf = 0; 4629 _flag_k = FK_TEST; 4630 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4631 eax = 0; /* 0x2B07C72A: xor eax, eax */ 4632 _cf = 0; 4633 _flag_k = FK_TEST; 4634 edi = 0x2B0EC460u; /* 0x2B07C72C: mov edi, 0x2b0ec460 */ 4635 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C731: repne scasb al, byte ptr es:[edi] */ 4636 ecx = ~ecx; /* 0x2B07C733: not ecx */ 4637 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4638 ecx = ecx - 1; /* 0x2B07C735: dec ecx */ 4639 _flag_k = FK_DEC; 4640 PUSH32(esp, ecx); /* 0x2B07C736: push ecx */ 4641 PUSH32(esp, 0x2B0EC460u); /* 0x2B07C737: push 0x2b0ec460 */ 4642 ecx = ebp + (-0x2C); /* 0x2B07C73C: lea ecx, [ebp - 0x2c] */ 4643 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07C73F: call dword ptr [0x2b0b5188] */ 4644 RECOMP_FLAGS_IN(); 4645 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4646 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07C745: or ecx, 0xffffffff */ 4647 _cf = 0; 4648 _flag_k = FK_TEST; 4649 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4650 eax = 0; /* 0x2B07C748: xor eax, eax */ 4651 _cf = 0; 4652 _flag_k = FK_TEST; 4653 edi = ebp + (-0x7E4); /* 0x2B07C74A: lea edi, [ebp - 0x7e4] */ 4654 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B07C750: repne scasb al, byte ptr es:[edi] */ 4655 ecx = ~ecx; /* 0x2B07C752: not ecx */ 4656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4657 ecx = ecx - 1; /* 0x2B07C754: dec ecx */ 4658 _flag_k = FK_DEC; 4659 esi = ecx; /* 0x2B07C755: mov esi, ecx */ 4660 ecx = MEM32(0x2B0B515C); /* 0x2B07C757: mov ecx, dword ptr [0x2b0b515c] */ 4661 edx = MEM32(ecx); /* 0x2B07C75D: mov edx, dword ptr [ecx] */ 4662 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x24))); 4663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4664 edx = edx - MEM32(ebp + (-0x24)); /* 0x2B07C75F: sub edx, dword ptr [ebp - 0x24] */ 4665 _flag_k = FK_CMP; 4666 /* cmp edx, esi */ /* 0x2B07C762: cmp edx, esi */ 4667 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4669 _flag_k = FK_CMP; 4670 if (CMP_A(_flag_a, _flag_b)) goto L_2B07C76C; /* 0x2B07C764: ja 0x2b07c76c */ 4671 L_2B07C766: 4672 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B07C766: call dword ptr [0x2b0b51a8] */ 4673 RECOMP_FLAGS_IN(); 4674 L_2B07C76C: 4675 /* test esi, esi */ /* 0x2B07C76C: test esi, esi */ 4676 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4677 _cf = 0; 4678 _flag_k = FK_TEST; 4679 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C76E: jbe 0x2b07c7af */ 4680 L_2B07C770: 4681 eax = MEM32(ebp + (-0x24)); /* 0x2B07C770: mov eax, dword ptr [ebp - 0x24] */ 4682 ebx = eax + esi; /* 0x2B07C773: lea ebx, [eax + esi] */ 4683 PUSH32(esp, 0); /* 0x2B07C776: push 0 */ 4684 PUSH32(esp, ebx); /* 0x2B07C778: push ebx */ 4685 ecx = ebp + (-0x2C); /* 0x2B07C779: lea ecx, [ebp - 0x2c] */ 4686 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07C77C: call dword ptr [0x2b0b5154] */ 4687 RECOMP_FLAGS_IN(); 4688 /* test LO8(eax), LO8(eax) */ /* 0x2B07C782: test al, al */ 4689 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4690 _cf = 0; 4691 _flag_k = FK_NARROW(FK_TEST, 24); 4692 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7AF; /* 0x2B07C784: je 0x2b07c7af */ 4693 L_2B07C786: 4694 edx = MEM32(ebp + (-0x24)); /* 0x2B07C786: mov edx, dword ptr [ebp - 0x24] */ 4695 eax = MEM32(ebp + (-0x28)); /* 0x2B07C789: mov eax, dword ptr [ebp - 0x28] */ 4696 ecx = esi; /* 0x2B07C78C: mov ecx, esi */ 4697 edi = eax + edx; /* 0x2B07C78E: lea edi, [eax + edx] */ 4698 edx = ecx; /* 0x2B07C791: mov edx, ecx */ 4699 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07C793: shr ecx, 2 */ 4700 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4701 ecx = ecx >> 2u; /* 0x2B07C793: shr ecx, 2 */ 4702 esi = ebp + (-0x7E4); /* 0x2B07C796: lea esi, [ebp - 0x7e4] */ 4703 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07C79C: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 4704 ecx = edx; /* 0x2B07C79E: mov ecx, edx */ 4705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4706 ecx = ecx & 3; /* 0x2B07C7A0: and ecx, 3 */ 4707 _cf = 0; 4708 _flag_k = FK_TEST; 4709 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07C7A3: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 4710 PUSH32(esp, ebx); /* 0x2B07C7A5: push ebx */ 4711 ecx = ebp + (-0x2C); /* 0x2B07C7A6: lea ecx, [ebp - 0x2c] */ 4712 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07C7A9: call dword ptr [0x2b0b5150] */ 4713 RECOMP_FLAGS_IN(); 4714 L_2B07C7AF: 4715 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4716 ebx = 0; /* 0x2B07C7AF: xor ebx, ebx */ 4717 _cf = 0; 4718 _flag_k = FK_TEST; 4719 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C7B1: mov dword ptr [ebp - 0x18], ebx */ 4720 RECOMP_BACKEDGE(); 4721 goto L_2B07C55D; /* 0x2B07C7B4: jmp 0x2b07c55d */ 4722 L_2B07C7B9: 4723 esi = 0x2B0EC864u; /* 0x2B07C7B9: mov esi, 0x2b0ec864 */ 4724 eax = ebp + (-0x974); /* 0x2B07C7BE: lea eax, [ebp - 0x974] */ 4725 L_2B07C7C4: 4726 SET_LO8(edx, MEM8(eax)); /* 0x2B07C7C4: mov dl, byte ptr [eax] */ 4727 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7C6: mov cl, dl */ 4728 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C7C8: cmp dl, byte ptr [esi] */ 4729 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 4730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4731 _flag_k = FK_NARROW(FK_CMP, 24); 4732 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7CA: jne 0x2b07c7e8 */ 4733 L_2B07C7CC: 4734 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7CC: test cl, cl */ 4735 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4736 _cf = 0; 4737 _flag_k = FK_NARROW(FK_TEST, 24); 4738 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C7E4; /* 0x2B07C7CE: je 0x2b07c7e4 */ 4739 L_2B07C7D0: 4740 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C7D0: mov dl, byte ptr [eax + 1] */ 4741 SET_LO8(ecx, LO8(edx)); /* 0x2B07C7D3: mov cl, dl */ 4742 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C7D5: cmp dl, byte ptr [esi + 1] */ 4743 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 4744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4745 _flag_k = FK_NARROW(FK_CMP, 24); 4746 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C7E8; /* 0x2B07C7D8: jne 0x2b07c7e8 */ 4747 L_2B07C7DA: 4748 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4749 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4750 eax = eax + 2; /* 0x2B07C7DA: add eax, 2 */ 4751 _flag_k = FK_ADD; 4752 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 4753 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4754 esi = esi + 2; /* 0x2B07C7DD: add esi, 2 */ 4755 _flag_k = FK_ADD; 4756 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C7E0: test cl, cl */ 4757 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4758 _cf = 0; 4759 _flag_k = FK_NARROW(FK_TEST, 24); 4760 RECOMP_BACKEDGE(); 4761 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C7C4; /* 0x2B07C7E2: jne 0x2b07c7c4 */ 4762 L_2B07C7E4: 4763 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4764 eax = 0; /* 0x2B07C7E4: xor eax, eax */ 4765 _cf = 0; 4766 _flag_k = FK_TEST; 4767 goto L_2B07C7ED; /* 0x2B07C7E6: jmp 0x2b07c7ed */ 4768 L_2B07C7E8: 4769 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C7E8: sbb eax, eax */ 4770 eax = _sc ? 0xFFFFFFFFu : 0; 4771 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4772 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4773 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C7EA: sbb eax, -1 */ 4774 eax = _sa - _sb - _sc; 4775 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4776 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4777 L_2B07C7ED: 4778 /* test eax, eax */ /* 0x2B07C7ED: test eax, eax */ 4779 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4780 _cf = 0; 4781 _flag_k = FK_TEST; 4782 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C971; /* 0x2B07C7EF: jne 0x2b07c971 */ 4783 L_2B07C7F5: 4784 eax = ebp + (-0x7E4); /* 0x2B07C7F5: lea eax, [ebp - 0x7e4] */ 4785 PUSH32(esp, eax); /* 0x2B07C7FB: push eax */ 4786 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07C7FC: call dword ptr [0x2b0b51fc] */ 4787 RECOMP_FLAGS_IN(); 4788 edi = MEM32(ebp + (-0x34)); /* 0x2B07C802: mov edi, dword ptr [ebp - 0x34] */ 4789 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B07C805: mov cl, byte ptr [ebp + 0xb] */ 4790 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4791 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4792 esp = esp + 4; /* 0x2B07C808: add esp, 4 */ 4793 _flag_k = FK_ADD; 4794 MEM32(0x2B0EF080) = eax; /* 0x2B07C80B: mov dword ptr [0x2b0ef080], eax */ 4795 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4796 eax = 0; /* 0x2B07C810: xor eax, eax */ 4797 _cf = 0; 4798 _flag_k = FK_TEST; 4799 MEM8(ebp + (-0xC0)) = (uint8_t)(LO8(ecx)); /* 0x2B07C812: mov byte ptr [ebp - 0xc0], cl */ 4800 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 4801 edi = edi + 1; /* 0x2B07C818: inc edi */ 4802 _flag_k = FK_INC; 4803 PUSH32(esp, eax); /* 0x2B07C819: push eax */ 4804 ecx = ebp + (-0xC0); /* 0x2B07C81A: lea ecx, [ebp - 0xc0] */ 4805 MEM32(ebp + (-0x34)) = edi; /* 0x2B07C820: mov dword ptr [ebp - 0x34], edi */ 4806 MEM32(ebp + (-0xD8)) = eax; /* 0x2B07C823: mov dword ptr [ebp - 0xd8], eax */ 4807 MEM32(ebp + (-0xD4)) = eax; /* 0x2B07C829: mov dword ptr [ebp - 0xd4], eax */ 4808 MEM32(ebp + (-0xD0)) = eax; /* 0x2B07C82F: mov dword ptr [ebp - 0xd0], eax */ 4809 MEM32(ebp + (-0xCC)) = eax; /* 0x2B07C835: mov dword ptr [ebp - 0xcc], eax */ 4810 MEM32(ebp + (-0xC8)) = eax; /* 0x2B07C83B: mov dword ptr [ebp - 0xc8], eax */ 4811 MEM32(ebp + (-0xC4)) = eax; /* 0x2B07C841: mov dword ptr [ebp - 0xc4], eax */ 4812 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C847: call dword ptr [0x2b0b514c] */ 4813 RECOMP_FLAGS_IN(); 4814 edx = ebp + (-0x35); /* 0x2B07C84D: lea edx, [ebp - 0x35] */ 4815 PUSH32(esp, edx); /* 0x2B07C850: push edx */ 4816 eax = ebp + (-0x2D); /* 0x2B07C851: lea eax, [ebp - 0x2d] */ 4817 PUSH32(esp, eax); /* 0x2B07C854: push eax */ 4818 ecx = ebp + (-0xB0); /* 0x2B07C855: lea ecx, [ebp - 0xb0] */ 4819 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07C85B: mov byte ptr [ebp - 4], 3 */ 4820 RECOMP_ICALL(0x2B07EBB0u); /* 0x2B07C85F: call 0x2b07ebb0 */ /* not lifted */ 4821 RECOMP_FLAGS_IN(); 4822 ecx = ebp + (-0xEC); /* 0x2B07C864: lea ecx, [ebp - 0xec] */ 4823 PUSH32(esp, ecx); /* 0x2B07C86A: push ecx */ 4824 ecx = ebp + (-0x14C); /* 0x2B07C86B: lea ecx, [ebp - 0x14c] */ 4825 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C871: mov byte ptr [ebp - 4], 4 */ 4826 MEM32(ebp + (-0x150)) = edi; /* 0x2B07C875: mov dword ptr [ebp - 0x150], edi */ 4827 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C87B: call 0x2b07eea0 */ /* not lifted */ 4828 RECOMP_FLAGS_IN(); 4829 edx = MEM32(ebp + (-0x150)); /* 0x2B07C880: mov edx, dword ptr [ebp - 0x150] */ 4830 eax = ebp + (-0x14C); /* 0x2B07C886: lea eax, [ebp - 0x14c] */ 4831 PUSH32(esp, eax); /* 0x2B07C88C: push eax */ 4832 ecx = ebp + (-0x1A0); /* 0x2B07C88D: lea ecx, [ebp - 0x1a0] */ 4833 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C893: mov byte ptr [ebp - 4], 5 */ 4834 MEM32(ebp + (-0x1A4)) = edx; /* 0x2B07C897: mov dword ptr [ebp - 0x1a4], edx */ 4835 RECOMP_ICALL(0x2B07EEA0u); /* 0x2B07C89D: call 0x2b07eea0 */ /* not lifted */ 4836 RECOMP_FLAGS_IN(); 4837 esi = MEM32(ebp + (-0x40)); /* 0x2B07C8A2: mov esi, dword ptr [ebp - 0x40] */ 4838 ecx = ebp + (-0x1A4); /* 0x2B07C8A5: lea ecx, [ebp - 0x1a4] */ 4839 PUSH32(esp, ecx); /* 0x2B07C8AB: push ecx */ 4840 edx = ebp + (-0xF4); /* 0x2B07C8AC: lea edx, [ebp - 0xf4] */ 4841 PUSH32(esp, edx); /* 0x2B07C8B2: push edx */ 4842 ecx = esi + 0x60; /* 0x2B07C8B3: lea ecx, [esi + 0x60] */ 4843 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B07C8B6: mov byte ptr [ebp - 4], 6 */ 4844 RECOMP_ICALL(0x2B07F340u); /* 0x2B07C8BA: call 0x2b07f340 */ /* not lifted */ 4845 RECOMP_FLAGS_IN(); 4846 eax = ebp + (-0x1A0); /* 0x2B07C8BF: lea eax, [ebp - 0x1a0] */ 4847 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C8C5: mov dword ptr [ebp - 0x1c], eax */ 4848 ecx = ebp + (-0x164); /* 0x2B07C8C8: lea ecx, [ebp - 0x164] */ 4849 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07C8CE: mov byte ptr [ebp - 4], 7 */ 4850 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8D2: call 0x2b07ec20 */ /* not lifted */ 4851 RECOMP_FLAGS_IN(); 4852 PUSH32(esp, 1); /* 0x2B07C8D7: push 1 */ 4853 ecx = ebp + (-0x174); /* 0x2B07C8D9: lea ecx, [ebp - 0x174] */ 4854 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07C8DF: mov byte ptr [ebp - 4], 5 */ 4855 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C8E3: call dword ptr [0x2b0b514c] */ 4856 RECOMP_FLAGS_IN(); 4857 ecx = ebp + (-0x14C); /* 0x2B07C8E9: lea ecx, [ebp - 0x14c] */ 4858 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B07C8EF: mov dword ptr [ebp - 0x1c], ecx */ 4859 ecx = ebp + (-0x110); /* 0x2B07C8F2: lea ecx, [ebp - 0x110] */ 4860 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B07C8F8: mov byte ptr [ebp - 4], 8 */ 4861 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C8FC: call 0x2b07ec20 */ /* not lifted */ 4862 RECOMP_FLAGS_IN(); 4863 PUSH32(esp, 1); /* 0x2B07C901: push 1 */ 4864 ecx = ebp + (-0x120); /* 0x2B07C903: lea ecx, [ebp - 0x120] */ 4865 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07C909: mov byte ptr [ebp - 4], 4 */ 4866 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C90D: call dword ptr [0x2b0b514c] */ 4867 RECOMP_FLAGS_IN(); 4868 ecx = ebp + (-0xB0); /* 0x2B07C913: lea ecx, [ebp - 0xb0] */ 4869 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B07C919: mov byte ptr [ebp - 4], 9 */ 4870 RECOMP_ICALL(0x2B07EC20u); /* 0x2B07C91D: call 0x2b07ec20 */ /* not lifted */ 4871 RECOMP_FLAGS_IN(); 4872 PUSH32(esp, 1); /* 0x2B07C922: push 1 */ 4873 ecx = ebp + (-0xC0); /* 0x2B07C924: lea ecx, [ebp - 0xc0] */ 4874 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07C92A: mov byte ptr [ebp - 4], 2 */ 4875 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07C92E: call dword ptr [0x2b0b514c] */ 4876 RECOMP_FLAGS_IN(); 4877 eax = MEM32(esi + 0x64); /* 0x2B07C934: mov eax, dword ptr [esi + 0x64] */ 4878 ecx = ebp + (-0x1C); /* 0x2B07C937: lea ecx, [ebp - 0x1c] */ 4879 MEM32(ebp + (-0x1C)) = eax; /* 0x2B07C93A: mov dword ptr [ebp - 0x1c], eax */ 4880 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07C93D: call 0x2b0809c0 */ /* not lifted */ 4881 RECOMP_FLAGS_IN(); 4882 edx = MEM32(ebp + (-0x1C)); /* 0x2B07C942: mov edx, dword ptr [ebp - 0x1c] */ 4883 ebx = edx + 0x10; /* 0x2B07C945: lea ebx, [edx + 0x10] */ 4884 MEM32(ebx + 0x10) = edi; /* 0x2B07C948: mov dword ptr [ebx + 0x10], edi */ 4885 eax = MEM32(0x2B0B515C); /* 0x2B07C94B: mov eax, dword ptr [0x2b0b515c] */ 4886 ecx = MEM32(eax); /* 0x2B07C950: mov ecx, dword ptr [eax] */ 4887 PUSH32(esp, ecx); /* 0x2B07C952: push ecx */ 4888 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4889 esi = 0; /* 0x2B07C953: xor esi, esi */ 4890 _cf = 0; 4891 _flag_k = FK_TEST; 4892 PUSH32(esp, esi); /* 0x2B07C955: push esi */ 4893 edx = ebp + (-0x2C); /* 0x2B07C956: lea edx, [ebp - 0x2c] */ 4894 PUSH32(esp, edx); /* 0x2B07C959: push edx */ 4895 ecx = ebx + 0x2C; /* 0x2B07C95A: lea ecx, [ebx + 0x2c] */ 4896 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07C95D: mov dword ptr [ebp - 0x18], ebx */ 4897 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B07C960: call dword ptr [0x2b0b5158] */ 4898 RECOMP_FLAGS_IN(); 4899 MEM32(ebp + (-0x14)) = esi; /* 0x2B07C966: mov dword ptr [ebp - 0x14], esi */ 4900 MEM32(ebp + (-0x10)) = esi; /* 0x2B07C969: mov dword ptr [ebp - 0x10], esi */ 4901 RECOMP_BACKEDGE(); 4902 goto L_2B07C55D; /* 0x2B07C96C: jmp 0x2b07c55d */ 4903 L_2B07C971: 4904 /* test ebx, ebx */ /* 0x2B07C971: test ebx, ebx */ 4905 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 4906 _cf = 0; 4907 _flag_k = FK_TEST; 4908 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CB8D; /* 0x2B07C973: je 0x2b07cb8d */ 4909 L_2B07C979: 4910 esi = 0x2B0EC85Cu; /* 0x2B07C979: mov esi, 0x2b0ec85c */ 4911 eax = ebp + (-0x974); /* 0x2B07C97E: lea eax, [ebp - 0x974] */ 4912 L_2B07C984: 4913 SET_LO8(edx, MEM8(eax)); /* 0x2B07C984: mov dl, byte ptr [eax] */ 4914 SET_LO8(ecx, LO8(edx)); /* 0x2B07C986: mov cl, dl */ 4915 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C988: cmp dl, byte ptr [esi] */ 4916 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 4917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4918 _flag_k = FK_NARROW(FK_CMP, 24); 4919 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C98A: jne 0x2b07c9a8 */ 4920 L_2B07C98C: 4921 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C98C: test cl, cl */ 4922 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4923 _cf = 0; 4924 _flag_k = FK_NARROW(FK_TEST, 24); 4925 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07C9A4; /* 0x2B07C98E: je 0x2b07c9a4 */ 4926 L_2B07C990: 4927 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C990: mov dl, byte ptr [eax + 1] */ 4928 SET_LO8(ecx, LO8(edx)); /* 0x2B07C993: mov cl, dl */ 4929 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C995: cmp dl, byte ptr [esi + 1] */ 4930 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 4931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4932 _flag_k = FK_NARROW(FK_CMP, 24); 4933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07C9A8; /* 0x2B07C998: jne 0x2b07c9a8 */ 4934 L_2B07C99A: 4935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 4936 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4937 eax = eax + 2; /* 0x2B07C99A: add eax, 2 */ 4938 _flag_k = FK_ADD; 4939 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 4940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4941 esi = esi + 2; /* 0x2B07C99D: add esi, 2 */ 4942 _flag_k = FK_ADD; 4943 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9A0: test cl, cl */ 4944 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 4945 _cf = 0; 4946 _flag_k = FK_NARROW(FK_TEST, 24); 4947 RECOMP_BACKEDGE(); 4948 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C984; /* 0x2B07C9A2: jne 0x2b07c984 */ 4949 L_2B07C9A4: 4950 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4951 eax = 0; /* 0x2B07C9A4: xor eax, eax */ 4952 _cf = 0; 4953 _flag_k = FK_TEST; 4954 goto L_2B07C9AD; /* 0x2B07C9A6: jmp 0x2b07c9ad */ 4955 L_2B07C9A8: 4956 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07C9A8: sbb eax, eax */ 4957 eax = _sc ? 0xFFFFFFFFu : 0; 4958 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4959 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4960 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07C9AA: sbb eax, -1 */ 4961 eax = _sa - _sb - _sc; 4962 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 4963 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 4964 L_2B07C9AD: 4965 /* test eax, eax */ /* 0x2B07C9AD: test eax, eax */ 4966 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4967 _cf = 0; 4968 _flag_k = FK_TEST; 4969 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9D9; /* 0x2B07C9AF: jne 0x2b07c9d9 */ 4970 L_2B07C9B1: 4971 edi = MEM32(0x2B0B51FC); /* 0x2B07C9B1: mov edi, dword ptr [0x2b0b51fc] */ 4972 eax = ebp + (-0x654); /* 0x2B07C9B7: lea eax, [ebp - 0x654] */ 4973 PUSH32(esp, eax); /* 0x2B07C9BD: push eax */ 4974 RECOMP_ICALL(edi); /* 0x2B07C9BE: call edi */ 4975 RECOMP_FLAGS_IN(); 4976 ecx = ebp + (-0x7E4); /* 0x2B07C9C0: lea ecx, [ebp - 0x7e4] */ 4977 PUSH32(esp, ecx); /* 0x2B07C9C6: push ecx */ 4978 esi = eax; /* 0x2B07C9C7: mov esi, eax */ 4979 RECOMP_ICALL(edi); /* 0x2B07C9C9: call edi */ 4980 RECOMP_FLAGS_IN(); 4981 MEM32(ebx + 0x14) = eax; /* 0x2B07C9CB: mov dword ptr [ebx + 0x14], eax */ 4982 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 4983 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4984 esp = esp + 8; /* 0x2B07C9CE: add esp, 8 */ 4985 _flag_k = FK_ADD; 4986 MEM32(ebx + 0x18) = esi; /* 0x2B07C9D1: mov dword ptr [ebx + 0x18], esi */ 4987 RECOMP_BACKEDGE(); 4988 goto L_2B07C55D; /* 0x2B07C9D4: jmp 0x2b07c55d */ 4989 L_2B07C9D9: 4990 esi = 0x2B0EC854u; /* 0x2B07C9D9: mov esi, 0x2b0ec854 */ 4991 eax = ebp + (-0x974); /* 0x2B07C9DE: lea eax, [ebp - 0x974] */ 4992 L_2B07C9E4: 4993 SET_LO8(edx, MEM8(eax)); /* 0x2B07C9E4: mov dl, byte ptr [eax] */ 4994 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9E6: mov cl, dl */ 4995 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07C9E8: cmp dl, byte ptr [esi] */ 4996 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 4997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4998 _flag_k = FK_NARROW(FK_CMP, 24); 4999 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9EA: jne 0x2b07ca08 */ 5000 L_2B07C9EC: 5001 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07C9EC: test cl, cl */ 5002 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5003 _cf = 0; 5004 _flag_k = FK_NARROW(FK_TEST, 24); 5005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA04; /* 0x2B07C9EE: je 0x2b07ca04 */ 5006 L_2B07C9F0: 5007 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07C9F0: mov dl, byte ptr [eax + 1] */ 5008 SET_LO8(ecx, LO8(edx)); /* 0x2B07C9F3: mov cl, dl */ 5009 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07C9F5: cmp dl, byte ptr [esi + 1] */ 5010 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 5011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5012 _flag_k = FK_NARROW(FK_CMP, 24); 5013 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA08; /* 0x2B07C9F8: jne 0x2b07ca08 */ 5014 L_2B07C9FA: 5015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 5016 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5017 eax = eax + 2; /* 0x2B07C9FA: add eax, 2 */ 5018 _flag_k = FK_ADD; 5019 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 5020 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5021 esi = esi + 2; /* 0x2B07C9FD: add esi, 2 */ 5022 _flag_k = FK_ADD; 5023 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA00: test cl, cl */ 5024 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5025 _cf = 0; 5026 _flag_k = FK_NARROW(FK_TEST, 24); 5027 RECOMP_BACKEDGE(); 5028 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C9E4; /* 0x2B07CA02: jne 0x2b07c9e4 */ 5029 L_2B07CA04: 5030 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5031 eax = 0; /* 0x2B07CA04: xor eax, eax */ 5032 _cf = 0; 5033 _flag_k = FK_TEST; 5034 goto L_2B07CA0D; /* 0x2B07CA06: jmp 0x2b07ca0d */ 5035 L_2B07CA08: 5036 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA08: sbb eax, eax */ 5037 eax = _sc ? 0xFFFFFFFFu : 0; 5038 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5039 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5040 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA0A: sbb eax, -1 */ 5041 eax = _sa - _sb - _sc; 5042 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5043 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5044 L_2B07CA0D: 5045 /* test eax, eax */ /* 0x2B07CA0D: test eax, eax */ 5046 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5047 _cf = 0; 5048 _flag_k = FK_TEST; 5049 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA36; /* 0x2B07CA0F: jne 0x2b07ca36 */ 5050 L_2B07CA11: 5051 esi = MEM32(0x2B0B51FC); /* 0x2B07CA11: mov esi, dword ptr [0x2b0b51fc] */ 5052 eax = ebp + (-0x7E4); /* 0x2B07CA17: lea eax, [ebp - 0x7e4] */ 5053 PUSH32(esp, eax); /* 0x2B07CA1D: push eax */ 5054 RECOMP_ICALL(esi); /* 0x2B07CA1E: call esi */ 5055 RECOMP_FLAGS_IN(); 5056 ecx = ebp + (-0x654); /* 0x2B07CA20: lea ecx, [ebp - 0x654] */ 5057 PUSH32(esp, ecx); /* 0x2B07CA26: push ecx */ 5058 MEM32(ebx) = eax; /* 0x2B07CA27: mov dword ptr [ebx], eax */ 5059 RECOMP_ICALL(esi); /* 0x2B07CA29: call esi */ 5060 RECOMP_FLAGS_IN(); 5061 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5063 esp = esp + 8; /* 0x2B07CA2B: add esp, 8 */ 5064 _flag_k = FK_ADD; 5065 MEM32(ebx + 0x4) = eax; /* 0x2B07CA2E: mov dword ptr [ebx + 4], eax */ 5066 RECOMP_BACKEDGE(); 5067 goto L_2B07C55D; /* 0x2B07CA31: jmp 0x2b07c55d */ 5068 L_2B07CA36: 5069 esi = 0x2B0EC84Cu; /* 0x2B07CA36: mov esi, 0x2b0ec84c */ 5070 eax = ebp + (-0x974); /* 0x2B07CA3B: lea eax, [ebp - 0x974] */ 5071 L_2B07CA41: 5072 SET_LO8(edx, MEM8(eax)); /* 0x2B07CA41: mov dl, byte ptr [eax] */ 5073 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA43: mov cl, dl */ 5074 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CA45: cmp dl, byte ptr [esi] */ 5075 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 5076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5077 _flag_k = FK_NARROW(FK_CMP, 24); 5078 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA47: jne 0x2b07ca65 */ 5079 L_2B07CA49: 5080 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA49: test cl, cl */ 5081 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5082 _cf = 0; 5083 _flag_k = FK_NARROW(FK_TEST, 24); 5084 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CA61; /* 0x2B07CA4B: je 0x2b07ca61 */ 5085 L_2B07CA4D: 5086 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CA4D: mov dl, byte ptr [eax + 1] */ 5087 SET_LO8(ecx, LO8(edx)); /* 0x2B07CA50: mov cl, dl */ 5088 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CA52: cmp dl, byte ptr [esi + 1] */ 5089 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 5090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5091 _flag_k = FK_NARROW(FK_CMP, 24); 5092 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CA65; /* 0x2B07CA55: jne 0x2b07ca65 */ 5093 L_2B07CA57: 5094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 5095 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5096 eax = eax + 2; /* 0x2B07CA57: add eax, 2 */ 5097 _flag_k = FK_ADD; 5098 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 5099 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5100 esi = esi + 2; /* 0x2B07CA5A: add esi, 2 */ 5101 _flag_k = FK_ADD; 5102 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CA5D: test cl, cl */ 5103 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5104 _cf = 0; 5105 _flag_k = FK_NARROW(FK_TEST, 24); 5106 RECOMP_BACKEDGE(); 5107 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CA41; /* 0x2B07CA5F: jne 0x2b07ca41 */ 5108 L_2B07CA61: 5109 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5110 eax = 0; /* 0x2B07CA61: xor eax, eax */ 5111 _cf = 0; 5112 _flag_k = FK_TEST; 5113 goto L_2B07CA6A; /* 0x2B07CA63: jmp 0x2b07ca6a */ 5114 L_2B07CA65: 5115 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CA65: sbb eax, eax */ 5116 eax = _sc ? 0xFFFFFFFFu : 0; 5117 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5118 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5119 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CA67: sbb eax, -1 */ 5120 eax = _sa - _sb - _sc; 5121 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5122 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5123 L_2B07CA6A: 5124 /* test eax, eax */ /* 0x2B07CA6A: test eax, eax */ 5125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5126 _cf = 0; 5127 _flag_k = FK_TEST; 5128 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CABE; /* 0x2B07CA6C: jne 0x2b07cabe */ 5129 L_2B07CA6E: 5130 ebx = MEM32(0x2B0B51FC); /* 0x2B07CA6E: mov ebx, dword ptr [0x2b0b51fc] */ 5131 eax = ebp + (-0x334); /* 0x2B07CA74: lea eax, [ebp - 0x334] */ 5132 PUSH32(esp, eax); /* 0x2B07CA7A: push eax */ 5133 RECOMP_ICALL(ebx); /* 0x2B07CA7B: call ebx */ 5134 RECOMP_FLAGS_IN(); 5135 ecx = ebp + (-0x4C4); /* 0x2B07CA7D: lea ecx, [ebp - 0x4c4] */ 5136 PUSH32(esp, ecx); /* 0x2B07CA83: push ecx */ 5137 esi = eax; /* 0x2B07CA84: mov esi, eax */ 5138 RECOMP_ICALL(ebx); /* 0x2B07CA86: call ebx */ 5139 RECOMP_FLAGS_IN(); 5140 edx = ebp + (-0x654); /* 0x2B07CA88: lea edx, [ebp - 0x654] */ 5141 PUSH32(esp, edx); /* 0x2B07CA8E: push edx */ 5142 edi = eax; /* 0x2B07CA8F: mov edi, eax */ 5143 RECOMP_ICALL(ebx); /* 0x2B07CA91: call ebx */ 5144 RECOMP_FLAGS_IN(); 5145 ebx = eax; /* 0x2B07CA93: mov ebx, eax */ 5146 eax = ebp + (-0x7E4); /* 0x2B07CA95: lea eax, [ebp - 0x7e4] */ 5147 PUSH32(esp, eax); /* 0x2B07CA9B: push eax */ 5148 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CA9C: call dword ptr [0x2b0b51fc] */ 5149 RECOMP_FLAGS_IN(); 5150 ecx = MEM32(ebp + (-0x18)); /* 0x2B07CAA2: mov ecx, dword ptr [ebp - 0x18] */ 5151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5153 esp = esp + 0x10u; /* 0x2B07CAA5: add esp, 0x10 */ 5154 _flag_k = FK_ADD; 5155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x1Cu); 5156 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5157 ecx = ecx + 0x1Cu; /* 0x2B07CAA8: add ecx, 0x1c */ 5158 _flag_k = FK_ADD; 5159 MEM32(ecx) = eax; /* 0x2B07CAAB: mov dword ptr [ecx], eax */ 5160 MEM32(ecx + 0x4) = ebx; /* 0x2B07CAAD: mov dword ptr [ecx + 4], ebx */ 5161 ebx = MEM32(ebp + (-0x18)); /* 0x2B07CAB0: mov ebx, dword ptr [ebp - 0x18] */ 5162 MEM32(ecx + 0x8) = edi; /* 0x2B07CAB3: mov dword ptr [ecx + 8], edi */ 5163 MEM32(ecx + 0xC) = esi; /* 0x2B07CAB6: mov dword ptr [ecx + 0xc], esi */ 5164 RECOMP_BACKEDGE(); 5165 goto L_2B07C55D; /* 0x2B07CAB9: jmp 0x2b07c55d */ 5166 L_2B07CABE: 5167 esi = 0x2B0EC844u; /* 0x2B07CABE: mov esi, 0x2b0ec844 */ 5168 eax = ebp + (-0x974); /* 0x2B07CAC3: lea eax, [ebp - 0x974] */ 5169 L_2B07CAC9: 5170 SET_LO8(edx, MEM8(eax)); /* 0x2B07CAC9: mov dl, byte ptr [eax] */ 5171 SET_LO8(ecx, LO8(edx)); /* 0x2B07CACB: mov cl, dl */ 5172 /* cmp LO8(edx), MEM8(esi) */ /* 0x2B07CACD: cmp dl, byte ptr [esi] */ 5173 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi)) << 24; 5174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5175 _flag_k = FK_NARROW(FK_CMP, 24); 5176 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CACF: jne 0x2b07caed */ 5177 L_2B07CAD1: 5178 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAD1: test cl, cl */ 5179 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5180 _cf = 0; 5181 _flag_k = FK_NARROW(FK_TEST, 24); 5182 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CAE9; /* 0x2B07CAD3: je 0x2b07cae9 */ 5183 L_2B07CAD5: 5184 SET_LO8(edx, MEM8(eax + 0x1)); /* 0x2B07CAD5: mov dl, byte ptr [eax + 1] */ 5185 SET_LO8(ecx, LO8(edx)); /* 0x2B07CAD8: mov cl, dl */ 5186 /* cmp LO8(edx), MEM8(esi + 0x1) */ /* 0x2B07CADA: cmp dl, byte ptr [esi + 1] */ 5187 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(MEM8(esi + 0x1)) << 24; 5188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5189 _flag_k = FK_NARROW(FK_CMP, 24); 5190 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CAED; /* 0x2B07CADD: jne 0x2b07caed */ 5191 L_2B07CADF: 5192 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 5193 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5194 eax = eax + 2; /* 0x2B07CADF: add eax, 2 */ 5195 _flag_k = FK_ADD; 5196 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(2); 5197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5198 esi = esi + 2; /* 0x2B07CAE2: add esi, 2 */ 5199 _flag_k = FK_ADD; 5200 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07CAE5: test cl, cl */ 5201 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5202 _cf = 0; 5203 _flag_k = FK_NARROW(FK_TEST, 24); 5204 RECOMP_BACKEDGE(); 5205 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07CAC9; /* 0x2B07CAE7: jne 0x2b07cac9 */ 5206 L_2B07CAE9: 5207 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5208 eax = 0; /* 0x2B07CAE9: xor eax, eax */ 5209 _cf = 0; 5210 _flag_k = FK_TEST; 5211 goto L_2B07CAF2; /* 0x2B07CAEB: jmp 0x2b07caf2 */ 5212 L_2B07CAED: 5213 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B07CAED: sbb eax, eax */ 5214 eax = _sc ? 0xFFFFFFFFu : 0; 5215 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5216 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5217 { uint32_t _sa = eax, _sb = 0xFFFFFFFFu, _sc = _cf; /* 0x2B07CAEF: sbb eax, -1 */ 5218 eax = _sa - _sb - _sc; 5219 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 5220 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 5221 L_2B07CAF2: 5222 /* test eax, eax */ /* 0x2B07CAF2: test eax, eax */ 5223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5224 _cf = 0; 5225 _flag_k = FK_TEST; 5226 RECOMP_BACKEDGE(); 5227 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CAF4: jne 0x2b07c55d */ 5228 L_2B07CAFA: 5229 eax = ebp + (-0x7E4); /* 0x2B07CAFA: lea eax, [ebp - 0x7e4] */ 5230 PUSH32(esp, eax); /* 0x2B07CB00: push eax */ 5231 RECOMP_ICALL(MEM32(0x2B0B51FC)); /* 0x2B07CB01: call dword ptr [0x2b0b51fc] */ 5232 RECOMP_FLAGS_IN(); 5233 ecx = MEM32(ebp + (-0x14)); /* 0x2B07CB07: mov ecx, dword ptr [ebp - 0x14] */ 5234 esi = MEM32(ebp + (-0x10)); /* 0x2B07CB0A: mov esi, dword ptr [ebp - 0x10] */ 5235 if (16u) _cf = (((ecx) >> 16) & 1u); /* 0x2B07CB0D: shl ecx, 0x10 */ 5236 if (16u) { _flag_a = recomp_flags_pack((ecx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5237 ecx = ecx << 16u; /* 0x2B07CB0D: shl ecx, 0x10 */ 5238 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5239 edx = 0; /* 0x2B07CB10: xor edx, edx */ 5240 _cf = 0; 5241 _flag_k = FK_TEST; 5242 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5243 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5244 esp = esp + 4; /* 0x2B07CB12: add esp, 4 */ 5245 _flag_k = FK_ADD; 5246 _flag_a = (uint32_t)((ecx | esi)); _flag_b = (uint32_t)((ecx | esi)); 5247 ecx = ecx | esi; /* 0x2B07CB15: or ecx, esi */ 5248 _cf = 0; 5249 _flag_k = FK_TEST; 5250 MEM32(ebp + (-0x70)) = edx; /* 0x2B07CB17: mov dword ptr [ebp - 0x70], edx */ 5251 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07CB1A: mov dword ptr [ebp - 0x6c], eax */ 5252 MEM32(ebp + (-0x7C)) = ecx; /* 0x2B07CB1D: mov dword ptr [ebp - 0x7c], ecx */ 5253 MEM32(ebp + (-0x78)) = edx; /* 0x2B07CB20: mov dword ptr [ebp - 0x78], edx */ 5254 MEM32(ebp + (-0x74)) = eax; /* 0x2B07CB23: mov dword ptr [ebp - 0x74], eax */ 5255 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07CB26: mov dword ptr [ebp - 0x50], ecx */ 5256 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07CB29: mov dword ptr [ebp - 0x4c], edx */ 5257 MEM32(ebp + (-0x48)) = eax; /* 0x2B07CB2C: mov dword ptr [ebp - 0x48], eax */ 5258 ecx = ebp + (-0x50); /* 0x2B07CB2F: lea ecx, [ebp - 0x50] */ 5259 PUSH32(esp, ecx); /* 0x2B07CB32: push ecx */ 5260 edx = ebp + (-0xFC); /* 0x2B07CB33: lea edx, [ebp - 0xfc] */ 5261 PUSH32(esp, edx); /* 0x2B07CB39: push edx */ 5262 ecx = ebx + 0x3C; /* 0x2B07CB3A: lea ecx, [ebx + 0x3c] */ 5263 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B07CB3D: mov byte ptr [ebp - 4], 0xc */ 5264 RECOMP_ICALL(0x2B07F080u); /* 0x2B07CB41: call 0x2b07f080 */ /* not lifted */ 5265 RECOMP_FLAGS_IN(); 5266 ecx = ebp + (-0x4C); /* 0x2B07CB46: lea ecx, [ebp - 0x4c] */ 5267 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B07CB49: mov byte ptr [ebp - 4], 0xb */ 5268 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB4D: call 0x2b07d490 */ /* not lifted */ 5269 RECOMP_FLAGS_IN(); 5270 ecx = ebp + (-0x78); /* 0x2B07CB52: lea ecx, [ebp - 0x78] */ 5271 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B07CB55: mov byte ptr [ebp - 4], 0xa */ 5272 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB59: call 0x2b07d490 */ /* not lifted */ 5273 RECOMP_FLAGS_IN(); 5274 ecx = ebp + (-0x70); /* 0x2B07CB5E: lea ecx, [ebp - 0x70] */ 5275 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07CB61: mov byte ptr [ebp - 4], 2 */ 5276 RECOMP_ICALL(0x2B07D490u); /* 0x2B07CB65: call 0x2b07d490 */ /* not lifted */ 5277 RECOMP_FLAGS_IN(); 5278 eax = MEM32(ebx + 0x4); /* 0x2B07CB6A: mov eax, dword ptr [ebx + 4] */ 5279 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 5280 esi = esi + 1; /* 0x2B07CB6D: inc esi */ 5281 _flag_k = FK_INC; 5282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5283 eax = eax - 1; /* 0x2B07CB6E: dec eax */ 5284 _flag_k = FK_DEC; 5285 /* cmp esi, eax */ /* 0x2B07CB6F: cmp esi, eax */ 5286 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5288 _flag_k = FK_CMP; 5289 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CB71: mov dword ptr [ebp - 0x10], esi */ 5290 RECOMP_BACKEDGE(); 5291 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07C55D; /* 0x2B07CB74: jle 0x2b07c55d */ 5292 L_2B07CB7A: 5293 eax = MEM32(ebp + (-0x14)); /* 0x2B07CB7A: mov eax, dword ptr [ebp - 0x14] */ 5294 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5295 eax = eax + 1; /* 0x2B07CB7D: inc eax */ 5296 _flag_k = FK_INC; 5297 MEM32(ebp + (-0x10)) = 0; /* 0x2B07CB7E: mov dword ptr [ebp - 0x10], 0 */ 5298 MEM32(ebp + (-0x14)) = eax; /* 0x2B07CB85: mov dword ptr [ebp - 0x14], eax */ 5299 RECOMP_BACKEDGE(); 5300 goto L_2B07C55D; /* 0x2B07CB88: jmp 0x2b07c55d */ 5301 L_2B07CB8D: 5302 ecx = ebp + (-0x7E4); /* 0x2B07CB8D: lea ecx, [ebp - 0x7e4] */ 5303 PUSH32(esp, ecx); /* 0x2B07CB93: push ecx */ 5304 edx = ebp + (-0x974); /* 0x2B07CB94: lea edx, [ebp - 0x974] */ 5305 PUSH32(esp, edx); /* 0x2B07CB9A: push edx */ 5306 PUSH32(esp, 0x2B0EC820u); /* 0x2B07CB9B: push 0x2b0ec820 */ 5307 eax = ebp + (-0xA74); /* 0x2B07CBA0: lea eax, [ebp - 0xa74] */ 5308 PUSH32(esp, 0xFFu); /* 0x2B07CBA6: push 0xff */ 5309 PUSH32(esp, eax); /* 0x2B07CBAB: push eax */ 5310 RECOMP_ICALL(0x2B012180u); /* 0x2B07CBAC: call 0x2b012180 */ /* not lifted */ 5311 RECOMP_FLAGS_IN(); 5312 PUSH32(esp, 0); /* 0x2B07CBB1: push 0 */ 5313 PUSH32(esp, 0); /* 0x2B07CBB3: push 0 */ 5314 PUSH32(esp, 0); /* 0x2B07CBB5: push 0 */ 5315 ecx = ebp + (-0xA74); /* 0x2B07CBB7: lea ecx, [ebp - 0xa74] */ 5316 PUSH32(esp, ecx); /* 0x2B07CBBD: push ecx */ 5317 PUSH32(esp, 0x2B0EC814u); /* 0x2B07CBBE: push 0x2b0ec814 */ 5318 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07CBC3: call 0x2b089bf0 */ /* not lifted */ 5319 RECOMP_FLAGS_IN(); 5320 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 5321 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5322 esp = esp + 0x28u; /* 0x2B07CBC8: add esp, 0x28 */ 5323 _flag_k = FK_ADD; 5324 L_2B07CBCB: 5325 MEM8(ebp + 0xB) = (uint8_t)(0); /* 0x2B07CBCB: mov byte ptr [ebp + 0xb], 0 */ 5326 L_2B07CBCF: 5327 edx = MEM32(ebp + (-0x3C)); /* 0x2B07CBCF: mov edx, dword ptr [ebp - 0x3c] */ 5328 PUSH32(esp, edx); /* 0x2B07CBD2: push edx */ 5329 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CBD3: call 0x2b0ab1ba */ /* not lifted */ 5330 RECOMP_FLAGS_IN(); 5331 SET_LO8(ebx, MEM8(ebp + 0xB)); /* 0x2B07CBD8: mov bl, byte ptr [ebp + 0xb] */ 5332 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5334 esp = esp + 4; /* 0x2B07CBDB: add esp, 4 */ 5335 _flag_k = FK_ADD; 5336 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07CBDE: test bl, bl */ 5337 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5338 _cf = 0; 5339 _flag_k = FK_NARROW(FK_TEST, 24); 5340 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CBEE; /* 0x2B07CBE0: je 0x2b07cbee */ 5341 L_2B07CBE2: 5342 eax = MEM32(ebp + (-0x40)); /* 0x2B07CBE2: mov eax, dword ptr [ebp - 0x40] */ 5343 ecx = MEM32(ebp + (-0x34)); /* 0x2B07CBE5: mov ecx, dword ptr [ebp - 0x34] */ 5344 MEM32(eax + 0x84) = ecx; /* 0x2B07CBE8: mov dword ptr [eax + 0x84], ecx */ 5345 L_2B07CBEE: 5346 eax = MEM32(ebp + (-0x28)); /* 0x2B07CBEE: mov eax, dword ptr [ebp - 0x28] */ 5347 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5348 esi = 0; /* 0x2B07CBF1: xor esi, esi */ 5349 _cf = 0; 5350 _flag_k = FK_TEST; 5351 /* cmp eax, esi */ /* 0x2B07CBF3: cmp eax, esi */ 5352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5354 _flag_k = FK_CMP; 5355 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC13; /* 0x2B07CBF5: je 0x2b07cc13 */ 5356 L_2B07CBF7: 5357 ecx = eax + (-0x1); /* 0x2B07CBF7: lea ecx, [eax - 1] */ 5358 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CBFA: mov al, byte ptr [ecx] */ 5359 /* test LO8(eax), LO8(eax) */ /* 0x2B07CBFC: test al, al */ 5360 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5361 _cf = 0; 5362 _flag_k = FK_NARROW(FK_TEST, 24); 5363 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CBFE: je 0x2b07cc0a */ 5364 L_2B07CC00: 5365 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CC00: cmp al, 0xff */ 5366 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5368 _flag_k = FK_NARROW(FK_CMP, 24); 5369 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CC0A; /* 0x2B07CC02: je 0x2b07cc0a */ 5370 L_2B07CC04: 5371 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5372 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CC04: dec al */ 5373 _flag_k = FK_NARROW(FK_DEC, 24); 5374 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CC06: mov byte ptr [ecx], al */ 5375 goto L_2B07CC13; /* 0x2B07CC08: jmp 0x2b07cc13 */ 5376 L_2B07CC0A: 5377 PUSH32(esp, ecx); /* 0x2B07CC0A: push ecx */ 5378 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CC0B: call 0x2b0ab1ba */ /* not lifted */ 5379 RECOMP_FLAGS_IN(); 5380 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5381 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5382 esp = esp + 4; /* 0x2B07CC10: add esp, 4 */ 5383 _flag_k = FK_ADD; 5384 L_2B07CC13: 5385 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 5386 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 5387 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 5388 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 5389 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 5390 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 5391 RECOMP_FLAGS_IN(); 5392 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 5393 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 5394 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 5395 RECOMP_FLAGS_IN(); 5396 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 5397 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 5398 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 5399 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 5400 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 5401 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 5402 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 5403 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 5404 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 5405 RECOMP_REGS_OUT(); 5406 } 5407 5408 void sub_2B07CC13(void) { 5409 int _fpu_cmp = 0; 5410 uint32_t _cf = 0; 5411 int _df = 1; 5412 uint32_t _flag_k = FK_NONE; 5413 uint32_t _flag_a = 0, _flag_b = 0; 5414 uint32_t _itail_tgt = 0; 5415 RECOMP_REGS_LOCALS 5416 RECOMP_ENTER(0x2B07CC13u); 5417 5418 L_2B07CC13: 5419 ecx = ebp + (-0x9C); /* 0x2B07CC13: lea ecx, [ebp - 0x9c] */ 5420 MEM32(ebp + (-0x28)) = esi; /* 0x2B07CC19: mov dword ptr [ebp - 0x28], esi */ 5421 MEM32(ebp + (-0x24)) = esi; /* 0x2B07CC1C: mov dword ptr [ebp - 0x24], esi */ 5422 MEM32(ebp + (-0x20)) = esi; /* 0x2B07CC1F: mov dword ptr [ebp - 0x20], esi */ 5423 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07CC22: mov byte ptr [ebp - 4], 0 */ 5424 RECOMP_ICALL(MEM32(0x2B0B56B0)); /* 0x2B07CC26: call dword ptr [0x2b0b56b0] */ 5425 RECOMP_FLAGS_IN(); 5426 ecx = ebp + (-0x68); /* 0x2B07CC2C: lea ecx, [ebp - 0x68] */ 5427 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07CC2F: mov dword ptr [ebp - 4], 0xffffffff */ 5428 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07CC36: call dword ptr [0x2b0b56a4] */ 5429 RECOMP_FLAGS_IN(); 5430 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CC3C: mov ecx, dword ptr [ebp - 0xc] */ 5431 edi = POP32_VAL(esp); /* 0x2B07CC3F: pop edi */ 5432 esi = POP32_VAL(esp); /* 0x2B07CC40: pop esi */ 5433 SET_LO8(eax, LO8(ebx)); /* 0x2B07CC41: mov al, bl */ 5434 ebx = POP32_VAL(esp); /* 0x2B07CC43: pop ebx */ 5435 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CC44: mov dword ptr fs:[0], ecx */ 5436 esp = ebp; /* 0x2B07CC4B: mov esp, ebp */ 5437 ebp = POP32_VAL(esp); /* 0x2B07CC4D: pop ebp */ 5438 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07CC4E: ret 4 */ 5439 RECOMP_REGS_OUT(); 5440 } 5441 5442 void sub_2B07CC60(void) { 5443 int _fpu_cmp = 0; 5444 uint32_t _cf = 0; 5445 int _df = 1; 5446 uint32_t _flag_k = FK_NONE; 5447 uint32_t _flag_a = 0, _flag_b = 0; 5448 uint32_t _itail_tgt = 0; 5449 RECOMP_REGS_LOCALS 5450 RECOMP_ENTER(0x2B07CC60u); 5451 5452 L_2B07CC60: 5453 goto L_2B07D490; /* 0x2B07CC60: jmp 0x2b07d490 */ 5454 L_2B07D490: 5455 PUSH32(esp, esi); /* 0x2B07D490: push esi */ 5456 esi = ecx; /* 0x2B07D491: mov esi, ecx */ 5457 eax = MEM32(esi); /* 0x2B07D493: mov eax, dword ptr [esi] */ 5458 /* test eax, eax */ /* 0x2B07D495: test eax, eax */ 5459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5460 _cf = 0; 5461 _flag_k = FK_TEST; 5462 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D4AE; /* 0x2B07D497: je 0x2b07d4ae */ 5463 L_2B07D499: 5464 PUSH32(esp, eax); /* 0x2B07D499: push eax */ 5465 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07D49A: call dword ptr [0x2b0b5f80] */ 5466 RECOMP_FLAGS_IN(); 5467 ecx = eax; /* 0x2B07D4A0: mov ecx, eax */ 5468 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B07D4A2: call dword ptr [0x2b0b5fb8] */ 5469 RECOMP_FLAGS_IN(); 5470 MEM32(esi) = 0; /* 0x2B07D4A8: mov dword ptr [esi], 0 */ 5471 L_2B07D4AE: 5472 esi = POP32_VAL(esp); /* 0x2B07D4AE: pop esi */ 5473 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07D4AF: ret */ 5474 RECOMP_REGS_OUT(); 5475 } 5476 5477 void sub_2B07CC70(void) { 5478 int _fpu_cmp = 0; 5479 uint32_t _cf = 0; 5480 int _df = 1; 5481 uint32_t _flag_k = FK_NONE; 5482 uint32_t _flag_a = 0, _flag_b = 0; 5483 uint32_t _itail_tgt = 0; 5484 RECOMP_REGS_LOCALS 5485 RECOMP_ENTER(0x2B07CC70u); 5486 5487 L_2B07CC70: 5488 PUSH32(esp, ebp); /* 0x2B07CC70: push ebp */ 5489 ebp = esp; /* 0x2B07CC71: mov ebp, esp */ 5490 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07CC73: push -1 */ 5491 PUSH32(esp, 0x2B0B1C3Cu); /* 0x2B07CC75: push 0x2b0b1c3c */ 5492 eax = MEM32(FS_BASE + (0)); /* 0x2B07CC7A: mov eax, dword ptr fs:[0] */ 5493 PUSH32(esp, eax); /* 0x2B07CC80: push eax */ 5494 MEM32(FS_BASE + (0)) = esp; /* 0x2B07CC81: mov dword ptr fs:[0], esp */ 5495 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5497 esp = esp - 0x10u; /* 0x2B07CC88: sub esp, 0x10 */ 5498 _flag_k = FK_CMP; 5499 PUSH32(esp, ebx); /* 0x2B07CC8B: push ebx */ 5500 PUSH32(esp, esi); /* 0x2B07CC8C: push esi */ 5501 ebx = ecx; /* 0x2B07CC8D: mov ebx, ecx */ 5502 PUSH32(esp, edi); /* 0x2B07CC8F: push edi */ 5503 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07CC90: mov dword ptr [ebp - 0x14], ebx */ 5504 eax = MEM32(ebx + 0x40); /* 0x2B07CC93: mov eax, dword ptr [ebx + 0x40] */ 5505 ecx = MEM32(ebx + 0x4C); /* 0x2B07CC96: mov ecx, dword ptr [ebx + 0x4c] */ 5506 /* test ecx, ecx */ /* 0x2B07CC99: test ecx, ecx */ 5507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5508 _cf = 0; 5509 _flag_k = FK_TEST; 5510 esi = ebx + 0x3C; /* 0x2B07CC9B: lea esi, [ebx + 0x3c] */ 5511 edi = eax; /* 0x2B07CC9E: mov edi, eax */ 5512 eax = MEM32(eax); /* 0x2B07CCA0: mov eax, dword ptr [eax] */ 5513 MEM32(ebp + (-0x4)) = 0; /* 0x2B07CCA2: mov dword ptr [ebp - 4], 0 */ 5514 MEM32(ebp + (-0x10)) = eax; /* 0x2B07CCA9: mov dword ptr [ebp - 0x10], eax */ 5515 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CCFC; /* 0x2B07CCAC: je 0x2b07ccfc */ 5516 L_2B07CCAE: 5517 eax = ebp + (-0x18); /* 0x2B07CCAE: lea eax, [ebp - 0x18] */ 5518 PUSH32(esp, eax); /* 0x2B07CCB1: push eax */ 5519 ecx = esi; /* 0x2B07CCB2: mov ecx, esi */ 5520 RECOMP_ICALL(0x2B018B60u); /* 0x2B07CCB4: call 0x2b018b60 */ /* not lifted */ 5521 RECOMP_FLAGS_IN(); 5522 ecx = eax; /* 0x2B07CCB9: mov ecx, eax */ 5523 eax = MEM32(ebp + (-0x10)); /* 0x2B07CCBB: mov eax, dword ptr [ebp - 0x10] */ 5524 /* cmp eax, MEM32(ecx) */ /* 0x2B07CCBE: cmp eax, dword ptr [ecx] */ 5525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 5526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5527 _flag_k = FK_CMP; 5528 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CCFC; /* 0x2B07CCC0: jne 0x2b07ccfc */ 5529 L_2B07CCC2: 5530 ecx = MEM32(esi + 0x4); /* 0x2B07CCC2: mov ecx, dword ptr [esi + 4] */ 5531 /* cmp edi, ecx */ /* 0x2B07CCC5: cmp edi, ecx */ 5532 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5534 _flag_k = FK_CMP; 5535 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CCFC; /* 0x2B07CCC7: jne 0x2b07ccfc */ 5536 L_2B07CCC9: 5537 edx = MEM32(ecx + 0x4); /* 0x2B07CCC9: mov edx, dword ptr [ecx + 4] */ 5538 PUSH32(esp, edx); /* 0x2B07CCCC: push edx */ 5539 ecx = esi; /* 0x2B07CCCD: mov ecx, esi */ 5540 RECOMP_ICALL(0x2B07FD60u); /* 0x2B07CCCF: call 0x2b07fd60 */ /* not lifted */ 5541 RECOMP_FLAGS_IN(); 5542 eax = MEM32(esi + 0x4); /* 0x2B07CCD4: mov eax, dword ptr [esi + 4] */ 5543 ecx = MEM32(esi + 0x8); /* 0x2B07CCD7: mov ecx, dword ptr [esi + 8] */ 5544 MEM32(eax + 0x4) = ecx; /* 0x2B07CCDA: mov dword ptr [eax + 4], ecx */ 5545 eax = MEM32(esi + 0x4); /* 0x2B07CCDD: mov eax, dword ptr [esi + 4] */ 5546 MEM32(esi + 0x10) = 0; /* 0x2B07CCE0: mov dword ptr [esi + 0x10], 0 */ 5547 MEM32(eax) = eax; /* 0x2B07CCE7: mov dword ptr [eax], eax */ 5548 eax = MEM32(esi + 0x4); /* 0x2B07CCE9: mov eax, dword ptr [esi + 4] */ 5549 edx = ebp + (-0x18); /* 0x2B07CCEC: lea edx, [ebp - 0x18] */ 5550 PUSH32(esp, edx); /* 0x2B07CCEF: push edx */ 5551 ecx = esi; /* 0x2B07CCF0: mov ecx, esi */ 5552 MEM32(eax + 0x8) = eax; /* 0x2B07CCF2: mov dword ptr [eax + 8], eax */ 5553 RECOMP_ICALL(0x2B018B60u); /* 0x2B07CCF5: call 0x2b018b60 */ /* not lifted */ 5554 RECOMP_FLAGS_IN(); 5555 goto L_2B07CD21; /* 0x2B07CCFA: jmp 0x2b07cd21 */ 5556 L_2B07CCFC: 5557 /* cmp eax, edi */ /* 0x2B07CCFC: cmp eax, edi */ 5558 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5560 _flag_k = FK_CMP; 5561 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CD21; /* 0x2B07CCFE: je 0x2b07cd21 */ 5562 L_2B07CD00: 5563 PUSH32(esp, 0); /* 0x2B07CD00: push 0 */ 5564 eax = ebp + (-0x18); /* 0x2B07CD02: lea eax, [ebp - 0x18] */ 5565 PUSH32(esp, eax); /* 0x2B07CD05: push eax */ 5566 ecx = ebp + (-0x10); /* 0x2B07CD06: lea ecx, [ebp - 0x10] */ 5567 RECOMP_ICALL(0x2B07FFF0u); /* 0x2B07CD09: call 0x2b07fff0 */ /* not lifted */ 5568 RECOMP_FLAGS_IN(); 5569 ecx = MEM32(eax); /* 0x2B07CD0E: mov ecx, dword ptr [eax] */ 5570 PUSH32(esp, ecx); /* 0x2B07CD10: push ecx */ 5571 edx = ebp + (-0x1C); /* 0x2B07CD11: lea edx, [ebp - 0x1c] */ 5572 PUSH32(esp, edx); /* 0x2B07CD14: push edx */ 5573 ecx = esi; /* 0x2B07CD15: mov ecx, esi */ 5574 RECOMP_ICALL(0x2B07F890u); /* 0x2B07CD17: call 0x2b07f890 */ /* not lifted */ 5575 RECOMP_FLAGS_IN(); 5576 /* cmp MEM32(ebp + (-0x10)), edi */ /* 0x2B07CD1C: cmp dword ptr [ebp - 0x10], edi */ 5577 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(edi); 5578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5579 _flag_k = FK_CMP; 5580 RECOMP_BACKEDGE(); 5581 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CD00; /* 0x2B07CD1F: jne 0x2b07cd00 */ 5582 L_2B07CD21: 5583 eax = MEM32(esi + 0x4); /* 0x2B07CD21: mov eax, dword ptr [esi + 4] */ 5584 PUSH32(esp, eax); /* 0x2B07CD24: push eax */ 5585 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CD25: call 0x2b0ab1ba */ /* not lifted */ 5586 RECOMP_FLAGS_IN(); 5587 ecx = MEM32(esi + 0x8); /* 0x2B07CD2A: mov ecx, dword ptr [esi + 8] */ 5588 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5589 edi = 0; /* 0x2B07CD2D: xor edi, edi */ 5590 _cf = 0; 5591 _flag_k = FK_TEST; 5592 PUSH32(esp, ecx); /* 0x2B07CD2F: push ecx */ 5593 MEM32(esi + 0x4) = edi; /* 0x2B07CD30: mov dword ptr [esi + 4], edi */ 5594 MEM32(esi + 0x10) = edi; /* 0x2B07CD33: mov dword ptr [esi + 0x10], edi */ 5595 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CD36: call 0x2b0ab1ba */ /* not lifted */ 5596 RECOMP_FLAGS_IN(); 5597 MEM32(esi + 0x8) = edi; /* 0x2B07CD3B: mov dword ptr [esi + 8], edi */ 5598 eax = MEM32(ebx + 0x30); /* 0x2B07CD3E: mov eax, dword ptr [ebx + 0x30] */ 5599 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5600 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5601 esp = esp + 8; /* 0x2B07CD41: add esp, 8 */ 5602 _flag_k = FK_ADD; 5603 /* cmp eax, edi */ /* 0x2B07CD44: cmp eax, edi */ 5604 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5606 _flag_k = FK_CMP; 5607 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CD64; /* 0x2B07CD46: je 0x2b07cd64 */ 5608 L_2B07CD48: 5609 ecx = eax + (-0x1); /* 0x2B07CD48: lea ecx, [eax - 1] */ 5610 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CD4B: mov al, byte ptr [ecx] */ 5611 /* test LO8(eax), LO8(eax) */ /* 0x2B07CD4D: test al, al */ 5612 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5613 _cf = 0; 5614 _flag_k = FK_NARROW(FK_TEST, 24); 5615 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CD5B; /* 0x2B07CD4F: je 0x2b07cd5b */ 5616 L_2B07CD51: 5617 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CD51: cmp al, 0xff */ 5618 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5620 _flag_k = FK_NARROW(FK_CMP, 24); 5621 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CD5B; /* 0x2B07CD53: je 0x2b07cd5b */ 5622 L_2B07CD55: 5623 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5624 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CD55: dec al */ 5625 _flag_k = FK_NARROW(FK_DEC, 24); 5626 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CD57: mov byte ptr [ecx], al */ 5627 goto L_2B07CD64; /* 0x2B07CD59: jmp 0x2b07cd64 */ 5628 L_2B07CD5B: 5629 PUSH32(esp, ecx); /* 0x2B07CD5B: push ecx */ 5630 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CD5C: call 0x2b0ab1ba */ /* not lifted */ 5631 RECOMP_FLAGS_IN(); 5632 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5634 esp = esp + 4; /* 0x2B07CD61: add esp, 4 */ 5635 _flag_k = FK_ADD; 5636 L_2B07CD64: 5637 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CD64: mov ecx, dword ptr [ebp - 0xc] */ 5638 MEM32(ebx + 0x30) = edi; /* 0x2B07CD67: mov dword ptr [ebx + 0x30], edi */ 5639 MEM32(ebx + 0x34) = edi; /* 0x2B07CD6A: mov dword ptr [ebx + 0x34], edi */ 5640 MEM32(ebx + 0x38) = edi; /* 0x2B07CD6D: mov dword ptr [ebx + 0x38], edi */ 5641 edi = POP32_VAL(esp); /* 0x2B07CD70: pop edi */ 5642 esi = POP32_VAL(esp); /* 0x2B07CD71: pop esi */ 5643 ebx = POP32_VAL(esp); /* 0x2B07CD72: pop ebx */ 5644 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CD73: mov dword ptr fs:[0], ecx */ 5645 esp = ebp; /* 0x2B07CD7A: mov esp, ebp */ 5646 ebp = POP32_VAL(esp); /* 0x2B07CD7C: pop ebp */ 5647 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CD7D: ret */ 5648 RECOMP_REGS_OUT(); 5649 } 5650 5651 void sub_2B07CD21(void) { 5652 int _fpu_cmp = 0; 5653 uint32_t _cf = 0; 5654 int _df = 1; 5655 uint32_t _flag_k = FK_NONE; 5656 uint32_t _flag_a = 0, _flag_b = 0; 5657 uint32_t _itail_tgt = 0; 5658 RECOMP_REGS_LOCALS 5659 RECOMP_ENTER(0x2B07CD21u); 5660 5661 L_2B07CD21: 5662 eax = MEM32(esi + 0x4); /* 0x2B07CD21: mov eax, dword ptr [esi + 4] */ 5663 PUSH32(esp, eax); /* 0x2B07CD24: push eax */ 5664 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CD25: call 0x2b0ab1ba */ /* not lifted */ 5665 RECOMP_FLAGS_IN(); 5666 ecx = MEM32(esi + 0x8); /* 0x2B07CD2A: mov ecx, dword ptr [esi + 8] */ 5667 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5668 edi = 0; /* 0x2B07CD2D: xor edi, edi */ 5669 _cf = 0; 5670 _flag_k = FK_TEST; 5671 PUSH32(esp, ecx); /* 0x2B07CD2F: push ecx */ 5672 MEM32(esi + 0x4) = edi; /* 0x2B07CD30: mov dword ptr [esi + 4], edi */ 5673 MEM32(esi + 0x10) = edi; /* 0x2B07CD33: mov dword ptr [esi + 0x10], edi */ 5674 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CD36: call 0x2b0ab1ba */ /* not lifted */ 5675 RECOMP_FLAGS_IN(); 5676 MEM32(esi + 0x8) = edi; /* 0x2B07CD3B: mov dword ptr [esi + 8], edi */ 5677 eax = MEM32(ebx + 0x30); /* 0x2B07CD3E: mov eax, dword ptr [ebx + 0x30] */ 5678 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5679 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5680 esp = esp + 8; /* 0x2B07CD41: add esp, 8 */ 5681 _flag_k = FK_ADD; 5682 /* cmp eax, edi */ /* 0x2B07CD44: cmp eax, edi */ 5683 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5685 _flag_k = FK_CMP; 5686 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CD64; /* 0x2B07CD46: je 0x2b07cd64 */ 5687 L_2B07CD48: 5688 ecx = eax + (-0x1); /* 0x2B07CD48: lea ecx, [eax - 1] */ 5689 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CD4B: mov al, byte ptr [ecx] */ 5690 /* test LO8(eax), LO8(eax) */ /* 0x2B07CD4D: test al, al */ 5691 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5692 _cf = 0; 5693 _flag_k = FK_NARROW(FK_TEST, 24); 5694 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CD5B; /* 0x2B07CD4F: je 0x2b07cd5b */ 5695 L_2B07CD51: 5696 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CD51: cmp al, 0xff */ 5697 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5699 _flag_k = FK_NARROW(FK_CMP, 24); 5700 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CD5B; /* 0x2B07CD53: je 0x2b07cd5b */ 5701 L_2B07CD55: 5702 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5703 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CD55: dec al */ 5704 _flag_k = FK_NARROW(FK_DEC, 24); 5705 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CD57: mov byte ptr [ecx], al */ 5706 goto L_2B07CD64; /* 0x2B07CD59: jmp 0x2b07cd64 */ 5707 L_2B07CD5B: 5708 PUSH32(esp, ecx); /* 0x2B07CD5B: push ecx */ 5709 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CD5C: call 0x2b0ab1ba */ /* not lifted */ 5710 RECOMP_FLAGS_IN(); 5711 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5712 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5713 esp = esp + 4; /* 0x2B07CD61: add esp, 4 */ 5714 _flag_k = FK_ADD; 5715 L_2B07CD64: 5716 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CD64: mov ecx, dword ptr [ebp - 0xc] */ 5717 MEM32(ebx + 0x30) = edi; /* 0x2B07CD67: mov dword ptr [ebx + 0x30], edi */ 5718 MEM32(ebx + 0x34) = edi; /* 0x2B07CD6A: mov dword ptr [ebx + 0x34], edi */ 5719 MEM32(ebx + 0x38) = edi; /* 0x2B07CD6D: mov dword ptr [ebx + 0x38], edi */ 5720 edi = POP32_VAL(esp); /* 0x2B07CD70: pop edi */ 5721 esi = POP32_VAL(esp); /* 0x2B07CD71: pop esi */ 5722 ebx = POP32_VAL(esp); /* 0x2B07CD72: pop ebx */ 5723 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CD73: mov dword ptr fs:[0], ecx */ 5724 esp = ebp; /* 0x2B07CD7A: mov esp, ebp */ 5725 ebp = POP32_VAL(esp); /* 0x2B07CD7C: pop ebp */ 5726 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CD7D: ret */ 5727 RECOMP_REGS_OUT(); 5728 } 5729 5730 void sub_2B07CD64(void) { 5731 int _fpu_cmp = 0; 5732 uint32_t _cf = 0; 5733 int _df = 1; 5734 uint32_t _flag_k = FK_NONE; 5735 uint32_t _flag_a = 0, _flag_b = 0; 5736 uint32_t _itail_tgt = 0; 5737 RECOMP_REGS_LOCALS 5738 RECOMP_ENTER(0x2B07CD64u); 5739 5740 L_2B07CD64: 5741 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CD64: mov ecx, dword ptr [ebp - 0xc] */ 5742 MEM32(ebx + 0x30) = edi; /* 0x2B07CD67: mov dword ptr [ebx + 0x30], edi */ 5743 MEM32(ebx + 0x34) = edi; /* 0x2B07CD6A: mov dword ptr [ebx + 0x34], edi */ 5744 MEM32(ebx + 0x38) = edi; /* 0x2B07CD6D: mov dword ptr [ebx + 0x38], edi */ 5745 edi = POP32_VAL(esp); /* 0x2B07CD70: pop edi */ 5746 esi = POP32_VAL(esp); /* 0x2B07CD71: pop esi */ 5747 ebx = POP32_VAL(esp); /* 0x2B07CD72: pop ebx */ 5748 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CD73: mov dword ptr fs:[0], ecx */ 5749 esp = ebp; /* 0x2B07CD7A: mov esp, ebp */ 5750 ebp = POP32_VAL(esp); /* 0x2B07CD7C: pop ebp */ 5751 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CD7D: ret */ 5752 RECOMP_REGS_OUT(); 5753 } 5754 5755 void sub_2B07CD80(void) { 5756 int _fpu_cmp = 0; 5757 uint32_t _cf = 0; 5758 int _df = 1; 5759 uint32_t _flag_k = FK_NONE; 5760 uint32_t _flag_a = 0, _flag_b = 0; 5761 uint32_t _itail_tgt = 0; 5762 RECOMP_REGS_LOCALS 5763 RECOMP_ENTER(0x2B07CD80u); 5764 5765 L_2B07CD80: 5766 PUSH32(esp, ebp); /* 0x2B07CD80: push ebp */ 5767 ebp = esp; /* 0x2B07CD81: mov ebp, esp */ 5768 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07CD83: push -1 */ 5769 PUSH32(esp, 0x2B0B1C5Cu); /* 0x2B07CD85: push 0x2b0b1c5c */ 5770 eax = MEM32(FS_BASE + (0)); /* 0x2B07CD8A: mov eax, dword ptr fs:[0] */ 5771 PUSH32(esp, eax); /* 0x2B07CD90: push eax */ 5772 MEM32(FS_BASE + (0)) = esp; /* 0x2B07CD91: mov dword ptr fs:[0], esp */ 5773 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 5774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5775 esp = esp - 0x10u; /* 0x2B07CD98: sub esp, 0x10 */ 5776 _flag_k = FK_CMP; 5777 PUSH32(esp, ebx); /* 0x2B07CD9B: push ebx */ 5778 PUSH32(esp, esi); /* 0x2B07CD9C: push esi */ 5779 ebx = ecx + 0x4; /* 0x2B07CD9D: lea ebx, [ecx + 4] */ 5780 PUSH32(esp, edi); /* 0x2B07CDA0: push edi */ 5781 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07CDA1: mov dword ptr [ebp - 0x14], ebx */ 5782 eax = MEM32(ebx + 0x40); /* 0x2B07CDA4: mov eax, dword ptr [ebx + 0x40] */ 5783 ecx = MEM32(ebx + 0x4C); /* 0x2B07CDA7: mov ecx, dword ptr [ebx + 0x4c] */ 5784 /* test ecx, ecx */ /* 0x2B07CDAA: test ecx, ecx */ 5785 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5786 _cf = 0; 5787 _flag_k = FK_TEST; 5788 esi = ebx + 0x3C; /* 0x2B07CDAC: lea esi, [ebx + 0x3c] */ 5789 edi = eax; /* 0x2B07CDAF: mov edi, eax */ 5790 eax = MEM32(eax); /* 0x2B07CDB1: mov eax, dword ptr [eax] */ 5791 MEM32(ebp + (-0x4)) = 0; /* 0x2B07CDB3: mov dword ptr [ebp - 4], 0 */ 5792 MEM32(ebp + (-0x10)) = eax; /* 0x2B07CDBA: mov dword ptr [ebp - 0x10], eax */ 5793 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CE0D; /* 0x2B07CDBD: je 0x2b07ce0d */ 5794 L_2B07CDBF: 5795 eax = ebp + (-0x18); /* 0x2B07CDBF: lea eax, [ebp - 0x18] */ 5796 PUSH32(esp, eax); /* 0x2B07CDC2: push eax */ 5797 ecx = esi; /* 0x2B07CDC3: mov ecx, esi */ 5798 RECOMP_ICALL(0x2B018B60u); /* 0x2B07CDC5: call 0x2b018b60 */ /* not lifted */ 5799 RECOMP_FLAGS_IN(); 5800 ecx = eax; /* 0x2B07CDCA: mov ecx, eax */ 5801 eax = MEM32(ebp + (-0x10)); /* 0x2B07CDCC: mov eax, dword ptr [ebp - 0x10] */ 5802 /* cmp eax, MEM32(ecx) */ /* 0x2B07CDCF: cmp eax, dword ptr [ecx] */ 5803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 5804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5805 _flag_k = FK_CMP; 5806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CE0D; /* 0x2B07CDD1: jne 0x2b07ce0d */ 5807 L_2B07CDD3: 5808 ecx = MEM32(esi + 0x4); /* 0x2B07CDD3: mov ecx, dword ptr [esi + 4] */ 5809 /* cmp edi, ecx */ /* 0x2B07CDD6: cmp edi, ecx */ 5810 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 5811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5812 _flag_k = FK_CMP; 5813 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CE0D; /* 0x2B07CDD8: jne 0x2b07ce0d */ 5814 L_2B07CDDA: 5815 edx = MEM32(ecx + 0x4); /* 0x2B07CDDA: mov edx, dword ptr [ecx + 4] */ 5816 PUSH32(esp, edx); /* 0x2B07CDDD: push edx */ 5817 ecx = esi; /* 0x2B07CDDE: mov ecx, esi */ 5818 RECOMP_ICALL(0x2B07FD60u); /* 0x2B07CDE0: call 0x2b07fd60 */ /* not lifted */ 5819 RECOMP_FLAGS_IN(); 5820 eax = MEM32(esi + 0x4); /* 0x2B07CDE5: mov eax, dword ptr [esi + 4] */ 5821 ecx = MEM32(esi + 0x8); /* 0x2B07CDE8: mov ecx, dword ptr [esi + 8] */ 5822 MEM32(eax + 0x4) = ecx; /* 0x2B07CDEB: mov dword ptr [eax + 4], ecx */ 5823 eax = MEM32(esi + 0x4); /* 0x2B07CDEE: mov eax, dword ptr [esi + 4] */ 5824 MEM32(esi + 0x10) = 0; /* 0x2B07CDF1: mov dword ptr [esi + 0x10], 0 */ 5825 MEM32(eax) = eax; /* 0x2B07CDF8: mov dword ptr [eax], eax */ 5826 eax = MEM32(esi + 0x4); /* 0x2B07CDFA: mov eax, dword ptr [esi + 4] */ 5827 edx = ebp + (-0x18); /* 0x2B07CDFD: lea edx, [ebp - 0x18] */ 5828 PUSH32(esp, edx); /* 0x2B07CE00: push edx */ 5829 ecx = esi; /* 0x2B07CE01: mov ecx, esi */ 5830 MEM32(eax + 0x8) = eax; /* 0x2B07CE03: mov dword ptr [eax + 8], eax */ 5831 RECOMP_ICALL(0x2B018B60u); /* 0x2B07CE06: call 0x2b018b60 */ /* not lifted */ 5832 RECOMP_FLAGS_IN(); 5833 goto L_2B07CE32; /* 0x2B07CE0B: jmp 0x2b07ce32 */ 5834 L_2B07CE0D: 5835 /* cmp eax, edi */ /* 0x2B07CE0D: cmp eax, edi */ 5836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5838 _flag_k = FK_CMP; 5839 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CE32; /* 0x2B07CE0F: je 0x2b07ce32 */ 5840 L_2B07CE11: 5841 PUSH32(esp, 0); /* 0x2B07CE11: push 0 */ 5842 eax = ebp + (-0x18); /* 0x2B07CE13: lea eax, [ebp - 0x18] */ 5843 PUSH32(esp, eax); /* 0x2B07CE16: push eax */ 5844 ecx = ebp + (-0x10); /* 0x2B07CE17: lea ecx, [ebp - 0x10] */ 5845 RECOMP_ICALL(0x2B07FFF0u); /* 0x2B07CE1A: call 0x2b07fff0 */ /* not lifted */ 5846 RECOMP_FLAGS_IN(); 5847 ecx = MEM32(eax); /* 0x2B07CE1F: mov ecx, dword ptr [eax] */ 5848 PUSH32(esp, ecx); /* 0x2B07CE21: push ecx */ 5849 edx = ebp + (-0x1C); /* 0x2B07CE22: lea edx, [ebp - 0x1c] */ 5850 PUSH32(esp, edx); /* 0x2B07CE25: push edx */ 5851 ecx = esi; /* 0x2B07CE26: mov ecx, esi */ 5852 RECOMP_ICALL(0x2B07F890u); /* 0x2B07CE28: call 0x2b07f890 */ /* not lifted */ 5853 RECOMP_FLAGS_IN(); 5854 /* cmp MEM32(ebp + (-0x10)), edi */ /* 0x2B07CE2D: cmp dword ptr [ebp - 0x10], edi */ 5855 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(edi); 5856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5857 _flag_k = FK_CMP; 5858 RECOMP_BACKEDGE(); 5859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CE11; /* 0x2B07CE30: jne 0x2b07ce11 */ 5860 L_2B07CE32: 5861 eax = MEM32(esi + 0x4); /* 0x2B07CE32: mov eax, dword ptr [esi + 4] */ 5862 PUSH32(esp, eax); /* 0x2B07CE35: push eax */ 5863 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CE36: call 0x2b0ab1ba */ /* not lifted */ 5864 RECOMP_FLAGS_IN(); 5865 ecx = MEM32(esi + 0x8); /* 0x2B07CE3B: mov ecx, dword ptr [esi + 8] */ 5866 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5867 edi = 0; /* 0x2B07CE3E: xor edi, edi */ 5868 _cf = 0; 5869 _flag_k = FK_TEST; 5870 PUSH32(esp, ecx); /* 0x2B07CE40: push ecx */ 5871 MEM32(esi + 0x4) = edi; /* 0x2B07CE41: mov dword ptr [esi + 4], edi */ 5872 MEM32(esi + 0x10) = edi; /* 0x2B07CE44: mov dword ptr [esi + 0x10], edi */ 5873 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CE47: call 0x2b0ab1ba */ /* not lifted */ 5874 RECOMP_FLAGS_IN(); 5875 MEM32(esi + 0x8) = edi; /* 0x2B07CE4C: mov dword ptr [esi + 8], edi */ 5876 eax = MEM32(ebx + 0x30); /* 0x2B07CE4F: mov eax, dword ptr [ebx + 0x30] */ 5877 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5878 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5879 esp = esp + 8; /* 0x2B07CE52: add esp, 8 */ 5880 _flag_k = FK_ADD; 5881 /* cmp eax, edi */ /* 0x2B07CE55: cmp eax, edi */ 5882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5884 _flag_k = FK_CMP; 5885 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CE75; /* 0x2B07CE57: je 0x2b07ce75 */ 5886 L_2B07CE59: 5887 ecx = eax + (-0x1); /* 0x2B07CE59: lea ecx, [eax - 1] */ 5888 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CE5C: mov al, byte ptr [ecx] */ 5889 /* test LO8(eax), LO8(eax) */ /* 0x2B07CE5E: test al, al */ 5890 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5891 _cf = 0; 5892 _flag_k = FK_NARROW(FK_TEST, 24); 5893 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CE6C; /* 0x2B07CE60: je 0x2b07ce6c */ 5894 L_2B07CE62: 5895 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CE62: cmp al, 0xff */ 5896 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5898 _flag_k = FK_NARROW(FK_CMP, 24); 5899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CE6C; /* 0x2B07CE64: je 0x2b07ce6c */ 5900 L_2B07CE66: 5901 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5902 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CE66: dec al */ 5903 _flag_k = FK_NARROW(FK_DEC, 24); 5904 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CE68: mov byte ptr [ecx], al */ 5905 goto L_2B07CE75; /* 0x2B07CE6A: jmp 0x2b07ce75 */ 5906 L_2B07CE6C: 5907 PUSH32(esp, ecx); /* 0x2B07CE6C: push ecx */ 5908 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CE6D: call 0x2b0ab1ba */ /* not lifted */ 5909 RECOMP_FLAGS_IN(); 5910 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5911 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5912 esp = esp + 4; /* 0x2B07CE72: add esp, 4 */ 5913 _flag_k = FK_ADD; 5914 L_2B07CE75: 5915 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CE75: mov ecx, dword ptr [ebp - 0xc] */ 5916 MEM32(ebx + 0x30) = edi; /* 0x2B07CE78: mov dword ptr [ebx + 0x30], edi */ 5917 MEM32(ebx + 0x34) = edi; /* 0x2B07CE7B: mov dword ptr [ebx + 0x34], edi */ 5918 MEM32(ebx + 0x38) = edi; /* 0x2B07CE7E: mov dword ptr [ebx + 0x38], edi */ 5919 edi = POP32_VAL(esp); /* 0x2B07CE81: pop edi */ 5920 esi = POP32_VAL(esp); /* 0x2B07CE82: pop esi */ 5921 ebx = POP32_VAL(esp); /* 0x2B07CE83: pop ebx */ 5922 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CE84: mov dword ptr fs:[0], ecx */ 5923 esp = ebp; /* 0x2B07CE8B: mov esp, ebp */ 5924 ebp = POP32_VAL(esp); /* 0x2B07CE8D: pop ebp */ 5925 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CE8E: ret */ 5926 RECOMP_REGS_OUT(); 5927 } 5928 5929 void sub_2B07CE32(void) { 5930 int _fpu_cmp = 0; 5931 uint32_t _cf = 0; 5932 int _df = 1; 5933 uint32_t _flag_k = FK_NONE; 5934 uint32_t _flag_a = 0, _flag_b = 0; 5935 uint32_t _itail_tgt = 0; 5936 RECOMP_REGS_LOCALS 5937 RECOMP_ENTER(0x2B07CE32u); 5938 5939 L_2B07CE32: 5940 eax = MEM32(esi + 0x4); /* 0x2B07CE32: mov eax, dword ptr [esi + 4] */ 5941 PUSH32(esp, eax); /* 0x2B07CE35: push eax */ 5942 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CE36: call 0x2b0ab1ba */ /* not lifted */ 5943 RECOMP_FLAGS_IN(); 5944 ecx = MEM32(esi + 0x8); /* 0x2B07CE3B: mov ecx, dword ptr [esi + 8] */ 5945 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5946 edi = 0; /* 0x2B07CE3E: xor edi, edi */ 5947 _cf = 0; 5948 _flag_k = FK_TEST; 5949 PUSH32(esp, ecx); /* 0x2B07CE40: push ecx */ 5950 MEM32(esi + 0x4) = edi; /* 0x2B07CE41: mov dword ptr [esi + 4], edi */ 5951 MEM32(esi + 0x10) = edi; /* 0x2B07CE44: mov dword ptr [esi + 0x10], edi */ 5952 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CE47: call 0x2b0ab1ba */ /* not lifted */ 5953 RECOMP_FLAGS_IN(); 5954 MEM32(esi + 0x8) = edi; /* 0x2B07CE4C: mov dword ptr [esi + 8], edi */ 5955 eax = MEM32(ebx + 0x30); /* 0x2B07CE4F: mov eax, dword ptr [ebx + 0x30] */ 5956 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5957 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5958 esp = esp + 8; /* 0x2B07CE52: add esp, 8 */ 5959 _flag_k = FK_ADD; 5960 /* cmp eax, edi */ /* 0x2B07CE55: cmp eax, edi */ 5961 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5963 _flag_k = FK_CMP; 5964 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CE75; /* 0x2B07CE57: je 0x2b07ce75 */ 5965 L_2B07CE59: 5966 ecx = eax + (-0x1); /* 0x2B07CE59: lea ecx, [eax - 1] */ 5967 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CE5C: mov al, byte ptr [ecx] */ 5968 /* test LO8(eax), LO8(eax) */ /* 0x2B07CE5E: test al, al */ 5969 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5970 _cf = 0; 5971 _flag_k = FK_NARROW(FK_TEST, 24); 5972 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CE6C; /* 0x2B07CE60: je 0x2b07ce6c */ 5973 L_2B07CE62: 5974 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CE62: cmp al, 0xff */ 5975 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5977 _flag_k = FK_NARROW(FK_CMP, 24); 5978 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CE6C; /* 0x2B07CE64: je 0x2b07ce6c */ 5979 L_2B07CE66: 5980 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5981 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CE66: dec al */ 5982 _flag_k = FK_NARROW(FK_DEC, 24); 5983 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CE68: mov byte ptr [ecx], al */ 5984 goto L_2B07CE75; /* 0x2B07CE6A: jmp 0x2b07ce75 */ 5985 L_2B07CE6C: 5986 PUSH32(esp, ecx); /* 0x2B07CE6C: push ecx */ 5987 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CE6D: call 0x2b0ab1ba */ /* not lifted */ 5988 RECOMP_FLAGS_IN(); 5989 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5990 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5991 esp = esp + 4; /* 0x2B07CE72: add esp, 4 */ 5992 _flag_k = FK_ADD; 5993 L_2B07CE75: 5994 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CE75: mov ecx, dword ptr [ebp - 0xc] */ 5995 MEM32(ebx + 0x30) = edi; /* 0x2B07CE78: mov dword ptr [ebx + 0x30], edi */ 5996 MEM32(ebx + 0x34) = edi; /* 0x2B07CE7B: mov dword ptr [ebx + 0x34], edi */ 5997 MEM32(ebx + 0x38) = edi; /* 0x2B07CE7E: mov dword ptr [ebx + 0x38], edi */ 5998 edi = POP32_VAL(esp); /* 0x2B07CE81: pop edi */ 5999 esi = POP32_VAL(esp); /* 0x2B07CE82: pop esi */ 6000 ebx = POP32_VAL(esp); /* 0x2B07CE83: pop ebx */ 6001 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CE84: mov dword ptr fs:[0], ecx */ 6002 esp = ebp; /* 0x2B07CE8B: mov esp, ebp */ 6003 ebp = POP32_VAL(esp); /* 0x2B07CE8D: pop ebp */ 6004 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CE8E: ret */ 6005 RECOMP_REGS_OUT(); 6006 } 6007 6008 void sub_2B07CE75(void) { 6009 int _fpu_cmp = 0; 6010 uint32_t _cf = 0; 6011 int _df = 1; 6012 uint32_t _flag_k = FK_NONE; 6013 uint32_t _flag_a = 0, _flag_b = 0; 6014 uint32_t _itail_tgt = 0; 6015 RECOMP_REGS_LOCALS 6016 RECOMP_ENTER(0x2B07CE75u); 6017 6018 L_2B07CE75: 6019 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CE75: mov ecx, dword ptr [ebp - 0xc] */ 6020 MEM32(ebx + 0x30) = edi; /* 0x2B07CE78: mov dword ptr [ebx + 0x30], edi */ 6021 MEM32(ebx + 0x34) = edi; /* 0x2B07CE7B: mov dword ptr [ebx + 0x34], edi */ 6022 MEM32(ebx + 0x38) = edi; /* 0x2B07CE7E: mov dword ptr [ebx + 0x38], edi */ 6023 edi = POP32_VAL(esp); /* 0x2B07CE81: pop edi */ 6024 esi = POP32_VAL(esp); /* 0x2B07CE82: pop esi */ 6025 ebx = POP32_VAL(esp); /* 0x2B07CE83: pop ebx */ 6026 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CE84: mov dword ptr fs:[0], ecx */ 6027 esp = ebp; /* 0x2B07CE8B: mov esp, ebp */ 6028 ebp = POP32_VAL(esp); /* 0x2B07CE8D: pop ebp */ 6029 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CE8E: ret */ 6030 RECOMP_REGS_OUT(); 6031 } 6032 6033 void sub_2B07CE90(void) { 6034 int _fpu_cmp = 0; 6035 uint32_t _cf = 0; 6036 int _df = 1; 6037 uint32_t _flag_k = FK_NONE; 6038 uint32_t _flag_a = 0, _flag_b = 0; 6039 uint32_t _itail_tgt = 0; 6040 RECOMP_REGS_LOCALS 6041 RECOMP_ENTER(0x2B07CE90u); 6042 6043 L_2B07CE90: 6044 PUSH32(esp, ebp); /* 0x2B07CE90: push ebp */ 6045 ebp = esp; /* 0x2B07CE91: mov ebp, esp */ 6046 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07CE93: push -1 */ 6047 PUSH32(esp, 0x2B0B1C7Cu); /* 0x2B07CE95: push 0x2b0b1c7c */ 6048 eax = MEM32(FS_BASE + (0)); /* 0x2B07CE9A: mov eax, dword ptr fs:[0] */ 6049 PUSH32(esp, eax); /* 0x2B07CEA0: push eax */ 6050 MEM32(FS_BASE + (0)) = esp; /* 0x2B07CEA1: mov dword ptr fs:[0], esp */ 6051 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6053 esp = esp - 0x10u; /* 0x2B07CEA8: sub esp, 0x10 */ 6054 _flag_k = FK_CMP; 6055 PUSH32(esp, ebx); /* 0x2B07CEAB: push ebx */ 6056 PUSH32(esp, esi); /* 0x2B07CEAC: push esi */ 6057 ebx = ecx + 0x4; /* 0x2B07CEAD: lea ebx, [ecx + 4] */ 6058 PUSH32(esp, edi); /* 0x2B07CEB0: push edi */ 6059 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07CEB1: mov dword ptr [ebp - 0x14], ebx */ 6060 eax = MEM32(ebx + 0x40); /* 0x2B07CEB4: mov eax, dword ptr [ebx + 0x40] */ 6061 ecx = MEM32(ebx + 0x4C); /* 0x2B07CEB7: mov ecx, dword ptr [ebx + 0x4c] */ 6062 /* test ecx, ecx */ /* 0x2B07CEBA: test ecx, ecx */ 6063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6064 _cf = 0; 6065 _flag_k = FK_TEST; 6066 esi = ebx + 0x3C; /* 0x2B07CEBC: lea esi, [ebx + 0x3c] */ 6067 edi = eax; /* 0x2B07CEBF: mov edi, eax */ 6068 eax = MEM32(eax); /* 0x2B07CEC1: mov eax, dword ptr [eax] */ 6069 MEM32(ebp + (-0x4)) = 0; /* 0x2B07CEC3: mov dword ptr [ebp - 4], 0 */ 6070 MEM32(ebp + (-0x10)) = eax; /* 0x2B07CECA: mov dword ptr [ebp - 0x10], eax */ 6071 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CF1D; /* 0x2B07CECD: je 0x2b07cf1d */ 6072 L_2B07CECF: 6073 eax = ebp + (-0x18); /* 0x2B07CECF: lea eax, [ebp - 0x18] */ 6074 PUSH32(esp, eax); /* 0x2B07CED2: push eax */ 6075 ecx = esi; /* 0x2B07CED3: mov ecx, esi */ 6076 RECOMP_ICALL(0x2B018B60u); /* 0x2B07CED5: call 0x2b018b60 */ /* not lifted */ 6077 RECOMP_FLAGS_IN(); 6078 ecx = eax; /* 0x2B07CEDA: mov ecx, eax */ 6079 eax = MEM32(ebp + (-0x10)); /* 0x2B07CEDC: mov eax, dword ptr [ebp - 0x10] */ 6080 /* cmp eax, MEM32(ecx) */ /* 0x2B07CEDF: cmp eax, dword ptr [ecx] */ 6081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 6082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6083 _flag_k = FK_CMP; 6084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CF1D; /* 0x2B07CEE1: jne 0x2b07cf1d */ 6085 L_2B07CEE3: 6086 ecx = MEM32(esi + 0x4); /* 0x2B07CEE3: mov ecx, dword ptr [esi + 4] */ 6087 /* cmp edi, ecx */ /* 0x2B07CEE6: cmp edi, ecx */ 6088 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 6089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6090 _flag_k = FK_CMP; 6091 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CF1D; /* 0x2B07CEE8: jne 0x2b07cf1d */ 6092 L_2B07CEEA: 6093 edx = MEM32(ecx + 0x4); /* 0x2B07CEEA: mov edx, dword ptr [ecx + 4] */ 6094 PUSH32(esp, edx); /* 0x2B07CEED: push edx */ 6095 ecx = esi; /* 0x2B07CEEE: mov ecx, esi */ 6096 RECOMP_ICALL(0x2B07FD60u); /* 0x2B07CEF0: call 0x2b07fd60 */ /* not lifted */ 6097 RECOMP_FLAGS_IN(); 6098 eax = MEM32(esi + 0x4); /* 0x2B07CEF5: mov eax, dword ptr [esi + 4] */ 6099 ecx = MEM32(esi + 0x8); /* 0x2B07CEF8: mov ecx, dword ptr [esi + 8] */ 6100 MEM32(eax + 0x4) = ecx; /* 0x2B07CEFB: mov dword ptr [eax + 4], ecx */ 6101 eax = MEM32(esi + 0x4); /* 0x2B07CEFE: mov eax, dword ptr [esi + 4] */ 6102 MEM32(esi + 0x10) = 0; /* 0x2B07CF01: mov dword ptr [esi + 0x10], 0 */ 6103 MEM32(eax) = eax; /* 0x2B07CF08: mov dword ptr [eax], eax */ 6104 eax = MEM32(esi + 0x4); /* 0x2B07CF0A: mov eax, dword ptr [esi + 4] */ 6105 edx = ebp + (-0x18); /* 0x2B07CF0D: lea edx, [ebp - 0x18] */ 6106 PUSH32(esp, edx); /* 0x2B07CF10: push edx */ 6107 ecx = esi; /* 0x2B07CF11: mov ecx, esi */ 6108 MEM32(eax + 0x8) = eax; /* 0x2B07CF13: mov dword ptr [eax + 8], eax */ 6109 RECOMP_ICALL(0x2B018B60u); /* 0x2B07CF16: call 0x2b018b60 */ /* not lifted */ 6110 RECOMP_FLAGS_IN(); 6111 goto L_2B07CF42; /* 0x2B07CF1B: jmp 0x2b07cf42 */ 6112 L_2B07CF1D: 6113 /* cmp eax, edi */ /* 0x2B07CF1D: cmp eax, edi */ 6114 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6116 _flag_k = FK_CMP; 6117 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CF42; /* 0x2B07CF1F: je 0x2b07cf42 */ 6118 L_2B07CF21: 6119 PUSH32(esp, 0); /* 0x2B07CF21: push 0 */ 6120 eax = ebp + (-0x18); /* 0x2B07CF23: lea eax, [ebp - 0x18] */ 6121 PUSH32(esp, eax); /* 0x2B07CF26: push eax */ 6122 ecx = ebp + (-0x10); /* 0x2B07CF27: lea ecx, [ebp - 0x10] */ 6123 RECOMP_ICALL(0x2B07FFF0u); /* 0x2B07CF2A: call 0x2b07fff0 */ /* not lifted */ 6124 RECOMP_FLAGS_IN(); 6125 ecx = MEM32(eax); /* 0x2B07CF2F: mov ecx, dword ptr [eax] */ 6126 PUSH32(esp, ecx); /* 0x2B07CF31: push ecx */ 6127 edx = ebp + (-0x1C); /* 0x2B07CF32: lea edx, [ebp - 0x1c] */ 6128 PUSH32(esp, edx); /* 0x2B07CF35: push edx */ 6129 ecx = esi; /* 0x2B07CF36: mov ecx, esi */ 6130 RECOMP_ICALL(0x2B07F890u); /* 0x2B07CF38: call 0x2b07f890 */ /* not lifted */ 6131 RECOMP_FLAGS_IN(); 6132 /* cmp MEM32(ebp + (-0x10)), edi */ /* 0x2B07CF3D: cmp dword ptr [ebp - 0x10], edi */ 6133 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(edi); 6134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6135 _flag_k = FK_CMP; 6136 RECOMP_BACKEDGE(); 6137 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07CF21; /* 0x2B07CF40: jne 0x2b07cf21 */ 6138 L_2B07CF42: 6139 eax = MEM32(esi + 0x4); /* 0x2B07CF42: mov eax, dword ptr [esi + 4] */ 6140 PUSH32(esp, eax); /* 0x2B07CF45: push eax */ 6141 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CF46: call 0x2b0ab1ba */ /* not lifted */ 6142 RECOMP_FLAGS_IN(); 6143 ecx = MEM32(esi + 0x8); /* 0x2B07CF4B: mov ecx, dword ptr [esi + 8] */ 6144 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6145 edi = 0; /* 0x2B07CF4E: xor edi, edi */ 6146 _cf = 0; 6147 _flag_k = FK_TEST; 6148 PUSH32(esp, ecx); /* 0x2B07CF50: push ecx */ 6149 MEM32(esi + 0x4) = edi; /* 0x2B07CF51: mov dword ptr [esi + 4], edi */ 6150 MEM32(esi + 0x10) = edi; /* 0x2B07CF54: mov dword ptr [esi + 0x10], edi */ 6151 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CF57: call 0x2b0ab1ba */ /* not lifted */ 6152 RECOMP_FLAGS_IN(); 6153 MEM32(esi + 0x8) = edi; /* 0x2B07CF5C: mov dword ptr [esi + 8], edi */ 6154 eax = MEM32(ebx + 0x30); /* 0x2B07CF5F: mov eax, dword ptr [ebx + 0x30] */ 6155 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6156 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6157 esp = esp + 8; /* 0x2B07CF62: add esp, 8 */ 6158 _flag_k = FK_ADD; 6159 /* cmp eax, edi */ /* 0x2B07CF65: cmp eax, edi */ 6160 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6162 _flag_k = FK_CMP; 6163 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CF85; /* 0x2B07CF67: je 0x2b07cf85 */ 6164 L_2B07CF69: 6165 ecx = eax + (-0x1); /* 0x2B07CF69: lea ecx, [eax - 1] */ 6166 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CF6C: mov al, byte ptr [ecx] */ 6167 /* test LO8(eax), LO8(eax) */ /* 0x2B07CF6E: test al, al */ 6168 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6169 _cf = 0; 6170 _flag_k = FK_NARROW(FK_TEST, 24); 6171 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CF7C; /* 0x2B07CF70: je 0x2b07cf7c */ 6172 L_2B07CF72: 6173 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CF72: cmp al, 0xff */ 6174 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6176 _flag_k = FK_NARROW(FK_CMP, 24); 6177 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CF7C; /* 0x2B07CF74: je 0x2b07cf7c */ 6178 L_2B07CF76: 6179 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6180 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CF76: dec al */ 6181 _flag_k = FK_NARROW(FK_DEC, 24); 6182 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CF78: mov byte ptr [ecx], al */ 6183 goto L_2B07CF85; /* 0x2B07CF7A: jmp 0x2b07cf85 */ 6184 L_2B07CF7C: 6185 PUSH32(esp, ecx); /* 0x2B07CF7C: push ecx */ 6186 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CF7D: call 0x2b0ab1ba */ /* not lifted */ 6187 RECOMP_FLAGS_IN(); 6188 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6189 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6190 esp = esp + 4; /* 0x2B07CF82: add esp, 4 */ 6191 _flag_k = FK_ADD; 6192 L_2B07CF85: 6193 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CF85: mov ecx, dword ptr [ebp - 0xc] */ 6194 MEM32(ebx + 0x30) = edi; /* 0x2B07CF88: mov dword ptr [ebx + 0x30], edi */ 6195 MEM32(ebx + 0x34) = edi; /* 0x2B07CF8B: mov dword ptr [ebx + 0x34], edi */ 6196 MEM32(ebx + 0x38) = edi; /* 0x2B07CF8E: mov dword ptr [ebx + 0x38], edi */ 6197 edi = POP32_VAL(esp); /* 0x2B07CF91: pop edi */ 6198 esi = POP32_VAL(esp); /* 0x2B07CF92: pop esi */ 6199 ebx = POP32_VAL(esp); /* 0x2B07CF93: pop ebx */ 6200 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CF94: mov dword ptr fs:[0], ecx */ 6201 esp = ebp; /* 0x2B07CF9B: mov esp, ebp */ 6202 ebp = POP32_VAL(esp); /* 0x2B07CF9D: pop ebp */ 6203 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CF9E: ret */ 6204 RECOMP_REGS_OUT(); 6205 } 6206 6207 void sub_2B07CF42(void) { 6208 int _fpu_cmp = 0; 6209 uint32_t _cf = 0; 6210 int _df = 1; 6211 uint32_t _flag_k = FK_NONE; 6212 uint32_t _flag_a = 0, _flag_b = 0; 6213 uint32_t _itail_tgt = 0; 6214 RECOMP_REGS_LOCALS 6215 RECOMP_ENTER(0x2B07CF42u); 6216 6217 L_2B07CF42: 6218 eax = MEM32(esi + 0x4); /* 0x2B07CF42: mov eax, dword ptr [esi + 4] */ 6219 PUSH32(esp, eax); /* 0x2B07CF45: push eax */ 6220 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CF46: call 0x2b0ab1ba */ /* not lifted */ 6221 RECOMP_FLAGS_IN(); 6222 ecx = MEM32(esi + 0x8); /* 0x2B07CF4B: mov ecx, dword ptr [esi + 8] */ 6223 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6224 edi = 0; /* 0x2B07CF4E: xor edi, edi */ 6225 _cf = 0; 6226 _flag_k = FK_TEST; 6227 PUSH32(esp, ecx); /* 0x2B07CF50: push ecx */ 6228 MEM32(esi + 0x4) = edi; /* 0x2B07CF51: mov dword ptr [esi + 4], edi */ 6229 MEM32(esi + 0x10) = edi; /* 0x2B07CF54: mov dword ptr [esi + 0x10], edi */ 6230 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CF57: call 0x2b0ab1ba */ /* not lifted */ 6231 RECOMP_FLAGS_IN(); 6232 MEM32(esi + 0x8) = edi; /* 0x2B07CF5C: mov dword ptr [esi + 8], edi */ 6233 eax = MEM32(ebx + 0x30); /* 0x2B07CF5F: mov eax, dword ptr [ebx + 0x30] */ 6234 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6235 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6236 esp = esp + 8; /* 0x2B07CF62: add esp, 8 */ 6237 _flag_k = FK_ADD; 6238 /* cmp eax, edi */ /* 0x2B07CF65: cmp eax, edi */ 6239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6241 _flag_k = FK_CMP; 6242 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CF85; /* 0x2B07CF67: je 0x2b07cf85 */ 6243 L_2B07CF69: 6244 ecx = eax + (-0x1); /* 0x2B07CF69: lea ecx, [eax - 1] */ 6245 SET_LO8(eax, MEM8(ecx)); /* 0x2B07CF6C: mov al, byte ptr [ecx] */ 6246 /* test LO8(eax), LO8(eax) */ /* 0x2B07CF6E: test al, al */ 6247 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6248 _cf = 0; 6249 _flag_k = FK_NARROW(FK_TEST, 24); 6250 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07CF7C; /* 0x2B07CF70: je 0x2b07cf7c */ 6251 L_2B07CF72: 6252 /* cmp LO8(eax), 0xFFu */ /* 0x2B07CF72: cmp al, 0xff */ 6253 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6255 _flag_k = FK_NARROW(FK_CMP, 24); 6256 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07CF7C; /* 0x2B07CF74: je 0x2b07cf7c */ 6257 L_2B07CF76: 6258 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6259 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07CF76: dec al */ 6260 _flag_k = FK_NARROW(FK_DEC, 24); 6261 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07CF78: mov byte ptr [ecx], al */ 6262 goto L_2B07CF85; /* 0x2B07CF7A: jmp 0x2b07cf85 */ 6263 L_2B07CF7C: 6264 PUSH32(esp, ecx); /* 0x2B07CF7C: push ecx */ 6265 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07CF7D: call 0x2b0ab1ba */ /* not lifted */ 6266 RECOMP_FLAGS_IN(); 6267 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6269 esp = esp + 4; /* 0x2B07CF82: add esp, 4 */ 6270 _flag_k = FK_ADD; 6271 L_2B07CF85: 6272 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CF85: mov ecx, dword ptr [ebp - 0xc] */ 6273 MEM32(ebx + 0x30) = edi; /* 0x2B07CF88: mov dword ptr [ebx + 0x30], edi */ 6274 MEM32(ebx + 0x34) = edi; /* 0x2B07CF8B: mov dword ptr [ebx + 0x34], edi */ 6275 MEM32(ebx + 0x38) = edi; /* 0x2B07CF8E: mov dword ptr [ebx + 0x38], edi */ 6276 edi = POP32_VAL(esp); /* 0x2B07CF91: pop edi */ 6277 esi = POP32_VAL(esp); /* 0x2B07CF92: pop esi */ 6278 ebx = POP32_VAL(esp); /* 0x2B07CF93: pop ebx */ 6279 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CF94: mov dword ptr fs:[0], ecx */ 6280 esp = ebp; /* 0x2B07CF9B: mov esp, ebp */ 6281 ebp = POP32_VAL(esp); /* 0x2B07CF9D: pop ebp */ 6282 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CF9E: ret */ 6283 RECOMP_REGS_OUT(); 6284 } 6285 6286 void sub_2B07CF85(void) { 6287 int _fpu_cmp = 0; 6288 uint32_t _cf = 0; 6289 int _df = 1; 6290 uint32_t _flag_k = FK_NONE; 6291 uint32_t _flag_a = 0, _flag_b = 0; 6292 uint32_t _itail_tgt = 0; 6293 RECOMP_REGS_LOCALS 6294 RECOMP_ENTER(0x2B07CF85u); 6295 6296 L_2B07CF85: 6297 ecx = MEM32(ebp + (-0xC)); /* 0x2B07CF85: mov ecx, dword ptr [ebp - 0xc] */ 6298 MEM32(ebx + 0x30) = edi; /* 0x2B07CF88: mov dword ptr [ebx + 0x30], edi */ 6299 MEM32(ebx + 0x34) = edi; /* 0x2B07CF8B: mov dword ptr [ebx + 0x34], edi */ 6300 MEM32(ebx + 0x38) = edi; /* 0x2B07CF8E: mov dword ptr [ebx + 0x38], edi */ 6301 edi = POP32_VAL(esp); /* 0x2B07CF91: pop edi */ 6302 esi = POP32_VAL(esp); /* 0x2B07CF92: pop esi */ 6303 ebx = POP32_VAL(esp); /* 0x2B07CF93: pop ebx */ 6304 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07CF94: mov dword ptr fs:[0], ecx */ 6305 esp = ebp; /* 0x2B07CF9B: mov esp, ebp */ 6306 ebp = POP32_VAL(esp); /* 0x2B07CF9D: pop ebp */ 6307 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07CF9E: ret */ 6308 RECOMP_REGS_OUT(); 6309 } 6310 6311 void sub_2B07CFA0(void) { 6312 int _fpu_cmp = 0; 6313 uint32_t _cf = 0; 6314 int _df = 1; 6315 uint32_t _flag_k = FK_NONE; 6316 uint32_t _flag_a = 0, _flag_b = 0; 6317 uint32_t _itail_tgt = 0; 6318 RECOMP_REGS_LOCALS 6319 RECOMP_ENTER(0x2B07CFA0u); 6320 6321 L_2B07CFA0: 6322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 6323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6324 ecx = ecx + 4; /* 0x2B07CFA0: add ecx, 4 */ 6325 _flag_k = FK_ADD; 6326 goto L_2B07D490; /* 0x2B07CFA3: jmp 0x2b07d490 */ 6327 L_2B07D490: 6328 PUSH32(esp, esi); /* 0x2B07D490: push esi */ 6329 esi = ecx; /* 0x2B07D491: mov esi, ecx */ 6330 eax = MEM32(esi); /* 0x2B07D493: mov eax, dword ptr [esi] */ 6331 /* test eax, eax */ /* 0x2B07D495: test eax, eax */ 6332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6333 _cf = 0; 6334 _flag_k = FK_TEST; 6335 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D4AE; /* 0x2B07D497: je 0x2b07d4ae */ 6336 L_2B07D499: 6337 PUSH32(esp, eax); /* 0x2B07D499: push eax */ 6338 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07D49A: call dword ptr [0x2b0b5f80] */ 6339 RECOMP_FLAGS_IN(); 6340 ecx = eax; /* 0x2B07D4A0: mov ecx, eax */ 6341 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B07D4A2: call dword ptr [0x2b0b5fb8] */ 6342 RECOMP_FLAGS_IN(); 6343 MEM32(esi) = 0; /* 0x2B07D4A8: mov dword ptr [esi], 0 */ 6344 L_2B07D4AE: 6345 esi = POP32_VAL(esp); /* 0x2B07D4AE: pop esi */ 6346 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07D4AF: ret */ 6347 RECOMP_REGS_OUT(); 6348 } 6349 6350 void sub_2B07CFB0(void) { 6351 int _fpu_cmp = 0; 6352 uint32_t _cf = 0; 6353 int _df = 1; 6354 uint32_t _flag_k = FK_NONE; 6355 uint32_t _flag_a = 0, _flag_b = 0; 6356 uint32_t _itail_tgt = 0; 6357 RECOMP_REGS_LOCALS 6358 RECOMP_ENTER(0x2B07CFB0u); 6359 6360 L_2B07CFB0: 6361 PUSH32(esp, ebp); /* 0x2B07CFB0: push ebp */ 6362 ebp = esp; /* 0x2B07CFB1: mov ebp, esp */ 6363 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07CFB3: push -1 */ 6364 PUSH32(esp, 0x2B0B1CA6u); /* 0x2B07CFB5: push 0x2b0b1ca6 */ 6365 eax = MEM32(FS_BASE + (0)); /* 0x2B07CFBA: mov eax, dword ptr fs:[0] */ 6366 PUSH32(esp, eax); /* 0x2B07CFC0: push eax */ 6367 MEM32(FS_BASE + (0)) = esp; /* 0x2B07CFC1: mov dword ptr fs:[0], esp */ 6368 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6370 esp = esp - 8; /* 0x2B07CFC8: sub esp, 8 */ 6371 _flag_k = FK_CMP; 6372 PUSH32(esp, ebx); /* 0x2B07CFCB: push ebx */ 6373 PUSH32(esp, esi); /* 0x2B07CFCC: push esi */ 6374 esi = ecx; /* 0x2B07CFCD: mov esi, ecx */ 6375 PUSH32(esp, edi); /* 0x2B07CFCF: push edi */ 6376 MEM32(ebp + (-0x10)) = esi; /* 0x2B07CFD0: mov dword ptr [ebp - 0x10], esi */ 6377 edx = MEM32(esi + 0x74); /* 0x2B07CFD3: mov edx, dword ptr [esi + 0x74] */ 6378 eax = MEM32(0x2B0B6048); /* 0x2B07CFD6: mov eax, dword ptr [0x2b0b6048] */ 6379 ecx = MEM32(eax); /* 0x2B07CFDB: mov ecx, dword ptr [eax] */ 6380 edi = MEM32(0x2B0B604C); /* 0x2B07CFDD: mov edi, dword ptr [0x2b0b604c] */ 6381 PUSH32(esp, 1); /* 0x2B07CFE3: push 1 */ 6382 PUSH32(esp, 1); /* 0x2B07CFE5: push 1 */ 6383 PUSH32(esp, edx); /* 0x2B07CFE7: push edx */ 6384 PUSH32(esp, 0x2B0EC3E4u); /* 0x2B07CFE8: push 0x2b0ec3e4 */ 6385 MEM32(ebp + (-0x4)) = 1; /* 0x2B07CFED: mov dword ptr [ebp - 4], 1 */ 6386 RECOMP_ICALL(edi); /* 0x2B07CFF4: call edi */ 6387 RECOMP_FLAGS_IN(); 6388 edx = MEM32(esi + 0x78); /* 0x2B07CFF6: mov edx, dword ptr [esi + 0x78] */ 6389 eax = MEM32(0x2B0B6048); /* 0x2B07CFF9: mov eax, dword ptr [0x2b0b6048] */ 6390 ecx = MEM32(eax); /* 0x2B07CFFE: mov ecx, dword ptr [eax] */ 6391 PUSH32(esp, 1); /* 0x2B07D000: push 1 */ 6392 PUSH32(esp, 1); /* 0x2B07D002: push 1 */ 6393 PUSH32(esp, edx); /* 0x2B07D004: push edx */ 6394 PUSH32(esp, 0x2B0EC3D0u); /* 0x2B07D005: push 0x2b0ec3d0 */ 6395 RECOMP_ICALL(edi); /* 0x2B07D00A: call edi */ 6396 RECOMP_FLAGS_IN(); 6397 edi = MEM32(esi + 0x48); /* 0x2B07D00C: mov edi, dword ptr [esi + 0x48] */ 6398 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6399 ebx = 0; /* 0x2B07D00F: xor ebx, ebx */ 6400 _cf = 0; 6401 _flag_k = FK_TEST; 6402 /* cmp edi, ebx */ /* 0x2B07D011: cmp edi, ebx */ 6403 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6405 _flag_k = FK_CMP; 6406 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D025; /* 0x2B07D013: je 0x2b07d025 */ 6407 L_2B07D015: 6408 ecx = edi; /* 0x2B07D015: mov ecx, edi */ 6409 RECOMP_ICALL(0x2B07DED0u); /* 0x2B07D017: call 0x2b07ded0 */ /* not lifted */ 6410 RECOMP_FLAGS_IN(); 6411 PUSH32(esp, edi); /* 0x2B07D01C: push edi */ 6412 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D01D: call 0x2b0ab1ba */ /* not lifted */ 6413 RECOMP_FLAGS_IN(); 6414 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6415 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6416 esp = esp + 4; /* 0x2B07D022: add esp, 4 */ 6417 _flag_k = FK_ADD; 6418 L_2B07D025: 6419 ecx = esi; /* 0x2B07D025: mov ecx, esi */ 6420 RECOMP_ICALL(0x2B07E1E0u); /* 0x2B07D027: call 0x2b07e1e0 */ /* not lifted */ 6421 RECOMP_FLAGS_IN(); 6422 edi = MEM32(esi + 0x1C); /* 0x2B07D02C: mov edi, dword ptr [esi + 0x1c] */ 6423 /* cmp edi, ebx */ /* 0x2B07D02F: cmp edi, ebx */ 6424 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6426 _flag_k = FK_CMP; 6427 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D044; /* 0x2B07D031: je 0x2b07d044 */ 6428 L_2B07D033: 6429 ecx = edi; /* 0x2B07D033: mov ecx, edi */ 6430 RECOMP_ICALL(MEM32(0x2B0B5A00)); /* 0x2B07D035: call dword ptr [0x2b0b5a00] */ 6431 RECOMP_FLAGS_IN(); 6432 PUSH32(esp, edi); /* 0x2B07D03B: push edi */ 6433 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D03C: call 0x2b0ab1ba */ /* not lifted */ 6434 RECOMP_FLAGS_IN(); 6435 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6437 esp = esp + 4; /* 0x2B07D041: add esp, 4 */ 6438 _flag_k = FK_ADD; 6439 L_2B07D044: 6440 edi = MEM32(esi + 0x20); /* 0x2B07D044: mov edi, dword ptr [esi + 0x20] */ 6441 /* cmp edi, ebx */ /* 0x2B07D047: cmp edi, ebx */ 6442 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6444 _flag_k = FK_CMP; 6445 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D05C; /* 0x2B07D049: je 0x2b07d05c */ 6446 L_2B07D04B: 6447 ecx = edi; /* 0x2B07D04B: mov ecx, edi */ 6448 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B07D04D: call dword ptr [0x2b0b5b2c] */ 6449 RECOMP_FLAGS_IN(); 6450 PUSH32(esp, edi); /* 0x2B07D053: push edi */ 6451 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D054: call 0x2b0ab1ba */ /* not lifted */ 6452 RECOMP_FLAGS_IN(); 6453 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6454 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6455 esp = esp + 4; /* 0x2B07D059: add esp, 4 */ 6456 _flag_k = FK_ADD; 6457 L_2B07D05C: 6458 ecx = MEM32(esi + 0x24); /* 0x2B07D05C: mov ecx, dword ptr [esi + 0x24] */ 6459 /* cmp ecx, ebx */ /* 0x2B07D05F: cmp ecx, ebx */ 6460 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6462 _flag_k = FK_CMP; 6463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D069; /* 0x2B07D061: je 0x2b07d069 */ 6464 L_2B07D063: 6465 eax = MEM32(ecx); /* 0x2B07D063: mov eax, dword ptr [ecx] */ 6466 PUSH32(esp, 1); /* 0x2B07D065: push 1 */ 6467 RECOMP_ICALL(MEM32(eax)); /* 0x2B07D067: call dword ptr [eax] */ 6468 RECOMP_FLAGS_IN(); 6469 L_2B07D069: 6470 ecx = MEM32(esi + 0x2C); /* 0x2B07D069: mov ecx, dword ptr [esi + 0x2c] */ 6471 /* cmp ecx, ebx */ /* 0x2B07D06C: cmp ecx, ebx */ 6472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6474 _flag_k = FK_CMP; 6475 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D076; /* 0x2B07D06E: je 0x2b07d076 */ 6476 L_2B07D070: 6477 edx = MEM32(ecx); /* 0x2B07D070: mov edx, dword ptr [ecx] */ 6478 PUSH32(esp, 1); /* 0x2B07D072: push 1 */ 6479 RECOMP_ICALL(MEM32(edx)); /* 0x2B07D074: call dword ptr [edx] */ 6480 RECOMP_FLAGS_IN(); 6481 L_2B07D076: 6482 edi = MEM32(esi + 0x28); /* 0x2B07D076: mov edi, dword ptr [esi + 0x28] */ 6483 /* cmp edi, ebx */ /* 0x2B07D079: cmp edi, ebx */ 6484 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6485 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6486 _flag_k = FK_CMP; 6487 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D08E; /* 0x2B07D07B: je 0x2b07d08e */ 6488 L_2B07D07D: 6489 ecx = edi; /* 0x2B07D07D: mov ecx, edi */ 6490 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B07D07F: call dword ptr [0x2b0b5bc4] */ 6491 RECOMP_FLAGS_IN(); 6492 PUSH32(esp, edi); /* 0x2B07D085: push edi */ 6493 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D086: call 0x2b0ab1ba */ /* not lifted */ 6494 RECOMP_FLAGS_IN(); 6495 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6497 esp = esp + 4; /* 0x2B07D08B: add esp, 4 */ 6498 _flag_k = FK_ADD; 6499 L_2B07D08E: 6500 ecx = MEM32(esi + 0x34); /* 0x2B07D08E: mov ecx, dword ptr [esi + 0x34] */ 6501 /* cmp ecx, ebx */ /* 0x2B07D091: cmp ecx, ebx */ 6502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6504 _flag_k = FK_CMP; 6505 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D09B; /* 0x2B07D093: je 0x2b07d09b */ 6506 L_2B07D095: 6507 eax = MEM32(ecx); /* 0x2B07D095: mov eax, dword ptr [ecx] */ 6508 PUSH32(esp, 1); /* 0x2B07D097: push 1 */ 6509 RECOMP_ICALL(MEM32(eax)); /* 0x2B07D099: call dword ptr [eax] */ 6510 RECOMP_FLAGS_IN(); 6511 L_2B07D09B: 6512 ecx = MEM32(esi + 0x38); /* 0x2B07D09B: mov ecx, dword ptr [esi + 0x38] */ 6513 /* cmp ecx, ebx */ /* 0x2B07D09E: cmp ecx, ebx */ 6514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6516 _flag_k = FK_CMP; 6517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D0A8; /* 0x2B07D0A0: je 0x2b07d0a8 */ 6518 L_2B07D0A2: 6519 edx = MEM32(ecx); /* 0x2B07D0A2: mov edx, dword ptr [ecx] */ 6520 PUSH32(esp, 1); /* 0x2B07D0A4: push 1 */ 6521 RECOMP_ICALL(MEM32(edx)); /* 0x2B07D0A6: call dword ptr [edx] */ 6522 RECOMP_FLAGS_IN(); 6523 L_2B07D0A8: 6524 ecx = MEM32(esi + 0x3C); /* 0x2B07D0A8: mov ecx, dword ptr [esi + 0x3c] */ 6525 /* cmp ecx, ebx */ /* 0x2B07D0AB: cmp ecx, ebx */ 6526 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6528 _flag_k = FK_CMP; 6529 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D0B5; /* 0x2B07D0AD: je 0x2b07d0b5 */ 6530 L_2B07D0AF: 6531 eax = MEM32(ecx); /* 0x2B07D0AF: mov eax, dword ptr [ecx] */ 6532 PUSH32(esp, 1); /* 0x2B07D0B1: push 1 */ 6533 RECOMP_ICALL(MEM32(eax)); /* 0x2B07D0B3: call dword ptr [eax] */ 6534 RECOMP_FLAGS_IN(); 6535 L_2B07D0B5: 6536 ecx = MEM32(esi + 0x40); /* 0x2B07D0B5: mov ecx, dword ptr [esi + 0x40] */ 6537 /* cmp ecx, ebx */ /* 0x2B07D0B8: cmp ecx, ebx */ 6538 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6540 _flag_k = FK_CMP; 6541 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D0C2; /* 0x2B07D0BA: je 0x2b07d0c2 */ 6542 L_2B07D0BC: 6543 edx = MEM32(ecx); /* 0x2B07D0BC: mov edx, dword ptr [ecx] */ 6544 PUSH32(esp, 1); /* 0x2B07D0BE: push 1 */ 6545 RECOMP_ICALL(MEM32(edx)); /* 0x2B07D0C0: call dword ptr [edx] */ 6546 RECOMP_FLAGS_IN(); 6547 L_2B07D0C2: 6548 ecx = MEM32(esi + 0x44); /* 0x2B07D0C2: mov ecx, dword ptr [esi + 0x44] */ 6549 /* cmp ecx, ebx */ /* 0x2B07D0C5: cmp ecx, ebx */ 6550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6552 _flag_k = FK_CMP; 6553 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D0CF; /* 0x2B07D0C7: je 0x2b07d0cf */ 6554 L_2B07D0C9: 6555 eax = MEM32(ecx); /* 0x2B07D0C9: mov eax, dword ptr [ecx] */ 6556 PUSH32(esp, 1); /* 0x2B07D0CB: push 1 */ 6557 RECOMP_ICALL(MEM32(eax)); /* 0x2B07D0CD: call dword ptr [eax] */ 6558 RECOMP_FLAGS_IN(); 6559 L_2B07D0CF: 6560 edi = MEM32(esi + 0x30); /* 0x2B07D0CF: mov edi, dword ptr [esi + 0x30] */ 6561 /* cmp edi, ebx */ /* 0x2B07D0D2: cmp edi, ebx */ 6562 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6564 _flag_k = FK_CMP; 6565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D0E7; /* 0x2B07D0D4: je 0x2b07d0e7 */ 6566 L_2B07D0D6: 6567 ecx = edi; /* 0x2B07D0D6: mov ecx, edi */ 6568 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B07D0D8: call dword ptr [0x2b0b5bc4] */ 6569 RECOMP_FLAGS_IN(); 6570 PUSH32(esp, edi); /* 0x2B07D0DE: push edi */ 6571 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D0DF: call 0x2b0ab1ba */ /* not lifted */ 6572 RECOMP_FLAGS_IN(); 6573 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6574 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6575 esp = esp + 4; /* 0x2B07D0E4: add esp, 4 */ 6576 _flag_k = FK_ADD; 6577 L_2B07D0E7: 6578 MEM32(0x2B0EF078) = ebx; /* 0x2B07D0E7: mov dword ptr [0x2b0ef078], ebx */ 6579 eax = MEM32(esi + 0x64); /* 0x2B07D0ED: mov eax, dword ptr [esi + 0x64] */ 6580 ecx = MEM32(eax); /* 0x2B07D0F0: mov ecx, dword ptr [eax] */ 6581 edi = esi + 0x60; /* 0x2B07D0F2: lea edi, [esi + 0x60] */ 6582 PUSH32(esp, eax); /* 0x2B07D0F5: push eax */ 6583 PUSH32(esp, ecx); /* 0x2B07D0F6: push ecx */ 6584 ecx = ebp + (-0x14); /* 0x2B07D0F7: lea ecx, [ebp - 0x14] */ 6585 PUSH32(esp, ecx); /* 0x2B07D0FA: push ecx */ 6586 ecx = edi; /* 0x2B07D0FB: mov ecx, edi */ 6587 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07D0FD: mov byte ptr [ebp - 4], 0 */ 6588 RECOMP_ICALL(0x2B07F590u); /* 0x2B07D101: call 0x2b07f590 */ /* not lifted */ 6589 RECOMP_FLAGS_IN(); 6590 eax = MEM32(edi + 0x4); /* 0x2B07D106: mov eax, dword ptr [edi + 4] */ 6591 PUSH32(esp, eax); /* 0x2B07D109: push eax */ 6592 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D10A: call 0x2b0ab1ba */ /* not lifted */ 6593 RECOMP_FLAGS_IN(); 6594 eax = MEM32(edi + 0x8); /* 0x2B07D10F: mov eax, dword ptr [edi + 8] */ 6595 PUSH32(esp, eax); /* 0x2B07D112: push eax */ 6596 MEM32(edi + 0x4) = ebx; /* 0x2B07D113: mov dword ptr [edi + 4], ebx */ 6597 MEM32(edi + 0x10) = ebx; /* 0x2B07D116: mov dword ptr [edi + 0x10], ebx */ 6598 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D119: call 0x2b0ab1ba */ /* not lifted */ 6599 RECOMP_FLAGS_IN(); 6600 MEM32(edi + 0x8) = ebx; /* 0x2B07D11E: mov dword ptr [edi + 8], ebx */ 6601 ebx = MEM32(esi + 0x58); /* 0x2B07D121: mov ebx, dword ptr [esi + 0x58] */ 6602 edi = MEM32(esi + 0x54); /* 0x2B07D124: mov edi, dword ptr [esi + 0x54] */ 6603 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6604 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6605 esp = esp + 8; /* 0x2B07D127: add esp, 8 */ 6606 _flag_k = FK_ADD; 6607 /* cmp edi, ebx */ /* 0x2B07D12A: cmp edi, ebx */ 6608 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6610 _flag_k = FK_CMP; 6611 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07D12C: mov dword ptr [ebp - 4], 0xffffffff */ 6612 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D153; /* 0x2B07D133: je 0x2b07d153 */ 6613 L_2B07D135: 6614 ecx = MEM32(edi + 0x8); /* 0x2B07D135: mov ecx, dword ptr [edi + 8] */ 6615 /* test ecx, ecx */ /* 0x2B07D138: test ecx, ecx */ 6616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6617 _cf = 0; 6618 _flag_k = FK_TEST; 6619 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D142; /* 0x2B07D13A: je 0x2b07d142 */ 6620 L_2B07D13C: 6621 edx = MEM32(ecx); /* 0x2B07D13C: mov edx, dword ptr [ecx] */ 6622 PUSH32(esp, 1); /* 0x2B07D13E: push 1 */ 6623 RECOMP_ICALL(MEM32(edx)); /* 0x2B07D140: call dword ptr [edx] */ 6624 RECOMP_FLAGS_IN(); 6625 L_2B07D142: 6626 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6627 eax = 0; /* 0x2B07D142: xor eax, eax */ 6628 _cf = 0; 6629 _flag_k = FK_TEST; 6630 MEM32(edi + 0x8) = eax; /* 0x2B07D144: mov dword ptr [edi + 8], eax */ 6631 MEM32(edi) = eax; /* 0x2B07D147: mov dword ptr [edi], eax */ 6632 MEM32(edi + 0x4) = eax; /* 0x2B07D149: mov dword ptr [edi + 4], eax */ 6633 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 6634 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6635 edi = edi + 0x14u; /* 0x2B07D14C: add edi, 0x14 */ 6636 _flag_k = FK_ADD; 6637 /* cmp edi, ebx */ /* 0x2B07D14F: cmp edi, ebx */ 6638 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 6639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6640 _flag_k = FK_CMP; 6641 RECOMP_BACKEDGE(); 6642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07D135; /* 0x2B07D151: jne 0x2b07d135 */ 6643 L_2B07D153: 6644 eax = MEM32(esi + 0x54); /* 0x2B07D153: mov eax, dword ptr [esi + 0x54] */ 6645 PUSH32(esp, eax); /* 0x2B07D156: push eax */ 6646 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07D157: call 0x2b0ab1ba */ /* not lifted */ 6647 RECOMP_FLAGS_IN(); 6648 ecx = MEM32(ebp + (-0xC)); /* 0x2B07D15C: mov ecx, dword ptr [ebp - 0xc] */ 6649 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6651 esp = esp + 4; /* 0x2B07D15F: add esp, 4 */ 6652 _flag_k = FK_ADD; 6653 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6654 eax = 0; /* 0x2B07D162: xor eax, eax */ 6655 _cf = 0; 6656 _flag_k = FK_TEST; 6657 edi = POP32_VAL(esp); /* 0x2B07D164: pop edi */ 6658 MEM32(esi + 0x54) = eax; /* 0x2B07D165: mov dword ptr [esi + 0x54], eax */ 6659 MEM32(esi + 0x58) = eax; /* 0x2B07D168: mov dword ptr [esi + 0x58], eax */ 6660 MEM32(esi + 0x5C) = eax; /* 0x2B07D16B: mov dword ptr [esi + 0x5c], eax */ 6661 esi = POP32_VAL(esp); /* 0x2B07D16E: pop esi */ 6662 ebx = POP32_VAL(esp); /* 0x2B07D16F: pop ebx */ 6663 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07D170: mov dword ptr fs:[0], ecx */ 6664 esp = ebp; /* 0x2B07D177: mov esp, ebp */ 6665 ebp = POP32_VAL(esp); /* 0x2B07D179: pop ebp */ 6666 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07D17A: ret */ 6667 RECOMP_REGS_OUT(); 6668 } 6669 6670 void sub_2B07D180(void) { 6671 int _fpu_cmp = 0; 6672 uint32_t _cf = 0; 6673 int _df = 1; 6674 uint32_t _flag_k = FK_NONE; 6675 uint32_t _flag_a = 0, _flag_b = 0; 6676 uint32_t _itail_tgt = 0; 6677 RECOMP_REGS_LOCALS 6678 RECOMP_ENTER(0x2B07D180u); 6679 6680 L_2B07D180: 6681 PUSH32(esp, ebp); /* 0x2B07D180: push ebp */ 6682 ebp = esp; /* 0x2B07D181: mov ebp, esp */ 6683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 6684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6685 esp = esp - 0x28u; /* 0x2B07D183: sub esp, 0x28 */ 6686 _flag_k = FK_CMP; 6687 SET_LO8(eax, MEM8(0x2B0EF054)); /* 0x2B07D186: mov al, byte ptr [0x2b0ef054] */ 6688 /* test LO8(eax), 1 */ /* 0x2B07D18B: test al, 1 */ 6689 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6690 _cf = 0; 6691 _flag_k = FK_NARROW(FK_TEST, 24); 6692 PUSH32(esp, ebx); /* 0x2B07D18D: push ebx */ 6693 PUSH32(esp, esi); /* 0x2B07D18E: push esi */ 6694 PUSH32(esp, edi); /* 0x2B07D18F: push edi */ 6695 edi = MEM32(0x2B0B5690); /* 0x2B07D190: mov edi, dword ptr [0x2b0b5690] */ 6696 esi = ecx; /* 0x2B07D196: mov esi, ecx */ 6697 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07D1B0; /* 0x2B07D198: jne 0x2b07d1b0 */ 6698 L_2B07D19A: 6699 _flag_a = (uint32_t)((LO8(eax) | 1)) << 24; _flag_b = (uint32_t)((LO8(eax) | 1)) << 24; 6700 SET_LO8(eax, LO8(eax) | 1); /* 0x2B07D19A: or al, 1 */ 6701 _cf = 0; 6702 _flag_k = FK_NARROW(FK_TEST, 24); 6703 MEM8(0x2B0EF054) = (uint8_t)(LO8(eax)); /* 0x2B07D19C: mov byte ptr [0x2b0ef054], al */ 6704 RECOMP_ICALL(edi); /* 0x2B07D1A1: call edi */ 6705 RECOMP_FLAGS_IN(); 6706 ecx = eax; /* 0x2B07D1A3: mov ecx, eax */ 6707 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B07D1A5: call dword ptr [0x2b0b5688] */ 6708 RECOMP_FLAGS_IN(); 6709 MEM32(0x2B0EF050) = eax; /* 0x2B07D1AB: mov dword ptr [0x2b0ef050], eax */ 6710 L_2B07D1B0: 6711 SET_LO8(ecx, MEM8(0x2B0EF054)); /* 0x2B07D1B0: mov cl, byte ptr [0x2b0ef054] */ 6712 SET_LO8(eax, 2); /* 0x2B07D1B6: mov al, 2 */ 6713 /* test LO8(eax), LO8(ecx) */ /* 0x2B07D1B8: test al, cl */ 6714 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 6715 _cf = 0; 6716 _flag_k = FK_NARROW(FK_TEST, 24); 6717 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07D1D3; /* 0x2B07D1BA: jne 0x2b07d1d3 */ 6718 L_2B07D1BC: 6719 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 6720 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B07D1BC: or cl, al */ 6721 _cf = 0; 6722 _flag_k = FK_NARROW(FK_TEST, 24); 6723 MEM8(0x2B0EF054) = (uint8_t)(LO8(ecx)); /* 0x2B07D1BE: mov byte ptr [0x2b0ef054], cl */ 6724 RECOMP_ICALL(edi); /* 0x2B07D1C4: call edi */ 6725 RECOMP_FLAGS_IN(); 6726 ecx = eax; /* 0x2B07D1C6: mov ecx, eax */ 6727 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B07D1C8: call dword ptr [0x2b0b568c] */ 6728 RECOMP_FLAGS_IN(); 6729 MEM32(0x2B0EF04C) = eax; /* 0x2B07D1CE: mov dword ptr [0x2b0ef04c], eax */ 6730 L_2B07D1D3: 6731 ecx = MEM32(esi + 0x1C); /* 0x2B07D1D3: mov ecx, dword ptr [esi + 0x1c] */ 6732 eax = ebp + (-0x20); /* 0x2B07D1D6: lea eax, [ebp - 0x20] */ 6733 PUSH32(esp, eax); /* 0x2B07D1D9: push eax */ 6734 RECOMP_ICALL(MEM32(0x2B0B57C0)); /* 0x2B07D1DA: call dword ptr [0x2b0b57c0] */ 6735 RECOMP_FLAGS_IN(); 6736 ecx = MEM32(eax); /* 0x2B07D1E0: mov ecx, dword ptr [eax] */ 6737 edx = MEM32(eax + 0x4); /* 0x2B07D1E2: mov edx, dword ptr [eax + 4] */ 6738 eax = MEM32(0x2B0EF050); /* 0x2B07D1E5: mov eax, dword ptr [0x2b0ef050] */ 6739 edi = MEM32(ebp + 0x8); /* 0x2B07D1EA: mov edi, dword ptr [ebp + 8] */ 6740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6742 eax = eax - ecx; /* 0x2B07D1ED: sub eax, ecx */ 6743 _flag_k = FK_CMP; 6744 /* cmp edi, eax */ /* 0x2B07D1EF: cmp edi, eax */ 6745 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6747 _flag_k = FK_CMP; 6748 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07D1F8; /* 0x2B07D1F1: jle 0x2b07d1f8 */ 6749 L_2B07D1F3: 6750 MEM32(ebp + 0x8) = eax; /* 0x2B07D1F3: mov dword ptr [ebp + 8], eax */ 6751 edi = eax; /* 0x2B07D1F6: mov edi, eax */ 6752 L_2B07D1F8: 6753 /* test edi, edi */ /* 0x2B07D1F8: test edi, edi */ 6754 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6755 _cf = 0; 6756 _flag_k = FK_TEST; 6757 if (TEST_NS(_flag_a, _flag_b)) goto L_2B07D206; /* 0x2B07D1FA: jge 0x2b07d206 */ 6758 L_2B07D1FC: 6759 MEM32(ebp + 0x8) = 0; /* 0x2B07D1FC: mov dword ptr [ebp + 8], 0 */ 6760 edi = MEM32(ebp + 0x8); /* 0x2B07D203: mov edi, dword ptr [ebp + 8] */ 6761 L_2B07D206: 6762 eax = MEM32(0x2B0EF04C); /* 0x2B07D206: mov eax, dword ptr [0x2b0ef04c] */ 6763 ebx = MEM32(ebp + 0xC); /* 0x2B07D20B: mov ebx, dword ptr [ebp + 0xc] */ 6764 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6766 eax = eax - edx; /* 0x2B07D20E: sub eax, edx */ 6767 _flag_k = FK_CMP; 6768 /* cmp ebx, eax */ /* 0x2B07D210: cmp ebx, eax */ 6769 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6771 _flag_k = FK_CMP; 6772 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07D216; /* 0x2B07D212: jle 0x2b07d216 */ 6773 L_2B07D214: 6774 ebx = eax; /* 0x2B07D214: mov ebx, eax */ 6775 L_2B07D216: 6776 /* test ebx, ebx */ /* 0x2B07D216: test ebx, ebx */ 6777 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 6778 _cf = 0; 6779 _flag_k = FK_TEST; 6780 if (TEST_NS(_flag_a, _flag_b)) goto L_2B07D21C; /* 0x2B07D218: jge 0x2b07d21c */ 6781 L_2B07D21A: 6782 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6783 ebx = 0; /* 0x2B07D21A: xor ebx, ebx */ 6784 _cf = 0; 6785 _flag_k = FK_TEST; 6786 L_2B07D21C: 6787 ecx = MEM32(0x2B0B6048); /* 0x2B07D21C: mov ecx, dword ptr [0x2b0b6048] */ 6788 ecx = MEM32(ecx); /* 0x2B07D222: mov ecx, dword ptr [ecx] */ 6789 PUSH32(esp, 1); /* 0x2B07D224: push 1 */ 6790 PUSH32(esp, 1); /* 0x2B07D226: push 1 */ 6791 PUSH32(esp, edi); /* 0x2B07D228: push edi */ 6792 PUSH32(esp, 0x2B0EC41Cu); /* 0x2B07D229: push 0x2b0ec41c */ 6793 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B07D22E: call dword ptr [0x2b0b604c] */ 6794 RECOMP_FLAGS_IN(); 6795 edx = MEM32(0x2B0B6048); /* 0x2B07D234: mov edx, dword ptr [0x2b0b6048] */ 6796 ecx = MEM32(edx); /* 0x2B07D23A: mov ecx, dword ptr [edx] */ 6797 PUSH32(esp, 1); /* 0x2B07D23C: push 1 */ 6798 PUSH32(esp, 1); /* 0x2B07D23E: push 1 */ 6799 PUSH32(esp, ebx); /* 0x2B07D240: push ebx */ 6800 PUSH32(esp, 0x2B0EC410u); /* 0x2B07D241: push 0x2b0ec410 */ 6801 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B07D246: call dword ptr [0x2b0b604c] */ 6802 RECOMP_FLAGS_IN(); 6803 ecx = MEM32(esi + 0x1C); /* 0x2B07D24C: mov ecx, dword ptr [esi + 0x1c] */ 6804 eax = ebp + (-0x18); /* 0x2B07D24F: lea eax, [ebp - 0x18] */ 6805 MEM32(esi) = edi; /* 0x2B07D252: mov dword ptr [esi], edi */ 6806 PUSH32(esp, eax); /* 0x2B07D254: push eax */ 6807 MEM32(esi + 0x4) = ebx; /* 0x2B07D255: mov dword ptr [esi + 4], ebx */ 6808 MEM32(ebp + (-0x18)) = edi; /* 0x2B07D258: mov dword ptr [ebp - 0x18], edi */ 6809 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07D25B: mov dword ptr [ebp - 0x14], ebx */ 6810 RECOMP_ICALL(MEM32(0x2B0B59EC)); /* 0x2B07D25E: call dword ptr [0x2b0b59ec] */ 6811 RECOMP_FLAGS_IN(); 6812 ecx = ebp + (-0x20); /* 0x2B07D264: lea ecx, [ebp - 0x20] */ 6813 PUSH32(esp, ecx); /* 0x2B07D267: push ecx */ 6814 ecx = MEM32(esi + 0x1C); /* 0x2B07D268: mov ecx, dword ptr [esi + 0x1c] */ 6815 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B07D26B: call dword ptr [0x2b0b59f0] */ 6816 RECOMP_FLAGS_IN(); 6817 edx = MEM32(eax); /* 0x2B07D271: mov edx, dword ptr [eax] */ 6818 ecx = ebp + (-0x20); /* 0x2B07D273: lea ecx, [ebp - 0x20] */ 6819 MEM32(ebp + (-0x8)) = edx; /* 0x2B07D276: mov dword ptr [ebp - 8], edx */ 6820 eax = MEM32(eax + 0x4); /* 0x2B07D279: mov eax, dword ptr [eax + 4] */ 6821 PUSH32(esp, ecx); /* 0x2B07D27C: push ecx */ 6822 ecx = MEM32(esi + 0x1C); /* 0x2B07D27D: mov ecx, dword ptr [esi + 0x1c] */ 6823 MEM32(ebp + (-0x4)) = eax; /* 0x2B07D280: mov dword ptr [ebp - 4], eax */ 6824 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B07D283: call dword ptr [0x2b0b59fc] */ 6825 RECOMP_FLAGS_IN(); 6826 edx = MEM32(eax); /* 0x2B07D289: mov edx, dword ptr [eax] */ 6827 edi = MEM32(eax + 0x4); /* 0x2B07D28B: mov edi, dword ptr [eax + 4] */ 6828 ecx = MEM32(esi + 0x20); /* 0x2B07D28E: mov ecx, dword ptr [esi + 0x20] */ 6829 eax = ebp + (-0x8); /* 0x2B07D291: lea eax, [ebp - 8] */ 6830 PUSH32(esp, eax); /* 0x2B07D294: push eax */ 6831 MEM32(ebp + (-0x28)) = edx; /* 0x2B07D295: mov dword ptr [ebp - 0x28], edx */ 6832 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B07D298: call dword ptr [0x2b0b5b00] */ 6833 RECOMP_FLAGS_IN(); 6834 ecx = MEM32(esi + 0x24); /* 0x2B07D29E: mov ecx, dword ptr [esi + 0x24] */ 6835 edx = MEM32(ecx); /* 0x2B07D2A1: mov edx, dword ptr [ecx] */ 6836 eax = ebp + (-0x8); /* 0x2B07D2A3: lea eax, [ebp - 8] */ 6837 PUSH32(esp, eax); /* 0x2B07D2A6: push eax */ 6838 RECOMP_ICALL(MEM32(edx + 0x14)); /* 0x2B07D2A7: call dword ptr [edx + 0x14] */ 6839 RECOMP_FLAGS_IN(); 6840 ecx = MEM32(esi + 0x28); /* 0x2B07D2AA: mov ecx, dword ptr [esi + 0x28] */ 6841 eax = MEM32(ecx + 0x34); /* 0x2B07D2AD: mov eax, dword ptr [ecx + 0x34] */ 6842 edx = MEM32(esi + 0x8); /* 0x2B07D2B0: mov edx, dword ptr [esi + 8] */ 6843 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 6844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6845 edx = edx - eax; /* 0x2B07D2B3: sub edx, eax */ 6846 _flag_k = FK_CMP; 6847 eax = MEM32(ebp + 0x8); /* 0x2B07D2B5: mov eax, dword ptr [ebp + 8] */ 6848 edx = edx + eax + 0x3; /* 0x2B07D2B8: lea edx, [edx + eax + 3] */ 6849 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(2); 6850 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6851 ebx = ebx + 2; /* 0x2B07D2BC: add ebx, 2 */ 6852 _flag_k = FK_ADD; 6853 eax = ebp + (-0x10); /* 0x2B07D2BF: lea eax, [ebp - 0x10] */ 6854 MEM32(ebp + (-0xC)) = ebx; /* 0x2B07D2C2: mov dword ptr [ebp - 0xc], ebx */ 6855 ebx = MEM32(0x2B0B5BB8); /* 0x2B07D2C5: mov ebx, dword ptr [0x2b0b5bb8] */ 6856 PUSH32(esp, eax); /* 0x2B07D2CB: push eax */ 6857 MEM32(ebp + (-0x10)) = edx; /* 0x2B07D2CC: mov dword ptr [ebp - 0x10], edx */ 6858 RECOMP_ICALL(ebx); /* 0x2B07D2CF: call ebx */ 6859 RECOMP_FLAGS_IN(); 6860 ecx = MEM32(ebp + (-0x8)); /* 0x2B07D2D1: mov ecx, dword ptr [ebp - 8] */ 6861 eax = MEM32(ebp + (-0x4)); /* 0x2B07D2D4: mov eax, dword ptr [ebp - 4] */ 6862 MEM32(ebp + (-0x10)) = ecx; /* 0x2B07D2D7: mov dword ptr [ebp - 0x10], ecx */ 6863 ecx = MEM32(esi + 0x30); /* 0x2B07D2DA: mov ecx, dword ptr [esi + 0x30] */ 6864 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x38)); 6865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6866 edi = edi - MEM32(ecx + 0x38); /* 0x2B07D2DD: sub edi, dword ptr [ecx + 0x38] */ 6867 _flag_k = FK_CMP; 6868 edx = ebp + (-0x10); /* 0x2B07D2E0: lea edx, [ebp - 0x10] */ 6869 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6870 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6871 edi = edi + eax; /* 0x2B07D2E3: add edi, eax */ 6872 _flag_k = FK_ADD; 6873 PUSH32(esp, edx); /* 0x2B07D2E5: push edx */ 6874 MEM32(ebp + (-0xC)) = edi; /* 0x2B07D2E6: mov dword ptr [ebp - 0xc], edi */ 6875 RECOMP_ICALL(ebx); /* 0x2B07D2E9: call ebx */ 6876 RECOMP_FLAGS_IN(); 6877 PUSH32(esp, 0); /* 0x2B07D2EB: push 0 */ 6878 PUSH32(esp, 0); /* 0x2B07D2ED: push 0 */ 6879 ecx = esi; /* 0x2B07D2EF: mov ecx, esi */ 6880 RECOMP_ICALL(0x2B07D860u); /* 0x2B07D2F1: call 0x2b07d860 */ /* not lifted */ 6881 RECOMP_FLAGS_IN(); 6882 edi = POP32_VAL(esp); /* 0x2B07D2F6: pop edi */ 6883 esi = POP32_VAL(esp); /* 0x2B07D2F7: pop esi */ 6884 ebx = POP32_VAL(esp); /* 0x2B07D2F8: pop ebx */ 6885 esp = ebp; /* 0x2B07D2F9: mov esp, ebp */ 6886 ebp = POP32_VAL(esp); /* 0x2B07D2FB: pop ebp */ 6887 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07D2FC: ret 8 */ 6888 RECOMP_REGS_OUT(); 6889 } 6890 6891 void sub_2B07D300(void) { 6892 int _fpu_cmp = 0; 6893 uint32_t _cf = 0; 6894 int _df = 1; 6895 uint32_t _flag_k = FK_NONE; 6896 uint32_t _flag_a = 0, _flag_b = 0; 6897 uint32_t _itail_tgt = 0; 6898 RECOMP_REGS_LOCALS 6899 RECOMP_ENTER(0x2B07D300u); 6900 6901 L_2B07D300: 6902 PUSH32(esp, ebp); /* 0x2B07D300: push ebp */ 6903 ebp = esp; /* 0x2B07D301: mov ebp, esp */ 6904 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 6905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6906 esp = esp - 0x10u; /* 0x2B07D303: sub esp, 0x10 */ 6907 _flag_k = FK_CMP; 6908 SET_LO8(eax, MEM8(0x2B0EF048)); /* 0x2B07D306: mov al, byte ptr [0x2b0ef048] */ 6909 /* test LO8(eax), 1 */ /* 0x2B07D30B: test al, 1 */ 6910 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6911 _cf = 0; 6912 _flag_k = FK_NARROW(FK_TEST, 24); 6913 PUSH32(esp, ebx); /* 0x2B07D30D: push ebx */ 6914 PUSH32(esp, esi); /* 0x2B07D30E: push esi */ 6915 PUSH32(esp, edi); /* 0x2B07D30F: push edi */ 6916 edi = MEM32(0x2B0B5690); /* 0x2B07D310: mov edi, dword ptr [0x2b0b5690] */ 6917 esi = ecx; /* 0x2B07D316: mov esi, ecx */ 6918 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07D330; /* 0x2B07D318: jne 0x2b07d330 */ 6919 L_2B07D31A: 6920 _flag_a = (uint32_t)((LO8(eax) | 1)) << 24; _flag_b = (uint32_t)((LO8(eax) | 1)) << 24; 6921 SET_LO8(eax, LO8(eax) | 1); /* 0x2B07D31A: or al, 1 */ 6922 _cf = 0; 6923 _flag_k = FK_NARROW(FK_TEST, 24); 6924 MEM8(0x2B0EF048) = (uint8_t)(LO8(eax)); /* 0x2B07D31C: mov byte ptr [0x2b0ef048], al */ 6925 RECOMP_ICALL(edi); /* 0x2B07D321: call edi */ 6926 RECOMP_FLAGS_IN(); 6927 ecx = eax; /* 0x2B07D323: mov ecx, eax */ 6928 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B07D325: call dword ptr [0x2b0b5688] */ 6929 RECOMP_FLAGS_IN(); 6930 MEM32(0x2B0EF044) = eax; /* 0x2B07D32B: mov dword ptr [0x2b0ef044], eax */ 6931 L_2B07D330: 6932 SET_LO8(ecx, MEM8(0x2B0EF048)); /* 0x2B07D330: mov cl, byte ptr [0x2b0ef048] */ 6933 SET_LO8(eax, 2); /* 0x2B07D336: mov al, 2 */ 6934 /* test LO8(eax), LO8(ecx) */ /* 0x2B07D338: test al, cl */ 6935 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 6936 _cf = 0; 6937 _flag_k = FK_NARROW(FK_TEST, 24); 6938 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07D353; /* 0x2B07D33A: jne 0x2b07d353 */ 6939 L_2B07D33C: 6940 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 6941 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B07D33C: or cl, al */ 6942 _cf = 0; 6943 _flag_k = FK_NARROW(FK_TEST, 24); 6944 MEM8(0x2B0EF048) = (uint8_t)(LO8(ecx)); /* 0x2B07D33E: mov byte ptr [0x2b0ef048], cl */ 6945 RECOMP_ICALL(edi); /* 0x2B07D344: call edi */ 6946 RECOMP_FLAGS_IN(); 6947 ecx = eax; /* 0x2B07D346: mov ecx, eax */ 6948 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B07D348: call dword ptr [0x2b0b568c] */ 6949 RECOMP_FLAGS_IN(); 6950 MEM32(0x2B0EF040) = eax; /* 0x2B07D34E: mov dword ptr [0x2b0ef040], eax */ 6951 L_2B07D353: 6952 edi = MEM32(ebp + 0x8); /* 0x2B07D353: mov edi, dword ptr [ebp + 8] */ 6953 ecx = MEM32(esi + 0x1C); /* 0x2B07D356: mov ecx, dword ptr [esi + 0x1c] */ 6954 PUSH32(esp, edi); /* 0x2B07D359: push edi */ 6955 RECOMP_ICALL(MEM32(0x2B0B59F8)); /* 0x2B07D35A: call dword ptr [0x2b0b59f8] */ 6956 RECOMP_FLAGS_IN(); 6957 ecx = MEM32(esi + 0x1C); /* 0x2B07D360: mov ecx, dword ptr [esi + 0x1c] */ 6958 ebx = MEM32(0x2B0B59FC); /* 0x2B07D363: mov ebx, dword ptr [0x2b0b59fc] */ 6959 eax = ebp + (-0x8); /* 0x2B07D369: lea eax, [ebp - 8] */ 6960 PUSH32(esp, eax); /* 0x2B07D36C: push eax */ 6961 RECOMP_ICALL(ebx); /* 0x2B07D36D: call ebx */ 6962 RECOMP_FLAGS_IN(); 6963 ecx = MEM32(eax); /* 0x2B07D36F: mov ecx, dword ptr [eax] */ 6964 MEM32(esi + 0x8) = ecx; /* 0x2B07D371: mov dword ptr [esi + 8], ecx */ 6965 edx = MEM32(eax + 0x4); /* 0x2B07D374: mov edx, dword ptr [eax + 4] */ 6966 ecx = MEM32(esi + 0x24); /* 0x2B07D377: mov ecx, dword ptr [esi + 0x24] */ 6967 MEM32(esi + 0xC) = edx; /* 0x2B07D37A: mov dword ptr [esi + 0xc], edx */ 6968 eax = MEM32(ecx); /* 0x2B07D37D: mov eax, dword ptr [ecx] */ 6969 PUSH32(esp, edi); /* 0x2B07D37F: push edi */ 6970 RECOMP_ICALL(MEM32(eax + 0x18)); /* 0x2B07D380: call dword ptr [eax + 0x18] */ 6971 RECOMP_FLAGS_IN(); 6972 ecx = ebp + (-0x8); /* 0x2B07D383: lea ecx, [ebp - 8] */ 6973 PUSH32(esp, ecx); /* 0x2B07D386: push ecx */ 6974 ecx = MEM32(esi + 0x1C); /* 0x2B07D387: mov ecx, dword ptr [esi + 0x1c] */ 6975 RECOMP_ICALL(ebx); /* 0x2B07D38A: call ebx */ 6976 RECOMP_FLAGS_IN(); 6977 edx = MEM32(eax); /* 0x2B07D38C: mov edx, dword ptr [eax] */ 6978 ecx = ebp + (-0x10); /* 0x2B07D38E: lea ecx, [ebp - 0x10] */ 6979 MEM32(ebp + (-0x10)) = edx; /* 0x2B07D391: mov dword ptr [ebp - 0x10], edx */ 6980 eax = MEM32(eax + 0x4); /* 0x2B07D394: mov eax, dword ptr [eax + 4] */ 6981 PUSH32(esp, ecx); /* 0x2B07D397: push ecx */ 6982 ecx = MEM32(esi + 0x20); /* 0x2B07D398: mov ecx, dword ptr [esi + 0x20] */ 6983 MEM32(ebp + (-0xC)) = eax; /* 0x2B07D39B: mov dword ptr [ebp - 0xc], eax */ 6984 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B07D39E: call dword ptr [0x2b0b5b04] */ 6985 RECOMP_FLAGS_IN(); 6986 eax = MEM32(edi); /* 0x2B07D3A4: mov eax, dword ptr [edi] */ 6987 ecx = MEM32(0x2B0EF080); /* 0x2B07D3A6: mov ecx, dword ptr [0x2b0ef080] */ 6988 MEM32(ebp + (-0x4)) = eax; /* 0x2B07D3AC: mov dword ptr [ebp - 4], eax */ 6989 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D3AF: cdq */ 6990 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B07D3B0: idiv ecx */ 6991 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 6992 else { eax = 0; edx = 0; } } 6993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6994 eax = eax + 1; /* 0x2B07D3B2: inc eax */ 6995 _flag_k = FK_INC; 6996 MEM32(ebp + 0x8) = eax; /* 0x2B07D3B3: mov dword ptr [ebp + 8], eax */ 6997 eax = MEM32(edi + 0x4); /* 0x2B07D3B6: mov eax, dword ptr [edi + 4] */ 6998 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D3B9: cdq */ 6999 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B07D3BA: idiv ecx */ 7000 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7001 else { eax = 0; edx = 0; } } 7002 ebx = eax; /* 0x2B07D3BC: mov ebx, eax */ 7003 eax = MEM32(ebp + (-0x4)); /* 0x2B07D3BE: mov eax, dword ptr [ebp - 4] */ 7004 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D3C1: cdq */ 7005 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B07D3C2: idiv ecx */ 7006 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7007 else { eax = 0; edx = 0; } } 7008 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 7009 ebx = ebx + 1; /* 0x2B07D3C4: inc ebx */ 7010 _flag_k = FK_INC; 7011 /* test edx, edx */ /* 0x2B07D3C5: test edx, edx */ 7012 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7013 _cf = 0; 7014 _flag_k = FK_TEST; 7015 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D3CC; /* 0x2B07D3C7: je 0x2b07d3cc */ 7016 L_2B07D3C9: 7017 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(1); 7018 MEM32(ebp + 0x8) = MEM32(ebp + 0x8) + 1; /* 0x2B07D3C9: inc dword ptr [ebp + 8] */ 7019 _flag_k = FK_INC; 7020 L_2B07D3CC: 7021 eax = MEM32(edi + 0x4); /* 0x2B07D3CC: mov eax, dword ptr [edi + 4] */ 7022 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D3CF: cdq */ 7023 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B07D3D0: idiv ecx */ 7024 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7025 else { eax = 0; edx = 0; } } 7026 /* test edx, edx */ /* 0x2B07D3D2: test edx, edx */ 7027 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7028 _cf = 0; 7029 _flag_k = FK_TEST; 7030 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D3D7; /* 0x2B07D3D4: je 0x2b07d3d7 */ 7031 L_2B07D3D6: 7032 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 7033 ebx = ebx + 1; /* 0x2B07D3D6: inc ebx */ 7034 _flag_k = FK_INC; 7035 L_2B07D3D7: 7036 edx = MEM32(ebp + 0x8); /* 0x2B07D3D7: mov edx, dword ptr [ebp + 8] */ 7037 /* cmp edx, MEM32(0x2B0EF088) */ /* 0x2B07D3DA: cmp edx, dword ptr [0x2b0ef088] */ 7038 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(0x2B0EF088)); 7039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7040 _flag_k = FK_CMP; 7041 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07D3EA; /* 0x2B07D3E0: jne 0x2b07d3ea */ 7042 L_2B07D3E2: 7043 /* cmp ebx, MEM32(0x2B0EF08C) */ /* 0x2B07D3E2: cmp ebx, dword ptr [0x2b0ef08c] */ 7044 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(0x2B0EF08C)); 7045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7046 _flag_k = FK_CMP; 7047 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D3FD; /* 0x2B07D3E8: je 0x2b07d3fd */ 7048 L_2B07D3EA: 7049 ecx = esi; /* 0x2B07D3EA: mov ecx, esi */ 7050 RECOMP_ICALL(0x2B07DCC0u); /* 0x2B07D3EC: call 0x2b07dcc0 */ /* not lifted */ 7051 RECOMP_FLAGS_IN(); 7052 eax = MEM32(ebp + 0x8); /* 0x2B07D3F1: mov eax, dword ptr [ebp + 8] */ 7053 PUSH32(esp, ebx); /* 0x2B07D3F4: push ebx */ 7054 PUSH32(esp, eax); /* 0x2B07D3F5: push eax */ 7055 ecx = esi; /* 0x2B07D3F6: mov ecx, esi */ 7056 RECOMP_ICALL(0x2B07DBD0u); /* 0x2B07D3F8: call 0x2b07dbd0 */ /* not lifted */ 7057 RECOMP_FLAGS_IN(); 7058 L_2B07D3FD: 7059 ecx = MEM32(esi + 0x4); /* 0x2B07D3FD: mov ecx, dword ptr [esi + 4] */ 7060 edx = MEM32(esi); /* 0x2B07D400: mov edx, dword ptr [esi] */ 7061 PUSH32(esp, ecx); /* 0x2B07D402: push ecx */ 7062 PUSH32(esp, edx); /* 0x2B07D403: push edx */ 7063 ecx = esi; /* 0x2B07D404: mov ecx, esi */ 7064 RECOMP_ICALL(0x2B07D180u); /* 0x2B07D406: call 0x2b07d180 */ /* not lifted */ 7065 RECOMP_FLAGS_IN(); 7066 eax = MEM32(edi); /* 0x2B07D40B: mov eax, dword ptr [edi] */ 7067 ecx = MEM32(0x2B0B6048); /* 0x2B07D40D: mov ecx, dword ptr [0x2b0b6048] */ 7068 ecx = MEM32(ecx); /* 0x2B07D413: mov ecx, dword ptr [ecx] */ 7069 esi = MEM32(0x2B0B604C); /* 0x2B07D415: mov esi, dword ptr [0x2b0b604c] */ 7070 PUSH32(esp, 1); /* 0x2B07D41B: push 1 */ 7071 PUSH32(esp, 1); /* 0x2B07D41D: push 1 */ 7072 PUSH32(esp, eax); /* 0x2B07D41F: push eax */ 7073 PUSH32(esp, 0x2B0EC404u); /* 0x2B07D420: push 0x2b0ec404 */ 7074 RECOMP_ICALL(esi); /* 0x2B07D425: call esi */ 7075 RECOMP_FLAGS_IN(); 7076 edx = MEM32(edi + 0x4); /* 0x2B07D427: mov edx, dword ptr [edi + 4] */ 7077 eax = MEM32(0x2B0B6048); /* 0x2B07D42A: mov eax, dword ptr [0x2b0b6048] */ 7078 ecx = MEM32(eax); /* 0x2B07D42F: mov ecx, dword ptr [eax] */ 7079 PUSH32(esp, 1); /* 0x2B07D431: push 1 */ 7080 PUSH32(esp, 1); /* 0x2B07D433: push 1 */ 7081 PUSH32(esp, edx); /* 0x2B07D435: push edx */ 7082 PUSH32(esp, 0x2B0EC3F8u); /* 0x2B07D436: push 0x2b0ec3f8 */ 7083 RECOMP_ICALL(esi); /* 0x2B07D43B: call esi */ 7084 RECOMP_FLAGS_IN(); 7085 edi = POP32_VAL(esp); /* 0x2B07D43D: pop edi */ 7086 esi = POP32_VAL(esp); /* 0x2B07D43E: pop esi */ 7087 ebx = POP32_VAL(esp); /* 0x2B07D43F: pop ebx */ 7088 esp = ebp; /* 0x2B07D440: mov esp, ebp */ 7089 ebp = POP32_VAL(esp); /* 0x2B07D442: pop ebp */ 7090 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07D443: ret 4 */ 7091 RECOMP_REGS_OUT(); 7092 } 7093 7094 void sub_2B07D450(void) { 7095 int _fpu_cmp = 0; 7096 uint32_t _cf = 0; 7097 int _df = 1; 7098 uint32_t _flag_k = FK_NONE; 7099 uint32_t _flag_a = 0, _flag_b = 0; 7100 uint32_t _itail_tgt = 0; 7101 RECOMP_REGS_LOCALS 7102 RECOMP_ENTER(0x2B07D450u); 7103 7104 L_2B07D450: 7105 PUSH32(esp, esi); /* 0x2B07D450: push esi */ 7106 esi = ecx; /* 0x2B07D451: mov esi, ecx */ 7107 /* cmp MEM32(esi), 0 */ /* 0x2B07D453: cmp dword ptr [esi], 0 */ 7108 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0); 7109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7110 _flag_k = FK_CMP; 7111 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07D482; /* 0x2B07D456: jne 0x2b07d482 */ 7112 L_2B07D458: 7113 eax = MEM32(0x2B0EF084); /* 0x2B07D458: mov eax, dword ptr [0x2b0ef084] */ 7114 eax = MEM32(eax + 0x30); /* 0x2B07D45D: mov eax, dword ptr [eax + 0x30] */ 7115 /* test eax, eax */ /* 0x2B07D460: test eax, eax */ 7116 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7117 _cf = 0; 7118 _flag_k = FK_TEST; 7119 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07D469; /* 0x2B07D462: jne 0x2b07d469 */ 7120 L_2B07D464: 7121 eax = MEM32(0x2B0B513C); /* 0x2B07D464: mov eax, dword ptr [0x2b0b513c] */ 7122 L_2B07D469: 7123 ecx = MEM32(esi + 0x4); /* 0x2B07D469: mov ecx, dword ptr [esi + 4] */ 7124 PUSH32(esp, ecx); /* 0x2B07D46C: push ecx */ 7125 PUSH32(esp, 2); /* 0x2B07D46D: push 2 */ 7126 PUSH32(esp, eax); /* 0x2B07D46F: push eax */ 7127 PUSH32(esp, 0); /* 0x2B07D470: push 0 */ 7128 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07D472: call dword ptr [0x2b0b5f80] */ 7129 RECOMP_FLAGS_IN(); 7130 ecx = eax; /* 0x2B07D478: mov ecx, eax */ 7131 RECOMP_ICALL(MEM32(0x2B0B5FC0)); /* 0x2B07D47A: call dword ptr [0x2b0b5fc0] */ 7132 RECOMP_FLAGS_IN(); 7133 MEM32(esi) = eax; /* 0x2B07D480: mov dword ptr [esi], eax */ 7134 L_2B07D482: 7135 eax = MEM32(esi); /* 0x2B07D482: mov eax, dword ptr [esi] */ 7136 esi = POP32_VAL(esp); /* 0x2B07D484: pop esi */ 7137 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07D485: ret */ 7138 RECOMP_REGS_OUT(); 7139 } 7140 7141 void sub_2B07D490(void) { 7142 int _fpu_cmp = 0; 7143 uint32_t _cf = 0; 7144 int _df = 1; 7145 uint32_t _flag_k = FK_NONE; 7146 uint32_t _flag_a = 0, _flag_b = 0; 7147 uint32_t _itail_tgt = 0; 7148 RECOMP_REGS_LOCALS 7149 RECOMP_ENTER(0x2B07D490u); 7150 7151 L_2B07D490: 7152 PUSH32(esp, esi); /* 0x2B07D490: push esi */ 7153 esi = ecx; /* 0x2B07D491: mov esi, ecx */ 7154 eax = MEM32(esi); /* 0x2B07D493: mov eax, dword ptr [esi] */ 7155 /* test eax, eax */ /* 0x2B07D495: test eax, eax */ 7156 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7157 _cf = 0; 7158 _flag_k = FK_TEST; 7159 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D4AE; /* 0x2B07D497: je 0x2b07d4ae */ 7160 L_2B07D499: 7161 PUSH32(esp, eax); /* 0x2B07D499: push eax */ 7162 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07D49A: call dword ptr [0x2b0b5f80] */ 7163 RECOMP_FLAGS_IN(); 7164 ecx = eax; /* 0x2B07D4A0: mov ecx, eax */ 7165 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B07D4A2: call dword ptr [0x2b0b5fb8] */ 7166 RECOMP_FLAGS_IN(); 7167 MEM32(esi) = 0; /* 0x2B07D4A8: mov dword ptr [esi], 0 */ 7168 L_2B07D4AE: 7169 esi = POP32_VAL(esp); /* 0x2B07D4AE: pop esi */ 7170 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07D4AF: ret */ 7171 RECOMP_REGS_OUT(); 7172 } 7173 7174 void sub_2B07D4B0(void) { 7175 int _fpu_cmp = 0; 7176 uint32_t _cf = 0; 7177 int _df = 1; 7178 uint32_t _flag_k = FK_NONE; 7179 uint32_t _flag_a = 0, _flag_b = 0; 7180 uint32_t _itail_tgt = 0; 7181 RECOMP_REGS_LOCALS 7182 RECOMP_ENTER(0x2B07D4B0u); 7183 7184 L_2B07D4B0: 7185 edx = MEM32(0x2B0EF084); /* 0x2B07D4B0: mov edx, dword ptr [0x2b0ef084] */ 7186 eax = MEM32(edx + 0x8); /* 0x2B07D4B6: mov eax, dword ptr [edx + 8] */ 7187 PUSH32(esp, esi); /* 0x2B07D4B9: push esi */ 7188 esi = ecx; /* 0x2B07D4BA: mov esi, ecx */ 7189 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 7190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7191 eax = eax + MEM32(esi + 0xC); /* 0x2B07D4BC: add eax, dword ptr [esi + 0xc] */ 7192 _flag_k = FK_ADD; 7193 ecx = MEM32(edx + 0xC); /* 0x2B07D4BF: mov ecx, dword ptr [edx + 0xc] */ 7194 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x10)); 7195 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7196 ecx = ecx + MEM32(esi + 0x10); /* 0x2B07D4C2: add ecx, dword ptr [esi + 0x10] */ 7197 _flag_k = FK_ADD; 7198 PUSH32(esp, ecx); /* 0x2B07D4C5: push ecx */ 7199 ecx = MEM32(0x2B0EF078); /* 0x2B07D4C6: mov ecx, dword ptr [0x2b0ef078] */ 7200 PUSH32(esp, eax); /* 0x2B07D4CC: push eax */ 7201 eax = MEM32(edx + 0x10); /* 0x2B07D4CD: mov eax, dword ptr [edx + 0x10] */ 7202 PUSH32(esp, eax); /* 0x2B07D4D0: push eax */ 7203 RECOMP_ICALL(0x2B07D5F0u); /* 0x2B07D4D1: call 0x2b07d5f0 */ /* not lifted */ 7204 RECOMP_FLAGS_IN(); 7205 PUSH32(esp, eax); /* 0x2B07D4D6: push eax */ 7206 ecx = esi; /* 0x2B07D4D7: mov ecx, esi */ 7207 RECOMP_ICALL(0x2B07D4E0u); /* 0x2B07D4D9: call 0x2b07d4e0 */ /* not lifted */ 7208 RECOMP_FLAGS_IN(); 7209 esi = POP32_VAL(esp); /* 0x2B07D4DE: pop esi */ 7210 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07D4DF: ret */ 7211 RECOMP_REGS_OUT(); 7212 } 7213 7214 void sub_2B07D4E0(void) { 7215 int _fpu_cmp = 0; 7216 uint32_t _cf = 0; 7217 int _df = 1; 7218 uint32_t _flag_k = FK_NONE; 7219 uint32_t _flag_a = 0, _flag_b = 0; 7220 uint32_t _itail_tgt = 0; 7221 RECOMP_REGS_LOCALS 7222 RECOMP_ENTER(0x2B07D4E0u); 7223 7224 L_2B07D4E0: 7225 PUSH32(esp, ebp); /* 0x2B07D4E0: push ebp */ 7226 ebp = esp; /* 0x2B07D4E1: mov ebp, esp */ 7227 eax = MEM32(ebp + 0x8); /* 0x2B07D4E3: mov eax, dword ptr [ebp + 8] */ 7228 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07D4E6: cmp eax, dword ptr [ecx + 4] */ 7229 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7231 _flag_k = FK_CMP; 7232 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D4FF; /* 0x2B07D4E9: je 0x2b07d4ff */ 7233 L_2B07D4EB: 7234 MEM32(ecx) = eax; /* 0x2B07D4EB: mov dword ptr [ecx], eax */ 7235 MEM32(ecx + 0x4) = eax; /* 0x2B07D4ED: mov dword ptr [ecx + 4], eax */ 7236 ecx = MEM32(ecx + 0x8); /* 0x2B07D4F0: mov ecx, dword ptr [ecx + 8] */ 7237 /* test ecx, ecx */ /* 0x2B07D4F3: test ecx, ecx */ 7238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7239 _cf = 0; 7240 _flag_k = FK_TEST; 7241 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D4FF; /* 0x2B07D4F5: je 0x2b07d4ff */ 7242 L_2B07D4F7: 7243 PUSH32(esp, 0); /* 0x2B07D4F7: push 0 */ 7244 RECOMP_ICALL(MEM32(0x2B0B54EC)); /* 0x2B07D4F9: call dword ptr [0x2b0b54ec] */ 7245 RECOMP_FLAGS_IN(); 7246 L_2B07D4FF: 7247 ebp = POP32_VAL(esp); /* 0x2B07D4FF: pop ebp */ 7248 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07D500: ret 4 */ 7249 RECOMP_REGS_OUT(); 7250 } 7251 7252 void sub_2B07D510(void) { 7253 int _fpu_cmp = 0; 7254 uint32_t _cf = 0; 7255 int _df = 1; 7256 uint32_t _flag_k = FK_NONE; 7257 uint32_t _flag_a = 0, _flag_b = 0; 7258 uint32_t _itail_tgt = 0; 7259 RECOMP_REGS_LOCALS 7260 RECOMP_ENTER(0x2B07D510u); 7261 7262 L_2B07D510: 7263 PUSH32(esp, ebp); /* 0x2B07D510: push ebp */ 7264 ebp = esp; /* 0x2B07D511: mov ebp, esp */ 7265 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07D513: push -1 */ 7266 PUSH32(esp, 0x2B0B1CBBu); /* 0x2B07D515: push 0x2b0b1cbb */ 7267 eax = MEM32(FS_BASE + (0)); /* 0x2B07D51A: mov eax, dword ptr fs:[0] */ 7268 PUSH32(esp, eax); /* 0x2B07D520: push eax */ 7269 MEM32(FS_BASE + (0)) = esp; /* 0x2B07D521: mov dword ptr fs:[0], esp */ 7270 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 7271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7272 esp = esp - 0x14u; /* 0x2B07D528: sub esp, 0x14 */ 7273 _flag_k = FK_CMP; 7274 PUSH32(esp, ebx); /* 0x2B07D52B: push ebx */ 7275 ebx = ecx; /* 0x2B07D52C: mov ebx, ecx */ 7276 ecx = MEM32(ebx); /* 0x2B07D52E: mov ecx, dword ptr [ebx] */ 7277 PUSH32(esp, esi); /* 0x2B07D530: push esi */ 7278 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7279 esi = 0; /* 0x2B07D531: xor esi, esi */ 7280 _cf = 0; 7281 _flag_k = FK_TEST; 7282 /* cmp ecx, esi */ /* 0x2B07D533: cmp ecx, esi */ 7283 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 7284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7285 _flag_k = FK_CMP; 7286 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D5E0; /* 0x2B07D535: je 0x2b07d5e0 */ 7287 L_2B07D53B: 7288 PUSH32(esp, edi); /* 0x2B07D53B: push edi */ 7289 RECOMP_ICALL(0x2B07D450u); /* 0x2B07D53C: call 0x2b07d450 */ /* not lifted */ 7290 RECOMP_FLAGS_IN(); 7291 edi = eax; /* 0x2B07D541: mov edi, eax */ 7292 /* cmp edi, esi */ /* 0x2B07D543: cmp edi, esi */ 7293 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7295 _flag_k = FK_CMP; 7296 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D5D9; /* 0x2B07D545: je 0x2b07d5d9 */ 7297 L_2B07D54B: 7298 ecx = MEM32(ebx + 0x8); /* 0x2B07D54B: mov ecx, dword ptr [ebx + 8] */ 7299 /* cmp ecx, esi */ /* 0x2B07D54E: cmp ecx, esi */ 7300 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 7301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7302 _flag_k = FK_CMP; 7303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07D5C5; /* 0x2B07D550: jne 0x2b07d5c5 */ 7304 L_2B07D552: 7305 PUSH32(esp, 0xD8u); /* 0x2B07D552: push 0xd8 */ 7306 MEM32(ebp + (-0x20)) = esi; /* 0x2B07D557: mov dword ptr [ebp - 0x20], esi */ 7307 MEM32(ebp + (-0x1C)) = esi; /* 0x2B07D55A: mov dword ptr [ebp - 0x1c], esi */ 7308 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07D55D: call 0x2b0ab212 */ /* not lifted */ 7309 RECOMP_FLAGS_IN(); 7310 esi = eax; /* 0x2B07D562: mov esi, eax */ 7311 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7312 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7313 esp = esp + 4; /* 0x2B07D564: add esp, 4 */ 7314 _flag_k = FK_ADD; 7315 MEM32(ebp + (-0x18)) = esi; /* 0x2B07D567: mov dword ptr [ebp - 0x18], esi */ 7316 /* test esi, esi */ /* 0x2B07D56A: test esi, esi */ 7317 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7318 _cf = 0; 7319 _flag_k = FK_TEST; 7320 MEM32(ebp + (-0x4)) = 0; /* 0x2B07D56C: mov dword ptr [ebp - 4], 0 */ 7321 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D5B7; /* 0x2B07D573: je 0x2b07d5b7 */ 7322 L_2B07D575: 7323 edx = MEM32(0x2B0EF078); /* 0x2B07D575: mov edx, dword ptr [0x2b0ef078] */ 7324 eax = ebp + (-0x10); /* 0x2B07D57B: lea eax, [ebp - 0x10] */ 7325 PUSH32(esp, eax); /* 0x2B07D57E: push eax */ 7326 ecx = ebp + (-0x14); /* 0x2B07D57F: lea ecx, [ebp - 0x14] */ 7327 PUSH32(esp, ecx); /* 0x2B07D582: push ecx */ 7328 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B07D583: mov dword ptr [ebp - 0x10], 0x3f800000 */ 7329 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B07D58A: mov dword ptr [ebp - 0x14], 0x3f800000 */ 7330 eax = MEM32(edx + 0x10); /* 0x2B07D591: mov eax, dword ptr [edx + 0x10] */ 7331 PUSH32(esp, 0); /* 0x2B07D594: push 0 */ 7332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7333 eax = eax + 1; /* 0x2B07D596: inc eax */ 7334 _flag_k = FK_INC; 7335 PUSH32(esp, eax); /* 0x2B07D597: push eax */ 7336 PUSH32(esp, edi); /* 0x2B07D598: push edi */ 7337 ecx = ebp + (-0x20); /* 0x2B07D599: lea ecx, [ebp - 0x20] */ 7338 PUSH32(esp, ecx); /* 0x2B07D59C: push ecx */ 7339 ecx = esi; /* 0x2B07D59D: mov ecx, esi */ 7340 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B07D59F: call dword ptr [0x2b0b5654] */ 7341 RECOMP_FLAGS_IN(); 7342 MEM32(esi) = 0x2B0B618Cu; /* 0x2B07D5A5: mov dword ptr [esi], 0x2b0b618c */ 7343 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07D5AB: mov dword ptr [ebp - 4], 0xffffffff */ 7344 MEM32(ebx + 0x8) = esi; /* 0x2B07D5B2: mov dword ptr [ebx + 8], esi */ 7345 goto L_2B07D5CB; /* 0x2B07D5B5: jmp 0x2b07d5cb */ 7346 L_2B07D5B7: 7347 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7348 esi = 0; /* 0x2B07D5B7: xor esi, esi */ 7349 _cf = 0; 7350 _flag_k = FK_TEST; 7351 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07D5B9: mov dword ptr [ebp - 4], 0xffffffff */ 7352 MEM32(ebx + 0x8) = esi; /* 0x2B07D5C0: mov dword ptr [ebx + 8], esi */ 7353 goto L_2B07D5CB; /* 0x2B07D5C3: jmp 0x2b07d5cb */ 7354 L_2B07D5C5: 7355 edx = MEM32(ecx); /* 0x2B07D5C5: mov edx, dword ptr [ecx] */ 7356 PUSH32(esp, edi); /* 0x2B07D5C7: push edi */ 7357 RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x2B07D5C8: call dword ptr [edx + 0x10] */ 7358 RECOMP_FLAGS_IN(); 7359 L_2B07D5CB: 7360 ecx = MEM32(ebx + 0x8); /* 0x2B07D5CB: mov ecx, dword ptr [ebx + 8] */ 7361 PUSH32(esp, 0x00FFFFFFu); /* 0x2B07D5CE: push 0xffffff */ 7362 RECOMP_ICALL(MEM32(0x2B0B54EC)); /* 0x2B07D5D3: call dword ptr [0x2b0b54ec] */ 7363 RECOMP_FLAGS_IN(); 7364 L_2B07D5D9: 7365 MEM32(ebx) = 0; /* 0x2B07D5D9: mov dword ptr [ebx], 0 */ 7366 edi = POP32_VAL(esp); /* 0x2B07D5DF: pop edi */ 7367 L_2B07D5E0: 7368 ecx = MEM32(ebp + (-0xC)); /* 0x2B07D5E0: mov ecx, dword ptr [ebp - 0xc] */ 7369 esi = POP32_VAL(esp); /* 0x2B07D5E3: pop esi */ 7370 ebx = POP32_VAL(esp); /* 0x2B07D5E4: pop ebx */ 7371 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07D5E5: mov dword ptr fs:[0], ecx */ 7372 esp = ebp; /* 0x2B07D5EC: mov esp, ebp */ 7373 ebp = POP32_VAL(esp); /* 0x2B07D5EE: pop ebp */ 7374 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07D5EF: ret */ 7375 RECOMP_REGS_OUT(); 7376 } 7377 7378 void sub_2B07D5F0(void) { 7379 int _fpu_cmp = 0; 7380 uint32_t _cf = 0; 7381 int _df = 1; 7382 uint32_t _flag_k = FK_NONE; 7383 uint32_t _flag_a = 0, _flag_b = 0; 7384 uint32_t _itail_tgt = 0; 7385 RECOMP_REGS_LOCALS 7386 RECOMP_ENTER(0x2B07D5F0u); 7387 7388 L_2B07D5F0: 7389 PUSH32(esp, ebp); /* 0x2B07D5F0: push ebp */ 7390 ebp = esp; /* 0x2B07D5F1: mov ebp, esp */ 7391 PUSH32(esp, ecx); /* 0x2B07D5F3: push ecx */ 7392 PUSH32(esp, ebx); /* 0x2B07D5F4: push ebx */ 7393 PUSH32(esp, esi); /* 0x2B07D5F5: push esi */ 7394 PUSH32(esp, edi); /* 0x2B07D5F6: push edi */ 7395 edi = ecx; /* 0x2B07D5F7: mov edi, ecx */ 7396 eax = ebp + 0x8; /* 0x2B07D5F9: lea eax, [ebp + 8] */ 7397 PUSH32(esp, eax); /* 0x2B07D5FC: push eax */ 7398 ecx = ebp + (-0x4); /* 0x2B07D5FD: lea ecx, [ebp - 4] */ 7399 PUSH32(esp, ecx); /* 0x2B07D600: push ecx */ 7400 ecx = edi + 0x60; /* 0x2B07D601: lea ecx, [edi + 0x60] */ 7401 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7402 ebx = 0; /* 0x2B07D604: xor ebx, ebx */ 7403 _cf = 0; 7404 _flag_k = FK_TEST; 7405 RECOMP_ICALL(0x2B018F50u); /* 0x2B07D606: call 0x2b018f50 */ /* not lifted */ 7406 RECOMP_FLAGS_IN(); 7407 esi = MEM32(eax); /* 0x2B07D60B: mov esi, dword ptr [eax] */ 7408 /* cmp esi, MEM32(edi + 0x64) */ /* 0x2B07D60D: cmp esi, dword ptr [edi + 0x64] */ 7409 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x64)); 7410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7411 _flag_k = FK_CMP; 7412 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D65E; /* 0x2B07D610: je 0x2b07d65e */ 7413 L_2B07D612: 7414 edx = MEM32(ebp + 0xC); /* 0x2B07D612: mov edx, dword ptr [ebp + 0xc] */ 7415 edi = MEM32(ebp + 0x10); /* 0x2B07D615: mov edi, dword ptr [ebp + 0x10] */ 7416 if (16u) _cf = (((edx) >> 16) & 1u); /* 0x2B07D618: shl edx, 0x10 */ 7417 if (16u) { _flag_a = recomp_flags_pack((edx << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7418 edx = edx << 16u; /* 0x2B07D618: shl edx, 0x10 */ 7419 _flag_a = (uint32_t)((edx | edi)); _flag_b = (uint32_t)((edx | edi)); 7420 edx = edx | edi; /* 0x2B07D61B: or edx, edi */ 7421 _cf = 0; 7422 _flag_k = FK_TEST; 7423 eax = ebp + 0xC; /* 0x2B07D61D: lea eax, [ebp + 0xc] */ 7424 edi = esi + 0x4C; /* 0x2B07D620: lea edi, [esi + 0x4c] */ 7425 PUSH32(esp, eax); /* 0x2B07D623: push eax */ 7426 ecx = edi; /* 0x2B07D624: mov ecx, edi */ 7427 MEM32(ebp + 0xC) = edx; /* 0x2B07D626: mov dword ptr [ebp + 0xc], edx */ 7428 RECOMP_ICALL(0x2B081430u); /* 0x2B07D629: call 0x2b081430 */ /* not lifted */ 7429 RECOMP_FLAGS_IN(); 7430 edi = MEM32(edi + 0x4); /* 0x2B07D62E: mov edi, dword ptr [edi + 4] */ 7431 /* cmp eax, edi */ /* 0x2B07D631: cmp eax, edi */ 7432 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7434 _flag_k = FK_CMP; 7435 MEM32(ebp + 0x10) = eax; /* 0x2B07D633: mov dword ptr [ebp + 0x10], eax */ 7436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D645; /* 0x2B07D636: je 0x2b07d645 */ 7437 L_2B07D638: 7438 ecx = MEM32(ebp + 0xC); /* 0x2B07D638: mov ecx, dword ptr [ebp + 0xc] */ 7439 /* cmp ecx, MEM32(eax + 0xC) */ /* 0x2B07D63B: cmp ecx, dword ptr [eax + 0xc] */ 7440 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 7441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7442 _flag_k = FK_CMP; 7443 if (CMP_B(_flag_a, _flag_b)) goto L_2B07D645; /* 0x2B07D63E: jb 0x2b07d645 */ 7444 L_2B07D640: 7445 eax = ebp + 0x10; /* 0x2B07D640: lea eax, [ebp + 0x10] */ 7446 goto L_2B07D64B; /* 0x2B07D643: jmp 0x2b07d64b */ 7447 L_2B07D645: 7448 MEM32(ebp + 0xC) = edi; /* 0x2B07D645: mov dword ptr [ebp + 0xc], edi */ 7449 eax = ebp + 0xC; /* 0x2B07D648: lea eax, [ebp + 0xc] */ 7450 L_2B07D64B: 7451 eax = MEM32(eax); /* 0x2B07D64B: mov eax, dword ptr [eax] */ 7452 /* cmp eax, MEM32(esi + 0x50) */ /* 0x2B07D64D: cmp eax, dword ptr [esi + 0x50] */ 7453 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x50)); 7454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7455 _flag_k = FK_CMP; 7456 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D65E; /* 0x2B07D650: je 0x2b07d65e */ 7457 L_2B07D652: 7458 edi = POP32_VAL(esp); /* 0x2B07D652: pop edi */ 7459 esi = POP32_VAL(esp); /* 0x2B07D653: pop esi */ 7460 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 7461 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7462 eax = eax + 0x10u; /* 0x2B07D654: add eax, 0x10 */ 7463 _flag_k = FK_ADD; 7464 ebx = POP32_VAL(esp); /* 0x2B07D657: pop ebx */ 7465 esp = ebp; /* 0x2B07D658: mov esp, ebp */ 7466 ebp = POP32_VAL(esp); /* 0x2B07D65A: pop ebp */ 7467 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07D65B: ret 0xc */ 7468 L_2B07D65E: 7469 edi = POP32_VAL(esp); /* 0x2B07D65E: pop edi */ 7470 esi = POP32_VAL(esp); /* 0x2B07D65F: pop esi */ 7471 eax = ebx; /* 0x2B07D660: mov eax, ebx */ 7472 ebx = POP32_VAL(esp); /* 0x2B07D662: pop ebx */ 7473 esp = ebp; /* 0x2B07D663: mov esp, ebp */ 7474 ebp = POP32_VAL(esp); /* 0x2B07D665: pop ebp */ 7475 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07D666: ret 0xc */ 7476 RECOMP_REGS_OUT(); 7477 } 7478 7479 void sub_2B07D670(void) { 7480 int _fpu_cmp = 0; 7481 uint32_t _cf = 0; 7482 int _df = 1; 7483 uint32_t _flag_k = FK_NONE; 7484 uint32_t _flag_a = 0, _flag_b = 0; 7485 uint32_t _itail_tgt = 0; 7486 RECOMP_REGS_LOCALS 7487 RECOMP_ENTER(0x2B07D670u); 7488 7489 L_2B07D670: 7490 PUSH32(esp, ebp); /* 0x2B07D670: push ebp */ 7491 ebp = esp; /* 0x2B07D671: mov ebp, esp */ 7492 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10Cu); 7493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7494 esp = esp - 0x10Cu; /* 0x2B07D673: sub esp, 0x10c */ 7495 _flag_k = FK_CMP; 7496 PUSH32(esp, ebx); /* 0x2B07D679: push ebx */ 7497 ebx = MEM32(ebp + 0xC); /* 0x2B07D67A: mov ebx, dword ptr [ebp + 0xc] */ 7498 eax = MEM32(ebx); /* 0x2B07D67D: mov eax, dword ptr [ebx] */ 7499 PUSH32(esp, esi); /* 0x2B07D67F: push esi */ 7500 PUSH32(esp, edi); /* 0x2B07D680: push edi */ 7501 esi = ecx; /* 0x2B07D681: mov esi, ecx */ 7502 ecx = MEM32(ebx + 0x4); /* 0x2B07D683: mov ecx, dword ptr [ebx + 4] */ 7503 edx = ebp + 0x8; /* 0x2B07D686: lea edx, [ebp + 8] */ 7504 MEM32(ebp + (-0x8)) = eax; /* 0x2B07D689: mov dword ptr [ebp - 8], eax */ 7505 PUSH32(esp, edx); /* 0x2B07D68C: push edx */ 7506 eax = ebp + (-0xC); /* 0x2B07D68D: lea eax, [ebp - 0xc] */ 7507 MEM32(ebp + (-0x4)) = ecx; /* 0x2B07D690: mov dword ptr [ebp - 4], ecx */ 7508 edi = esi + 0x60; /* 0x2B07D693: lea edi, [esi + 0x60] */ 7509 PUSH32(esp, eax); /* 0x2B07D696: push eax */ 7510 ecx = edi; /* 0x2B07D697: mov ecx, edi */ 7511 RECOMP_ICALL(0x2B03CB30u); /* 0x2B07D699: call 0x2b03cb30 */ /* not lifted */ 7512 RECOMP_FLAGS_IN(); 7513 eax = MEM32(eax); /* 0x2B07D69E: mov eax, dword ptr [eax] */ 7514 edi = MEM32(edi + 0x4); /* 0x2B07D6A0: mov edi, dword ptr [edi + 4] */ 7515 /* cmp eax, edi */ /* 0x2B07D6A3: cmp eax, edi */ 7516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7518 _flag_k = FK_CMP; 7519 ecx = MEM32(ebp + 0x8); /* 0x2B07D6A5: mov ecx, dword ptr [ebp + 8] */ 7520 MEM32(ebp + 0xC) = eax; /* 0x2B07D6A8: mov dword ptr [ebp + 0xc], eax */ 7521 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D6B7; /* 0x2B07D6AB: je 0x2b07d6b7 */ 7522 L_2B07D6AD: 7523 /* cmp ecx, MEM32(eax + 0xC) */ /* 0x2B07D6AD: cmp ecx, dword ptr [eax + 0xc] */ 7524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 7525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7526 _flag_k = FK_CMP; 7527 if (CMP_L(_flag_a, _flag_b)) goto L_2B07D6B7; /* 0x2B07D6B0: jl 0x2b07d6b7 */ 7528 L_2B07D6B2: 7529 eax = ebp + 0xC; /* 0x2B07D6B2: lea eax, [ebp + 0xc] */ 7530 goto L_2B07D6BD; /* 0x2B07D6B5: jmp 0x2b07d6bd */ 7531 L_2B07D6B7: 7532 MEM32(ebp + (-0xC)) = edi; /* 0x2B07D6B7: mov dword ptr [ebp - 0xc], edi */ 7533 eax = ebp + (-0xC); /* 0x2B07D6BA: lea eax, [ebp - 0xc] */ 7534 L_2B07D6BD: 7535 eax = MEM32(eax); /* 0x2B07D6BD: mov eax, dword ptr [eax] */ 7536 /* cmp eax, MEM32(esi + 0x64) */ /* 0x2B07D6BF: cmp eax, dword ptr [esi + 0x64] */ 7537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x64)); 7538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7539 _flag_k = FK_CMP; 7540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D7D5; /* 0x2B07D6C2: je 0x2b07d7d5 */ 7541 L_2B07D6C8: 7542 edi = MEM32(esi + 0x7C); /* 0x2B07D6C8: mov edi, dword ptr [esi + 0x7c] */ 7543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 7544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7545 eax = eax + 0x10u; /* 0x2B07D6CB: add eax, 0x10 */ 7546 _flag_k = FK_ADD; 7547 MEM32(esi + 0x7C) = eax; /* 0x2B07D6CE: mov dword ptr [esi + 0x7c], eax */ 7548 MEM32(esi + 0x80) = ecx; /* 0x2B07D6D1: mov dword ptr [esi + 0x80], ecx */ 7549 MEM32(0x2B0EF084) = eax; /* 0x2B07D6D7: mov dword ptr [0x2b0ef084], eax */ 7550 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B07D6DC: mov al, byte ptr [ebp + 0x10] */ 7551 /* test LO8(eax), LO8(eax) */ /* 0x2B07D6DF: test al, al */ 7552 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7553 _cf = 0; 7554 _flag_k = FK_NARROW(FK_TEST, 24); 7555 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D724; /* 0x2B07D6E1: je 0x2b07d724 */ 7556 L_2B07D6E3: 7557 /* test edi, edi */ /* 0x2B07D6E3: test edi, edi */ 7558 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7559 _cf = 0; 7560 _flag_k = FK_TEST; 7561 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07D6FF; /* 0x2B07D6E5: jne 0x2b07d6ff */ 7562 L_2B07D6E7: 7563 ecx = MEM32(esi + 0x7C); /* 0x2B07D6E7: mov ecx, dword ptr [esi + 0x7c] */ 7564 eax = MEM32(ecx + 0x14); /* 0x2B07D6EA: mov eax, dword ptr [ecx + 0x14] */ 7565 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D6ED: cdq */ 7566 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7568 eax = eax - edx; /* 0x2B07D6EE: sub eax, edx */ 7569 _flag_k = FK_CMP; 7570 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07D6F0: sar eax, 1 */ 7571 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7572 eax = (uint32_t)((int32_t)eax >> 1u); 7573 MEM32(ebp + (-0x8)) = eax; /* 0x2B07D6F2: mov dword ptr [ebp - 8], eax */ 7574 eax = MEM32(ecx + 0x18); /* 0x2B07D6F5: mov eax, dword ptr [ecx + 0x18] */ 7575 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D6F8: cdq */ 7576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7578 eax = eax - edx; /* 0x2B07D6F9: sub eax, edx */ 7579 _flag_k = FK_CMP; 7580 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07D6FB: sar eax, 1 */ 7581 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7582 eax = (uint32_t)((int32_t)eax >> 1u); 7583 goto L_2B07D721; /* 0x2B07D6FD: jmp 0x2b07d721 */ 7584 L_2B07D6FF: 7585 ebx = MEM32(esi + 0x7C); /* 0x2B07D6FF: mov ebx, dword ptr [esi + 0x7c] */ 7586 fp_push((double)(int32_t)MEM32(ebx + 0x14)); /* 0x2B07D702: fild dword ptr [ebx + 0x14] */ 7587 _st[0] = _st[0] / (double)(int32_t)MEM32(edi + 0x14); /* 0x2B07D705: fidiv dword ptr [edi + 0x14] */ 7588 _st[0] = _st[0] * (double)(int32_t)MEM32(esi + 0x74); /* 0x2B07D708: fimul dword ptr [esi + 0x74] */ 7589 RECOMP_ICALL(0x2B0AB220u); /* 0x2B07D70B: call 0x2b0ab220 */ /* not lifted */ 7590 RECOMP_FLAGS_IN(); 7591 MEM32(ebp + (-0x8)) = eax; /* 0x2B07D710: mov dword ptr [ebp - 8], eax */ 7592 fp_push((double)(int32_t)MEM32(ebx + 0x18)); /* 0x2B07D713: fild dword ptr [ebx + 0x18] */ 7593 _st[0] = _st[0] / (double)(int32_t)MEM32(edi + 0x18); /* 0x2B07D716: fidiv dword ptr [edi + 0x18] */ 7594 _st[0] = _st[0] * (double)(int32_t)MEM32(esi + 0x78); /* 0x2B07D719: fimul dword ptr [esi + 0x78] */ 7595 RECOMP_ICALL(0x2B0AB220u); /* 0x2B07D71C: call 0x2b0ab220 */ /* not lifted */ 7596 RECOMP_FLAGS_IN(); 7597 L_2B07D721: 7598 MEM32(ebp + (-0x4)) = eax; /* 0x2B07D721: mov dword ptr [ebp - 4], eax */ 7599 L_2B07D724: 7600 ecx = ebp + (-0x8); /* 0x2B07D724: lea ecx, [ebp - 8] */ 7601 PUSH32(esp, ecx); /* 0x2B07D727: push ecx */ 7602 ecx = esi; /* 0x2B07D728: mov ecx, esi */ 7603 RECOMP_ICALL(0x2B07D840u); /* 0x2B07D72A: call 0x2b07d840 */ /* not lifted */ 7604 RECOMP_FLAGS_IN(); 7605 ecx = MEM32(esi + 0x38); /* 0x2B07D72F: mov ecx, dword ptr [esi + 0x38] */ 7606 edi = MEM32(0x2B0B5B3C); /* 0x2B07D732: mov edi, dword ptr [0x2b0b5b3c] */ 7607 RECOMP_ICALL(edi); /* 0x2B07D738: call edi */ 7608 RECOMP_FLAGS_IN(); 7609 ecx = MEM32(esi + 0x34); /* 0x2B07D73A: mov ecx, dword ptr [esi + 0x34] */ 7610 RECOMP_ICALL(edi); /* 0x2B07D73D: call edi */ 7611 RECOMP_FLAGS_IN(); 7612 /* cmp MEM32(esi + 0x80), 1 */ /* 0x2B07D73F: cmp dword ptr [esi + 0x80], 1 */ 7613 _flag_a = (uint32_t)(MEM32(esi + 0x80)); _flag_b = (uint32_t)(1); 7614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7615 _flag_k = FK_CMP; 7616 edi = MEM32(0x2B0B564C); /* 0x2B07D746: mov edi, dword ptr [0x2b0b564c] */ 7617 ebx = MEM32(0x2B0B5B34); /* 0x2B07D74C: mov ebx, dword ptr [0x2b0b5b34] */ 7618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07D767; /* 0x2B07D752: jne 0x2b07d767 */ 7619 L_2B07D754: 7620 edx = MEM32(esi + 0x30); /* 0x2B07D754: mov edx, dword ptr [esi + 0x30] */ 7621 ecx = MEM32(edx + 0x28); /* 0x2B07D757: mov ecx, dword ptr [edx + 0x28] */ 7622 PUSH32(esp, 1); /* 0x2B07D75A: push 1 */ 7623 PUSH32(esp, 0); /* 0x2B07D75C: push 0 */ 7624 PUSH32(esp, 0); /* 0x2B07D75E: push 0 */ 7625 RECOMP_ICALL(edi); /* 0x2B07D760: call edi */ 7626 RECOMP_FLAGS_IN(); 7627 ecx = MEM32(esi + 0x38); /* 0x2B07D762: mov ecx, dword ptr [esi + 0x38] */ 7628 RECOMP_ICALL(ebx); /* 0x2B07D765: call ebx */ 7629 RECOMP_FLAGS_IN(); 7630 L_2B07D767: 7631 eax = MEM32(esi + 0x80); /* 0x2B07D767: mov eax, dword ptr [esi + 0x80] */ 7632 /* cmp eax, MEM32(esi + 0x84) */ /* 0x2B07D76D: cmp eax, dword ptr [esi + 0x84] */ 7633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x84)); 7634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7635 _flag_k = FK_CMP; 7636 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07D788; /* 0x2B07D773: jne 0x2b07d788 */ 7637 L_2B07D775: 7638 ecx = MEM32(esi + 0x30); /* 0x2B07D775: mov ecx, dword ptr [esi + 0x30] */ 7639 ecx = MEM32(ecx + 0x28); /* 0x2B07D778: mov ecx, dword ptr [ecx + 0x28] */ 7640 PUSH32(esp, 1); /* 0x2B07D77B: push 1 */ 7641 PUSH32(esp, 0); /* 0x2B07D77D: push 0 */ 7642 PUSH32(esp, 0); /* 0x2B07D77F: push 0 */ 7643 RECOMP_ICALL(edi); /* 0x2B07D781: call edi */ 7644 RECOMP_FLAGS_IN(); 7645 ecx = MEM32(esi + 0x34); /* 0x2B07D783: mov ecx, dword ptr [esi + 0x34] */ 7646 RECOMP_ICALL(ebx); /* 0x2B07D786: call ebx */ 7647 RECOMP_FLAGS_IN(); 7648 L_2B07D788: 7649 ecx = MEM32(esi + 0x30); /* 0x2B07D788: mov ecx, dword ptr [esi + 0x30] */ 7650 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B07D78B: call dword ptr [0x2b0b5bdc] */ 7651 RECOMP_FLAGS_IN(); 7652 ecx = MEM32(esi + 0x38); /* 0x2B07D791: mov ecx, dword ptr [esi + 0x38] */ 7653 edi = MEM32(0x2B0B5960); /* 0x2B07D794: mov edi, dword ptr [0x2b0b5960] */ 7654 RECOMP_ICALL(edi); /* 0x2B07D79A: call edi */ 7655 RECOMP_FLAGS_IN(); 7656 ecx = MEM32(esi + 0x34); /* 0x2B07D79C: mov ecx, dword ptr [esi + 0x34] */ 7657 RECOMP_ICALL(edi); /* 0x2B07D79F: call edi */ 7658 RECOMP_FLAGS_IN(); 7659 ecx = MEM32(esi + 0x3C); /* 0x2B07D7A1: mov ecx, dword ptr [esi + 0x3c] */ 7660 RECOMP_ICALL(edi); /* 0x2B07D7A4: call edi */ 7661 RECOMP_FLAGS_IN(); 7662 ecx = MEM32(esi + 0x40); /* 0x2B07D7A6: mov ecx, dword ptr [esi + 0x40] */ 7663 RECOMP_ICALL(edi); /* 0x2B07D7A9: call edi */ 7664 RECOMP_FLAGS_IN(); 7665 ecx = MEM32(esi + 0x44); /* 0x2B07D7AB: mov ecx, dword ptr [esi + 0x44] */ 7666 RECOMP_ICALL(edi); /* 0x2B07D7AE: call edi */ 7667 RECOMP_FLAGS_IN(); 7668 edx = MEM32(ebp + 0x8); /* 0x2B07D7B0: mov edx, dword ptr [ebp + 8] */ 7669 eax = MEM32(0x2B0B6048); /* 0x2B07D7B3: mov eax, dword ptr [0x2b0b6048] */ 7670 ecx = MEM32(eax); /* 0x2B07D7B8: mov ecx, dword ptr [eax] */ 7671 PUSH32(esp, 1); /* 0x2B07D7BA: push 1 */ 7672 PUSH32(esp, 1); /* 0x2B07D7BC: push 1 */ 7673 PUSH32(esp, edx); /* 0x2B07D7BE: push edx */ 7674 PUSH32(esp, 0x2B0EC3BCu); /* 0x2B07D7BF: push 0x2b0ec3bc */ 7675 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B07D7C4: call dword ptr [0x2b0b604c] */ 7676 RECOMP_FLAGS_IN(); 7677 edi = POP32_VAL(esp); /* 0x2B07D7CA: pop edi */ 7678 esi = POP32_VAL(esp); /* 0x2B07D7CB: pop esi */ 7679 SET_LO8(eax, 1); /* 0x2B07D7CC: mov al, 1 */ 7680 ebx = POP32_VAL(esp); /* 0x2B07D7CE: pop ebx */ 7681 esp = ebp; /* 0x2B07D7CF: mov esp, ebp */ 7682 ebp = POP32_VAL(esp); /* 0x2B07D7D1: pop ebp */ 7683 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07D7D2: ret 0xc */ 7684 L_2B07D7D5: 7685 /* cmp ecx, 1 */ /* 0x2B07D7D5: cmp ecx, 1 */ 7686 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7688 _flag_k = FK_CMP; 7689 MEM8(ebp + 0xF) = (uint8_t)(0); /* 0x2B07D7D8: mov byte ptr [ebp + 0xf], 0 */ 7690 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07D7F5; /* 0x2B07D7DC: je 0x2b07d7f5 */ 7691 L_2B07D7DE: 7692 ecx = MEM32(ebp + 0x10); /* 0x2B07D7DE: mov ecx, dword ptr [ebp + 0x10] */ 7693 PUSH32(esp, ecx); /* 0x2B07D7E1: push ecx */ 7694 PUSH32(esp, ebx); /* 0x2B07D7E2: push ebx */ 7695 PUSH32(esp, 1); /* 0x2B07D7E3: push 1 */ 7696 ecx = esi; /* 0x2B07D7E5: mov ecx, esi */ 7697 RECOMP_ICALL(0x2B07D670u); /* 0x2B07D7E7: call 0x2b07d670 */ /* not lifted */ 7698 RECOMP_FLAGS_IN(); 7699 edi = POP32_VAL(esp); /* 0x2B07D7EC: pop edi */ 7700 esi = POP32_VAL(esp); /* 0x2B07D7ED: pop esi */ 7701 ebx = POP32_VAL(esp); /* 0x2B07D7EE: pop ebx */ 7702 esp = ebp; /* 0x2B07D7EF: mov esp, ebp */ 7703 ebp = POP32_VAL(esp); /* 0x2B07D7F1: pop ebp */ 7704 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07D7F2: ret 0xc */ 7705 L_2B07D7F5: 7706 PUSH32(esp, 0x2B0EC8ACu); /* 0x2B07D7F5: push 0x2b0ec8ac */ 7707 edx = ebp + (-0x10C); /* 0x2B07D7FA: lea edx, [ebp - 0x10c] */ 7708 PUSH32(esp, 0xFFu); /* 0x2B07D800: push 0xff */ 7709 PUSH32(esp, edx); /* 0x2B07D805: push edx */ 7710 RECOMP_ICALL(0x2B012180u); /* 0x2B07D806: call 0x2b012180 */ /* not lifted */ 7711 RECOMP_FLAGS_IN(); 7712 PUSH32(esp, 0); /* 0x2B07D80B: push 0 */ 7713 PUSH32(esp, 0); /* 0x2B07D80D: push 0 */ 7714 PUSH32(esp, 0); /* 0x2B07D80F: push 0 */ 7715 eax = ebp + (-0x10C); /* 0x2B07D811: lea eax, [ebp - 0x10c] */ 7716 PUSH32(esp, eax); /* 0x2B07D817: push eax */ 7717 PUSH32(esp, 0x2B0EC8A0u); /* 0x2B07D818: push 0x2b0ec8a0 */ 7718 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07D81D: call 0x2b089bf0 */ /* not lifted */ 7719 RECOMP_FLAGS_IN(); 7720 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B07D822: mov al, byte ptr [ebp + 0xf] */ 7721 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 7722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7723 esp = esp + 0x20u; /* 0x2B07D825: add esp, 0x20 */ 7724 _flag_k = FK_ADD; 7725 edi = POP32_VAL(esp); /* 0x2B07D828: pop edi */ 7726 esi = POP32_VAL(esp); /* 0x2B07D829: pop esi */ 7727 ebx = POP32_VAL(esp); /* 0x2B07D82A: pop ebx */ 7728 esp = ebp; /* 0x2B07D82B: mov esp, ebp */ 7729 ebp = POP32_VAL(esp); /* 0x2B07D82D: pop ebp */ 7730 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07D82E: ret 0xc */ 7731 RECOMP_REGS_OUT(); 7732 } 7733 7734 void sub_2B07D840(void) { 7735 int _fpu_cmp = 0; 7736 uint32_t _cf = 0; 7737 int _df = 1; 7738 uint32_t _flag_k = FK_NONE; 7739 uint32_t _flag_a = 0, _flag_b = 0; 7740 uint32_t _itail_tgt = 0; 7741 RECOMP_REGS_LOCALS 7742 RECOMP_ENTER(0x2B07D840u); 7743 7744 L_2B07D840: 7745 PUSH32(esp, ebp); /* 0x2B07D840: push ebp */ 7746 ebp = esp; /* 0x2B07D841: mov ebp, esp */ 7747 eax = MEM32(ebp + 0x8); /* 0x2B07D843: mov eax, dword ptr [ebp + 8] */ 7748 edx = MEM32(eax + 0x4); /* 0x2B07D846: mov edx, dword ptr [eax + 4] */ 7749 eax = MEM32(eax); /* 0x2B07D849: mov eax, dword ptr [eax] */ 7750 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x78)); 7751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7752 edx = edx - MEM32(ecx + 0x78); /* 0x2B07D84B: sub edx, dword ptr [ecx + 0x78] */ 7753 _flag_k = FK_CMP; 7754 PUSH32(esp, edx); /* 0x2B07D84E: push edx */ 7755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x74)); 7756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7757 eax = eax - MEM32(ecx + 0x74); /* 0x2B07D84F: sub eax, dword ptr [ecx + 0x74] */ 7758 _flag_k = FK_CMP; 7759 PUSH32(esp, eax); /* 0x2B07D852: push eax */ 7760 RECOMP_ICALL(0x2B07D860u); /* 0x2B07D853: call 0x2b07d860 */ /* not lifted */ 7761 RECOMP_FLAGS_IN(); 7762 ebp = POP32_VAL(esp); /* 0x2B07D858: pop ebp */ 7763 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07D859: ret 4 */ 7764 RECOMP_REGS_OUT(); 7765 } 7766 7767 void sub_2B07D860(void) { 7768 int _fpu_cmp = 0; 7769 uint32_t _cf = 0; 7770 int _df = 1; 7771 uint32_t _flag_k = FK_NONE; 7772 uint32_t _flag_a = 0, _flag_b = 0; 7773 uint32_t _itail_tgt = 0; 7774 RECOMP_REGS_LOCALS 7775 RECOMP_ENTER(0x2B07D860u); 7776 7777 L_2B07D860: 7778 PUSH32(esp, ebp); /* 0x2B07D860: push ebp */ 7779 ebp = esp; /* 0x2B07D861: mov ebp, esp */ 7780 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 7781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7782 esp = esp - 0x44u; /* 0x2B07D863: sub esp, 0x44 */ 7783 _flag_k = FK_CMP; 7784 PUSH32(esp, ebx); /* 0x2B07D866: push ebx */ 7785 PUSH32(esp, esi); /* 0x2B07D867: push esi */ 7786 esi = ecx; /* 0x2B07D868: mov esi, ecx */ 7787 eax = MEM32(esi + 0x7C); /* 0x2B07D86A: mov eax, dword ptr [esi + 0x7c] */ 7788 /* test eax, eax */ /* 0x2B07D86D: test eax, eax */ 7789 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7790 _cf = 0; 7791 _flag_k = FK_TEST; 7792 PUSH32(esp, edi); /* 0x2B07D86F: push edi */ 7793 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DA4B; /* 0x2B07D870: je 0x2b07da4b */ 7794 L_2B07D876: 7795 edx = MEM32(esi + 0x74); /* 0x2B07D876: mov edx, dword ptr [esi + 0x74] */ 7796 eax = MEM32(0x2B0EF080); /* 0x2B07D879: mov eax, dword ptr [0x2b0ef080] */ 7797 ecx = MEM32(ebp + 0x8); /* 0x2B07D87E: mov ecx, dword ptr [ebp + 8] */ 7798 edi = esi + 0x74; /* 0x2B07D881: lea edi, [esi + 0x74] */ 7799 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 7800 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7801 edx = edx + ecx; /* 0x2B07D884: add edx, ecx */ 7802 _flag_k = FK_ADD; 7803 ecx = MEM32(esi + 0x78); /* 0x2B07D886: mov ecx, dword ptr [esi + 0x78] */ 7804 MEM32(edi) = edx; /* 0x2B07D889: mov dword ptr [edi], edx */ 7805 edx = MEM32(ebp + 0xC); /* 0x2B07D88B: mov edx, dword ptr [ebp + 0xc] */ 7806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7807 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7808 ecx = ecx + edx; /* 0x2B07D88E: add ecx, edx */ 7809 _flag_k = FK_ADD; 7810 MEM32(ebp + (-0x4)) = eax; /* 0x2B07D890: mov dword ptr [ebp - 4], eax */ 7811 PUSH32(esp, edi); /* 0x2B07D893: push edi */ 7812 eax = ebp + (-0x34); /* 0x2B07D894: lea eax, [ebp - 0x34] */ 7813 MEM32(esi + 0x78) = ecx; /* 0x2B07D897: mov dword ptr [esi + 0x78], ecx */ 7814 PUSH32(esp, eax); /* 0x2B07D89A: push eax */ 7815 ecx = esi; /* 0x2B07D89B: mov ecx, esi */ 7816 RECOMP_ICALL(0x2B07DB70u); /* 0x2B07D89D: call 0x2b07db70 */ /* not lifted */ 7817 RECOMP_FLAGS_IN(); 7818 ecx = MEM32(eax); /* 0x2B07D8A2: mov ecx, dword ptr [eax] */ 7819 MEM32(edi) = ecx; /* 0x2B07D8A4: mov dword ptr [edi], ecx */ 7820 edx = MEM32(eax + 0x4); /* 0x2B07D8A6: mov edx, dword ptr [eax + 4] */ 7821 MEM32(edi + 0x4) = edx; /* 0x2B07D8A9: mov dword ptr [edi + 4], edx */ 7822 ebx = MEM32(eax); /* 0x2B07D8AC: mov ebx, dword ptr [eax] */ 7823 ecx = MEM32(eax + 0x4); /* 0x2B07D8AE: mov ecx, dword ptr [eax + 4] */ 7824 eax = MEM32(esi + 0x8); /* 0x2B07D8B1: mov eax, dword ptr [esi + 8] */ 7825 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D8B4: cdq */ 7826 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7828 eax = eax - edx; /* 0x2B07D8B5: sub eax, edx */ 7829 _flag_k = FK_CMP; 7830 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07D8B7: sar eax, 1 */ 7831 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7832 eax = (uint32_t)((int32_t)eax >> 1u); 7833 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 7834 _cf = (eax) != 0; 7835 eax = (uint32_t)(-(int32_t)eax); /* 0x2B07D8B9: neg eax */ 7836 _flag_k = FK_CMP; 7837 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7838 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7839 ebx = ebx + eax; /* 0x2B07D8BB: add ebx, eax */ 7840 _flag_k = FK_ADD; 7841 eax = MEM32(esi + 0xC); /* 0x2B07D8BD: mov eax, dword ptr [esi + 0xc] */ 7842 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D8C0: cdq */ 7843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7845 eax = eax - edx; /* 0x2B07D8C1: sub eax, edx */ 7846 _flag_k = FK_CMP; 7847 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07D8C3: sar eax, 1 */ 7848 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7849 eax = (uint32_t)((int32_t)eax >> 1u); 7850 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 7851 _cf = (eax) != 0; 7852 eax = (uint32_t)(-(int32_t)eax); /* 0x2B07D8C5: neg eax */ 7853 _flag_k = FK_CMP; 7854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7855 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7856 ecx = ecx + eax; /* 0x2B07D8C7: add ecx, eax */ 7857 _flag_k = FK_ADD; 7858 eax = ebx; /* 0x2B07D8C9: mov eax, ebx */ 7859 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D8CB: cdq */ 7860 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(ebp + (-0x4)); /* 0x2B07D8CC: idiv dword ptr [ebp - 4] */ 7861 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7862 else { eax = 0; edx = 0; } } 7863 MEM32(ebp + (-0x30)) = ecx; /* 0x2B07D8CF: mov dword ptr [ebp - 0x30], ecx */ 7864 edi = eax; /* 0x2B07D8D2: mov edi, eax */ 7865 eax = ecx; /* 0x2B07D8D4: mov eax, ecx */ 7866 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D8D6: cdq */ 7867 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(ebp + (-0x4)); /* 0x2B07D8D7: idiv dword ptr [ebp - 4] */ 7868 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7869 else { eax = 0; edx = 0; } } 7870 ecx = MEM32(esi + 0x7C); /* 0x2B07D8DA: mov ecx, dword ptr [esi + 0x7c] */ 7871 edx = MEM32(ecx + 0x8); /* 0x2B07D8DD: mov edx, dword ptr [ecx + 8] */ 7872 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 7873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7874 edx = edx - edi; /* 0x2B07D8E0: sub edx, edi */ 7875 _flag_k = FK_CMP; 7876 MEM32(ebp + 0xC) = edx; /* 0x2B07D8E2: mov dword ptr [ebp + 0xc], edx */ 7877 edx = MEM32(ecx + 0xC); /* 0x2B07D8E5: mov edx, dword ptr [ecx + 0xc] */ 7878 MEM32(ecx + 0x8) = edi; /* 0x2B07D8E8: mov dword ptr [ecx + 8], edi */ 7879 ecx = MEM32(esi + 0x7C); /* 0x2B07D8EB: mov ecx, dword ptr [esi + 0x7c] */ 7880 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7882 edx = edx - eax; /* 0x2B07D8EE: sub edx, eax */ 7883 _flag_k = FK_CMP; 7884 MEM32(ebp + 0x8) = edx; /* 0x2B07D8F0: mov dword ptr [ebp + 8], edx */ 7885 edx = ebp + (-0x14); /* 0x2B07D8F3: lea edx, [ebp - 0x14] */ 7886 MEM32(ecx + 0xC) = eax; /* 0x2B07D8F6: mov dword ptr [ecx + 0xc], eax */ 7887 ecx = MEM32(esi + 0x1C); /* 0x2B07D8F9: mov ecx, dword ptr [esi + 0x1c] */ 7888 PUSH32(esp, edx); /* 0x2B07D8FC: push edx */ 7889 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B07D8FD: call dword ptr [0x2b0b59f0] */ 7890 RECOMP_FLAGS_IN(); 7891 edi = MEM32(eax); /* 0x2B07D903: mov edi, dword ptr [eax] */ 7892 eax = MEM32(eax + 0x4); /* 0x2B07D905: mov eax, dword ptr [eax + 4] */ 7893 ecx = ebp + (-0x1C); /* 0x2B07D908: lea ecx, [ebp - 0x1c] */ 7894 PUSH32(esp, ecx); /* 0x2B07D90B: push ecx */ 7895 ecx = MEM32(esi + 0x1C); /* 0x2B07D90C: mov ecx, dword ptr [esi + 0x1c] */ 7896 MEM32(ebp + (-0x8)) = eax; /* 0x2B07D90F: mov dword ptr [ebp - 8], eax */ 7897 RECOMP_ICALL(MEM32(0x2B0B57C4)); /* 0x2B07D912: call dword ptr [0x2b0b57c4] */ 7898 RECOMP_FLAGS_IN(); 7899 edx = MEM32(eax); /* 0x2B07D918: mov edx, dword ptr [eax] */ 7900 MEM32(ebp + (-0x44)) = edx; /* 0x2B07D91A: mov dword ptr [ebp - 0x44], edx */ 7901 ecx = MEM32(eax + 0x4); /* 0x2B07D91D: mov ecx, dword ptr [eax + 4] */ 7902 MEM32(ebp + (-0x40)) = ecx; /* 0x2B07D920: mov dword ptr [ebp - 0x40], ecx */ 7903 edx = MEM32(eax + 0x8); /* 0x2B07D923: mov edx, dword ptr [eax + 8] */ 7904 MEM32(ebp + (-0x3C)) = edx; /* 0x2B07D926: mov dword ptr [ebp - 0x3c], edx */ 7905 eax = MEM32(eax + 0xC); /* 0x2B07D929: mov eax, dword ptr [eax + 0xc] */ 7906 MEM32(ebp + (-0x38)) = eax; /* 0x2B07D92C: mov dword ptr [ebp - 0x38], eax */ 7907 eax = ebx; /* 0x2B07D92F: mov eax, ebx */ 7908 ebx = MEM32(ebp + (-0x4)); /* 0x2B07D931: mov ebx, dword ptr [ebp - 4] */ 7909 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D934: cdq */ 7910 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ebx; /* 0x2B07D935: idiv ebx */ 7911 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7912 else { eax = 0; edx = 0; } } 7913 eax = MEM32(ebp + (-0x30)); /* 0x2B07D937: mov eax, dword ptr [ebp - 0x30] */ 7914 ecx = MEM32(ebp + (-0x8)); /* 0x2B07D93A: mov ecx, dword ptr [ebp - 8] */ 7915 MEM32(ebp + (-0x14)) = edi; /* 0x2B07D93D: mov dword ptr [ebp - 0x14], edi */ 7916 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 7917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7918 edi = edi - edx; /* 0x2B07D940: sub edi, edx */ 7919 _flag_k = FK_CMP; 7920 MEM32(ebp + (-0x14)) = edi; /* 0x2B07D942: mov dword ptr [ebp - 0x14], edi */ 7921 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D945: cdq */ 7922 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ebx; /* 0x2B07D946: idiv ebx */ 7923 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7924 else { eax = 0; edx = 0; } } 7925 eax = MEM32(0x2B0EF080); /* 0x2B07D948: mov eax, dword ptr [0x2b0ef080] */ 7926 edi = MEM32(esi + 0x54); /* 0x2B07D94D: mov edi, dword ptr [esi + 0x54] */ 7927 MEM32(ebp + (-0x24)) = eax; /* 0x2B07D950: mov dword ptr [ebp - 0x24], eax */ 7928 MEM32(ebp + (-0x20)) = eax; /* 0x2B07D953: mov dword ptr [ebp - 0x20], eax */ 7929 eax = MEM32(esi + 0x58); /* 0x2B07D956: mov eax, dword ptr [esi + 0x58] */ 7930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7932 ecx = ecx - edx; /* 0x2B07D959: sub ecx, edx */ 7933 _flag_k = FK_CMP; 7934 /* cmp edi, eax */ /* 0x2B07D95B: cmp edi, eax */ 7935 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7937 _flag_k = FK_CMP; 7938 MEM32(ebp + (-0x10)) = ecx; /* 0x2B07D95D: mov dword ptr [ebp - 0x10], ecx */ 7939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DA4B; /* 0x2B07D960: je 0x2b07da4b */ 7940 L_2B07D966: 7941 ebx = MEM32(ebp + 0xC); /* 0x2B07D966: mov ebx, dword ptr [ebp + 0xc] */ 7942 /* test ebx, ebx */ /* 0x2B07D969: test ebx, ebx */ 7943 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 7944 _cf = 0; 7945 _flag_k = FK_TEST; 7946 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07D974; /* 0x2B07D96B: jne 0x2b07d974 */ 7947 L_2B07D96D: 7948 eax = MEM32(ebp + 0x8); /* 0x2B07D96D: mov eax, dword ptr [ebp + 8] */ 7949 /* test eax, eax */ /* 0x2B07D970: test eax, eax */ 7950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7951 _cf = 0; 7952 _flag_k = FK_TEST; 7953 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D9F2; /* 0x2B07D972: je 0x2b07d9f2 */ 7954 L_2B07D974: 7955 eax = MEM32(ebp + 0x8); /* 0x2B07D974: mov eax, dword ptr [ebp + 8] */ 7956 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D977: cdq */ 7957 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(0x2B0EF08C); /* 0x2B07D978: idiv dword ptr [0x2b0ef08c] */ 7958 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7959 else { eax = 0; edx = 0; } } 7960 eax = ebx; /* 0x2B07D97E: mov eax, ebx */ 7961 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 7962 SET_LO8(ecx, 0); /* 0x2B07D980: xor cl, cl */ 7963 _cf = 0; 7964 _flag_k = FK_NARROW(FK_TEST, 24); 7965 MEM32(ebp + (-0x8)) = edx; /* 0x2B07D982: mov dword ptr [ebp - 8], edx */ 7966 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07D985: cdq */ 7967 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)MEM32(0x2B0EF088); /* 0x2B07D986: idiv dword ptr [0x2b0ef088] */ 7968 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 7969 else { eax = 0; edx = 0; } } 7970 eax = MEM32(edi + 0xC); /* 0x2B07D98C: mov eax, dword ptr [edi + 0xc] */ 7971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7973 eax = eax + edx; /* 0x2B07D98F: add eax, edx */ 7974 _flag_k = FK_ADD; 7975 /* test eax, eax */ /* 0x2B07D991: test eax, eax */ 7976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7977 _cf = 0; 7978 _flag_k = FK_TEST; 7979 MEM32(edi + 0xC) = eax; /* 0x2B07D993: mov dword ptr [edi + 0xc], eax */ 7980 if (TEST_NS(_flag_a, _flag_b)) goto L_2B07D9A5; /* 0x2B07D996: jge 0x2b07d9a5 */ 7981 L_2B07D998: 7982 ecx = MEM32(0x2B0EF088); /* 0x2B07D998: mov ecx, dword ptr [0x2b0ef088] */ 7983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7984 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7985 eax = eax + ecx; /* 0x2B07D99E: add eax, ecx */ 7986 _flag_k = FK_ADD; 7987 MEM32(edi + 0xC) = eax; /* 0x2B07D9A0: mov dword ptr [edi + 0xc], eax */ 7988 SET_LO8(ecx, 1); /* 0x2B07D9A3: mov cl, 1 */ 7989 L_2B07D9A5: 7990 eax = MEM32(edi + 0xC); /* 0x2B07D9A5: mov eax, dword ptr [edi + 0xc] */ 7991 edx = MEM32(0x2B0EF088); /* 0x2B07D9A8: mov edx, dword ptr [0x2b0ef088] */ 7992 /* cmp eax, edx */ /* 0x2B07D9AE: cmp eax, edx */ 7993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7995 _flag_k = FK_CMP; 7996 if (CMP_L(_flag_a, _flag_b)) goto L_2B07D9B9; /* 0x2B07D9B0: jl 0x2b07d9b9 */ 7997 L_2B07D9B2: 7998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8000 eax = eax - edx; /* 0x2B07D9B2: sub eax, edx */ 8001 _flag_k = FK_CMP; 8002 MEM32(edi + 0xC) = eax; /* 0x2B07D9B4: mov dword ptr [edi + 0xc], eax */ 8003 SET_LO8(ecx, 1); /* 0x2B07D9B7: mov cl, 1 */ 8004 L_2B07D9B9: 8005 eax = MEM32(edi + 0x10); /* 0x2B07D9B9: mov eax, dword ptr [edi + 0x10] */ 8006 edx = MEM32(ebp + (-0x8)); /* 0x2B07D9BC: mov edx, dword ptr [ebp - 8] */ 8007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8008 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8009 eax = eax + edx; /* 0x2B07D9BF: add eax, edx */ 8010 _flag_k = FK_ADD; 8011 MEM32(edi + 0x10) = eax; /* 0x2B07D9C1: mov dword ptr [edi + 0x10], eax */ 8012 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B07D9D3; /* 0x2B07D9C4: jns 0x2b07d9d3 */ 8013 L_2B07D9C6: 8014 ecx = MEM32(0x2B0EF08C); /* 0x2B07D9C6: mov ecx, dword ptr [0x2b0ef08c] */ 8015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8016 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8017 eax = eax + ecx; /* 0x2B07D9CC: add eax, ecx */ 8018 _flag_k = FK_ADD; 8019 MEM32(edi + 0x10) = eax; /* 0x2B07D9CE: mov dword ptr [edi + 0x10], eax */ 8020 SET_LO8(ecx, 1); /* 0x2B07D9D1: mov cl, 1 */ 8021 L_2B07D9D3: 8022 eax = MEM32(edi + 0x10); /* 0x2B07D9D3: mov eax, dword ptr [edi + 0x10] */ 8023 edx = MEM32(0x2B0EF08C); /* 0x2B07D9D6: mov edx, dword ptr [0x2b0ef08c] */ 8024 /* cmp eax, edx */ /* 0x2B07D9DC: cmp eax, edx */ 8025 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8027 _flag_k = FK_CMP; 8028 if (CMP_L(_flag_a, _flag_b)) goto L_2B07D9E7; /* 0x2B07D9DE: jl 0x2b07d9e7 */ 8029 L_2B07D9E0: 8030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8032 eax = eax - edx; /* 0x2B07D9E0: sub eax, edx */ 8033 _flag_k = FK_CMP; 8034 MEM32(edi + 0x10) = eax; /* 0x2B07D9E2: mov dword ptr [edi + 0x10], eax */ 8035 goto L_2B07D9EB; /* 0x2B07D9E5: jmp 0x2b07d9eb */ 8036 L_2B07D9E7: 8037 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07D9E7: test cl, cl */ 8038 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 8039 _cf = 0; 8040 _flag_k = FK_NARROW(FK_TEST, 24); 8041 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07D9F2; /* 0x2B07D9E9: je 0x2b07d9f2 */ 8042 L_2B07D9EB: 8043 ecx = edi; /* 0x2B07D9EB: mov ecx, edi */ 8044 RECOMP_ICALL(0x2B07D4B0u); /* 0x2B07D9ED: call 0x2b07d4b0 */ /* not lifted */ 8045 RECOMP_FLAGS_IN(); 8046 L_2B07D9F2: 8047 ecx = edi; /* 0x2B07D9F2: mov ecx, edi */ 8048 RECOMP_ICALL(0x2B07D4B0u); /* 0x2B07D9F4: call 0x2b07d4b0 */ /* not lifted */ 8049 RECOMP_FLAGS_IN(); 8050 ecx = edi; /* 0x2B07D9F9: mov ecx, edi */ 8051 RECOMP_ICALL(0x2B07D510u); /* 0x2B07D9FB: call 0x2b07d510 */ /* not lifted */ 8052 RECOMP_FLAGS_IN(); 8053 eax = MEM32(edi + 0x8); /* 0x2B07DA00: mov eax, dword ptr [edi + 8] */ 8054 /* test eax, eax */ /* 0x2B07DA03: test eax, eax */ 8055 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8056 _cf = 0; 8057 _flag_k = FK_TEST; 8058 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DA3D; /* 0x2B07DA05: je 0x2b07da3d */ 8059 L_2B07DA07: 8060 edx = MEM32(edi + 0xC); /* 0x2B07DA07: mov edx, dword ptr [edi + 0xc] */ 8061 eax = MEM32(ebp + (-0x4)); /* 0x2B07DA0A: mov eax, dword ptr [ebp - 4] */ 8062 ebx = MEM32(ebp + (-0x14)); /* 0x2B07DA0D: mov ebx, dword ptr [ebp - 0x14] */ 8063 edx = (uint32_t)((int32_t)edx * (int32_t)eax); /* 0x2B07DA10: imul edx, eax */ 8064 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8065 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8066 edx = edx + ebx; /* 0x2B07DA13: add edx, ebx */ 8067 _flag_k = FK_ADD; 8068 MEM32(ebp + (-0x2C)) = edx; /* 0x2B07DA15: mov dword ptr [ebp - 0x2c], edx */ 8069 ecx = MEM32(edi + 0x10); /* 0x2B07DA18: mov ecx, dword ptr [edi + 0x10] */ 8070 edx = MEM32(ebp + (-0x10)); /* 0x2B07DA1B: mov edx, dword ptr [ebp - 0x10] */ 8071 ecx = (uint32_t)((int32_t)ecx * (int32_t)eax); /* 0x2B07DA1E: imul ecx, eax */ 8072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8074 ecx = ecx + edx; /* 0x2B07DA21: add ecx, edx */ 8075 _flag_k = FK_ADD; 8076 MEM32(ebp + (-0x28)) = ecx; /* 0x2B07DA23: mov dword ptr [ebp - 0x28], ecx */ 8077 edx = MEM32(edi + 0x8); /* 0x2B07DA26: mov edx, dword ptr [edi + 8] */ 8078 PUSH32(esp, edx); /* 0x2B07DA29: push edx */ 8079 eax = ebp + (-0x44); /* 0x2B07DA2A: lea eax, [ebp - 0x44] */ 8080 PUSH32(esp, eax); /* 0x2B07DA2D: push eax */ 8081 ecx = ebp + (-0x24); /* 0x2B07DA2E: lea ecx, [ebp - 0x24] */ 8082 PUSH32(esp, ecx); /* 0x2B07DA31: push ecx */ 8083 edx = ebp + (-0x2C); /* 0x2B07DA32: lea edx, [ebp - 0x2c] */ 8084 PUSH32(esp, edx); /* 0x2B07DA35: push edx */ 8085 ecx = esi; /* 0x2B07DA36: mov ecx, esi */ 8086 RECOMP_ICALL(0x2B07DA60u); /* 0x2B07DA38: call 0x2b07da60 */ /* not lifted */ 8087 RECOMP_FLAGS_IN(); 8088 L_2B07DA3D: 8089 eax = MEM32(esi + 0x58); /* 0x2B07DA3D: mov eax, dword ptr [esi + 0x58] */ 8090 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 8091 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8092 edi = edi + 0x14u; /* 0x2B07DA40: add edi, 0x14 */ 8093 _flag_k = FK_ADD; 8094 /* cmp edi, eax */ /* 0x2B07DA43: cmp edi, eax */ 8095 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8097 _flag_k = FK_CMP; 8098 RECOMP_BACKEDGE(); 8099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07D966; /* 0x2B07DA45: jne 0x2b07d966 */ 8100 L_2B07DA4B: 8101 edi = POP32_VAL(esp); /* 0x2B07DA4B: pop edi */ 8102 esi = POP32_VAL(esp); /* 0x2B07DA4C: pop esi */ 8103 ebx = POP32_VAL(esp); /* 0x2B07DA4D: pop ebx */ 8104 esp = ebp; /* 0x2B07DA4E: mov esp, ebp */ 8105 ebp = POP32_VAL(esp); /* 0x2B07DA50: pop ebp */ 8106 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07DA51: ret 8 */ 8107 RECOMP_REGS_OUT(); 8108 } 8109 8110 void sub_2B07DA60(void) { 8111 int _fpu_cmp = 0; 8112 uint32_t _cf = 0; 8113 int _df = 1; 8114 uint32_t _flag_k = FK_NONE; 8115 uint32_t _flag_a = 0, _flag_b = 0; 8116 uint32_t _itail_tgt = 0; 8117 RECOMP_REGS_LOCALS 8118 RECOMP_ENTER(0x2B07DA60u); 8119 8120 L_2B07DA60: 8121 PUSH32(esp, ebp); /* 0x2B07DA60: push ebp */ 8122 ebp = esp; /* 0x2B07DA61: mov ebp, esp */ 8123 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 8124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8125 esp = esp - 0x10u; /* 0x2B07DA63: sub esp, 0x10 */ 8126 _flag_k = FK_CMP; 8127 PUSH32(esp, ebx); /* 0x2B07DA66: push ebx */ 8128 ebx = MEM32(ebp + 0xC); /* 0x2B07DA67: mov ebx, dword ptr [ebp + 0xc] */ 8129 ecx = MEM32(ebx); /* 0x2B07DA6A: mov ecx, dword ptr [ebx] */ 8130 PUSH32(esp, esi); /* 0x2B07DA6C: push esi */ 8131 PUSH32(esp, edi); /* 0x2B07DA6D: push edi */ 8132 edi = MEM32(ebp + 0x8); /* 0x2B07DA6E: mov edi, dword ptr [ebp + 8] */ 8133 esi = MEM32(edi + 0x4); /* 0x2B07DA71: mov esi, dword ptr [edi + 4] */ 8134 edx = MEM32(edi); /* 0x2B07DA74: mov edx, dword ptr [edi] */ 8135 eax = esi; /* 0x2B07DA76: mov eax, esi */ 8136 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0x4)); 8137 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8138 eax = eax + MEM32(ebx + 0x4); /* 0x2B07DA78: add eax, dword ptr [ebx + 4] */ 8139 _flag_k = FK_ADD; 8140 ebx = MEM32(ebp + 0x10); /* 0x2B07DA7B: mov ebx, dword ptr [ebp + 0x10] */ 8141 ebx = MEM32(ebx + 0x8); /* 0x2B07DA7E: mov ebx, dword ptr [ebx + 8] */ 8142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8143 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8144 ecx = ecx + edx; /* 0x2B07DA81: add ecx, edx */ 8145 _flag_k = FK_ADD; 8146 /* cmp edx, ebx */ /* 0x2B07DA83: cmp edx, ebx */ 8147 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8149 _flag_k = FK_CMP; 8150 MEM32(ebp + 0x8) = ebx; /* 0x2B07DA85: mov dword ptr [ebp + 8], ebx */ 8151 if (CMP_G(_flag_a, _flag_b)) goto L_2B07DB52; /* 0x2B07DA88: jg 0x2b07db52 */ 8152 L_2B07DA8E: 8153 ebx = MEM32(ebp + 0x10); /* 0x2B07DA8E: mov ebx, dword ptr [ebp + 0x10] */ 8154 ebx = MEM32(ebx + 0xC); /* 0x2B07DA91: mov ebx, dword ptr [ebx + 0xc] */ 8155 /* cmp esi, ebx */ /* 0x2B07DA94: cmp esi, ebx */ 8156 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 8157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8158 _flag_k = FK_CMP; 8159 MEM32(ebp + (-0x4)) = ebx; /* 0x2B07DA96: mov dword ptr [ebp - 4], ebx */ 8160 if (CMP_G(_flag_a, _flag_b)) goto L_2B07DB52; /* 0x2B07DA99: jg 0x2b07db52 */ 8161 L_2B07DA9F: 8162 ebx = MEM32(ebp + 0x10); /* 0x2B07DA9F: mov ebx, dword ptr [ebp + 0x10] */ 8163 ebx = MEM32(ebx); /* 0x2B07DAA2: mov ebx, dword ptr [ebx] */ 8164 /* cmp ecx, ebx */ /* 0x2B07DAA4: cmp ecx, ebx */ 8165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 8166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8167 _flag_k = FK_CMP; 8168 MEM32(ebp + (-0xC)) = ebx; /* 0x2B07DAA6: mov dword ptr [ebp - 0xc], ebx */ 8169 if (CMP_L(_flag_a, _flag_b)) goto L_2B07DB52; /* 0x2B07DAA9: jl 0x2b07db52 */ 8170 L_2B07DAAF: 8171 ebx = MEM32(ebp + 0x10); /* 0x2B07DAAF: mov ebx, dword ptr [ebp + 0x10] */ 8172 ebx = MEM32(ebx + 0x4); /* 0x2B07DAB2: mov ebx, dword ptr [ebx + 4] */ 8173 /* cmp eax, ebx */ /* 0x2B07DAB5: cmp eax, ebx */ 8174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 8175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8176 _flag_k = FK_CMP; 8177 MEM32(ebp + 0x10) = ebx; /* 0x2B07DAB7: mov dword ptr [ebp + 0x10], ebx */ 8178 if (CMP_L(_flag_a, _flag_b)) goto L_2B07DB52; /* 0x2B07DABA: jl 0x2b07db52 */ 8179 L_2B07DAC0: 8180 ebx = MEM32(ebp + 0x8); /* 0x2B07DAC0: mov ebx, dword ptr [ebp + 8] */ 8181 /* cmp ecx, ebx */ /* 0x2B07DAC3: cmp ecx, ebx */ 8182 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 8183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8184 _flag_k = FK_CMP; 8185 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07DAC9; /* 0x2B07DAC5: jle 0x2b07dac9 */ 8186 L_2B07DAC7: 8187 ecx = ebx; /* 0x2B07DAC7: mov ecx, ebx */ 8188 L_2B07DAC9: 8189 ebx = MEM32(ebp + (-0x4)); /* 0x2B07DAC9: mov ebx, dword ptr [ebp - 4] */ 8190 /* cmp eax, ebx */ /* 0x2B07DACC: cmp eax, ebx */ 8191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 8192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8193 _flag_k = FK_CMP; 8194 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07DAD2; /* 0x2B07DACE: jle 0x2b07dad2 */ 8195 L_2B07DAD0: 8196 eax = ebx; /* 0x2B07DAD0: mov eax, ebx */ 8197 L_2B07DAD2: 8198 ebx = MEM32(ebp + (-0xC)); /* 0x2B07DAD2: mov ebx, dword ptr [ebp - 0xc] */ 8199 /* cmp edx, ebx */ /* 0x2B07DAD5: cmp edx, ebx */ 8200 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8202 _flag_k = FK_CMP; 8203 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07DADB; /* 0x2B07DAD7: jge 0x2b07dadb */ 8204 L_2B07DAD9: 8205 edx = ebx; /* 0x2B07DAD9: mov edx, ebx */ 8206 L_2B07DADB: 8207 ebx = MEM32(ebp + 0x10); /* 0x2B07DADB: mov ebx, dword ptr [ebp + 0x10] */ 8208 /* cmp esi, ebx */ /* 0x2B07DADE: cmp esi, ebx */ 8209 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 8210 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8211 _flag_k = FK_CMP; 8212 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07DAE4; /* 0x2B07DAE0: jge 0x2b07dae4 */ 8213 L_2B07DAE2: 8214 esi = ebx; /* 0x2B07DAE2: mov esi, ebx */ 8215 L_2B07DAE4: 8216 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8218 eax = eax - esi; /* 0x2B07DAE4: sub eax, esi */ 8219 _flag_k = FK_CMP; 8220 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8222 ecx = ecx - edx; /* 0x2B07DAE6: sub ecx, edx */ 8223 _flag_k = FK_CMP; 8224 MEM32(ebp + (-0x4)) = eax; /* 0x2B07DAE8: mov dword ptr [ebp - 4], eax */ 8225 MEM32(ebp + (-0xC)) = esi; /* 0x2B07DAEB: mov dword ptr [ebp - 0xc], esi */ 8226 esi = MEM32(ebp + 0x14); /* 0x2B07DAEE: mov esi, dword ptr [ebp + 0x14] */ 8227 eax = ebp + (-0x10); /* 0x2B07DAF1: lea eax, [ebp - 0x10] */ 8228 MEM32(ebp + (-0x8)) = ecx; /* 0x2B07DAF4: mov dword ptr [ebp - 8], ecx */ 8229 PUSH32(esp, eax); /* 0x2B07DAF7: push eax */ 8230 ecx = esi; /* 0x2B07DAF8: mov ecx, esi */ 8231 MEM32(ebp + (-0x10)) = edx; /* 0x2B07DAFA: mov dword ptr [ebp - 0x10], edx */ 8232 RECOMP_ICALL(MEM32(0x2B0B5640)); /* 0x2B07DAFD: call dword ptr [0x2b0b5640] */ 8233 RECOMP_FLAGS_IN(); 8234 ecx = ebp + (-0x8); /* 0x2B07DB03: lea ecx, [ebp - 8] */ 8235 PUSH32(esp, ecx); /* 0x2B07DB06: push ecx */ 8236 ecx = esi; /* 0x2B07DB07: mov ecx, esi */ 8237 RECOMP_ICALL(MEM32(0x2B0B5558)); /* 0x2B07DB09: call dword ptr [0x2b0b5558] */ 8238 RECOMP_FLAGS_IN(); 8239 eax = MEM32(edi + 0x4); /* 0x2B07DB0F: mov eax, dword ptr [edi + 4] */ 8240 edx = MEM32(ebp + (-0xC)); /* 0x2B07DB12: mov edx, dword ptr [ebp - 0xc] */ 8241 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8243 edx = edx - eax; /* 0x2B07DB15: sub edx, eax */ 8244 _flag_k = FK_CMP; 8245 eax = MEM32(ebp + 0xC); /* 0x2B07DB17: mov eax, dword ptr [ebp + 0xc] */ 8246 MEM32(ebp + 0x10) = edx; /* 0x2B07DB1A: mov dword ptr [ebp + 0x10], edx */ 8247 fp_push((double)(int32_t)MEM32(ebp + 0x10)); /* 0x2B07DB1D: fild dword ptr [ebp + 0x10] */ 8248 edx = MEM32(edi); /* 0x2B07DB20: mov edx, dword ptr [edi] */ 8249 PUSH32(esp, ecx); /* 0x2B07DB22: push ecx */ 8250 ecx = MEM32(ebp + (-0x10)); /* 0x2B07DB23: mov ecx, dword ptr [ebp - 0x10] */ 8251 _st[0] = _st[0] / (double)(int32_t)MEM32(eax + 0x4); /* 0x2B07DB26: fidiv dword ptr [eax + 4] */ 8252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8254 ecx = ecx - edx; /* 0x2B07DB29: sub ecx, edx */ 8255 _flag_k = FK_CMP; 8256 MEM32(ebp + 0x10) = ecx; /* 0x2B07DB2B: mov dword ptr [ebp + 0x10], ecx */ 8257 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B07DB2E: fstp dword ptr [esp] */ 8258 fp_push((double)(int32_t)MEM32(ebp + 0x10)); /* 0x2B07DB31: fild dword ptr [ebp + 0x10] */ 8259 PUSH32(esp, ecx); /* 0x2B07DB34: push ecx */ 8260 ecx = esi; /* 0x2B07DB35: mov ecx, esi */ 8261 _st[0] = _st[0] / (double)(int32_t)MEM32(eax); /* 0x2B07DB37: fidiv dword ptr [eax] */ 8262 { float _v = (float)fp_pop(); *(float*)ADDR(esp) = _v; } /* 0x2B07DB39: fstp dword ptr [esp] */ 8263 RECOMP_ICALL(MEM32(0x2B0B5488)); /* 0x2B07DB3C: call dword ptr [0x2b0b5488] */ 8264 RECOMP_FLAGS_IN(); 8265 edx = MEM32(esi); /* 0x2B07DB42: mov edx, dword ptr [esi] */ 8266 ecx = esi; /* 0x2B07DB44: mov ecx, esi */ 8267 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B07DB46: call dword ptr [edx + 8] */ 8268 RECOMP_FLAGS_IN(); 8269 edi = POP32_VAL(esp); /* 0x2B07DB49: pop edi */ 8270 esi = POP32_VAL(esp); /* 0x2B07DB4A: pop esi */ 8271 ebx = POP32_VAL(esp); /* 0x2B07DB4B: pop ebx */ 8272 esp = ebp; /* 0x2B07DB4C: mov esp, ebp */ 8273 ebp = POP32_VAL(esp); /* 0x2B07DB4E: pop ebp */ 8274 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07DB4F: ret 0x10 */ 8275 L_2B07DB52: 8276 ecx = MEM32(ebp + 0x14); /* 0x2B07DB52: mov ecx, dword ptr [ebp + 0x14] */ 8277 eax = MEM32(ecx); /* 0x2B07DB55: mov eax, dword ptr [ecx] */ 8278 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B07DB57: call dword ptr [eax + 0xc] */ 8279 RECOMP_FLAGS_IN(); 8280 edi = POP32_VAL(esp); /* 0x2B07DB5A: pop edi */ 8281 esi = POP32_VAL(esp); /* 0x2B07DB5B: pop esi */ 8282 ebx = POP32_VAL(esp); /* 0x2B07DB5C: pop ebx */ 8283 esp = ebp; /* 0x2B07DB5D: mov esp, ebp */ 8284 ebp = POP32_VAL(esp); /* 0x2B07DB5F: pop ebp */ 8285 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07DB60: ret 0x10 */ 8286 RECOMP_REGS_OUT(); 8287 } 8288 8289 void sub_2B07DB70(void) { 8290 int _fpu_cmp = 0; 8291 uint32_t _cf = 0; 8292 int _df = 1; 8293 uint32_t _flag_k = FK_NONE; 8294 uint32_t _flag_a = 0, _flag_b = 0; 8295 uint32_t _itail_tgt = 0; 8296 RECOMP_REGS_LOCALS 8297 RECOMP_ENTER(0x2B07DB70u); 8298 8299 L_2B07DB70: 8300 PUSH32(esp, ebp); /* 0x2B07DB70: push ebp */ 8301 ebp = esp; /* 0x2B07DB71: mov ebp, esp */ 8302 PUSH32(esp, esi); /* 0x2B07DB73: push esi */ 8303 esi = MEM32(ecx + 0x7C); /* 0x2B07DB74: mov esi, dword ptr [ecx + 0x7c] */ 8304 /* test esi, esi */ /* 0x2B07DB77: test esi, esi */ 8305 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8306 _cf = 0; 8307 _flag_k = FK_TEST; 8308 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07DB90; /* 0x2B07DB79: jne 0x2b07db90 */ 8309 L_2B07DB7B: 8310 ecx = MEM32(ebp + 0xC); /* 0x2B07DB7B: mov ecx, dword ptr [ebp + 0xc] */ 8311 edx = MEM32(ecx); /* 0x2B07DB7E: mov edx, dword ptr [ecx] */ 8312 eax = MEM32(ebp + 0x8); /* 0x2B07DB80: mov eax, dword ptr [ebp + 8] */ 8313 MEM32(eax) = edx; /* 0x2B07DB83: mov dword ptr [eax], edx */ 8314 ecx = MEM32(ecx + 0x4); /* 0x2B07DB85: mov ecx, dword ptr [ecx + 4] */ 8315 MEM32(eax + 0x4) = ecx; /* 0x2B07DB88: mov dword ptr [eax + 4], ecx */ 8316 esi = POP32_VAL(esp); /* 0x2B07DB8B: pop esi */ 8317 ebp = POP32_VAL(esp); /* 0x2B07DB8C: pop ebp */ 8318 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07DB8D: ret 8 */ 8319 L_2B07DB90: 8320 eax = MEM32(ebp + 0xC); /* 0x2B07DB90: mov eax, dword ptr [ebp + 0xc] */ 8321 ecx = MEM32(eax); /* 0x2B07DB93: mov ecx, dword ptr [eax] */ 8322 /* test ecx, ecx */ /* 0x2B07DB95: test ecx, ecx */ 8323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8324 _cf = 0; 8325 _flag_k = FK_TEST; 8326 edx = MEM32(eax + 0x4); /* 0x2B07DB97: mov edx, dword ptr [eax + 4] */ 8327 if (TEST_NS(_flag_a, _flag_b)) goto L_2B07DB9E; /* 0x2B07DB9A: jge 0x2b07db9e */ 8328 L_2B07DB9C: 8329 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8330 ecx = 0; /* 0x2B07DB9C: xor ecx, ecx */ 8331 _cf = 0; 8332 _flag_k = FK_TEST; 8333 L_2B07DB9E: 8334 eax = MEM32(esi + 0x14); /* 0x2B07DB9E: mov eax, dword ptr [esi + 0x14] */ 8335 /* cmp ecx, eax */ /* 0x2B07DBA1: cmp ecx, eax */ 8336 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8338 _flag_k = FK_CMP; 8339 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07DBA7; /* 0x2B07DBA3: jle 0x2b07dba7 */ 8340 L_2B07DBA5: 8341 ecx = eax; /* 0x2B07DBA5: mov ecx, eax */ 8342 L_2B07DBA7: 8343 /* test edx, edx */ /* 0x2B07DBA7: test edx, edx */ 8344 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8345 _cf = 0; 8346 _flag_k = FK_TEST; 8347 if (TEST_NS(_flag_a, _flag_b)) goto L_2B07DBAD; /* 0x2B07DBA9: jge 0x2b07dbad */ 8348 L_2B07DBAB: 8349 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8350 edx = 0; /* 0x2B07DBAB: xor edx, edx */ 8351 _cf = 0; 8352 _flag_k = FK_TEST; 8353 L_2B07DBAD: 8354 eax = MEM32(esi + 0x18); /* 0x2B07DBAD: mov eax, dword ptr [esi + 0x18] */ 8355 /* cmp edx, eax */ /* 0x2B07DBB0: cmp edx, eax */ 8356 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8358 _flag_k = FK_CMP; 8359 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07DBB6; /* 0x2B07DBB2: jle 0x2b07dbb6 */ 8360 L_2B07DBB4: 8361 edx = eax; /* 0x2B07DBB4: mov edx, eax */ 8362 L_2B07DBB6: 8363 eax = MEM32(ebp + 0x8); /* 0x2B07DBB6: mov eax, dword ptr [ebp + 8] */ 8364 MEM32(eax) = ecx; /* 0x2B07DBB9: mov dword ptr [eax], ecx */ 8365 MEM32(eax + 0x4) = edx; /* 0x2B07DBBB: mov dword ptr [eax + 4], edx */ 8366 esi = POP32_VAL(esp); /* 0x2B07DBBE: pop esi */ 8367 ebp = POP32_VAL(esp); /* 0x2B07DBBF: pop ebp */ 8368 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07DBC0: ret 8 */ 8369 RECOMP_REGS_OUT(); 8370 } 8371 8372 void sub_2B07DBD0(void) { 8373 int _fpu_cmp = 0; 8374 uint32_t _cf = 0; 8375 int _df = 1; 8376 uint32_t _flag_k = FK_NONE; 8377 uint32_t _flag_a = 0, _flag_b = 0; 8378 uint32_t _itail_tgt = 0; 8379 RECOMP_REGS_LOCALS 8380 RECOMP_ENTER(0x2B07DBD0u); 8381 8382 L_2B07DBD0: 8383 PUSH32(esp, ebp); /* 0x2B07DBD0: push ebp */ 8384 ebp = esp; /* 0x2B07DBD1: mov ebp, esp */ 8385 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07DBD3: push -1 */ 8386 PUSH32(esp, 0x2B0B1CD8u); /* 0x2B07DBD5: push 0x2b0b1cd8 */ 8387 eax = MEM32(FS_BASE + (0)); /* 0x2B07DBDA: mov eax, dword ptr fs:[0] */ 8388 PUSH32(esp, eax); /* 0x2B07DBE0: push eax */ 8389 MEM32(FS_BASE + (0)) = esp; /* 0x2B07DBE1: mov dword ptr fs:[0], esp */ 8390 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 8391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8392 esp = esp - 0x1Cu; /* 0x2B07DBE8: sub esp, 0x1c */ 8393 _flag_k = FK_CMP; 8394 PUSH32(esp, esi); /* 0x2B07DBEB: push esi */ 8395 PUSH32(esp, edi); /* 0x2B07DBEC: push edi */ 8396 edi = ecx; /* 0x2B07DBED: mov edi, ecx */ 8397 MEM32(ebp + (-0x14)) = edi; /* 0x2B07DBEF: mov dword ptr [ebp - 0x14], edi */ 8398 RECOMP_ICALL(0x2B07DCC0u); /* 0x2B07DBF2: call 0x2b07dcc0 */ /* not lifted */ 8399 RECOMP_FLAGS_IN(); 8400 eax = MEM32(ebp + 0x8); /* 0x2B07DBF7: mov eax, dword ptr [ebp + 8] */ 8401 ecx = MEM32(ebp + 0xC); /* 0x2B07DBFA: mov ecx, dword ptr [ebp + 0xc] */ 8402 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8403 esi = 0; /* 0x2B07DBFD: xor esi, esi */ 8404 _cf = 0; 8405 _flag_k = FK_TEST; 8406 /* cmp eax, esi */ /* 0x2B07DBFF: cmp eax, esi */ 8407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8409 _flag_k = FK_CMP; 8410 MEM32(0x2B0EF088) = eax; /* 0x2B07DC01: mov dword ptr [0x2b0ef088], eax */ 8411 MEM32(0x2B0EF08C) = ecx; /* 0x2B07DC06: mov dword ptr [0x2b0ef08c], ecx */ 8412 MEM32(ebp + (-0x10)) = esi; /* 0x2B07DC0C: mov dword ptr [ebp - 0x10], esi */ 8413 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07DC7B; /* 0x2B07DC0F: jle 0x2b07dc7b */ 8414 L_2B07DC11: 8415 PUSH32(esp, ebx); /* 0x2B07DC11: push ebx */ 8416 L_2B07DC12: 8417 ecx = MEM32(ebp + 0xC); /* 0x2B07DC12: mov ecx, dword ptr [ebp + 0xc] */ 8418 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8419 ebx = 0; /* 0x2B07DC15: xor ebx, ebx */ 8420 _cf = 0; 8421 _flag_k = FK_TEST; 8422 /* cmp ecx, esi */ /* 0x2B07DC17: cmp ecx, esi */ 8423 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 8424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8425 _flag_k = FK_CMP; 8426 if (CMP_LE(_flag_a, _flag_b)) goto L_2B07DC6F; /* 0x2B07DC19: jle 0x2b07dc6f */ 8427 L_2B07DC1B: 8428 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x50u); 8429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8430 edi = edi + 0x50u; /* 0x2B07DC1B: add edi, 0x50 */ 8431 _flag_k = FK_ADD; 8432 L_2B07DC1E: 8433 edx = MEM32(ebp + (-0x10)); /* 0x2B07DC1E: mov edx, dword ptr [ebp - 0x10] */ 8434 MEM32(ebp + (-0x28)) = esi; /* 0x2B07DC21: mov dword ptr [ebp - 0x28], esi */ 8435 MEM32(ebp + (-0x24)) = esi; /* 0x2B07DC24: mov dword ptr [ebp - 0x24], esi */ 8436 MEM32(ebp + (-0x20)) = esi; /* 0x2B07DC27: mov dword ptr [ebp - 0x20], esi */ 8437 MEM32(ebp + (-0x1C)) = edx; /* 0x2B07DC2A: mov dword ptr [ebp - 0x1c], edx */ 8438 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07DC2D: mov dword ptr [ebp - 0x18], ebx */ 8439 eax = MEM32(edi + 0x8); /* 0x2B07DC30: mov eax, dword ptr [edi + 8] */ 8440 ecx = ebp + (-0x28); /* 0x2B07DC33: lea ecx, [ebp - 0x28] */ 8441 PUSH32(esp, ecx); /* 0x2B07DC36: push ecx */ 8442 PUSH32(esp, 1); /* 0x2B07DC37: push 1 */ 8443 PUSH32(esp, eax); /* 0x2B07DC39: push eax */ 8444 ecx = edi; /* 0x2B07DC3A: mov ecx, edi */ 8445 MEM32(ebp + (-0x4)) = esi; /* 0x2B07DC3C: mov dword ptr [ebp - 4], esi */ 8446 RECOMP_ICALL(0x2B080050u); /* 0x2B07DC3F: call 0x2b080050 */ /* not lifted */ 8447 RECOMP_FLAGS_IN(); 8448 ecx = MEM32(ebp + (-0x20)); /* 0x2B07DC44: mov ecx, dword ptr [ebp - 0x20] */ 8449 /* cmp ecx, esi */ /* 0x2B07DC47: cmp ecx, esi */ 8450 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 8451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8452 _flag_k = FK_CMP; 8453 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07DC49: mov dword ptr [ebp - 4], 0xffffffff */ 8454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DC58; /* 0x2B07DC50: je 0x2b07dc58 */ 8455 L_2B07DC52: 8456 edx = MEM32(ecx); /* 0x2B07DC52: mov edx, dword ptr [ecx] */ 8457 PUSH32(esp, 1); /* 0x2B07DC54: push 1 */ 8458 RECOMP_ICALL(MEM32(edx)); /* 0x2B07DC56: call dword ptr [edx] */ 8459 RECOMP_FLAGS_IN(); 8460 L_2B07DC58: 8461 eax = MEM32(ebp + 0xC); /* 0x2B07DC58: mov eax, dword ptr [ebp + 0xc] */ 8462 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(1); 8463 ebx = ebx + 1; /* 0x2B07DC5B: inc ebx */ 8464 _flag_k = FK_INC; 8465 /* cmp ebx, eax */ /* 0x2B07DC5C: cmp ebx, eax */ 8466 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8468 _flag_k = FK_CMP; 8469 MEM32(ebp + (-0x20)) = esi; /* 0x2B07DC5E: mov dword ptr [ebp - 0x20], esi */ 8470 MEM32(ebp + (-0x28)) = esi; /* 0x2B07DC61: mov dword ptr [ebp - 0x28], esi */ 8471 MEM32(ebp + (-0x24)) = esi; /* 0x2B07DC64: mov dword ptr [ebp - 0x24], esi */ 8472 RECOMP_BACKEDGE(); 8473 if (CMP_L(_flag_a, _flag_b)) goto L_2B07DC1E; /* 0x2B07DC67: jl 0x2b07dc1e */ 8474 L_2B07DC69: 8475 edi = MEM32(ebp + (-0x14)); /* 0x2B07DC69: mov edi, dword ptr [ebp - 0x14] */ 8476 eax = MEM32(ebp + 0x8); /* 0x2B07DC6C: mov eax, dword ptr [ebp + 8] */ 8477 L_2B07DC6F: 8478 ecx = MEM32(ebp + (-0x10)); /* 0x2B07DC6F: mov ecx, dword ptr [ebp - 0x10] */ 8479 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8480 ecx = ecx + 1; /* 0x2B07DC72: inc ecx */ 8481 _flag_k = FK_INC; 8482 /* cmp ecx, eax */ /* 0x2B07DC73: cmp ecx, eax */ 8483 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8485 _flag_k = FK_CMP; 8486 MEM32(ebp + (-0x10)) = ecx; /* 0x2B07DC75: mov dword ptr [ebp - 0x10], ecx */ 8487 RECOMP_BACKEDGE(); 8488 if (CMP_L(_flag_a, _flag_b)) goto L_2B07DC12; /* 0x2B07DC78: jl 0x2b07dc12 */ 8489 L_2B07DC7A: 8490 ebx = POP32_VAL(esp); /* 0x2B07DC7A: pop ebx */ 8491 L_2B07DC7B: 8492 ecx = MEM32(ebp + (-0xC)); /* 0x2B07DC7B: mov ecx, dword ptr [ebp - 0xc] */ 8493 edi = POP32_VAL(esp); /* 0x2B07DC7E: pop edi */ 8494 esi = POP32_VAL(esp); /* 0x2B07DC7F: pop esi */ 8495 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07DC80: mov dword ptr fs:[0], ecx */ 8496 esp = ebp; /* 0x2B07DC87: mov esp, ebp */ 8497 ebp = POP32_VAL(esp); /* 0x2B07DC89: pop ebp */ 8498 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07DC8A: ret 8 */ 8499 RECOMP_REGS_OUT(); 8500 } 8501 8502 void sub_2B07DC90(void) { 8503 int _fpu_cmp = 0; 8504 uint32_t _cf = 0; 8505 int _df = 1; 8506 uint32_t _flag_k = FK_NONE; 8507 uint32_t _flag_a = 0, _flag_b = 0; 8508 uint32_t _itail_tgt = 0; 8509 RECOMP_REGS_LOCALS 8510 RECOMP_ENTER(0x2B07DC90u); 8511 8512 L_2B07DC90: 8513 PUSH32(esp, esi); /* 0x2B07DC90: push esi */ 8514 esi = ecx; /* 0x2B07DC91: mov esi, ecx */ 8515 ecx = MEM32(esi + 0x8); /* 0x2B07DC93: mov ecx, dword ptr [esi + 8] */ 8516 /* test ecx, ecx */ /* 0x2B07DC96: test ecx, ecx */ 8517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8518 _cf = 0; 8519 _flag_k = FK_TEST; 8520 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DCA0; /* 0x2B07DC98: je 0x2b07dca0 */ 8521 L_2B07DC9A: 8522 eax = MEM32(ecx); /* 0x2B07DC9A: mov eax, dword ptr [ecx] */ 8523 PUSH32(esp, 1); /* 0x2B07DC9C: push 1 */ 8524 RECOMP_ICALL(MEM32(eax)); /* 0x2B07DC9E: call dword ptr [eax] */ 8525 RECOMP_FLAGS_IN(); 8526 L_2B07DCA0: 8527 MEM32(esi + 0x8) = 0; /* 0x2B07DCA0: mov dword ptr [esi + 8], 0 */ 8528 MEM32(esi) = 0; /* 0x2B07DCA7: mov dword ptr [esi], 0 */ 8529 MEM32(esi + 0x4) = 0; /* 0x2B07DCAD: mov dword ptr [esi + 4], 0 */ 8530 esi = POP32_VAL(esp); /* 0x2B07DCB4: pop esi */ 8531 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07DCB5: ret */ 8532 RECOMP_REGS_OUT(); 8533 } 8534 8535 void sub_2B07DCC0(void) { 8536 int _fpu_cmp = 0; 8537 uint32_t _cf = 0; 8538 int _df = 1; 8539 uint32_t _flag_k = FK_NONE; 8540 uint32_t _flag_a = 0, _flag_b = 0; 8541 uint32_t _itail_tgt = 0; 8542 RECOMP_REGS_LOCALS 8543 RECOMP_ENTER(0x2B07DCC0u); 8544 8545 L_2B07DCC0: 8546 PUSH32(esp, ebp); /* 0x2B07DCC0: push ebp */ 8547 ebp = esp; /* 0x2B07DCC1: mov ebp, esp */ 8548 PUSH32(esp, ecx); /* 0x2B07DCC3: push ecx */ 8549 edx = MEM32(ecx + 0x58); /* 0x2B07DCC4: mov edx, dword ptr [ecx + 0x58] */ 8550 PUSH32(esp, ebx); /* 0x2B07DCC7: push ebx */ 8551 ebx = MEM32(ecx + 0x54); /* 0x2B07DCC8: mov ebx, dword ptr [ecx + 0x54] */ 8552 eax = edx; /* 0x2B07DCCB: mov eax, edx */ 8553 /* cmp eax, edx */ /* 0x2B07DCCD: cmp eax, edx */ 8554 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8556 _flag_k = FK_CMP; 8557 PUSH32(esp, esi); /* 0x2B07DCCF: push esi */ 8558 PUSH32(esp, edi); /* 0x2B07DCD0: push edi */ 8559 MEM32(ebp + (-0x4)) = ecx; /* 0x2B07DCD1: mov dword ptr [ebp - 4], ecx */ 8560 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DCEE; /* 0x2B07DCD4: je 0x2b07dcee */ 8561 L_2B07DCD6: 8562 esi = eax; /* 0x2B07DCD6: mov esi, eax */ 8563 edi = ebx; /* 0x2B07DCD8: mov edi, ebx */ 8564 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 8565 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8566 eax = eax + 0x14u; /* 0x2B07DCDA: add eax, 0x14 */ 8567 _flag_k = FK_ADD; 8568 ecx = 5; /* 0x2B07DCDD: mov ecx, 5 */ 8569 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x14u); 8570 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8571 ebx = ebx + 0x14u; /* 0x2B07DCE2: add ebx, 0x14 */ 8572 _flag_k = FK_ADD; 8573 /* cmp eax, edx */ /* 0x2B07DCE5: cmp eax, edx */ 8574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8576 _flag_k = FK_CMP; 8577 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07DCE7: 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; } 8578 RECOMP_BACKEDGE(); 8579 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07DCD6; /* 0x2B07DCE9: jne 0x2b07dcd6 */ 8580 L_2B07DCEB: 8581 ecx = MEM32(ebp + (-0x4)); /* 0x2B07DCEB: mov ecx, dword ptr [ebp - 4] */ 8582 L_2B07DCEE: 8583 edi = MEM32(ecx + 0x58); /* 0x2B07DCEE: mov edi, dword ptr [ecx + 0x58] */ 8584 /* cmp ebx, edi */ /* 0x2B07DCF1: cmp ebx, edi */ 8585 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 8586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8587 _flag_k = FK_CMP; 8588 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DD1D; /* 0x2B07DCF3: je 0x2b07dd1d */ 8589 L_2B07DCF5: 8590 esi = ebx + 0x8; /* 0x2B07DCF5: lea esi, [ebx + 8] */ 8591 L_2B07DCF8: 8592 eax = MEM32(esi); /* 0x2B07DCF8: mov eax, dword ptr [esi] */ 8593 /* test eax, eax */ /* 0x2B07DCFA: test eax, eax */ 8594 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8595 _cf = 0; 8596 _flag_k = FK_TEST; 8597 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DD09; /* 0x2B07DCFC: je 0x2b07dd09 */ 8598 L_2B07DCFE: 8599 edx = MEM32(eax); /* 0x2B07DCFE: mov edx, dword ptr [eax] */ 8600 PUSH32(esp, 1); /* 0x2B07DD00: push 1 */ 8601 ecx = eax; /* 0x2B07DD02: mov ecx, eax */ 8602 RECOMP_ICALL(MEM32(edx)); /* 0x2B07DD04: call dword ptr [edx] */ 8603 RECOMP_FLAGS_IN(); 8604 ecx = MEM32(ebp + (-0x4)); /* 0x2B07DD06: mov ecx, dword ptr [ebp - 4] */ 8605 L_2B07DD09: 8606 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8607 eax = 0; /* 0x2B07DD09: xor eax, eax */ 8608 _cf = 0; 8609 _flag_k = FK_TEST; 8610 MEM32(esi) = eax; /* 0x2B07DD0B: mov dword ptr [esi], eax */ 8611 MEM32(esi + (-0x8)) = eax; /* 0x2B07DD0D: mov dword ptr [esi - 8], eax */ 8612 MEM32(esi + (-0x4)) = eax; /* 0x2B07DD10: mov dword ptr [esi - 4], eax */ 8613 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 8614 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8615 esi = esi + 0x14u; /* 0x2B07DD13: add esi, 0x14 */ 8616 _flag_k = FK_ADD; 8617 eax = esi + (-0x8); /* 0x2B07DD16: lea eax, [esi - 8] */ 8618 /* cmp eax, edi */ /* 0x2B07DD19: cmp eax, edi */ 8619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8621 _flag_k = FK_CMP; 8622 RECOMP_BACKEDGE(); 8623 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07DCF8; /* 0x2B07DD1B: jne 0x2b07dcf8 */ 8624 L_2B07DD1D: 8625 edi = POP32_VAL(esp); /* 0x2B07DD1D: pop edi */ 8626 esi = POP32_VAL(esp); /* 0x2B07DD1E: pop esi */ 8627 MEM32(ecx + 0x58) = ebx; /* 0x2B07DD1F: mov dword ptr [ecx + 0x58], ebx */ 8628 ebx = POP32_VAL(esp); /* 0x2B07DD22: pop ebx */ 8629 esp = ebp; /* 0x2B07DD23: mov esp, ebp */ 8630 ebp = POP32_VAL(esp); /* 0x2B07DD25: pop ebp */ 8631 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07DD26: ret */ 8632 RECOMP_REGS_OUT(); 8633 } 8634 8635 void sub_2B07DD30(void) { 8636 int _fpu_cmp = 0; 8637 uint32_t _cf = 0; 8638 int _df = 1; 8639 uint32_t _flag_k = FK_NONE; 8640 uint32_t _flag_a = 0, _flag_b = 0; 8641 uint32_t _itail_tgt = 0; 8642 RECOMP_REGS_LOCALS 8643 RECOMP_ENTER(0x2B07DD30u); 8644 8645 L_2B07DD30: 8646 PUSH32(esp, esi); /* 0x2B07DD30: push esi */ 8647 esi = ecx; /* 0x2B07DD31: mov esi, ecx */ 8648 eax = MEM32(esi + 0x7C); /* 0x2B07DD33: mov eax, dword ptr [esi + 0x7c] */ 8649 /* test eax, eax */ /* 0x2B07DD36: test eax, eax */ 8650 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8651 _cf = 0; 8652 _flag_k = FK_TEST; 8653 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DD82; /* 0x2B07DD38: je 0x2b07dd82 */ 8654 L_2B07DD3A: 8655 ecx = MEM32(esi + 0x48); /* 0x2B07DD3A: mov ecx, dword ptr [esi + 0x48] */ 8656 PUSH32(esp, eax); /* 0x2B07DD3D: push eax */ 8657 RECOMP_ICALL(0x2B07DF00u); /* 0x2B07DD3E: call 0x2b07df00 */ /* not lifted */ 8658 RECOMP_FLAGS_IN(); 8659 ecx = MEM32(esi + 0x4C); /* 0x2B07DD43: mov ecx, dword ptr [esi + 0x4c] */ 8660 /* test ecx, ecx */ /* 0x2B07DD46: test ecx, ecx */ 8661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8662 _cf = 0; 8663 _flag_k = FK_TEST; 8664 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DD77; /* 0x2B07DD48: je 0x2b07dd77 */ 8665 L_2B07DD4A: 8666 eax = MEM32(esi + 0x7C); /* 0x2B07DD4A: mov eax, dword ptr [esi + 0x7c] */ 8667 PUSH32(esp, eax); /* 0x2B07DD4D: push eax */ 8668 RECOMP_ICALL(0x2B07DF00u); /* 0x2B07DD4E: call 0x2b07df00 */ /* not lifted */ 8669 RECOMP_FLAGS_IN(); 8670 SET_LO8(eax, MEM8(0x2B0EF07D)); /* 0x2B07DD53: mov al, byte ptr [0x2b0ef07d] */ 8671 /* test LO8(eax), LO8(eax) */ /* 0x2B07DD58: test al, al */ 8672 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8673 _cf = 0; 8674 _flag_k = FK_NARROW(FK_TEST, 24); 8675 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DD6C; /* 0x2B07DD5A: je 0x2b07dd6c */ 8676 L_2B07DD5C: 8677 PUSH32(esp, esi); /* 0x2B07DD5C: push esi */ 8678 RECOMP_ICALL(0x2B07E530u); /* 0x2B07DD5D: call 0x2b07e530 */ /* not lifted */ 8679 RECOMP_FLAGS_IN(); 8680 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8681 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8682 esp = esp + 4; /* 0x2B07DD62: add esp, 4 */ 8683 _flag_k = FK_ADD; 8684 MEM8(0x2B0EF07D) = (uint8_t)(0); /* 0x2B07DD65: mov byte ptr [0x2b0ef07d], 0 */ 8685 L_2B07DD6C: 8686 ecx = MEM32(esi + 0x4C); /* 0x2B07DD6C: mov ecx, dword ptr [esi + 0x4c] */ 8687 PUSH32(esp, ecx); /* 0x2B07DD6F: push ecx */ 8688 ecx = esi; /* 0x2B07DD70: mov ecx, esi */ 8689 RECOMP_ICALL(0x2B07E030u); /* 0x2B07DD72: call 0x2b07e030 */ /* not lifted */ 8690 RECOMP_FLAGS_IN(); 8691 L_2B07DD77: 8692 edx = MEM32(esi + 0x48); /* 0x2B07DD77: mov edx, dword ptr [esi + 0x48] */ 8693 PUSH32(esp, edx); /* 0x2B07DD7A: push edx */ 8694 ecx = esi; /* 0x2B07DD7B: mov ecx, esi */ 8695 RECOMP_ICALL(0x2B07E030u); /* 0x2B07DD7D: call 0x2b07e030 */ /* not lifted */ 8696 RECOMP_FLAGS_IN(); 8697 L_2B07DD82: 8698 esi = POP32_VAL(esp); /* 0x2B07DD82: pop esi */ 8699 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07DD83: ret */ 8700 RECOMP_REGS_OUT(); 8701 } 8702 8703 void sub_2B07DD90(void) { 8704 int _fpu_cmp = 0; 8705 uint32_t _cf = 0; 8706 int _df = 1; 8707 uint32_t _flag_k = FK_NONE; 8708 uint32_t _flag_a = 0, _flag_b = 0; 8709 uint32_t _itail_tgt = 0; 8710 RECOMP_REGS_LOCALS 8711 RECOMP_ENTER(0x2B07DD90u); 8712 8713 L_2B07DD90: 8714 PUSH32(esp, ebp); /* 0x2B07DD90: push ebp */ 8715 ebp = esp; /* 0x2B07DD91: mov ebp, esp */ 8716 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07DD93: push -1 */ 8717 PUSH32(esp, 0x2B0B1CFBu); /* 0x2B07DD95: push 0x2b0b1cfb */ 8718 eax = MEM32(FS_BASE + (0)); /* 0x2B07DD9A: mov eax, dword ptr fs:[0] */ 8719 PUSH32(esp, eax); /* 0x2B07DDA0: push eax */ 8720 MEM32(FS_BASE + (0)) = esp; /* 0x2B07DDA1: mov dword ptr fs:[0], esp */ 8721 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 8722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8723 esp = esp - 0x10u; /* 0x2B07DDA8: sub esp, 0x10 */ 8724 _flag_k = FK_CMP; 8725 eax = MEM32(ebp + 0x8); /* 0x2B07DDAB: mov eax, dword ptr [ebp + 8] */ 8726 PUSH32(esp, ebx); /* 0x2B07DDAE: push ebx */ 8727 PUSH32(esp, esi); /* 0x2B07DDAF: push esi */ 8728 esi = ecx; /* 0x2B07DDB0: mov esi, ecx */ 8729 /* cmp esi, eax */ /* 0x2B07DDB2: cmp esi, eax */ 8730 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 8731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8732 _flag_k = FK_CMP; 8733 PUSH32(esp, edi); /* 0x2B07DDB4: push edi */ 8734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DDC1; /* 0x2B07DDB5: je 0x2b07ddc1 */ 8735 L_2B07DDB7: 8736 ecx = MEM32(eax); /* 0x2B07DDB7: mov ecx, dword ptr [eax] */ 8737 MEM32(esi) = ecx; /* 0x2B07DDB9: mov dword ptr [esi], ecx */ 8738 edx = MEM32(eax + 0x4); /* 0x2B07DDBB: mov edx, dword ptr [eax + 4] */ 8739 MEM32(esi + 0x4) = edx; /* 0x2B07DDBE: mov dword ptr [esi + 4], edx */ 8740 L_2B07DDC1: 8741 eax = MEM32(ebp + 0x10); /* 0x2B07DDC1: mov eax, dword ptr [ebp + 0x10] */ 8742 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8743 edi = 0; /* 0x2B07DDC4: xor edi, edi */ 8744 _cf = 0; 8745 _flag_k = FK_TEST; 8746 MEM32(esi + 0x1C) = edi; /* 0x2B07DDC6: mov dword ptr [esi + 0x1c], edi */ 8747 MEM32(esi + 0x20) = edi; /* 0x2B07DDC9: mov dword ptr [esi + 0x20], edi */ 8748 MEM32(esi + 0x24) = edi; /* 0x2B07DDCC: mov dword ptr [esi + 0x24], edi */ 8749 MEM32(esi + 0x28) = edi; /* 0x2B07DDCF: mov dword ptr [esi + 0x28], edi */ 8750 MEM32(esi + 0x2C) = edi; /* 0x2B07DDD2: mov dword ptr [esi + 0x2c], edi */ 8751 MEM32(esi + 0x30) = edi; /* 0x2B07DDD5: mov dword ptr [esi + 0x30], edi */ 8752 MEM32(esi + 0x34) = edi; /* 0x2B07DDD8: mov dword ptr [esi + 0x34], edi */ 8753 MEM32(esi + 0x38) = edi; /* 0x2B07DDDB: mov dword ptr [esi + 0x38], edi */ 8754 MEM8(esi + 0x3C) = (uint8_t)(1); /* 0x2B07DDDE: mov byte ptr [esi + 0x3c], 1 */ 8755 ecx = MEM32(eax); /* 0x2B07DDE2: mov ecx, dword ptr [eax] */ 8756 MEM32(esi + 0xC) = ecx; /* 0x2B07DDE4: mov dword ptr [esi + 0xc], ecx */ 8757 edx = MEM32(eax + 0x4); /* 0x2B07DDE7: mov edx, dword ptr [eax + 4] */ 8758 eax = MEM32(ebp + 0xC); /* 0x2B07DDEA: mov eax, dword ptr [ebp + 0xc] */ 8759 PUSH32(esp, 2); /* 0x2B07DDED: push 2 */ 8760 PUSH32(esp, eax); /* 0x2B07DDEF: push eax */ 8761 MEM32(esi + 0x10) = edx; /* 0x2B07DDF0: mov dword ptr [esi + 0x10], edx */ 8762 MEM32(esi + 0x14) = edi; /* 0x2B07DDF3: mov dword ptr [esi + 0x14], edi */ 8763 MEM32(esi + 0x18) = edi; /* 0x2B07DDF6: mov dword ptr [esi + 0x18], edi */ 8764 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07DDF9: call dword ptr [0x2b0b5f80] */ 8765 RECOMP_FLAGS_IN(); 8766 ecx = eax; /* 0x2B07DDFF: mov ecx, eax */ 8767 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B07DE01: call dword ptr [0x2b0b5fbc] */ 8768 RECOMP_FLAGS_IN(); 8769 PUSH32(esp, 0xD8u); /* 0x2B07DE07: push 0xd8 */ 8770 MEM32(ebp + 0xC) = eax; /* 0x2B07DE0C: mov dword ptr [ebp + 0xc], eax */ 8771 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07DE0F: call 0x2b0ab212 */ /* not lifted */ 8772 RECOMP_FLAGS_IN(); 8773 ebx = eax; /* 0x2B07DE14: mov ebx, eax */ 8774 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8776 esp = esp + 4; /* 0x2B07DE16: add esp, 4 */ 8777 _flag_k = FK_ADD; 8778 MEM32(ebp + (-0x10)) = ebx; /* 0x2B07DE19: mov dword ptr [ebp - 0x10], ebx */ 8779 /* cmp ebx, edi */ /* 0x2B07DE1C: cmp ebx, edi */ 8780 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 8781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8782 _flag_k = FK_CMP; 8783 MEM32(ebp + (-0x4)) = edi; /* 0x2B07DE1E: mov dword ptr [ebp - 4], edi */ 8784 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DE56; /* 0x2B07DE21: je 0x2b07de56 */ 8785 L_2B07DE23: 8786 eax = MEM32(ebp + 0x14); /* 0x2B07DE23: mov eax, dword ptr [ebp + 0x14] */ 8787 ecx = ebp + 0x8; /* 0x2B07DE26: lea ecx, [ebp + 8] */ 8788 PUSH32(esp, ecx); /* 0x2B07DE29: push ecx */ 8789 ecx = MEM32(ebp + 0xC); /* 0x2B07DE2A: mov ecx, dword ptr [ebp + 0xc] */ 8790 edx = ebp + 0x10; /* 0x2B07DE2D: lea edx, [ebp + 0x10] */ 8791 PUSH32(esp, edx); /* 0x2B07DE30: push edx */ 8792 PUSH32(esp, edi); /* 0x2B07DE31: push edi */ 8793 PUSH32(esp, eax); /* 0x2B07DE32: push eax */ 8794 PUSH32(esp, ecx); /* 0x2B07DE33: push ecx */ 8795 eax = esi + 0x14; /* 0x2B07DE34: lea eax, [esi + 0x14] */ 8796 PUSH32(esp, eax); /* 0x2B07DE37: push eax */ 8797 ecx = ebx; /* 0x2B07DE38: mov ecx, ebx */ 8798 MEM32(ebp + 0x8) = 0x3F800000u; /* 0x2B07DE3A: mov dword ptr [ebp + 8], 0x3f800000 */ 8799 MEM32(ebp + 0x10) = 0x3F800000u; /* 0x2B07DE41: mov dword ptr [ebp + 0x10], 0x3f800000 */ 8800 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B07DE48: call dword ptr [0x2b0b5654] */ 8801 RECOMP_FLAGS_IN(); 8802 MEM32(ebx) = 0x2B0B618Cu; /* 0x2B07DE4E: mov dword ptr [ebx], 0x2b0b618c */ 8803 goto L_2B07DE58; /* 0x2B07DE54: jmp 0x2b07de58 */ 8804 L_2B07DE56: 8805 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8806 ebx = 0; /* 0x2B07DE56: xor ebx, ebx */ 8807 _cf = 0; 8808 _flag_k = FK_TEST; 8809 L_2B07DE58: 8810 MEM32(ebp + (-0x1C)) = 0; /* 0x2B07DE58: mov dword ptr [ebp - 0x1c], 0 */ 8811 edx = MEM32(ebp + (-0x1C)); /* 0x2B07DE5F: mov edx, dword ptr [ebp - 0x1c] */ 8812 MEM32(esi + 0x1C) = edx; /* 0x2B07DE62: mov dword ptr [esi + 0x1c], edx */ 8813 MEM32(ebp + (-0x18)) = 0; /* 0x2B07DE65: mov dword ptr [ebp - 0x18], 0 */ 8814 eax = MEM32(ebp + (-0x18)); /* 0x2B07DE6C: mov eax, dword ptr [ebp - 0x18] */ 8815 MEM32(esi + 0x20) = eax; /* 0x2B07DE6F: mov dword ptr [esi + 0x20], eax */ 8816 MEM32(ebp + (-0x1C)) = 0; /* 0x2B07DE72: mov dword ptr [ebp - 0x1c], 0 */ 8817 edx = MEM32(ebp + (-0x1C)); /* 0x2B07DE79: mov edx, dword ptr [ebp - 0x1c] */ 8818 MEM32(esi + 0x28) = edx; /* 0x2B07DE7C: mov dword ptr [esi + 0x28], edx */ 8819 MEM32(ebp + (-0x18)) = 0; /* 0x2B07DE7F: mov dword ptr [ebp - 0x18], 0 */ 8820 eax = MEM32(ebp + (-0x18)); /* 0x2B07DE86: mov eax, dword ptr [ebp - 0x18] */ 8821 MEM32(esi + 0x2C) = eax; /* 0x2B07DE89: mov dword ptr [esi + 0x2c], eax */ 8822 MEM32(ebp + (-0x14)) = 0; /* 0x2B07DE8C: mov dword ptr [ebp - 0x14], 0 */ 8823 ecx = MEM32(ebp + (-0x14)); /* 0x2B07DE93: mov ecx, dword ptr [ebp - 0x14] */ 8824 MEM32(esi + 0x24) = ecx; /* 0x2B07DE96: mov dword ptr [esi + 0x24], ecx */ 8825 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8826 eax = 0; /* 0x2B07DE99: xor eax, eax */ 8827 _cf = 0; 8828 _flag_k = FK_TEST; 8829 MEM32(esi + 0x34) = eax; /* 0x2B07DE9B: mov dword ptr [esi + 0x34], eax */ 8830 MEM32(esi + 0x38) = edi; /* 0x2B07DE9E: mov dword ptr [esi + 0x38], edi */ 8831 MEM32(ebp + (-0x14)) = 0; /* 0x2B07DEA1: mov dword ptr [ebp - 0x14], 0 */ 8832 ecx = MEM32(ebp + (-0x14)); /* 0x2B07DEA8: mov ecx, dword ptr [ebp - 0x14] */ 8833 MEM32(esi + 0x8) = ebx; /* 0x2B07DEAB: mov dword ptr [esi + 8], ebx */ 8834 MEM32(esi + 0x30) = ecx; /* 0x2B07DEAE: mov dword ptr [esi + 0x30], ecx */ 8835 ecx = MEM32(ebp + (-0xC)); /* 0x2B07DEB1: mov ecx, dword ptr [ebp - 0xc] */ 8836 edi = POP32_VAL(esp); /* 0x2B07DEB4: pop edi */ 8837 eax = esi; /* 0x2B07DEB5: mov eax, esi */ 8838 esi = POP32_VAL(esp); /* 0x2B07DEB7: pop esi */ 8839 ebx = POP32_VAL(esp); /* 0x2B07DEB8: pop ebx */ 8840 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07DEB9: mov dword ptr fs:[0], ecx */ 8841 esp = ebp; /* 0x2B07DEC0: mov esp, ebp */ 8842 ebp = POP32_VAL(esp); /* 0x2B07DEC2: pop ebp */ 8843 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07DEC3: ret 0x10 */ 8844 RECOMP_REGS_OUT(); 8845 } 8846 8847 void sub_2B07DE6C(void) { 8848 int _fpu_cmp = 0; 8849 uint32_t _cf = 0; 8850 int _df = 1; 8851 uint32_t _flag_k = FK_NONE; 8852 uint32_t _flag_a = 0, _flag_b = 0; 8853 uint32_t _itail_tgt = 0; 8854 RECOMP_REGS_LOCALS 8855 RECOMP_ENTER(0x2B07DE6Cu); 8856 8857 L_2B07DE6C: 8858 eax = MEM32(ebp + (-0x18)); /* 0x2B07DE6C: mov eax, dword ptr [ebp - 0x18] */ 8859 MEM32(esi + 0x20) = eax; /* 0x2B07DE6F: mov dword ptr [esi + 0x20], eax */ 8860 MEM32(ebp + (-0x1C)) = 0; /* 0x2B07DE72: mov dword ptr [ebp - 0x1c], 0 */ 8861 edx = MEM32(ebp + (-0x1C)); /* 0x2B07DE79: mov edx, dword ptr [ebp - 0x1c] */ 8862 MEM32(esi + 0x28) = edx; /* 0x2B07DE7C: mov dword ptr [esi + 0x28], edx */ 8863 MEM32(ebp + (-0x18)) = 0; /* 0x2B07DE7F: mov dword ptr [ebp - 0x18], 0 */ 8864 eax = MEM32(ebp + (-0x18)); /* 0x2B07DE86: mov eax, dword ptr [ebp - 0x18] */ 8865 MEM32(esi + 0x2C) = eax; /* 0x2B07DE89: mov dword ptr [esi + 0x2c], eax */ 8866 MEM32(ebp + (-0x14)) = 0; /* 0x2B07DE8C: mov dword ptr [ebp - 0x14], 0 */ 8867 ecx = MEM32(ebp + (-0x14)); /* 0x2B07DE93: mov ecx, dword ptr [ebp - 0x14] */ 8868 MEM32(esi + 0x24) = ecx; /* 0x2B07DE96: mov dword ptr [esi + 0x24], ecx */ 8869 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8870 eax = 0; /* 0x2B07DE99: xor eax, eax */ 8871 _cf = 0; 8872 _flag_k = FK_TEST; 8873 MEM32(esi + 0x34) = eax; /* 0x2B07DE9B: mov dword ptr [esi + 0x34], eax */ 8874 MEM32(esi + 0x38) = edi; /* 0x2B07DE9E: mov dword ptr [esi + 0x38], edi */ 8875 MEM32(ebp + (-0x14)) = 0; /* 0x2B07DEA1: mov dword ptr [ebp - 0x14], 0 */ 8876 ecx = MEM32(ebp + (-0x14)); /* 0x2B07DEA8: mov ecx, dword ptr [ebp - 0x14] */ 8877 MEM32(esi + 0x8) = ebx; /* 0x2B07DEAB: mov dword ptr [esi + 8], ebx */ 8878 MEM32(esi + 0x30) = ecx; /* 0x2B07DEAE: mov dword ptr [esi + 0x30], ecx */ 8879 ecx = MEM32(ebp + (-0xC)); /* 0x2B07DEB1: mov ecx, dword ptr [ebp - 0xc] */ 8880 edi = POP32_VAL(esp); /* 0x2B07DEB4: pop edi */ 8881 eax = esi; /* 0x2B07DEB5: mov eax, esi */ 8882 esi = POP32_VAL(esp); /* 0x2B07DEB7: pop esi */ 8883 ebx = POP32_VAL(esp); /* 0x2B07DEB8: pop ebx */ 8884 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07DEB9: mov dword ptr fs:[0], ecx */ 8885 esp = ebp; /* 0x2B07DEC0: mov esp, ebp */ 8886 ebp = POP32_VAL(esp); /* 0x2B07DEC2: pop ebp */ 8887 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07DEC3: ret 0x10 */ 8888 RECOMP_REGS_OUT(); 8889 } 8890 8891 void sub_2B07DE86(void) { 8892 int _fpu_cmp = 0; 8893 uint32_t _cf = 0; 8894 int _df = 1; 8895 uint32_t _flag_k = FK_NONE; 8896 uint32_t _flag_a = 0, _flag_b = 0; 8897 uint32_t _itail_tgt = 0; 8898 RECOMP_REGS_LOCALS 8899 RECOMP_ENTER(0x2B07DE86u); 8900 8901 L_2B07DE86: 8902 eax = MEM32(ebp + (-0x18)); /* 0x2B07DE86: mov eax, dword ptr [ebp - 0x18] */ 8903 MEM32(esi + 0x2C) = eax; /* 0x2B07DE89: mov dword ptr [esi + 0x2c], eax */ 8904 MEM32(ebp + (-0x14)) = 0; /* 0x2B07DE8C: mov dword ptr [ebp - 0x14], 0 */ 8905 ecx = MEM32(ebp + (-0x14)); /* 0x2B07DE93: mov ecx, dword ptr [ebp - 0x14] */ 8906 MEM32(esi + 0x24) = ecx; /* 0x2B07DE96: mov dword ptr [esi + 0x24], ecx */ 8907 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8908 eax = 0; /* 0x2B07DE99: xor eax, eax */ 8909 _cf = 0; 8910 _flag_k = FK_TEST; 8911 MEM32(esi + 0x34) = eax; /* 0x2B07DE9B: mov dword ptr [esi + 0x34], eax */ 8912 MEM32(esi + 0x38) = edi; /* 0x2B07DE9E: mov dword ptr [esi + 0x38], edi */ 8913 MEM32(ebp + (-0x14)) = 0; /* 0x2B07DEA1: mov dword ptr [ebp - 0x14], 0 */ 8914 ecx = MEM32(ebp + (-0x14)); /* 0x2B07DEA8: mov ecx, dword ptr [ebp - 0x14] */ 8915 MEM32(esi + 0x8) = ebx; /* 0x2B07DEAB: mov dword ptr [esi + 8], ebx */ 8916 MEM32(esi + 0x30) = ecx; /* 0x2B07DEAE: mov dword ptr [esi + 0x30], ecx */ 8917 ecx = MEM32(ebp + (-0xC)); /* 0x2B07DEB1: mov ecx, dword ptr [ebp - 0xc] */ 8918 edi = POP32_VAL(esp); /* 0x2B07DEB4: pop edi */ 8919 eax = esi; /* 0x2B07DEB5: mov eax, esi */ 8920 esi = POP32_VAL(esp); /* 0x2B07DEB7: pop esi */ 8921 ebx = POP32_VAL(esp); /* 0x2B07DEB8: pop ebx */ 8922 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07DEB9: mov dword ptr fs:[0], ecx */ 8923 esp = ebp; /* 0x2B07DEC0: mov esp, ebp */ 8924 ebp = POP32_VAL(esp); /* 0x2B07DEC2: pop ebp */ 8925 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07DEC3: ret 0x10 */ 8926 RECOMP_REGS_OUT(); 8927 } 8928 8929 void sub_2B07DED0(void) { 8930 int _fpu_cmp = 0; 8931 uint32_t _cf = 0; 8932 int _df = 1; 8933 uint32_t _flag_k = FK_NONE; 8934 uint32_t _flag_a = 0, _flag_b = 0; 8935 uint32_t _itail_tgt = 0; 8936 RECOMP_REGS_LOCALS 8937 RECOMP_ENTER(0x2B07DED0u); 8938 8939 L_2B07DED0: 8940 PUSH32(esp, esi); /* 0x2B07DED0: push esi */ 8941 esi = ecx; /* 0x2B07DED1: mov esi, ecx */ 8942 eax = MEM32(esi + 0x8); /* 0x2B07DED3: mov eax, dword ptr [esi + 8] */ 8943 /* test eax, eax */ /* 0x2B07DED6: test eax, eax */ 8944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8945 _cf = 0; 8946 _flag_k = FK_TEST; 8947 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DEF9; /* 0x2B07DED8: je 0x2b07def9 */ 8948 L_2B07DEDA: 8949 eax = MEM32(eax + 0x28); /* 0x2B07DEDA: mov eax, dword ptr [eax + 0x28] */ 8950 PUSH32(esp, eax); /* 0x2B07DEDD: push eax */ 8951 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B07DEDE: call dword ptr [0x2b0b5f80] */ 8952 RECOMP_FLAGS_IN(); 8953 ecx = eax; /* 0x2B07DEE4: mov ecx, eax */ 8954 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B07DEE6: call dword ptr [0x2b0b5fb8] */ 8955 RECOMP_FLAGS_IN(); 8956 ecx = MEM32(esi + 0x8); /* 0x2B07DEEC: mov ecx, dword ptr [esi + 8] */ 8957 /* test ecx, ecx */ /* 0x2B07DEEF: test ecx, ecx */ 8958 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8959 _cf = 0; 8960 _flag_k = FK_TEST; 8961 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07DEF9; /* 0x2B07DEF1: je 0x2b07def9 */ 8962 L_2B07DEF3: 8963 eax = MEM32(ecx); /* 0x2B07DEF3: mov eax, dword ptr [ecx] */ 8964 PUSH32(esp, 1); /* 0x2B07DEF5: push 1 */ 8965 RECOMP_ICALL(MEM32(eax)); /* 0x2B07DEF7: call dword ptr [eax] */ 8966 RECOMP_FLAGS_IN(); 8967 L_2B07DEF9: 8968 esi = POP32_VAL(esp); /* 0x2B07DEF9: pop esi */ 8969 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07DEFA: ret */ 8970 RECOMP_REGS_OUT(); 8971 } 8972 8973 void sub_2B07DF00(void) { 8974 int _fpu_cmp = 0; 8975 uint32_t _cf = 0; 8976 int _df = 1; 8977 uint32_t _flag_k = FK_NONE; 8978 uint32_t _flag_a = 0, _flag_b = 0; 8979 uint32_t _itail_tgt = 0; 8980 RECOMP_REGS_LOCALS 8981 RECOMP_ENTER(0x2B07DF00u); 8982 8983 L_2B07DF00: 8984 PUSH32(esp, ebp); /* 0x2B07DF00: push ebp */ 8985 ebp = esp; /* 0x2B07DF01: mov ebp, esp */ 8986 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8988 esp = esp - 0xCu; /* 0x2B07DF03: sub esp, 0xc */ 8989 _flag_k = FK_CMP; 8990 PUSH32(esp, ebx); /* 0x2B07DF06: push ebx */ 8991 PUSH32(esp, esi); /* 0x2B07DF07: push esi */ 8992 esi = ecx; /* 0x2B07DF08: mov esi, ecx */ 8993 PUSH32(esp, edi); /* 0x2B07DF0A: push edi */ 8994 ebx = esi + 0x28; /* 0x2B07DF0B: lea ebx, [esi + 0x28] */ 8995 PUSH32(esp, ebx); /* 0x2B07DF0E: push ebx */ 8996 edi = esi + 0x1C; /* 0x2B07DF0F: lea edi, [esi + 0x1c] */ 8997 PUSH32(esp, edi); /* 0x2B07DF12: push edi */ 8998 eax = esi + 0x34; /* 0x2B07DF13: lea eax, [esi + 0x34] */ 8999 PUSH32(esp, eax); /* 0x2B07DF16: push eax */ 9000 PUSH32(esp, esi); /* 0x2B07DF17: push esi */ 9001 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B07DF18: call dword ptr [0x2b0b5d6c] */ 9002 RECOMP_FLAGS_IN(); 9003 ecx = eax; /* 0x2B07DF1E: mov ecx, eax */ 9004 RECOMP_ICALL(MEM32(0x2B0B5C88)); /* 0x2B07DF20: call dword ptr [0x2b0b5c88] */ 9005 RECOMP_FLAGS_IN(); 9006 /* test LO8(eax), LO8(eax) */ /* 0x2B07DF26: test al, al */ 9007 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9008 _cf = 0; 9009 _flag_k = FK_NARROW(FK_TEST, 24); 9010 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E015; /* 0x2B07DF28: je 0x2b07e015 */ 9011 L_2B07DF2E: 9012 ecx = MEM32(esi + 0x38); /* 0x2B07DF2E: mov ecx, dword ptr [esi + 0x38] */ 9013 edx = ebp + (-0x4); /* 0x2B07DF31: lea edx, [ebp - 4] */ 9014 MEM32(ebp + (-0x4)) = ecx; /* 0x2B07DF34: mov dword ptr [ebp - 4], ecx */ 9015 PUSH32(esp, edx); /* 0x2B07DF37: push edx */ 9016 ecx = 0x2B0EF058u; /* 0x2B07DF38: mov ecx, 0x2b0ef058 */ 9017 RECOMP_ICALL(0x2B081430u); /* 0x2B07DF3D: call 0x2b081430 */ /* not lifted */ 9018 RECOMP_FLAGS_IN(); 9019 ecx = MEM32(0x2B0EF05C); /* 0x2B07DF42: mov ecx, dword ptr [0x2b0ef05c] */ 9020 /* cmp eax, ecx */ /* 0x2B07DF48: cmp eax, ecx */ 9021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9023 _flag_k = FK_CMP; 9024 MEM32(ebp + (-0x8)) = eax; /* 0x2B07DF4A: mov dword ptr [ebp - 8], eax */ 9025 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DF5C; /* 0x2B07DF4D: je 0x2b07df5c */ 9026 L_2B07DF4F: 9027 edx = MEM32(ebp + (-0x4)); /* 0x2B07DF4F: mov edx, dword ptr [ebp - 4] */ 9028 /* cmp edx, MEM32(eax + 0xC) */ /* 0x2B07DF52: cmp edx, dword ptr [eax + 0xc] */ 9029 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 9030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9031 _flag_k = FK_CMP; 9032 if (CMP_B(_flag_a, _flag_b)) goto L_2B07DF5C; /* 0x2B07DF55: jb 0x2b07df5c */ 9033 L_2B07DF57: 9034 eax = ebp + (-0x8); /* 0x2B07DF57: lea eax, [ebp - 8] */ 9035 goto L_2B07DF62; /* 0x2B07DF5A: jmp 0x2b07df62 */ 9036 L_2B07DF5C: 9037 MEM32(ebp + (-0xC)) = ecx; /* 0x2B07DF5C: mov dword ptr [ebp - 0xc], ecx */ 9038 eax = ebp + (-0xC); /* 0x2B07DF5F: lea eax, [ebp - 0xc] */ 9039 L_2B07DF62: 9040 eax = MEM32(eax); /* 0x2B07DF62: mov eax, dword ptr [eax] */ 9041 /* cmp eax, ecx */ /* 0x2B07DF64: cmp eax, ecx */ 9042 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9044 _flag_k = FK_CMP; 9045 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07DF7E; /* 0x2B07DF66: je 0x2b07df7e */ 9046 L_2B07DF68: 9047 fp_push((double)(int32_t)MEM32(eax + 0x10)); /* 0x2B07DF68: fild dword ptr [eax + 0x10] */ 9048 _st[0] += (double)*(float*)ADDR(ebx); /* 0x2B07DF6B: fadd dword ptr [ebx] */ 9049 { float _v = (float)fp_pop(); *(float*)ADDR(edi) = _v; } /* 0x2B07DF6D: fstp dword ptr [edi] */ 9050 fp_push((double)(int32_t)MEM32(eax + 0x14)); /* 0x2B07DF6F: fild dword ptr [eax + 0x14] */ 9051 MEM8(esi + 0x3C) = (uint8_t)(0); /* 0x2B07DF72: mov byte ptr [esi + 0x3c], 0 */ 9052 _st[0] += (double)*(float*)ADDR(esi + 0x30); /* 0x2B07DF76: fadd dword ptr [esi + 0x30] */ 9053 { float _v = (float)fp_pop(); *(float*)ADDR(esi + 0x24) = _v; } /* 0x2B07DF79: fstp dword ptr [esi + 0x24] */ 9054 goto L_2B07DF82; /* 0x2B07DF7C: jmp 0x2b07df82 */ 9055 L_2B07DF7E: 9056 MEM8(esi + 0x3C) = (uint8_t)(1); /* 0x2B07DF7E: mov byte ptr [esi + 0x3c], 1 */ 9057 L_2B07DF82: 9058 fp_push(*(float*)&MEM32(edi)); /* 0x2B07DF82: fld dword ptr [edi] */ 9059 RECOMP_ICALL(0x2B0AB220u); /* 0x2B07DF84: call 0x2b0ab220 */ /* not lifted */ 9060 RECOMP_FLAGS_IN(); 9061 fp_push(*(float*)&MEM32(esi + 0x24)); /* 0x2B07DF89: fld dword ptr [esi + 0x24] */ 9062 ebx = eax + (-0x792E); /* 0x2B07DF8C: lea ebx, [eax - 0x792e] */ 9063 MEM32(esi + 0x14) = ebx; /* 0x2B07DF92: mov dword ptr [esi + 0x14], ebx */ 9064 RECOMP_ICALL(0x2B0AB220u); /* 0x2B07DF95: call 0x2b0ab220 */ /* not lifted */ 9065 RECOMP_FLAGS_IN(); 9066 ecx = MEM32(ebp + 0x8); /* 0x2B07DF9A: mov ecx, dword ptr [ebp + 8] */ 9067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFF9ED0u); 9068 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9069 eax = eax + 0xFFFF9ED0u; /* 0x2B07DF9D: add eax, 0xffff9ed0 */ 9070 _flag_k = FK_ADD; 9071 MEM32(esi + 0x18) = eax; /* 0x2B07DFA2: mov dword ptr [esi + 0x18], eax */ 9072 edx = MEM32(ecx + 0x1C); /* 0x2B07DFA5: mov edx, dword ptr [ecx + 0x1c] */ 9073 edi = MEM32(ecx + 0x24); /* 0x2B07DFA8: mov edi, dword ptr [ecx + 0x24] */ 9074 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 9075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9076 edi = edi - edx; /* 0x2B07DFAB: sub edi, edx */ 9077 _flag_k = FK_CMP; 9078 edi = (uint32_t)((int32_t)edi * (int32_t)ebx); /* 0x2B07DFAD: imul edi, ebx */ 9079 MEM32(ebp + (-0xC)) = eax; /* 0x2B07DFB0: mov dword ptr [ebp - 0xc], eax */ 9080 eax = 0xDFAF2D35u; /* 0x2B07DFB3: mov eax, 0xdfaf2d35 */ 9081 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edi); /* 0x2B07DFB8: imul edi */ 9082 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 9083 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 9084 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9086 edx = edx + edi; /* 0x2B07DFBA: add edx, edi */ 9087 _flag_k = FK_ADD; 9088 if (14u) _cf = (((edx) >> 13) & 1u); /* 0x2B07DFBC: sar edx, 0xe */ 9089 if (14u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 14u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9090 edx = (uint32_t)((int32_t)edx >> 14u); 9091 eax = edx; /* 0x2B07DFBF: mov eax, edx */ 9092 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B07DFC1: shr eax, 0x1f */ 9093 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9094 eax = eax >> 31u; /* 0x2B07DFC1: shr eax, 0x1f */ 9095 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9096 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9097 edx = edx + eax; /* 0x2B07DFC4: add edx, eax */ 9098 _flag_k = FK_ADD; 9099 MEM32(esi + 0x14) = edx; /* 0x2B07DFC6: mov dword ptr [esi + 0x14], edx */ 9100 edi = MEM32(ecx + 0x20); /* 0x2B07DFC9: mov edi, dword ptr [ecx + 0x20] */ 9101 edx = MEM32(ecx + 0x28); /* 0x2B07DFCC: mov edx, dword ptr [ecx + 0x28] */ 9102 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9104 edx = edx - edi; /* 0x2B07DFCF: sub edx, edi */ 9105 _flag_k = FK_CMP; 9106 edx = (uint32_t)((int32_t)edx * (int32_t)MEM32(ebp + (-0xC))); /* 0x2B07DFD1: imul edx, dword ptr [ebp - 0xc] */ 9107 eax = 0x2B7B78EDu; /* 0x2B07DFD5: mov eax, 0x2b7b78ed */ 9108 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B07DFDA: imul edx */ 9109 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 9110 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 9111 if (12u) _cf = (((edx) >> 11) & 1u); /* 0x2B07DFDC: sar edx, 0xc */ 9112 if (12u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 12u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9113 edx = (uint32_t)((int32_t)edx >> 12u); 9114 eax = edx; /* 0x2B07DFDF: mov eax, edx */ 9115 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B07DFE1: shr eax, 0x1f */ 9116 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9117 eax = eax >> 31u; /* 0x2B07DFE1: shr eax, 0x1f */ 9118 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9119 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9120 edx = edx + eax; /* 0x2B07DFE4: add edx, eax */ 9121 _flag_k = FK_ADD; 9122 eax = MEM32(esi + 0x14); /* 0x2B07DFE6: mov eax, dword ptr [esi + 0x14] */ 9123 MEM32(esi + 0x18) = edx; /* 0x2B07DFE9: mov dword ptr [esi + 0x18], edx */ 9124 edx = MEM32(ecx + 0x1C); /* 0x2B07DFEC: mov edx, dword ptr [ecx + 0x1c] */ 9125 ebx = MEM32(esi + 0x18); /* 0x2B07DFEF: mov ebx, dword ptr [esi + 0x18] */ 9126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9127 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9128 eax = eax + edx; /* 0x2B07DFF2: add eax, edx */ 9129 _flag_k = FK_ADD; 9130 MEM32(esi + 0x14) = eax; /* 0x2B07DFF4: mov dword ptr [esi + 0x14], eax */ 9131 eax = MEM32(ecx + 0x20); /* 0x2B07DFF7: mov eax, dword ptr [ecx + 0x20] */ 9132 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9133 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9134 ebx = ebx + eax; /* 0x2B07DFFA: add ebx, eax */ 9135 _flag_k = FK_ADD; 9136 MEM32(esi + 0x18) = ebx; /* 0x2B07DFFC: mov dword ptr [esi + 0x18], ebx */ 9137 edx = MEM32(ecx + 0x28); /* 0x2B07DFFF: mov edx, dword ptr [ecx + 0x28] */ 9138 eax = ebx; /* 0x2B07E002: mov eax, ebx */ 9139 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9141 edx = edx - eax; /* 0x2B07E004: sub edx, eax */ 9142 _flag_k = FK_CMP; 9143 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x20)); 9144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9145 edx = edx - MEM32(ecx + 0x20); /* 0x2B07E006: sub edx, dword ptr [ecx + 0x20] */ 9146 _flag_k = FK_CMP; 9147 edi = POP32_VAL(esp); /* 0x2B07E009: pop edi */ 9148 MEM32(esi + 0x18) = edx; /* 0x2B07E00A: mov dword ptr [esi + 0x18], edx */ 9149 esi = POP32_VAL(esp); /* 0x2B07E00D: pop esi */ 9150 ebx = POP32_VAL(esp); /* 0x2B07E00E: pop ebx */ 9151 esp = ebp; /* 0x2B07E00F: mov esp, ebp */ 9152 ebp = POP32_VAL(esp); /* 0x2B07E011: pop ebp */ 9153 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07E012: ret 4 */ 9154 L_2B07E015: 9155 edi = POP32_VAL(esp); /* 0x2B07E015: pop edi */ 9156 MEM8(esi + 0x3C) = (uint8_t)(1); /* 0x2B07E016: mov byte ptr [esi + 0x3c], 1 */ 9157 esi = POP32_VAL(esp); /* 0x2B07E01A: pop esi */ 9158 ebx = POP32_VAL(esp); /* 0x2B07E01B: pop ebx */ 9159 esp = ebp; /* 0x2B07E01C: mov esp, ebp */ 9160 ebp = POP32_VAL(esp); /* 0x2B07E01E: pop ebp */ 9161 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07E01F: ret 4 */ 9162 RECOMP_REGS_OUT(); 9163 } 9164 9165 void sub_2B07E030(void) { 9166 int _fpu_cmp = 0; 9167 uint32_t _cf = 0; 9168 int _df = 1; 9169 uint32_t _flag_k = FK_NONE; 9170 uint32_t _flag_a = 0, _flag_b = 0; 9171 uint32_t _itail_tgt = 0; 9172 RECOMP_REGS_LOCALS 9173 RECOMP_ENTER(0x2B07E030u); 9174 9175 L_2B07E030: 9176 PUSH32(esp, ebp); /* 0x2B07E030: push ebp */ 9177 ebp = esp; /* 0x2B07E031: mov ebp, esp */ 9178 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 9179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9180 esp = esp - 0x38u; /* 0x2B07E033: sub esp, 0x38 */ 9181 _flag_k = FK_CMP; 9182 PUSH32(esp, esi); /* 0x2B07E036: push esi */ 9183 esi = MEM32(ebp + 0x8); /* 0x2B07E037: mov esi, dword ptr [ebp + 8] */ 9184 /* test esi, esi */ /* 0x2B07E03A: test esi, esi */ 9185 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9186 _cf = 0; 9187 _flag_k = FK_TEST; 9188 PUSH32(esp, edi); /* 0x2B07E03C: push edi */ 9189 edi = ecx; /* 0x2B07E03D: mov edi, ecx */ 9190 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E10F; /* 0x2B07E03F: je 0x2b07e10f */ 9191 L_2B07E045: 9192 SET_LO8(eax, MEM8(esi + 0x3C)); /* 0x2B07E045: mov al, byte ptr [esi + 0x3c] */ 9193 /* test LO8(eax), LO8(eax) */ /* 0x2B07E048: test al, al */ 9194 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9195 _cf = 0; 9196 _flag_k = FK_NARROW(FK_TEST, 24); 9197 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E05C; /* 0x2B07E04A: je 0x2b07e05c */ 9198 L_2B07E04C: 9199 ecx = MEM32(esi + 0x8); /* 0x2B07E04C: mov ecx, dword ptr [esi + 8] */ 9200 eax = MEM32(ecx); /* 0x2B07E04F: mov eax, dword ptr [ecx] */ 9201 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B07E051: call dword ptr [eax + 0xc] */ 9202 RECOMP_FLAGS_IN(); 9203 edi = POP32_VAL(esp); /* 0x2B07E054: pop edi */ 9204 esi = POP32_VAL(esp); /* 0x2B07E055: pop esi */ 9205 esp = ebp; /* 0x2B07E056: mov esp, ebp */ 9206 ebp = POP32_VAL(esp); /* 0x2B07E058: pop ebp */ 9207 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07E059: ret 4 */ 9208 L_2B07E05C: 9209 PUSH32(esp, ebx); /* 0x2B07E05C: push ebx */ 9210 ecx = ebp + (-0x20); /* 0x2B07E05D: lea ecx, [ebp - 0x20] */ 9211 PUSH32(esp, ecx); /* 0x2B07E060: push ecx */ 9212 ecx = MEM32(edi + 0x1C); /* 0x2B07E061: mov ecx, dword ptr [edi + 0x1c] */ 9213 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B07E064: call dword ptr [0x2b0b59f0] */ 9214 RECOMP_FLAGS_IN(); 9215 ebx = MEM32(eax); /* 0x2B07E06A: mov ebx, dword ptr [eax] */ 9216 edx = MEM32(eax + 0x4); /* 0x2B07E06C: mov edx, dword ptr [eax + 4] */ 9217 ecx = MEM32(edi + 0x1C); /* 0x2B07E06F: mov ecx, dword ptr [edi + 0x1c] */ 9218 eax = ebp + (-0x18); /* 0x2B07E072: lea eax, [ebp - 0x18] */ 9219 PUSH32(esp, eax); /* 0x2B07E075: push eax */ 9220 MEM32(ebp + (-0x1C)) = edx; /* 0x2B07E076: mov dword ptr [ebp - 0x1c], edx */ 9221 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B07E079: call dword ptr [0x2b0b59fc] */ 9222 RECOMP_FLAGS_IN(); 9223 ecx = eax; /* 0x2B07E07F: mov ecx, eax */ 9224 eax = MEM32(ecx); /* 0x2B07E081: mov eax, dword ptr [ecx] */ 9225 edx = MEM32(ecx + 0x4); /* 0x2B07E083: mov edx, dword ptr [ecx + 4] */ 9226 MEM32(ebp + (-0x14)) = edx; /* 0x2B07E086: mov dword ptr [ebp - 0x14], edx */ 9227 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07E089: cdq */ 9228 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9230 eax = eax - edx; /* 0x2B07E08A: sub eax, edx */ 9231 _flag_k = FK_CMP; 9232 edx = MEM32(esi + 0x14); /* 0x2B07E08C: mov edx, dword ptr [esi + 0x14] */ 9233 ecx = eax; /* 0x2B07E08F: mov ecx, eax */ 9234 eax = MEM32(edi + 0x74); /* 0x2B07E091: mov eax, dword ptr [edi + 0x74] */ 9235 if (1u) _cf = (((ecx) >> 0) & 1u); /* 0x2B07E094: sar ecx, 1 */ 9236 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9237 ecx = (uint32_t)((int32_t)ecx >> 1u); 9238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9240 ecx = ecx - eax; /* 0x2B07E096: sub ecx, eax */ 9241 _flag_k = FK_CMP; 9242 eax = MEM32(ebp + (-0x14)); /* 0x2B07E098: mov eax, dword ptr [ebp - 0x14] */ 9243 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9245 ecx = ecx + edx; /* 0x2B07E09B: add ecx, edx */ 9246 _flag_k = FK_ADD; 9247 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07E09D: cdq */ 9248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9250 eax = eax - edx; /* 0x2B07E09E: sub eax, edx */ 9251 _flag_k = FK_CMP; 9252 edx = MEM32(esi + 0x18); /* 0x2B07E0A0: mov edx, dword ptr [esi + 0x18] */ 9253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9255 ecx = ecx + ebx; /* 0x2B07E0A3: add ecx, ebx */ 9256 _flag_k = FK_ADD; 9257 ebx = MEM32(edi + 0x78); /* 0x2B07E0A5: mov ebx, dword ptr [edi + 0x78] */ 9258 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07E0A8: sar eax, 1 */ 9259 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9260 eax = (uint32_t)((int32_t)eax >> 1u); 9261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9263 eax = eax - ebx; /* 0x2B07E0AA: sub eax, ebx */ 9264 _flag_k = FK_CMP; 9265 ebx = MEM32(ebp + (-0x1C)); /* 0x2B07E0AC: mov ebx, dword ptr [ebp - 0x1c] */ 9266 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9267 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9268 eax = eax + edx; /* 0x2B07E0AF: add eax, edx */ 9269 _flag_k = FK_ADD; 9270 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 9271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9272 ecx = ecx - MEM32(esi + 0xC); /* 0x2B07E0B1: sub ecx, dword ptr [esi + 0xc] */ 9273 _flag_k = FK_CMP; 9274 MEM32(ebp + (-0x10)) = ecx; /* 0x2B07E0B4: mov dword ptr [ebp - 0x10], ecx */ 9275 ecx = MEM32(esi + 0x10); /* 0x2B07E0B7: mov ecx, dword ptr [esi + 0x10] */ 9276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9278 eax = eax + ebx; /* 0x2B07E0BA: add eax, ebx */ 9279 _flag_k = FK_ADD; 9280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9282 eax = eax - ecx; /* 0x2B07E0BC: sub eax, ecx */ 9283 _flag_k = FK_CMP; 9284 MEM32(ebp + (-0xC)) = eax; /* 0x2B07E0BE: mov dword ptr [ebp - 0xc], eax */ 9285 eax = MEM32(esi + 0x8); /* 0x2B07E0C1: mov eax, dword ptr [esi + 8] */ 9286 eax = MEM32(eax + 0x28); /* 0x2B07E0C4: mov eax, dword ptr [eax + 0x28] */ 9287 ecx = MEM32(eax + 0xC); /* 0x2B07E0C7: mov ecx, dword ptr [eax + 0xc] */ 9288 eax = MEM32(eax + 0x8); /* 0x2B07E0CA: mov eax, dword ptr [eax + 8] */ 9289 MEM32(ebp + (-0x8)) = ecx; /* 0x2B07E0CD: mov dword ptr [ebp - 8], ecx */ 9290 ecx = ebp + (-0x28); /* 0x2B07E0D0: lea ecx, [ebp - 0x28] */ 9291 PUSH32(esp, ecx); /* 0x2B07E0D3: push ecx */ 9292 ecx = MEM32(edi + 0x1C); /* 0x2B07E0D4: mov ecx, dword ptr [edi + 0x1c] */ 9293 MEM32(ebp + (-0x4)) = eax; /* 0x2B07E0D7: mov dword ptr [ebp - 4], eax */ 9294 RECOMP_ICALL(MEM32(0x2B0B57C4)); /* 0x2B07E0DA: call dword ptr [0x2b0b57c4] */ 9295 RECOMP_FLAGS_IN(); 9296 edx = MEM32(eax); /* 0x2B07E0E0: mov edx, dword ptr [eax] */ 9297 MEM32(ebp + (-0x38)) = edx; /* 0x2B07E0E2: mov dword ptr [ebp - 0x38], edx */ 9298 ecx = MEM32(eax + 0x4); /* 0x2B07E0E5: mov ecx, dword ptr [eax + 4] */ 9299 MEM32(ebp + (-0x34)) = ecx; /* 0x2B07E0E8: mov dword ptr [ebp - 0x34], ecx */ 9300 edx = MEM32(eax + 0x8); /* 0x2B07E0EB: mov edx, dword ptr [eax + 8] */ 9301 ecx = MEM32(esi + 0x8); /* 0x2B07E0EE: mov ecx, dword ptr [esi + 8] */ 9302 PUSH32(esp, ecx); /* 0x2B07E0F1: push ecx */ 9303 MEM32(ebp + (-0x30)) = edx; /* 0x2B07E0F2: mov dword ptr [ebp - 0x30], edx */ 9304 eax = MEM32(eax + 0xC); /* 0x2B07E0F5: mov eax, dword ptr [eax + 0xc] */ 9305 edx = ebp + (-0x38); /* 0x2B07E0F8: lea edx, [ebp - 0x38] */ 9306 MEM32(ebp + (-0x2C)) = eax; /* 0x2B07E0FB: mov dword ptr [ebp - 0x2c], eax */ 9307 PUSH32(esp, edx); /* 0x2B07E0FE: push edx */ 9308 eax = ebp + (-0x8); /* 0x2B07E0FF: lea eax, [ebp - 8] */ 9309 PUSH32(esp, eax); /* 0x2B07E102: push eax */ 9310 ecx = ebp + (-0x10); /* 0x2B07E103: lea ecx, [ebp - 0x10] */ 9311 PUSH32(esp, ecx); /* 0x2B07E106: push ecx */ 9312 ecx = edi; /* 0x2B07E107: mov ecx, edi */ 9313 RECOMP_ICALL(0x2B07DA60u); /* 0x2B07E109: call 0x2b07da60 */ /* not lifted */ 9314 RECOMP_FLAGS_IN(); 9315 ebx = POP32_VAL(esp); /* 0x2B07E10E: pop ebx */ 9316 L_2B07E10F: 9317 edi = POP32_VAL(esp); /* 0x2B07E10F: pop edi */ 9318 esi = POP32_VAL(esp); /* 0x2B07E110: pop esi */ 9319 esp = ebp; /* 0x2B07E111: mov esp, ebp */ 9320 ebp = POP32_VAL(esp); /* 0x2B07E113: pop ebp */ 9321 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07E114: ret 4 */ 9322 RECOMP_REGS_OUT(); 9323 } 9324 9325 void sub_2B07E120(void) { 9326 int _fpu_cmp = 0; 9327 uint32_t _cf = 0; 9328 int _df = 1; 9329 uint32_t _flag_k = FK_NONE; 9330 uint32_t _flag_a = 0, _flag_b = 0; 9331 uint32_t _itail_tgt = 0; 9332 RECOMP_REGS_LOCALS 9333 RECOMP_ENTER(0x2B07E120u); 9334 9335 L_2B07E120: 9336 PUSH32(esp, ebp); /* 0x2B07E120: push ebp */ 9337 ebp = esp; /* 0x2B07E121: mov ebp, esp */ 9338 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07E123: push -1 */ 9339 PUSH32(esp, 0x2B0B1D1Bu); /* 0x2B07E125: push 0x2b0b1d1b */ 9340 eax = MEM32(FS_BASE + (0)); /* 0x2B07E12A: mov eax, dword ptr fs:[0] */ 9341 PUSH32(esp, eax); /* 0x2B07E130: push eax */ 9342 MEM32(FS_BASE + (0)) = esp; /* 0x2B07E131: mov dword ptr fs:[0], esp */ 9343 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 9344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9345 esp = esp - 0xCu; /* 0x2B07E138: sub esp, 0xc */ 9346 _flag_k = FK_CMP; 9347 PUSH32(esp, esi); /* 0x2B07E13B: push esi */ 9348 esi = ecx; /* 0x2B07E13C: mov esi, ecx */ 9349 PUSH32(esp, edi); /* 0x2B07E13E: push edi */ 9350 edi = MEM32(esi + 0x4C); /* 0x2B07E13F: mov edi, dword ptr [esi + 0x4c] */ 9351 /* test edi, edi */ /* 0x2B07E142: test edi, edi */ 9352 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9353 _cf = 0; 9354 _flag_k = FK_TEST; 9355 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E156; /* 0x2B07E144: je 0x2b07e156 */ 9356 L_2B07E146: 9357 ecx = edi; /* 0x2B07E146: mov ecx, edi */ 9358 RECOMP_ICALL(0x2B07DED0u); /* 0x2B07E148: call 0x2b07ded0 */ /* not lifted */ 9359 RECOMP_FLAGS_IN(); 9360 PUSH32(esp, edi); /* 0x2B07E14D: push edi */ 9361 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07E14E: call 0x2b0ab1ba */ /* not lifted */ 9362 RECOMP_FLAGS_IN(); 9363 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9364 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9365 esp = esp + 4; /* 0x2B07E153: add esp, 4 */ 9366 _flag_k = FK_ADD; 9367 L_2B07E156: 9368 MEM32(esi + 0x4C) = 0; /* 0x2B07E156: mov dword ptr [esi + 0x4c], 0 */ 9369 SET_LO8(eax, MEM8(0x2B0EF07C)); /* 0x2B07E15D: mov al, byte ptr [0x2b0ef07c] */ 9370 /* test LO8(eax), LO8(eax) */ /* 0x2B07E162: test al, al */ 9371 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9372 _cf = 0; 9373 _flag_k = FK_NARROW(FK_TEST, 24); 9374 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E1CF; /* 0x2B07E164: je 0x2b07e1cf */ 9375 L_2B07E166: 9376 PUSH32(esp, 0x40u); /* 0x2B07E166: push 0x40 */ 9377 MEM32(ebp + (-0x18)) = 8; /* 0x2B07E168: mov dword ptr [ebp - 0x18], 8 */ 9378 MEM32(ebp + (-0x14)) = 0xFu; /* 0x2B07E16F: mov dword ptr [ebp - 0x14], 0xf */ 9379 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07E176: call 0x2b0ab212 */ /* not lifted */ 9380 RECOMP_FLAGS_IN(); 9381 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9382 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9383 esp = esp + 4; /* 0x2B07E17B: add esp, 4 */ 9384 _flag_k = FK_ADD; 9385 MEM32(ebp + (-0x10)) = eax; /* 0x2B07E17E: mov dword ptr [ebp - 0x10], eax */ 9386 /* test eax, eax */ /* 0x2B07E181: test eax, eax */ 9387 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9388 _cf = 0; 9389 _flag_k = FK_TEST; 9390 MEM32(ebp + (-0x4)) = 0; /* 0x2B07E183: mov dword ptr [ebp - 4], 0 */ 9391 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E1AA; /* 0x2B07E18A: je 0x2b07e1aa */ 9392 L_2B07E18C: 9393 ecx = MEM32(esi + 0x10); /* 0x2B07E18C: mov ecx, dword ptr [esi + 0x10] */ 9394 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(6); 9395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9396 ecx = ecx + 6; /* 0x2B07E18F: add ecx, 6 */ 9397 _flag_k = FK_ADD; 9398 PUSH32(esp, ecx); /* 0x2B07E192: push ecx */ 9399 edx = ebp + (-0x18); /* 0x2B07E193: lea edx, [ebp - 0x18] */ 9400 PUSH32(esp, edx); /* 0x2B07E196: push edx */ 9401 PUSH32(esp, 0xC6u); /* 0x2B07E197: push 0xc6 */ 9402 PUSH32(esp, 0x2B0EF070u); /* 0x2B07E19C: push 0x2b0ef070 */ 9403 ecx = eax; /* 0x2B07E1A1: mov ecx, eax */ 9404 RECOMP_ICALL(0x2B07DD90u); /* 0x2B07E1A3: call 0x2b07dd90 */ /* not lifted */ 9405 RECOMP_FLAGS_IN(); 9406 goto L_2B07E1AC; /* 0x2B07E1A8: jmp 0x2b07e1ac */ 9407 L_2B07E1AA: 9408 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9409 eax = 0; /* 0x2B07E1AA: xor eax, eax */ 9410 _cf = 0; 9411 _flag_k = FK_TEST; 9412 L_2B07E1AC: 9413 ecx = MEM32(esi + 0x40); /* 0x2B07E1AC: mov ecx, dword ptr [esi + 0x40] */ 9414 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07E1AF: mov dword ptr [ebp - 4], 0xffffffff */ 9415 MEM32(esi + 0x4C) = eax; /* 0x2B07E1B6: mov dword ptr [esi + 0x4c], eax */ 9416 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B07E1B9: call dword ptr [0x2b0b5b3c] */ 9417 RECOMP_FLAGS_IN(); 9418 ecx = MEM32(esi + 0x40); /* 0x2B07E1BF: mov ecx, dword ptr [esi + 0x40] */ 9419 RECOMP_ICALL(MEM32(0x2B0B5960)); /* 0x2B07E1C2: call dword ptr [0x2b0b5960] */ 9420 RECOMP_FLAGS_IN(); 9421 MEM8(0x2B0EF07D) = (uint8_t)(1); /* 0x2B07E1C8: mov byte ptr [0x2b0ef07d], 1 */ 9422 L_2B07E1CF: 9423 ecx = MEM32(ebp + (-0xC)); /* 0x2B07E1CF: mov ecx, dword ptr [ebp - 0xc] */ 9424 edi = POP32_VAL(esp); /* 0x2B07E1D2: pop edi */ 9425 esi = POP32_VAL(esp); /* 0x2B07E1D3: pop esi */ 9426 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07E1D4: mov dword ptr fs:[0], ecx */ 9427 esp = ebp; /* 0x2B07E1DB: mov esp, ebp */ 9428 ebp = POP32_VAL(esp); /* 0x2B07E1DD: pop ebp */ 9429 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E1DE: ret */ 9430 RECOMP_REGS_OUT(); 9431 } 9432 9433 void sub_2B07E1E0(void) { 9434 int _fpu_cmp = 0; 9435 uint32_t _cf = 0; 9436 int _df = 1; 9437 uint32_t _flag_k = FK_NONE; 9438 uint32_t _flag_a = 0, _flag_b = 0; 9439 uint32_t _itail_tgt = 0; 9440 RECOMP_REGS_LOCALS 9441 RECOMP_ENTER(0x2B07E1E0u); 9442 9443 L_2B07E1E0: 9444 PUSH32(esp, esi); /* 0x2B07E1E0: push esi */ 9445 esi = ecx; /* 0x2B07E1E1: mov esi, ecx */ 9446 PUSH32(esp, edi); /* 0x2B07E1E3: push edi */ 9447 edi = MEM32(esi + 0x4C); /* 0x2B07E1E4: mov edi, dword ptr [esi + 0x4c] */ 9448 /* test edi, edi */ /* 0x2B07E1E7: test edi, edi */ 9449 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9450 _cf = 0; 9451 _flag_k = FK_TEST; 9452 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E1FB; /* 0x2B07E1E9: je 0x2b07e1fb */ 9453 L_2B07E1EB: 9454 ecx = edi; /* 0x2B07E1EB: mov ecx, edi */ 9455 RECOMP_ICALL(0x2B07DED0u); /* 0x2B07E1ED: call 0x2b07ded0 */ /* not lifted */ 9456 RECOMP_FLAGS_IN(); 9457 PUSH32(esp, edi); /* 0x2B07E1F2: push edi */ 9458 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07E1F3: call 0x2b0ab1ba */ /* not lifted */ 9459 RECOMP_FLAGS_IN(); 9460 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9461 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9462 esp = esp + 4; /* 0x2B07E1F8: add esp, 4 */ 9463 _flag_k = FK_ADD; 9464 L_2B07E1FB: 9465 ecx = MEM32(esi + 0x40); /* 0x2B07E1FB: mov ecx, dword ptr [esi + 0x40] */ 9466 /* test ecx, ecx */ /* 0x2B07E1FE: test ecx, ecx */ 9467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9468 _cf = 0; 9469 _flag_k = FK_TEST; 9470 MEM32(esi + 0x4C) = 0; /* 0x2B07E200: mov dword ptr [esi + 0x4c], 0 */ 9471 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E23B; /* 0x2B07E207: je 0x2b07e23b */ 9472 L_2B07E209: 9473 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B07E209: call dword ptr [0x2b0b5b34] */ 9474 RECOMP_FLAGS_IN(); 9475 eax = MEM32(esi + 0x30); /* 0x2B07E20F: mov eax, dword ptr [esi + 0x30] */ 9476 ecx = MEM32(eax + 0x28); /* 0x2B07E212: mov ecx, dword ptr [eax + 0x28] */ 9477 PUSH32(esp, 1); /* 0x2B07E215: push 1 */ 9478 PUSH32(esp, 0); /* 0x2B07E217: push 0 */ 9479 PUSH32(esp, 0); /* 0x2B07E219: push 0 */ 9480 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B07E21B: call dword ptr [0x2b0b564c] */ 9481 RECOMP_FLAGS_IN(); 9482 ecx = MEM32(esi + 0x3C); /* 0x2B07E221: mov ecx, dword ptr [esi + 0x3c] */ 9483 edi = MEM32(0x2B0B5960); /* 0x2B07E224: mov edi, dword ptr [0x2b0b5960] */ 9484 RECOMP_ICALL(edi); /* 0x2B07E22A: call edi */ 9485 RECOMP_FLAGS_IN(); 9486 ecx = MEM32(esi + 0x38); /* 0x2B07E22C: mov ecx, dword ptr [esi + 0x38] */ 9487 RECOMP_ICALL(edi); /* 0x2B07E22F: call edi */ 9488 RECOMP_FLAGS_IN(); 9489 ecx = MEM32(esi + 0x34); /* 0x2B07E231: mov ecx, dword ptr [esi + 0x34] */ 9490 RECOMP_ICALL(edi); /* 0x2B07E234: call edi */ 9491 RECOMP_FLAGS_IN(); 9492 ecx = MEM32(esi + 0x44); /* 0x2B07E236: mov ecx, dword ptr [esi + 0x44] */ 9493 RECOMP_ICALL(edi); /* 0x2B07E239: call edi */ 9494 RECOMP_FLAGS_IN(); 9495 L_2B07E23B: 9496 edi = POP32_VAL(esp); /* 0x2B07E23B: pop edi */ 9497 esi = POP32_VAL(esp); /* 0x2B07E23C: pop esi */ 9498 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E23D: ret */ 9499 RECOMP_REGS_OUT(); 9500 } 9501 9502 void sub_2B07E240(void) { 9503 int _fpu_cmp = 0; 9504 uint32_t _cf = 0; 9505 int _df = 1; 9506 uint32_t _flag_k = FK_NONE; 9507 uint32_t _flag_a = 0, _flag_b = 0; 9508 uint32_t _itail_tgt = 0; 9509 RECOMP_REGS_LOCALS 9510 RECOMP_ENTER(0x2B07E240u); 9511 9512 L_2B07E240: 9513 PUSH32(esp, ebp); /* 0x2B07E240: push ebp */ 9514 ebp = esp; /* 0x2B07E241: mov ebp, esp */ 9515 ecx = MEM32(ebp + 0x8); /* 0x2B07E243: mov ecx, dword ptr [ebp + 8] */ 9516 /* test ecx, ecx */ /* 0x2B07E246: test ecx, ecx */ 9517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9518 _cf = 0; 9519 _flag_k = FK_TEST; 9520 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E26F; /* 0x2B07E248: je 0x2b07e26f */ 9521 L_2B07E24A: 9522 eax = MEM32(ebp + 0xC); /* 0x2B07E24A: mov eax, dword ptr [ebp + 0xc] */ 9523 edx = MEM32(eax + 0x4); /* 0x2B07E24D: mov edx, dword ptr [eax + 4] */ 9524 eax = MEM32(eax); /* 0x2B07E250: mov eax, dword ptr [eax] */ 9525 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(edx); 9526 _cf = (edx) != 0; 9527 edx = (uint32_t)(-(int32_t)edx); /* 0x2B07E252: neg edx */ 9528 _flag_k = FK_CMP; 9529 PUSH32(esp, edx); /* 0x2B07E254: push edx */ 9530 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 9531 _cf = (eax) != 0; 9532 eax = (uint32_t)(-(int32_t)eax); /* 0x2B07E255: neg eax */ 9533 _flag_k = FK_CMP; 9534 PUSH32(esp, eax); /* 0x2B07E257: push eax */ 9535 RECOMP_ICALL(0x2B07D860u); /* 0x2B07E258: call 0x2b07d860 */ /* not lifted */ 9536 RECOMP_FLAGS_IN(); 9537 PUSH32(esp, 0x38u); /* 0x2B07E25D: push 0x38 */ 9538 PUSH32(esp, 2); /* 0x2B07E25F: push 2 */ 9539 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07E261: call dword ptr [0x2b0b53cc] */ 9540 RECOMP_FLAGS_IN(); 9541 ecx = eax; /* 0x2B07E267: mov ecx, eax */ 9542 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B07E269: call dword ptr [0x2b0b53c8] */ 9543 RECOMP_FLAGS_IN(); 9544 L_2B07E26F: 9545 ebp = POP32_VAL(esp); /* 0x2B07E26F: pop ebp */ 9546 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E270: ret */ 9547 RECOMP_REGS_OUT(); 9548 } 9549 9550 void sub_2B07E280(void) { 9551 int _fpu_cmp = 0; 9552 uint32_t _cf = 0; 9553 int _df = 1; 9554 uint32_t _flag_k = FK_NONE; 9555 uint32_t _flag_a = 0, _flag_b = 0; 9556 uint32_t _itail_tgt = 0; 9557 RECOMP_REGS_LOCALS 9558 RECOMP_ENTER(0x2B07E280u); 9559 9560 L_2B07E280: 9561 PUSH32(esp, ebp); /* 0x2B07E280: push ebp */ 9562 ebp = esp; /* 0x2B07E281: mov ebp, esp */ 9563 ecx = MEM32(ebp + 0x8); /* 0x2B07E283: mov ecx, dword ptr [ebp + 8] */ 9564 /* test ecx, ecx */ /* 0x2B07E286: test ecx, ecx */ 9565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9566 _cf = 0; 9567 _flag_k = FK_TEST; 9568 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E2A0; /* 0x2B07E288: je 0x2b07e2a0 */ 9569 L_2B07E28A: 9570 eax = MEM32(ecx); /* 0x2B07E28A: mov eax, dword ptr [ecx] */ 9571 edx = MEM32(ecx + 0x4); /* 0x2B07E28C: mov edx, dword ptr [ecx + 4] */ 9572 PUSH32(esp, esi); /* 0x2B07E28F: push esi */ 9573 esi = MEM32(ebp + 0xC); /* 0x2B07E290: mov esi, dword ptr [ebp + 0xc] */ 9574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 9575 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9576 eax = eax + MEM32(esi); /* 0x2B07E293: add eax, dword ptr [esi] */ 9577 _flag_k = FK_ADD; 9578 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9579 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9580 edx = edx + MEM32(esi + 0x4); /* 0x2B07E295: add edx, dword ptr [esi + 4] */ 9581 _flag_k = FK_ADD; 9582 PUSH32(esp, edx); /* 0x2B07E298: push edx */ 9583 PUSH32(esp, eax); /* 0x2B07E299: push eax */ 9584 RECOMP_ICALL(0x2B07D180u); /* 0x2B07E29A: call 0x2b07d180 */ /* not lifted */ 9585 RECOMP_FLAGS_IN(); 9586 esi = POP32_VAL(esp); /* 0x2B07E29F: pop esi */ 9587 L_2B07E2A0: 9588 ebp = POP32_VAL(esp); /* 0x2B07E2A0: pop ebp */ 9589 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E2A1: ret */ 9590 RECOMP_REGS_OUT(); 9591 } 9592 9593 void sub_2B07E2B0(void) { 9594 int _fpu_cmp = 0; 9595 uint32_t _cf = 0; 9596 int _df = 1; 9597 uint32_t _flag_k = FK_NONE; 9598 uint32_t _flag_a = 0, _flag_b = 0; 9599 uint32_t _itail_tgt = 0; 9600 RECOMP_REGS_LOCALS 9601 RECOMP_ENTER(0x2B07E2B0u); 9602 9603 L_2B07E2B0: 9604 PUSH32(esp, 0x82u); /* 0x2B07E2B0: push 0x82 */ 9605 PUSH32(esp, 0x1Cu); /* 0x2B07E2B5: push 0x1c */ 9606 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B07E2B7: call dword ptr [0x2b0b53cc] */ 9607 RECOMP_FLAGS_IN(); 9608 ecx = eax; /* 0x2B07E2BD: mov ecx, eax */ 9609 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B07E2BF: call dword ptr [0x2b0b53c8] */ 9610 RECOMP_FLAGS_IN(); 9611 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E2C5: ret */ 9612 RECOMP_REGS_OUT(); 9613 } 9614 9615 void sub_2B07E2D0(void) { 9616 int _fpu_cmp = 0; 9617 uint32_t _cf = 0; 9618 int _df = 1; 9619 uint32_t _flag_k = FK_NONE; 9620 uint32_t _flag_a = 0, _flag_b = 0; 9621 uint32_t _itail_tgt = 0; 9622 RECOMP_REGS_LOCALS 9623 RECOMP_ENTER(0x2B07E2D0u); 9624 9625 L_2B07E2D0: 9626 PUSH32(esp, ebp); /* 0x2B07E2D0: push ebp */ 9627 ebp = esp; /* 0x2B07E2D1: mov ebp, esp */ 9628 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9630 esp = esp - 8; /* 0x2B07E2D3: sub esp, 8 */ 9631 _flag_k = FK_CMP; 9632 ecx = MEM32(ebp + 0x8); /* 0x2B07E2D6: mov ecx, dword ptr [ebp + 8] */ 9633 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9634 eax = 0; /* 0x2B07E2D9: xor eax, eax */ 9635 _cf = 0; 9636 _flag_k = FK_TEST; 9637 /* cmp ecx, eax */ /* 0x2B07E2DB: cmp ecx, eax */ 9638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9640 _flag_k = FK_CMP; 9641 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E2F8; /* 0x2B07E2DD: je 0x2b07e2f8 */ 9642 L_2B07E2DF: 9643 edx = MEM32(ecx + 0x80); /* 0x2B07E2DF: mov edx, dword ptr [ecx + 0x80] */ 9644 MEM32(ebp + (-0x8)) = eax; /* 0x2B07E2E5: mov dword ptr [ebp - 8], eax */ 9645 MEM32(ebp + (-0x4)) = eax; /* 0x2B07E2E8: mov dword ptr [ebp - 4], eax */ 9646 PUSH32(esp, 1); /* 0x2B07E2EB: push 1 */ 9647 eax = ebp + (-0x8); /* 0x2B07E2ED: lea eax, [ebp - 8] */ 9648 PUSH32(esp, eax); /* 0x2B07E2F0: push eax */ 9649 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9650 edx = edx + 1; /* 0x2B07E2F1: inc edx */ 9651 _flag_k = FK_INC; 9652 PUSH32(esp, edx); /* 0x2B07E2F2: push edx */ 9653 RECOMP_ICALL(0x2B07D670u); /* 0x2B07E2F3: call 0x2b07d670 */ /* not lifted */ 9654 RECOMP_FLAGS_IN(); 9655 L_2B07E2F8: 9656 esp = ebp; /* 0x2B07E2F8: mov esp, ebp */ 9657 ebp = POP32_VAL(esp); /* 0x2B07E2FA: pop ebp */ 9658 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E2FB: ret */ 9659 RECOMP_REGS_OUT(); 9660 } 9661 9662 void sub_2B07E300(void) { 9663 int _fpu_cmp = 0; 9664 uint32_t _cf = 0; 9665 int _df = 1; 9666 uint32_t _flag_k = FK_NONE; 9667 uint32_t _flag_a = 0, _flag_b = 0; 9668 uint32_t _itail_tgt = 0; 9669 RECOMP_REGS_LOCALS 9670 RECOMP_ENTER(0x2B07E300u); 9671 9672 L_2B07E300: 9673 PUSH32(esp, ebp); /* 0x2B07E300: push ebp */ 9674 ebp = esp; /* 0x2B07E301: mov ebp, esp */ 9675 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 9676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9677 esp = esp - 0x10u; /* 0x2B07E303: sub esp, 0x10 */ 9678 _flag_k = FK_CMP; 9679 PUSH32(esp, ebx); /* 0x2B07E306: push ebx */ 9680 PUSH32(esp, esi); /* 0x2B07E307: push esi */ 9681 esi = MEM32(ebp + 0x8); /* 0x2B07E308: mov esi, dword ptr [ebp + 8] */ 9682 /* test esi, esi */ /* 0x2B07E30B: test esi, esi */ 9683 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9684 _cf = 0; 9685 _flag_k = FK_TEST; 9686 PUSH32(esp, edi); /* 0x2B07E30D: push edi */ 9687 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E3BE; /* 0x2B07E30E: je 0x2b07e3be */ 9688 L_2B07E314: 9689 edi = MEM32(0x2B0B5B64); /* 0x2B07E314: mov edi, dword ptr [0x2b0b5b64] */ 9690 RECOMP_ICALL(edi); /* 0x2B07E31A: call edi */ 9691 RECOMP_FLAGS_IN(); 9692 ecx = MEM32(esi + 0x1C); /* 0x2B07E31C: mov ecx, dword ptr [esi + 0x1c] */ 9693 ebx = MEM32(0x2B0B59F0); /* 0x2B07E31F: mov ebx, dword ptr [0x2b0b59f0] */ 9694 eax = ebp + (-0x10); /* 0x2B07E325: lea eax, [ebp - 0x10] */ 9695 PUSH32(esp, eax); /* 0x2B07E328: push eax */ 9696 RECOMP_ICALL(ebx); /* 0x2B07E329: call ebx */ 9697 RECOMP_FLAGS_IN(); 9698 ecx = ebp + (-0x10); /* 0x2B07E32B: lea ecx, [ebp - 0x10] */ 9699 PUSH32(esp, ecx); /* 0x2B07E32E: push ecx */ 9700 ecx = MEM32(esi + 0x1C); /* 0x2B07E32F: mov ecx, dword ptr [esi + 0x1c] */ 9701 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B07E332: call dword ptr [0x2b0b59fc] */ 9702 RECOMP_FLAGS_IN(); 9703 edx = MEM32(esi + 0x80); /* 0x2B07E338: mov edx, dword ptr [esi + 0x80] */ 9704 eax = MEM32(esi + 0x84); /* 0x2B07E33E: mov eax, dword ptr [esi + 0x84] */ 9705 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9706 edx = edx + 1; /* 0x2B07E344: inc edx */ 9707 _flag_k = FK_INC; 9708 /* cmp edx, eax */ /* 0x2B07E345: cmp edx, eax */ 9709 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9711 _flag_k = FK_CMP; 9712 if (CMP_G(_flag_a, _flag_b)) goto L_2B07E3BE; /* 0x2B07E347: jg 0x2b07e3be */ 9713 L_2B07E349: 9714 RECOMP_ICALL(edi); /* 0x2B07E349: call edi */ 9715 RECOMP_FLAGS_IN(); 9716 ecx = MEM32(eax + 0x108); /* 0x2B07E34B: mov ecx, dword ptr [eax + 0x108] */ 9717 MEM32(ebp + (-0x8)) = ecx; /* 0x2B07E351: mov dword ptr [ebp - 8], ecx */ 9718 edx = MEM32(eax + 0x10C); /* 0x2B07E354: mov edx, dword ptr [eax + 0x10c] */ 9719 ecx = MEM32(esi + 0x1C); /* 0x2B07E35A: mov ecx, dword ptr [esi + 0x1c] */ 9720 eax = ebp + (-0x10); /* 0x2B07E35D: lea eax, [ebp - 0x10] */ 9721 PUSH32(esp, eax); /* 0x2B07E360: push eax */ 9722 MEM32(ebp + (-0x4)) = edx; /* 0x2B07E361: mov dword ptr [ebp - 4], edx */ 9723 RECOMP_ICALL(ebx); /* 0x2B07E364: call ebx */ 9724 RECOMP_FLAGS_IN(); 9725 edi = MEM32(eax); /* 0x2B07E366: mov edi, dword ptr [eax] */ 9726 ebx = MEM32(eax + 0x4); /* 0x2B07E368: mov ebx, dword ptr [eax + 4] */ 9727 ecx = ebp + (-0x10); /* 0x2B07E36B: lea ecx, [ebp - 0x10] */ 9728 PUSH32(esp, ecx); /* 0x2B07E36E: push ecx */ 9729 ecx = MEM32(esi + 0x1C); /* 0x2B07E36F: mov ecx, dword ptr [esi + 0x1c] */ 9730 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B07E372: call dword ptr [0x2b0b59fc] */ 9731 RECOMP_FLAGS_IN(); 9732 edx = eax; /* 0x2B07E378: mov edx, eax */ 9733 eax = MEM32(edx); /* 0x2B07E37A: mov eax, dword ptr [edx] */ 9734 ecx = MEM32(edx + 0x4); /* 0x2B07E37C: mov ecx, dword ptr [edx + 4] */ 9735 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07E37F: cdq */ 9736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9738 eax = eax - edx; /* 0x2B07E380: sub eax, edx */ 9739 _flag_k = FK_CMP; 9740 edx = MEM32(ebp + (-0x8)); /* 0x2B07E382: mov edx, dword ptr [ebp - 8] */ 9741 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07E385: sar eax, 1 */ 9742 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9743 eax = (uint32_t)((int32_t)eax >> 1u); 9744 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9746 edx = edx - eax; /* 0x2B07E387: sub edx, eax */ 9747 _flag_k = FK_CMP; 9748 eax = MEM32(esi + 0x74); /* 0x2B07E389: mov eax, dword ptr [esi + 0x74] */ 9749 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9751 edx = edx - edi; /* 0x2B07E38C: sub edx, edi */ 9752 _flag_k = FK_CMP; 9753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9754 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9755 eax = eax + edx; /* 0x2B07E38E: add eax, edx */ 9756 _flag_k = FK_ADD; 9757 MEM32(esi + 0x74) = eax; /* 0x2B07E390: mov dword ptr [esi + 0x74], eax */ 9758 eax = ecx; /* 0x2B07E393: mov eax, ecx */ 9759 ecx = MEM32(ebp + (-0x4)); /* 0x2B07E395: mov ecx, dword ptr [ebp - 4] */ 9760 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07E398: cdq */ 9761 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9763 eax = eax - edx; /* 0x2B07E399: sub eax, edx */ 9764 _flag_k = FK_CMP; 9765 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07E39B: sar eax, 1 */ 9766 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9767 eax = (uint32_t)((int32_t)eax >> 1u); 9768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9770 ecx = ecx - eax; /* 0x2B07E39D: sub ecx, eax */ 9771 _flag_k = FK_CMP; 9772 eax = MEM32(esi + 0x78); /* 0x2B07E39F: mov eax, dword ptr [esi + 0x78] */ 9773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9775 ecx = ecx - ebx; /* 0x2B07E3A2: sub ecx, ebx */ 9776 _flag_k = FK_CMP; 9777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9778 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9779 eax = eax + ecx; /* 0x2B07E3A4: add eax, ecx */ 9780 _flag_k = FK_ADD; 9781 MEM32(esi + 0x78) = eax; /* 0x2B07E3A6: mov dword ptr [esi + 0x78], eax */ 9782 eax = MEM32(esi + 0x80); /* 0x2B07E3A9: mov eax, dword ptr [esi + 0x80] */ 9783 PUSH32(esp, 1); /* 0x2B07E3AF: push 1 */ 9784 edx = ebp + (-0x8); /* 0x2B07E3B1: lea edx, [ebp - 8] */ 9785 PUSH32(esp, edx); /* 0x2B07E3B4: push edx */ 9786 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9787 eax = eax + 1; /* 0x2B07E3B5: inc eax */ 9788 _flag_k = FK_INC; 9789 PUSH32(esp, eax); /* 0x2B07E3B6: push eax */ 9790 ecx = esi; /* 0x2B07E3B7: mov ecx, esi */ 9791 RECOMP_ICALL(0x2B07D670u); /* 0x2B07E3B9: call 0x2b07d670 */ /* not lifted */ 9792 RECOMP_FLAGS_IN(); 9793 L_2B07E3BE: 9794 edi = POP32_VAL(esp); /* 0x2B07E3BE: pop edi */ 9795 esi = POP32_VAL(esp); /* 0x2B07E3BF: pop esi */ 9796 ebx = POP32_VAL(esp); /* 0x2B07E3C0: pop ebx */ 9797 esp = ebp; /* 0x2B07E3C1: mov esp, ebp */ 9798 ebp = POP32_VAL(esp); /* 0x2B07E3C3: pop ebp */ 9799 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E3C4: ret */ 9800 RECOMP_REGS_OUT(); 9801 } 9802 9803 void sub_2B07E3D0(void) { 9804 int _fpu_cmp = 0; 9805 uint32_t _cf = 0; 9806 int _df = 1; 9807 uint32_t _flag_k = FK_NONE; 9808 uint32_t _flag_a = 0, _flag_b = 0; 9809 uint32_t _itail_tgt = 0; 9810 RECOMP_REGS_LOCALS 9811 RECOMP_ENTER(0x2B07E3D0u); 9812 9813 L_2B07E3D0: 9814 PUSH32(esp, ebp); /* 0x2B07E3D0: push ebp */ 9815 ebp = esp; /* 0x2B07E3D1: mov ebp, esp */ 9816 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9818 esp = esp - 8; /* 0x2B07E3D3: sub esp, 8 */ 9819 _flag_k = FK_CMP; 9820 ecx = MEM32(ebp + 0x8); /* 0x2B07E3D6: mov ecx, dword ptr [ebp + 8] */ 9821 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9822 eax = 0; /* 0x2B07E3D9: xor eax, eax */ 9823 _cf = 0; 9824 _flag_k = FK_TEST; 9825 /* cmp ecx, eax */ /* 0x2B07E3DB: cmp ecx, eax */ 9826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9828 _flag_k = FK_CMP; 9829 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E3F8; /* 0x2B07E3DD: je 0x2b07e3f8 */ 9830 L_2B07E3DF: 9831 edx = MEM32(ecx + 0x80); /* 0x2B07E3DF: mov edx, dword ptr [ecx + 0x80] */ 9832 MEM32(ebp + (-0x8)) = eax; /* 0x2B07E3E5: mov dword ptr [ebp - 8], eax */ 9833 MEM32(ebp + (-0x4)) = eax; /* 0x2B07E3E8: mov dword ptr [ebp - 4], eax */ 9834 PUSH32(esp, 1); /* 0x2B07E3EB: push 1 */ 9835 eax = ebp + (-0x8); /* 0x2B07E3ED: lea eax, [ebp - 8] */ 9836 PUSH32(esp, eax); /* 0x2B07E3F0: push eax */ 9837 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9838 edx = edx - 1; /* 0x2B07E3F1: dec edx */ 9839 _flag_k = FK_DEC; 9840 PUSH32(esp, edx); /* 0x2B07E3F2: push edx */ 9841 RECOMP_ICALL(0x2B07D670u); /* 0x2B07E3F3: call 0x2b07d670 */ /* not lifted */ 9842 RECOMP_FLAGS_IN(); 9843 L_2B07E3F8: 9844 esp = ebp; /* 0x2B07E3F8: mov esp, ebp */ 9845 ebp = POP32_VAL(esp); /* 0x2B07E3FA: pop ebp */ 9846 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E3FB: ret */ 9847 RECOMP_REGS_OUT(); 9848 } 9849 9850 void sub_2B07E400(void) { 9851 int _fpu_cmp = 0; 9852 uint32_t _cf = 0; 9853 int _df = 1; 9854 uint32_t _flag_k = FK_NONE; 9855 uint32_t _flag_a = 0, _flag_b = 0; 9856 uint32_t _itail_tgt = 0; 9857 RECOMP_REGS_LOCALS 9858 RECOMP_ENTER(0x2B07E400u); 9859 9860 L_2B07E400: 9861 PUSH32(esp, ebp); /* 0x2B07E400: push ebp */ 9862 ebp = esp; /* 0x2B07E401: mov ebp, esp */ 9863 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 9864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9865 esp = esp - 0x10u; /* 0x2B07E403: sub esp, 0x10 */ 9866 _flag_k = FK_CMP; 9867 PUSH32(esp, esi); /* 0x2B07E406: push esi */ 9868 esi = MEM32(ebp + 0x8); /* 0x2B07E407: mov esi, dword ptr [ebp + 8] */ 9869 /* test esi, esi */ /* 0x2B07E40A: test esi, esi */ 9870 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 9871 _cf = 0; 9872 _flag_k = FK_TEST; 9873 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E4A3; /* 0x2B07E40C: je 0x2b07e4a3 */ 9874 L_2B07E412: 9875 eax = MEM32(esi + 0x80); /* 0x2B07E412: mov eax, dword ptr [esi + 0x80] */ 9876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9877 eax = eax - 1; /* 0x2B07E418: dec eax */ 9878 _flag_k = FK_DEC; 9879 /* cmp eax, 1 */ /* 0x2B07E419: cmp eax, 1 */ 9880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9882 _flag_k = FK_CMP; 9883 if (CMP_L(_flag_a, _flag_b)) goto L_2B07E4A3; /* 0x2B07E41C: jl 0x2b07e4a3 */ 9884 L_2B07E422: 9885 PUSH32(esp, ebx); /* 0x2B07E422: push ebx */ 9886 PUSH32(esp, edi); /* 0x2B07E423: push edi */ 9887 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B07E424: call dword ptr [0x2b0b5b64] */ 9888 RECOMP_FLAGS_IN(); 9889 ecx = MEM32(eax + 0x108); /* 0x2B07E42A: mov ecx, dword ptr [eax + 0x108] */ 9890 MEM32(ebp + (-0x8)) = ecx; /* 0x2B07E430: mov dword ptr [ebp - 8], ecx */ 9891 edx = MEM32(eax + 0x10C); /* 0x2B07E433: mov edx, dword ptr [eax + 0x10c] */ 9892 ecx = MEM32(esi + 0x1C); /* 0x2B07E439: mov ecx, dword ptr [esi + 0x1c] */ 9893 eax = ebp + (-0x10); /* 0x2B07E43C: lea eax, [ebp - 0x10] */ 9894 PUSH32(esp, eax); /* 0x2B07E43F: push eax */ 9895 MEM32(ebp + (-0x4)) = edx; /* 0x2B07E440: mov dword ptr [ebp - 4], edx */ 9896 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B07E443: call dword ptr [0x2b0b59f0] */ 9897 RECOMP_FLAGS_IN(); 9898 edi = MEM32(eax); /* 0x2B07E449: mov edi, dword ptr [eax] */ 9899 ebx = MEM32(eax + 0x4); /* 0x2B07E44B: mov ebx, dword ptr [eax + 4] */ 9900 ecx = ebp + (-0x10); /* 0x2B07E44E: lea ecx, [ebp - 0x10] */ 9901 PUSH32(esp, ecx); /* 0x2B07E451: push ecx */ 9902 ecx = MEM32(esi + 0x1C); /* 0x2B07E452: mov ecx, dword ptr [esi + 0x1c] */ 9903 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B07E455: call dword ptr [0x2b0b59fc] */ 9904 RECOMP_FLAGS_IN(); 9905 edx = eax; /* 0x2B07E45B: mov edx, eax */ 9906 eax = MEM32(edx); /* 0x2B07E45D: mov eax, dword ptr [edx] */ 9907 ecx = MEM32(edx + 0x4); /* 0x2B07E45F: mov ecx, dword ptr [edx + 4] */ 9908 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07E462: cdq */ 9909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9911 eax = eax - edx; /* 0x2B07E463: sub eax, edx */ 9912 _flag_k = FK_CMP; 9913 edx = MEM32(ebp + (-0x8)); /* 0x2B07E465: mov edx, dword ptr [ebp - 8] */ 9914 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07E468: sar eax, 1 */ 9915 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9916 eax = (uint32_t)((int32_t)eax >> 1u); 9917 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9919 edx = edx - eax; /* 0x2B07E46A: sub edx, eax */ 9920 _flag_k = FK_CMP; 9921 eax = MEM32(esi + 0x74); /* 0x2B07E46C: mov eax, dword ptr [esi + 0x74] */ 9922 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9924 edx = edx - edi; /* 0x2B07E46F: sub edx, edi */ 9925 _flag_k = FK_CMP; 9926 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9927 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9928 eax = eax + edx; /* 0x2B07E471: add eax, edx */ 9929 _flag_k = FK_ADD; 9930 MEM32(esi + 0x74) = eax; /* 0x2B07E473: mov dword ptr [esi + 0x74], eax */ 9931 eax = ecx; /* 0x2B07E476: mov eax, ecx */ 9932 ecx = MEM32(ebp + (-0x4)); /* 0x2B07E478: mov ecx, dword ptr [ebp - 4] */ 9933 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B07E47B: cdq */ 9934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 9935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9936 eax = eax - edx; /* 0x2B07E47C: sub eax, edx */ 9937 _flag_k = FK_CMP; 9938 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B07E47E: sar eax, 1 */ 9939 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9940 eax = (uint32_t)((int32_t)eax >> 1u); 9941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9943 ecx = ecx - eax; /* 0x2B07E480: sub ecx, eax */ 9944 _flag_k = FK_CMP; 9945 eax = MEM32(esi + 0x78); /* 0x2B07E482: mov eax, dword ptr [esi + 0x78] */ 9946 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9948 ecx = ecx - ebx; /* 0x2B07E485: sub ecx, ebx */ 9949 _flag_k = FK_CMP; 9950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9951 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9952 eax = eax + ecx; /* 0x2B07E487: add eax, ecx */ 9953 _flag_k = FK_ADD; 9954 MEM32(esi + 0x78) = eax; /* 0x2B07E489: mov dword ptr [esi + 0x78], eax */ 9955 eax = MEM32(esi + 0x80); /* 0x2B07E48C: mov eax, dword ptr [esi + 0x80] */ 9956 PUSH32(esp, 1); /* 0x2B07E492: push 1 */ 9957 edx = ebp + (-0x8); /* 0x2B07E494: lea edx, [ebp - 8] */ 9958 PUSH32(esp, edx); /* 0x2B07E497: push edx */ 9959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9960 eax = eax - 1; /* 0x2B07E498: dec eax */ 9961 _flag_k = FK_DEC; 9962 PUSH32(esp, eax); /* 0x2B07E499: push eax */ 9963 ecx = esi; /* 0x2B07E49A: mov ecx, esi */ 9964 RECOMP_ICALL(0x2B07D670u); /* 0x2B07E49C: call 0x2b07d670 */ /* not lifted */ 9965 RECOMP_FLAGS_IN(); 9966 edi = POP32_VAL(esp); /* 0x2B07E4A1: pop edi */ 9967 ebx = POP32_VAL(esp); /* 0x2B07E4A2: pop ebx */ 9968 L_2B07E4A3: 9969 esi = POP32_VAL(esp); /* 0x2B07E4A3: pop esi */ 9970 esp = ebp; /* 0x2B07E4A4: mov esp, ebp */ 9971 ebp = POP32_VAL(esp); /* 0x2B07E4A6: pop ebp */ 9972 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E4A7: ret */ 9973 RECOMP_REGS_OUT(); 9974 } 9975 9976 void sub_2B07E4B0(void) { 9977 int _fpu_cmp = 0; 9978 uint32_t _cf = 0; 9979 int _df = 1; 9980 uint32_t _flag_k = FK_NONE; 9981 uint32_t _flag_a = 0, _flag_b = 0; 9982 uint32_t _itail_tgt = 0; 9983 RECOMP_REGS_LOCALS 9984 RECOMP_ENTER(0x2B07E4B0u); 9985 9986 L_2B07E4B0: 9987 PUSH32(esp, ebp); /* 0x2B07E4B0: push ebp */ 9988 ebp = esp; /* 0x2B07E4B1: mov ebp, esp */ 9989 ecx = MEM32(ebp + 0x8); /* 0x2B07E4B3: mov ecx, dword ptr [ebp + 8] */ 9990 /* test ecx, ecx */ /* 0x2B07E4B6: test ecx, ecx */ 9991 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9992 _cf = 0; 9993 _flag_k = FK_TEST; 9994 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E4CA; /* 0x2B07E4B8: je 0x2b07e4ca */ 9995 L_2B07E4BA: 9996 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B07E4BA: mov al, byte ptr [ebp + 0x10] */ 9997 /* test LO8(eax), LO8(eax) */ /* 0x2B07E4BD: test al, al */ 9998 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9999 _cf = 0; 10000 _flag_k = FK_NARROW(FK_TEST, 24); 10001 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07E4CA; /* 0x2B07E4BF: jne 0x2b07e4ca */ 10002 L_2B07E4C1: 10003 eax = MEM32(ebp + 0xC); /* 0x2B07E4C1: mov eax, dword ptr [ebp + 0xc] */ 10004 PUSH32(esp, eax); /* 0x2B07E4C4: push eax */ 10005 RECOMP_ICALL(0x2B07D300u); /* 0x2B07E4C5: call 0x2b07d300 */ /* not lifted */ 10006 RECOMP_FLAGS_IN(); 10007 L_2B07E4CA: 10008 ebp = POP32_VAL(esp); /* 0x2B07E4CA: pop ebp */ 10009 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E4CB: ret */ 10010 RECOMP_REGS_OUT(); 10011 } 10012 10013 void sub_2B07E4D0(void) { 10014 int _fpu_cmp = 0; 10015 uint32_t _cf = 0; 10016 int _df = 1; 10017 uint32_t _flag_k = FK_NONE; 10018 uint32_t _flag_a = 0, _flag_b = 0; 10019 uint32_t _itail_tgt = 0; 10020 RECOMP_REGS_LOCALS 10021 RECOMP_ENTER(0x2B07E4D0u); 10022 10023 L_2B07E4D0: 10024 PUSH32(esp, ebp); /* 0x2B07E4D0: push ebp */ 10025 ebp = esp; /* 0x2B07E4D1: mov ebp, esp */ 10026 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x100u); 10027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10028 esp = esp - 0x100u; /* 0x2B07E4D3: sub esp, 0x100 */ 10029 _flag_k = FK_CMP; 10030 ecx = MEM32(ebp + 0x8); /* 0x2B07E4D9: mov ecx, dword ptr [ebp + 8] */ 10031 /* test ecx, ecx */ /* 0x2B07E4DC: test ecx, ecx */ 10032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10033 _cf = 0; 10034 _flag_k = FK_TEST; 10035 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E527; /* 0x2B07E4DE: je 0x2b07e527 */ 10036 L_2B07E4E0: 10037 eax = MEM32(ecx + 0x48); /* 0x2B07E4E0: mov eax, dword ptr [ecx + 0x48] */ 10038 SET_LO8(edx, MEM8(eax + 0x3C)); /* 0x2B07E4E3: mov dl, byte ptr [eax + 0x3c] */ 10039 /* test LO8(edx), LO8(edx) */ /* 0x2B07E4E6: test dl, dl */ 10040 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10041 _cf = 0; 10042 _flag_k = FK_NARROW(FK_TEST, 24); 10043 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E51E; /* 0x2B07E4E8: je 0x2b07e51e */ 10044 L_2B07E4EA: 10045 PUSH32(esp, 0x2B0EC8DCu); /* 0x2B07E4EA: push 0x2b0ec8dc */ 10046 eax = ebp + (-0x100); /* 0x2B07E4EF: lea eax, [ebp - 0x100] */ 10047 PUSH32(esp, 0xFFu); /* 0x2B07E4F5: push 0xff */ 10048 PUSH32(esp, eax); /* 0x2B07E4FA: push eax */ 10049 RECOMP_ICALL(0x2B012180u); /* 0x2B07E4FB: call 0x2b012180 */ /* not lifted */ 10050 RECOMP_FLAGS_IN(); 10051 PUSH32(esp, 0); /* 0x2B07E500: push 0 */ 10052 PUSH32(esp, 0); /* 0x2B07E502: push 0 */ 10053 PUSH32(esp, 0); /* 0x2B07E504: push 0 */ 10054 ecx = ebp + (-0x100); /* 0x2B07E506: lea ecx, [ebp - 0x100] */ 10055 PUSH32(esp, ecx); /* 0x2B07E50C: push ecx */ 10056 PUSH32(esp, 0x2B0EC8A0u); /* 0x2B07E50D: push 0x2b0ec8a0 */ 10057 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07E512: call 0x2b089bf0 */ /* not lifted */ 10058 RECOMP_FLAGS_IN(); 10059 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 10060 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10061 esp = esp + 0x20u; /* 0x2B07E517: add esp, 0x20 */ 10062 _flag_k = FK_ADD; 10063 esp = ebp; /* 0x2B07E51A: mov esp, ebp */ 10064 ebp = POP32_VAL(esp); /* 0x2B07E51C: pop ebp */ 10065 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E51D: ret */ 10066 L_2B07E51E: 10067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 10068 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10069 eax = eax + 0x14u; /* 0x2B07E51E: add eax, 0x14 */ 10070 _flag_k = FK_ADD; 10071 PUSH32(esp, eax); /* 0x2B07E521: push eax */ 10072 RECOMP_ICALL(0x2B07D840u); /* 0x2B07E522: call 0x2b07d840 */ /* not lifted */ 10073 RECOMP_FLAGS_IN(); 10074 L_2B07E527: 10075 esp = ebp; /* 0x2B07E527: mov esp, ebp */ 10076 ebp = POP32_VAL(esp); /* 0x2B07E529: pop ebp */ 10077 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E52A: ret */ 10078 RECOMP_REGS_OUT(); 10079 } 10080 10081 void sub_2B07E530(void) { 10082 int _fpu_cmp = 0; 10083 uint32_t _cf = 0; 10084 int _df = 1; 10085 uint32_t _flag_k = FK_NONE; 10086 uint32_t _flag_a = 0, _flag_b = 0; 10087 uint32_t _itail_tgt = 0; 10088 RECOMP_REGS_LOCALS 10089 RECOMP_ENTER(0x2B07E530u); 10090 10091 L_2B07E530: 10092 PUSH32(esp, ebp); /* 0x2B07E530: push ebp */ 10093 ebp = esp; /* 0x2B07E531: mov ebp, esp */ 10094 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x100u); 10095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10096 esp = esp - 0x100u; /* 0x2B07E533: sub esp, 0x100 */ 10097 _flag_k = FK_CMP; 10098 ecx = MEM32(ebp + 0x8); /* 0x2B07E539: mov ecx, dword ptr [ebp + 8] */ 10099 /* test ecx, ecx */ /* 0x2B07E53C: test ecx, ecx */ 10100 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10101 _cf = 0; 10102 _flag_k = FK_TEST; 10103 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E594; /* 0x2B07E53E: je 0x2b07e594 */ 10104 L_2B07E540: 10105 eax = MEM32(ecx + 0x4C); /* 0x2B07E540: mov eax, dword ptr [ecx + 0x4c] */ 10106 /* test eax, eax */ /* 0x2B07E543: test eax, eax */ 10107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10108 _cf = 0; 10109 _flag_k = FK_TEST; 10110 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E594; /* 0x2B07E545: je 0x2b07e594 */ 10111 L_2B07E547: 10112 SET_LO8(edx, MEM8(eax + 0x3C)); /* 0x2B07E547: mov dl, byte ptr [eax + 0x3c] */ 10113 /* test LO8(edx), LO8(edx) */ /* 0x2B07E54A: test dl, dl */ 10114 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10115 _cf = 0; 10116 _flag_k = FK_NARROW(FK_TEST, 24); 10117 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E58B; /* 0x2B07E54C: je 0x2b07e58b */ 10118 L_2B07E54E: 10119 SET_LO8(eax, MEM8(0x2B0EF07D)); /* 0x2B07E54E: mov al, byte ptr [0x2b0ef07d] */ 10120 /* test LO8(eax), LO8(eax) */ /* 0x2B07E553: test al, al */ 10121 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10122 _cf = 0; 10123 _flag_k = FK_NARROW(FK_TEST, 24); 10124 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07E594; /* 0x2B07E555: jne 0x2b07e594 */ 10125 L_2B07E557: 10126 PUSH32(esp, 0x2B0EC904u); /* 0x2B07E557: push 0x2b0ec904 */ 10127 eax = ebp + (-0x100); /* 0x2B07E55C: lea eax, [ebp - 0x100] */ 10128 PUSH32(esp, 0xFFu); /* 0x2B07E562: push 0xff */ 10129 PUSH32(esp, eax); /* 0x2B07E567: push eax */ 10130 RECOMP_ICALL(0x2B012180u); /* 0x2B07E568: call 0x2b012180 */ /* not lifted */ 10131 RECOMP_FLAGS_IN(); 10132 PUSH32(esp, 0); /* 0x2B07E56D: push 0 */ 10133 PUSH32(esp, 0); /* 0x2B07E56F: push 0 */ 10134 PUSH32(esp, 0); /* 0x2B07E571: push 0 */ 10135 ecx = ebp + (-0x100); /* 0x2B07E573: lea ecx, [ebp - 0x100] */ 10136 PUSH32(esp, ecx); /* 0x2B07E579: push ecx */ 10137 PUSH32(esp, 0x2B0EC8A0u); /* 0x2B07E57A: push 0x2b0ec8a0 */ 10138 RECOMP_ICALL(0x2B089BF0u); /* 0x2B07E57F: call 0x2b089bf0 */ /* not lifted */ 10139 RECOMP_FLAGS_IN(); 10140 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 10141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10142 esp = esp + 0x20u; /* 0x2B07E584: add esp, 0x20 */ 10143 _flag_k = FK_ADD; 10144 esp = ebp; /* 0x2B07E587: mov esp, ebp */ 10145 ebp = POP32_VAL(esp); /* 0x2B07E589: pop ebp */ 10146 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E58A: ret */ 10147 L_2B07E58B: 10148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 10149 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10150 eax = eax + 0x14u; /* 0x2B07E58B: add eax, 0x14 */ 10151 _flag_k = FK_ADD; 10152 PUSH32(esp, eax); /* 0x2B07E58E: push eax */ 10153 RECOMP_ICALL(0x2B07D840u); /* 0x2B07E58F: call 0x2b07d840 */ /* not lifted */ 10154 RECOMP_FLAGS_IN(); 10155 L_2B07E594: 10156 esp = ebp; /* 0x2B07E594: mov esp, ebp */ 10157 ebp = POP32_VAL(esp); /* 0x2B07E596: pop ebp */ 10158 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E597: ret */ 10159 RECOMP_REGS_OUT(); 10160 } 10161 10162 void sub_2B07E5A0(void) { 10163 int _fpu_cmp = 0; 10164 uint32_t _cf = 0; 10165 int _df = 1; 10166 uint32_t _flag_k = FK_NONE; 10167 uint32_t _flag_a = 0, _flag_b = 0; 10168 uint32_t _itail_tgt = 0; 10169 RECOMP_REGS_LOCALS 10170 RECOMP_ENTER(0x2B07E5A0u); 10171 10172 L_2B07E5A0: 10173 PUSH32(esp, ebp); /* 0x2B07E5A0: push ebp */ 10174 ebp = esp; /* 0x2B07E5A1: mov ebp, esp */ 10175 ecx = MEM32(ebp + 0x8); /* 0x2B07E5A3: mov ecx, dword ptr [ebp + 8] */ 10176 /* test ecx, ecx */ /* 0x2B07E5A6: test ecx, ecx */ 10177 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10178 _cf = 0; 10179 _flag_k = FK_TEST; 10180 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E5AF; /* 0x2B07E5A8: je 0x2b07e5af */ 10181 L_2B07E5AA: 10182 RECOMP_ICALL(0x2B07E7A0u); /* 0x2B07E5AA: call 0x2b07e7a0 */ /* not lifted */ 10183 RECOMP_FLAGS_IN(); 10184 L_2B07E5AF: 10185 ebp = POP32_VAL(esp); /* 0x2B07E5AF: pop ebp */ 10186 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E5B0: ret */ 10187 RECOMP_REGS_OUT(); 10188 } 10189 10190 void sub_2B07E5C0(void) { 10191 int _fpu_cmp = 0; 10192 uint32_t _cf = 0; 10193 int _df = 1; 10194 uint32_t _flag_k = FK_NONE; 10195 uint32_t _flag_a = 0, _flag_b = 0; 10196 uint32_t _itail_tgt = 0; 10197 RECOMP_REGS_LOCALS 10198 RECOMP_ENTER(0x2B07E5C0u); 10199 10200 L_2B07E5C0: 10201 PUSH32(esp, ebp); /* 0x2B07E5C0: push ebp */ 10202 ebp = esp; /* 0x2B07E5C1: mov ebp, esp */ 10203 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07E5C3: push -1 */ 10204 PUSH32(esp, 0x2B0B1D41u); /* 0x2B07E5C5: push 0x2b0b1d41 */ 10205 eax = MEM32(FS_BASE + (0)); /* 0x2B07E5CA: mov eax, dword ptr fs:[0] */ 10206 PUSH32(esp, eax); /* 0x2B07E5D0: push eax */ 10207 MEM32(FS_BASE + (0)) = esp; /* 0x2B07E5D1: mov dword ptr fs:[0], esp */ 10208 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x220u); 10209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10210 esp = esp - 0x220u; /* 0x2B07E5D8: sub esp, 0x220 */ 10211 _flag_k = FK_CMP; 10212 PUSH32(esp, ebx); /* 0x2B07E5DE: push ebx */ 10213 ecx = ebp + (-0x14); /* 0x2B07E5DF: lea ecx, [ebp - 0x14] */ 10214 RECOMP_ICALL(0x2B0A8C50u); /* 0x2B07E5E2: call 0x2b0a8c50 */ /* not lifted */ 10215 RECOMP_FLAGS_IN(); 10216 eax = MEM32(ebp + 0x8); /* 0x2B07E5E7: mov eax, dword ptr [ebp + 8] */ 10217 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10218 ebx = 0; /* 0x2B07E5EA: xor ebx, ebx */ 10219 _cf = 0; 10220 _flag_k = FK_TEST; 10221 PUSH32(esp, eax); /* 0x2B07E5EC: push eax */ 10222 ecx = ebp + (-0x14); /* 0x2B07E5ED: lea ecx, [ebp - 0x14] */ 10223 MEM32(ebp + (-0x4)) = ebx; /* 0x2B07E5F0: mov dword ptr [ebp - 4], ebx */ 10224 RECOMP_ICALL(0x2B0A8D50u); /* 0x2B07E5F3: call 0x2b0a8d50 */ /* not lifted */ 10225 RECOMP_FLAGS_IN(); 10226 /* test LO8(eax), LO8(eax) */ /* 0x2B07E5F8: test al, al */ 10227 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10228 _cf = 0; 10229 _flag_k = FK_NARROW(FK_TEST, 24); 10230 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07E61A; /* 0x2B07E5FA: jne 0x2b07e61a */ 10231 L_2B07E5FC: 10232 ecx = ebp + (-0x14); /* 0x2B07E5FC: lea ecx, [ebp - 0x14] */ 10233 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07E5FF: mov dword ptr [ebp - 4], 0xffffffff */ 10234 RECOMP_ICALL(0x2B0A8C90u); /* 0x2B07E606: call 0x2b0a8c90 */ /* not lifted */ 10235 RECOMP_FLAGS_IN(); 10236 ebx = POP32_VAL(esp); /* 0x2B07E60B: pop ebx */ 10237 ecx = MEM32(ebp + (-0xC)); /* 0x2B07E60C: mov ecx, dword ptr [ebp - 0xc] */ 10238 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07E60F: mov dword ptr fs:[0], ecx */ 10239 esp = ebp; /* 0x2B07E616: mov esp, ebp */ 10240 ebp = POP32_VAL(esp); /* 0x2B07E618: pop ebp */ 10241 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E619: ret */ 10242 L_2B07E61A: 10243 PUSH32(esp, esi); /* 0x2B07E61A: push esi */ 10244 PUSH32(esp, 1); /* 0x2B07E61B: push 1 */ 10245 ecx = ebp + (-0x14); /* 0x2B07E61D: lea ecx, [ebp - 0x14] */ 10246 RECOMP_ICALL(0x2B0A8FF0u); /* 0x2B07E620: call 0x2b0a8ff0 */ /* not lifted */ 10247 RECOMP_FLAGS_IN(); 10248 ecx = ebp + (-0x14); /* 0x2B07E625: lea ecx, [ebp - 0x14] */ 10249 RECOMP_ICALL(0x2B0A9040u); /* 0x2B07E628: call 0x2b0a9040 */ /* not lifted */ 10250 RECOMP_FLAGS_IN(); 10251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10252 esi = 0; /* 0x2B07E62D: xor esi, esi */ 10253 _cf = 0; 10254 _flag_k = FK_TEST; 10255 /* cmp eax, ebx */ /* 0x2B07E62F: cmp eax, ebx */ 10256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10258 _flag_k = FK_CMP; 10259 MEM32(ebp + (-0x2C)) = eax; /* 0x2B07E631: mov dword ptr [ebp - 0x2c], eax */ 10260 MEM32(ebp + (-0x28)) = esi; /* 0x2B07E634: mov dword ptr [ebp - 0x28], esi */ 10261 if (CMP_BE(_flag_a, _flag_b)) goto L_2B07E77C; /* 0x2B07E637: jbe 0x2b07e77c */ 10262 L_2B07E63D: 10263 PUSH32(esp, edi); /* 0x2B07E63D: push edi */ 10264 L_2B07E63E: 10265 PUSH32(esp, esi); /* 0x2B07E63E: push esi */ 10266 ecx = ebp + (-0x14); /* 0x2B07E63F: lea ecx, [ebp - 0x14] */ 10267 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E642: call 0x2b0a9050 */ /* not lifted */ 10268 RECOMP_FLAGS_IN(); 10269 PUSH32(esp, esi); /* 0x2B07E647: push esi */ 10270 ecx = ebp + (-0x14); /* 0x2B07E648: lea ecx, [ebp - 0x14] */ 10271 edi = eax; /* 0x2B07E64B: mov edi, eax */ 10272 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E64D: call 0x2b0a9050 */ /* not lifted */ 10273 RECOMP_FLAGS_IN(); 10274 ecx = MEM32(ebp + 0x8); /* 0x2B07E652: mov ecx, dword ptr [ebp + 8] */ 10275 PUSH32(esp, eax); /* 0x2B07E655: push eax */ 10276 PUSH32(esp, ecx); /* 0x2B07E656: push ecx */ 10277 edx = ebp + (-0x22C); /* 0x2B07E657: lea edx, [ebp - 0x22c] */ 10278 PUSH32(esp, 0x2B0EC92Cu); /* 0x2B07E65D: push 0x2b0ec92c */ 10279 PUSH32(esp, edx); /* 0x2B07E662: push edx */ 10280 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07E663: call dword ptr [0x2b0b51f0] */ 10281 RECOMP_FLAGS_IN(); 10282 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 10283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10284 esp = esp + 0x10u; /* 0x2B07E669: add esp, 0x10 */ 10285 _flag_k = FK_ADD; 10286 PUSH32(esp, esi); /* 0x2B07E66C: push esi */ 10287 ecx = ebp + (-0x14); /* 0x2B07E66D: lea ecx, [ebp - 0x14] */ 10288 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E670: call 0x2b0a9090 */ /* not lifted */ 10289 RECOMP_FLAGS_IN(); 10290 /* cmp eax, 2 */ /* 0x2B07E675: cmp eax, 2 */ 10291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10293 _flag_k = FK_CMP; 10294 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E678: jne 0x2b07e69b */ 10295 L_2B07E67A: 10296 /* cmp MEM8(edi), 0x2Eu */ /* 0x2B07E67A: cmp byte ptr [edi], 0x2e */ 10297 _flag_a = (uint32_t)(MEM8(edi)) << 24; _flag_b = (uint32_t)(0x2Eu) << 24; 10298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10299 _flag_k = FK_NARROW(FK_CMP, 24); 10300 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E67D: je 0x2b07e69b */ 10301 L_2B07E67F: 10302 eax = MEM32(ebp + 0x10); /* 0x2B07E67F: mov eax, dword ptr [ebp + 0x10] */ 10303 ecx = MEM32(ebp + 0xC); /* 0x2B07E682: mov ecx, dword ptr [ebp + 0xc] */ 10304 PUSH32(esp, eax); /* 0x2B07E685: push eax */ 10305 PUSH32(esp, ecx); /* 0x2B07E686: push ecx */ 10306 edx = ebp + (-0x22C); /* 0x2B07E687: lea edx, [ebp - 0x22c] */ 10307 PUSH32(esp, edx); /* 0x2B07E68D: push edx */ 10308 RECOMP_ICALL(0x2B07E5C0u); /* 0x2B07E68E: call 0x2b07e5c0 */ /* not lifted */ 10309 RECOMP_FLAGS_IN(); 10310 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10312 esp = esp + 0xCu; /* 0x2B07E693: add esp, 0xc */ 10313 _flag_k = FK_ADD; 10314 goto L_2B07E76C; /* 0x2B07E696: jmp 0x2b07e76c */ 10315 L_2B07E69B: 10316 PUSH32(esp, esi); /* 0x2B07E69B: push esi */ 10317 ecx = ebp + (-0x14); /* 0x2B07E69C: lea ecx, [ebp - 0x14] */ 10318 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E69F: call 0x2b0a9090 */ /* not lifted */ 10319 RECOMP_FLAGS_IN(); 10320 /* cmp eax, 1 */ /* 0x2B07E6A4: cmp eax, 1 */ 10321 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10323 _flag_k = FK_CMP; 10324 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6A7: jne 0x2b07e76c */ 10325 L_2B07E6AD: 10326 eax = MEM32(ebp + 0xC); /* 0x2B07E6AD: mov eax, dword ptr [ebp + 0xc] */ 10327 /* cmp eax, ebx */ /* 0x2B07E6B0: cmp eax, ebx */ 10328 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10330 _flag_k = FK_CMP; 10331 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6B2: je 0x2b07e76c */ 10332 L_2B07E6B8: 10333 PUSH32(esp, eax); /* 0x2B07E6B8: push eax */ 10334 PUSH32(esp, edi); /* 0x2B07E6B9: push edi */ 10335 RECOMP_ICALL(MEM32(0x2B0B5260)); /* 0x2B07E6BA: call dword ptr [0x2b0b5260] */ 10336 RECOMP_FLAGS_IN(); 10337 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10338 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10339 esp = esp + 8; /* 0x2B07E6C0: add esp, 8 */ 10340 _flag_k = FK_ADD; 10341 /* cmp eax, ebx */ /* 0x2B07E6C3: cmp eax, ebx */ 10342 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10344 _flag_k = FK_CMP; 10345 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6C5: je 0x2b07e76c */ 10346 L_2B07E6CB: 10347 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B07E6CB: mov cl, byte ptr [ebp + 0xf] */ 10348 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B07E6CE: mov byte ptr [ebp - 0x24], cl */ 10349 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10350 eax = 0; /* 0x2B07E6D1: xor eax, eax */ 10351 _cf = 0; 10352 _flag_k = FK_TEST; 10353 edi = ebp + (-0x22C); /* 0x2B07E6D3: lea edi, [ebp - 0x22c] */ 10354 MEM32(ebp + (-0x20)) = ebx; /* 0x2B07E6D9: mov dword ptr [ebp - 0x20], ebx */ 10355 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E6DC: mov dword ptr [ebp - 0x1c], ebx */ 10356 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07E6DF: mov dword ptr [ebp - 0x18], ebx */ 10357 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10358 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E6E2: or ecx, 0xffffffff */ 10359 _cf = 0; 10360 _flag_k = FK_TEST; 10361 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; } /* 0x2B07E6E5: repne scasb al, byte ptr es:[edi] */ 10362 ecx = ~ecx; /* 0x2B07E6E7: not ecx */ 10363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10364 ecx = ecx - 1; /* 0x2B07E6E9: dec ecx */ 10365 _flag_k = FK_DEC; 10366 ebx = ecx; /* 0x2B07E6EA: mov ebx, ecx */ 10367 PUSH32(esp, 1); /* 0x2B07E6EC: push 1 */ 10368 PUSH32(esp, ebx); /* 0x2B07E6EE: push ebx */ 10369 ecx = ebp + (-0x24); /* 0x2B07E6EF: lea ecx, [ebp - 0x24] */ 10370 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07E6F2: call dword ptr [0x2b0b5154] */ 10371 RECOMP_FLAGS_IN(); 10372 /* test LO8(eax), LO8(eax) */ /* 0x2B07E6F8: test al, al */ 10373 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10374 _cf = 0; 10375 _flag_k = FK_NARROW(FK_TEST, 24); 10376 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E722; /* 0x2B07E6FA: je 0x2b07e722 */ 10377 L_2B07E6FC: 10378 edi = MEM32(ebp + (-0x20)); /* 0x2B07E6FC: mov edi, dword ptr [ebp - 0x20] */ 10379 ecx = ebx; /* 0x2B07E6FF: mov ecx, ebx */ 10380 edx = ecx; /* 0x2B07E701: mov edx, ecx */ 10381 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07E703: shr ecx, 2 */ 10382 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10383 ecx = ecx >> 2u; /* 0x2B07E703: shr ecx, 2 */ 10384 esi = ebp + (-0x22C); /* 0x2B07E706: lea esi, [ebp - 0x22c] */ 10385 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07E70C: 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; } 10386 ecx = edx; /* 0x2B07E70E: mov ecx, edx */ 10387 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10388 ecx = ecx & 3; /* 0x2B07E710: and ecx, 3 */ 10389 _cf = 0; 10390 _flag_k = FK_TEST; 10391 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07E713: 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; } 10392 eax = MEM32(ebp + (-0x20)); /* 0x2B07E715: mov eax, dword ptr [ebp - 0x20] */ 10393 esi = MEM32(ebp + (-0x28)); /* 0x2B07E718: mov esi, dword ptr [ebp - 0x28] */ 10394 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E71B: mov dword ptr [ebp - 0x1c], ebx */ 10395 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B07E71E: mov byte ptr [eax + ebx], 0 */ 10396 L_2B07E722: 10397 ecx = MEM32(ebp + 0x10); /* 0x2B07E722: mov ecx, dword ptr [ebp + 0x10] */ 10398 eax = MEM32(ecx + 0x8); /* 0x2B07E725: mov eax, dword ptr [ecx + 8] */ 10399 edx = ebp + (-0x24); /* 0x2B07E728: lea edx, [ebp - 0x24] */ 10400 PUSH32(esp, edx); /* 0x2B07E72B: push edx */ 10401 PUSH32(esp, 1); /* 0x2B07E72C: push 1 */ 10402 PUSH32(esp, eax); /* 0x2B07E72E: push eax */ 10403 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07E72F: mov byte ptr [ebp - 4], 1 */ 10404 RECOMP_ICALL(0x2B003320u); /* 0x2B07E733: call 0x2b003320 */ /* not lifted */ 10405 RECOMP_FLAGS_IN(); 10406 eax = MEM32(ebp + (-0x20)); /* 0x2B07E738: mov eax, dword ptr [ebp - 0x20] */ 10407 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10408 edi = 0; /* 0x2B07E73B: xor edi, edi */ 10409 _cf = 0; 10410 _flag_k = FK_TEST; 10411 /* cmp eax, edi */ /* 0x2B07E73D: cmp eax, edi */ 10412 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10413 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10414 _flag_k = FK_CMP; 10415 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07E73F: mov byte ptr [ebp - 4], 0 */ 10416 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E761; /* 0x2B07E743: je 0x2b07e761 */ 10417 L_2B07E745: 10418 ecx = eax + (-0x1); /* 0x2B07E745: lea ecx, [eax - 1] */ 10419 SET_LO8(eax, MEM8(ecx)); /* 0x2B07E748: mov al, byte ptr [ecx] */ 10420 /* test LO8(eax), LO8(eax) */ /* 0x2B07E74A: test al, al */ 10421 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10422 _cf = 0; 10423 _flag_k = FK_NARROW(FK_TEST, 24); 10424 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E74C: je 0x2b07e758 */ 10425 L_2B07E74E: 10426 /* cmp LO8(eax), 0xFFu */ /* 0x2B07E74E: cmp al, 0xff */ 10427 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 10428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10429 _flag_k = FK_NARROW(FK_CMP, 24); 10430 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E750: je 0x2b07e758 */ 10431 L_2B07E752: 10432 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 10433 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07E752: dec al */ 10434 _flag_k = FK_NARROW(FK_DEC, 24); 10435 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07E754: mov byte ptr [ecx], al */ 10436 goto L_2B07E761; /* 0x2B07E756: jmp 0x2b07e761 */ 10437 L_2B07E758: 10438 PUSH32(esp, ecx); /* 0x2B07E758: push ecx */ 10439 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07E759: call 0x2b0ab1ba */ /* not lifted */ 10440 RECOMP_FLAGS_IN(); 10441 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10442 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10443 esp = esp + 4; /* 0x2B07E75E: add esp, 4 */ 10444 _flag_k = FK_ADD; 10445 L_2B07E761: 10446 MEM32(ebp + (-0x20)) = edi; /* 0x2B07E761: mov dword ptr [ebp - 0x20], edi */ 10447 MEM32(ebp + (-0x1C)) = edi; /* 0x2B07E764: mov dword ptr [ebp - 0x1c], edi */ 10448 MEM32(ebp + (-0x18)) = edi; /* 0x2B07E767: mov dword ptr [ebp - 0x18], edi */ 10449 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10450 ebx = 0; /* 0x2B07E76A: xor ebx, ebx */ 10451 _cf = 0; 10452 _flag_k = FK_TEST; 10453 L_2B07E76C: 10454 eax = MEM32(ebp + (-0x2C)); /* 0x2B07E76C: mov eax, dword ptr [ebp - 0x2c] */ 10455 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10456 esi = esi + 1; /* 0x2B07E76F: inc esi */ 10457 _flag_k = FK_INC; 10458 /* cmp esi, eax */ /* 0x2B07E770: cmp esi, eax */ 10459 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10461 _flag_k = FK_CMP; 10462 MEM32(ebp + (-0x28)) = esi; /* 0x2B07E772: mov dword ptr [ebp - 0x28], esi */ 10463 RECOMP_BACKEDGE(); 10464 if (CMP_B(_flag_a, _flag_b)) goto L_2B07E63E; /* 0x2B07E775: jb 0x2b07e63e */ 10465 L_2B07E77B: 10466 edi = POP32_VAL(esp); /* 0x2B07E77B: pop edi */ 10467 L_2B07E77C: 10468 ecx = ebp + (-0x14); /* 0x2B07E77C: lea ecx, [ebp - 0x14] */ 10469 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07E77F: mov dword ptr [ebp - 4], 0xffffffff */ 10470 RECOMP_ICALL(0x2B0A8C90u); /* 0x2B07E786: call 0x2b0a8c90 */ /* not lifted */ 10471 RECOMP_FLAGS_IN(); 10472 ecx = MEM32(ebp + (-0xC)); /* 0x2B07E78B: mov ecx, dword ptr [ebp - 0xc] */ 10473 esi = POP32_VAL(esp); /* 0x2B07E78E: pop esi */ 10474 ebx = POP32_VAL(esp); /* 0x2B07E78F: pop ebx */ 10475 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07E790: mov dword ptr fs:[0], ecx */ 10476 esp = ebp; /* 0x2B07E797: mov esp, ebp */ 10477 ebp = POP32_VAL(esp); /* 0x2B07E799: pop ebp */ 10478 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E79A: ret */ 10479 RECOMP_REGS_OUT(); 10480 } 10481 10482 void sub_2B07E63E(void) { 10483 int _fpu_cmp = 0; 10484 uint32_t _cf = 0; 10485 int _df = 1; 10486 uint32_t _flag_k = FK_NONE; 10487 uint32_t _flag_a = 0, _flag_b = 0; 10488 uint32_t _itail_tgt = 0; 10489 RECOMP_REGS_LOCALS 10490 RECOMP_ENTER(0x2B07E63Eu); 10491 10492 L_2B07E63E: 10493 PUSH32(esp, esi); /* 0x2B07E63E: push esi */ 10494 ecx = ebp + (-0x14); /* 0x2B07E63F: lea ecx, [ebp - 0x14] */ 10495 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E642: call 0x2b0a9050 */ /* not lifted */ 10496 RECOMP_FLAGS_IN(); 10497 PUSH32(esp, esi); /* 0x2B07E647: push esi */ 10498 ecx = ebp + (-0x14); /* 0x2B07E648: lea ecx, [ebp - 0x14] */ 10499 edi = eax; /* 0x2B07E64B: mov edi, eax */ 10500 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E64D: call 0x2b0a9050 */ /* not lifted */ 10501 RECOMP_FLAGS_IN(); 10502 ecx = MEM32(ebp + 0x8); /* 0x2B07E652: mov ecx, dword ptr [ebp + 8] */ 10503 PUSH32(esp, eax); /* 0x2B07E655: push eax */ 10504 PUSH32(esp, ecx); /* 0x2B07E656: push ecx */ 10505 edx = ebp + (-0x22C); /* 0x2B07E657: lea edx, [ebp - 0x22c] */ 10506 PUSH32(esp, 0x2B0EC92Cu); /* 0x2B07E65D: push 0x2b0ec92c */ 10507 PUSH32(esp, edx); /* 0x2B07E662: push edx */ 10508 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07E663: call dword ptr [0x2b0b51f0] */ 10509 RECOMP_FLAGS_IN(); 10510 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 10511 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10512 esp = esp + 0x10u; /* 0x2B07E669: add esp, 0x10 */ 10513 _flag_k = FK_ADD; 10514 PUSH32(esp, esi); /* 0x2B07E66C: push esi */ 10515 ecx = ebp + (-0x14); /* 0x2B07E66D: lea ecx, [ebp - 0x14] */ 10516 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E670: call 0x2b0a9090 */ /* not lifted */ 10517 RECOMP_FLAGS_IN(); 10518 /* cmp eax, 2 */ /* 0x2B07E675: cmp eax, 2 */ 10519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10521 _flag_k = FK_CMP; 10522 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E678: jne 0x2b07e69b */ 10523 L_2B07E67A: 10524 /* cmp MEM8(edi), 0x2Eu */ /* 0x2B07E67A: cmp byte ptr [edi], 0x2e */ 10525 _flag_a = (uint32_t)(MEM8(edi)) << 24; _flag_b = (uint32_t)(0x2Eu) << 24; 10526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10527 _flag_k = FK_NARROW(FK_CMP, 24); 10528 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E67D: je 0x2b07e69b */ 10529 L_2B07E67F: 10530 eax = MEM32(ebp + 0x10); /* 0x2B07E67F: mov eax, dword ptr [ebp + 0x10] */ 10531 ecx = MEM32(ebp + 0xC); /* 0x2B07E682: mov ecx, dword ptr [ebp + 0xc] */ 10532 PUSH32(esp, eax); /* 0x2B07E685: push eax */ 10533 PUSH32(esp, ecx); /* 0x2B07E686: push ecx */ 10534 edx = ebp + (-0x22C); /* 0x2B07E687: lea edx, [ebp - 0x22c] */ 10535 PUSH32(esp, edx); /* 0x2B07E68D: push edx */ 10536 RECOMP_ICALL(0x2B07E5C0u); /* 0x2B07E68E: call 0x2b07e5c0 */ /* not lifted */ 10537 RECOMP_FLAGS_IN(); 10538 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10539 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10540 esp = esp + 0xCu; /* 0x2B07E693: add esp, 0xc */ 10541 _flag_k = FK_ADD; 10542 goto L_2B07E76C; /* 0x2B07E696: jmp 0x2b07e76c */ 10543 L_2B07E69B: 10544 PUSH32(esp, esi); /* 0x2B07E69B: push esi */ 10545 ecx = ebp + (-0x14); /* 0x2B07E69C: lea ecx, [ebp - 0x14] */ 10546 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E69F: call 0x2b0a9090 */ /* not lifted */ 10547 RECOMP_FLAGS_IN(); 10548 /* cmp eax, 1 */ /* 0x2B07E6A4: cmp eax, 1 */ 10549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10551 _flag_k = FK_CMP; 10552 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6A7: jne 0x2b07e76c */ 10553 L_2B07E6AD: 10554 eax = MEM32(ebp + 0xC); /* 0x2B07E6AD: mov eax, dword ptr [ebp + 0xc] */ 10555 /* cmp eax, ebx */ /* 0x2B07E6B0: cmp eax, ebx */ 10556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10558 _flag_k = FK_CMP; 10559 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6B2: je 0x2b07e76c */ 10560 L_2B07E6B8: 10561 PUSH32(esp, eax); /* 0x2B07E6B8: push eax */ 10562 PUSH32(esp, edi); /* 0x2B07E6B9: push edi */ 10563 RECOMP_ICALL(MEM32(0x2B0B5260)); /* 0x2B07E6BA: call dword ptr [0x2b0b5260] */ 10564 RECOMP_FLAGS_IN(); 10565 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10567 esp = esp + 8; /* 0x2B07E6C0: add esp, 8 */ 10568 _flag_k = FK_ADD; 10569 /* cmp eax, ebx */ /* 0x2B07E6C3: cmp eax, ebx */ 10570 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10572 _flag_k = FK_CMP; 10573 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6C5: je 0x2b07e76c */ 10574 L_2B07E6CB: 10575 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B07E6CB: mov cl, byte ptr [ebp + 0xf] */ 10576 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B07E6CE: mov byte ptr [ebp - 0x24], cl */ 10577 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10578 eax = 0; /* 0x2B07E6D1: xor eax, eax */ 10579 _cf = 0; 10580 _flag_k = FK_TEST; 10581 edi = ebp + (-0x22C); /* 0x2B07E6D3: lea edi, [ebp - 0x22c] */ 10582 MEM32(ebp + (-0x20)) = ebx; /* 0x2B07E6D9: mov dword ptr [ebp - 0x20], ebx */ 10583 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E6DC: mov dword ptr [ebp - 0x1c], ebx */ 10584 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07E6DF: mov dword ptr [ebp - 0x18], ebx */ 10585 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10586 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E6E2: or ecx, 0xffffffff */ 10587 _cf = 0; 10588 _flag_k = FK_TEST; 10589 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; } /* 0x2B07E6E5: repne scasb al, byte ptr es:[edi] */ 10590 ecx = ~ecx; /* 0x2B07E6E7: not ecx */ 10591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10592 ecx = ecx - 1; /* 0x2B07E6E9: dec ecx */ 10593 _flag_k = FK_DEC; 10594 ebx = ecx; /* 0x2B07E6EA: mov ebx, ecx */ 10595 PUSH32(esp, 1); /* 0x2B07E6EC: push 1 */ 10596 PUSH32(esp, ebx); /* 0x2B07E6EE: push ebx */ 10597 ecx = ebp + (-0x24); /* 0x2B07E6EF: lea ecx, [ebp - 0x24] */ 10598 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07E6F2: call dword ptr [0x2b0b5154] */ 10599 RECOMP_FLAGS_IN(); 10600 /* test LO8(eax), LO8(eax) */ /* 0x2B07E6F8: test al, al */ 10601 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10602 _cf = 0; 10603 _flag_k = FK_NARROW(FK_TEST, 24); 10604 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E722; /* 0x2B07E6FA: je 0x2b07e722 */ 10605 L_2B07E6FC: 10606 edi = MEM32(ebp + (-0x20)); /* 0x2B07E6FC: mov edi, dword ptr [ebp - 0x20] */ 10607 ecx = ebx; /* 0x2B07E6FF: mov ecx, ebx */ 10608 edx = ecx; /* 0x2B07E701: mov edx, ecx */ 10609 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07E703: shr ecx, 2 */ 10610 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10611 ecx = ecx >> 2u; /* 0x2B07E703: shr ecx, 2 */ 10612 esi = ebp + (-0x22C); /* 0x2B07E706: lea esi, [ebp - 0x22c] */ 10613 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07E70C: 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; } 10614 ecx = edx; /* 0x2B07E70E: mov ecx, edx */ 10615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10616 ecx = ecx & 3; /* 0x2B07E710: and ecx, 3 */ 10617 _cf = 0; 10618 _flag_k = FK_TEST; 10619 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07E713: 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; } 10620 eax = MEM32(ebp + (-0x20)); /* 0x2B07E715: mov eax, dword ptr [ebp - 0x20] */ 10621 esi = MEM32(ebp + (-0x28)); /* 0x2B07E718: mov esi, dword ptr [ebp - 0x28] */ 10622 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E71B: mov dword ptr [ebp - 0x1c], ebx */ 10623 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B07E71E: mov byte ptr [eax + ebx], 0 */ 10624 L_2B07E722: 10625 ecx = MEM32(ebp + 0x10); /* 0x2B07E722: mov ecx, dword ptr [ebp + 0x10] */ 10626 eax = MEM32(ecx + 0x8); /* 0x2B07E725: mov eax, dword ptr [ecx + 8] */ 10627 edx = ebp + (-0x24); /* 0x2B07E728: lea edx, [ebp - 0x24] */ 10628 PUSH32(esp, edx); /* 0x2B07E72B: push edx */ 10629 PUSH32(esp, 1); /* 0x2B07E72C: push 1 */ 10630 PUSH32(esp, eax); /* 0x2B07E72E: push eax */ 10631 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07E72F: mov byte ptr [ebp - 4], 1 */ 10632 RECOMP_ICALL(0x2B003320u); /* 0x2B07E733: call 0x2b003320 */ /* not lifted */ 10633 RECOMP_FLAGS_IN(); 10634 eax = MEM32(ebp + (-0x20)); /* 0x2B07E738: mov eax, dword ptr [ebp - 0x20] */ 10635 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10636 edi = 0; /* 0x2B07E73B: xor edi, edi */ 10637 _cf = 0; 10638 _flag_k = FK_TEST; 10639 /* cmp eax, edi */ /* 0x2B07E73D: cmp eax, edi */ 10640 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10642 _flag_k = FK_CMP; 10643 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07E73F: mov byte ptr [ebp - 4], 0 */ 10644 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E761; /* 0x2B07E743: je 0x2b07e761 */ 10645 L_2B07E745: 10646 ecx = eax + (-0x1); /* 0x2B07E745: lea ecx, [eax - 1] */ 10647 SET_LO8(eax, MEM8(ecx)); /* 0x2B07E748: mov al, byte ptr [ecx] */ 10648 /* test LO8(eax), LO8(eax) */ /* 0x2B07E74A: test al, al */ 10649 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10650 _cf = 0; 10651 _flag_k = FK_NARROW(FK_TEST, 24); 10652 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E74C: je 0x2b07e758 */ 10653 L_2B07E74E: 10654 /* cmp LO8(eax), 0xFFu */ /* 0x2B07E74E: cmp al, 0xff */ 10655 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 10656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10657 _flag_k = FK_NARROW(FK_CMP, 24); 10658 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E750: je 0x2b07e758 */ 10659 L_2B07E752: 10660 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 10661 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07E752: dec al */ 10662 _flag_k = FK_NARROW(FK_DEC, 24); 10663 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07E754: mov byte ptr [ecx], al */ 10664 goto L_2B07E761; /* 0x2B07E756: jmp 0x2b07e761 */ 10665 L_2B07E758: 10666 PUSH32(esp, ecx); /* 0x2B07E758: push ecx */ 10667 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07E759: call 0x2b0ab1ba */ /* not lifted */ 10668 RECOMP_FLAGS_IN(); 10669 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10670 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10671 esp = esp + 4; /* 0x2B07E75E: add esp, 4 */ 10672 _flag_k = FK_ADD; 10673 L_2B07E761: 10674 MEM32(ebp + (-0x20)) = edi; /* 0x2B07E761: mov dword ptr [ebp - 0x20], edi */ 10675 MEM32(ebp + (-0x1C)) = edi; /* 0x2B07E764: mov dword ptr [ebp - 0x1c], edi */ 10676 MEM32(ebp + (-0x18)) = edi; /* 0x2B07E767: mov dword ptr [ebp - 0x18], edi */ 10677 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10678 ebx = 0; /* 0x2B07E76A: xor ebx, ebx */ 10679 _cf = 0; 10680 _flag_k = FK_TEST; 10681 L_2B07E76C: 10682 eax = MEM32(ebp + (-0x2C)); /* 0x2B07E76C: mov eax, dword ptr [ebp - 0x2c] */ 10683 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10684 esi = esi + 1; /* 0x2B07E76F: inc esi */ 10685 _flag_k = FK_INC; 10686 /* cmp esi, eax */ /* 0x2B07E770: cmp esi, eax */ 10687 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10689 _flag_k = FK_CMP; 10690 MEM32(ebp + (-0x28)) = esi; /* 0x2B07E772: mov dword ptr [ebp - 0x28], esi */ 10691 RECOMP_BACKEDGE(); 10692 if (CMP_B(_flag_a, _flag_b)) goto L_2B07E63E; /* 0x2B07E775: jb 0x2b07e63e */ 10693 L_2B07E77B: 10694 edi = POP32_VAL(esp); /* 0x2B07E77B: pop edi */ 10695 ecx = ebp + (-0x14); /* 0x2B07E77C: lea ecx, [ebp - 0x14] */ 10696 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07E77F: mov dword ptr [ebp - 4], 0xffffffff */ 10697 RECOMP_ICALL(0x2B0A8C90u); /* 0x2B07E786: call 0x2b0a8c90 */ /* not lifted */ 10698 RECOMP_FLAGS_IN(); 10699 ecx = MEM32(ebp + (-0xC)); /* 0x2B07E78B: mov ecx, dword ptr [ebp - 0xc] */ 10700 esi = POP32_VAL(esp); /* 0x2B07E78E: pop esi */ 10701 ebx = POP32_VAL(esp); /* 0x2B07E78F: pop ebx */ 10702 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07E790: mov dword ptr fs:[0], ecx */ 10703 esp = ebp; /* 0x2B07E797: mov esp, ebp */ 10704 ebp = POP32_VAL(esp); /* 0x2B07E799: pop ebp */ 10705 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E79A: ret */ 10706 RECOMP_REGS_OUT(); 10707 } 10708 10709 void sub_2B07E761(void) { 10710 int _fpu_cmp = 0; 10711 uint32_t _cf = 0; 10712 int _df = 1; 10713 uint32_t _flag_k = FK_NONE; 10714 uint32_t _flag_a = 0, _flag_b = 0; 10715 uint32_t _itail_tgt = 0; 10716 RECOMP_REGS_LOCALS 10717 RECOMP_ENTER(0x2B07E761u); 10718 10719 goto L_2B07E761; 10720 L_2B07E63E: 10721 PUSH32(esp, esi); /* 0x2B07E63E: push esi */ 10722 ecx = ebp + (-0x14); /* 0x2B07E63F: lea ecx, [ebp - 0x14] */ 10723 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E642: call 0x2b0a9050 */ /* not lifted */ 10724 RECOMP_FLAGS_IN(); 10725 PUSH32(esp, esi); /* 0x2B07E647: push esi */ 10726 ecx = ebp + (-0x14); /* 0x2B07E648: lea ecx, [ebp - 0x14] */ 10727 edi = eax; /* 0x2B07E64B: mov edi, eax */ 10728 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E64D: call 0x2b0a9050 */ /* not lifted */ 10729 RECOMP_FLAGS_IN(); 10730 ecx = MEM32(ebp + 0x8); /* 0x2B07E652: mov ecx, dword ptr [ebp + 8] */ 10731 PUSH32(esp, eax); /* 0x2B07E655: push eax */ 10732 PUSH32(esp, ecx); /* 0x2B07E656: push ecx */ 10733 edx = ebp + (-0x22C); /* 0x2B07E657: lea edx, [ebp - 0x22c] */ 10734 PUSH32(esp, 0x2B0EC92Cu); /* 0x2B07E65D: push 0x2b0ec92c */ 10735 PUSH32(esp, edx); /* 0x2B07E662: push edx */ 10736 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07E663: call dword ptr [0x2b0b51f0] */ 10737 RECOMP_FLAGS_IN(); 10738 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 10739 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10740 esp = esp + 0x10u; /* 0x2B07E669: add esp, 0x10 */ 10741 _flag_k = FK_ADD; 10742 PUSH32(esp, esi); /* 0x2B07E66C: push esi */ 10743 ecx = ebp + (-0x14); /* 0x2B07E66D: lea ecx, [ebp - 0x14] */ 10744 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E670: call 0x2b0a9090 */ /* not lifted */ 10745 RECOMP_FLAGS_IN(); 10746 /* cmp eax, 2 */ /* 0x2B07E675: cmp eax, 2 */ 10747 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10749 _flag_k = FK_CMP; 10750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E678: jne 0x2b07e69b */ 10751 L_2B07E67A: 10752 /* cmp MEM8(edi), 0x2Eu */ /* 0x2B07E67A: cmp byte ptr [edi], 0x2e */ 10753 _flag_a = (uint32_t)(MEM8(edi)) << 24; _flag_b = (uint32_t)(0x2Eu) << 24; 10754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10755 _flag_k = FK_NARROW(FK_CMP, 24); 10756 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E67D: je 0x2b07e69b */ 10757 L_2B07E67F: 10758 eax = MEM32(ebp + 0x10); /* 0x2B07E67F: mov eax, dword ptr [ebp + 0x10] */ 10759 ecx = MEM32(ebp + 0xC); /* 0x2B07E682: mov ecx, dword ptr [ebp + 0xc] */ 10760 PUSH32(esp, eax); /* 0x2B07E685: push eax */ 10761 PUSH32(esp, ecx); /* 0x2B07E686: push ecx */ 10762 edx = ebp + (-0x22C); /* 0x2B07E687: lea edx, [ebp - 0x22c] */ 10763 PUSH32(esp, edx); /* 0x2B07E68D: push edx */ 10764 RECOMP_ICALL(0x2B07E5C0u); /* 0x2B07E68E: call 0x2b07e5c0 */ /* not lifted */ 10765 RECOMP_FLAGS_IN(); 10766 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10767 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10768 esp = esp + 0xCu; /* 0x2B07E693: add esp, 0xc */ 10769 _flag_k = FK_ADD; 10770 goto L_2B07E76C; /* 0x2B07E696: jmp 0x2b07e76c */ 10771 L_2B07E69B: 10772 PUSH32(esp, esi); /* 0x2B07E69B: push esi */ 10773 ecx = ebp + (-0x14); /* 0x2B07E69C: lea ecx, [ebp - 0x14] */ 10774 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E69F: call 0x2b0a9090 */ /* not lifted */ 10775 RECOMP_FLAGS_IN(); 10776 /* cmp eax, 1 */ /* 0x2B07E6A4: cmp eax, 1 */ 10777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10779 _flag_k = FK_CMP; 10780 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6A7: jne 0x2b07e76c */ 10781 L_2B07E6AD: 10782 eax = MEM32(ebp + 0xC); /* 0x2B07E6AD: mov eax, dword ptr [ebp + 0xc] */ 10783 /* cmp eax, ebx */ /* 0x2B07E6B0: cmp eax, ebx */ 10784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10786 _flag_k = FK_CMP; 10787 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6B2: je 0x2b07e76c */ 10788 L_2B07E6B8: 10789 PUSH32(esp, eax); /* 0x2B07E6B8: push eax */ 10790 PUSH32(esp, edi); /* 0x2B07E6B9: push edi */ 10791 RECOMP_ICALL(MEM32(0x2B0B5260)); /* 0x2B07E6BA: call dword ptr [0x2b0b5260] */ 10792 RECOMP_FLAGS_IN(); 10793 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10794 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10795 esp = esp + 8; /* 0x2B07E6C0: add esp, 8 */ 10796 _flag_k = FK_ADD; 10797 /* cmp eax, ebx */ /* 0x2B07E6C3: cmp eax, ebx */ 10798 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10800 _flag_k = FK_CMP; 10801 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6C5: je 0x2b07e76c */ 10802 L_2B07E6CB: 10803 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B07E6CB: mov cl, byte ptr [ebp + 0xf] */ 10804 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B07E6CE: mov byte ptr [ebp - 0x24], cl */ 10805 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10806 eax = 0; /* 0x2B07E6D1: xor eax, eax */ 10807 _cf = 0; 10808 _flag_k = FK_TEST; 10809 edi = ebp + (-0x22C); /* 0x2B07E6D3: lea edi, [ebp - 0x22c] */ 10810 MEM32(ebp + (-0x20)) = ebx; /* 0x2B07E6D9: mov dword ptr [ebp - 0x20], ebx */ 10811 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E6DC: mov dword ptr [ebp - 0x1c], ebx */ 10812 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07E6DF: mov dword ptr [ebp - 0x18], ebx */ 10813 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 10814 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E6E2: or ecx, 0xffffffff */ 10815 _cf = 0; 10816 _flag_k = FK_TEST; 10817 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; } /* 0x2B07E6E5: repne scasb al, byte ptr es:[edi] */ 10818 ecx = ~ecx; /* 0x2B07E6E7: not ecx */ 10819 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10820 ecx = ecx - 1; /* 0x2B07E6E9: dec ecx */ 10821 _flag_k = FK_DEC; 10822 ebx = ecx; /* 0x2B07E6EA: mov ebx, ecx */ 10823 PUSH32(esp, 1); /* 0x2B07E6EC: push 1 */ 10824 PUSH32(esp, ebx); /* 0x2B07E6EE: push ebx */ 10825 ecx = ebp + (-0x24); /* 0x2B07E6EF: lea ecx, [ebp - 0x24] */ 10826 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07E6F2: call dword ptr [0x2b0b5154] */ 10827 RECOMP_FLAGS_IN(); 10828 /* test LO8(eax), LO8(eax) */ /* 0x2B07E6F8: test al, al */ 10829 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10830 _cf = 0; 10831 _flag_k = FK_NARROW(FK_TEST, 24); 10832 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E722; /* 0x2B07E6FA: je 0x2b07e722 */ 10833 L_2B07E6FC: 10834 edi = MEM32(ebp + (-0x20)); /* 0x2B07E6FC: mov edi, dword ptr [ebp - 0x20] */ 10835 ecx = ebx; /* 0x2B07E6FF: mov ecx, ebx */ 10836 edx = ecx; /* 0x2B07E701: mov edx, ecx */ 10837 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07E703: shr ecx, 2 */ 10838 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10839 ecx = ecx >> 2u; /* 0x2B07E703: shr ecx, 2 */ 10840 esi = ebp + (-0x22C); /* 0x2B07E706: lea esi, [ebp - 0x22c] */ 10841 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07E70C: 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; } 10842 ecx = edx; /* 0x2B07E70E: mov ecx, edx */ 10843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 10844 ecx = ecx & 3; /* 0x2B07E710: and ecx, 3 */ 10845 _cf = 0; 10846 _flag_k = FK_TEST; 10847 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07E713: 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; } 10848 eax = MEM32(ebp + (-0x20)); /* 0x2B07E715: mov eax, dword ptr [ebp - 0x20] */ 10849 esi = MEM32(ebp + (-0x28)); /* 0x2B07E718: mov esi, dword ptr [ebp - 0x28] */ 10850 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E71B: mov dword ptr [ebp - 0x1c], ebx */ 10851 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B07E71E: mov byte ptr [eax + ebx], 0 */ 10852 L_2B07E722: 10853 ecx = MEM32(ebp + 0x10); /* 0x2B07E722: mov ecx, dword ptr [ebp + 0x10] */ 10854 eax = MEM32(ecx + 0x8); /* 0x2B07E725: mov eax, dword ptr [ecx + 8] */ 10855 edx = ebp + (-0x24); /* 0x2B07E728: lea edx, [ebp - 0x24] */ 10856 PUSH32(esp, edx); /* 0x2B07E72B: push edx */ 10857 PUSH32(esp, 1); /* 0x2B07E72C: push 1 */ 10858 PUSH32(esp, eax); /* 0x2B07E72E: push eax */ 10859 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07E72F: mov byte ptr [ebp - 4], 1 */ 10860 RECOMP_ICALL(0x2B003320u); /* 0x2B07E733: call 0x2b003320 */ /* not lifted */ 10861 RECOMP_FLAGS_IN(); 10862 eax = MEM32(ebp + (-0x20)); /* 0x2B07E738: mov eax, dword ptr [ebp - 0x20] */ 10863 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10864 edi = 0; /* 0x2B07E73B: xor edi, edi */ 10865 _cf = 0; 10866 _flag_k = FK_TEST; 10867 /* cmp eax, edi */ /* 0x2B07E73D: cmp eax, edi */ 10868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10870 _flag_k = FK_CMP; 10871 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07E73F: mov byte ptr [ebp - 4], 0 */ 10872 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E761; /* 0x2B07E743: je 0x2b07e761 */ 10873 L_2B07E745: 10874 ecx = eax + (-0x1); /* 0x2B07E745: lea ecx, [eax - 1] */ 10875 SET_LO8(eax, MEM8(ecx)); /* 0x2B07E748: mov al, byte ptr [ecx] */ 10876 /* test LO8(eax), LO8(eax) */ /* 0x2B07E74A: test al, al */ 10877 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10878 _cf = 0; 10879 _flag_k = FK_NARROW(FK_TEST, 24); 10880 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E74C: je 0x2b07e758 */ 10881 L_2B07E74E: 10882 /* cmp LO8(eax), 0xFFu */ /* 0x2B07E74E: cmp al, 0xff */ 10883 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 10884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10885 _flag_k = FK_NARROW(FK_CMP, 24); 10886 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E750: je 0x2b07e758 */ 10887 L_2B07E752: 10888 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 10889 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07E752: dec al */ 10890 _flag_k = FK_NARROW(FK_DEC, 24); 10891 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07E754: mov byte ptr [ecx], al */ 10892 goto L_2B07E761; /* 0x2B07E756: jmp 0x2b07e761 */ 10893 L_2B07E758: 10894 PUSH32(esp, ecx); /* 0x2B07E758: push ecx */ 10895 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07E759: call 0x2b0ab1ba */ /* not lifted */ 10896 RECOMP_FLAGS_IN(); 10897 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10899 esp = esp + 4; /* 0x2B07E75E: add esp, 4 */ 10900 _flag_k = FK_ADD; 10901 L_2B07E761: 10902 MEM32(ebp + (-0x20)) = edi; /* 0x2B07E761: mov dword ptr [ebp - 0x20], edi */ 10903 MEM32(ebp + (-0x1C)) = edi; /* 0x2B07E764: mov dword ptr [ebp - 0x1c], edi */ 10904 MEM32(ebp + (-0x18)) = edi; /* 0x2B07E767: mov dword ptr [ebp - 0x18], edi */ 10905 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10906 ebx = 0; /* 0x2B07E76A: xor ebx, ebx */ 10907 _cf = 0; 10908 _flag_k = FK_TEST; 10909 L_2B07E76C: 10910 eax = MEM32(ebp + (-0x2C)); /* 0x2B07E76C: mov eax, dword ptr [ebp - 0x2c] */ 10911 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 10912 esi = esi + 1; /* 0x2B07E76F: inc esi */ 10913 _flag_k = FK_INC; 10914 /* cmp esi, eax */ /* 0x2B07E770: cmp esi, eax */ 10915 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10917 _flag_k = FK_CMP; 10918 MEM32(ebp + (-0x28)) = esi; /* 0x2B07E772: mov dword ptr [ebp - 0x28], esi */ 10919 RECOMP_BACKEDGE(); 10920 if (CMP_B(_flag_a, _flag_b)) goto L_2B07E63E; /* 0x2B07E775: jb 0x2b07e63e */ 10921 L_2B07E77B: 10922 edi = POP32_VAL(esp); /* 0x2B07E77B: pop edi */ 10923 ecx = ebp + (-0x14); /* 0x2B07E77C: lea ecx, [ebp - 0x14] */ 10924 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07E77F: mov dword ptr [ebp - 4], 0xffffffff */ 10925 RECOMP_ICALL(0x2B0A8C90u); /* 0x2B07E786: call 0x2b0a8c90 */ /* not lifted */ 10926 RECOMP_FLAGS_IN(); 10927 ecx = MEM32(ebp + (-0xC)); /* 0x2B07E78B: mov ecx, dword ptr [ebp - 0xc] */ 10928 esi = POP32_VAL(esp); /* 0x2B07E78E: pop esi */ 10929 ebx = POP32_VAL(esp); /* 0x2B07E78F: pop ebx */ 10930 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07E790: mov dword ptr fs:[0], ecx */ 10931 esp = ebp; /* 0x2B07E797: mov esp, ebp */ 10932 ebp = POP32_VAL(esp); /* 0x2B07E799: pop ebp */ 10933 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E79A: ret */ 10934 RECOMP_REGS_OUT(); 10935 } 10936 10937 void sub_2B07E76C(void) { 10938 int _fpu_cmp = 0; 10939 uint32_t _cf = 0; 10940 int _df = 1; 10941 uint32_t _flag_k = FK_NONE; 10942 uint32_t _flag_a = 0, _flag_b = 0; 10943 uint32_t _itail_tgt = 0; 10944 RECOMP_REGS_LOCALS 10945 RECOMP_ENTER(0x2B07E76Cu); 10946 10947 goto L_2B07E76C; 10948 L_2B07E63E: 10949 PUSH32(esp, esi); /* 0x2B07E63E: push esi */ 10950 ecx = ebp + (-0x14); /* 0x2B07E63F: lea ecx, [ebp - 0x14] */ 10951 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E642: call 0x2b0a9050 */ /* not lifted */ 10952 RECOMP_FLAGS_IN(); 10953 PUSH32(esp, esi); /* 0x2B07E647: push esi */ 10954 ecx = ebp + (-0x14); /* 0x2B07E648: lea ecx, [ebp - 0x14] */ 10955 edi = eax; /* 0x2B07E64B: mov edi, eax */ 10956 RECOMP_ICALL(0x2B0A9050u); /* 0x2B07E64D: call 0x2b0a9050 */ /* not lifted */ 10957 RECOMP_FLAGS_IN(); 10958 ecx = MEM32(ebp + 0x8); /* 0x2B07E652: mov ecx, dword ptr [ebp + 8] */ 10959 PUSH32(esp, eax); /* 0x2B07E655: push eax */ 10960 PUSH32(esp, ecx); /* 0x2B07E656: push ecx */ 10961 edx = ebp + (-0x22C); /* 0x2B07E657: lea edx, [ebp - 0x22c] */ 10962 PUSH32(esp, 0x2B0EC92Cu); /* 0x2B07E65D: push 0x2b0ec92c */ 10963 PUSH32(esp, edx); /* 0x2B07E662: push edx */ 10964 RECOMP_ICALL(MEM32(0x2B0B51F0)); /* 0x2B07E663: call dword ptr [0x2b0b51f0] */ 10965 RECOMP_FLAGS_IN(); 10966 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 10967 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10968 esp = esp + 0x10u; /* 0x2B07E669: add esp, 0x10 */ 10969 _flag_k = FK_ADD; 10970 PUSH32(esp, esi); /* 0x2B07E66C: push esi */ 10971 ecx = ebp + (-0x14); /* 0x2B07E66D: lea ecx, [ebp - 0x14] */ 10972 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E670: call 0x2b0a9090 */ /* not lifted */ 10973 RECOMP_FLAGS_IN(); 10974 /* cmp eax, 2 */ /* 0x2B07E675: cmp eax, 2 */ 10975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10977 _flag_k = FK_CMP; 10978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E678: jne 0x2b07e69b */ 10979 L_2B07E67A: 10980 /* cmp MEM8(edi), 0x2Eu */ /* 0x2B07E67A: cmp byte ptr [edi], 0x2e */ 10981 _flag_a = (uint32_t)(MEM8(edi)) << 24; _flag_b = (uint32_t)(0x2Eu) << 24; 10982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10983 _flag_k = FK_NARROW(FK_CMP, 24); 10984 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E69B; /* 0x2B07E67D: je 0x2b07e69b */ 10985 L_2B07E67F: 10986 eax = MEM32(ebp + 0x10); /* 0x2B07E67F: mov eax, dword ptr [ebp + 0x10] */ 10987 ecx = MEM32(ebp + 0xC); /* 0x2B07E682: mov ecx, dword ptr [ebp + 0xc] */ 10988 PUSH32(esp, eax); /* 0x2B07E685: push eax */ 10989 PUSH32(esp, ecx); /* 0x2B07E686: push ecx */ 10990 edx = ebp + (-0x22C); /* 0x2B07E687: lea edx, [ebp - 0x22c] */ 10991 PUSH32(esp, edx); /* 0x2B07E68D: push edx */ 10992 RECOMP_ICALL(0x2B07E5C0u); /* 0x2B07E68E: call 0x2b07e5c0 */ /* not lifted */ 10993 RECOMP_FLAGS_IN(); 10994 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10995 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10996 esp = esp + 0xCu; /* 0x2B07E693: add esp, 0xc */ 10997 _flag_k = FK_ADD; 10998 goto L_2B07E76C; /* 0x2B07E696: jmp 0x2b07e76c */ 10999 L_2B07E69B: 11000 PUSH32(esp, esi); /* 0x2B07E69B: push esi */ 11001 ecx = ebp + (-0x14); /* 0x2B07E69C: lea ecx, [ebp - 0x14] */ 11002 RECOMP_ICALL(0x2B0A9090u); /* 0x2B07E69F: call 0x2b0a9090 */ /* not lifted */ 11003 RECOMP_FLAGS_IN(); 11004 /* cmp eax, 1 */ /* 0x2B07E6A4: cmp eax, 1 */ 11005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11007 _flag_k = FK_CMP; 11008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6A7: jne 0x2b07e76c */ 11009 L_2B07E6AD: 11010 eax = MEM32(ebp + 0xC); /* 0x2B07E6AD: mov eax, dword ptr [ebp + 0xc] */ 11011 /* cmp eax, ebx */ /* 0x2B07E6B0: cmp eax, ebx */ 11012 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11014 _flag_k = FK_CMP; 11015 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6B2: je 0x2b07e76c */ 11016 L_2B07E6B8: 11017 PUSH32(esp, eax); /* 0x2B07E6B8: push eax */ 11018 PUSH32(esp, edi); /* 0x2B07E6B9: push edi */ 11019 RECOMP_ICALL(MEM32(0x2B0B5260)); /* 0x2B07E6BA: call dword ptr [0x2b0b5260] */ 11020 RECOMP_FLAGS_IN(); 11021 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11022 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11023 esp = esp + 8; /* 0x2B07E6C0: add esp, 8 */ 11024 _flag_k = FK_ADD; 11025 /* cmp eax, ebx */ /* 0x2B07E6C3: cmp eax, ebx */ 11026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11028 _flag_k = FK_CMP; 11029 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E76C; /* 0x2B07E6C5: je 0x2b07e76c */ 11030 L_2B07E6CB: 11031 SET_LO8(ecx, MEM8(ebp + 0xF)); /* 0x2B07E6CB: mov cl, byte ptr [ebp + 0xf] */ 11032 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(ecx)); /* 0x2B07E6CE: mov byte ptr [ebp - 0x24], cl */ 11033 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11034 eax = 0; /* 0x2B07E6D1: xor eax, eax */ 11035 _cf = 0; 11036 _flag_k = FK_TEST; 11037 edi = ebp + (-0x22C); /* 0x2B07E6D3: lea edi, [ebp - 0x22c] */ 11038 MEM32(ebp + (-0x20)) = ebx; /* 0x2B07E6D9: mov dword ptr [ebp - 0x20], ebx */ 11039 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E6DC: mov dword ptr [ebp - 0x1c], ebx */ 11040 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07E6DF: mov dword ptr [ebp - 0x18], ebx */ 11041 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11042 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E6E2: or ecx, 0xffffffff */ 11043 _cf = 0; 11044 _flag_k = FK_TEST; 11045 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; } /* 0x2B07E6E5: repne scasb al, byte ptr es:[edi] */ 11046 ecx = ~ecx; /* 0x2B07E6E7: not ecx */ 11047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11048 ecx = ecx - 1; /* 0x2B07E6E9: dec ecx */ 11049 _flag_k = FK_DEC; 11050 ebx = ecx; /* 0x2B07E6EA: mov ebx, ecx */ 11051 PUSH32(esp, 1); /* 0x2B07E6EC: push 1 */ 11052 PUSH32(esp, ebx); /* 0x2B07E6EE: push ebx */ 11053 ecx = ebp + (-0x24); /* 0x2B07E6EF: lea ecx, [ebp - 0x24] */ 11054 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07E6F2: call dword ptr [0x2b0b5154] */ 11055 RECOMP_FLAGS_IN(); 11056 /* test LO8(eax), LO8(eax) */ /* 0x2B07E6F8: test al, al */ 11057 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11058 _cf = 0; 11059 _flag_k = FK_NARROW(FK_TEST, 24); 11060 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E722; /* 0x2B07E6FA: je 0x2b07e722 */ 11061 L_2B07E6FC: 11062 edi = MEM32(ebp + (-0x20)); /* 0x2B07E6FC: mov edi, dword ptr [ebp - 0x20] */ 11063 ecx = ebx; /* 0x2B07E6FF: mov ecx, ebx */ 11064 edx = ecx; /* 0x2B07E701: mov edx, ecx */ 11065 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07E703: shr ecx, 2 */ 11066 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11067 ecx = ecx >> 2u; /* 0x2B07E703: shr ecx, 2 */ 11068 esi = ebp + (-0x22C); /* 0x2B07E706: lea esi, [ebp - 0x22c] */ 11069 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07E70C: 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; } 11070 ecx = edx; /* 0x2B07E70E: mov ecx, edx */ 11071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11072 ecx = ecx & 3; /* 0x2B07E710: and ecx, 3 */ 11073 _cf = 0; 11074 _flag_k = FK_TEST; 11075 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07E713: 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; } 11076 eax = MEM32(ebp + (-0x20)); /* 0x2B07E715: mov eax, dword ptr [ebp - 0x20] */ 11077 esi = MEM32(ebp + (-0x28)); /* 0x2B07E718: mov esi, dword ptr [ebp - 0x28] */ 11078 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E71B: mov dword ptr [ebp - 0x1c], ebx */ 11079 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B07E71E: mov byte ptr [eax + ebx], 0 */ 11080 L_2B07E722: 11081 ecx = MEM32(ebp + 0x10); /* 0x2B07E722: mov ecx, dword ptr [ebp + 0x10] */ 11082 eax = MEM32(ecx + 0x8); /* 0x2B07E725: mov eax, dword ptr [ecx + 8] */ 11083 edx = ebp + (-0x24); /* 0x2B07E728: lea edx, [ebp - 0x24] */ 11084 PUSH32(esp, edx); /* 0x2B07E72B: push edx */ 11085 PUSH32(esp, 1); /* 0x2B07E72C: push 1 */ 11086 PUSH32(esp, eax); /* 0x2B07E72E: push eax */ 11087 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07E72F: mov byte ptr [ebp - 4], 1 */ 11088 RECOMP_ICALL(0x2B003320u); /* 0x2B07E733: call 0x2b003320 */ /* not lifted */ 11089 RECOMP_FLAGS_IN(); 11090 eax = MEM32(ebp + (-0x20)); /* 0x2B07E738: mov eax, dword ptr [ebp - 0x20] */ 11091 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11092 edi = 0; /* 0x2B07E73B: xor edi, edi */ 11093 _cf = 0; 11094 _flag_k = FK_TEST; 11095 /* cmp eax, edi */ /* 0x2B07E73D: cmp eax, edi */ 11096 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11098 _flag_k = FK_CMP; 11099 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07E73F: mov byte ptr [ebp - 4], 0 */ 11100 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E761; /* 0x2B07E743: je 0x2b07e761 */ 11101 L_2B07E745: 11102 ecx = eax + (-0x1); /* 0x2B07E745: lea ecx, [eax - 1] */ 11103 SET_LO8(eax, MEM8(ecx)); /* 0x2B07E748: mov al, byte ptr [ecx] */ 11104 /* test LO8(eax), LO8(eax) */ /* 0x2B07E74A: test al, al */ 11105 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11106 _cf = 0; 11107 _flag_k = FK_NARROW(FK_TEST, 24); 11108 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E74C: je 0x2b07e758 */ 11109 L_2B07E74E: 11110 /* cmp LO8(eax), 0xFFu */ /* 0x2B07E74E: cmp al, 0xff */ 11111 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11113 _flag_k = FK_NARROW(FK_CMP, 24); 11114 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07E758; /* 0x2B07E750: je 0x2b07e758 */ 11115 L_2B07E752: 11116 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11117 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07E752: dec al */ 11118 _flag_k = FK_NARROW(FK_DEC, 24); 11119 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07E754: mov byte ptr [ecx], al */ 11120 goto L_2B07E761; /* 0x2B07E756: jmp 0x2b07e761 */ 11121 L_2B07E758: 11122 PUSH32(esp, ecx); /* 0x2B07E758: push ecx */ 11123 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07E759: call 0x2b0ab1ba */ /* not lifted */ 11124 RECOMP_FLAGS_IN(); 11125 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11126 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11127 esp = esp + 4; /* 0x2B07E75E: add esp, 4 */ 11128 _flag_k = FK_ADD; 11129 L_2B07E761: 11130 MEM32(ebp + (-0x20)) = edi; /* 0x2B07E761: mov dword ptr [ebp - 0x20], edi */ 11131 MEM32(ebp + (-0x1C)) = edi; /* 0x2B07E764: mov dword ptr [ebp - 0x1c], edi */ 11132 MEM32(ebp + (-0x18)) = edi; /* 0x2B07E767: mov dword ptr [ebp - 0x18], edi */ 11133 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11134 ebx = 0; /* 0x2B07E76A: xor ebx, ebx */ 11135 _cf = 0; 11136 _flag_k = FK_TEST; 11137 L_2B07E76C: 11138 eax = MEM32(ebp + (-0x2C)); /* 0x2B07E76C: mov eax, dword ptr [ebp - 0x2c] */ 11139 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 11140 esi = esi + 1; /* 0x2B07E76F: inc esi */ 11141 _flag_k = FK_INC; 11142 /* cmp esi, eax */ /* 0x2B07E770: cmp esi, eax */ 11143 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11145 _flag_k = FK_CMP; 11146 MEM32(ebp + (-0x28)) = esi; /* 0x2B07E772: mov dword ptr [ebp - 0x28], esi */ 11147 RECOMP_BACKEDGE(); 11148 if (CMP_B(_flag_a, _flag_b)) goto L_2B07E63E; /* 0x2B07E775: jb 0x2b07e63e */ 11149 L_2B07E77B: 11150 edi = POP32_VAL(esp); /* 0x2B07E77B: pop edi */ 11151 ecx = ebp + (-0x14); /* 0x2B07E77C: lea ecx, [ebp - 0x14] */ 11152 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07E77F: mov dword ptr [ebp - 4], 0xffffffff */ 11153 RECOMP_ICALL(0x2B0A8C90u); /* 0x2B07E786: call 0x2b0a8c90 */ /* not lifted */ 11154 RECOMP_FLAGS_IN(); 11155 ecx = MEM32(ebp + (-0xC)); /* 0x2B07E78B: mov ecx, dword ptr [ebp - 0xc] */ 11156 esi = POP32_VAL(esp); /* 0x2B07E78E: pop esi */ 11157 ebx = POP32_VAL(esp); /* 0x2B07E78F: pop ebx */ 11158 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07E790: mov dword ptr fs:[0], ecx */ 11159 esp = ebp; /* 0x2B07E797: mov esp, ebp */ 11160 ebp = POP32_VAL(esp); /* 0x2B07E799: pop ebp */ 11161 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07E79A: ret */ 11162 RECOMP_REGS_OUT(); 11163 } 11164 11165 void sub_2B07E7A0(void) { 11166 int _fpu_cmp = 0; 11167 uint32_t _cf = 0; 11168 int _df = 1; 11169 uint32_t _flag_k = FK_NONE; 11170 uint32_t _flag_a = 0, _flag_b = 0; 11171 uint32_t _itail_tgt = 0; 11172 RECOMP_REGS_LOCALS 11173 RECOMP_ENTER(0x2B07E7A0u); 11174 11175 L_2B07E7A0: 11176 PUSH32(esp, ebp); /* 0x2B07E7A0: push ebp */ 11177 ebp = esp; /* 0x2B07E7A1: mov ebp, esp */ 11178 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07E7A3: push -1 */ 11179 PUSH32(esp, 0x2B0B1D8Fu); /* 0x2B07E7A5: push 0x2b0b1d8f */ 11180 eax = MEM32(FS_BASE + (0)); /* 0x2B07E7AA: mov eax, dword ptr fs:[0] */ 11181 PUSH32(esp, eax); /* 0x2B07E7B0: push eax */ 11182 MEM32(FS_BASE + (0)) = esp; /* 0x2B07E7B1: mov dword ptr fs:[0], esp */ 11183 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x440u); 11184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11185 esp = esp - 0x440u; /* 0x2B07E7B8: sub esp, 0x440 */ 11186 _flag_k = FK_CMP; 11187 PUSH32(esp, ebx); /* 0x2B07E7BE: push ebx */ 11188 PUSH32(esp, esi); /* 0x2B07E7BF: push esi */ 11189 PUSH32(esp, edi); /* 0x2B07E7C0: push edi */ 11190 ecx = ebp + (-0x60); /* 0x2B07E7C1: lea ecx, [ebp - 0x60] */ 11191 RECOMP_ICALL(0x2B0A8C50u); /* 0x2B07E7C4: call 0x2b0a8c50 */ /* not lifted */ 11192 RECOMP_FLAGS_IN(); 11193 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11194 ebx = 0; /* 0x2B07E7C9: xor ebx, ebx */ 11195 _cf = 0; 11196 _flag_k = FK_TEST; 11197 MEM32(ebp + (-0x4)) = ebx; /* 0x2B07E7CB: mov dword ptr [ebp - 4], ebx */ 11198 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B07E7CE: call dword ptr [0x2b0b56d4] */ 11199 RECOMP_FLAGS_IN(); 11200 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11201 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E7D4: or ecx, 0xffffffff */ 11202 _cf = 0; 11203 _flag_k = FK_TEST; 11204 edi = eax; /* 0x2B07E7D7: mov edi, eax */ 11205 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11206 eax = 0; /* 0x2B07E7D9: xor eax, eax */ 11207 _cf = 0; 11208 _flag_k = FK_TEST; 11209 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; } /* 0x2B07E7DB: repne scasb al, byte ptr es:[edi] */ 11210 ecx = ~ecx; /* 0x2B07E7DD: not ecx */ 11211 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11213 edi = edi - ecx; /* 0x2B07E7DF: sub edi, ecx */ 11214 _flag_k = FK_CMP; 11215 eax = ecx; /* 0x2B07E7E1: mov eax, ecx */ 11216 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07E7E3: shr ecx, 2 */ 11217 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11218 ecx = ecx >> 2u; /* 0x2B07E7E3: shr ecx, 2 */ 11219 esi = edi; /* 0x2B07E7E6: mov esi, edi */ 11220 edx = ebp + (-0x244); /* 0x2B07E7E8: lea edx, [ebp - 0x244] */ 11221 edi = edx; /* 0x2B07E7EE: mov edi, edx */ 11222 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07E7F0: 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; } 11223 ecx = eax; /* 0x2B07E7F2: mov ecx, eax */ 11224 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11225 ecx = ecx & 3; /* 0x2B07E7F4: and ecx, 3 */ 11226 _cf = 0; 11227 _flag_k = FK_TEST; 11228 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07E7F7: 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; } 11229 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11230 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E7F9: or ecx, 0xffffffff */ 11231 _cf = 0; 11232 _flag_k = FK_TEST; 11233 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11234 eax = 0; /* 0x2B07E7FC: xor eax, eax */ 11235 _cf = 0; 11236 _flag_k = FK_TEST; 11237 edi = 0x2B0EC460u; /* 0x2B07E7FE: mov edi, 0x2b0ec460 */ 11238 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; } /* 0x2B07E803: repne scasb al, byte ptr es:[edi] */ 11239 ecx = ~ecx; /* 0x2B07E805: not ecx */ 11240 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11242 edi = edi - ecx; /* 0x2B07E807: sub edi, ecx */ 11243 _flag_k = FK_CMP; 11244 esi = edi; /* 0x2B07E809: mov esi, edi */ 11245 edx = ebp + (-0x244); /* 0x2B07E80B: lea edx, [ebp - 0x244] */ 11246 edi = edx; /* 0x2B07E811: mov edi, edx */ 11247 edx = ecx; /* 0x2B07E813: mov edx, ecx */ 11248 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11249 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E815: or ecx, 0xffffffff */ 11250 _cf = 0; 11251 _flag_k = FK_TEST; 11252 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; } /* 0x2B07E818: repne scasb al, byte ptr es:[edi] */ 11253 ecx = edx; /* 0x2B07E81A: mov ecx, edx */ 11254 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07E81C: shr ecx, 2 */ 11255 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11256 ecx = ecx >> 2u; /* 0x2B07E81C: shr ecx, 2 */ 11257 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11258 edi = edi - 1; /* 0x2B07E81F: dec edi */ 11259 _flag_k = FK_DEC; 11260 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07E820: 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; } 11261 ecx = edx; /* 0x2B07E822: mov ecx, edx */ 11262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11263 ecx = ecx & 3; /* 0x2B07E824: and ecx, 3 */ 11264 _cf = 0; 11265 _flag_k = FK_TEST; 11266 eax = ebp + (-0x244); /* 0x2B07E827: lea eax, [ebp - 0x244] */ 11267 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07E82D: 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; } 11268 PUSH32(esp, eax); /* 0x2B07E82F: push eax */ 11269 ecx = ebp + (-0x44C); /* 0x2B07E830: lea ecx, [ebp - 0x44c] */ 11270 RECOMP_ICALL(MEM32(0x2B0B56D0)); /* 0x2B07E836: call dword ptr [0x2b0b56d0] */ 11271 RECOMP_FLAGS_IN(); 11272 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B07E83C: mov cl, byte ptr [ebp - 0xd] */ 11273 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(ecx)); /* 0x2B07E83F: mov byte ptr [ebp - 0x20], cl */ 11274 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07E842: mov dword ptr [ebp - 0x1c], ebx */ 11275 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07E845: mov dword ptr [ebp - 0x18], ebx */ 11276 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07E848: mov dword ptr [ebp - 0x14], ebx */ 11277 edx = ebp + (-0x20); /* 0x2B07E84B: lea edx, [ebp - 0x20] */ 11278 PUSH32(esp, edx); /* 0x2B07E84E: push edx */ 11279 PUSH32(esp, 0x2B0E1290u); /* 0x2B07E84F: push 0x2b0e1290 */ 11280 PUSH32(esp, 0x2B0E1CA4u); /* 0x2B07E854: push 0x2b0e1ca4 */ 11281 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B07E859: mov byte ptr [ebp - 4], 2 */ 11282 RECOMP_ICALL(0x2B07E5C0u); /* 0x2B07E85D: call 0x2b07e5c0 */ /* not lifted */ 11283 RECOMP_FLAGS_IN(); 11284 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B07E862: mov al, byte ptr [ebp - 0xd] */ 11285 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11286 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11287 esp = esp + 0xCu; /* 0x2B07E865: add esp, 0xc */ 11288 _flag_k = FK_ADD; 11289 PUSH32(esp, ebx); /* 0x2B07E868: push ebx */ 11290 ecx = ebp + (-0x30); /* 0x2B07E869: lea ecx, [ebp - 0x30] */ 11291 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(eax)); /* 0x2B07E86C: mov byte ptr [ebp - 0x30], al */ 11292 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07E86F: call dword ptr [0x2b0b514c] */ 11293 RECOMP_FLAGS_IN(); 11294 eax = MEM32(ebp + (-0x1C)); /* 0x2B07E875: mov eax, dword ptr [ebp - 0x1c] */ 11295 /* cmp eax, MEM32(ebp + (-0x18)) */ /* 0x2B07E878: cmp eax, dword ptr [ebp - 0x18] */ 11296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18))); 11297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11298 _flag_k = FK_CMP; 11299 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07E87B: mov byte ptr [ebp - 4], 3 */ 11300 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EA80; /* 0x2B07E87F: je 0x2b07ea80 */ 11301 L_2B07E885: 11302 ebx = eax + 0x4; /* 0x2B07E885: lea ebx, [eax + 4] */ 11303 L_2B07E888: 11304 eax = MEM32(ebx); /* 0x2B07E888: mov eax, dword ptr [ebx] */ 11305 /* test eax, eax */ /* 0x2B07E88A: test eax, eax */ 11306 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11307 _cf = 0; 11308 _flag_k = FK_TEST; 11309 MEM8(ebp + (-0x140)) = (uint8_t)(0); /* 0x2B07E88C: mov byte ptr [ebp - 0x140], 0 */ 11310 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07E89A; /* 0x2B07E893: jne 0x2b07e89a */ 11311 L_2B07E895: 11312 eax = MEM32(0x2B0B513C); /* 0x2B07E895: mov eax, dword ptr [0x2b0b513c] */ 11313 L_2B07E89A: 11314 PUSH32(esp, eax); /* 0x2B07E89A: push eax */ 11315 ecx = ebp + (-0x78); /* 0x2B07E89B: lea ecx, [ebp - 0x78] */ 11316 RECOMP_ICALL(MEM32(0x2B0B56AC)); /* 0x2B07E89E: call dword ptr [0x2b0b56ac] */ 11317 RECOMP_FLAGS_IN(); 11318 PUSH32(esp, 1); /* 0x2B07E8A4: push 1 */ 11319 ecx = ebp + (-0x78); /* 0x2B07E8A6: lea ecx, [ebp - 0x78] */ 11320 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07E8A9: mov byte ptr [ebp - 4], 4 */ 11321 RECOMP_ICALL(MEM32(0x2B0B56A0)); /* 0x2B07E8AD: call dword ptr [0x2b0b56a0] */ 11322 RECOMP_FLAGS_IN(); 11323 edi = MEM32(0x2B0B56C4); /* 0x2B07E8B3: mov edi, dword ptr [0x2b0b56c4] */ 11324 PUSH32(esp, 0); /* 0x2B07E8B9: push 0 */ 11325 RECOMP_ICALL(edi); /* 0x2B07E8BB: call edi */ 11326 RECOMP_FLAGS_IN(); 11327 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11328 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11329 esp = esp + 4; /* 0x2B07E8BD: add esp, 4 */ 11330 _flag_k = FK_ADD; 11331 PUSH32(esp, 0); /* 0x2B07E8C0: push 0 */ 11332 PUSH32(esp, 0xC8u); /* 0x2B07E8C2: push 0xc8 */ 11333 ecx = ebp + (-0x140); /* 0x2B07E8C7: lea ecx, [ebp - 0x140] */ 11334 PUSH32(esp, ecx); /* 0x2B07E8CD: push ecx */ 11335 ecx = ebp + (-0x78); /* 0x2B07E8CE: lea ecx, [ebp - 0x78] */ 11336 esi = eax; /* 0x2B07E8D1: mov esi, eax */ 11337 RECOMP_ICALL(MEM32(0x2B0B56CC)); /* 0x2B07E8D3: call dword ptr [0x2b0b56cc] */ 11338 RECOMP_FLAGS_IN(); 11339 PUSH32(esp, esi); /* 0x2B07E8D9: push esi */ 11340 RECOMP_ICALL(edi); /* 0x2B07E8DA: call edi */ 11341 RECOMP_FLAGS_IN(); 11342 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B07E8DC: mov dl, byte ptr [ebp - 0xd] */ 11343 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11344 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11345 esp = esp + 4; /* 0x2B07E8DF: add esp, 4 */ 11346 _flag_k = FK_ADD; 11347 PUSH32(esp, 0); /* 0x2B07E8E2: push 0 */ 11348 ecx = ebp + (-0x58); /* 0x2B07E8E4: lea ecx, [ebp - 0x58] */ 11349 MEM8(ebp + (-0x58)) = (uint8_t)(LO8(edx)); /* 0x2B07E8E7: mov byte ptr [ebp - 0x58], dl */ 11350 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07E8EA: call dword ptr [0x2b0b514c] */ 11351 RECOMP_FLAGS_IN(); 11352 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11353 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E8F0: or ecx, 0xffffffff */ 11354 _cf = 0; 11355 _flag_k = FK_TEST; 11356 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11357 eax = 0; /* 0x2B07E8F3: xor eax, eax */ 11358 _cf = 0; 11359 _flag_k = FK_TEST; 11360 edi = ebp + (-0x140); /* 0x2B07E8F5: lea edi, [ebp - 0x140] */ 11361 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; } /* 0x2B07E8FB: repne scasb al, byte ptr es:[edi] */ 11362 ecx = ~ecx; /* 0x2B07E8FD: not ecx */ 11363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11364 ecx = ecx - 1; /* 0x2B07E8FF: dec ecx */ 11365 _flag_k = FK_DEC; 11366 PUSH32(esp, ecx); /* 0x2B07E900: push ecx */ 11367 eax = ebp + (-0x140); /* 0x2B07E901: lea eax, [ebp - 0x140] */ 11368 PUSH32(esp, eax); /* 0x2B07E907: push eax */ 11369 ecx = ebp + (-0x58); /* 0x2B07E908: lea ecx, [ebp - 0x58] */ 11370 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B07E90B: call dword ptr [0x2b0b5148] */ 11371 RECOMP_FLAGS_IN(); 11372 PUSH32(esp, 3); /* 0x2B07E911: push 3 */ 11373 ecx = ebp + (-0x58); /* 0x2B07E913: lea ecx, [ebp - 0x58] */ 11374 PUSH32(esp, ecx); /* 0x2B07E916: push ecx */ 11375 edx = ebp + (-0x40); /* 0x2B07E917: lea edx, [ebp - 0x40] */ 11376 PUSH32(esp, edx); /* 0x2B07E91A: push edx */ 11377 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B07E91B: mov byte ptr [ebp - 4], 5 */ 11378 RECOMP_ICALL(MEM32(0x2B0B57C8)); /* 0x2B07E91F: call dword ptr [0x2b0b57c8] */ 11379 RECOMP_FLAGS_IN(); 11380 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11381 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11382 esp = esp + 0xCu; /* 0x2B07E925: add esp, 0xc */ 11383 _flag_k = FK_ADD; 11384 PUSH32(esp, 1); /* 0x2B07E928: push 1 */ 11385 ecx = ebp + (-0x58); /* 0x2B07E92A: lea ecx, [ebp - 0x58] */ 11386 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B07E92D: mov byte ptr [ebp - 4], 7 */ 11387 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07E931: call dword ptr [0x2b0b514c] */ 11388 RECOMP_FLAGS_IN(); 11389 edx = MEM32(ebp + (-0x3C)); /* 0x2B07E937: mov edx, dword ptr [ebp - 0x3c] */ 11390 /* test edx, edx */ /* 0x2B07E93A: test edx, edx */ 11391 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11392 _cf = 0; 11393 _flag_k = FK_TEST; 11394 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07EA2C; /* 0x2B07E93C: je 0x2b07ea2c */ 11395 L_2B07E942: 11396 eax = MEM32(ebp + (-0x38)); /* 0x2B07E942: mov eax, dword ptr [ebp - 0x38] */ 11397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11399 eax = eax - edx; /* 0x2B07E945: sub eax, edx */ 11400 _flag_k = FK_CMP; 11401 /* test eax, 0xFFFFFFF0u */ /* 0x2B07E947: test eax, 0xfffffff0 */ 11402 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF0u); 11403 _cf = 0; 11404 _flag_k = FK_TEST; 11405 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07EA2C; /* 0x2B07E94C: je 0x2b07ea2c */ 11406 L_2B07E952: 11407 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11408 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E952: or ecx, 0xffffffff */ 11409 _cf = 0; 11410 _flag_k = FK_TEST; 11411 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11412 eax = 0; /* 0x2B07E955: xor eax, eax */ 11413 _cf = 0; 11414 _flag_k = FK_TEST; 11415 edi = 0x2B0EC870u; /* 0x2B07E957: mov edi, 0x2b0ec870 */ 11416 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; } /* 0x2B07E95C: repne scasb al, byte ptr es:[edi] */ 11417 ecx = ~ecx; /* 0x2B07E95E: not ecx */ 11418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11419 ecx = ecx - 1; /* 0x2B07E960: dec ecx */ 11420 _flag_k = FK_DEC; 11421 PUSH32(esp, ecx); /* 0x2B07E961: push ecx */ 11422 ecx = MEM32(edx + 0x8); /* 0x2B07E962: mov ecx, dword ptr [edx + 8] */ 11423 PUSH32(esp, 0x2B0EC870u); /* 0x2B07E965: push 0x2b0ec870 */ 11424 PUSH32(esp, ecx); /* 0x2B07E96A: push ecx */ 11425 PUSH32(esp, eax); /* 0x2B07E96B: push eax */ 11426 ecx = edx; /* 0x2B07E96C: mov ecx, edx */ 11427 RECOMP_ICALL(MEM32(0x2B0B506C)); /* 0x2B07E96E: call dword ptr [0x2b0b506c] */ 11428 RECOMP_FLAGS_IN(); 11429 /* test eax, eax */ /* 0x2B07E974: test eax, eax */ 11430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11431 _cf = 0; 11432 _flag_k = FK_TEST; 11433 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E9A3; /* 0x2B07E976: je 0x2b07e9a3 */ 11434 L_2B07E978: 11435 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11436 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07E978: or ecx, 0xffffffff */ 11437 _cf = 0; 11438 _flag_k = FK_TEST; 11439 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11440 eax = 0; /* 0x2B07E97B: xor eax, eax */ 11441 _cf = 0; 11442 _flag_k = FK_TEST; 11443 edi = 0x2B0EC878u; /* 0x2B07E97D: mov edi, 0x2b0ec878 */ 11444 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; } /* 0x2B07E982: repne scasb al, byte ptr es:[edi] */ 11445 ecx = ~ecx; /* 0x2B07E984: not ecx */ 11446 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11447 ecx = ecx - 1; /* 0x2B07E986: dec ecx */ 11448 _flag_k = FK_DEC; 11449 PUSH32(esp, ecx); /* 0x2B07E987: push ecx */ 11450 ecx = MEM32(ebp + (-0x3C)); /* 0x2B07E988: mov ecx, dword ptr [ebp - 0x3c] */ 11451 edx = MEM32(ecx + 0x8); /* 0x2B07E98B: mov edx, dword ptr [ecx + 8] */ 11452 PUSH32(esp, 0x2B0EC878u); /* 0x2B07E98E: push 0x2b0ec878 */ 11453 PUSH32(esp, edx); /* 0x2B07E993: push edx */ 11454 PUSH32(esp, eax); /* 0x2B07E994: push eax */ 11455 RECOMP_ICALL(MEM32(0x2B0B506C)); /* 0x2B07E995: call dword ptr [0x2b0b506c] */ 11456 RECOMP_FLAGS_IN(); 11457 /* test eax, eax */ /* 0x2B07E99B: test eax, eax */ 11458 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11459 _cf = 0; 11460 _flag_k = FK_TEST; 11461 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07EA29; /* 0x2B07E99D: jne 0x2b07ea29 */ 11462 L_2B07E9A3: 11463 eax = MEM32(ebp + (-0x3C)); /* 0x2B07E9A3: mov eax, dword ptr [ebp - 0x3c] */ 11464 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 11465 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11466 eax = eax + 0x10u; /* 0x2B07E9A6: add eax, 0x10 */ 11467 _flag_k = FK_ADD; 11468 MEM32(ebp + (-0x44)) = eax; /* 0x2B07E9A9: mov dword ptr [ebp - 0x44], eax */ 11469 eax = MEM32(ebx + 0x4); /* 0x2B07E9AC: mov eax, dword ptr [ebx + 4] */ 11470 edi = 1; /* 0x2B07E9AF: mov edi, 1 */ 11471 /* cmp eax, edi */ /* 0x2B07E9B4: cmp eax, edi */ 11472 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11474 _flag_k = FK_CMP; 11475 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07E9BE; /* 0x2B07E9B6: jae 0x2b07e9be */ 11476 L_2B07E9B8: 11477 edi = eax; /* 0x2B07E9B8: mov edi, eax */ 11478 /* test edi, edi */ /* 0x2B07E9BA: test edi, edi */ 11479 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11480 _cf = 0; 11481 _flag_k = FK_TEST; 11482 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E9FC; /* 0x2B07E9BC: jbe 0x2b07e9fc */ 11483 L_2B07E9BE: 11484 ecx = ebx + (-0x4); /* 0x2B07E9BE: lea ecx, [ebx - 4] */ 11485 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B07E9C1: call dword ptr [0x2b0b516c] */ 11486 RECOMP_FLAGS_IN(); 11487 eax = MEM32(ebx + 0x4); /* 0x2B07E9C7: mov eax, dword ptr [ebx + 4] */ 11488 ecx = MEM32(ebx); /* 0x2B07E9CA: mov ecx, dword ptr [ebx] */ 11489 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11491 eax = eax - edi; /* 0x2B07E9CC: sub eax, edi */ 11492 _flag_k = FK_CMP; 11493 PUSH32(esp, eax); /* 0x2B07E9CE: push eax */ 11494 edx = ecx + edi; /* 0x2B07E9CF: lea edx, [ecx + edi] */ 11495 PUSH32(esp, edx); /* 0x2B07E9D2: push edx */ 11496 PUSH32(esp, ecx); /* 0x2B07E9D3: push ecx */ 11497 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B07E9D4: call dword ptr [0x2b0b51d4] */ 11498 RECOMP_FLAGS_IN(); 11499 esi = MEM32(ebx + 0x4); /* 0x2B07E9DA: mov esi, dword ptr [ebx + 4] */ 11500 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11502 esp = esp + 0xCu; /* 0x2B07E9DD: add esp, 0xc */ 11503 _flag_k = FK_ADD; 11504 PUSH32(esp, 0); /* 0x2B07E9E0: push 0 */ 11505 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 11506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11507 esi = esi - edi; /* 0x2B07E9E2: sub esi, edi */ 11508 _flag_k = FK_CMP; 11509 PUSH32(esp, esi); /* 0x2B07E9E4: push esi */ 11510 ecx = ebx + (-0x4); /* 0x2B07E9E5: lea ecx, [ebx - 4] */ 11511 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07E9E8: call dword ptr [0x2b0b5154] */ 11512 RECOMP_FLAGS_IN(); 11513 /* test LO8(eax), LO8(eax) */ /* 0x2B07E9EE: test al, al */ 11514 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11515 _cf = 0; 11516 _flag_k = FK_NARROW(FK_TEST, 24); 11517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07E9FC; /* 0x2B07E9F0: je 0x2b07e9fc */ 11518 L_2B07E9F2: 11519 eax = MEM32(ebx); /* 0x2B07E9F2: mov eax, dword ptr [ebx] */ 11520 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11521 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11522 eax = eax + esi; /* 0x2B07E9F4: add eax, esi */ 11523 _flag_k = FK_ADD; 11524 MEM32(ebx + 0x4) = esi; /* 0x2B07E9F6: mov dword ptr [ebx + 4], esi */ 11525 MEM8(eax) = (uint8_t)(0); /* 0x2B07E9F9: mov byte ptr [eax], 0 */ 11526 L_2B07E9FC: 11527 eax = MEM32(ebx); /* 0x2B07E9FC: mov eax, dword ptr [ebx] */ 11528 /* test eax, eax */ /* 0x2B07E9FE: test eax, eax */ 11529 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11530 _cf = 0; 11531 _flag_k = FK_TEST; 11532 edx = MEM32(0x2B0B513C); /* 0x2B07EA00: mov edx, dword ptr [0x2b0b513c] */ 11533 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07EA0A; /* 0x2B07EA06: jne 0x2b07ea0a */ 11534 L_2B07EA08: 11535 eax = edx; /* 0x2B07EA08: mov eax, edx */ 11536 L_2B07EA0A: 11537 ecx = MEM32(ebp + (-0x44)); /* 0x2B07EA0A: mov ecx, dword ptr [ebp - 0x44] */ 11538 ecx = MEM32(ecx + 0x4); /* 0x2B07EA0D: mov ecx, dword ptr [ecx + 4] */ 11539 /* test ecx, ecx */ /* 0x2B07EA10: test ecx, ecx */ 11540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11541 _cf = 0; 11542 _flag_k = FK_TEST; 11543 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07EA16; /* 0x2B07EA12: jne 0x2b07ea16 */ 11544 L_2B07EA14: 11545 ecx = edx; /* 0x2B07EA14: mov ecx, edx */ 11546 L_2B07EA16: 11547 PUSH32(esp, eax); /* 0x2B07EA16: push eax */ 11548 PUSH32(esp, ecx); /* 0x2B07EA17: push ecx */ 11549 edx = ebp + (-0x30); /* 0x2B07EA18: lea edx, [ebp - 0x30] */ 11550 PUSH32(esp, 0x2B0EC980u); /* 0x2B07EA1B: push 0x2b0ec980 */ 11551 PUSH32(esp, edx); /* 0x2B07EA20: push edx */ 11552 RECOMP_ICALL(0x2B020AF0u); /* 0x2B07EA21: call 0x2b020af0 */ /* not lifted */ 11553 RECOMP_FLAGS_IN(); 11554 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 11555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11556 esp = esp + 0x10u; /* 0x2B07EA26: add esp, 0x10 */ 11557 _flag_k = FK_ADD; 11558 L_2B07EA29: 11559 edx = MEM32(ebp + (-0x3C)); /* 0x2B07EA29: mov edx, dword ptr [ebp - 0x3c] */ 11560 L_2B07EA2C: 11561 edi = MEM32(ebp + (-0x38)); /* 0x2B07EA2C: mov edi, dword ptr [ebp - 0x38] */ 11562 /* cmp edx, edi */ /* 0x2B07EA2F: cmp edx, edi */ 11563 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 11564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11565 _flag_k = FK_CMP; 11566 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B07EA31: mov byte ptr [ebp - 4], 4 */ 11567 esi = edx; /* 0x2B07EA35: mov esi, edx */ 11568 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EA4C; /* 0x2B07EA37: je 0x2b07ea4c */ 11569 L_2B07EA39: 11570 PUSH32(esp, 0); /* 0x2B07EA39: push 0 */ 11571 ecx = esi; /* 0x2B07EA3B: mov ecx, esi */ 11572 RECOMP_ICALL(0x2B003E70u); /* 0x2B07EA3D: call 0x2b003e70 */ /* not lifted */ 11573 RECOMP_FLAGS_IN(); 11574 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 11575 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11576 esi = esi + 0x10u; /* 0x2B07EA42: add esi, 0x10 */ 11577 _flag_k = FK_ADD; 11578 /* cmp esi, edi */ /* 0x2B07EA45: cmp esi, edi */ 11579 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 11580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11581 _flag_k = FK_CMP; 11582 RECOMP_BACKEDGE(); 11583 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EA39; /* 0x2B07EA47: jne 0x2b07ea39 */ 11584 L_2B07EA49: 11585 edx = MEM32(ebp + (-0x3C)); /* 0x2B07EA49: mov edx, dword ptr [ebp - 0x3c] */ 11586 L_2B07EA4C: 11587 PUSH32(esp, edx); /* 0x2B07EA4C: push edx */ 11588 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07EA4D: call 0x2b0ab1ba */ /* not lifted */ 11589 RECOMP_FLAGS_IN(); 11590 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11591 eax = 0; /* 0x2B07EA52: xor eax, eax */ 11592 _cf = 0; 11593 _flag_k = FK_TEST; 11594 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11595 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11596 esp = esp + 4; /* 0x2B07EA54: add esp, 4 */ 11597 _flag_k = FK_ADD; 11598 ecx = ebp + (-0x78); /* 0x2B07EA57: lea ecx, [ebp - 0x78] */ 11599 MEM32(ebp + (-0x3C)) = eax; /* 0x2B07EA5A: mov dword ptr [ebp - 0x3c], eax */ 11600 MEM32(ebp + (-0x38)) = eax; /* 0x2B07EA5D: mov dword ptr [ebp - 0x38], eax */ 11601 MEM32(ebp + (-0x34)) = eax; /* 0x2B07EA60: mov dword ptr [ebp - 0x34], eax */ 11602 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B07EA63: mov byte ptr [ebp - 4], 3 */ 11603 RECOMP_ICALL(MEM32(0x2B0B56A4)); /* 0x2B07EA67: call dword ptr [0x2b0b56a4] */ 11604 RECOMP_FLAGS_IN(); 11605 ecx = MEM32(ebp + (-0x18)); /* 0x2B07EA6D: mov ecx, dword ptr [ebp - 0x18] */ 11606 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 11607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11608 ebx = ebx + 0x10u; /* 0x2B07EA70: add ebx, 0x10 */ 11609 _flag_k = FK_ADD; 11610 eax = ebx + (-0x4); /* 0x2B07EA73: lea eax, [ebx - 4] */ 11611 /* cmp eax, ecx */ /* 0x2B07EA76: cmp eax, ecx */ 11612 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11614 _flag_k = FK_CMP; 11615 RECOMP_BACKEDGE(); 11616 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07E888; /* 0x2B07EA78: jne 0x2b07e888 */ 11617 L_2B07EA7E: 11618 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11619 ebx = 0; /* 0x2B07EA7E: xor ebx, ebx */ 11620 _cf = 0; 11621 _flag_k = FK_TEST; 11622 L_2B07EA80: 11623 /* cmp MEM32(ebp + (-0x28)), ebx */ /* 0x2B07EA80: cmp dword ptr [ebp - 0x28], ebx */ 11624 _flag_a = (uint32_t)(MEM32(ebp + (-0x28))); _flag_b = (uint32_t)(ebx); 11625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11626 _flag_k = FK_CMP; 11627 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EB17; /* 0x2B07EA83: je 0x2b07eb17 */ 11628 L_2B07EA89: 11629 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11630 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07EA89: or ecx, 0xffffffff */ 11631 _cf = 0; 11632 _flag_k = FK_TEST; 11633 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11634 eax = 0; /* 0x2B07EA8C: xor eax, eax */ 11635 _cf = 0; 11636 _flag_k = FK_TEST; 11637 edi = 0x2B0EC954u; /* 0x2B07EA8E: mov edi, 0x2b0ec954 */ 11638 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; } /* 0x2B07EA93: repne scasb al, byte ptr es:[edi] */ 11639 ecx = ~ecx; /* 0x2B07EA95: not ecx */ 11640 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11641 ecx = ecx - 1; /* 0x2B07EA97: dec ecx */ 11642 _flag_k = FK_DEC; 11643 PUSH32(esp, ecx); /* 0x2B07EA98: push ecx */ 11644 PUSH32(esp, 0x2B0EC954u); /* 0x2B07EA99: push 0x2b0ec954 */ 11645 PUSH32(esp, ebx); /* 0x2B07EA9E: push ebx */ 11646 ecx = ebp + (-0x30); /* 0x2B07EA9F: lea ecx, [ebp - 0x30] */ 11647 RECOMP_ICALL(MEM32(0x2B0B518C)); /* 0x2B07EAA2: call dword ptr [0x2b0b518c] */ 11648 RECOMP_FLAGS_IN(); 11649 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11650 ecx = ecx | 0xFFFFFFFFu; /* 0x2B07EAA8: or ecx, 0xffffffff */ 11651 _cf = 0; 11652 _flag_k = FK_TEST; 11653 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11654 eax = 0; /* 0x2B07EAAB: xor eax, eax */ 11655 _cf = 0; 11656 _flag_k = FK_TEST; 11657 edi = 0x2B0EC934u; /* 0x2B07EAAD: mov edi, 0x2b0ec934 */ 11658 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; } /* 0x2B07EAB2: repne scasb al, byte ptr es:[edi] */ 11659 ecx = ~ecx; /* 0x2B07EAB4: not ecx */ 11660 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11661 ecx = ecx - 1; /* 0x2B07EAB6: dec ecx */ 11662 _flag_k = FK_DEC; 11663 PUSH32(esp, ecx); /* 0x2B07EAB7: push ecx */ 11664 PUSH32(esp, 0x2B0EC934u); /* 0x2B07EAB8: push 0x2b0ec934 */ 11665 ecx = ebp + (-0x30); /* 0x2B07EABD: lea ecx, [ebp - 0x30] */ 11666 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B07EAC0: call dword ptr [0x2b0b5188] */ 11667 RECOMP_FLAGS_IN(); 11668 eax = MEM32(ebp + (-0x2C)); /* 0x2B07EAC6: mov eax, dword ptr [ebp - 0x2c] */ 11669 /* cmp eax, ebx */ /* 0x2B07EAC9: cmp eax, ebx */ 11670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11672 _flag_k = FK_CMP; 11673 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EAD2; /* 0x2B07EACB: jne 0x2b07ead2 */ 11674 L_2B07EACD: 11675 eax = MEM32(0x2B0B513C); /* 0x2B07EACD: mov eax, dword ptr [0x2b0b513c] */ 11676 L_2B07EAD2: 11677 ecx = MEM32(ebp + (-0x28)); /* 0x2B07EAD2: mov ecx, dword ptr [ebp - 0x28] */ 11678 esi = MEM32(0x2B0B53CC); /* 0x2B07EAD5: mov esi, dword ptr [0x2b0b53cc] */ 11679 PUSH32(esp, ecx); /* 0x2B07EADB: push ecx */ 11680 PUSH32(esp, eax); /* 0x2B07EADC: push eax */ 11681 PUSH32(esp, 0x70u); /* 0x2B07EADD: push 0x70 */ 11682 PUSH32(esp, 0x14u); /* 0x2B07EADF: push 0x14 */ 11683 RECOMP_ICALL(esi); /* 0x2B07EAE1: call esi */ 11684 RECOMP_FLAGS_IN(); 11685 ecx = eax; /* 0x2B07EAE3: mov ecx, eax */ 11686 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B07EAE5: call dword ptr [0x2b0b53c4] */ 11687 RECOMP_FLAGS_IN(); 11688 edx = MEM32(ebp + (-0x28)); /* 0x2B07EAEB: mov edx, dword ptr [ebp - 0x28] */ 11689 PUSH32(esp, edx); /* 0x2B07EAEE: push edx */ 11690 RECOMP_ICALL(esi); /* 0x2B07EAEF: call esi */ 11691 RECOMP_FLAGS_IN(); 11692 ecx = eax; /* 0x2B07EAF1: mov ecx, eax */ 11693 RECOMP_ICALL(MEM32(0x2B0B53B0)); /* 0x2B07EAF3: call dword ptr [0x2b0b53b0] */ 11694 RECOMP_FLAGS_IN(); 11695 RECOMP_ICALL(MEM32(0x2B0B523C)); /* 0x2B07EAF9: call dword ptr [0x2b0b523c] */ 11696 RECOMP_FLAGS_IN(); 11697 MEM32(ebp + (-0x44)) = eax; /* 0x2B07EAFF: mov dword ptr [ebp - 0x44], eax */ 11698 eax = ebp + (-0x48); /* 0x2B07EB02: lea eax, [ebp - 0x48] */ 11699 PUSH32(esp, eax); /* 0x2B07EB05: push eax */ 11700 MEM32(ebp + (-0x48)) = 4; /* 0x2B07EB06: mov dword ptr [ebp - 0x48], 4 */ 11701 RECOMP_ICALL(esi); /* 0x2B07EB0D: call esi */ 11702 RECOMP_FLAGS_IN(); 11703 ecx = eax; /* 0x2B07EB0F: mov ecx, eax */ 11704 RECOMP_ICALL(MEM32(0x2B0B53B4)); /* 0x2B07EB11: call dword ptr [0x2b0b53b4] */ 11705 RECOMP_FLAGS_IN(); 11706 L_2B07EB17: 11707 eax = MEM32(ebp + (-0x2C)); /* 0x2B07EB17: mov eax, dword ptr [ebp - 0x2c] */ 11708 /* cmp eax, ebx */ /* 0x2B07EB1A: cmp eax, ebx */ 11709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11711 _flag_k = FK_CMP; 11712 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EB3A; /* 0x2B07EB1C: je 0x2b07eb3a */ 11713 L_2B07EB1E: 11714 ecx = eax + (-0x1); /* 0x2B07EB1E: lea ecx, [eax - 1] */ 11715 SET_LO8(eax, MEM8(ecx)); /* 0x2B07EB21: mov al, byte ptr [ecx] */ 11716 /* test LO8(eax), LO8(eax) */ /* 0x2B07EB23: test al, al */ 11717 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11718 _cf = 0; 11719 _flag_k = FK_NARROW(FK_TEST, 24); 11720 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07EB31; /* 0x2B07EB25: je 0x2b07eb31 */ 11721 L_2B07EB27: 11722 /* cmp LO8(eax), 0xFFu */ /* 0x2B07EB27: cmp al, 0xff */ 11723 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 11724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11725 _flag_k = FK_NARROW(FK_CMP, 24); 11726 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EB31; /* 0x2B07EB29: je 0x2b07eb31 */ 11727 L_2B07EB2B: 11728 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11729 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07EB2B: dec al */ 11730 _flag_k = FK_NARROW(FK_DEC, 24); 11731 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07EB2D: mov byte ptr [ecx], al */ 11732 goto L_2B07EB3A; /* 0x2B07EB2F: jmp 0x2b07eb3a */ 11733 L_2B07EB31: 11734 PUSH32(esp, ecx); /* 0x2B07EB31: push ecx */ 11735 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07EB32: call 0x2b0ab1ba */ /* not lifted */ 11736 RECOMP_FLAGS_IN(); 11737 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11739 esp = esp + 4; /* 0x2B07EB37: add esp, 4 */ 11740 _flag_k = FK_ADD; 11741 L_2B07EB3A: 11742 edi = MEM32(ebp + (-0x18)); /* 0x2B07EB3A: mov edi, dword ptr [ebp - 0x18] */ 11743 esi = MEM32(ebp + (-0x1C)); /* 0x2B07EB3D: mov esi, dword ptr [ebp - 0x1c] */ 11744 /* cmp esi, edi */ /* 0x2B07EB40: cmp esi, edi */ 11745 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 11746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11747 _flag_k = FK_CMP; 11748 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B07EB42: mov dword ptr [ebp - 0x2c], ebx */ 11749 MEM32(ebp + (-0x28)) = ebx; /* 0x2B07EB45: mov dword ptr [ebp - 0x28], ebx */ 11750 MEM32(ebp + (-0x24)) = ebx; /* 0x2B07EB48: mov dword ptr [ebp - 0x24], ebx */ 11751 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07EB4B: mov byte ptr [ebp - 4], 1 */ 11752 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EB62; /* 0x2B07EB4F: je 0x2b07eb62 */ 11753 L_2B07EB51: 11754 PUSH32(esp, 1); /* 0x2B07EB51: push 1 */ 11755 ecx = esi; /* 0x2B07EB53: mov ecx, esi */ 11756 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07EB55: call dword ptr [0x2b0b514c] */ 11757 RECOMP_FLAGS_IN(); 11758 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 11759 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11760 esi = esi + 0x10u; /* 0x2B07EB5B: add esi, 0x10 */ 11761 _flag_k = FK_ADD; 11762 /* cmp esi, edi */ /* 0x2B07EB5E: cmp esi, edi */ 11763 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 11764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11765 _flag_k = FK_CMP; 11766 RECOMP_BACKEDGE(); 11767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EB51; /* 0x2B07EB60: jne 0x2b07eb51 */ 11768 L_2B07EB62: 11769 ecx = MEM32(ebp + (-0x1C)); /* 0x2B07EB62: mov ecx, dword ptr [ebp - 0x1c] */ 11770 PUSH32(esp, ecx); /* 0x2B07EB65: push ecx */ 11771 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07EB66: call 0x2b0ab1ba */ /* not lifted */ 11772 RECOMP_FLAGS_IN(); 11773 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11774 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11775 esp = esp + 4; /* 0x2B07EB6B: add esp, 4 */ 11776 _flag_k = FK_ADD; 11777 ecx = ebp + (-0x44C); /* 0x2B07EB6E: lea ecx, [ebp - 0x44c] */ 11778 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07EB74: mov dword ptr [ebp - 0x1c], ebx */ 11779 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07EB77: mov dword ptr [ebp - 0x18], ebx */ 11780 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07EB7A: mov dword ptr [ebp - 0x14], ebx */ 11781 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07EB7D: mov byte ptr [ebp - 4], 0 */ 11782 RECOMP_ICALL(MEM32(0x2B0B56C8)); /* 0x2B07EB81: call dword ptr [0x2b0b56c8] */ 11783 RECOMP_FLAGS_IN(); 11784 ecx = ebp + (-0x60); /* 0x2B07EB87: lea ecx, [ebp - 0x60] */ 11785 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07EB8A: mov dword ptr [ebp - 4], 0xffffffff */ 11786 RECOMP_ICALL(0x2B0A8C90u); /* 0x2B07EB91: call 0x2b0a8c90 */ /* not lifted */ 11787 RECOMP_FLAGS_IN(); 11788 ecx = MEM32(ebp + (-0xC)); /* 0x2B07EB96: mov ecx, dword ptr [ebp - 0xc] */ 11789 edi = POP32_VAL(esp); /* 0x2B07EB99: pop edi */ 11790 esi = POP32_VAL(esp); /* 0x2B07EB9A: pop esi */ 11791 ebx = POP32_VAL(esp); /* 0x2B07EB9B: pop ebx */ 11792 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07EB9C: mov dword ptr fs:[0], ecx */ 11793 esp = ebp; /* 0x2B07EBA3: mov esp, ebp */ 11794 ebp = POP32_VAL(esp); /* 0x2B07EBA5: pop ebp */ 11795 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07EBA6: ret */ 11796 RECOMP_REGS_OUT(); 11797 } 11798 11799 void sub_2B07EB3A(void) { 11800 int _fpu_cmp = 0; 11801 uint32_t _cf = 0; 11802 int _df = 1; 11803 uint32_t _flag_k = FK_NONE; 11804 uint32_t _flag_a = 0, _flag_b = 0; 11805 uint32_t _itail_tgt = 0; 11806 RECOMP_REGS_LOCALS 11807 RECOMP_ENTER(0x2B07EB3Au); 11808 11809 L_2B07EB3A: 11810 edi = MEM32(ebp + (-0x18)); /* 0x2B07EB3A: mov edi, dword ptr [ebp - 0x18] */ 11811 esi = MEM32(ebp + (-0x1C)); /* 0x2B07EB3D: mov esi, dword ptr [ebp - 0x1c] */ 11812 /* cmp esi, edi */ /* 0x2B07EB40: cmp esi, edi */ 11813 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 11814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11815 _flag_k = FK_CMP; 11816 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B07EB42: mov dword ptr [ebp - 0x2c], ebx */ 11817 MEM32(ebp + (-0x28)) = ebx; /* 0x2B07EB45: mov dword ptr [ebp - 0x28], ebx */ 11818 MEM32(ebp + (-0x24)) = ebx; /* 0x2B07EB48: mov dword ptr [ebp - 0x24], ebx */ 11819 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07EB4B: mov byte ptr [ebp - 4], 1 */ 11820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EB62; /* 0x2B07EB4F: je 0x2b07eb62 */ 11821 L_2B07EB51: 11822 PUSH32(esp, 1); /* 0x2B07EB51: push 1 */ 11823 ecx = esi; /* 0x2B07EB53: mov ecx, esi */ 11824 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07EB55: call dword ptr [0x2b0b514c] */ 11825 RECOMP_FLAGS_IN(); 11826 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 11827 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11828 esi = esi + 0x10u; /* 0x2B07EB5B: add esi, 0x10 */ 11829 _flag_k = FK_ADD; 11830 /* cmp esi, edi */ /* 0x2B07EB5E: cmp esi, edi */ 11831 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 11832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11833 _flag_k = FK_CMP; 11834 RECOMP_BACKEDGE(); 11835 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EB51; /* 0x2B07EB60: jne 0x2b07eb51 */ 11836 L_2B07EB62: 11837 ecx = MEM32(ebp + (-0x1C)); /* 0x2B07EB62: mov ecx, dword ptr [ebp - 0x1c] */ 11838 PUSH32(esp, ecx); /* 0x2B07EB65: push ecx */ 11839 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07EB66: call 0x2b0ab1ba */ /* not lifted */ 11840 RECOMP_FLAGS_IN(); 11841 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11842 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11843 esp = esp + 4; /* 0x2B07EB6B: add esp, 4 */ 11844 _flag_k = FK_ADD; 11845 ecx = ebp + (-0x44C); /* 0x2B07EB6E: lea ecx, [ebp - 0x44c] */ 11846 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07EB74: mov dword ptr [ebp - 0x1c], ebx */ 11847 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07EB77: mov dword ptr [ebp - 0x18], ebx */ 11848 MEM32(ebp + (-0x14)) = ebx; /* 0x2B07EB7A: mov dword ptr [ebp - 0x14], ebx */ 11849 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B07EB7D: mov byte ptr [ebp - 4], 0 */ 11850 RECOMP_ICALL(MEM32(0x2B0B56C8)); /* 0x2B07EB81: call dword ptr [0x2b0b56c8] */ 11851 RECOMP_FLAGS_IN(); 11852 ecx = ebp + (-0x60); /* 0x2B07EB87: lea ecx, [ebp - 0x60] */ 11853 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B07EB8A: mov dword ptr [ebp - 4], 0xffffffff */ 11854 RECOMP_ICALL(0x2B0A8C90u); /* 0x2B07EB91: call 0x2b0a8c90 */ /* not lifted */ 11855 RECOMP_FLAGS_IN(); 11856 ecx = MEM32(ebp + (-0xC)); /* 0x2B07EB96: mov ecx, dword ptr [ebp - 0xc] */ 11857 edi = POP32_VAL(esp); /* 0x2B07EB99: pop edi */ 11858 esi = POP32_VAL(esp); /* 0x2B07EB9A: pop esi */ 11859 ebx = POP32_VAL(esp); /* 0x2B07EB9B: pop ebx */ 11860 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07EB9C: mov dword ptr fs:[0], ecx */ 11861 esp = ebp; /* 0x2B07EBA3: mov esp, ebp */ 11862 ebp = POP32_VAL(esp); /* 0x2B07EBA5: pop ebp */ 11863 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07EBA6: ret */ 11864 RECOMP_REGS_OUT(); 11865 } 11866 11867 void sub_2B07EBB0(void) { 11868 int _fpu_cmp = 0; 11869 uint32_t _cf = 0; 11870 int _df = 1; 11871 uint32_t _flag_k = FK_NONE; 11872 uint32_t _flag_a = 0, _flag_b = 0; 11873 uint32_t _itail_tgt = 0; 11874 RECOMP_REGS_LOCALS 11875 RECOMP_ENTER(0x2B07EBB0u); 11876 11877 L_2B07EBB0: 11878 PUSH32(esp, ebp); /* 0x2B07EBB0: push ebp */ 11879 ebp = esp; /* 0x2B07EBB1: mov ebp, esp */ 11880 eax = MEM32(ebp + 0xC); /* 0x2B07EBB3: mov eax, dword ptr [ebp + 0xc] */ 11881 edx = MEM32(ebp + 0x8); /* 0x2B07EBB6: mov edx, dword ptr [ebp + 8] */ 11882 PUSH32(esp, ebx); /* 0x2B07EBB9: push ebx */ 11883 PUSH32(esp, esi); /* 0x2B07EBBA: push esi */ 11884 esi = ecx; /* 0x2B07EBBB: mov esi, ecx */ 11885 SET_LO8(ecx, MEM8(eax)); /* 0x2B07EBBD: mov cl, byte ptr [eax] */ 11886 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2B07EBBF: mov byte ptr [esi], cl */ 11887 SET_LO8(eax, MEM8(edx)); /* 0x2B07EBC1: mov al, byte ptr [edx] */ 11888 PUSH32(esp, edi); /* 0x2B07EBC3: push edi */ 11889 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11890 ebx = 0; /* 0x2B07EBC4: xor ebx, ebx */ 11891 _cf = 0; 11892 _flag_k = FK_TEST; 11893 PUSH32(esp, 0x1Cu); /* 0x2B07EBC6: push 0x1c */ 11894 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B07EBC8: mov byte ptr [esi + 1], al */ 11895 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B07EBCB: mov byte ptr [esi + 0xc], bl */ 11896 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07EBCE: call 0x2b0ab212 */ /* not lifted */ 11897 RECOMP_FLAGS_IN(); 11898 MEM32(eax + 0x4) = ebx; /* 0x2B07EBD3: mov dword ptr [eax + 4], ebx */ 11899 MEM8(eax + 0x19) = (uint8_t)(LO8(ebx)); /* 0x2B07EBD6: mov byte ptr [eax + 0x19], bl */ 11900 SET_LO8(ecx, 1); /* 0x2B07EBD9: mov cl, 1 */ 11901 MEM8(eax + 0x18) = (uint8_t)(LO8(ecx)); /* 0x2B07EBDB: mov byte ptr [eax + 0x18], cl */ 11902 MEM32(esi + 0x8) = eax; /* 0x2B07EBDE: mov dword ptr [esi + 8], eax */ 11903 MEM8(eax + 0x19) = (uint8_t)(LO8(ecx)); /* 0x2B07EBE1: mov byte ptr [eax + 0x19], cl */ 11904 ecx = MEM32(esi + 0x8); /* 0x2B07EBE4: mov ecx, dword ptr [esi + 8] */ 11905 MEM32(ecx) = ebx; /* 0x2B07EBE7: mov dword ptr [ecx], ebx */ 11906 edx = MEM32(esi + 0x8); /* 0x2B07EBE9: mov edx, dword ptr [esi + 8] */ 11907 MEM32(edx + 0x8) = ebx; /* 0x2B07EBEC: mov dword ptr [edx + 8], ebx */ 11908 edi = MEM32(esi + 0x8); /* 0x2B07EBEF: mov edi, dword ptr [esi + 8] */ 11909 PUSH32(esp, 0x1Cu); /* 0x2B07EBF2: push 0x1c */ 11910 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07EBF4: call 0x2b0ab212 */ /* not lifted */ 11911 RECOMP_FLAGS_IN(); 11912 MEM32(eax + 0x4) = edi; /* 0x2B07EBF9: mov dword ptr [eax + 4], edi */ 11913 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07EBFC: mov byte ptr [eax + 0x18], bl */ 11914 MEM8(eax + 0x19) = (uint8_t)(LO8(ebx)); /* 0x2B07EBFF: mov byte ptr [eax + 0x19], bl */ 11915 MEM32(esi + 0x4) = eax; /* 0x2B07EC02: mov dword ptr [esi + 4], eax */ 11916 MEM32(eax) = eax; /* 0x2B07EC05: mov dword ptr [eax], eax */ 11917 eax = MEM32(esi + 0x4); /* 0x2B07EC07: mov eax, dword ptr [esi + 4] */ 11918 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11920 esp = esp + 8; /* 0x2B07EC0A: add esp, 8 */ 11921 _flag_k = FK_ADD; 11922 MEM32(eax + 0x8) = eax; /* 0x2B07EC0D: mov dword ptr [eax + 8], eax */ 11923 edi = POP32_VAL(esp); /* 0x2B07EC10: pop edi */ 11924 MEM32(esi + 0x10) = ebx; /* 0x2B07EC11: mov dword ptr [esi + 0x10], ebx */ 11925 eax = esi; /* 0x2B07EC14: mov eax, esi */ 11926 esi = POP32_VAL(esp); /* 0x2B07EC16: pop esi */ 11927 ebx = POP32_VAL(esp); /* 0x2B07EC17: pop ebx */ 11928 ebp = POP32_VAL(esp); /* 0x2B07EC18: pop ebp */ 11929 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07EC19: ret 8 */ 11930 RECOMP_REGS_OUT(); 11931 } 11932 11933 void sub_2B07EC20(void) { 11934 int _fpu_cmp = 0; 11935 uint32_t _cf = 0; 11936 int _df = 1; 11937 uint32_t _flag_k = FK_NONE; 11938 uint32_t _flag_a = 0, _flag_b = 0; 11939 uint32_t _itail_tgt = 0; 11940 RECOMP_REGS_LOCALS 11941 RECOMP_ENTER(0x2B07EC20u); 11942 11943 L_2B07EC20: 11944 PUSH32(esp, ebp); /* 0x2B07EC20: push ebp */ 11945 ebp = esp; /* 0x2B07EC21: mov ebp, esp */ 11946 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11948 esp = esp - 8; /* 0x2B07EC23: sub esp, 8 */ 11949 _flag_k = FK_CMP; 11950 PUSH32(esp, ebx); /* 0x2B07EC26: push ebx */ 11951 PUSH32(esp, esi); /* 0x2B07EC27: push esi */ 11952 esi = ecx; /* 0x2B07EC28: mov esi, ecx */ 11953 ecx = MEM32(esi + 0x10); /* 0x2B07EC2A: mov ecx, dword ptr [esi + 0x10] */ 11954 /* test ecx, ecx */ /* 0x2B07EC2D: test ecx, ecx */ 11955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11956 _cf = 0; 11957 _flag_k = FK_TEST; 11958 PUSH32(esp, edi); /* 0x2B07EC2F: push edi */ 11959 edi = MEM32(esi + 0x4); /* 0x2B07EC30: mov edi, dword ptr [esi + 4] */ 11960 eax = MEM32(edi); /* 0x2B07EC33: mov eax, dword ptr [edi] */ 11961 MEM32(ebp + (-0x4)) = eax; /* 0x2B07EC35: mov dword ptr [ebp - 4], eax */ 11962 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07EC94; /* 0x2B07EC38: je 0x2b07ec94 */ 11963 L_2B07EC3A: 11964 ecx = eax; /* 0x2B07EC3A: mov ecx, eax */ 11965 /* cmp eax, ecx */ /* 0x2B07EC3C: cmp eax, ecx */ 11966 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11968 _flag_k = FK_CMP; 11969 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EC94; /* 0x2B07EC3E: jne 0x2b07ec94 */ 11970 L_2B07EC40: 11971 /* cmp edi, edi */ /* 0x2B07EC40: cmp edi, edi */ 11972 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11974 _flag_k = FK_CMP; 11975 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EC94; /* 0x2B07EC42: jne 0x2b07ec94 */ 11976 L_2B07EC44: 11977 ebx = MEM32(edi + 0x4); /* 0x2B07EC44: mov ebx, dword ptr [edi + 4] */ 11978 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B07EC47: cmp ebx, dword ptr [esi + 8] */ 11979 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11981 _flag_k = FK_CMP; 11982 edi = ebx; /* 0x2B07EC4A: mov edi, ebx */ 11983 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EC77; /* 0x2B07EC4C: je 0x2b07ec77 */ 11984 L_2B07EC4E: 11985 eax = MEM32(edi + 0x8); /* 0x2B07EC4E: mov eax, dword ptr [edi + 8] */ 11986 PUSH32(esp, eax); /* 0x2B07EC51: push eax */ 11987 ecx = esi; /* 0x2B07EC52: mov ecx, esi */ 11988 RECOMP_ICALL(0x2B07FD60u); /* 0x2B07EC54: call 0x2b07fd60 */ /* not lifted */ 11989 RECOMP_FLAGS_IN(); 11990 edi = MEM32(edi); /* 0x2B07EC59: mov edi, dword ptr [edi] */ 11991 PUSH32(esp, 0); /* 0x2B07EC5B: push 0 */ 11992 ecx = ebx + 0xC; /* 0x2B07EC5D: lea ecx, [ebx + 0xc] */ 11993 RECOMP_ICALL(0x2B081860u); /* 0x2B07EC60: call 0x2b081860 */ /* not lifted */ 11994 RECOMP_FLAGS_IN(); 11995 PUSH32(esp, ebx); /* 0x2B07EC65: push ebx */ 11996 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07EC66: call 0x2b0ab1ba */ /* not lifted */ 11997 RECOMP_FLAGS_IN(); 11998 eax = MEM32(esi + 0x8); /* 0x2B07EC6B: mov eax, dword ptr [esi + 8] */ 11999 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12001 esp = esp + 4; /* 0x2B07EC6E: add esp, 4 */ 12002 _flag_k = FK_ADD; 12003 /* cmp edi, eax */ /* 0x2B07EC71: cmp edi, eax */ 12004 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 12005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12006 _flag_k = FK_CMP; 12007 ebx = edi; /* 0x2B07EC73: mov ebx, edi */ 12008 RECOMP_BACKEDGE(); 12009 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EC4E; /* 0x2B07EC75: jne 0x2b07ec4e */ 12010 L_2B07EC77: 12011 ecx = MEM32(esi + 0x4); /* 0x2B07EC77: mov ecx, dword ptr [esi + 4] */ 12012 edx = MEM32(esi + 0x8); /* 0x2B07EC7A: mov edx, dword ptr [esi + 8] */ 12013 MEM32(ecx + 0x4) = edx; /* 0x2B07EC7D: mov dword ptr [ecx + 4], edx */ 12014 eax = MEM32(esi + 0x4); /* 0x2B07EC80: mov eax, dword ptr [esi + 4] */ 12015 MEM32(esi + 0x10) = 0; /* 0x2B07EC83: mov dword ptr [esi + 0x10], 0 */ 12016 MEM32(eax) = eax; /* 0x2B07EC8A: mov dword ptr [eax], eax */ 12017 eax = MEM32(esi + 0x4); /* 0x2B07EC8C: mov eax, dword ptr [esi + 4] */ 12018 MEM32(eax + 0x8) = eax; /* 0x2B07EC8F: mov dword ptr [eax + 8], eax */ 12019 goto L_2B07ECB5; /* 0x2B07EC92: jmp 0x2b07ecb5 */ 12020 L_2B07EC94: 12021 /* cmp eax, edi */ /* 0x2B07EC94: cmp eax, edi */ 12022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12024 _flag_k = FK_CMP; 12025 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07ECB5; /* 0x2B07EC96: je 0x2b07ecb5 */ 12026 L_2B07EC98: 12027 ecx = ebp + (-0x4); /* 0x2B07EC98: lea ecx, [ebp - 4] */ 12028 ebx = eax; /* 0x2B07EC9B: mov ebx, eax */ 12029 RECOMP_ICALL(0x2B081490u); /* 0x2B07EC9D: call 0x2b081490 */ /* not lifted */ 12030 RECOMP_FLAGS_IN(); 12031 PUSH32(esp, ebx); /* 0x2B07ECA2: push ebx */ 12032 eax = ebp + (-0x8); /* 0x2B07ECA3: lea eax, [ebp - 8] */ 12033 PUSH32(esp, eax); /* 0x2B07ECA6: push eax */ 12034 ecx = esi; /* 0x2B07ECA7: mov ecx, esi */ 12035 RECOMP_ICALL(0x2B07F890u); /* 0x2B07ECA9: call 0x2b07f890 */ /* not lifted */ 12036 RECOMP_FLAGS_IN(); 12037 eax = MEM32(ebp + (-0x4)); /* 0x2B07ECAE: mov eax, dword ptr [ebp - 4] */ 12038 /* cmp eax, edi */ /* 0x2B07ECB1: cmp eax, edi */ 12039 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12041 _flag_k = FK_CMP; 12042 RECOMP_BACKEDGE(); 12043 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EC98; /* 0x2B07ECB3: jne 0x2b07ec98 */ 12044 L_2B07ECB5: 12045 ecx = MEM32(esi + 0x4); /* 0x2B07ECB5: mov ecx, dword ptr [esi + 4] */ 12046 PUSH32(esp, ecx); /* 0x2B07ECB8: push ecx */ 12047 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07ECB9: call 0x2b0ab1ba */ /* not lifted */ 12048 RECOMP_FLAGS_IN(); 12049 edx = MEM32(esi + 0x8); /* 0x2B07ECBE: mov edx, dword ptr [esi + 8] */ 12050 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12051 edi = 0; /* 0x2B07ECC1: xor edi, edi */ 12052 _cf = 0; 12053 _flag_k = FK_TEST; 12054 PUSH32(esp, edx); /* 0x2B07ECC3: push edx */ 12055 MEM32(esi + 0x4) = edi; /* 0x2B07ECC4: mov dword ptr [esi + 4], edi */ 12056 MEM32(esi + 0x10) = edi; /* 0x2B07ECC7: mov dword ptr [esi + 0x10], edi */ 12057 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07ECCA: call 0x2b0ab1ba */ /* not lifted */ 12058 RECOMP_FLAGS_IN(); 12059 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12060 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12061 esp = esp + 8; /* 0x2B07ECCF: add esp, 8 */ 12062 _flag_k = FK_ADD; 12063 MEM32(esi + 0x8) = edi; /* 0x2B07ECD2: mov dword ptr [esi + 8], edi */ 12064 edi = POP32_VAL(esp); /* 0x2B07ECD5: pop edi */ 12065 esi = POP32_VAL(esp); /* 0x2B07ECD6: pop esi */ 12066 ebx = POP32_VAL(esp); /* 0x2B07ECD7: pop ebx */ 12067 esp = ebp; /* 0x2B07ECD8: mov esp, ebp */ 12068 ebp = POP32_VAL(esp); /* 0x2B07ECDA: pop ebp */ 12069 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07ECDB: ret */ 12070 RECOMP_REGS_OUT(); 12071 } 12072 12073 void sub_2B07ECE0(void) { 12074 int _fpu_cmp = 0; 12075 uint32_t _cf = 0; 12076 int _df = 1; 12077 uint32_t _flag_k = FK_NONE; 12078 uint32_t _flag_a = 0, _flag_b = 0; 12079 uint32_t _itail_tgt = 0; 12080 RECOMP_REGS_LOCALS 12081 RECOMP_ENTER(0x2B07ECE0u); 12082 12083 L_2B07ECE0: 12084 PUSH32(esp, ebx); /* 0x2B07ECE0: push ebx */ 12085 PUSH32(esp, esi); /* 0x2B07ECE1: push esi */ 12086 PUSH32(esp, edi); /* 0x2B07ECE2: push edi */ 12087 edi = ecx; /* 0x2B07ECE3: mov edi, ecx */ 12088 ebx = MEM32(edi + 0x8); /* 0x2B07ECE5: mov ebx, dword ptr [edi + 8] */ 12089 esi = MEM32(edi + 0x4); /* 0x2B07ECE8: mov esi, dword ptr [edi + 4] */ 12090 /* cmp esi, ebx */ /* 0x2B07ECEB: cmp esi, ebx */ 12091 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 12092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12093 _flag_k = FK_CMP; 12094 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07ED0D; /* 0x2B07ECED: je 0x2b07ed0d */ 12095 L_2B07ECEF: 12096 ecx = MEM32(esi + 0x8); /* 0x2B07ECEF: mov ecx, dword ptr [esi + 8] */ 12097 /* test ecx, ecx */ /* 0x2B07ECF2: test ecx, ecx */ 12098 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12099 _cf = 0; 12100 _flag_k = FK_TEST; 12101 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07ECFC; /* 0x2B07ECF4: je 0x2b07ecfc */ 12102 L_2B07ECF6: 12103 eax = MEM32(ecx); /* 0x2B07ECF6: mov eax, dword ptr [ecx] */ 12104 PUSH32(esp, 1); /* 0x2B07ECF8: push 1 */ 12105 RECOMP_ICALL(MEM32(eax)); /* 0x2B07ECFA: call dword ptr [eax] */ 12106 RECOMP_FLAGS_IN(); 12107 L_2B07ECFC: 12108 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12109 eax = 0; /* 0x2B07ECFC: xor eax, eax */ 12110 _cf = 0; 12111 _flag_k = FK_TEST; 12112 MEM32(esi + 0x8) = eax; /* 0x2B07ECFE: mov dword ptr [esi + 8], eax */ 12113 MEM32(esi) = eax; /* 0x2B07ED01: mov dword ptr [esi], eax */ 12114 MEM32(esi + 0x4) = eax; /* 0x2B07ED03: mov dword ptr [esi + 4], eax */ 12115 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 12116 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12117 esi = esi + 0x14u; /* 0x2B07ED06: add esi, 0x14 */ 12118 _flag_k = FK_ADD; 12119 /* cmp esi, ebx */ /* 0x2B07ED09: cmp esi, ebx */ 12120 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 12121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12122 _flag_k = FK_CMP; 12123 RECOMP_BACKEDGE(); 12124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07ECEF; /* 0x2B07ED0B: jne 0x2b07ecef */ 12125 L_2B07ED0D: 12126 ecx = MEM32(edi + 0x4); /* 0x2B07ED0D: mov ecx, dword ptr [edi + 4] */ 12127 PUSH32(esp, ecx); /* 0x2B07ED10: push ecx */ 12128 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07ED11: call 0x2b0ab1ba */ /* not lifted */ 12129 RECOMP_FLAGS_IN(); 12130 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12131 eax = 0; /* 0x2B07ED16: xor eax, eax */ 12132 _cf = 0; 12133 _flag_k = FK_TEST; 12134 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12135 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12136 esp = esp + 4; /* 0x2B07ED18: add esp, 4 */ 12137 _flag_k = FK_ADD; 12138 MEM32(edi + 0x4) = eax; /* 0x2B07ED1B: mov dword ptr [edi + 4], eax */ 12139 MEM32(edi + 0x8) = eax; /* 0x2B07ED1E: mov dword ptr [edi + 8], eax */ 12140 MEM32(edi + 0xC) = eax; /* 0x2B07ED21: mov dword ptr [edi + 0xc], eax */ 12141 edi = POP32_VAL(esp); /* 0x2B07ED24: pop edi */ 12142 esi = POP32_VAL(esp); /* 0x2B07ED25: pop esi */ 12143 ebx = POP32_VAL(esp); /* 0x2B07ED26: pop ebx */ 12144 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07ED27: ret */ 12145 RECOMP_REGS_OUT(); 12146 } 12147 12148 void sub_2B07ED30(void) { 12149 int _fpu_cmp = 0; 12150 uint32_t _cf = 0; 12151 int _df = 1; 12152 uint32_t _flag_k = FK_NONE; 12153 uint32_t _flag_a = 0, _flag_b = 0; 12154 uint32_t _itail_tgt = 0; 12155 RECOMP_REGS_LOCALS 12156 RECOMP_ENTER(0x2B07ED30u); 12157 12158 L_2B07ED30: 12159 PUSH32(esp, ebp); /* 0x2B07ED30: push ebp */ 12160 ebp = esp; /* 0x2B07ED31: mov ebp, esp */ 12161 eax = MEM32(ebp + 0xC); /* 0x2B07ED33: mov eax, dword ptr [ebp + 0xc] */ 12162 edx = MEM32(ebp + 0x8); /* 0x2B07ED36: mov edx, dword ptr [ebp + 8] */ 12163 PUSH32(esp, ebx); /* 0x2B07ED39: push ebx */ 12164 PUSH32(esp, esi); /* 0x2B07ED3A: push esi */ 12165 esi = ecx; /* 0x2B07ED3B: mov esi, ecx */ 12166 SET_LO8(ecx, MEM8(eax)); /* 0x2B07ED3D: mov cl, byte ptr [eax] */ 12167 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2B07ED3F: mov byte ptr [esi], cl */ 12168 SET_LO8(eax, MEM8(edx)); /* 0x2B07ED41: mov al, byte ptr [edx] */ 12169 PUSH32(esp, edi); /* 0x2B07ED43: push edi */ 12170 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12171 ebx = 0; /* 0x2B07ED44: xor ebx, ebx */ 12172 _cf = 0; 12173 _flag_k = FK_TEST; 12174 PUSH32(esp, 0x40u); /* 0x2B07ED46: push 0x40 */ 12175 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B07ED48: mov byte ptr [esi + 1], al */ 12176 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B07ED4B: mov byte ptr [esi + 0xc], bl */ 12177 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07ED4E: call 0x2b0ab212 */ /* not lifted */ 12178 RECOMP_FLAGS_IN(); 12179 MEM32(eax + 0x4) = ebx; /* 0x2B07ED53: mov dword ptr [eax + 4], ebx */ 12180 MEM8(eax + 0x3D) = (uint8_t)(LO8(ebx)); /* 0x2B07ED56: mov byte ptr [eax + 0x3d], bl */ 12181 SET_LO8(ecx, 1); /* 0x2B07ED59: mov cl, 1 */ 12182 MEM8(eax + 0x3C) = (uint8_t)(LO8(ecx)); /* 0x2B07ED5B: mov byte ptr [eax + 0x3c], cl */ 12183 MEM32(esi + 0x8) = eax; /* 0x2B07ED5E: mov dword ptr [esi + 8], eax */ 12184 MEM8(eax + 0x3D) = (uint8_t)(LO8(ecx)); /* 0x2B07ED61: mov byte ptr [eax + 0x3d], cl */ 12185 ecx = MEM32(esi + 0x8); /* 0x2B07ED64: mov ecx, dword ptr [esi + 8] */ 12186 MEM32(ecx) = ebx; /* 0x2B07ED67: mov dword ptr [ecx], ebx */ 12187 edx = MEM32(esi + 0x8); /* 0x2B07ED69: mov edx, dword ptr [esi + 8] */ 12188 MEM32(edx + 0x8) = ebx; /* 0x2B07ED6C: mov dword ptr [edx + 8], ebx */ 12189 edi = MEM32(esi + 0x8); /* 0x2B07ED6F: mov edi, dword ptr [esi + 8] */ 12190 PUSH32(esp, 0x40u); /* 0x2B07ED72: push 0x40 */ 12191 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07ED74: call 0x2b0ab212 */ /* not lifted */ 12192 RECOMP_FLAGS_IN(); 12193 MEM32(eax + 0x4) = edi; /* 0x2B07ED79: mov dword ptr [eax + 4], edi */ 12194 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B07ED7C: mov byte ptr [eax + 0x3c], bl */ 12195 MEM8(eax + 0x3D) = (uint8_t)(LO8(ebx)); /* 0x2B07ED7F: mov byte ptr [eax + 0x3d], bl */ 12196 MEM32(esi + 0x4) = eax; /* 0x2B07ED82: mov dword ptr [esi + 4], eax */ 12197 MEM32(eax) = eax; /* 0x2B07ED85: mov dword ptr [eax], eax */ 12198 eax = MEM32(esi + 0x4); /* 0x2B07ED87: mov eax, dword ptr [esi + 4] */ 12199 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12201 esp = esp + 8; /* 0x2B07ED8A: add esp, 8 */ 12202 _flag_k = FK_ADD; 12203 MEM32(eax + 0x8) = eax; /* 0x2B07ED8D: mov dword ptr [eax + 8], eax */ 12204 edi = POP32_VAL(esp); /* 0x2B07ED90: pop edi */ 12205 MEM32(esi + 0x10) = ebx; /* 0x2B07ED91: mov dword ptr [esi + 0x10], ebx */ 12206 eax = esi; /* 0x2B07ED94: mov eax, esi */ 12207 esi = POP32_VAL(esp); /* 0x2B07ED96: pop esi */ 12208 ebx = POP32_VAL(esp); /* 0x2B07ED97: pop ebx */ 12209 ebp = POP32_VAL(esp); /* 0x2B07ED98: pop ebp */ 12210 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07ED99: ret 8 */ 12211 RECOMP_REGS_OUT(); 12212 } 12213 12214 void sub_2B07EDA0(void) { 12215 int _fpu_cmp = 0; 12216 uint32_t _cf = 0; 12217 int _df = 1; 12218 uint32_t _flag_k = FK_NONE; 12219 uint32_t _flag_a = 0, _flag_b = 0; 12220 uint32_t _itail_tgt = 0; 12221 RECOMP_REGS_LOCALS 12222 RECOMP_ENTER(0x2B07EDA0u); 12223 12224 L_2B07EDA0: 12225 PUSH32(esp, ebp); /* 0x2B07EDA0: push ebp */ 12226 ebp = esp; /* 0x2B07EDA1: mov ebp, esp */ 12227 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07EDA3: push -1 */ 12228 PUSH32(esp, 0x2B0B1DB0u); /* 0x2B07EDA5: push 0x2b0b1db0 */ 12229 eax = MEM32(FS_BASE + (0)); /* 0x2B07EDAA: mov eax, dword ptr fs:[0] */ 12230 PUSH32(esp, eax); /* 0x2B07EDB0: push eax */ 12231 MEM32(FS_BASE + (0)) = esp; /* 0x2B07EDB1: mov dword ptr fs:[0], esp */ 12232 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x64u); 12233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12234 esp = esp - 0x64u; /* 0x2B07EDB8: sub esp, 0x64 */ 12235 _flag_k = FK_CMP; 12236 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B07EDBB: mov al, byte ptr [ebp + 0xb] */ 12237 PUSH32(esp, ebx); /* 0x2B07EDBE: push ebx */ 12238 PUSH32(esp, esi); /* 0x2B07EDBF: push esi */ 12239 esi = ecx; /* 0x2B07EDC0: mov esi, ecx */ 12240 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12241 ebx = 0; /* 0x2B07EDC2: xor ebx, ebx */ 12242 _cf = 0; 12243 _flag_k = FK_TEST; 12244 PUSH32(esp, ebx); /* 0x2B07EDC4: push ebx */ 12245 ecx = ebp + (-0x38); /* 0x2B07EDC5: lea ecx, [ebp - 0x38] */ 12246 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x2B07EDC8: mov byte ptr [ebp - 0x38], al */ 12247 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07EDCB: call dword ptr [0x2b0b514c] */ 12248 RECOMP_FLAGS_IN(); 12249 MEM32(ebp + (-0x28)) = ebx; /* 0x2B07EDD1: mov dword ptr [ebp - 0x28], ebx */ 12250 MEM32(ebp + (-0x24)) = ebx; /* 0x2B07EDD4: mov dword ptr [ebp - 0x24], ebx */ 12251 MEM32(ebp + (-0x20)) = ebx; /* 0x2B07EDD7: mov dword ptr [ebp - 0x20], ebx */ 12252 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B07EDDA: mov dword ptr [ebp - 0x1c], ebx */ 12253 ecx = MEM32(ebp + 0x8); /* 0x2B07EDDD: mov ecx, dword ptr [ebp + 8] */ 12254 edx = MEM32(ecx); /* 0x2B07EDE0: mov edx, dword ptr [ecx] */ 12255 ecx = MEM32(ebp + (-0x3C)); /* 0x2B07EDE2: mov ecx, dword ptr [ebp - 0x3c] */ 12256 eax = MEM32(ebp + (-0x40)); /* 0x2B07EDE5: mov eax, dword ptr [ebp - 0x40] */ 12257 MEM32(ebp + (-0x70)) = edx; /* 0x2B07EDE8: mov dword ptr [ebp - 0x70], edx */ 12258 edx = ebp + (-0x38); /* 0x2B07EDEB: lea edx, [ebp - 0x38] */ 12259 MEM32(ebp + (-0x68)) = ecx; /* 0x2B07EDEE: mov dword ptr [ebp - 0x68], ecx */ 12260 PUSH32(esp, edx); /* 0x2B07EDF1: push edx */ 12261 ecx = ebp + (-0x64); /* 0x2B07EDF2: lea ecx, [ebp - 0x64] */ 12262 MEM32(ebp + (-0x4)) = ebx; /* 0x2B07EDF5: mov dword ptr [ebp - 4], ebx */ 12263 MEM32(ebp + (-0x6C)) = eax; /* 0x2B07EDF8: mov dword ptr [ebp - 0x6c], eax */ 12264 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B07EDFB: call dword ptr [0x2b0b5164] */ 12265 RECOMP_FLAGS_IN(); 12266 eax = MEM32(ebp + (-0x28)); /* 0x2B07EE01: mov eax, dword ptr [ebp - 0x28] */ 12267 ecx = MEM32(ebp + (-0x24)); /* 0x2B07EE04: mov ecx, dword ptr [ebp - 0x24] */ 12268 edx = MEM32(ebp + (-0x20)); /* 0x2B07EE07: mov edx, dword ptr [ebp - 0x20] */ 12269 MEM32(ebp + (-0x54)) = eax; /* 0x2B07EE0A: mov dword ptr [ebp - 0x54], eax */ 12270 eax = MEM32(ebp + (-0x1C)); /* 0x2B07EE0D: mov eax, dword ptr [ebp - 0x1c] */ 12271 MEM32(ebp + (-0x50)) = ecx; /* 0x2B07EE10: mov dword ptr [ebp - 0x50], ecx */ 12272 ecx = MEM32(ebp + (-0x18)); /* 0x2B07EE13: mov ecx, dword ptr [ebp - 0x18] */ 12273 MEM32(ebp + (-0x4C)) = edx; /* 0x2B07EE16: mov dword ptr [ebp - 0x4c], edx */ 12274 MEM32(ebp + (-0x48)) = eax; /* 0x2B07EE19: mov dword ptr [ebp - 0x48], eax */ 12275 MEM32(ebp + (-0x44)) = ecx; /* 0x2B07EE1C: mov dword ptr [ebp - 0x44], ecx */ 12276 edx = ebp + (-0x70); /* 0x2B07EE1F: lea edx, [ebp - 0x70] */ 12277 PUSH32(esp, edx); /* 0x2B07EE22: push edx */ 12278 eax = ebp + (-0x14); /* 0x2B07EE23: lea eax, [ebp - 0x14] */ 12279 PUSH32(esp, eax); /* 0x2B07EE26: push eax */ 12280 ecx = esi; /* 0x2B07EE27: mov ecx, esi */ 12281 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B07EE29: mov byte ptr [ebp - 4], 1 */ 12282 RECOMP_ICALL(0x2B080A20u); /* 0x2B07EE2D: call 0x2b080a20 */ /* not lifted */ 12283 RECOMP_FLAGS_IN(); 12284 esi = MEM32(eax); /* 0x2B07EE32: mov esi, dword ptr [eax] */ 12285 ecx = MEM32(eax + 0x4); /* 0x2B07EE34: mov ecx, dword ptr [eax + 4] */ 12286 eax = MEM32(ebp + (-0x60)); /* 0x2B07EE37: mov eax, dword ptr [ebp - 0x60] */ 12287 /* cmp eax, ebx */ /* 0x2B07EE3A: cmp eax, ebx */ 12288 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12290 _flag_k = FK_CMP; 12291 MEM32(ebp + (-0x10)) = ecx; /* 0x2B07EE3C: mov dword ptr [ebp - 0x10], ecx */ 12292 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EE5D; /* 0x2B07EE3F: je 0x2b07ee5d */ 12293 L_2B07EE41: 12294 ecx = eax + (-0x1); /* 0x2B07EE41: lea ecx, [eax - 1] */ 12295 SET_LO8(eax, MEM8(ecx)); /* 0x2B07EE44: mov al, byte ptr [ecx] */ 12296 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B07EE46: cmp al, bl */ 12297 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12299 _flag_k = FK_NARROW(FK_CMP, 24); 12300 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EE54; /* 0x2B07EE48: je 0x2b07ee54 */ 12301 L_2B07EE4A: 12302 /* cmp LO8(eax), 0xFFu */ /* 0x2B07EE4A: cmp al, 0xff */ 12303 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 12304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12305 _flag_k = FK_NARROW(FK_CMP, 24); 12306 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EE54; /* 0x2B07EE4C: je 0x2b07ee54 */ 12307 L_2B07EE4E: 12308 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 12309 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07EE4E: dec al */ 12310 _flag_k = FK_NARROW(FK_DEC, 24); 12311 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07EE50: mov byte ptr [ecx], al */ 12312 goto L_2B07EE5D; /* 0x2B07EE52: jmp 0x2b07ee5d */ 12313 L_2B07EE54: 12314 PUSH32(esp, ecx); /* 0x2B07EE54: push ecx */ 12315 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07EE55: call 0x2b0ab1ba */ /* not lifted */ 12316 RECOMP_FLAGS_IN(); 12317 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12318 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12319 esp = esp + 4; /* 0x2B07EE5A: add esp, 4 */ 12320 _flag_k = FK_ADD; 12321 L_2B07EE5D: 12322 eax = MEM32(ebp + (-0x34)); /* 0x2B07EE5D: mov eax, dword ptr [ebp - 0x34] */ 12323 /* cmp eax, ebx */ /* 0x2B07EE60: cmp eax, ebx */ 12324 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12326 _flag_k = FK_CMP; 12327 MEM32(ebp + (-0x60)) = ebx; /* 0x2B07EE62: mov dword ptr [ebp - 0x60], ebx */ 12328 MEM32(ebp + (-0x5C)) = ebx; /* 0x2B07EE65: mov dword ptr [ebp - 0x5c], ebx */ 12329 MEM32(ebp + (-0x58)) = ebx; /* 0x2B07EE68: mov dword ptr [ebp - 0x58], ebx */ 12330 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EE89; /* 0x2B07EE6B: je 0x2b07ee89 */ 12331 L_2B07EE6D: 12332 ecx = eax + (-0x1); /* 0x2B07EE6D: lea ecx, [eax - 1] */ 12333 SET_LO8(eax, MEM8(ecx)); /* 0x2B07EE70: mov al, byte ptr [ecx] */ 12334 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B07EE72: cmp al, bl */ 12335 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12337 _flag_k = FK_NARROW(FK_CMP, 24); 12338 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EE80; /* 0x2B07EE74: je 0x2b07ee80 */ 12339 L_2B07EE76: 12340 /* cmp LO8(eax), 0xFFu */ /* 0x2B07EE76: cmp al, 0xff */ 12341 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 12342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12343 _flag_k = FK_NARROW(FK_CMP, 24); 12344 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07EE80; /* 0x2B07EE78: je 0x2b07ee80 */ 12345 L_2B07EE7A: 12346 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 12347 SET_LO8(eax, LO8(eax) - 1); /* 0x2B07EE7A: dec al */ 12348 _flag_k = FK_NARROW(FK_DEC, 24); 12349 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B07EE7C: mov byte ptr [ecx], al */ 12350 goto L_2B07EE89; /* 0x2B07EE7E: jmp 0x2b07ee89 */ 12351 L_2B07EE80: 12352 PUSH32(esp, ecx); /* 0x2B07EE80: push ecx */ 12353 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07EE81: call 0x2b0ab1ba */ /* not lifted */ 12354 RECOMP_FLAGS_IN(); 12355 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12356 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12357 esp = esp + 4; /* 0x2B07EE86: add esp, 4 */ 12358 _flag_k = FK_ADD; 12359 L_2B07EE89: 12360 ecx = MEM32(ebp + (-0xC)); /* 0x2B07EE89: mov ecx, dword ptr [ebp - 0xc] */ 12361 eax = esi + 0x10; /* 0x2B07EE8C: lea eax, [esi + 0x10] */ 12362 esi = POP32_VAL(esp); /* 0x2B07EE8F: pop esi */ 12363 ebx = POP32_VAL(esp); /* 0x2B07EE90: pop ebx */ 12364 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07EE91: mov dword ptr fs:[0], ecx */ 12365 esp = ebp; /* 0x2B07EE98: mov esp, ebp */ 12366 ebp = POP32_VAL(esp); /* 0x2B07EE9A: pop ebp */ 12367 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07EE9B: ret 4 */ 12368 RECOMP_REGS_OUT(); 12369 } 12370 12371 void sub_2B07EEA0(void) { 12372 int _fpu_cmp = 0; 12373 uint32_t _cf = 0; 12374 int _df = 1; 12375 uint32_t _flag_k = FK_NONE; 12376 uint32_t _flag_a = 0, _flag_b = 0; 12377 uint32_t _itail_tgt = 0; 12378 RECOMP_REGS_LOCALS 12379 RECOMP_ENTER(0x2B07EEA0u); 12380 12381 L_2B07EEA0: 12382 PUSH32(esp, ebp); /* 0x2B07EEA0: push ebp */ 12383 ebp = esp; /* 0x2B07EEA1: mov ebp, esp */ 12384 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B07EEA3: push -1 */ 12385 PUSH32(esp, 0x2B0B1DCCu); /* 0x2B07EEA5: push 0x2b0b1dcc */ 12386 eax = MEM32(FS_BASE + (0)); /* 0x2B07EEAA: mov eax, dword ptr fs:[0] */ 12387 PUSH32(esp, eax); /* 0x2B07EEB0: push eax */ 12388 MEM32(FS_BASE + (0)) = esp; /* 0x2B07EEB1: mov dword ptr fs:[0], esp */ 12389 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12391 esp = esp - 0xCu; /* 0x2B07EEB8: sub esp, 0xc */ 12392 _flag_k = FK_CMP; 12393 PUSH32(esp, ebx); /* 0x2B07EEBB: push ebx */ 12394 ebx = ecx; /* 0x2B07EEBC: mov ebx, ecx */ 12395 PUSH32(esp, esi); /* 0x2B07EEBE: push esi */ 12396 PUSH32(esp, edi); /* 0x2B07EEBF: push edi */ 12397 edi = MEM32(ebp + 0x8); /* 0x2B07EEC0: mov edi, dword ptr [ebp + 8] */ 12398 eax = MEM32(edi); /* 0x2B07EEC3: mov eax, dword ptr [edi] */ 12399 MEM32(ebx) = eax; /* 0x2B07EEC5: mov dword ptr [ebx], eax */ 12400 ecx = MEM32(edi + 0x4); /* 0x2B07EEC7: mov ecx, dword ptr [edi + 4] */ 12401 MEM32(ebx + 0x4) = ecx; /* 0x2B07EECA: mov dword ptr [ebx + 4], ecx */ 12402 edx = MEM32(edi + 0x8); /* 0x2B07EECD: mov edx, dword ptr [edi + 8] */ 12403 MEM32(ebx + 0x8) = edx; /* 0x2B07EED0: mov dword ptr [ebx + 8], edx */ 12404 eax = MEM32(edi + 0xC); /* 0x2B07EED3: mov eax, dword ptr [edi + 0xc] */ 12405 MEM32(ebx + 0xC) = eax; /* 0x2B07EED6: mov dword ptr [ebx + 0xc], eax */ 12406 ecx = MEM32(edi + 0x10); /* 0x2B07EED9: mov ecx, dword ptr [edi + 0x10] */ 12407 MEM32(ebx + 0x10) = ecx; /* 0x2B07EEDC: mov dword ptr [ebx + 0x10], ecx */ 12408 edx = MEM32(edi + 0x14); /* 0x2B07EEDF: mov edx, dword ptr [edi + 0x14] */ 12409 MEM32(ebx + 0x14) = edx; /* 0x2B07EEE2: mov dword ptr [ebx + 0x14], edx */ 12410 eax = MEM32(edi + 0x18); /* 0x2B07EEE5: mov eax, dword ptr [edi + 0x18] */ 12411 MEM32(ebx + 0x18) = eax; /* 0x2B07EEE8: mov dword ptr [ebx + 0x18], eax */ 12412 ecx = edi + 0x1C; /* 0x2B07EEEB: lea ecx, [edi + 0x1c] */ 12413 eax = MEM32(ecx); /* 0x2B07EEEE: mov eax, dword ptr [ecx] */ 12414 edx = ebx + 0x1C; /* 0x2B07EEF0: lea edx, [ebx + 0x1c] */ 12415 MEM32(edx) = eax; /* 0x2B07EEF3: mov dword ptr [edx], eax */ 12416 eax = MEM32(ecx + 0x4); /* 0x2B07EEF5: mov eax, dword ptr [ecx + 4] */ 12417 MEM32(edx + 0x4) = eax; /* 0x2B07EEF8: mov dword ptr [edx + 4], eax */ 12418 eax = MEM32(ecx + 0x8); /* 0x2B07EEFB: mov eax, dword ptr [ecx + 8] */ 12419 MEM32(edx + 0x8) = eax; /* 0x2B07EEFE: mov dword ptr [edx + 8], eax */ 12420 ecx = MEM32(ecx + 0xC); /* 0x2B07EF01: mov ecx, dword ptr [ecx + 0xc] */ 12421 MEM32(edx + 0xC) = ecx; /* 0x2B07EF04: mov dword ptr [edx + 0xc], ecx */ 12422 SET_LO8(edx, MEM8(edi + 0x2C)); /* 0x2B07EF07: mov dl, byte ptr [edi + 0x2c] */ 12423 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12424 ecx = 0; /* 0x2B07EF0A: xor ecx, ecx */ 12425 _cf = 0; 12426 _flag_k = FK_TEST; 12427 eax = edi + 0x2C; /* 0x2B07EF0C: lea eax, [edi + 0x2c] */ 12428 esi = ebx + 0x2C; /* 0x2B07EF0F: lea esi, [ebx + 0x2c] */ 12429 MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x2B07EF12: mov byte ptr [esi], dl */ 12430 MEM32(esi + 0x4) = ecx; /* 0x2B07EF14: mov dword ptr [esi + 4], ecx */ 12431 MEM32(esi + 0x8) = ecx; /* 0x2B07EF17: mov dword ptr [esi + 8], ecx */ 12432 MEM32(esi + 0xC) = ecx; /* 0x2B07EF1A: mov dword ptr [esi + 0xc], ecx */ 12433 ecx = MEM32(0x2B0B515C); /* 0x2B07EF1D: mov ecx, dword ptr [0x2b0b515c] */ 12434 edx = MEM32(ecx); /* 0x2B07EF23: mov edx, dword ptr [ecx] */ 12435 ecx = MEM32(eax + 0x8); /* 0x2B07EF25: mov ecx, dword ptr [eax + 8] */ 12436 /* cmp edx, ecx */ /* 0x2B07EF28: cmp edx, ecx */ 12437 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 12438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12439 _flag_k = FK_CMP; 12440 MEM32(ebp + (-0x18)) = ebx; /* 0x2B07EF2A: mov dword ptr [ebp - 0x18], ebx */ 12441 MEM32(ebp + (-0x14)) = eax; /* 0x2B07EF2D: mov dword ptr [ebp - 0x14], eax */ 12442 MEM32(ebp + (-0x10)) = ecx; /* 0x2B07EF30: mov dword ptr [ebp - 0x10], ecx */ 12443 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07EF3A; /* 0x2B07EF33: jae 0x2b07ef3a */ 12444 L_2B07EF35: 12445 MEM32(ebp + (-0x10)) = edx; /* 0x2B07EF35: mov dword ptr [ebp - 0x10], edx */ 12446 ecx = edx; /* 0x2B07EF38: mov ecx, edx */ 12447 L_2B07EF3A: 12448 /* cmp esi, eax */ /* 0x2B07EF3A: cmp esi, eax */ 12449 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12451 _flag_k = FK_CMP; 12452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EF59; /* 0x2B07EF3C: jne 0x2b07ef59 */ 12453 L_2B07EF3E: 12454 PUSH32(esp, edx); /* 0x2B07EF3E: push edx */ 12455 PUSH32(esp, ecx); /* 0x2B07EF3F: push ecx */ 12456 ecx = esi; /* 0x2B07EF40: mov ecx, esi */ 12457 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B07EF42: call dword ptr [0x2b0b51ac] */ 12458 RECOMP_FLAGS_IN(); 12459 PUSH32(esp, 0); /* 0x2B07EF48: push 0 */ 12460 PUSH32(esp, 0); /* 0x2B07EF4A: push 0 */ 12461 ecx = esi; /* 0x2B07EF4C: mov ecx, esi */ 12462 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B07EF4E: call dword ptr [0x2b0b51ac] */ 12463 RECOMP_FLAGS_IN(); 12464 goto L_2B07EFE4; /* 0x2B07EF54: jmp 0x2b07efe4 */ 12465 L_2B07EF59: 12466 /* test ecx, ecx */ /* 0x2B07EF59: test ecx, ecx */ 12467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12468 _cf = 0; 12469 _flag_k = FK_TEST; 12470 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07EFA1; /* 0x2B07EF5B: jbe 0x2b07efa1 */ 12471 L_2B07EF5D: 12472 /* cmp ecx, MEM32(eax + 0x8) */ /* 0x2B07EF5D: cmp ecx, dword ptr [eax + 8] */ 12473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12475 _flag_k = FK_CMP; 12476 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07EFA1; /* 0x2B07EF60: jne 0x2b07efa1 */ 12477 L_2B07EF62: 12478 eax = MEM32(eax + 0x4); /* 0x2B07EF62: mov eax, dword ptr [eax + 4] */ 12479 /* test eax, eax */ /* 0x2B07EF65: test eax, eax */ 12480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12481 _cf = 0; 12482 _flag_k = FK_TEST; 12483 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07EF6E; /* 0x2B07EF67: jne 0x2b07ef6e */ 12484 L_2B07EF69: 12485 eax = MEM32(0x2B0B513C); /* 0x2B07EF69: mov eax, dword ptr [0x2b0b513c] */ 12486 L_2B07EF6E: 12487 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B07EF6E: cmp byte ptr [eax - 1], 0xfe */ 12488 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 12489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12490 _flag_k = FK_NARROW(FK_CMP, 24); 12491 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07EFA1; /* 0x2B07EF72: jae 0x2b07efa1 */ 12492 L_2B07EF74: 12493 PUSH32(esp, 1); /* 0x2B07EF74: push 1 */ 12494 ecx = esi; /* 0x2B07EF76: mov ecx, esi */ 12495 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07EF78: call dword ptr [0x2b0b514c] */ 12496 RECOMP_FLAGS_IN(); 12497 ecx = MEM32(ebp + (-0x14)); /* 0x2B07EF7E: mov ecx, dword ptr [ebp - 0x14] */ 12498 eax = MEM32(ecx + 0x4); /* 0x2B07EF81: mov eax, dword ptr [ecx + 4] */ 12499 /* test eax, eax */ /* 0x2B07EF84: test eax, eax */ 12500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12501 _cf = 0; 12502 _flag_k = FK_TEST; 12503 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07EF8D; /* 0x2B07EF86: jne 0x2b07ef8d */ 12504 L_2B07EF88: 12505 eax = MEM32(0x2B0B513C); /* 0x2B07EF88: mov eax, dword ptr [0x2b0b513c] */ 12506 L_2B07EF8D: 12507 MEM32(esi + 0x4) = eax; /* 0x2B07EF8D: mov dword ptr [esi + 4], eax */ 12508 edx = MEM32(ecx + 0x8); /* 0x2B07EF90: mov edx, dword ptr [ecx + 8] */ 12509 MEM32(esi + 0x8) = edx; /* 0x2B07EF93: mov dword ptr [esi + 8], edx */ 12510 ecx = MEM32(ecx + 0xC); /* 0x2B07EF96: mov ecx, dword ptr [ecx + 0xc] */ 12511 MEM32(esi + 0xC) = ecx; /* 0x2B07EF99: mov dword ptr [esi + 0xc], ecx */ 12512 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 12513 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B07EF9C: inc byte ptr [eax - 1] */ 12514 _flag_k = FK_NARROW(FK_INC, 24); 12515 goto L_2B07EFE4; /* 0x2B07EF9F: jmp 0x2b07efe4 */ 12516 L_2B07EFA1: 12517 PUSH32(esp, 1); /* 0x2B07EFA1: push 1 */ 12518 PUSH32(esp, ecx); /* 0x2B07EFA3: push ecx */ 12519 ecx = esi; /* 0x2B07EFA4: mov ecx, esi */ 12520 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07EFA6: call dword ptr [0x2b0b5154] */ 12521 RECOMP_FLAGS_IN(); 12522 /* test LO8(eax), LO8(eax) */ /* 0x2B07EFAC: test al, al */ 12523 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12524 _cf = 0; 12525 _flag_k = FK_NARROW(FK_TEST, 24); 12526 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07EFE4; /* 0x2B07EFAE: je 0x2b07efe4 */ 12527 L_2B07EFB0: 12528 edx = MEM32(ebp + (-0x14)); /* 0x2B07EFB0: mov edx, dword ptr [ebp - 0x14] */ 12529 eax = MEM32(edx + 0x4); /* 0x2B07EFB3: mov eax, dword ptr [edx + 4] */ 12530 /* test eax, eax */ /* 0x2B07EFB6: test eax, eax */ 12531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12532 _cf = 0; 12533 _flag_k = FK_TEST; 12534 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07EFBF; /* 0x2B07EFB8: jne 0x2b07efbf */ 12535 L_2B07EFBA: 12536 eax = MEM32(0x2B0B513C); /* 0x2B07EFBA: mov eax, dword ptr [0x2b0b513c] */ 12537 L_2B07EFBF: 12538 edi = MEM32(esi + 0x4); /* 0x2B07EFBF: mov edi, dword ptr [esi + 4] */ 12539 ecx = MEM32(ebp + (-0x10)); /* 0x2B07EFC2: mov ecx, dword ptr [ebp - 0x10] */ 12540 esi = eax; /* 0x2B07EFC5: mov esi, eax */ 12541 eax = ecx; /* 0x2B07EFC7: mov eax, ecx */ 12542 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07EFC9: shr ecx, 2 */ 12543 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12544 ecx = ecx >> 2u; /* 0x2B07EFC9: shr ecx, 2 */ 12545 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07EFCC: 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; } 12546 ecx = eax; /* 0x2B07EFCE: mov ecx, eax */ 12547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12548 ecx = ecx & 3; /* 0x2B07EFD0: and ecx, 3 */ 12549 _cf = 0; 12550 _flag_k = FK_TEST; 12551 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07EFD3: 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; } 12552 ecx = eax; /* 0x2B07EFD5: mov ecx, eax */ 12553 PUSH32(esp, ecx); /* 0x2B07EFD7: push ecx */ 12554 ecx = ebx + 0x2C; /* 0x2B07EFD8: lea ecx, [ebx + 0x2c] */ 12555 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07EFDB: call dword ptr [0x2b0b5150] */ 12556 RECOMP_FLAGS_IN(); 12557 edi = MEM32(ebp + 0x8); /* 0x2B07EFE1: mov edi, dword ptr [ebp + 8] */ 12558 L_2B07EFE4: 12559 SET_LO8(edx, MEM8(edi + 0x3C)); /* 0x2B07EFE4: mov dl, byte ptr [edi + 0x3c] */ 12560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x3Cu); 12561 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12562 edi = edi + 0x3Cu; /* 0x2B07EFE7: add edi, 0x3c */ 12563 _flag_k = FK_ADD; 12564 esi = ebx + 0x3C; /* 0x2B07EFEA: lea esi, [ebx + 0x3c] */ 12565 MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x2B07EFED: mov byte ptr [esi], dl */ 12566 SET_LO8(eax, MEM8(edi + 0x1)); /* 0x2B07EFEF: mov al, byte ptr [edi + 1] */ 12567 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B07EFF2: mov byte ptr [esi + 1], al */ 12568 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B07EFF5: mov cl, byte ptr [edi + 0xc] */ 12569 PUSH32(esp, 0x1Cu); /* 0x2B07EFF8: push 0x1c */ 12570 MEM32(ebp + (-0x4)) = 0; /* 0x2B07EFFA: mov dword ptr [ebp - 4], 0 */ 12571 MEM8(esi + 0xC) = (uint8_t)(LO8(ecx)); /* 0x2B07F001: mov byte ptr [esi + 0xc], cl */ 12572 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07F004: call 0x2b0ab212 */ /* not lifted */ 12573 RECOMP_FLAGS_IN(); 12574 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12575 ecx = 0; /* 0x2B07F009: xor ecx, ecx */ 12576 _cf = 0; 12577 _flag_k = FK_TEST; 12578 MEM32(eax + 0x4) = ecx; /* 0x2B07F00B: mov dword ptr [eax + 4], ecx */ 12579 MEM8(eax + 0x19) = (uint8_t)(LO8(ecx)); /* 0x2B07F00E: mov byte ptr [eax + 0x19], cl */ 12580 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x2B07F011: mov byte ptr [eax + 0x18], 1 */ 12581 MEM32(esi + 0x8) = eax; /* 0x2B07F015: mov dword ptr [esi + 8], eax */ 12582 MEM8(eax + 0x19) = (uint8_t)(1); /* 0x2B07F018: mov byte ptr [eax + 0x19], 1 */ 12583 edx = MEM32(esi + 0x8); /* 0x2B07F01C: mov edx, dword ptr [esi + 8] */ 12584 MEM32(edx) = ecx; /* 0x2B07F01F: mov dword ptr [edx], ecx */ 12585 eax = MEM32(esi + 0x8); /* 0x2B07F021: mov eax, dword ptr [esi + 8] */ 12586 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12587 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12588 esp = esp + 4; /* 0x2B07F024: add esp, 4 */ 12589 _flag_k = FK_ADD; 12590 PUSH32(esp, ecx); /* 0x2B07F027: push ecx */ 12591 MEM32(eax + 0x8) = ecx; /* 0x2B07F028: mov dword ptr [eax + 8], ecx */ 12592 ecx = MEM32(esi + 0x8); /* 0x2B07F02B: mov ecx, dword ptr [esi + 8] */ 12593 PUSH32(esp, ecx); /* 0x2B07F02E: push ecx */ 12594 ecx = esi; /* 0x2B07F02F: mov ecx, esi */ 12595 RECOMP_ICALL(0x2B081130u); /* 0x2B07F031: call 0x2b081130 */ /* not lifted */ 12596 RECOMP_FLAGS_IN(); 12597 MEM32(esi + 0x4) = eax; /* 0x2B07F036: mov dword ptr [esi + 4], eax */ 12598 MEM32(eax) = eax; /* 0x2B07F039: mov dword ptr [eax], eax */ 12599 eax = MEM32(esi + 0x4); /* 0x2B07F03B: mov eax, dword ptr [esi + 4] */ 12600 MEM32(eax + 0x8) = eax; /* 0x2B07F03E: mov dword ptr [eax + 8], eax */ 12601 PUSH32(esp, edi); /* 0x2B07F041: push edi */ 12602 ecx = esi; /* 0x2B07F042: mov ecx, esi */ 12603 MEM32(esi + 0x10) = 0; /* 0x2B07F044: mov dword ptr [esi + 0x10], 0 */ 12604 RECOMP_ICALL(0x2B07FC60u); /* 0x2B07F04B: call 0x2b07fc60 */ /* not lifted */ 12605 RECOMP_FLAGS_IN(); 12606 ecx = MEM32(ebp + (-0xC)); /* 0x2B07F050: mov ecx, dword ptr [ebp - 0xc] */ 12607 edi = POP32_VAL(esp); /* 0x2B07F053: pop edi */ 12608 esi = POP32_VAL(esp); /* 0x2B07F054: pop esi */ 12609 eax = ebx; /* 0x2B07F055: mov eax, ebx */ 12610 ebx = POP32_VAL(esp); /* 0x2B07F057: pop ebx */ 12611 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07F058: mov dword ptr fs:[0], ecx */ 12612 esp = ebp; /* 0x2B07F05F: mov esp, ebp */ 12613 ebp = POP32_VAL(esp); /* 0x2B07F061: pop ebp */ 12614 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07F062: ret 4 */ 12615 RECOMP_REGS_OUT(); 12616 } 12617 12618 void sub_2B07EFE4(void) { 12619 int _fpu_cmp = 0; 12620 uint32_t _cf = 0; 12621 int _df = 1; 12622 uint32_t _flag_k = FK_NONE; 12623 uint32_t _flag_a = 0, _flag_b = 0; 12624 uint32_t _itail_tgt = 0; 12625 RECOMP_REGS_LOCALS 12626 RECOMP_ENTER(0x2B07EFE4u); 12627 12628 L_2B07EFE4: 12629 SET_LO8(edx, MEM8(edi + 0x3C)); /* 0x2B07EFE4: mov dl, byte ptr [edi + 0x3c] */ 12630 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x3Cu); 12631 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12632 edi = edi + 0x3Cu; /* 0x2B07EFE7: add edi, 0x3c */ 12633 _flag_k = FK_ADD; 12634 esi = ebx + 0x3C; /* 0x2B07EFEA: lea esi, [ebx + 0x3c] */ 12635 MEM8(esi) = (uint8_t)(LO8(edx)); /* 0x2B07EFED: mov byte ptr [esi], dl */ 12636 SET_LO8(eax, MEM8(edi + 0x1)); /* 0x2B07EFEF: mov al, byte ptr [edi + 1] */ 12637 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B07EFF2: mov byte ptr [esi + 1], al */ 12638 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B07EFF5: mov cl, byte ptr [edi + 0xc] */ 12639 PUSH32(esp, 0x1Cu); /* 0x2B07EFF8: push 0x1c */ 12640 MEM32(ebp + (-0x4)) = 0; /* 0x2B07EFFA: mov dword ptr [ebp - 4], 0 */ 12641 MEM8(esi + 0xC) = (uint8_t)(LO8(ecx)); /* 0x2B07F001: mov byte ptr [esi + 0xc], cl */ 12642 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07F004: call 0x2b0ab212 */ /* not lifted */ 12643 RECOMP_FLAGS_IN(); 12644 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12645 ecx = 0; /* 0x2B07F009: xor ecx, ecx */ 12646 _cf = 0; 12647 _flag_k = FK_TEST; 12648 MEM32(eax + 0x4) = ecx; /* 0x2B07F00B: mov dword ptr [eax + 4], ecx */ 12649 MEM8(eax + 0x19) = (uint8_t)(LO8(ecx)); /* 0x2B07F00E: mov byte ptr [eax + 0x19], cl */ 12650 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x2B07F011: mov byte ptr [eax + 0x18], 1 */ 12651 MEM32(esi + 0x8) = eax; /* 0x2B07F015: mov dword ptr [esi + 8], eax */ 12652 MEM8(eax + 0x19) = (uint8_t)(1); /* 0x2B07F018: mov byte ptr [eax + 0x19], 1 */ 12653 edx = MEM32(esi + 0x8); /* 0x2B07F01C: mov edx, dword ptr [esi + 8] */ 12654 MEM32(edx) = ecx; /* 0x2B07F01F: mov dword ptr [edx], ecx */ 12655 eax = MEM32(esi + 0x8); /* 0x2B07F021: mov eax, dword ptr [esi + 8] */ 12656 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12657 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12658 esp = esp + 4; /* 0x2B07F024: add esp, 4 */ 12659 _flag_k = FK_ADD; 12660 PUSH32(esp, ecx); /* 0x2B07F027: push ecx */ 12661 MEM32(eax + 0x8) = ecx; /* 0x2B07F028: mov dword ptr [eax + 8], ecx */ 12662 ecx = MEM32(esi + 0x8); /* 0x2B07F02B: mov ecx, dword ptr [esi + 8] */ 12663 PUSH32(esp, ecx); /* 0x2B07F02E: push ecx */ 12664 ecx = esi; /* 0x2B07F02F: mov ecx, esi */ 12665 RECOMP_ICALL(0x2B081130u); /* 0x2B07F031: call 0x2b081130 */ /* not lifted */ 12666 RECOMP_FLAGS_IN(); 12667 MEM32(esi + 0x4) = eax; /* 0x2B07F036: mov dword ptr [esi + 4], eax */ 12668 MEM32(eax) = eax; /* 0x2B07F039: mov dword ptr [eax], eax */ 12669 eax = MEM32(esi + 0x4); /* 0x2B07F03B: mov eax, dword ptr [esi + 4] */ 12670 MEM32(eax + 0x8) = eax; /* 0x2B07F03E: mov dword ptr [eax + 8], eax */ 12671 PUSH32(esp, edi); /* 0x2B07F041: push edi */ 12672 ecx = esi; /* 0x2B07F042: mov ecx, esi */ 12673 MEM32(esi + 0x10) = 0; /* 0x2B07F044: mov dword ptr [esi + 0x10], 0 */ 12674 RECOMP_ICALL(0x2B07FC60u); /* 0x2B07F04B: call 0x2b07fc60 */ /* not lifted */ 12675 RECOMP_FLAGS_IN(); 12676 ecx = MEM32(ebp + (-0xC)); /* 0x2B07F050: mov ecx, dword ptr [ebp - 0xc] */ 12677 edi = POP32_VAL(esp); /* 0x2B07F053: pop edi */ 12678 esi = POP32_VAL(esp); /* 0x2B07F054: pop esi */ 12679 eax = ebx; /* 0x2B07F055: mov eax, ebx */ 12680 ebx = POP32_VAL(esp); /* 0x2B07F057: pop ebx */ 12681 MEM32(FS_BASE + (0)) = ecx; /* 0x2B07F058: mov dword ptr fs:[0], ecx */ 12682 esp = ebp; /* 0x2B07F05F: mov esp, ebp */ 12683 ebp = POP32_VAL(esp); /* 0x2B07F061: pop ebp */ 12684 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07F062: ret 4 */ 12685 RECOMP_REGS_OUT(); 12686 } 12687 12688 void sub_2B07F070(void) { 12689 int _fpu_cmp = 0; 12690 uint32_t _cf = 0; 12691 int _df = 1; 12692 uint32_t _flag_k = FK_NONE; 12693 uint32_t _flag_a = 0, _flag_b = 0; 12694 uint32_t _itail_tgt = 0; 12695 RECOMP_REGS_LOCALS 12696 RECOMP_ENTER(0x2B07F070u); 12697 12698 L_2B07F070: 12699 eax = ecx; /* 0x2B07F070: mov eax, ecx */ 12700 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12701 ecx = 0; /* 0x2B07F072: xor ecx, ecx */ 12702 _cf = 0; 12703 _flag_k = FK_TEST; 12704 MEM32(eax) = ecx; /* 0x2B07F074: mov dword ptr [eax], ecx */ 12705 MEM32(eax + 0x4) = ecx; /* 0x2B07F076: mov dword ptr [eax + 4], ecx */ 12706 MEM32(eax + 0x8) = ecx; /* 0x2B07F079: mov dword ptr [eax + 8], ecx */ 12707 MEM32(eax + 0xC) = ecx; /* 0x2B07F07C: mov dword ptr [eax + 0xc], ecx */ 12708 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07F07F: ret */ 12709 RECOMP_REGS_OUT(); 12710 } 12711 12712 void sub_2B07F080(void) { 12713 int _fpu_cmp = 0; 12714 uint32_t _cf = 0; 12715 int _df = 1; 12716 uint32_t _flag_k = FK_NONE; 12717 uint32_t _flag_a = 0, _flag_b = 0; 12718 uint32_t _itail_tgt = 0; 12719 RECOMP_REGS_LOCALS 12720 RECOMP_ENTER(0x2B07F080u); 12721 12722 L_2B07F080: 12723 PUSH32(esp, ebp); /* 0x2B07F080: push ebp */ 12724 ebp = esp; /* 0x2B07F081: mov ebp, esp */ 12725 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12727 esp = esp - 0xCu; /* 0x2B07F083: sub esp, 0xc */ 12728 _flag_k = FK_CMP; 12729 PUSH32(esp, ebx); /* 0x2B07F086: push ebx */ 12730 PUSH32(esp, esi); /* 0x2B07F087: push esi */ 12731 PUSH32(esp, edi); /* 0x2B07F088: push edi */ 12732 edi = ecx; /* 0x2B07F089: mov edi, ecx */ 12733 ecx = MEM32(edi + 0x4); /* 0x2B07F08B: mov ecx, dword ptr [edi + 4] */ 12734 ebx = MEM32(ecx + 0x4); /* 0x2B07F08E: mov ebx, dword ptr [ecx + 4] */ 12735 edx = MEM32(edi + 0x8); /* 0x2B07F091: mov edx, dword ptr [edi + 8] */ 12736 /* cmp ebx, edx */ /* 0x2B07F094: cmp ebx, edx */ 12737 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 12738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12739 _flag_k = FK_CMP; 12740 esi = ecx; /* 0x2B07F096: mov esi, ecx */ 12741 SET_LO8(eax, 1); /* 0x2B07F098: mov al, 1 */ 12742 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F0BE; /* 0x2B07F09A: je 0x2b07f0be */ 12743 L_2B07F09C: 12744 eax = MEM32(ebp + 0xC); /* 0x2B07F09C: mov eax, dword ptr [ebp + 0xc] */ 12745 eax = MEM32(eax); /* 0x2B07F09F: mov eax, dword ptr [eax] */ 12746 MEM32(ebp + (-0x8)) = eax; /* 0x2B07F0A1: mov dword ptr [ebp - 8], eax */ 12747 L_2B07F0A4: 12748 eax = MEM32(ebp + (-0x8)); /* 0x2B07F0A4: mov eax, dword ptr [ebp - 8] */ 12749 /* cmp eax, MEM32(ebx + 0xC) */ /* 0x2B07F0A7: cmp eax, dword ptr [ebx + 0xc] */ 12750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0xC)); 12751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12752 _flag_k = FK_CMP; 12753 esi = ebx; /* 0x2B07F0AA: mov esi, ebx */ 12754 SET_LO8(eax, (CMP_B(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B07F0AC: setb al */ 12755 /* test LO8(eax), LO8(eax) */ /* 0x2B07F0AF: test al, al */ 12756 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12757 _cf = 0; 12758 _flag_k = FK_NARROW(FK_TEST, 24); 12759 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F0B7; /* 0x2B07F0B1: je 0x2b07f0b7 */ 12760 L_2B07F0B3: 12761 ebx = MEM32(ebx); /* 0x2B07F0B3: mov ebx, dword ptr [ebx] */ 12762 goto L_2B07F0BA; /* 0x2B07F0B5: jmp 0x2b07f0ba */ 12763 L_2B07F0B7: 12764 ebx = MEM32(ebx + 0x8); /* 0x2B07F0B7: mov ebx, dword ptr [ebx + 8] */ 12765 L_2B07F0BA: 12766 /* cmp ebx, edx */ /* 0x2B07F0BA: cmp ebx, edx */ 12767 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 12768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12769 _flag_k = FK_CMP; 12770 RECOMP_BACKEDGE(); 12771 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F0A4; /* 0x2B07F0BC: jne 0x2b07f0a4 */ 12772 L_2B07F0BE: 12773 SET_LO8(edx, MEM8(edi + 0xC)); /* 0x2B07F0BE: mov dl, byte ptr [edi + 0xc] */ 12774 /* test LO8(edx), LO8(edx) */ /* 0x2B07F0C1: test dl, dl */ 12775 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12776 _cf = 0; 12777 _flag_k = FK_NARROW(FK_TEST, 24); 12778 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F239; /* 0x2B07F0C3: je 0x2b07f239 */ 12779 L_2B07F0C9: 12780 PUSH32(esp, 0); /* 0x2B07F0C9: push 0 */ 12781 PUSH32(esp, esi); /* 0x2B07F0CB: push esi */ 12782 ecx = edi; /* 0x2B07F0CC: mov ecx, edi */ 12783 RECOMP_ICALL(0x2B081130u); /* 0x2B07F0CE: call 0x2b081130 */ /* not lifted */ 12784 RECOMP_FLAGS_IN(); 12785 ecx = MEM32(edi + 0x8); /* 0x2B07F0D3: mov ecx, dword ptr [edi + 8] */ 12786 MEM32(eax) = ecx; /* 0x2B07F0D6: mov dword ptr [eax], ecx */ 12787 edx = MEM32(edi + 0x8); /* 0x2B07F0D8: mov edx, dword ptr [edi + 8] */ 12788 ecx = MEM32(ebp + 0xC); /* 0x2B07F0DB: mov ecx, dword ptr [ebp + 0xc] */ 12789 MEM32(ebp + (-0x4)) = eax; /* 0x2B07F0DE: mov dword ptr [ebp - 4], eax */ 12790 MEM32(eax + 0x8) = edx; /* 0x2B07F0E1: mov dword ptr [eax + 8], edx */ 12791 PUSH32(esp, ecx); /* 0x2B07F0E4: push ecx */ 12792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 12793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12794 eax = eax + 0xCu; /* 0x2B07F0E5: add eax, 0xc */ 12795 _flag_k = FK_ADD; 12796 PUSH32(esp, eax); /* 0x2B07F0E8: push eax */ 12797 RECOMP_ICALL(0x2B02A850u); /* 0x2B07F0E9: call 0x2b02a850 */ /* not lifted */ 12798 RECOMP_FLAGS_IN(); 12799 ecx = MEM32(edi + 0x10); /* 0x2B07F0EE: mov ecx, dword ptr [edi + 0x10] */ 12800 eax = MEM32(edi + 0x4); /* 0x2B07F0F1: mov eax, dword ptr [edi + 4] */ 12801 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12802 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12803 esp = esp + 8; /* 0x2B07F0F4: add esp, 8 */ 12804 _flag_k = FK_ADD; 12805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12806 ecx = ecx + 1; /* 0x2B07F0F7: inc ecx */ 12807 _flag_k = FK_INC; 12808 /* cmp esi, eax */ /* 0x2B07F0F8: cmp esi, eax */ 12809 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12811 _flag_k = FK_CMP; 12812 MEM32(edi + 0x10) = ecx; /* 0x2B07F0FA: mov dword ptr [edi + 0x10], ecx */ 12813 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F121; /* 0x2B07F0FD: je 0x2b07f121 */ 12814 L_2B07F0FF: 12815 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B07F0FF: cmp ebx, dword ptr [edi + 8] */ 12816 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12818 _flag_k = FK_CMP; 12819 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F121; /* 0x2B07F102: jne 0x2b07f121 */ 12820 L_2B07F104: 12821 edx = MEM32(ebp + 0xC); /* 0x2B07F104: mov edx, dword ptr [ebp + 0xc] */ 12822 eax = MEM32(edx); /* 0x2B07F107: mov eax, dword ptr [edx] */ 12823 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B07F109: cmp eax, dword ptr [esi + 0xc] */ 12824 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 12825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12826 _flag_k = FK_CMP; 12827 if (CMP_B(_flag_a, _flag_b)) goto L_2B07F121; /* 0x2B07F10C: jb 0x2b07f121 */ 12828 L_2B07F10E: 12829 ebx = MEM32(ebp + (-0x4)); /* 0x2B07F10E: mov ebx, dword ptr [ebp - 4] */ 12830 MEM32(esi + 0x8) = ebx; /* 0x2B07F111: mov dword ptr [esi + 8], ebx */ 12831 eax = MEM32(edi + 0x4); /* 0x2B07F114: mov eax, dword ptr [edi + 4] */ 12832 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B07F117: cmp esi, dword ptr [eax + 8] */ 12833 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12835 _flag_k = FK_CMP; 12836 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F144; /* 0x2B07F11A: jne 0x2b07f144 */ 12837 L_2B07F11C: 12838 MEM32(eax + 0x8) = ebx; /* 0x2B07F11C: mov dword ptr [eax + 8], ebx */ 12839 goto L_2B07F144; /* 0x2B07F11F: jmp 0x2b07f144 */ 12840 L_2B07F121: 12841 ecx = MEM32(ebp + (-0x4)); /* 0x2B07F121: mov ecx, dword ptr [ebp - 4] */ 12842 MEM32(esi) = ecx; /* 0x2B07F124: mov dword ptr [esi], ecx */ 12843 eax = MEM32(edi + 0x4); /* 0x2B07F126: mov eax, dword ptr [edi + 4] */ 12844 /* cmp esi, eax */ /* 0x2B07F129: cmp esi, eax */ 12845 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 12846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12847 _flag_k = FK_CMP; 12848 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F138; /* 0x2B07F12B: jne 0x2b07f138 */ 12849 L_2B07F12D: 12850 MEM32(eax + 0x4) = ecx; /* 0x2B07F12D: mov dword ptr [eax + 4], ecx */ 12851 edx = MEM32(edi + 0x4); /* 0x2B07F130: mov edx, dword ptr [edi + 4] */ 12852 MEM32(edx + 0x8) = ecx; /* 0x2B07F133: mov dword ptr [edx + 8], ecx */ 12853 goto L_2B07F141; /* 0x2B07F136: jmp 0x2b07f141 */ 12854 L_2B07F138: 12855 /* cmp esi, MEM32(eax) */ /* 0x2B07F138: cmp esi, dword ptr [eax] */ 12856 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 12857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12858 _flag_k = FK_CMP; 12859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F141; /* 0x2B07F13A: jne 0x2b07f141 */ 12860 L_2B07F13C: 12861 ecx = MEM32(ebp + (-0x4)); /* 0x2B07F13C: mov ecx, dword ptr [ebp - 4] */ 12862 MEM32(eax) = ecx; /* 0x2B07F13F: mov dword ptr [eax], ecx */ 12863 L_2B07F141: 12864 ebx = MEM32(ebp + (-0x4)); /* 0x2B07F141: mov ebx, dword ptr [ebp - 4] */ 12865 L_2B07F144: 12866 edx = MEM32(edi + 0x4); /* 0x2B07F144: mov edx, dword ptr [edi + 4] */ 12867 /* cmp ebx, MEM32(edx + 0x4) */ /* 0x2B07F147: cmp ebx, dword ptr [edx + 4] */ 12868 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12870 _flag_k = FK_CMP; 12871 esi = ebx; /* 0x2B07F14A: mov esi, ebx */ 12872 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F217; /* 0x2B07F14C: je 0x2b07f217 */ 12873 L_2B07F152: 12874 eax = MEM32(esi + 0x4); /* 0x2B07F152: mov eax, dword ptr [esi + 4] */ 12875 SET_LO8(ecx, MEM8(eax + 0x18)); /* 0x2B07F155: mov cl, byte ptr [eax + 0x18] */ 12876 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07F158: test cl, cl */ 12877 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 12878 _cf = 0; 12879 _flag_k = FK_NARROW(FK_TEST, 24); 12880 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F217; /* 0x2B07F15A: jne 0x2b07f217 */ 12881 L_2B07F160: 12882 edx = MEM32(eax + 0x4); /* 0x2B07F160: mov edx, dword ptr [eax + 4] */ 12883 ecx = MEM32(edx); /* 0x2B07F163: mov ecx, dword ptr [edx] */ 12884 /* cmp eax, ecx */ /* 0x2B07F165: cmp eax, ecx */ 12885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12887 _flag_k = FK_CMP; 12888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F1BD; /* 0x2B07F167: jne 0x2b07f1bd */ 12889 L_2B07F169: 12890 ecx = MEM32(edx + 0x8); /* 0x2B07F169: mov ecx, dword ptr [edx + 8] */ 12891 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F16C: mov dl, byte ptr [ecx + 0x18] */ 12892 /* test LO8(edx), LO8(edx) */ /* 0x2B07F16F: test dl, dl */ 12893 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12894 _cf = 0; 12895 _flag_k = FK_NARROW(FK_TEST, 24); 12896 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F18D; /* 0x2B07F171: jne 0x2b07f18d */ 12897 L_2B07F173: 12898 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x2B07F173: mov byte ptr [eax + 0x18], 1 */ 12899 MEM8(ecx + 0x18) = (uint8_t)(1); /* 0x2B07F177: mov byte ptr [ecx + 0x18], 1 */ 12900 eax = MEM32(esi + 0x4); /* 0x2B07F17B: mov eax, dword ptr [esi + 4] */ 12901 ecx = MEM32(eax + 0x4); /* 0x2B07F17E: mov ecx, dword ptr [eax + 4] */ 12902 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07F181: mov byte ptr [ecx + 0x18], 0 */ 12903 edx = MEM32(esi + 0x4); /* 0x2B07F185: mov edx, dword ptr [esi + 4] */ 12904 esi = MEM32(edx + 0x4); /* 0x2B07F188: mov esi, dword ptr [edx + 4] */ 12905 goto L_2B07F20B; /* 0x2B07F18B: jmp 0x2b07f20b */ 12906 L_2B07F18D: 12907 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B07F18D: cmp esi, dword ptr [eax + 8] */ 12908 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12910 _flag_k = FK_CMP; 12911 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F19C; /* 0x2B07F190: jne 0x2b07f19c */ 12912 L_2B07F192: 12913 esi = eax; /* 0x2B07F192: mov esi, eax */ 12914 PUSH32(esp, esi); /* 0x2B07F194: push esi */ 12915 ecx = edi; /* 0x2B07F195: mov ecx, edi */ 12916 RECOMP_ICALL(0x2B02A580u); /* 0x2B07F197: call 0x2b02a580 */ /* not lifted */ 12917 RECOMP_FLAGS_IN(); 12918 L_2B07F19C: 12919 eax = MEM32(esi + 0x4); /* 0x2B07F19C: mov eax, dword ptr [esi + 4] */ 12920 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x2B07F19F: mov byte ptr [eax + 0x18], 1 */ 12921 ecx = MEM32(esi + 0x4); /* 0x2B07F1A3: mov ecx, dword ptr [esi + 4] */ 12922 edx = MEM32(ecx + 0x4); /* 0x2B07F1A6: mov edx, dword ptr [ecx + 4] */ 12923 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F1A9: mov byte ptr [edx + 0x18], 0 */ 12924 eax = MEM32(esi + 0x4); /* 0x2B07F1AD: mov eax, dword ptr [esi + 4] */ 12925 ecx = MEM32(eax + 0x4); /* 0x2B07F1B0: mov ecx, dword ptr [eax + 4] */ 12926 PUSH32(esp, ecx); /* 0x2B07F1B3: push ecx */ 12927 ecx = edi; /* 0x2B07F1B4: mov ecx, edi */ 12928 RECOMP_ICALL(0x2B08B210u); /* 0x2B07F1B6: call 0x2b08b210 */ /* not lifted */ 12929 RECOMP_FLAGS_IN(); 12930 goto L_2B07F20B; /* 0x2B07F1BB: jmp 0x2b07f20b */ 12931 L_2B07F1BD: 12932 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F1BD: mov dl, byte ptr [ecx + 0x18] */ 12933 /* test LO8(edx), LO8(edx) */ /* 0x2B07F1C0: test dl, dl */ 12934 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12935 _cf = 0; 12936 _flag_k = FK_NARROW(FK_TEST, 24); 12937 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F1DE; /* 0x2B07F1C2: jne 0x2b07f1de */ 12938 L_2B07F1C4: 12939 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x2B07F1C4: mov byte ptr [eax + 0x18], 1 */ 12940 MEM8(ecx + 0x18) = (uint8_t)(1); /* 0x2B07F1C8: mov byte ptr [ecx + 0x18], 1 */ 12941 edx = MEM32(esi + 0x4); /* 0x2B07F1CC: mov edx, dword ptr [esi + 4] */ 12942 eax = MEM32(edx + 0x4); /* 0x2B07F1CF: mov eax, dword ptr [edx + 4] */ 12943 MEM8(eax + 0x18) = (uint8_t)(0); /* 0x2B07F1D2: mov byte ptr [eax + 0x18], 0 */ 12944 ecx = MEM32(esi + 0x4); /* 0x2B07F1D6: mov ecx, dword ptr [esi + 4] */ 12945 esi = MEM32(ecx + 0x4); /* 0x2B07F1D9: mov esi, dword ptr [ecx + 4] */ 12946 goto L_2B07F20B; /* 0x2B07F1DC: jmp 0x2b07f20b */ 12947 L_2B07F1DE: 12948 /* cmp esi, MEM32(eax) */ /* 0x2B07F1DE: cmp esi, dword ptr [eax] */ 12949 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 12950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12951 _flag_k = FK_CMP; 12952 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F1EC; /* 0x2B07F1E0: jne 0x2b07f1ec */ 12953 L_2B07F1E2: 12954 esi = eax; /* 0x2B07F1E2: mov esi, eax */ 12955 PUSH32(esp, esi); /* 0x2B07F1E4: push esi */ 12956 ecx = edi; /* 0x2B07F1E5: mov ecx, edi */ 12957 RECOMP_ICALL(0x2B08B210u); /* 0x2B07F1E7: call 0x2b08b210 */ /* not lifted */ 12958 RECOMP_FLAGS_IN(); 12959 L_2B07F1EC: 12960 edx = MEM32(esi + 0x4); /* 0x2B07F1EC: mov edx, dword ptr [esi + 4] */ 12961 MEM8(edx + 0x18) = (uint8_t)(1); /* 0x2B07F1EF: mov byte ptr [edx + 0x18], 1 */ 12962 eax = MEM32(esi + 0x4); /* 0x2B07F1F3: mov eax, dword ptr [esi + 4] */ 12963 ecx = MEM32(eax + 0x4); /* 0x2B07F1F6: mov ecx, dword ptr [eax + 4] */ 12964 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07F1F9: mov byte ptr [ecx + 0x18], 0 */ 12965 edx = MEM32(esi + 0x4); /* 0x2B07F1FD: mov edx, dword ptr [esi + 4] */ 12966 eax = MEM32(edx + 0x4); /* 0x2B07F200: mov eax, dword ptr [edx + 4] */ 12967 PUSH32(esp, eax); /* 0x2B07F203: push eax */ 12968 ecx = edi; /* 0x2B07F204: mov ecx, edi */ 12969 RECOMP_ICALL(0x2B02A580u); /* 0x2B07F206: call 0x2b02a580 */ /* not lifted */ 12970 RECOMP_FLAGS_IN(); 12971 L_2B07F20B: 12972 ecx = MEM32(edi + 0x4); /* 0x2B07F20B: mov ecx, dword ptr [edi + 4] */ 12973 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B07F20E: cmp esi, dword ptr [ecx + 4] */ 12974 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12976 _flag_k = FK_CMP; 12977 RECOMP_BACKEDGE(); 12978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F152; /* 0x2B07F211: jne 0x2b07f152 */ 12979 L_2B07F217: 12980 edx = MEM32(edi + 0x4); /* 0x2B07F217: mov edx, dword ptr [edi + 4] */ 12981 eax = MEM32(edx + 0x4); /* 0x2B07F21A: mov eax, dword ptr [edx + 4] */ 12982 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x2B07F21D: mov byte ptr [eax + 0x18], 1 */ 12983 eax = MEM32(ebp + 0x8); /* 0x2B07F221: mov eax, dword ptr [ebp + 8] */ 12984 edi = POP32_VAL(esp); /* 0x2B07F224: pop edi */ 12985 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B07F225: mov byte ptr [ebp - 8], 1 */ 12986 ecx = MEM32(ebp + (-0x8)); /* 0x2B07F229: mov ecx, dword ptr [ebp - 8] */ 12987 MEM32(eax) = ebx; /* 0x2B07F22C: mov dword ptr [eax], ebx */ 12988 esi = POP32_VAL(esp); /* 0x2B07F22E: pop esi */ 12989 MEM32(eax + 0x4) = ecx; /* 0x2B07F22F: mov dword ptr [eax + 4], ecx */ 12990 ebx = POP32_VAL(esp); /* 0x2B07F232: pop ebx */ 12991 esp = ebp; /* 0x2B07F233: mov esp, ebp */ 12992 ebp = POP32_VAL(esp); /* 0x2B07F235: pop ebp */ 12993 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F236: ret 8 */ 12994 L_2B07F239: 12995 /* test LO8(eax), LO8(eax) */ /* 0x2B07F239: test al, al */ 12996 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12997 _cf = 0; 12998 _flag_k = FK_NARROW(FK_TEST, 24); 12999 edx = esi; /* 0x2B07F23B: mov edx, esi */ 13000 MEM32(ebp + (-0x8)) = edx; /* 0x2B07F23D: mov dword ptr [ebp - 8], edx */ 13001 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F27C; /* 0x2B07F240: je 0x2b07f27c */ 13002 L_2B07F242: 13003 /* cmp esi, MEM32(ecx) */ /* 0x2B07F242: cmp esi, dword ptr [ecx] */ 13004 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx)); 13005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13006 _flag_k = FK_CMP; 13007 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F271; /* 0x2B07F244: jne 0x2b07f271 */ 13008 L_2B07F246: 13009 edx = MEM32(ebp + 0xC); /* 0x2B07F246: mov edx, dword ptr [ebp + 0xc] */ 13010 PUSH32(esp, edx); /* 0x2B07F249: push edx */ 13011 PUSH32(esp, esi); /* 0x2B07F24A: push esi */ 13012 PUSH32(esp, ebx); /* 0x2B07F24B: push ebx */ 13013 eax = ebp + 0xC; /* 0x2B07F24C: lea eax, [ebp + 0xc] */ 13014 PUSH32(esp, eax); /* 0x2B07F24F: push eax */ 13015 ecx = edi; /* 0x2B07F250: mov ecx, edi */ 13016 RECOMP_ICALL(0x2B07FDB0u); /* 0x2B07F252: call 0x2b07fdb0 */ /* not lifted */ 13017 RECOMP_FLAGS_IN(); 13018 ecx = MEM32(eax); /* 0x2B07F257: mov ecx, dword ptr [eax] */ 13019 eax = MEM32(ebp + 0x8); /* 0x2B07F259: mov eax, dword ptr [ebp + 8] */ 13020 edi = POP32_VAL(esp); /* 0x2B07F25C: pop edi */ 13021 MEM32(eax) = ecx; /* 0x2B07F25D: mov dword ptr [eax], ecx */ 13022 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B07F25F: mov byte ptr [ebp - 8], 1 */ 13023 ecx = MEM32(ebp + (-0x8)); /* 0x2B07F263: mov ecx, dword ptr [ebp - 8] */ 13024 esi = POP32_VAL(esp); /* 0x2B07F266: pop esi */ 13025 MEM32(eax + 0x4) = ecx; /* 0x2B07F267: mov dword ptr [eax + 4], ecx */ 13026 ebx = POP32_VAL(esp); /* 0x2B07F26A: pop ebx */ 13027 esp = ebp; /* 0x2B07F26B: mov esp, ebp */ 13028 ebp = POP32_VAL(esp); /* 0x2B07F26D: pop ebp */ 13029 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F26E: ret 8 */ 13030 L_2B07F271: 13031 ecx = ebp + (-0x8); /* 0x2B07F271: lea ecx, [ebp - 8] */ 13032 RECOMP_ICALL(0x2B081160u); /* 0x2B07F274: call 0x2b081160 */ /* not lifted */ 13033 RECOMP_FLAGS_IN(); 13034 edx = MEM32(ebp + (-0x8)); /* 0x2B07F279: mov edx, dword ptr [ebp - 8] */ 13035 L_2B07F27C: 13036 ecx = MEM32(edx + 0xC); /* 0x2B07F27C: mov ecx, dword ptr [edx + 0xc] */ 13037 eax = MEM32(ebp + 0xC); /* 0x2B07F27F: mov eax, dword ptr [ebp + 0xc] */ 13038 /* cmp ecx, MEM32(eax) */ /* 0x2B07F282: cmp ecx, dword ptr [eax] */ 13039 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 13040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13041 _flag_k = FK_CMP; 13042 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07F2AE; /* 0x2B07F284: jae 0x2b07f2ae */ 13043 L_2B07F286: 13044 PUSH32(esp, eax); /* 0x2B07F286: push eax */ 13045 PUSH32(esp, esi); /* 0x2B07F287: push esi */ 13046 PUSH32(esp, ebx); /* 0x2B07F288: push ebx */ 13047 edx = ebp + 0xC; /* 0x2B07F289: lea edx, [ebp + 0xc] */ 13048 PUSH32(esp, edx); /* 0x2B07F28C: push edx */ 13049 ecx = edi; /* 0x2B07F28D: mov ecx, edi */ 13050 RECOMP_ICALL(0x2B07FDB0u); /* 0x2B07F28F: call 0x2b07fdb0 */ /* not lifted */ 13051 RECOMP_FLAGS_IN(); 13052 ecx = MEM32(eax); /* 0x2B07F294: mov ecx, dword ptr [eax] */ 13053 eax = MEM32(ebp + 0x8); /* 0x2B07F296: mov eax, dword ptr [ebp + 8] */ 13054 edi = POP32_VAL(esp); /* 0x2B07F299: pop edi */ 13055 MEM32(eax) = ecx; /* 0x2B07F29A: mov dword ptr [eax], ecx */ 13056 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B07F29C: mov byte ptr [ebp - 8], 1 */ 13057 ecx = MEM32(ebp + (-0x8)); /* 0x2B07F2A0: mov ecx, dword ptr [ebp - 8] */ 13058 esi = POP32_VAL(esp); /* 0x2B07F2A3: pop esi */ 13059 MEM32(eax + 0x4) = ecx; /* 0x2B07F2A4: mov dword ptr [eax + 4], ecx */ 13060 ebx = POP32_VAL(esp); /* 0x2B07F2A7: pop ebx */ 13061 esp = ebp; /* 0x2B07F2A8: mov esp, ebp */ 13062 ebp = POP32_VAL(esp); /* 0x2B07F2AA: pop ebp */ 13063 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F2AB: ret 8 */ 13064 L_2B07F2AE: 13065 eax = MEM32(ebp + 0x8); /* 0x2B07F2AE: mov eax, dword ptr [ebp + 8] */ 13066 edi = POP32_VAL(esp); /* 0x2B07F2B1: pop edi */ 13067 MEM32(eax) = edx; /* 0x2B07F2B2: mov dword ptr [eax], edx */ 13068 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x2B07F2B4: mov byte ptr [ebp - 8], 0 */ 13069 edx = MEM32(ebp + (-0x8)); /* 0x2B07F2B8: mov edx, dword ptr [ebp - 8] */ 13070 esi = POP32_VAL(esp); /* 0x2B07F2BB: pop esi */ 13071 MEM32(eax + 0x4) = edx; /* 0x2B07F2BC: mov dword ptr [eax + 4], edx */ 13072 ebx = POP32_VAL(esp); /* 0x2B07F2BF: pop ebx */ 13073 esp = ebp; /* 0x2B07F2C0: mov esp, ebp */ 13074 ebp = POP32_VAL(esp); /* 0x2B07F2C2: pop ebp */ 13075 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F2C3: ret 8 */ 13076 RECOMP_REGS_OUT(); 13077 } 13078 13079 void sub_2B07F2D0(void) { 13080 int _fpu_cmp = 0; 13081 uint32_t _cf = 0; 13082 int _df = 1; 13083 uint32_t _flag_k = FK_NONE; 13084 uint32_t _flag_a = 0, _flag_b = 0; 13085 uint32_t _itail_tgt = 0; 13086 RECOMP_REGS_LOCALS 13087 RECOMP_ENTER(0x2B07F2D0u); 13088 13089 L_2B07F2D0: 13090 PUSH32(esp, ebp); /* 0x2B07F2D0: push ebp */ 13091 ebp = esp; /* 0x2B07F2D1: mov ebp, esp */ 13092 eax = MEM32(ebp + 0x10); /* 0x2B07F2D3: mov eax, dword ptr [ebp + 0x10] */ 13093 edx = MEM32(ebp + 0x8); /* 0x2B07F2D6: mov edx, dword ptr [ebp + 8] */ 13094 PUSH32(esp, ebx); /* 0x2B07F2D9: push ebx */ 13095 PUSH32(esp, esi); /* 0x2B07F2DA: push esi */ 13096 esi = ecx; /* 0x2B07F2DB: mov esi, ecx */ 13097 SET_LO8(ecx, MEM8(eax)); /* 0x2B07F2DD: mov cl, byte ptr [eax] */ 13098 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2B07F2DF: mov byte ptr [esi], cl */ 13099 SET_LO8(eax, MEM8(edx)); /* 0x2B07F2E1: mov al, byte ptr [edx] */ 13100 SET_LO8(ecx, MEM8(ebp + 0xC)); /* 0x2B07F2E3: mov cl, byte ptr [ebp + 0xc] */ 13101 PUSH32(esp, edi); /* 0x2B07F2E6: push edi */ 13102 PUSH32(esp, 0x64u); /* 0x2B07F2E7: push 0x64 */ 13103 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B07F2E9: mov byte ptr [esi + 1], al */ 13104 MEM8(esi + 0xC) = (uint8_t)(LO8(ecx)); /* 0x2B07F2EC: mov byte ptr [esi + 0xc], cl */ 13105 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07F2EF: call 0x2b0ab212 */ /* not lifted */ 13106 RECOMP_FLAGS_IN(); 13107 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13108 ebx = 0; /* 0x2B07F2F4: xor ebx, ebx */ 13109 _cf = 0; 13110 _flag_k = FK_TEST; 13111 MEM32(eax + 0x4) = ebx; /* 0x2B07F2F6: mov dword ptr [eax + 4], ebx */ 13112 MEM8(eax + 0x61) = (uint8_t)(LO8(ebx)); /* 0x2B07F2F9: mov byte ptr [eax + 0x61], bl */ 13113 SET_LO8(ecx, 1); /* 0x2B07F2FC: mov cl, 1 */ 13114 MEM8(eax + 0x60) = (uint8_t)(LO8(ecx)); /* 0x2B07F2FE: mov byte ptr [eax + 0x60], cl */ 13115 MEM32(esi + 0x8) = eax; /* 0x2B07F301: mov dword ptr [esi + 8], eax */ 13116 MEM8(eax + 0x61) = (uint8_t)(LO8(ecx)); /* 0x2B07F304: mov byte ptr [eax + 0x61], cl */ 13117 edx = MEM32(esi + 0x8); /* 0x2B07F307: mov edx, dword ptr [esi + 8] */ 13118 MEM32(edx) = ebx; /* 0x2B07F30A: mov dword ptr [edx], ebx */ 13119 eax = MEM32(esi + 0x8); /* 0x2B07F30C: mov eax, dword ptr [esi + 8] */ 13120 MEM32(eax + 0x8) = ebx; /* 0x2B07F30F: mov dword ptr [eax + 8], ebx */ 13121 edi = MEM32(esi + 0x8); /* 0x2B07F312: mov edi, dword ptr [esi + 8] */ 13122 PUSH32(esp, 0x64u); /* 0x2B07F315: push 0x64 */ 13123 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07F317: call 0x2b0ab212 */ /* not lifted */ 13124 RECOMP_FLAGS_IN(); 13125 MEM32(eax + 0x4) = edi; /* 0x2B07F31C: mov dword ptr [eax + 4], edi */ 13126 MEM8(eax + 0x60) = (uint8_t)(LO8(ebx)); /* 0x2B07F31F: mov byte ptr [eax + 0x60], bl */ 13127 MEM8(eax + 0x61) = (uint8_t)(LO8(ebx)); /* 0x2B07F322: mov byte ptr [eax + 0x61], bl */ 13128 MEM32(esi + 0x4) = eax; /* 0x2B07F325: mov dword ptr [esi + 4], eax */ 13129 MEM32(eax) = eax; /* 0x2B07F328: mov dword ptr [eax], eax */ 13130 eax = MEM32(esi + 0x4); /* 0x2B07F32A: mov eax, dword ptr [esi + 4] */ 13131 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13132 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13133 esp = esp + 8; /* 0x2B07F32D: add esp, 8 */ 13134 _flag_k = FK_ADD; 13135 MEM32(eax + 0x8) = eax; /* 0x2B07F330: mov dword ptr [eax + 8], eax */ 13136 edi = POP32_VAL(esp); /* 0x2B07F333: pop edi */ 13137 MEM32(esi + 0x10) = ebx; /* 0x2B07F334: mov dword ptr [esi + 0x10], ebx */ 13138 eax = esi; /* 0x2B07F337: mov eax, esi */ 13139 esi = POP32_VAL(esp); /* 0x2B07F339: pop esi */ 13140 ebx = POP32_VAL(esp); /* 0x2B07F33A: pop ebx */ 13141 ebp = POP32_VAL(esp); /* 0x2B07F33B: pop ebp */ 13142 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07F33C: ret 0xc */ 13143 RECOMP_REGS_OUT(); 13144 } 13145 13146 void sub_2B07F340(void) { 13147 int _fpu_cmp = 0; 13148 uint32_t _cf = 0; 13149 int _df = 1; 13150 uint32_t _flag_k = FK_NONE; 13151 uint32_t _flag_a = 0, _flag_b = 0; 13152 uint32_t _itail_tgt = 0; 13153 RECOMP_REGS_LOCALS 13154 RECOMP_ENTER(0x2B07F340u); 13155 13156 L_2B07F340: 13157 PUSH32(esp, ebp); /* 0x2B07F340: push ebp */ 13158 ebp = esp; /* 0x2B07F341: mov ebp, esp */ 13159 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13161 esp = esp - 0xCu; /* 0x2B07F343: sub esp, 0xc */ 13162 _flag_k = FK_CMP; 13163 PUSH32(esp, ebx); /* 0x2B07F346: push ebx */ 13164 PUSH32(esp, esi); /* 0x2B07F347: push esi */ 13165 PUSH32(esp, edi); /* 0x2B07F348: push edi */ 13166 edi = ecx; /* 0x2B07F349: mov edi, ecx */ 13167 ecx = MEM32(edi + 0x4); /* 0x2B07F34B: mov ecx, dword ptr [edi + 4] */ 13168 ebx = MEM32(ecx + 0x4); /* 0x2B07F34E: mov ebx, dword ptr [ecx + 4] */ 13169 edx = MEM32(edi + 0x8); /* 0x2B07F351: mov edx, dword ptr [edi + 8] */ 13170 /* cmp ebx, edx */ /* 0x2B07F354: cmp ebx, edx */ 13171 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 13172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13173 _flag_k = FK_CMP; 13174 esi = ecx; /* 0x2B07F356: mov esi, ecx */ 13175 SET_LO8(eax, 1); /* 0x2B07F358: mov al, 1 */ 13176 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F37E; /* 0x2B07F35A: je 0x2b07f37e */ 13177 L_2B07F35C: 13178 eax = MEM32(ebp + 0xC); /* 0x2B07F35C: mov eax, dword ptr [ebp + 0xc] */ 13179 eax = MEM32(eax); /* 0x2B07F35F: mov eax, dword ptr [eax] */ 13180 MEM32(ebp + (-0x8)) = eax; /* 0x2B07F361: mov dword ptr [ebp - 8], eax */ 13181 L_2B07F364: 13182 eax = MEM32(ebp + (-0x8)); /* 0x2B07F364: mov eax, dword ptr [ebp - 8] */ 13183 /* cmp eax, MEM32(ebx + 0xC) */ /* 0x2B07F367: cmp eax, dword ptr [ebx + 0xc] */ 13184 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebx + 0xC)); 13185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13186 _flag_k = FK_CMP; 13187 esi = ebx; /* 0x2B07F36A: mov esi, ebx */ 13188 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B07F36C: setl al */ 13189 /* test LO8(eax), LO8(eax) */ /* 0x2B07F36F: test al, al */ 13190 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13191 _cf = 0; 13192 _flag_k = FK_NARROW(FK_TEST, 24); 13193 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F377; /* 0x2B07F371: je 0x2b07f377 */ 13194 L_2B07F373: 13195 ebx = MEM32(ebx); /* 0x2B07F373: mov ebx, dword ptr [ebx] */ 13196 goto L_2B07F37A; /* 0x2B07F375: jmp 0x2b07f37a */ 13197 L_2B07F377: 13198 ebx = MEM32(ebx + 0x8); /* 0x2B07F377: mov ebx, dword ptr [ebx + 8] */ 13199 L_2B07F37A: 13200 /* cmp ebx, edx */ /* 0x2B07F37A: cmp ebx, edx */ 13201 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 13202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13203 _flag_k = FK_CMP; 13204 RECOMP_BACKEDGE(); 13205 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F364; /* 0x2B07F37C: jne 0x2b07f364 */ 13206 L_2B07F37E: 13207 SET_LO8(edx, MEM8(edi + 0xC)); /* 0x2B07F37E: mov dl, byte ptr [edi + 0xc] */ 13208 /* test LO8(edx), LO8(edx) */ /* 0x2B07F381: test dl, dl */ 13209 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13210 _cf = 0; 13211 _flag_k = FK_NARROW(FK_TEST, 24); 13212 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F4F9; /* 0x2B07F383: je 0x2b07f4f9 */ 13213 L_2B07F389: 13214 PUSH32(esp, 0); /* 0x2B07F389: push 0 */ 13215 PUSH32(esp, esi); /* 0x2B07F38B: push esi */ 13216 ecx = edi; /* 0x2B07F38C: mov ecx, edi */ 13217 RECOMP_ICALL(0x2B0811C0u); /* 0x2B07F38E: call 0x2b0811c0 */ /* not lifted */ 13218 RECOMP_FLAGS_IN(); 13219 ecx = MEM32(edi + 0x8); /* 0x2B07F393: mov ecx, dword ptr [edi + 8] */ 13220 MEM32(eax) = ecx; /* 0x2B07F396: mov dword ptr [eax], ecx */ 13221 edx = MEM32(edi + 0x8); /* 0x2B07F398: mov edx, dword ptr [edi + 8] */ 13222 ecx = MEM32(ebp + 0xC); /* 0x2B07F39B: mov ecx, dword ptr [ebp + 0xc] */ 13223 MEM32(ebp + (-0x4)) = eax; /* 0x2B07F39E: mov dword ptr [ebp - 4], eax */ 13224 MEM32(eax + 0x8) = edx; /* 0x2B07F3A1: mov dword ptr [eax + 8], edx */ 13225 PUSH32(esp, ecx); /* 0x2B07F3A4: push ecx */ 13226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 13227 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13228 eax = eax + 0xCu; /* 0x2B07F3A5: add eax, 0xc */ 13229 _flag_k = FK_ADD; 13230 PUSH32(esp, eax); /* 0x2B07F3A8: push eax */ 13231 RECOMP_ICALL(0x2B081590u); /* 0x2B07F3A9: call 0x2b081590 */ /* not lifted */ 13232 RECOMP_FLAGS_IN(); 13233 ecx = MEM32(edi + 0x10); /* 0x2B07F3AE: mov ecx, dword ptr [edi + 0x10] */ 13234 eax = MEM32(edi + 0x4); /* 0x2B07F3B1: mov eax, dword ptr [edi + 4] */ 13235 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13236 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13237 esp = esp + 8; /* 0x2B07F3B4: add esp, 8 */ 13238 _flag_k = FK_ADD; 13239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13240 ecx = ecx + 1; /* 0x2B07F3B7: inc ecx */ 13241 _flag_k = FK_INC; 13242 /* cmp esi, eax */ /* 0x2B07F3B8: cmp esi, eax */ 13243 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13245 _flag_k = FK_CMP; 13246 MEM32(edi + 0x10) = ecx; /* 0x2B07F3BA: mov dword ptr [edi + 0x10], ecx */ 13247 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F3E1; /* 0x2B07F3BD: je 0x2b07f3e1 */ 13248 L_2B07F3BF: 13249 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x2B07F3BF: cmp ebx, dword ptr [edi + 8] */ 13250 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13252 _flag_k = FK_CMP; 13253 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F3E1; /* 0x2B07F3C2: jne 0x2b07f3e1 */ 13254 L_2B07F3C4: 13255 edx = MEM32(ebp + 0xC); /* 0x2B07F3C4: mov edx, dword ptr [ebp + 0xc] */ 13256 eax = MEM32(edx); /* 0x2B07F3C7: mov eax, dword ptr [edx] */ 13257 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B07F3C9: cmp eax, dword ptr [esi + 0xc] */ 13258 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 13259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13260 _flag_k = FK_CMP; 13261 if (CMP_L(_flag_a, _flag_b)) goto L_2B07F3E1; /* 0x2B07F3CC: jl 0x2b07f3e1 */ 13262 L_2B07F3CE: 13263 ebx = MEM32(ebp + (-0x4)); /* 0x2B07F3CE: mov ebx, dword ptr [ebp - 4] */ 13264 MEM32(esi + 0x8) = ebx; /* 0x2B07F3D1: mov dword ptr [esi + 8], ebx */ 13265 eax = MEM32(edi + 0x4); /* 0x2B07F3D4: mov eax, dword ptr [edi + 4] */ 13266 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B07F3D7: cmp esi, dword ptr [eax + 8] */ 13267 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 13268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13269 _flag_k = FK_CMP; 13270 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F404; /* 0x2B07F3DA: jne 0x2b07f404 */ 13271 L_2B07F3DC: 13272 MEM32(eax + 0x8) = ebx; /* 0x2B07F3DC: mov dword ptr [eax + 8], ebx */ 13273 goto L_2B07F404; /* 0x2B07F3DF: jmp 0x2b07f404 */ 13274 L_2B07F3E1: 13275 ecx = MEM32(ebp + (-0x4)); /* 0x2B07F3E1: mov ecx, dword ptr [ebp - 4] */ 13276 MEM32(esi) = ecx; /* 0x2B07F3E4: mov dword ptr [esi], ecx */ 13277 eax = MEM32(edi + 0x4); /* 0x2B07F3E6: mov eax, dword ptr [edi + 4] */ 13278 /* cmp esi, eax */ /* 0x2B07F3E9: cmp esi, eax */ 13279 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13281 _flag_k = FK_CMP; 13282 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F3F8; /* 0x2B07F3EB: jne 0x2b07f3f8 */ 13283 L_2B07F3ED: 13284 MEM32(eax + 0x4) = ecx; /* 0x2B07F3ED: mov dword ptr [eax + 4], ecx */ 13285 edx = MEM32(edi + 0x4); /* 0x2B07F3F0: mov edx, dword ptr [edi + 4] */ 13286 MEM32(edx + 0x8) = ecx; /* 0x2B07F3F3: mov dword ptr [edx + 8], ecx */ 13287 goto L_2B07F401; /* 0x2B07F3F6: jmp 0x2b07f401 */ 13288 L_2B07F3F8: 13289 /* cmp esi, MEM32(eax) */ /* 0x2B07F3F8: cmp esi, dword ptr [eax] */ 13290 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 13291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13292 _flag_k = FK_CMP; 13293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F401; /* 0x2B07F3FA: jne 0x2b07f401 */ 13294 L_2B07F3FC: 13295 ecx = MEM32(ebp + (-0x4)); /* 0x2B07F3FC: mov ecx, dword ptr [ebp - 4] */ 13296 MEM32(eax) = ecx; /* 0x2B07F3FF: mov dword ptr [eax], ecx */ 13297 L_2B07F401: 13298 ebx = MEM32(ebp + (-0x4)); /* 0x2B07F401: mov ebx, dword ptr [ebp - 4] */ 13299 L_2B07F404: 13300 edx = MEM32(edi + 0x4); /* 0x2B07F404: mov edx, dword ptr [edi + 4] */ 13301 /* cmp ebx, MEM32(edx + 0x4) */ /* 0x2B07F407: cmp ebx, dword ptr [edx + 4] */ 13302 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13304 _flag_k = FK_CMP; 13305 esi = ebx; /* 0x2B07F40A: mov esi, ebx */ 13306 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F4D7; /* 0x2B07F40C: je 0x2b07f4d7 */ 13307 L_2B07F412: 13308 eax = MEM32(esi + 0x4); /* 0x2B07F412: mov eax, dword ptr [esi + 4] */ 13309 SET_LO8(ecx, MEM8(eax + 0x60)); /* 0x2B07F415: mov cl, byte ptr [eax + 0x60] */ 13310 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07F418: test cl, cl */ 13311 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13312 _cf = 0; 13313 _flag_k = FK_NARROW(FK_TEST, 24); 13314 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F4D7; /* 0x2B07F41A: jne 0x2b07f4d7 */ 13315 L_2B07F420: 13316 edx = MEM32(eax + 0x4); /* 0x2B07F420: mov edx, dword ptr [eax + 4] */ 13317 ecx = MEM32(edx); /* 0x2B07F423: mov ecx, dword ptr [edx] */ 13318 /* cmp eax, ecx */ /* 0x2B07F425: cmp eax, ecx */ 13319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13321 _flag_k = FK_CMP; 13322 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F47D; /* 0x2B07F427: jne 0x2b07f47d */ 13323 L_2B07F429: 13324 ecx = MEM32(edx + 0x8); /* 0x2B07F429: mov ecx, dword ptr [edx + 8] */ 13325 SET_LO8(edx, MEM8(ecx + 0x60)); /* 0x2B07F42C: mov dl, byte ptr [ecx + 0x60] */ 13326 /* test LO8(edx), LO8(edx) */ /* 0x2B07F42F: test dl, dl */ 13327 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13328 _cf = 0; 13329 _flag_k = FK_NARROW(FK_TEST, 24); 13330 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F44D; /* 0x2B07F431: jne 0x2b07f44d */ 13331 L_2B07F433: 13332 MEM8(eax + 0x60) = (uint8_t)(1); /* 0x2B07F433: mov byte ptr [eax + 0x60], 1 */ 13333 MEM8(ecx + 0x60) = (uint8_t)(1); /* 0x2B07F437: mov byte ptr [ecx + 0x60], 1 */ 13334 eax = MEM32(esi + 0x4); /* 0x2B07F43B: mov eax, dword ptr [esi + 4] */ 13335 ecx = MEM32(eax + 0x4); /* 0x2B07F43E: mov ecx, dword ptr [eax + 4] */ 13336 MEM8(ecx + 0x60) = (uint8_t)(0); /* 0x2B07F441: mov byte ptr [ecx + 0x60], 0 */ 13337 edx = MEM32(esi + 0x4); /* 0x2B07F445: mov edx, dword ptr [esi + 4] */ 13338 esi = MEM32(edx + 0x4); /* 0x2B07F448: mov esi, dword ptr [edx + 4] */ 13339 goto L_2B07F4CB; /* 0x2B07F44B: jmp 0x2b07f4cb */ 13340 L_2B07F44D: 13341 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B07F44D: cmp esi, dword ptr [eax + 8] */ 13342 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 13343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13344 _flag_k = FK_CMP; 13345 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F45C; /* 0x2B07F450: jne 0x2b07f45c */ 13346 L_2B07F452: 13347 esi = eax; /* 0x2B07F452: mov esi, eax */ 13348 PUSH32(esp, esi); /* 0x2B07F454: push esi */ 13349 ecx = edi; /* 0x2B07F455: mov ecx, edi */ 13350 RECOMP_ICALL(0x2B02A580u); /* 0x2B07F457: call 0x2b02a580 */ /* not lifted */ 13351 RECOMP_FLAGS_IN(); 13352 L_2B07F45C: 13353 eax = MEM32(esi + 0x4); /* 0x2B07F45C: mov eax, dword ptr [esi + 4] */ 13354 MEM8(eax + 0x60) = (uint8_t)(1); /* 0x2B07F45F: mov byte ptr [eax + 0x60], 1 */ 13355 ecx = MEM32(esi + 0x4); /* 0x2B07F463: mov ecx, dword ptr [esi + 4] */ 13356 edx = MEM32(ecx + 0x4); /* 0x2B07F466: mov edx, dword ptr [ecx + 4] */ 13357 MEM8(edx + 0x60) = (uint8_t)(0); /* 0x2B07F469: mov byte ptr [edx + 0x60], 0 */ 13358 eax = MEM32(esi + 0x4); /* 0x2B07F46D: mov eax, dword ptr [esi + 4] */ 13359 ecx = MEM32(eax + 0x4); /* 0x2B07F470: mov ecx, dword ptr [eax + 4] */ 13360 PUSH32(esp, ecx); /* 0x2B07F473: push ecx */ 13361 ecx = edi; /* 0x2B07F474: mov ecx, edi */ 13362 RECOMP_ICALL(0x2B08B210u); /* 0x2B07F476: call 0x2b08b210 */ /* not lifted */ 13363 RECOMP_FLAGS_IN(); 13364 goto L_2B07F4CB; /* 0x2B07F47B: jmp 0x2b07f4cb */ 13365 L_2B07F47D: 13366 SET_LO8(edx, MEM8(ecx + 0x60)); /* 0x2B07F47D: mov dl, byte ptr [ecx + 0x60] */ 13367 /* test LO8(edx), LO8(edx) */ /* 0x2B07F480: test dl, dl */ 13368 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13369 _cf = 0; 13370 _flag_k = FK_NARROW(FK_TEST, 24); 13371 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F49E; /* 0x2B07F482: jne 0x2b07f49e */ 13372 L_2B07F484: 13373 MEM8(eax + 0x60) = (uint8_t)(1); /* 0x2B07F484: mov byte ptr [eax + 0x60], 1 */ 13374 MEM8(ecx + 0x60) = (uint8_t)(1); /* 0x2B07F488: mov byte ptr [ecx + 0x60], 1 */ 13375 edx = MEM32(esi + 0x4); /* 0x2B07F48C: mov edx, dword ptr [esi + 4] */ 13376 eax = MEM32(edx + 0x4); /* 0x2B07F48F: mov eax, dword ptr [edx + 4] */ 13377 MEM8(eax + 0x60) = (uint8_t)(0); /* 0x2B07F492: mov byte ptr [eax + 0x60], 0 */ 13378 ecx = MEM32(esi + 0x4); /* 0x2B07F496: mov ecx, dword ptr [esi + 4] */ 13379 esi = MEM32(ecx + 0x4); /* 0x2B07F499: mov esi, dword ptr [ecx + 4] */ 13380 goto L_2B07F4CB; /* 0x2B07F49C: jmp 0x2b07f4cb */ 13381 L_2B07F49E: 13382 /* cmp esi, MEM32(eax) */ /* 0x2B07F49E: cmp esi, dword ptr [eax] */ 13383 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 13384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13385 _flag_k = FK_CMP; 13386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F4AC; /* 0x2B07F4A0: jne 0x2b07f4ac */ 13387 L_2B07F4A2: 13388 esi = eax; /* 0x2B07F4A2: mov esi, eax */ 13389 PUSH32(esp, esi); /* 0x2B07F4A4: push esi */ 13390 ecx = edi; /* 0x2B07F4A5: mov ecx, edi */ 13391 RECOMP_ICALL(0x2B08B210u); /* 0x2B07F4A7: call 0x2b08b210 */ /* not lifted */ 13392 RECOMP_FLAGS_IN(); 13393 L_2B07F4AC: 13394 edx = MEM32(esi + 0x4); /* 0x2B07F4AC: mov edx, dword ptr [esi + 4] */ 13395 MEM8(edx + 0x60) = (uint8_t)(1); /* 0x2B07F4AF: mov byte ptr [edx + 0x60], 1 */ 13396 eax = MEM32(esi + 0x4); /* 0x2B07F4B3: mov eax, dword ptr [esi + 4] */ 13397 ecx = MEM32(eax + 0x4); /* 0x2B07F4B6: mov ecx, dword ptr [eax + 4] */ 13398 MEM8(ecx + 0x60) = (uint8_t)(0); /* 0x2B07F4B9: mov byte ptr [ecx + 0x60], 0 */ 13399 edx = MEM32(esi + 0x4); /* 0x2B07F4BD: mov edx, dword ptr [esi + 4] */ 13400 eax = MEM32(edx + 0x4); /* 0x2B07F4C0: mov eax, dword ptr [edx + 4] */ 13401 PUSH32(esp, eax); /* 0x2B07F4C3: push eax */ 13402 ecx = edi; /* 0x2B07F4C4: mov ecx, edi */ 13403 RECOMP_ICALL(0x2B02A580u); /* 0x2B07F4C6: call 0x2b02a580 */ /* not lifted */ 13404 RECOMP_FLAGS_IN(); 13405 L_2B07F4CB: 13406 ecx = MEM32(edi + 0x4); /* 0x2B07F4CB: mov ecx, dword ptr [edi + 4] */ 13407 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B07F4CE: cmp esi, dword ptr [ecx + 4] */ 13408 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13410 _flag_k = FK_CMP; 13411 RECOMP_BACKEDGE(); 13412 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F412; /* 0x2B07F4D1: jne 0x2b07f412 */ 13413 L_2B07F4D7: 13414 edx = MEM32(edi + 0x4); /* 0x2B07F4D7: mov edx, dword ptr [edi + 4] */ 13415 eax = MEM32(edx + 0x4); /* 0x2B07F4DA: mov eax, dword ptr [edx + 4] */ 13416 MEM8(eax + 0x60) = (uint8_t)(1); /* 0x2B07F4DD: mov byte ptr [eax + 0x60], 1 */ 13417 eax = MEM32(ebp + 0x8); /* 0x2B07F4E1: mov eax, dword ptr [ebp + 8] */ 13418 edi = POP32_VAL(esp); /* 0x2B07F4E4: pop edi */ 13419 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B07F4E5: mov byte ptr [ebp - 8], 1 */ 13420 ecx = MEM32(ebp + (-0x8)); /* 0x2B07F4E9: mov ecx, dword ptr [ebp - 8] */ 13421 MEM32(eax) = ebx; /* 0x2B07F4EC: mov dword ptr [eax], ebx */ 13422 esi = POP32_VAL(esp); /* 0x2B07F4EE: pop esi */ 13423 MEM32(eax + 0x4) = ecx; /* 0x2B07F4EF: mov dword ptr [eax + 4], ecx */ 13424 ebx = POP32_VAL(esp); /* 0x2B07F4F2: pop ebx */ 13425 esp = ebp; /* 0x2B07F4F3: mov esp, ebp */ 13426 ebp = POP32_VAL(esp); /* 0x2B07F4F5: pop ebp */ 13427 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F4F6: ret 8 */ 13428 L_2B07F4F9: 13429 /* test LO8(eax), LO8(eax) */ /* 0x2B07F4F9: test al, al */ 13430 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13431 _cf = 0; 13432 _flag_k = FK_NARROW(FK_TEST, 24); 13433 edx = esi; /* 0x2B07F4FB: mov edx, esi */ 13434 MEM32(ebp + (-0x8)) = edx; /* 0x2B07F4FD: mov dword ptr [ebp - 8], edx */ 13435 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F53C; /* 0x2B07F500: je 0x2b07f53c */ 13436 L_2B07F502: 13437 /* cmp esi, MEM32(ecx) */ /* 0x2B07F502: cmp esi, dword ptr [ecx] */ 13438 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx)); 13439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13440 _flag_k = FK_CMP; 13441 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F531; /* 0x2B07F504: jne 0x2b07f531 */ 13442 L_2B07F506: 13443 edx = MEM32(ebp + 0xC); /* 0x2B07F506: mov edx, dword ptr [ebp + 0xc] */ 13444 PUSH32(esp, edx); /* 0x2B07F509: push edx */ 13445 PUSH32(esp, esi); /* 0x2B07F50A: push esi */ 13446 PUSH32(esp, ebx); /* 0x2B07F50B: push ebx */ 13447 eax = ebp + 0xC; /* 0x2B07F50C: lea eax, [ebp + 0xc] */ 13448 PUSH32(esp, eax); /* 0x2B07F50F: push eax */ 13449 ecx = edi; /* 0x2B07F510: mov ecx, edi */ 13450 RECOMP_ICALL(0x2B080780u); /* 0x2B07F512: call 0x2b080780 */ /* not lifted */ 13451 RECOMP_FLAGS_IN(); 13452 ecx = MEM32(eax); /* 0x2B07F517: mov ecx, dword ptr [eax] */ 13453 eax = MEM32(ebp + 0x8); /* 0x2B07F519: mov eax, dword ptr [ebp + 8] */ 13454 edi = POP32_VAL(esp); /* 0x2B07F51C: pop edi */ 13455 MEM32(eax) = ecx; /* 0x2B07F51D: mov dword ptr [eax], ecx */ 13456 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B07F51F: mov byte ptr [ebp - 8], 1 */ 13457 ecx = MEM32(ebp + (-0x8)); /* 0x2B07F523: mov ecx, dword ptr [ebp - 8] */ 13458 esi = POP32_VAL(esp); /* 0x2B07F526: pop esi */ 13459 MEM32(eax + 0x4) = ecx; /* 0x2B07F527: mov dword ptr [eax + 4], ecx */ 13460 ebx = POP32_VAL(esp); /* 0x2B07F52A: pop ebx */ 13461 esp = ebp; /* 0x2B07F52B: mov esp, ebp */ 13462 ebp = POP32_VAL(esp); /* 0x2B07F52D: pop ebp */ 13463 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F52E: ret 8 */ 13464 L_2B07F531: 13465 ecx = ebp + (-0x8); /* 0x2B07F531: lea ecx, [ebp - 8] */ 13466 RECOMP_ICALL(0x2B0809C0u); /* 0x2B07F534: call 0x2b0809c0 */ /* not lifted */ 13467 RECOMP_FLAGS_IN(); 13468 edx = MEM32(ebp + (-0x8)); /* 0x2B07F539: mov edx, dword ptr [ebp - 8] */ 13469 L_2B07F53C: 13470 ecx = MEM32(edx + 0xC); /* 0x2B07F53C: mov ecx, dword ptr [edx + 0xc] */ 13471 eax = MEM32(ebp + 0xC); /* 0x2B07F53F: mov eax, dword ptr [ebp + 0xc] */ 13472 /* cmp ecx, MEM32(eax) */ /* 0x2B07F542: cmp ecx, dword ptr [eax] */ 13473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 13474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13475 _flag_k = FK_CMP; 13476 if (CMP_GE(_flag_a, _flag_b)) goto L_2B07F56E; /* 0x2B07F544: jge 0x2b07f56e */ 13477 L_2B07F546: 13478 PUSH32(esp, eax); /* 0x2B07F546: push eax */ 13479 PUSH32(esp, esi); /* 0x2B07F547: push esi */ 13480 PUSH32(esp, ebx); /* 0x2B07F548: push ebx */ 13481 edx = ebp + 0xC; /* 0x2B07F549: lea edx, [ebp + 0xc] */ 13482 PUSH32(esp, edx); /* 0x2B07F54C: push edx */ 13483 ecx = edi; /* 0x2B07F54D: mov ecx, edi */ 13484 RECOMP_ICALL(0x2B080780u); /* 0x2B07F54F: call 0x2b080780 */ /* not lifted */ 13485 RECOMP_FLAGS_IN(); 13486 ecx = MEM32(eax); /* 0x2B07F554: mov ecx, dword ptr [eax] */ 13487 eax = MEM32(ebp + 0x8); /* 0x2B07F556: mov eax, dword ptr [ebp + 8] */ 13488 edi = POP32_VAL(esp); /* 0x2B07F559: pop edi */ 13489 MEM32(eax) = ecx; /* 0x2B07F55A: mov dword ptr [eax], ecx */ 13490 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x2B07F55C: mov byte ptr [ebp - 8], 1 */ 13491 ecx = MEM32(ebp + (-0x8)); /* 0x2B07F560: mov ecx, dword ptr [ebp - 8] */ 13492 esi = POP32_VAL(esp); /* 0x2B07F563: pop esi */ 13493 MEM32(eax + 0x4) = ecx; /* 0x2B07F564: mov dword ptr [eax + 4], ecx */ 13494 ebx = POP32_VAL(esp); /* 0x2B07F567: pop ebx */ 13495 esp = ebp; /* 0x2B07F568: mov esp, ebp */ 13496 ebp = POP32_VAL(esp); /* 0x2B07F56A: pop ebp */ 13497 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F56B: ret 8 */ 13498 L_2B07F56E: 13499 eax = MEM32(ebp + 0x8); /* 0x2B07F56E: mov eax, dword ptr [ebp + 8] */ 13500 edi = POP32_VAL(esp); /* 0x2B07F571: pop edi */ 13501 MEM32(eax) = edx; /* 0x2B07F572: mov dword ptr [eax], edx */ 13502 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x2B07F574: mov byte ptr [ebp - 8], 0 */ 13503 edx = MEM32(ebp + (-0x8)); /* 0x2B07F578: mov edx, dword ptr [ebp - 8] */ 13504 esi = POP32_VAL(esp); /* 0x2B07F57B: pop esi */ 13505 MEM32(eax + 0x4) = edx; /* 0x2B07F57C: mov dword ptr [eax + 4], edx */ 13506 ebx = POP32_VAL(esp); /* 0x2B07F57F: pop ebx */ 13507 esp = ebp; /* 0x2B07F580: mov esp, ebp */ 13508 ebp = POP32_VAL(esp); /* 0x2B07F582: pop ebp */ 13509 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F583: ret 8 */ 13510 RECOMP_REGS_OUT(); 13511 } 13512 13513 void sub_2B07F590(void) { 13514 int _fpu_cmp = 0; 13515 uint32_t _cf = 0; 13516 int _df = 1; 13517 uint32_t _flag_k = FK_NONE; 13518 uint32_t _flag_a = 0, _flag_b = 0; 13519 uint32_t _itail_tgt = 0; 13520 RECOMP_REGS_LOCALS 13521 RECOMP_ENTER(0x2B07F590u); 13522 13523 L_2B07F590: 13524 PUSH32(esp, ebp); /* 0x2B07F590: push ebp */ 13525 ebp = esp; /* 0x2B07F591: mov ebp, esp */ 13526 PUSH32(esp, ebx); /* 0x2B07F593: push ebx */ 13527 ebx = MEM32(ebp + 0x10); /* 0x2B07F594: mov ebx, dword ptr [ebp + 0x10] */ 13528 PUSH32(esp, esi); /* 0x2B07F597: push esi */ 13529 esi = ecx; /* 0x2B07F598: mov esi, ecx */ 13530 eax = MEM32(esi + 0x10); /* 0x2B07F59A: mov eax, dword ptr [esi + 0x10] */ 13531 /* test eax, eax */ /* 0x2B07F59D: test eax, eax */ 13532 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13533 _cf = 0; 13534 _flag_k = FK_TEST; 13535 ecx = MEM32(ebp + 0xC); /* 0x2B07F59F: mov ecx, dword ptr [ebp + 0xc] */ 13536 PUSH32(esp, edi); /* 0x2B07F5A2: push edi */ 13537 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F60D; /* 0x2B07F5A3: je 0x2b07f60d */ 13538 L_2B07F5A5: 13539 eax = MEM32(esi + 0x4); /* 0x2B07F5A5: mov eax, dword ptr [esi + 4] */ 13540 /* cmp ecx, MEM32(eax) */ /* 0x2B07F5A8: cmp ecx, dword ptr [eax] */ 13541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 13542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13543 _flag_k = FK_CMP; 13544 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F60D; /* 0x2B07F5AA: jne 0x2b07f60d */ 13545 L_2B07F5AC: 13546 /* cmp ebx, eax */ /* 0x2B07F5AC: cmp ebx, eax */ 13547 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 13548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13549 _flag_k = FK_CMP; 13550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F60D; /* 0x2B07F5AE: jne 0x2b07f60d */ 13551 L_2B07F5B0: 13552 ebx = MEM32(eax + 0x4); /* 0x2B07F5B0: mov ebx, dword ptr [eax + 4] */ 13553 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B07F5B3: cmp ebx, dword ptr [esi + 8] */ 13554 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13556 _flag_k = FK_CMP; 13557 edi = ebx; /* 0x2B07F5B6: mov edi, ebx */ 13558 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F5E1; /* 0x2B07F5B8: je 0x2b07f5e1 */ 13559 L_2B07F5BA: 13560 eax = MEM32(edi + 0x8); /* 0x2B07F5BA: mov eax, dword ptr [edi + 8] */ 13561 PUSH32(esp, eax); /* 0x2B07F5BD: push eax */ 13562 ecx = esi; /* 0x2B07F5BE: mov ecx, esi */ 13563 RECOMP_ICALL(0x2B080730u); /* 0x2B07F5C0: call 0x2b080730 */ /* not lifted */ 13564 RECOMP_FLAGS_IN(); 13565 edi = MEM32(edi); /* 0x2B07F5C5: mov edi, dword ptr [edi] */ 13566 ecx = ebx + 0xC; /* 0x2B07F5C7: lea ecx, [ebx + 0xc] */ 13567 RECOMP_ICALL(0x2B07CE90u); /* 0x2B07F5CA: call 0x2b07ce90 */ /* not lifted */ 13568 RECOMP_FLAGS_IN(); 13569 PUSH32(esp, ebx); /* 0x2B07F5CF: push ebx */ 13570 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07F5D0: call 0x2b0ab1ba */ /* not lifted */ 13571 RECOMP_FLAGS_IN(); 13572 eax = MEM32(esi + 0x8); /* 0x2B07F5D5: mov eax, dword ptr [esi + 8] */ 13573 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13574 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13575 esp = esp + 4; /* 0x2B07F5D8: add esp, 4 */ 13576 _flag_k = FK_ADD; 13577 /* cmp edi, eax */ /* 0x2B07F5DB: cmp edi, eax */ 13578 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13580 _flag_k = FK_CMP; 13581 ebx = edi; /* 0x2B07F5DD: mov ebx, edi */ 13582 RECOMP_BACKEDGE(); 13583 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F5BA; /* 0x2B07F5DF: jne 0x2b07f5ba */ 13584 L_2B07F5E1: 13585 ecx = MEM32(esi + 0x4); /* 0x2B07F5E1: mov ecx, dword ptr [esi + 4] */ 13586 edx = MEM32(esi + 0x8); /* 0x2B07F5E4: mov edx, dword ptr [esi + 8] */ 13587 MEM32(ecx + 0x4) = edx; /* 0x2B07F5E7: mov dword ptr [ecx + 4], edx */ 13588 eax = MEM32(esi + 0x4); /* 0x2B07F5EA: mov eax, dword ptr [esi + 4] */ 13589 MEM32(esi + 0x10) = 0; /* 0x2B07F5ED: mov dword ptr [esi + 0x10], 0 */ 13590 MEM32(eax) = eax; /* 0x2B07F5F4: mov dword ptr [eax], eax */ 13591 eax = MEM32(esi + 0x4); /* 0x2B07F5F6: mov eax, dword ptr [esi + 4] */ 13592 MEM32(eax + 0x8) = eax; /* 0x2B07F5F9: mov dword ptr [eax + 8], eax */ 13593 eax = MEM32(esi + 0x4); /* 0x2B07F5FC: mov eax, dword ptr [esi + 4] */ 13594 ecx = MEM32(eax); /* 0x2B07F5FF: mov ecx, dword ptr [eax] */ 13595 eax = MEM32(ebp + 0x8); /* 0x2B07F601: mov eax, dword ptr [ebp + 8] */ 13596 edi = POP32_VAL(esp); /* 0x2B07F604: pop edi */ 13597 esi = POP32_VAL(esp); /* 0x2B07F605: pop esi */ 13598 MEM32(eax) = ecx; /* 0x2B07F606: mov dword ptr [eax], ecx */ 13599 ebx = POP32_VAL(esp); /* 0x2B07F608: pop ebx */ 13600 ebp = POP32_VAL(esp); /* 0x2B07F609: pop ebp */ 13601 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07F60A: ret 0xc */ 13602 L_2B07F60D: 13603 /* cmp ecx, ebx */ /* 0x2B07F60D: cmp ecx, ebx */ 13604 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13606 _flag_k = FK_CMP; 13607 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F62E; /* 0x2B07F60F: je 0x2b07f62e */ 13608 L_2B07F611: 13609 edi = ecx; /* 0x2B07F611: mov edi, ecx */ 13610 ecx = ebp + 0xC; /* 0x2B07F613: lea ecx, [ebp + 0xc] */ 13611 RECOMP_ICALL(0x2B0814E0u); /* 0x2B07F616: call 0x2b0814e0 */ /* not lifted */ 13612 RECOMP_FLAGS_IN(); 13613 PUSH32(esp, edi); /* 0x2B07F61B: push edi */ 13614 ecx = ebp + 0x10; /* 0x2B07F61C: lea ecx, [ebp + 0x10] */ 13615 PUSH32(esp, ecx); /* 0x2B07F61F: push ecx */ 13616 ecx = esi; /* 0x2B07F620: mov ecx, esi */ 13617 RECOMP_ICALL(0x2B080360u); /* 0x2B07F622: call 0x2b080360 */ /* not lifted */ 13618 RECOMP_FLAGS_IN(); 13619 ecx = MEM32(ebp + 0xC); /* 0x2B07F627: mov ecx, dword ptr [ebp + 0xc] */ 13620 /* cmp ecx, ebx */ /* 0x2B07F62A: cmp ecx, ebx */ 13621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13623 _flag_k = FK_CMP; 13624 RECOMP_BACKEDGE(); 13625 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F611; /* 0x2B07F62C: jne 0x2b07f611 */ 13626 L_2B07F62E: 13627 eax = MEM32(ebp + 0x8); /* 0x2B07F62E: mov eax, dword ptr [ebp + 8] */ 13628 edi = POP32_VAL(esp); /* 0x2B07F631: pop edi */ 13629 esi = POP32_VAL(esp); /* 0x2B07F632: pop esi */ 13630 MEM32(eax) = ecx; /* 0x2B07F633: mov dword ptr [eax], ecx */ 13631 ebx = POP32_VAL(esp); /* 0x2B07F635: pop ebx */ 13632 ebp = POP32_VAL(esp); /* 0x2B07F636: pop ebp */ 13633 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B07F637: ret 0xc */ 13634 RECOMP_REGS_OUT(); 13635 } 13636 13637 void sub_2B07F640(void) { 13638 int _fpu_cmp = 0; 13639 uint32_t _cf = 0; 13640 int _df = 1; 13641 uint32_t _flag_k = FK_NONE; 13642 uint32_t _flag_a = 0, _flag_b = 0; 13643 uint32_t _itail_tgt = 0; 13644 RECOMP_REGS_LOCALS 13645 RECOMP_ENTER(0x2B07F640u); 13646 13647 L_2B07F640: 13648 PUSH32(esp, ebp); /* 0x2B07F640: push ebp */ 13649 ebp = esp; /* 0x2B07F641: mov ebp, esp */ 13650 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 13651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13652 esp = esp - 0x10u; /* 0x2B07F643: sub esp, 0x10 */ 13653 _flag_k = FK_CMP; 13654 PUSH32(esp, ebx); /* 0x2B07F646: push ebx */ 13655 ebx = ecx; /* 0x2B07F647: mov ebx, ecx */ 13656 edx = MEM32(ebx + 0x4); /* 0x2B07F649: mov edx, dword ptr [ebx + 4] */ 13657 ecx = MEM32(ebx + 0x8); /* 0x2B07F64C: mov ecx, dword ptr [ebx + 8] */ 13658 PUSH32(esp, esi); /* 0x2B07F64F: push esi */ 13659 esi = MEM32(edx + 0x4); /* 0x2B07F650: mov esi, dword ptr [edx + 4] */ 13660 /* cmp esi, ecx */ /* 0x2B07F653: cmp esi, ecx */ 13661 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 13662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13663 _flag_k = FK_CMP; 13664 PUSH32(esp, edi); /* 0x2B07F655: push edi */ 13665 edi = edx; /* 0x2B07F656: mov edi, edx */ 13666 SET_LO8(eax, 1); /* 0x2B07F658: mov al, 1 */ 13667 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F67E; /* 0x2B07F65A: je 0x2b07f67e */ 13668 L_2B07F65C: 13669 eax = MEM32(ebp + 0xC); /* 0x2B07F65C: mov eax, dword ptr [ebp + 0xc] */ 13670 eax = MEM32(eax); /* 0x2B07F65F: mov eax, dword ptr [eax] */ 13671 MEM32(ebp + (-0x4)) = eax; /* 0x2B07F661: mov dword ptr [ebp - 4], eax */ 13672 L_2B07F664: 13673 eax = MEM32(ebp + (-0x4)); /* 0x2B07F664: mov eax, dword ptr [ebp - 4] */ 13674 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B07F667: cmp eax, dword ptr [esi + 0xc] */ 13675 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 13676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13677 _flag_k = FK_CMP; 13678 edi = esi; /* 0x2B07F66A: mov edi, esi */ 13679 SET_LO8(eax, (CMP_B(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B07F66C: setb al */ 13680 /* test LO8(eax), LO8(eax) */ /* 0x2B07F66F: test al, al */ 13681 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13682 _cf = 0; 13683 _flag_k = FK_NARROW(FK_TEST, 24); 13684 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F677; /* 0x2B07F671: je 0x2b07f677 */ 13685 L_2B07F673: 13686 esi = MEM32(esi); /* 0x2B07F673: mov esi, dword ptr [esi] */ 13687 goto L_2B07F67A; /* 0x2B07F675: jmp 0x2b07f67a */ 13688 L_2B07F677: 13689 esi = MEM32(esi + 0x8); /* 0x2B07F677: mov esi, dword ptr [esi + 8] */ 13690 L_2B07F67A: 13691 /* cmp esi, ecx */ /* 0x2B07F67A: cmp esi, ecx */ 13692 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 13693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13694 _flag_k = FK_CMP; 13695 RECOMP_BACKEDGE(); 13696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F664; /* 0x2B07F67C: jne 0x2b07f664 */ 13697 L_2B07F67E: 13698 SET_LO8(ecx, MEM8(ebx + 0xC)); /* 0x2B07F67E: mov cl, byte ptr [ebx + 0xc] */ 13699 /* test LO8(ecx), LO8(ecx) */ /* 0x2B07F681: test cl, cl */ 13700 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13701 _cf = 0; 13702 _flag_k = FK_NARROW(FK_TEST, 24); 13703 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F6A3; /* 0x2B07F683: je 0x2b07f6a3 */ 13704 L_2B07F685: 13705 ecx = MEM32(ebp + 0xC); /* 0x2B07F685: mov ecx, dword ptr [ebp + 0xc] */ 13706 PUSH32(esp, ecx); /* 0x2B07F688: push ecx */ 13707 PUSH32(esp, edi); /* 0x2B07F689: push edi */ 13708 PUSH32(esp, esi); /* 0x2B07F68A: push esi */ 13709 edx = ebp + (-0x8); /* 0x2B07F68B: lea edx, [ebp - 8] */ 13710 PUSH32(esp, edx); /* 0x2B07F68E: push edx */ 13711 ecx = ebx; /* 0x2B07F68F: mov ecx, ebx */ 13712 RECOMP_ICALL(0x2B0811F0u); /* 0x2B07F691: call 0x2b0811f0 */ /* not lifted */ 13713 RECOMP_FLAGS_IN(); 13714 eax = MEM32(eax); /* 0x2B07F696: mov eax, dword ptr [eax] */ 13715 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B07F698: mov byte ptr [ebp - 0xc], 1 */ 13716 ecx = eax; /* 0x2B07F69C: mov ecx, eax */ 13717 eax = MEM32(ebp + (-0xC)); /* 0x2B07F69E: mov eax, dword ptr [ebp - 0xc] */ 13718 goto L_2B07F705; /* 0x2B07F6A1: jmp 0x2b07f705 */ 13719 L_2B07F6A3: 13720 /* test LO8(eax), LO8(eax) */ /* 0x2B07F6A3: test al, al */ 13721 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13722 _cf = 0; 13723 _flag_k = FK_NARROW(FK_TEST, 24); 13724 ecx = edi; /* 0x2B07F6A5: mov ecx, edi */ 13725 MEM32(ebp + (-0x4)) = ecx; /* 0x2B07F6A7: mov dword ptr [ebp - 4], ecx */ 13726 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F6D9; /* 0x2B07F6AA: je 0x2b07f6d9 */ 13727 L_2B07F6AC: 13728 /* cmp edi, MEM32(edx) */ /* 0x2B07F6AC: cmp edi, dword ptr [edx] */ 13729 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx)); 13730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13731 _flag_k = FK_CMP; 13732 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F6CE; /* 0x2B07F6AE: jne 0x2b07f6ce */ 13733 L_2B07F6B0: 13734 eax = MEM32(ebp + 0xC); /* 0x2B07F6B0: mov eax, dword ptr [ebp + 0xc] */ 13735 PUSH32(esp, eax); /* 0x2B07F6B3: push eax */ 13736 PUSH32(esp, edi); /* 0x2B07F6B4: push edi */ 13737 PUSH32(esp, esi); /* 0x2B07F6B5: push esi */ 13738 ecx = ebp + (-0xC); /* 0x2B07F6B6: lea ecx, [ebp - 0xc] */ 13739 PUSH32(esp, ecx); /* 0x2B07F6B9: push ecx */ 13740 ecx = ebx; /* 0x2B07F6BA: mov ecx, ebx */ 13741 RECOMP_ICALL(0x2B0811F0u); /* 0x2B07F6BC: call 0x2b0811f0 */ /* not lifted */ 13742 RECOMP_FLAGS_IN(); 13743 eax = MEM32(eax); /* 0x2B07F6C1: mov eax, dword ptr [eax] */ 13744 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B07F6C3: mov byte ptr [ebp - 0xc], 1 */ 13745 ecx = eax; /* 0x2B07F6C7: mov ecx, eax */ 13746 eax = MEM32(ebp + (-0xC)); /* 0x2B07F6C9: mov eax, dword ptr [ebp - 0xc] */ 13747 goto L_2B07F705; /* 0x2B07F6CC: jmp 0x2b07f705 */ 13748 L_2B07F6CE: 13749 ecx = ebp + (-0x4); /* 0x2B07F6CE: lea ecx, [ebp - 4] */ 13750 RECOMP_ICALL(0x2B081530u); /* 0x2B07F6D1: call 0x2b081530 */ /* not lifted */ 13751 RECOMP_FLAGS_IN(); 13752 ecx = MEM32(ebp + (-0x4)); /* 0x2B07F6D6: mov ecx, dword ptr [ebp - 4] */ 13753 L_2B07F6D9: 13754 edx = MEM32(ecx + 0xC); /* 0x2B07F6D9: mov edx, dword ptr [ecx + 0xc] */ 13755 eax = MEM32(ebp + 0xC); /* 0x2B07F6DC: mov eax, dword ptr [ebp + 0xc] */ 13756 /* cmp edx, MEM32(eax) */ /* 0x2B07F6DF: cmp edx, dword ptr [eax] */ 13757 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 13758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13759 _flag_k = FK_CMP; 13760 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07F6FE; /* 0x2B07F6E1: jae 0x2b07f6fe */ 13761 L_2B07F6E3: 13762 PUSH32(esp, eax); /* 0x2B07F6E3: push eax */ 13763 PUSH32(esp, edi); /* 0x2B07F6E4: push edi */ 13764 PUSH32(esp, esi); /* 0x2B07F6E5: push esi */ 13765 eax = ebp + 0xC; /* 0x2B07F6E6: lea eax, [ebp + 0xc] */ 13766 PUSH32(esp, eax); /* 0x2B07F6E9: push eax */ 13767 ecx = ebx; /* 0x2B07F6EA: mov ecx, ebx */ 13768 RECOMP_ICALL(0x2B0811F0u); /* 0x2B07F6EC: call 0x2b0811f0 */ /* not lifted */ 13769 RECOMP_FLAGS_IN(); 13770 eax = MEM32(eax); /* 0x2B07F6F1: mov eax, dword ptr [eax] */ 13771 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B07F6F3: mov byte ptr [ebp - 0xc], 1 */ 13772 ecx = eax; /* 0x2B07F6F7: mov ecx, eax */ 13773 eax = MEM32(ebp + (-0xC)); /* 0x2B07F6F9: mov eax, dword ptr [ebp - 0xc] */ 13774 goto L_2B07F705; /* 0x2B07F6FC: jmp 0x2b07f705 */ 13775 L_2B07F6FE: 13776 MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x2B07F6FE: mov byte ptr [ebp - 0xc], 0 */ 13777 eax = MEM32(ebp + (-0xC)); /* 0x2B07F702: mov eax, dword ptr [ebp - 0xc] */ 13778 L_2B07F705: 13779 MEM8(ebp + (-0xC)) = (uint8_t)(LO8(eax)); /* 0x2B07F705: mov byte ptr [ebp - 0xc], al */ 13780 eax = MEM32(ebp + 0x8); /* 0x2B07F708: mov eax, dword ptr [ebp + 8] */ 13781 edi = POP32_VAL(esp); /* 0x2B07F70B: pop edi */ 13782 MEM32(eax) = ecx; /* 0x2B07F70C: mov dword ptr [eax], ecx */ 13783 ecx = MEM32(ebp + (-0xC)); /* 0x2B07F70E: mov ecx, dword ptr [ebp - 0xc] */ 13784 esi = POP32_VAL(esp); /* 0x2B07F711: pop esi */ 13785 MEM32(eax + 0x4) = ecx; /* 0x2B07F712: mov dword ptr [eax + 4], ecx */ 13786 ebx = POP32_VAL(esp); /* 0x2B07F715: pop ebx */ 13787 esp = ebp; /* 0x2B07F716: mov esp, ebp */ 13788 ebp = POP32_VAL(esp); /* 0x2B07F718: pop ebp */ 13789 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F719: ret 8 */ 13790 RECOMP_REGS_OUT(); 13791 } 13792 13793 void sub_2B07F720(void) { 13794 int _fpu_cmp = 0; 13795 uint32_t _cf = 0; 13796 int _df = 1; 13797 uint32_t _flag_k = FK_NONE; 13798 uint32_t _flag_a = 0, _flag_b = 0; 13799 uint32_t _itail_tgt = 0; 13800 RECOMP_REGS_LOCALS 13801 RECOMP_ENTER(0x2B07F720u); 13802 13803 L_2B07F720: 13804 PUSH32(esp, ebp); /* 0x2B07F720: push ebp */ 13805 ebp = esp; /* 0x2B07F721: mov ebp, esp */ 13806 PUSH32(esp, ecx); /* 0x2B07F723: push ecx */ 13807 eax = ecx; /* 0x2B07F724: mov eax, ecx */ 13808 ecx = MEM32(ebp + 0x8); /* 0x2B07F726: mov ecx, dword ptr [ebp + 8] */ 13809 edx = MEM32(ecx); /* 0x2B07F729: mov edx, dword ptr [ecx] */ 13810 MEM32(eax) = edx; /* 0x2B07F72B: mov dword ptr [eax], edx */ 13811 PUSH32(esp, ebx); /* 0x2B07F72D: push ebx */ 13812 PUSH32(esp, esi); /* 0x2B07F72E: push esi */ 13813 esi = MEM32(ebp + 0xC); /* 0x2B07F72F: mov esi, dword ptr [ebp + 0xc] */ 13814 ecx = MEM32(esi); /* 0x2B07F732: mov ecx, dword ptr [esi] */ 13815 MEM32(eax + 0x4) = ecx; /* 0x2B07F734: mov dword ptr [eax + 4], ecx */ 13816 edx = MEM32(esi + 0x4); /* 0x2B07F737: mov edx, dword ptr [esi + 4] */ 13817 MEM32(eax + 0x8) = edx; /* 0x2B07F73A: mov dword ptr [eax + 8], edx */ 13818 SET_LO8(ecx, MEM8(esi + 0x8)); /* 0x2B07F73D: mov cl, byte ptr [esi + 8] */ 13819 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(8); 13820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13821 esi = esi + 8; /* 0x2B07F740: add esi, 8 */ 13822 _flag_k = FK_ADD; 13823 ebx = eax + 0xC; /* 0x2B07F743: lea ebx, [eax + 0xc] */ 13824 MEM8(ebx) = (uint8_t)(LO8(ecx)); /* 0x2B07F746: mov byte ptr [ebx], cl */ 13825 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13826 ecx = 0; /* 0x2B07F748: xor ecx, ecx */ 13827 _cf = 0; 13828 _flag_k = FK_TEST; 13829 MEM32(ebx + 0x4) = ecx; /* 0x2B07F74A: mov dword ptr [ebx + 4], ecx */ 13830 MEM32(ebx + 0x8) = ecx; /* 0x2B07F74D: mov dword ptr [ebx + 8], ecx */ 13831 MEM32(ebx + 0xC) = ecx; /* 0x2B07F750: mov dword ptr [ebx + 0xc], ecx */ 13832 edx = MEM32(0x2B0B515C); /* 0x2B07F753: mov edx, dword ptr [0x2b0b515c] */ 13833 ecx = MEM32(edx); /* 0x2B07F759: mov ecx, dword ptr [edx] */ 13834 edx = MEM32(esi + 0x8); /* 0x2B07F75B: mov edx, dword ptr [esi + 8] */ 13835 PUSH32(esp, edi); /* 0x2B07F75E: push edi */ 13836 edi = edx; /* 0x2B07F75F: mov edi, edx */ 13837 /* cmp ecx, edi */ /* 0x2B07F761: cmp ecx, edi */ 13838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 13839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13840 _flag_k = FK_CMP; 13841 MEM32(ebp + (-0x4)) = eax; /* 0x2B07F763: mov dword ptr [ebp - 4], eax */ 13842 MEM32(ebp + 0x8) = edi; /* 0x2B07F766: mov dword ptr [ebp + 8], edi */ 13843 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07F770; /* 0x2B07F769: jae 0x2b07f770 */ 13844 L_2B07F76B: 13845 MEM32(ebp + 0x8) = ecx; /* 0x2B07F76B: mov dword ptr [ebp + 8], ecx */ 13846 edi = ecx; /* 0x2B07F76E: mov edi, ecx */ 13847 L_2B07F770: 13848 /* cmp ebx, esi */ /* 0x2B07F770: cmp ebx, esi */ 13849 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 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_2B07F7D4; /* 0x2B07F772: jne 0x2b07f7d4 */ 13853 L_2B07F774: 13854 /* test edi, edi */ /* 0x2B07F774: test edi, edi */ 13855 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13856 _cf = 0; 13857 _flag_k = FK_TEST; 13858 esi = ecx; /* 0x2B07F776: mov esi, ecx */ 13859 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F783; /* 0x2B07F778: jbe 0x2b07f783 */ 13860 L_2B07F77A: 13861 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B07F77A: call dword ptr [0x2b0b519c] */ 13862 RECOMP_FLAGS_IN(); 13863 eax = MEM32(ebp + (-0x4)); /* 0x2B07F780: mov eax, dword ptr [ebp - 4] */ 13864 L_2B07F783: 13865 ecx = MEM32(ebx + 0x8); /* 0x2B07F783: mov ecx, dword ptr [ebx + 8] */ 13866 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 13867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13868 ecx = ecx - edi; /* 0x2B07F786: sub ecx, edi */ 13869 _flag_k = FK_CMP; 13870 /* cmp ecx, esi */ /* 0x2B07F788: cmp ecx, esi */ 13871 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13873 _flag_k = FK_CMP; 13874 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07F78E; /* 0x2B07F78A: jae 0x2b07f78e */ 13875 L_2B07F78C: 13876 esi = ecx; /* 0x2B07F78C: mov esi, ecx */ 13877 L_2B07F78E: 13878 /* test esi, esi */ /* 0x2B07F78E: test esi, esi */ 13879 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13880 _cf = 0; 13881 _flag_k = FK_TEST; 13882 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F856; /* 0x2B07F790: jbe 0x2b07f856 */ 13883 L_2B07F796: 13884 ecx = ebx; /* 0x2B07F796: mov ecx, ebx */ 13885 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B07F798: call dword ptr [0x2b0b516c] */ 13886 RECOMP_FLAGS_IN(); 13887 ecx = MEM32(ebx + 0x8); /* 0x2B07F79E: mov ecx, dword ptr [ebx + 8] */ 13888 eax = MEM32(ebx + 0x4); /* 0x2B07F7A1: mov eax, dword ptr [ebx + 4] */ 13889 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13891 ecx = ecx - esi; /* 0x2B07F7A4: sub ecx, esi */ 13892 _flag_k = FK_CMP; 13893 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13894 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13895 eax = eax + edi; /* 0x2B07F7A6: add eax, edi */ 13896 _flag_k = FK_ADD; 13897 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 13898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13899 ecx = ecx - edi; /* 0x2B07F7A8: sub ecx, edi */ 13900 _flag_k = FK_CMP; 13901 PUSH32(esp, ecx); /* 0x2B07F7AA: push ecx */ 13902 edx = eax + esi; /* 0x2B07F7AB: lea edx, [eax + esi] */ 13903 PUSH32(esp, edx); /* 0x2B07F7AE: push edx */ 13904 PUSH32(esp, eax); /* 0x2B07F7AF: push eax */ 13905 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B07F7B0: call dword ptr [0x2b0b51d4] */ 13906 RECOMP_FLAGS_IN(); 13907 edi = MEM32(ebx + 0x8); /* 0x2B07F7B6: mov edi, dword ptr [ebx + 8] */ 13908 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13910 esp = esp + 0xCu; /* 0x2B07F7B9: add esp, 0xc */ 13911 _flag_k = FK_ADD; 13912 PUSH32(esp, 0); /* 0x2B07F7BC: push 0 */ 13913 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13915 edi = edi - esi; /* 0x2B07F7BE: sub edi, esi */ 13916 _flag_k = FK_CMP; 13917 PUSH32(esp, edi); /* 0x2B07F7C0: push edi */ 13918 ecx = ebx; /* 0x2B07F7C1: mov ecx, ebx */ 13919 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07F7C3: call dword ptr [0x2b0b5154] */ 13920 RECOMP_FLAGS_IN(); 13921 /* test LO8(eax), LO8(eax) */ /* 0x2B07F7C9: test al, al */ 13922 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13923 _cf = 0; 13924 _flag_k = FK_NARROW(FK_TEST, 24); 13925 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F853; /* 0x2B07F7CB: je 0x2b07f853 */ 13926 L_2B07F7D1: 13927 PUSH32(esp, edi); /* 0x2B07F7D1: push edi */ 13928 goto L_2B07F84B; /* 0x2B07F7D2: jmp 0x2b07f84b */ 13929 L_2B07F7D4: 13930 /* test edi, edi */ /* 0x2B07F7D4: test edi, edi */ 13931 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13932 _cf = 0; 13933 _flag_k = FK_TEST; 13934 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F818; /* 0x2B07F7D6: jbe 0x2b07f818 */ 13935 L_2B07F7D8: 13936 /* cmp edi, edx */ /* 0x2B07F7D8: cmp edi, edx */ 13937 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 13938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13939 _flag_k = FK_CMP; 13940 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F818; /* 0x2B07F7DA: jne 0x2b07f818 */ 13941 L_2B07F7DC: 13942 eax = MEM32(esi + 0x4); /* 0x2B07F7DC: mov eax, dword ptr [esi + 4] */ 13943 /* test eax, eax */ /* 0x2B07F7DF: test eax, eax */ 13944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13945 _cf = 0; 13946 _flag_k = FK_TEST; 13947 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F7E8; /* 0x2B07F7E1: jne 0x2b07f7e8 */ 13948 L_2B07F7E3: 13949 eax = MEM32(0x2B0B513C); /* 0x2B07F7E3: mov eax, dword ptr [0x2b0b513c] */ 13950 L_2B07F7E8: 13951 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B07F7E8: cmp byte ptr [eax - 1], 0xfe */ 13952 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 13953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13954 _flag_k = FK_NARROW(FK_CMP, 24); 13955 if (CMP_AE(_flag_a, _flag_b)) goto L_2B07F818; /* 0x2B07F7EC: jae 0x2b07f818 */ 13956 L_2B07F7EE: 13957 PUSH32(esp, 1); /* 0x2B07F7EE: push 1 */ 13958 ecx = ebx; /* 0x2B07F7F0: mov ecx, ebx */ 13959 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B07F7F2: call dword ptr [0x2b0b514c] */ 13960 RECOMP_FLAGS_IN(); 13961 eax = MEM32(esi + 0x4); /* 0x2B07F7F8: mov eax, dword ptr [esi + 4] */ 13962 /* test eax, eax */ /* 0x2B07F7FB: test eax, eax */ 13963 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13964 _cf = 0; 13965 _flag_k = FK_TEST; 13966 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F804; /* 0x2B07F7FD: jne 0x2b07f804 */ 13967 L_2B07F7FF: 13968 eax = MEM32(0x2B0B513C); /* 0x2B07F7FF: mov eax, dword ptr [0x2b0b513c] */ 13969 L_2B07F804: 13970 MEM32(ebx + 0x4) = eax; /* 0x2B07F804: mov dword ptr [ebx + 4], eax */ 13971 ecx = MEM32(esi + 0x8); /* 0x2B07F807: mov ecx, dword ptr [esi + 8] */ 13972 MEM32(ebx + 0x8) = ecx; /* 0x2B07F80A: mov dword ptr [ebx + 8], ecx */ 13973 edx = MEM32(esi + 0xC); /* 0x2B07F80D: mov edx, dword ptr [esi + 0xc] */ 13974 MEM32(ebx + 0xC) = edx; /* 0x2B07F810: mov dword ptr [ebx + 0xc], edx */ 13975 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 13976 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B07F813: inc byte ptr [eax - 1] */ 13977 _flag_k = FK_NARROW(FK_INC, 24); 13978 goto L_2B07F853; /* 0x2B07F816: jmp 0x2b07f853 */ 13979 L_2B07F818: 13980 PUSH32(esp, 1); /* 0x2B07F818: push 1 */ 13981 PUSH32(esp, edi); /* 0x2B07F81A: push edi */ 13982 ecx = ebx; /* 0x2B07F81B: mov ecx, ebx */ 13983 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B07F81D: call dword ptr [0x2b0b5154] */ 13984 RECOMP_FLAGS_IN(); 13985 /* test LO8(eax), LO8(eax) */ /* 0x2B07F823: test al, al */ 13986 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13987 _cf = 0; 13988 _flag_k = FK_NARROW(FK_TEST, 24); 13989 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F853; /* 0x2B07F825: je 0x2b07f853 */ 13990 L_2B07F827: 13991 esi = MEM32(esi + 0x4); /* 0x2B07F827: mov esi, dword ptr [esi + 4] */ 13992 /* test esi, esi */ /* 0x2B07F82A: test esi, esi */ 13993 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13994 _cf = 0; 13995 _flag_k = FK_TEST; 13996 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F834; /* 0x2B07F82C: jne 0x2b07f834 */ 13997 L_2B07F82E: 13998 esi = MEM32(0x2B0B513C); /* 0x2B07F82E: mov esi, dword ptr [0x2b0b513c] */ 13999 L_2B07F834: 14000 ecx = edi; /* 0x2B07F834: mov ecx, edi */ 14001 edi = MEM32(ebx + 0x4); /* 0x2B07F836: mov edi, dword ptr [ebx + 4] */ 14002 eax = ecx; /* 0x2B07F839: mov eax, ecx */ 14003 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B07F83B: shr ecx, 2 */ 14004 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14005 ecx = ecx >> 2u; /* 0x2B07F83B: shr ecx, 2 */ 14006 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B07F83E: 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; } 14007 ecx = eax; /* 0x2B07F840: mov ecx, eax */ 14008 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14009 ecx = ecx & 3; /* 0x2B07F842: and ecx, 3 */ 14010 _cf = 0; 14011 _flag_k = FK_TEST; 14012 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B07F845: 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; } 14013 ecx = MEM32(ebp + 0x8); /* 0x2B07F847: mov ecx, dword ptr [ebp + 8] */ 14014 PUSH32(esp, ecx); /* 0x2B07F84A: push ecx */ 14015 L_2B07F84B: 14016 ecx = ebx; /* 0x2B07F84B: mov ecx, ebx */ 14017 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B07F84D: call dword ptr [0x2b0b5150] */ 14018 RECOMP_FLAGS_IN(); 14019 L_2B07F853: 14020 eax = MEM32(ebp + (-0x4)); /* 0x2B07F853: mov eax, dword ptr [ebp - 4] */ 14021 L_2B07F856: 14022 ecx = MEM32(ebp + 0xC); /* 0x2B07F856: mov ecx, dword ptr [ebp + 0xc] */ 14023 edx = ecx + 0x18; /* 0x2B07F859: lea edx, [ecx + 0x18] */ 14024 edi = MEM32(edx); /* 0x2B07F85C: mov edi, dword ptr [edx] */ 14025 esi = eax + 0x1C; /* 0x2B07F85E: lea esi, [eax + 0x1c] */ 14026 MEM32(esi) = edi; /* 0x2B07F861: mov dword ptr [esi], edi */ 14027 edi = MEM32(edx + 0x4); /* 0x2B07F863: mov edi, dword ptr [edx + 4] */ 14028 MEM32(esi + 0x4) = edi; /* 0x2B07F866: mov dword ptr [esi + 4], edi */ 14029 edi = MEM32(edx + 0x8); /* 0x2B07F869: mov edi, dword ptr [edx + 8] */ 14030 MEM32(esi + 0x8) = edi; /* 0x2B07F86C: mov dword ptr [esi + 8], edi */ 14031 edx = MEM32(edx + 0xC); /* 0x2B07F86F: mov edx, dword ptr [edx + 0xc] */ 14032 edi = POP32_VAL(esp); /* 0x2B07F872: pop edi */ 14033 MEM32(esi + 0xC) = edx; /* 0x2B07F873: mov dword ptr [esi + 0xc], edx */ 14034 ecx = MEM32(ecx + 0x28); /* 0x2B07F876: mov ecx, dword ptr [ecx + 0x28] */ 14035 esi = POP32_VAL(esp); /* 0x2B07F879: pop esi */ 14036 MEM32(eax + 0x2C) = ecx; /* 0x2B07F87A: mov dword ptr [eax + 0x2c], ecx */ 14037 ebx = POP32_VAL(esp); /* 0x2B07F87D: pop ebx */ 14038 esp = ebp; /* 0x2B07F87E: mov esp, ebp */ 14039 ebp = POP32_VAL(esp); /* 0x2B07F880: pop ebp */ 14040 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07F881: ret 8 */ 14041 RECOMP_REGS_OUT(); 14042 } 14043 14044 void sub_2B07F890(void) { 14045 int _fpu_cmp = 0; 14046 uint32_t _cf = 0; 14047 int _df = 1; 14048 uint32_t _flag_k = FK_NONE; 14049 uint32_t _flag_a = 0, _flag_b = 0; 14050 uint32_t _itail_tgt = 0; 14051 RECOMP_REGS_LOCALS 14052 RECOMP_ENTER(0x2B07F890u); 14053 14054 L_2B07F890: 14055 PUSH32(esp, ebp); /* 0x2B07F890: push ebp */ 14056 ebp = esp; /* 0x2B07F891: mov ebp, esp */ 14057 PUSH32(esp, ecx); /* 0x2B07F893: push ecx */ 14058 PUSH32(esp, ebx); /* 0x2B07F894: push ebx */ 14059 PUSH32(esp, esi); /* 0x2B07F895: push esi */ 14060 esi = MEM32(ebp + 0xC); /* 0x2B07F896: mov esi, dword ptr [ebp + 0xc] */ 14061 PUSH32(esp, edi); /* 0x2B07F899: push edi */ 14062 edi = ecx; /* 0x2B07F89A: mov edi, ecx */ 14063 ecx = ebp + 0xC; /* 0x2B07F89C: lea ecx, [ebp + 0xc] */ 14064 RECOMP_ICALL(0x2B081490u); /* 0x2B07F89F: call 0x2b081490 */ /* not lifted */ 14065 RECOMP_FLAGS_IN(); 14066 edx = MEM32(esi); /* 0x2B07F8A4: mov edx, dword ptr [esi] */ 14067 eax = MEM32(edi + 0x8); /* 0x2B07F8A6: mov eax, dword ptr [edi + 8] */ 14068 /* cmp edx, eax */ /* 0x2B07F8A9: cmp edx, eax */ 14069 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 14070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14071 _flag_k = FK_CMP; 14072 MEM32(ebp + (-0x4)) = esi; /* 0x2B07F8AB: mov dword ptr [ebp - 4], esi */ 14073 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F8D0; /* 0x2B07F8AE: jne 0x2b07f8d0 */ 14074 L_2B07F8B0: 14075 eax = MEM32(esi + 0x8); /* 0x2B07F8B0: mov eax, dword ptr [esi + 8] */ 14076 L_2B07F8B3: 14077 ecx = MEM32(ebp + (-0x4)); /* 0x2B07F8B3: mov ecx, dword ptr [ebp - 4] */ 14078 edx = MEM32(ecx + 0x4); /* 0x2B07F8B6: mov edx, dword ptr [ecx + 4] */ 14079 MEM32(eax + 0x4) = edx; /* 0x2B07F8B9: mov dword ptr [eax + 4], edx */ 14080 ecx = MEM32(edi + 0x4); /* 0x2B07F8BC: mov ecx, dword ptr [edi + 4] */ 14081 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B07F8BF: cmp dword ptr [ecx + 4], esi */ 14082 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 14083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14084 _flag_k = FK_CMP; 14085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F953; /* 0x2B07F8C2: jne 0x2b07f953 */ 14086 L_2B07F8C8: 14087 MEM32(ecx + 0x4) = eax; /* 0x2B07F8C8: mov dword ptr [ecx + 4], eax */ 14088 goto L_2B07F961; /* 0x2B07F8CB: jmp 0x2b07f961 */ 14089 L_2B07F8D0: 14090 ecx = MEM32(esi + 0x8); /* 0x2B07F8D0: mov ecx, dword ptr [esi + 8] */ 14091 /* cmp ecx, eax */ /* 0x2B07F8D3: cmp ecx, eax */ 14092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14094 _flag_k = FK_CMP; 14095 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F8DB; /* 0x2B07F8D5: jne 0x2b07f8db */ 14096 L_2B07F8D7: 14097 eax = edx; /* 0x2B07F8D7: mov eax, edx */ 14098 RECOMP_BACKEDGE(); 14099 goto L_2B07F8B3; /* 0x2B07F8D9: jmp 0x2b07f8b3 */ 14100 L_2B07F8DB: 14101 eax = MEM32(ecx); /* 0x2B07F8DB: mov eax, dword ptr [ecx] */ 14102 SET_LO8(ebx, MEM8(eax + 0x19)); /* 0x2B07F8DD: mov bl, byte ptr [eax + 0x19] */ 14103 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07F8E0: test bl, bl */ 14104 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14105 _cf = 0; 14106 _flag_k = FK_NARROW(FK_TEST, 24); 14107 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07F8EF; /* 0x2B07F8E2: jne 0x2b07f8ef */ 14108 L_2B07F8E4: 14109 ecx = eax; /* 0x2B07F8E4: mov ecx, eax */ 14110 eax = MEM32(ecx); /* 0x2B07F8E6: mov eax, dword ptr [ecx] */ 14111 SET_LO8(ebx, MEM8(eax + 0x19)); /* 0x2B07F8E8: mov bl, byte ptr [eax + 0x19] */ 14112 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07F8EB: test bl, bl */ 14113 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14114 _cf = 0; 14115 _flag_k = FK_NARROW(FK_TEST, 24); 14116 RECOMP_BACKEDGE(); 14117 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07F8E4; /* 0x2B07F8ED: je 0x2b07f8e4 */ 14118 L_2B07F8EF: 14119 /* cmp ecx, esi */ /* 0x2B07F8EF: cmp ecx, esi */ 14120 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 14121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14122 _flag_k = FK_CMP; 14123 eax = MEM32(ecx + 0x8); /* 0x2B07F8F1: mov eax, dword ptr [ecx + 8] */ 14124 MEM32(ebp + (-0x4)) = ecx; /* 0x2B07F8F4: mov dword ptr [ebp - 4], ecx */ 14125 RECOMP_BACKEDGE(); 14126 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F8B3; /* 0x2B07F8F7: je 0x2b07f8b3 */ 14127 L_2B07F8F9: 14128 MEM32(edx + 0x4) = ecx; /* 0x2B07F8F9: mov dword ptr [edx + 4], ecx */ 14129 edx = MEM32(esi); /* 0x2B07F8FC: mov edx, dword ptr [esi] */ 14130 MEM32(ecx) = edx; /* 0x2B07F8FE: mov dword ptr [ecx], edx */ 14131 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07F900: cmp ecx, dword ptr [esi + 8] */ 14132 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14134 _flag_k = FK_CMP; 14135 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F90A; /* 0x2B07F903: jne 0x2b07f90a */ 14136 L_2B07F905: 14137 MEM32(eax + 0x4) = ecx; /* 0x2B07F905: mov dword ptr [eax + 4], ecx */ 14138 goto L_2B07F921; /* 0x2B07F908: jmp 0x2b07f921 */ 14139 L_2B07F90A: 14140 edx = MEM32(ecx + 0x4); /* 0x2B07F90A: mov edx, dword ptr [ecx + 4] */ 14141 MEM32(eax + 0x4) = edx; /* 0x2B07F90D: mov dword ptr [eax + 4], edx */ 14142 edx = MEM32(ecx + 0x4); /* 0x2B07F910: mov edx, dword ptr [ecx + 4] */ 14143 MEM32(edx) = eax; /* 0x2B07F913: mov dword ptr [edx], eax */ 14144 edx = MEM32(esi + 0x8); /* 0x2B07F915: mov edx, dword ptr [esi + 8] */ 14145 MEM32(ecx + 0x8) = edx; /* 0x2B07F918: mov dword ptr [ecx + 8], edx */ 14146 edx = MEM32(esi + 0x8); /* 0x2B07F91B: mov edx, dword ptr [esi + 8] */ 14147 MEM32(edx + 0x4) = ecx; /* 0x2B07F91E: mov dword ptr [edx + 4], ecx */ 14148 L_2B07F921: 14149 edx = MEM32(edi + 0x4); /* 0x2B07F921: mov edx, dword ptr [edi + 4] */ 14150 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B07F924: cmp dword ptr [edx + 4], esi */ 14151 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 14152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14153 _flag_k = FK_CMP; 14154 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F92E; /* 0x2B07F927: jne 0x2b07f92e */ 14155 L_2B07F929: 14156 MEM32(edx + 0x4) = ecx; /* 0x2B07F929: mov dword ptr [edx + 4], ecx */ 14157 goto L_2B07F93C; /* 0x2B07F92C: jmp 0x2b07f93c */ 14158 L_2B07F92E: 14159 edx = MEM32(esi + 0x4); /* 0x2B07F92E: mov edx, dword ptr [esi + 4] */ 14160 /* cmp MEM32(edx), esi */ /* 0x2B07F931: cmp dword ptr [edx], esi */ 14161 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 14162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14163 _flag_k = FK_CMP; 14164 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F939; /* 0x2B07F933: jne 0x2b07f939 */ 14165 L_2B07F935: 14166 MEM32(edx) = ecx; /* 0x2B07F935: mov dword ptr [edx], ecx */ 14167 goto L_2B07F93C; /* 0x2B07F937: jmp 0x2b07f93c */ 14168 L_2B07F939: 14169 MEM32(edx + 0x8) = ecx; /* 0x2B07F939: mov dword ptr [edx + 8], ecx */ 14170 L_2B07F93C: 14171 edx = MEM32(esi + 0x4); /* 0x2B07F93C: mov edx, dword ptr [esi + 4] */ 14172 MEM32(ecx + 0x4) = edx; /* 0x2B07F93F: mov dword ptr [ecx + 4], edx */ 14173 SET_LO8(ebx, MEM8(esi + 0x18)); /* 0x2B07F942: mov bl, byte ptr [esi + 0x18] */ 14174 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F945: mov dl, byte ptr [ecx + 0x18] */ 14175 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F948: mov byte ptr [ecx + 0x18], bl */ 14176 MEM8(esi + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07F94B: mov byte ptr [esi + 0x18], dl */ 14177 MEM32(ebp + (-0x4)) = esi; /* 0x2B07F94E: mov dword ptr [ebp - 4], esi */ 14178 goto L_2B07F9B8; /* 0x2B07F951: jmp 0x2b07f9b8 */ 14179 L_2B07F953: 14180 ecx = MEM32(esi + 0x4); /* 0x2B07F953: mov ecx, dword ptr [esi + 4] */ 14181 /* cmp MEM32(ecx), esi */ /* 0x2B07F956: cmp dword ptr [ecx], esi */ 14182 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 14183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14184 _flag_k = FK_CMP; 14185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F95E; /* 0x2B07F958: jne 0x2b07f95e */ 14186 L_2B07F95A: 14187 MEM32(ecx) = eax; /* 0x2B07F95A: mov dword ptr [ecx], eax */ 14188 goto L_2B07F961; /* 0x2B07F95C: jmp 0x2b07f961 */ 14189 L_2B07F95E: 14190 MEM32(ecx + 0x8) = eax; /* 0x2B07F95E: mov dword ptr [ecx + 8], eax */ 14191 L_2B07F961: 14192 ebx = MEM32(edi + 0x4); /* 0x2B07F961: mov ebx, dword ptr [edi + 4] */ 14193 /* cmp MEM32(ebx), esi */ /* 0x2B07F964: cmp dword ptr [ebx], esi */ 14194 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 14195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14196 _flag_k = FK_CMP; 14197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F98B; /* 0x2B07F966: jne 0x2b07f98b */ 14198 L_2B07F968: 14199 ecx = MEM32(esi + 0x8); /* 0x2B07F968: mov ecx, dword ptr [esi + 8] */ 14200 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07F96B: cmp ecx, dword ptr [edi + 8] */ 14201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14203 _flag_k = FK_CMP; 14204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F975; /* 0x2B07F96E: jne 0x2b07f975 */ 14205 L_2B07F970: 14206 edx = MEM32(esi + 0x4); /* 0x2B07F970: mov edx, dword ptr [esi + 4] */ 14207 goto L_2B07F989; /* 0x2B07F973: jmp 0x2b07f989 */ 14208 L_2B07F975: 14209 ecx = MEM32(eax); /* 0x2B07F975: mov ecx, dword ptr [eax] */ 14210 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F977: cmp byte ptr [ecx + 0x19], 0 */ 14211 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14213 _flag_k = FK_NARROW(FK_CMP, 24); 14214 edx = eax; /* 0x2B07F97B: mov edx, eax */ 14215 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F989; /* 0x2B07F97D: jne 0x2b07f989 */ 14216 L_2B07F97F: 14217 edx = ecx; /* 0x2B07F97F: mov edx, ecx */ 14218 ecx = MEM32(edx); /* 0x2B07F981: mov ecx, dword ptr [edx] */ 14219 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F983: cmp byte ptr [ecx + 0x19], 0 */ 14220 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14222 _flag_k = FK_NARROW(FK_CMP, 24); 14223 RECOMP_BACKEDGE(); 14224 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F97F; /* 0x2B07F987: je 0x2b07f97f */ 14225 L_2B07F989: 14226 MEM32(ebx) = edx; /* 0x2B07F989: mov dword ptr [ebx], edx */ 14227 L_2B07F98B: 14228 ebx = MEM32(edi + 0x4); /* 0x2B07F98B: mov ebx, dword ptr [edi + 4] */ 14229 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B07F98E: cmp dword ptr [ebx + 8], esi */ 14230 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 14231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14232 _flag_k = FK_CMP; 14233 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9B8; /* 0x2B07F991: jne 0x2b07f9b8 */ 14234 L_2B07F993: 14235 ecx = MEM32(esi); /* 0x2B07F993: mov ecx, dword ptr [esi] */ 14236 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07F995: cmp ecx, dword ptr [edi + 8] */ 14237 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14239 _flag_k = FK_CMP; 14240 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F99F; /* 0x2B07F998: jne 0x2b07f99f */ 14241 L_2B07F99A: 14242 edx = MEM32(esi + 0x4); /* 0x2B07F99A: mov edx, dword ptr [esi + 4] */ 14243 goto L_2B07F9B5; /* 0x2B07F99D: jmp 0x2b07f9b5 */ 14244 L_2B07F99F: 14245 ecx = MEM32(eax + 0x8); /* 0x2B07F99F: mov ecx, dword ptr [eax + 8] */ 14246 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F9A2: cmp byte ptr [ecx + 0x19], 0 */ 14247 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14249 _flag_k = FK_NARROW(FK_CMP, 24); 14250 edx = eax; /* 0x2B07F9A6: mov edx, eax */ 14251 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9B5; /* 0x2B07F9A8: jne 0x2b07f9b5 */ 14252 L_2B07F9AA: 14253 edx = ecx; /* 0x2B07F9AA: mov edx, ecx */ 14254 ecx = MEM32(edx + 0x8); /* 0x2B07F9AC: mov ecx, dword ptr [edx + 8] */ 14255 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F9AF: cmp byte ptr [ecx + 0x19], 0 */ 14256 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14258 _flag_k = FK_NARROW(FK_CMP, 24); 14259 RECOMP_BACKEDGE(); 14260 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F9AA; /* 0x2B07F9B3: je 0x2b07f9aa */ 14261 L_2B07F9B5: 14262 MEM32(ebx + 0x8) = edx; /* 0x2B07F9B5: mov dword ptr [ebx + 8], edx */ 14263 L_2B07F9B8: 14264 esi = MEM32(ebp + (-0x4)); /* 0x2B07F9B8: mov esi, dword ptr [ebp - 4] */ 14265 SET_LO8(ecx, MEM8(esi + 0x18)); /* 0x2B07F9BB: mov cl, byte ptr [esi + 0x18] */ 14266 SET_LO8(ebx, 1); /* 0x2B07F9BE: mov bl, 1 */ 14267 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B07F9C0: cmp cl, bl */ 14268 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14270 _flag_k = FK_NARROW(FK_CMP, 24); 14271 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC28; /* 0x2B07F9C2: jne 0x2b07fc28 */ 14272 L_2B07F9C8: 14273 ecx = MEM32(edi + 0x4); /* 0x2B07F9C8: mov ecx, dword ptr [edi + 4] */ 14274 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07F9CB: cmp eax, dword ptr [ecx + 4] */ 14275 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14277 _flag_k = FK_CMP; 14278 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9CE: je 0x2b07fc22 */ 14279 L_2B07F9D4: 14280 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 14281 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14283 _flag_k = FK_NARROW(FK_CMP, 24); 14284 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 14285 L_2B07F9DD: 14286 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 14287 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 14288 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 14289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14291 _flag_k = FK_CMP; 14292 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 14293 L_2B07F9E6: 14294 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 14295 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 14296 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 14297 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14298 _cf = 0; 14299 _flag_k = FK_NARROW(FK_TEST, 24); 14300 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 14301 L_2B07F9F0: 14302 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 14303 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 14304 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 14305 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 14306 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 14307 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 14308 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 14309 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 14310 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 14311 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14313 _flag_k = FK_CMP; 14314 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 14315 L_2B07FA0C: 14316 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 14317 L_2B07FA0F: 14318 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 14319 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 14320 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 14321 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 14322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14324 _flag_k = FK_CMP; 14325 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 14326 L_2B07FA1D: 14327 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 14328 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 14329 L_2B07FA22: 14330 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 14331 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 14332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14334 _flag_k = FK_CMP; 14335 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 14336 L_2B07FA29: 14337 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 14338 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 14339 L_2B07FA2D: 14340 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 14341 L_2B07FA30: 14342 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 14343 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 14344 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 14345 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 14346 L_2B07FA3B: 14347 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 14348 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 14349 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14351 _flag_k = FK_NARROW(FK_CMP, 24); 14352 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 14353 L_2B07FA46: 14354 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 14355 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 14356 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14358 _flag_k = FK_NARROW(FK_CMP, 24); 14359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 14360 L_2B07FA52: 14361 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 14362 L_2B07FA54: 14363 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 14364 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 14365 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14366 _cf = 0; 14367 _flag_k = FK_NARROW(FK_TEST, 24); 14368 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 14369 L_2B07FA5B: 14370 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 14371 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 14372 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 14373 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 14374 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 14375 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 14376 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 14377 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 14378 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 14379 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14381 _flag_k = FK_CMP; 14382 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 14383 L_2B07FA77: 14384 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 14385 L_2B07FA7A: 14386 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 14387 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 14388 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 14389 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 14390 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14392 _flag_k = FK_CMP; 14393 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 14394 L_2B07FA88: 14395 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 14396 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 14397 L_2B07FA8D: 14398 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 14399 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 14400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14402 _flag_k = FK_CMP; 14403 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 14404 L_2B07FA95: 14405 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 14406 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 14407 L_2B07FA9A: 14408 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 14409 L_2B07FA9C: 14410 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 14411 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 14412 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 14413 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 14414 L_2B07FAA7: 14415 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 14416 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 14417 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14419 _flag_k = FK_NARROW(FK_CMP, 24); 14420 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 14421 L_2B07FAB3: 14422 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 14423 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 14424 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14426 _flag_k = FK_NARROW(FK_CMP, 24); 14427 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 14428 L_2B07FABE: 14429 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 14430 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 14431 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 14432 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 14433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14435 _flag_k = FK_CMP; 14436 RECOMP_BACKEDGE(); 14437 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 14438 L_2B07FAD1: 14439 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 14440 L_2B07FAD6: 14441 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 14442 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 14443 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14445 _flag_k = FK_NARROW(FK_CMP, 24); 14446 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 14447 L_2B07FADE: 14448 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 14449 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 14450 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 14451 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 14452 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 14453 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 14454 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 14455 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 14456 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14458 _flag_k = FK_CMP; 14459 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 14460 L_2B07FAF6: 14461 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 14462 L_2B07FAF9: 14463 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 14464 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 14465 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 14466 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 14467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14469 _flag_k = FK_CMP; 14470 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 14471 L_2B07FB07: 14472 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 14473 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 14474 L_2B07FB0C: 14475 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 14476 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 14477 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14479 _flag_k = FK_CMP; 14480 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 14481 L_2B07FB14: 14482 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 14483 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 14484 L_2B07FB19: 14485 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 14486 L_2B07FB1B: 14487 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 14488 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 14489 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 14490 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 14491 L_2B07FB27: 14492 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 14493 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 14494 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 14495 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 14496 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 14497 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 14498 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 14499 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 14500 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 14501 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 14502 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 14503 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 14504 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 14505 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14507 _flag_k = FK_CMP; 14508 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 14509 L_2B07FB4E: 14510 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 14511 L_2B07FB51: 14512 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 14513 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 14514 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 14515 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 14516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14518 _flag_k = FK_CMP; 14519 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 14520 L_2B07FB5F: 14521 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 14522 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 14523 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 14524 L_2B07FB69: 14525 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 14526 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 14527 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14529 _flag_k = FK_CMP; 14530 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 14531 L_2B07FB70: 14532 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 14533 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 14534 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 14535 L_2B07FB79: 14536 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 14537 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 14538 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 14539 L_2B07FB83: 14540 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 14541 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 14542 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14544 _flag_k = FK_NARROW(FK_CMP, 24); 14545 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 14546 L_2B07FB8A: 14547 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 14548 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 14549 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 14550 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 14551 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 14552 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 14553 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 14554 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 14555 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14557 _flag_k = FK_CMP; 14558 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 14559 L_2B07FBA3: 14560 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 14561 L_2B07FBA6: 14562 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 14563 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 14564 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 14565 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 14566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14568 _flag_k = FK_CMP; 14569 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 14570 L_2B07FBB4: 14571 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 14572 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 14573 L_2B07FBB9: 14574 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 14575 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 14576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14578 _flag_k = FK_CMP; 14579 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 14580 L_2B07FBC0: 14581 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 14582 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 14583 L_2B07FBC4: 14584 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 14585 L_2B07FBC7: 14586 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 14587 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 14588 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 14589 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 14590 L_2B07FBD1: 14591 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 14592 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 14593 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 14594 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 14595 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 14596 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 14597 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 14598 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 14599 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 14600 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 14601 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 14602 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 14603 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 14604 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14606 _flag_k = FK_CMP; 14607 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 14608 L_2B07FBF7: 14609 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 14610 L_2B07FBFA: 14611 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 14612 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 14613 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 14614 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 14615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14617 _flag_k = FK_CMP; 14618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 14619 L_2B07FC08: 14620 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 14621 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 14622 L_2B07FC0D: 14623 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 14624 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 14625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14627 _flag_k = FK_CMP; 14628 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 14629 L_2B07FC15: 14630 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 14631 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 14632 L_2B07FC1A: 14633 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 14634 L_2B07FC1C: 14635 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 14636 L_2B07FC1F: 14637 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 14638 L_2B07FC22: 14639 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 14640 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 14641 L_2B07FC28: 14642 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 14643 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 14644 RECOMP_FLAGS_IN(); 14645 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 14646 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 14647 RECOMP_FLAGS_IN(); 14648 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 14649 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 14650 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14652 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 14653 _flag_k = FK_ADD; 14654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14655 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 14656 _flag_k = FK_DEC; 14657 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 14658 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 14659 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 14660 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 14661 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 14662 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 14663 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 14664 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 14665 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 14666 RECOMP_REGS_OUT(); 14667 } 14668 14669 void sub_2B07F961(void) { 14670 int _fpu_cmp = 0; 14671 uint32_t _cf = 0; 14672 int _df = 1; 14673 uint32_t _flag_k = FK_NONE; 14674 uint32_t _flag_a = 0, _flag_b = 0; 14675 uint32_t _itail_tgt = 0; 14676 RECOMP_REGS_LOCALS 14677 RECOMP_ENTER(0x2B07F961u); 14678 14679 L_2B07F961: 14680 ebx = MEM32(edi + 0x4); /* 0x2B07F961: mov ebx, dword ptr [edi + 4] */ 14681 /* cmp MEM32(ebx), esi */ /* 0x2B07F964: cmp dword ptr [ebx], esi */ 14682 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 14683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14684 _flag_k = FK_CMP; 14685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F98B; /* 0x2B07F966: jne 0x2b07f98b */ 14686 L_2B07F968: 14687 ecx = MEM32(esi + 0x8); /* 0x2B07F968: mov ecx, dword ptr [esi + 8] */ 14688 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07F96B: cmp ecx, dword ptr [edi + 8] */ 14689 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14691 _flag_k = FK_CMP; 14692 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F975; /* 0x2B07F96E: jne 0x2b07f975 */ 14693 L_2B07F970: 14694 edx = MEM32(esi + 0x4); /* 0x2B07F970: mov edx, dword ptr [esi + 4] */ 14695 goto L_2B07F989; /* 0x2B07F973: jmp 0x2b07f989 */ 14696 L_2B07F975: 14697 ecx = MEM32(eax); /* 0x2B07F975: mov ecx, dword ptr [eax] */ 14698 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F977: cmp byte ptr [ecx + 0x19], 0 */ 14699 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14701 _flag_k = FK_NARROW(FK_CMP, 24); 14702 edx = eax; /* 0x2B07F97B: mov edx, eax */ 14703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F989; /* 0x2B07F97D: jne 0x2b07f989 */ 14704 L_2B07F97F: 14705 edx = ecx; /* 0x2B07F97F: mov edx, ecx */ 14706 ecx = MEM32(edx); /* 0x2B07F981: mov ecx, dword ptr [edx] */ 14707 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F983: cmp byte ptr [ecx + 0x19], 0 */ 14708 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14710 _flag_k = FK_NARROW(FK_CMP, 24); 14711 RECOMP_BACKEDGE(); 14712 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F97F; /* 0x2B07F987: je 0x2b07f97f */ 14713 L_2B07F989: 14714 MEM32(ebx) = edx; /* 0x2B07F989: mov dword ptr [ebx], edx */ 14715 L_2B07F98B: 14716 ebx = MEM32(edi + 0x4); /* 0x2B07F98B: mov ebx, dword ptr [edi + 4] */ 14717 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B07F98E: cmp dword ptr [ebx + 8], esi */ 14718 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 14719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14720 _flag_k = FK_CMP; 14721 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9B8; /* 0x2B07F991: jne 0x2b07f9b8 */ 14722 L_2B07F993: 14723 ecx = MEM32(esi); /* 0x2B07F993: mov ecx, dword ptr [esi] */ 14724 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07F995: cmp ecx, dword ptr [edi + 8] */ 14725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14727 _flag_k = FK_CMP; 14728 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F99F; /* 0x2B07F998: jne 0x2b07f99f */ 14729 L_2B07F99A: 14730 edx = MEM32(esi + 0x4); /* 0x2B07F99A: mov edx, dword ptr [esi + 4] */ 14731 goto L_2B07F9B5; /* 0x2B07F99D: jmp 0x2b07f9b5 */ 14732 L_2B07F99F: 14733 ecx = MEM32(eax + 0x8); /* 0x2B07F99F: mov ecx, dword ptr [eax + 8] */ 14734 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F9A2: cmp byte ptr [ecx + 0x19], 0 */ 14735 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14737 _flag_k = FK_NARROW(FK_CMP, 24); 14738 edx = eax; /* 0x2B07F9A6: mov edx, eax */ 14739 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9B5; /* 0x2B07F9A8: jne 0x2b07f9b5 */ 14740 L_2B07F9AA: 14741 edx = ecx; /* 0x2B07F9AA: mov edx, ecx */ 14742 ecx = MEM32(edx + 0x8); /* 0x2B07F9AC: mov ecx, dword ptr [edx + 8] */ 14743 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F9AF: cmp byte ptr [ecx + 0x19], 0 */ 14744 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 14745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14746 _flag_k = FK_NARROW(FK_CMP, 24); 14747 RECOMP_BACKEDGE(); 14748 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F9AA; /* 0x2B07F9B3: je 0x2b07f9aa */ 14749 L_2B07F9B5: 14750 MEM32(ebx + 0x8) = edx; /* 0x2B07F9B5: mov dword ptr [ebx + 8], edx */ 14751 L_2B07F9B8: 14752 esi = MEM32(ebp + (-0x4)); /* 0x2B07F9B8: mov esi, dword ptr [ebp - 4] */ 14753 SET_LO8(ecx, MEM8(esi + 0x18)); /* 0x2B07F9BB: mov cl, byte ptr [esi + 0x18] */ 14754 SET_LO8(ebx, 1); /* 0x2B07F9BE: mov bl, 1 */ 14755 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B07F9C0: cmp cl, bl */ 14756 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14758 _flag_k = FK_NARROW(FK_CMP, 24); 14759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC28; /* 0x2B07F9C2: jne 0x2b07fc28 */ 14760 L_2B07F9C8: 14761 ecx = MEM32(edi + 0x4); /* 0x2B07F9C8: mov ecx, dword ptr [edi + 4] */ 14762 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07F9CB: cmp eax, dword ptr [ecx + 4] */ 14763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14765 _flag_k = FK_CMP; 14766 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9CE: je 0x2b07fc22 */ 14767 L_2B07F9D4: 14768 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 14769 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14771 _flag_k = FK_NARROW(FK_CMP, 24); 14772 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 14773 L_2B07F9DD: 14774 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 14775 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 14776 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 14777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14779 _flag_k = FK_CMP; 14780 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 14781 L_2B07F9E6: 14782 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 14783 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 14784 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 14785 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14786 _cf = 0; 14787 _flag_k = FK_NARROW(FK_TEST, 24); 14788 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 14789 L_2B07F9F0: 14790 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 14791 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 14792 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 14793 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 14794 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 14795 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 14796 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 14797 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 14798 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 14799 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14801 _flag_k = FK_CMP; 14802 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 14803 L_2B07FA0C: 14804 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 14805 L_2B07FA0F: 14806 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 14807 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 14808 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 14809 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 14810 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14812 _flag_k = FK_CMP; 14813 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 14814 L_2B07FA1D: 14815 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 14816 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 14817 L_2B07FA22: 14818 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 14819 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 14820 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14822 _flag_k = FK_CMP; 14823 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 14824 L_2B07FA29: 14825 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 14826 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 14827 L_2B07FA2D: 14828 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 14829 L_2B07FA30: 14830 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 14831 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 14832 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 14833 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 14834 L_2B07FA3B: 14835 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 14836 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 14837 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14839 _flag_k = FK_NARROW(FK_CMP, 24); 14840 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 14841 L_2B07FA46: 14842 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 14843 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 14844 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14846 _flag_k = FK_NARROW(FK_CMP, 24); 14847 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 14848 L_2B07FA52: 14849 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 14850 L_2B07FA54: 14851 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 14852 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 14853 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14854 _cf = 0; 14855 _flag_k = FK_NARROW(FK_TEST, 24); 14856 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 14857 L_2B07FA5B: 14858 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 14859 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 14860 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 14861 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 14862 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 14863 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 14864 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 14865 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 14866 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 14867 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14869 _flag_k = FK_CMP; 14870 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 14871 L_2B07FA77: 14872 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 14873 L_2B07FA7A: 14874 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 14875 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 14876 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 14877 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 14878 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14880 _flag_k = FK_CMP; 14881 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 14882 L_2B07FA88: 14883 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 14884 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 14885 L_2B07FA8D: 14886 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 14887 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 14888 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14890 _flag_k = FK_CMP; 14891 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 14892 L_2B07FA95: 14893 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 14894 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 14895 L_2B07FA9A: 14896 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 14897 L_2B07FA9C: 14898 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 14899 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 14900 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 14901 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 14902 L_2B07FAA7: 14903 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 14904 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 14905 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14907 _flag_k = FK_NARROW(FK_CMP, 24); 14908 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 14909 L_2B07FAB3: 14910 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 14911 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 14912 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14914 _flag_k = FK_NARROW(FK_CMP, 24); 14915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 14916 L_2B07FABE: 14917 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 14918 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 14919 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 14920 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 14921 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14923 _flag_k = FK_CMP; 14924 RECOMP_BACKEDGE(); 14925 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 14926 L_2B07FAD1: 14927 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 14928 L_2B07FAD6: 14929 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 14930 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 14931 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14933 _flag_k = FK_NARROW(FK_CMP, 24); 14934 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 14935 L_2B07FADE: 14936 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 14937 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 14938 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 14939 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 14940 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 14941 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 14942 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 14943 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 14944 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14946 _flag_k = FK_CMP; 14947 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 14948 L_2B07FAF6: 14949 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 14950 L_2B07FAF9: 14951 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 14952 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 14953 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 14954 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 14955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14957 _flag_k = FK_CMP; 14958 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 14959 L_2B07FB07: 14960 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 14961 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 14962 L_2B07FB0C: 14963 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 14964 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 14965 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14967 _flag_k = FK_CMP; 14968 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 14969 L_2B07FB14: 14970 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 14971 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 14972 L_2B07FB19: 14973 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 14974 L_2B07FB1B: 14975 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 14976 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 14977 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 14978 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 14979 L_2B07FB27: 14980 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 14981 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 14982 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 14983 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 14984 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 14985 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 14986 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 14987 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 14988 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 14989 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 14990 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 14991 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 14992 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 14993 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14995 _flag_k = FK_CMP; 14996 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 14997 L_2B07FB4E: 14998 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 14999 L_2B07FB51: 15000 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 15001 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 15002 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 15003 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 15004 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15006 _flag_k = FK_CMP; 15007 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 15008 L_2B07FB5F: 15009 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 15010 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 15011 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 15012 L_2B07FB69: 15013 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 15014 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 15015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15017 _flag_k = FK_CMP; 15018 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 15019 L_2B07FB70: 15020 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 15021 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 15022 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 15023 L_2B07FB79: 15024 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 15025 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 15026 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 15027 L_2B07FB83: 15028 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 15029 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 15030 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15032 _flag_k = FK_NARROW(FK_CMP, 24); 15033 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 15034 L_2B07FB8A: 15035 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 15036 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 15037 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 15038 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 15039 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 15040 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 15041 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 15042 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 15043 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15045 _flag_k = FK_CMP; 15046 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 15047 L_2B07FBA3: 15048 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 15049 L_2B07FBA6: 15050 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 15051 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 15052 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 15053 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 15054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15056 _flag_k = FK_CMP; 15057 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 15058 L_2B07FBB4: 15059 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 15060 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 15061 L_2B07FBB9: 15062 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 15063 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 15064 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15066 _flag_k = FK_CMP; 15067 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 15068 L_2B07FBC0: 15069 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 15070 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 15071 L_2B07FBC4: 15072 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 15073 L_2B07FBC7: 15074 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 15075 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 15076 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 15077 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 15078 L_2B07FBD1: 15079 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 15080 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 15081 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 15082 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 15083 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 15084 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 15085 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 15086 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 15087 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 15088 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 15089 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 15090 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 15091 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 15092 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15094 _flag_k = FK_CMP; 15095 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 15096 L_2B07FBF7: 15097 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 15098 L_2B07FBFA: 15099 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 15100 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 15101 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 15102 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 15103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15105 _flag_k = FK_CMP; 15106 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 15107 L_2B07FC08: 15108 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 15109 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 15110 L_2B07FC0D: 15111 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 15112 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 15113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15115 _flag_k = FK_CMP; 15116 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 15117 L_2B07FC15: 15118 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 15119 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 15120 L_2B07FC1A: 15121 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 15122 L_2B07FC1C: 15123 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 15124 L_2B07FC1F: 15125 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 15126 L_2B07FC22: 15127 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 15128 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 15129 L_2B07FC28: 15130 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 15131 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 15132 RECOMP_FLAGS_IN(); 15133 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 15134 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 15135 RECOMP_FLAGS_IN(); 15136 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 15137 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 15138 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15139 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15140 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 15141 _flag_k = FK_ADD; 15142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15143 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 15144 _flag_k = FK_DEC; 15145 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 15146 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 15147 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 15148 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 15149 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 15150 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 15151 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 15152 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 15153 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 15154 RECOMP_REGS_OUT(); 15155 } 15156 15157 void sub_2B07F989(void) { 15158 int _fpu_cmp = 0; 15159 uint32_t _cf = 0; 15160 int _df = 1; 15161 uint32_t _flag_k = FK_NONE; 15162 uint32_t _flag_a = 0, _flag_b = 0; 15163 uint32_t _itail_tgt = 0; 15164 RECOMP_REGS_LOCALS 15165 RECOMP_ENTER(0x2B07F989u); 15166 15167 L_2B07F989: 15168 MEM32(ebx) = edx; /* 0x2B07F989: mov dword ptr [ebx], edx */ 15169 ebx = MEM32(edi + 0x4); /* 0x2B07F98B: mov ebx, dword ptr [edi + 4] */ 15170 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B07F98E: cmp dword ptr [ebx + 8], esi */ 15171 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 15172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15173 _flag_k = FK_CMP; 15174 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9B8; /* 0x2B07F991: jne 0x2b07f9b8 */ 15175 L_2B07F993: 15176 ecx = MEM32(esi); /* 0x2B07F993: mov ecx, dword ptr [esi] */ 15177 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07F995: cmp ecx, dword ptr [edi + 8] */ 15178 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15180 _flag_k = FK_CMP; 15181 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F99F; /* 0x2B07F998: jne 0x2b07f99f */ 15182 L_2B07F99A: 15183 edx = MEM32(esi + 0x4); /* 0x2B07F99A: mov edx, dword ptr [esi + 4] */ 15184 goto L_2B07F9B5; /* 0x2B07F99D: jmp 0x2b07f9b5 */ 15185 L_2B07F99F: 15186 ecx = MEM32(eax + 0x8); /* 0x2B07F99F: mov ecx, dword ptr [eax + 8] */ 15187 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F9A2: cmp byte ptr [ecx + 0x19], 0 */ 15188 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 15189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15190 _flag_k = FK_NARROW(FK_CMP, 24); 15191 edx = eax; /* 0x2B07F9A6: mov edx, eax */ 15192 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9B5; /* 0x2B07F9A8: jne 0x2b07f9b5 */ 15193 L_2B07F9AA: 15194 edx = ecx; /* 0x2B07F9AA: mov edx, ecx */ 15195 ecx = MEM32(edx + 0x8); /* 0x2B07F9AC: mov ecx, dword ptr [edx + 8] */ 15196 /* cmp MEM8(ecx + 0x19), 0 */ /* 0x2B07F9AF: cmp byte ptr [ecx + 0x19], 0 */ 15197 _flag_a = (uint32_t)(MEM8(ecx + 0x19)) << 24; _flag_b = (uint32_t)(0) << 24; 15198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15199 _flag_k = FK_NARROW(FK_CMP, 24); 15200 RECOMP_BACKEDGE(); 15201 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07F9AA; /* 0x2B07F9B3: je 0x2b07f9aa */ 15202 L_2B07F9B5: 15203 MEM32(ebx + 0x8) = edx; /* 0x2B07F9B5: mov dword ptr [ebx + 8], edx */ 15204 L_2B07F9B8: 15205 esi = MEM32(ebp + (-0x4)); /* 0x2B07F9B8: mov esi, dword ptr [ebp - 4] */ 15206 SET_LO8(ecx, MEM8(esi + 0x18)); /* 0x2B07F9BB: mov cl, byte ptr [esi + 0x18] */ 15207 SET_LO8(ebx, 1); /* 0x2B07F9BE: mov bl, 1 */ 15208 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B07F9C0: cmp cl, bl */ 15209 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15210 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15211 _flag_k = FK_NARROW(FK_CMP, 24); 15212 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC28; /* 0x2B07F9C2: jne 0x2b07fc28 */ 15213 L_2B07F9C8: 15214 ecx = MEM32(edi + 0x4); /* 0x2B07F9C8: mov ecx, dword ptr [edi + 4] */ 15215 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07F9CB: cmp eax, dword ptr [ecx + 4] */ 15216 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15218 _flag_k = FK_CMP; 15219 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9CE: je 0x2b07fc22 */ 15220 L_2B07F9D4: 15221 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 15222 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15224 _flag_k = FK_NARROW(FK_CMP, 24); 15225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 15226 L_2B07F9DD: 15227 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 15228 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 15229 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 15230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15232 _flag_k = FK_CMP; 15233 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 15234 L_2B07F9E6: 15235 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 15236 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 15237 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 15238 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15239 _cf = 0; 15240 _flag_k = FK_NARROW(FK_TEST, 24); 15241 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 15242 L_2B07F9F0: 15243 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 15244 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 15245 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 15246 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 15247 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 15248 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 15249 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 15250 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 15251 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 15252 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15254 _flag_k = FK_CMP; 15255 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 15256 L_2B07FA0C: 15257 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 15258 L_2B07FA0F: 15259 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 15260 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 15261 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 15262 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 15263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15265 _flag_k = FK_CMP; 15266 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 15267 L_2B07FA1D: 15268 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 15269 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 15270 L_2B07FA22: 15271 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 15272 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 15273 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15275 _flag_k = FK_CMP; 15276 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 15277 L_2B07FA29: 15278 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 15279 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 15280 L_2B07FA2D: 15281 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 15282 L_2B07FA30: 15283 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 15284 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 15285 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 15286 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 15287 L_2B07FA3B: 15288 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 15289 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 15290 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15292 _flag_k = FK_NARROW(FK_CMP, 24); 15293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 15294 L_2B07FA46: 15295 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 15296 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 15297 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15299 _flag_k = FK_NARROW(FK_CMP, 24); 15300 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 15301 L_2B07FA52: 15302 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 15303 L_2B07FA54: 15304 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 15305 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 15306 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15307 _cf = 0; 15308 _flag_k = FK_NARROW(FK_TEST, 24); 15309 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 15310 L_2B07FA5B: 15311 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 15312 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 15313 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 15314 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 15315 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 15316 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 15317 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 15318 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 15319 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 15320 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15322 _flag_k = FK_CMP; 15323 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 15324 L_2B07FA77: 15325 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 15326 L_2B07FA7A: 15327 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 15328 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 15329 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 15330 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 15331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15333 _flag_k = FK_CMP; 15334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 15335 L_2B07FA88: 15336 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 15337 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 15338 L_2B07FA8D: 15339 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 15340 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 15341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15343 _flag_k = FK_CMP; 15344 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 15345 L_2B07FA95: 15346 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 15347 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 15348 L_2B07FA9A: 15349 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 15350 L_2B07FA9C: 15351 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 15352 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 15353 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 15354 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 15355 L_2B07FAA7: 15356 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 15357 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 15358 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15360 _flag_k = FK_NARROW(FK_CMP, 24); 15361 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 15362 L_2B07FAB3: 15363 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 15364 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 15365 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15367 _flag_k = FK_NARROW(FK_CMP, 24); 15368 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 15369 L_2B07FABE: 15370 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 15371 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 15372 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 15373 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 15374 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15376 _flag_k = FK_CMP; 15377 RECOMP_BACKEDGE(); 15378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 15379 L_2B07FAD1: 15380 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 15381 L_2B07FAD6: 15382 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 15383 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 15384 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15386 _flag_k = FK_NARROW(FK_CMP, 24); 15387 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 15388 L_2B07FADE: 15389 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 15390 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 15391 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 15392 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 15393 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 15394 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 15395 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 15396 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 15397 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15399 _flag_k = FK_CMP; 15400 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 15401 L_2B07FAF6: 15402 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 15403 L_2B07FAF9: 15404 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 15405 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 15406 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 15407 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 15408 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15410 _flag_k = FK_CMP; 15411 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 15412 L_2B07FB07: 15413 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 15414 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 15415 L_2B07FB0C: 15416 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 15417 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 15418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15420 _flag_k = FK_CMP; 15421 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 15422 L_2B07FB14: 15423 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 15424 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 15425 L_2B07FB19: 15426 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 15427 L_2B07FB1B: 15428 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 15429 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 15430 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 15431 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 15432 L_2B07FB27: 15433 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 15434 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 15435 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 15436 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 15437 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 15438 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 15439 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 15440 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 15441 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 15442 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 15443 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 15444 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 15445 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 15446 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15448 _flag_k = FK_CMP; 15449 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 15450 L_2B07FB4E: 15451 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 15452 L_2B07FB51: 15453 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 15454 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 15455 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 15456 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 15457 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15459 _flag_k = FK_CMP; 15460 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 15461 L_2B07FB5F: 15462 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 15463 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 15464 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 15465 L_2B07FB69: 15466 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 15467 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 15468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15470 _flag_k = FK_CMP; 15471 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 15472 L_2B07FB70: 15473 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 15474 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 15475 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 15476 L_2B07FB79: 15477 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 15478 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 15479 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 15480 L_2B07FB83: 15481 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 15482 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 15483 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15485 _flag_k = FK_NARROW(FK_CMP, 24); 15486 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 15487 L_2B07FB8A: 15488 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 15489 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 15490 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 15491 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 15492 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 15493 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 15494 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 15495 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 15496 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15498 _flag_k = FK_CMP; 15499 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 15500 L_2B07FBA3: 15501 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 15502 L_2B07FBA6: 15503 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 15504 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 15505 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 15506 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 15507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15509 _flag_k = FK_CMP; 15510 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 15511 L_2B07FBB4: 15512 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 15513 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 15514 L_2B07FBB9: 15515 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 15516 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 15517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15519 _flag_k = FK_CMP; 15520 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 15521 L_2B07FBC0: 15522 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 15523 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 15524 L_2B07FBC4: 15525 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 15526 L_2B07FBC7: 15527 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 15528 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 15529 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 15530 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 15531 L_2B07FBD1: 15532 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 15533 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 15534 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 15535 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 15536 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 15537 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 15538 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 15539 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 15540 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 15541 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 15542 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 15543 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 15544 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 15545 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15547 _flag_k = FK_CMP; 15548 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 15549 L_2B07FBF7: 15550 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 15551 L_2B07FBFA: 15552 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 15553 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 15554 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 15555 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 15556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15558 _flag_k = FK_CMP; 15559 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 15560 L_2B07FC08: 15561 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 15562 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 15563 L_2B07FC0D: 15564 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 15565 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 15566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15568 _flag_k = FK_CMP; 15569 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 15570 L_2B07FC15: 15571 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 15572 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 15573 L_2B07FC1A: 15574 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 15575 L_2B07FC1C: 15576 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 15577 L_2B07FC1F: 15578 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 15579 L_2B07FC22: 15580 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 15581 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 15582 L_2B07FC28: 15583 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 15584 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 15585 RECOMP_FLAGS_IN(); 15586 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 15587 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 15588 RECOMP_FLAGS_IN(); 15589 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 15590 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 15591 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15593 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 15594 _flag_k = FK_ADD; 15595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15596 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 15597 _flag_k = FK_DEC; 15598 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 15599 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 15600 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 15601 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 15602 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 15603 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 15604 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 15605 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 15606 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 15607 RECOMP_REGS_OUT(); 15608 } 15609 15610 void sub_2B07F9B5(void) { 15611 int _fpu_cmp = 0; 15612 uint32_t _cf = 0; 15613 int _df = 1; 15614 uint32_t _flag_k = FK_NONE; 15615 uint32_t _flag_a = 0, _flag_b = 0; 15616 uint32_t _itail_tgt = 0; 15617 RECOMP_REGS_LOCALS 15618 RECOMP_ENTER(0x2B07F9B5u); 15619 15620 L_2B07F9B5: 15621 MEM32(ebx + 0x8) = edx; /* 0x2B07F9B5: mov dword ptr [ebx + 8], edx */ 15622 esi = MEM32(ebp + (-0x4)); /* 0x2B07F9B8: mov esi, dword ptr [ebp - 4] */ 15623 SET_LO8(ecx, MEM8(esi + 0x18)); /* 0x2B07F9BB: mov cl, byte ptr [esi + 0x18] */ 15624 SET_LO8(ebx, 1); /* 0x2B07F9BE: mov bl, 1 */ 15625 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B07F9C0: cmp cl, bl */ 15626 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15628 _flag_k = FK_NARROW(FK_CMP, 24); 15629 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC28; /* 0x2B07F9C2: jne 0x2b07fc28 */ 15630 L_2B07F9C8: 15631 ecx = MEM32(edi + 0x4); /* 0x2B07F9C8: mov ecx, dword ptr [edi + 4] */ 15632 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07F9CB: cmp eax, dword ptr [ecx + 4] */ 15633 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15635 _flag_k = FK_CMP; 15636 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9CE: je 0x2b07fc22 */ 15637 L_2B07F9D4: 15638 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 15639 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15641 _flag_k = FK_NARROW(FK_CMP, 24); 15642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 15643 L_2B07F9DD: 15644 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 15645 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 15646 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 15647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15649 _flag_k = FK_CMP; 15650 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 15651 L_2B07F9E6: 15652 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 15653 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 15654 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 15655 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15656 _cf = 0; 15657 _flag_k = FK_NARROW(FK_TEST, 24); 15658 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 15659 L_2B07F9F0: 15660 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 15661 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 15662 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 15663 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 15664 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 15665 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 15666 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 15667 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 15668 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 15669 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15671 _flag_k = FK_CMP; 15672 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 15673 L_2B07FA0C: 15674 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 15675 L_2B07FA0F: 15676 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 15677 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 15678 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 15679 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 15680 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15682 _flag_k = FK_CMP; 15683 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 15684 L_2B07FA1D: 15685 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 15686 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 15687 L_2B07FA22: 15688 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 15689 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 15690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15692 _flag_k = FK_CMP; 15693 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 15694 L_2B07FA29: 15695 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 15696 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 15697 L_2B07FA2D: 15698 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 15699 L_2B07FA30: 15700 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 15701 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 15702 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 15703 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 15704 L_2B07FA3B: 15705 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 15706 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 15707 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15709 _flag_k = FK_NARROW(FK_CMP, 24); 15710 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 15711 L_2B07FA46: 15712 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 15713 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 15714 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15716 _flag_k = FK_NARROW(FK_CMP, 24); 15717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 15718 L_2B07FA52: 15719 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 15720 L_2B07FA54: 15721 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 15722 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 15723 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15724 _cf = 0; 15725 _flag_k = FK_NARROW(FK_TEST, 24); 15726 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 15727 L_2B07FA5B: 15728 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 15729 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 15730 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 15731 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 15732 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 15733 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 15734 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 15735 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 15736 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 15737 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15739 _flag_k = FK_CMP; 15740 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 15741 L_2B07FA77: 15742 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 15743 L_2B07FA7A: 15744 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 15745 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 15746 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 15747 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 15748 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15750 _flag_k = FK_CMP; 15751 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 15752 L_2B07FA88: 15753 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 15754 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 15755 L_2B07FA8D: 15756 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 15757 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 15758 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15760 _flag_k = FK_CMP; 15761 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 15762 L_2B07FA95: 15763 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 15764 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 15765 L_2B07FA9A: 15766 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 15767 L_2B07FA9C: 15768 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 15769 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 15770 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 15771 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 15772 L_2B07FAA7: 15773 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 15774 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 15775 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15777 _flag_k = FK_NARROW(FK_CMP, 24); 15778 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 15779 L_2B07FAB3: 15780 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 15781 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 15782 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15784 _flag_k = FK_NARROW(FK_CMP, 24); 15785 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 15786 L_2B07FABE: 15787 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 15788 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 15789 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 15790 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 15791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15793 _flag_k = FK_CMP; 15794 RECOMP_BACKEDGE(); 15795 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 15796 L_2B07FAD1: 15797 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 15798 L_2B07FAD6: 15799 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 15800 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 15801 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15803 _flag_k = FK_NARROW(FK_CMP, 24); 15804 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 15805 L_2B07FADE: 15806 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 15807 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 15808 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 15809 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 15810 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 15811 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 15812 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 15813 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 15814 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15816 _flag_k = FK_CMP; 15817 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 15818 L_2B07FAF6: 15819 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 15820 L_2B07FAF9: 15821 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 15822 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 15823 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 15824 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 15825 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15827 _flag_k = FK_CMP; 15828 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 15829 L_2B07FB07: 15830 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 15831 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 15832 L_2B07FB0C: 15833 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 15834 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 15835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15837 _flag_k = FK_CMP; 15838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 15839 L_2B07FB14: 15840 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 15841 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 15842 L_2B07FB19: 15843 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 15844 L_2B07FB1B: 15845 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 15846 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 15847 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 15848 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 15849 L_2B07FB27: 15850 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 15851 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 15852 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 15853 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 15854 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 15855 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 15856 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 15857 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 15858 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 15859 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 15860 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 15861 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 15862 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 15863 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15865 _flag_k = FK_CMP; 15866 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 15867 L_2B07FB4E: 15868 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 15869 L_2B07FB51: 15870 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 15871 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 15872 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 15873 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 15874 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15876 _flag_k = FK_CMP; 15877 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 15878 L_2B07FB5F: 15879 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 15880 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 15881 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 15882 L_2B07FB69: 15883 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 15884 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 15885 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15887 _flag_k = FK_CMP; 15888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 15889 L_2B07FB70: 15890 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 15891 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 15892 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 15893 L_2B07FB79: 15894 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 15895 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 15896 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 15897 L_2B07FB83: 15898 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 15899 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 15900 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15902 _flag_k = FK_NARROW(FK_CMP, 24); 15903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 15904 L_2B07FB8A: 15905 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 15906 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 15907 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 15908 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 15909 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 15910 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 15911 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 15912 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 15913 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15915 _flag_k = FK_CMP; 15916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 15917 L_2B07FBA3: 15918 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 15919 L_2B07FBA6: 15920 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 15921 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 15922 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 15923 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 15924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15926 _flag_k = FK_CMP; 15927 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 15928 L_2B07FBB4: 15929 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 15930 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 15931 L_2B07FBB9: 15932 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 15933 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 15934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15936 _flag_k = FK_CMP; 15937 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 15938 L_2B07FBC0: 15939 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 15940 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 15941 L_2B07FBC4: 15942 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 15943 L_2B07FBC7: 15944 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 15945 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 15946 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 15947 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 15948 L_2B07FBD1: 15949 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 15950 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 15951 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 15952 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 15953 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 15954 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 15955 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 15956 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 15957 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 15958 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 15959 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 15960 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 15961 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 15962 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15964 _flag_k = FK_CMP; 15965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 15966 L_2B07FBF7: 15967 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 15968 L_2B07FBFA: 15969 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 15970 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 15971 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 15972 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 15973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15975 _flag_k = FK_CMP; 15976 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 15977 L_2B07FC08: 15978 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 15979 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 15980 L_2B07FC0D: 15981 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 15982 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 15983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15985 _flag_k = FK_CMP; 15986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 15987 L_2B07FC15: 15988 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 15989 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 15990 L_2B07FC1A: 15991 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 15992 L_2B07FC1C: 15993 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 15994 L_2B07FC1F: 15995 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 15996 L_2B07FC22: 15997 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 15998 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 15999 L_2B07FC28: 16000 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 16001 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 16002 RECOMP_FLAGS_IN(); 16003 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 16004 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 16005 RECOMP_FLAGS_IN(); 16006 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 16007 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 16008 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16009 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16010 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 16011 _flag_k = FK_ADD; 16012 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16013 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 16014 _flag_k = FK_DEC; 16015 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 16016 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 16017 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 16018 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 16019 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 16020 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 16021 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 16022 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 16023 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 16024 RECOMP_REGS_OUT(); 16025 } 16026 16027 void sub_2B07F9D4(void) { 16028 int _fpu_cmp = 0; 16029 uint32_t _cf = 0; 16030 int _df = 1; 16031 uint32_t _flag_k = FK_NONE; 16032 uint32_t _flag_a = 0, _flag_b = 0; 16033 uint32_t _itail_tgt = 0; 16034 RECOMP_REGS_LOCALS 16035 RECOMP_ENTER(0x2B07F9D4u); 16036 16037 L_2B07F9D4: 16038 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 16039 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16041 _flag_k = FK_NARROW(FK_CMP, 24); 16042 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 16043 L_2B07F9DD: 16044 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 16045 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 16046 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 16047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16049 _flag_k = FK_CMP; 16050 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 16051 L_2B07F9E6: 16052 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 16053 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 16054 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 16055 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16056 _cf = 0; 16057 _flag_k = FK_NARROW(FK_TEST, 24); 16058 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 16059 L_2B07F9F0: 16060 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 16061 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 16062 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 16063 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 16064 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 16065 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 16066 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 16067 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 16068 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 16069 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16071 _flag_k = FK_CMP; 16072 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 16073 L_2B07FA0C: 16074 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 16075 L_2B07FA0F: 16076 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 16077 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 16078 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 16079 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 16080 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16082 _flag_k = FK_CMP; 16083 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 16084 L_2B07FA1D: 16085 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 16086 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 16087 L_2B07FA22: 16088 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 16089 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 16090 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16092 _flag_k = FK_CMP; 16093 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 16094 L_2B07FA29: 16095 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 16096 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 16097 L_2B07FA2D: 16098 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 16099 L_2B07FA30: 16100 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 16101 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 16102 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 16103 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 16104 L_2B07FA3B: 16105 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 16106 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 16107 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16109 _flag_k = FK_NARROW(FK_CMP, 24); 16110 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 16111 L_2B07FA46: 16112 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 16113 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 16114 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16116 _flag_k = FK_NARROW(FK_CMP, 24); 16117 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 16118 L_2B07FA52: 16119 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 16120 L_2B07FA54: 16121 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 16122 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 16123 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16124 _cf = 0; 16125 _flag_k = FK_NARROW(FK_TEST, 24); 16126 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 16127 L_2B07FA5B: 16128 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 16129 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 16130 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 16131 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 16132 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 16133 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 16134 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 16135 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 16136 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 16137 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16139 _flag_k = FK_CMP; 16140 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 16141 L_2B07FA77: 16142 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 16143 L_2B07FA7A: 16144 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 16145 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 16146 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 16147 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 16148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16150 _flag_k = FK_CMP; 16151 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 16152 L_2B07FA88: 16153 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 16154 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 16155 L_2B07FA8D: 16156 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 16157 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 16158 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16160 _flag_k = FK_CMP; 16161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 16162 L_2B07FA95: 16163 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 16164 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 16165 L_2B07FA9A: 16166 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 16167 L_2B07FA9C: 16168 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 16169 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 16170 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 16171 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 16172 L_2B07FAA7: 16173 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 16174 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 16175 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16177 _flag_k = FK_NARROW(FK_CMP, 24); 16178 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 16179 L_2B07FAB3: 16180 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 16181 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 16182 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16184 _flag_k = FK_NARROW(FK_CMP, 24); 16185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 16186 L_2B07FABE: 16187 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 16188 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 16189 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 16190 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 16191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16193 _flag_k = FK_CMP; 16194 RECOMP_BACKEDGE(); 16195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 16196 L_2B07FAD1: 16197 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 16198 L_2B07FAD6: 16199 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 16200 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 16201 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16203 _flag_k = FK_NARROW(FK_CMP, 24); 16204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 16205 L_2B07FADE: 16206 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 16207 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 16208 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 16209 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 16210 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 16211 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 16212 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 16213 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 16214 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16216 _flag_k = FK_CMP; 16217 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 16218 L_2B07FAF6: 16219 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 16220 L_2B07FAF9: 16221 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 16222 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 16223 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 16224 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 16225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16227 _flag_k = FK_CMP; 16228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 16229 L_2B07FB07: 16230 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 16231 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 16232 L_2B07FB0C: 16233 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 16234 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 16235 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16237 _flag_k = FK_CMP; 16238 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 16239 L_2B07FB14: 16240 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 16241 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 16242 L_2B07FB19: 16243 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 16244 L_2B07FB1B: 16245 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 16246 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 16247 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 16248 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 16249 L_2B07FB27: 16250 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 16251 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 16252 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 16253 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 16254 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 16255 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 16256 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 16257 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 16258 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 16259 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 16260 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 16261 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 16262 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 16263 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16265 _flag_k = FK_CMP; 16266 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 16267 L_2B07FB4E: 16268 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 16269 L_2B07FB51: 16270 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 16271 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 16272 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 16273 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 16274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16276 _flag_k = FK_CMP; 16277 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 16278 L_2B07FB5F: 16279 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 16280 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 16281 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 16282 L_2B07FB69: 16283 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 16284 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 16285 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16287 _flag_k = FK_CMP; 16288 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 16289 L_2B07FB70: 16290 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 16291 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 16292 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 16293 L_2B07FB79: 16294 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 16295 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 16296 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 16297 L_2B07FB83: 16298 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 16299 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 16300 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16302 _flag_k = FK_NARROW(FK_CMP, 24); 16303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 16304 L_2B07FB8A: 16305 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 16306 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 16307 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 16308 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 16309 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 16310 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 16311 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 16312 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 16313 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16315 _flag_k = FK_CMP; 16316 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 16317 L_2B07FBA3: 16318 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 16319 L_2B07FBA6: 16320 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 16321 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 16322 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 16323 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 16324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16326 _flag_k = FK_CMP; 16327 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 16328 L_2B07FBB4: 16329 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 16330 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 16331 L_2B07FBB9: 16332 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 16333 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 16334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16336 _flag_k = FK_CMP; 16337 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 16338 L_2B07FBC0: 16339 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 16340 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 16341 L_2B07FBC4: 16342 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 16343 L_2B07FBC7: 16344 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 16345 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 16346 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 16347 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 16348 L_2B07FBD1: 16349 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 16350 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 16351 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 16352 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 16353 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 16354 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 16355 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 16356 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 16357 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 16358 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 16359 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 16360 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 16361 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 16362 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16364 _flag_k = FK_CMP; 16365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 16366 L_2B07FBF7: 16367 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 16368 L_2B07FBFA: 16369 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 16370 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 16371 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 16372 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 16373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16375 _flag_k = FK_CMP; 16376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 16377 L_2B07FC08: 16378 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 16379 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 16380 L_2B07FC0D: 16381 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 16382 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 16383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16385 _flag_k = FK_CMP; 16386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 16387 L_2B07FC15: 16388 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 16389 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 16390 L_2B07FC1A: 16391 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 16392 L_2B07FC1C: 16393 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 16394 L_2B07FC1F: 16395 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 16396 L_2B07FC22: 16397 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 16398 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 16399 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 16400 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 16401 RECOMP_FLAGS_IN(); 16402 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 16403 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 16404 RECOMP_FLAGS_IN(); 16405 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 16406 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 16407 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16408 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16409 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 16410 _flag_k = FK_ADD; 16411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16412 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 16413 _flag_k = FK_DEC; 16414 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 16415 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 16416 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 16417 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 16418 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 16419 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 16420 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 16421 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 16422 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 16423 RECOMP_REGS_OUT(); 16424 } 16425 16426 void sub_2B07FA30(void) { 16427 int _fpu_cmp = 0; 16428 uint32_t _cf = 0; 16429 int _df = 1; 16430 uint32_t _flag_k = FK_NONE; 16431 uint32_t _flag_a = 0, _flag_b = 0; 16432 uint32_t _itail_tgt = 0; 16433 RECOMP_REGS_LOCALS 16434 RECOMP_ENTER(0x2B07FA30u); 16435 16436 goto L_2B07FA30; 16437 L_2B07F9D4: 16438 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 16439 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16441 _flag_k = FK_NARROW(FK_CMP, 24); 16442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 16443 L_2B07F9DD: 16444 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 16445 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 16446 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 16447 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16449 _flag_k = FK_CMP; 16450 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 16451 L_2B07F9E6: 16452 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 16453 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 16454 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 16455 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16456 _cf = 0; 16457 _flag_k = FK_NARROW(FK_TEST, 24); 16458 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 16459 L_2B07F9F0: 16460 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 16461 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 16462 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 16463 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 16464 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 16465 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 16466 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 16467 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 16468 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 16469 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16471 _flag_k = FK_CMP; 16472 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 16473 L_2B07FA0C: 16474 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 16475 L_2B07FA0F: 16476 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 16477 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 16478 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 16479 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 16480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16482 _flag_k = FK_CMP; 16483 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 16484 L_2B07FA1D: 16485 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 16486 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 16487 L_2B07FA22: 16488 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 16489 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 16490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16492 _flag_k = FK_CMP; 16493 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 16494 L_2B07FA29: 16495 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 16496 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 16497 L_2B07FA2D: 16498 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 16499 L_2B07FA30: 16500 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 16501 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 16502 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 16503 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 16504 L_2B07FA3B: 16505 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 16506 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 16507 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16509 _flag_k = FK_NARROW(FK_CMP, 24); 16510 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 16511 L_2B07FA46: 16512 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 16513 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 16514 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16516 _flag_k = FK_NARROW(FK_CMP, 24); 16517 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 16518 L_2B07FA52: 16519 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 16520 L_2B07FA54: 16521 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 16522 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 16523 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16524 _cf = 0; 16525 _flag_k = FK_NARROW(FK_TEST, 24); 16526 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 16527 L_2B07FA5B: 16528 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 16529 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 16530 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 16531 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 16532 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 16533 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 16534 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 16535 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 16536 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 16537 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16539 _flag_k = FK_CMP; 16540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 16541 L_2B07FA77: 16542 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 16543 L_2B07FA7A: 16544 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 16545 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 16546 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 16547 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 16548 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16550 _flag_k = FK_CMP; 16551 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 16552 L_2B07FA88: 16553 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 16554 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 16555 L_2B07FA8D: 16556 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 16557 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 16558 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16560 _flag_k = FK_CMP; 16561 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 16562 L_2B07FA95: 16563 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 16564 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 16565 L_2B07FA9A: 16566 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 16567 L_2B07FA9C: 16568 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 16569 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 16570 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 16571 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 16572 L_2B07FAA7: 16573 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 16574 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 16575 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16577 _flag_k = FK_NARROW(FK_CMP, 24); 16578 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 16579 L_2B07FAB3: 16580 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 16581 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 16582 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16584 _flag_k = FK_NARROW(FK_CMP, 24); 16585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 16586 L_2B07FABE: 16587 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 16588 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 16589 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 16590 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 16591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16593 _flag_k = FK_CMP; 16594 RECOMP_BACKEDGE(); 16595 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 16596 L_2B07FAD1: 16597 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 16598 L_2B07FAD6: 16599 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 16600 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 16601 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16603 _flag_k = FK_NARROW(FK_CMP, 24); 16604 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 16605 L_2B07FADE: 16606 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 16607 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 16608 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 16609 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 16610 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 16611 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 16612 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 16613 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 16614 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16616 _flag_k = FK_CMP; 16617 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 16618 L_2B07FAF6: 16619 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 16620 L_2B07FAF9: 16621 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 16622 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 16623 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 16624 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 16625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16627 _flag_k = FK_CMP; 16628 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 16629 L_2B07FB07: 16630 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 16631 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 16632 L_2B07FB0C: 16633 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 16634 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 16635 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16637 _flag_k = FK_CMP; 16638 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 16639 L_2B07FB14: 16640 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 16641 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 16642 L_2B07FB19: 16643 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 16644 L_2B07FB1B: 16645 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 16646 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 16647 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 16648 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 16649 L_2B07FB27: 16650 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 16651 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 16652 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 16653 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 16654 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 16655 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 16656 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 16657 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 16658 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 16659 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 16660 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 16661 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 16662 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 16663 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16665 _flag_k = FK_CMP; 16666 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 16667 L_2B07FB4E: 16668 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 16669 L_2B07FB51: 16670 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 16671 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 16672 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 16673 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 16674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16676 _flag_k = FK_CMP; 16677 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 16678 L_2B07FB5F: 16679 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 16680 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 16681 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 16682 L_2B07FB69: 16683 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 16684 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 16685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16687 _flag_k = FK_CMP; 16688 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 16689 L_2B07FB70: 16690 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 16691 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 16692 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 16693 L_2B07FB79: 16694 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 16695 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 16696 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 16697 L_2B07FB83: 16698 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 16699 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 16700 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16702 _flag_k = FK_NARROW(FK_CMP, 24); 16703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 16704 L_2B07FB8A: 16705 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 16706 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 16707 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 16708 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 16709 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 16710 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 16711 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 16712 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 16713 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16715 _flag_k = FK_CMP; 16716 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 16717 L_2B07FBA3: 16718 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 16719 L_2B07FBA6: 16720 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 16721 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 16722 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 16723 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 16724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16726 _flag_k = FK_CMP; 16727 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 16728 L_2B07FBB4: 16729 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 16730 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 16731 L_2B07FBB9: 16732 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 16733 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 16734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16736 _flag_k = FK_CMP; 16737 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 16738 L_2B07FBC0: 16739 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 16740 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 16741 L_2B07FBC4: 16742 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 16743 L_2B07FBC7: 16744 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 16745 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 16746 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 16747 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 16748 L_2B07FBD1: 16749 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 16750 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 16751 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 16752 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 16753 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 16754 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 16755 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 16756 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 16757 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 16758 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 16759 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 16760 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 16761 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 16762 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16764 _flag_k = FK_CMP; 16765 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 16766 L_2B07FBF7: 16767 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 16768 L_2B07FBFA: 16769 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 16770 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 16771 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 16772 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 16773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16775 _flag_k = FK_CMP; 16776 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 16777 L_2B07FC08: 16778 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 16779 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 16780 L_2B07FC0D: 16781 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 16782 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 16783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16785 _flag_k = FK_CMP; 16786 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 16787 L_2B07FC15: 16788 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 16789 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 16790 L_2B07FC1A: 16791 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 16792 L_2B07FC1C: 16793 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 16794 L_2B07FC1F: 16795 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 16796 L_2B07FC22: 16797 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 16798 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 16799 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 16800 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 16801 RECOMP_FLAGS_IN(); 16802 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 16803 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 16804 RECOMP_FLAGS_IN(); 16805 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 16806 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 16807 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16809 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 16810 _flag_k = FK_ADD; 16811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16812 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 16813 _flag_k = FK_DEC; 16814 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 16815 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 16816 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 16817 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 16818 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 16819 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 16820 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 16821 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 16822 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 16823 RECOMP_REGS_OUT(); 16824 } 16825 16826 void sub_2B07FA3B(void) { 16827 int _fpu_cmp = 0; 16828 uint32_t _cf = 0; 16829 int _df = 1; 16830 uint32_t _flag_k = FK_NONE; 16831 uint32_t _flag_a = 0, _flag_b = 0; 16832 uint32_t _itail_tgt = 0; 16833 RECOMP_REGS_LOCALS 16834 RECOMP_ENTER(0x2B07FA3Bu); 16835 16836 goto L_2B07FA3B; 16837 L_2B07F9D4: 16838 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 16839 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16841 _flag_k = FK_NARROW(FK_CMP, 24); 16842 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 16843 L_2B07F9DD: 16844 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 16845 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 16846 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 16847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16849 _flag_k = FK_CMP; 16850 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 16851 L_2B07F9E6: 16852 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 16853 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 16854 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 16855 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16856 _cf = 0; 16857 _flag_k = FK_NARROW(FK_TEST, 24); 16858 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 16859 L_2B07F9F0: 16860 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 16861 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 16862 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 16863 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 16864 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 16865 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 16866 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 16867 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 16868 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 16869 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16871 _flag_k = FK_CMP; 16872 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 16873 L_2B07FA0C: 16874 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 16875 L_2B07FA0F: 16876 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 16877 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 16878 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 16879 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 16880 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16882 _flag_k = FK_CMP; 16883 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 16884 L_2B07FA1D: 16885 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 16886 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 16887 L_2B07FA22: 16888 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 16889 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 16890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16892 _flag_k = FK_CMP; 16893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 16894 L_2B07FA29: 16895 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 16896 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 16897 L_2B07FA2D: 16898 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 16899 L_2B07FA30: 16900 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 16901 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 16902 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 16903 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 16904 L_2B07FA3B: 16905 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 16906 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 16907 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16909 _flag_k = FK_NARROW(FK_CMP, 24); 16910 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 16911 L_2B07FA46: 16912 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 16913 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 16914 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16916 _flag_k = FK_NARROW(FK_CMP, 24); 16917 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 16918 L_2B07FA52: 16919 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 16920 L_2B07FA54: 16921 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 16922 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 16923 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16924 _cf = 0; 16925 _flag_k = FK_NARROW(FK_TEST, 24); 16926 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 16927 L_2B07FA5B: 16928 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 16929 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 16930 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 16931 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 16932 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 16933 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 16934 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 16935 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 16936 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 16937 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16939 _flag_k = FK_CMP; 16940 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 16941 L_2B07FA77: 16942 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 16943 L_2B07FA7A: 16944 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 16945 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 16946 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 16947 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 16948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16950 _flag_k = FK_CMP; 16951 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 16952 L_2B07FA88: 16953 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 16954 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 16955 L_2B07FA8D: 16956 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 16957 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 16958 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16960 _flag_k = FK_CMP; 16961 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 16962 L_2B07FA95: 16963 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 16964 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 16965 L_2B07FA9A: 16966 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 16967 L_2B07FA9C: 16968 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 16969 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 16970 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 16971 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 16972 L_2B07FAA7: 16973 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 16974 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 16975 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16977 _flag_k = FK_NARROW(FK_CMP, 24); 16978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 16979 L_2B07FAB3: 16980 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 16981 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 16982 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16984 _flag_k = FK_NARROW(FK_CMP, 24); 16985 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 16986 L_2B07FABE: 16987 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 16988 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 16989 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 16990 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 16991 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16993 _flag_k = FK_CMP; 16994 RECOMP_BACKEDGE(); 16995 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 16996 L_2B07FAD1: 16997 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 16998 L_2B07FAD6: 16999 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 17000 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 17001 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17003 _flag_k = FK_NARROW(FK_CMP, 24); 17004 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 17005 L_2B07FADE: 17006 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 17007 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 17008 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 17009 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 17010 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 17011 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 17012 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 17013 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 17014 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17016 _flag_k = FK_CMP; 17017 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 17018 L_2B07FAF6: 17019 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 17020 L_2B07FAF9: 17021 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 17022 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 17023 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 17024 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 17025 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17027 _flag_k = FK_CMP; 17028 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 17029 L_2B07FB07: 17030 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 17031 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 17032 L_2B07FB0C: 17033 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 17034 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 17035 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17037 _flag_k = FK_CMP; 17038 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 17039 L_2B07FB14: 17040 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 17041 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 17042 L_2B07FB19: 17043 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 17044 L_2B07FB1B: 17045 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 17046 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 17047 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 17048 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 17049 L_2B07FB27: 17050 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 17051 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 17052 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 17053 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 17054 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 17055 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 17056 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 17057 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 17058 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 17059 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 17060 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 17061 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 17062 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 17063 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17065 _flag_k = FK_CMP; 17066 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 17067 L_2B07FB4E: 17068 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 17069 L_2B07FB51: 17070 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 17071 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 17072 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 17073 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 17074 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17076 _flag_k = FK_CMP; 17077 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 17078 L_2B07FB5F: 17079 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 17080 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 17081 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 17082 L_2B07FB69: 17083 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 17084 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 17085 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17087 _flag_k = FK_CMP; 17088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 17089 L_2B07FB70: 17090 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 17091 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 17092 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 17093 L_2B07FB79: 17094 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 17095 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 17096 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 17097 L_2B07FB83: 17098 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 17099 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 17100 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17102 _flag_k = FK_NARROW(FK_CMP, 24); 17103 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 17104 L_2B07FB8A: 17105 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 17106 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 17107 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 17108 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 17109 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 17110 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 17111 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 17112 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 17113 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17115 _flag_k = FK_CMP; 17116 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 17117 L_2B07FBA3: 17118 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 17119 L_2B07FBA6: 17120 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 17121 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 17122 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 17123 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 17124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17126 _flag_k = FK_CMP; 17127 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 17128 L_2B07FBB4: 17129 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 17130 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 17131 L_2B07FBB9: 17132 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 17133 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 17134 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17136 _flag_k = FK_CMP; 17137 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 17138 L_2B07FBC0: 17139 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 17140 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 17141 L_2B07FBC4: 17142 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 17143 L_2B07FBC7: 17144 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 17145 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 17146 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 17147 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 17148 L_2B07FBD1: 17149 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 17150 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 17151 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 17152 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 17153 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 17154 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 17155 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 17156 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 17157 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 17158 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 17159 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 17160 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 17161 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 17162 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17164 _flag_k = FK_CMP; 17165 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 17166 L_2B07FBF7: 17167 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 17168 L_2B07FBFA: 17169 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 17170 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 17171 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 17172 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 17173 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17175 _flag_k = FK_CMP; 17176 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 17177 L_2B07FC08: 17178 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 17179 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 17180 L_2B07FC0D: 17181 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 17182 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 17183 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17185 _flag_k = FK_CMP; 17186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 17187 L_2B07FC15: 17188 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 17189 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 17190 L_2B07FC1A: 17191 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 17192 L_2B07FC1C: 17193 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 17194 L_2B07FC1F: 17195 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 17196 L_2B07FC22: 17197 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 17198 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 17199 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 17200 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 17201 RECOMP_FLAGS_IN(); 17202 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 17203 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 17204 RECOMP_FLAGS_IN(); 17205 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 17206 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 17207 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17208 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17209 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 17210 _flag_k = FK_ADD; 17211 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17212 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 17213 _flag_k = FK_DEC; 17214 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 17215 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 17216 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 17217 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 17218 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 17219 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 17220 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 17221 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 17222 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 17223 RECOMP_REGS_OUT(); 17224 } 17225 17226 void sub_2B07FA54(void) { 17227 int _fpu_cmp = 0; 17228 uint32_t _cf = 0; 17229 int _df = 1; 17230 uint32_t _flag_k = FK_NONE; 17231 uint32_t _flag_a = 0, _flag_b = 0; 17232 uint32_t _itail_tgt = 0; 17233 RECOMP_REGS_LOCALS 17234 RECOMP_ENTER(0x2B07FA54u); 17235 17236 goto L_2B07FA54; 17237 L_2B07F9D4: 17238 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 17239 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17241 _flag_k = FK_NARROW(FK_CMP, 24); 17242 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 17243 L_2B07F9DD: 17244 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 17245 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 17246 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 17247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17249 _flag_k = FK_CMP; 17250 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 17251 L_2B07F9E6: 17252 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 17253 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 17254 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 17255 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17256 _cf = 0; 17257 _flag_k = FK_NARROW(FK_TEST, 24); 17258 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 17259 L_2B07F9F0: 17260 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 17261 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 17262 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 17263 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 17264 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 17265 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 17266 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 17267 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 17268 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 17269 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17271 _flag_k = FK_CMP; 17272 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 17273 L_2B07FA0C: 17274 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 17275 L_2B07FA0F: 17276 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 17277 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 17278 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 17279 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 17280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17282 _flag_k = FK_CMP; 17283 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 17284 L_2B07FA1D: 17285 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 17286 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 17287 L_2B07FA22: 17288 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 17289 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 17290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17292 _flag_k = FK_CMP; 17293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 17294 L_2B07FA29: 17295 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 17296 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 17297 L_2B07FA2D: 17298 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 17299 L_2B07FA30: 17300 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 17301 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 17302 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 17303 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 17304 L_2B07FA3B: 17305 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 17306 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 17307 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17309 _flag_k = FK_NARROW(FK_CMP, 24); 17310 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 17311 L_2B07FA46: 17312 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 17313 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 17314 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17316 _flag_k = FK_NARROW(FK_CMP, 24); 17317 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 17318 L_2B07FA52: 17319 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 17320 L_2B07FA54: 17321 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 17322 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 17323 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17324 _cf = 0; 17325 _flag_k = FK_NARROW(FK_TEST, 24); 17326 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 17327 L_2B07FA5B: 17328 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 17329 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 17330 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 17331 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 17332 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 17333 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 17334 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 17335 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 17336 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 17337 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17339 _flag_k = FK_CMP; 17340 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 17341 L_2B07FA77: 17342 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 17343 L_2B07FA7A: 17344 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 17345 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 17346 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 17347 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 17348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17350 _flag_k = FK_CMP; 17351 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 17352 L_2B07FA88: 17353 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 17354 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 17355 L_2B07FA8D: 17356 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 17357 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 17358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17360 _flag_k = FK_CMP; 17361 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 17362 L_2B07FA95: 17363 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 17364 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 17365 L_2B07FA9A: 17366 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 17367 L_2B07FA9C: 17368 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 17369 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 17370 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 17371 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 17372 L_2B07FAA7: 17373 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 17374 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 17375 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17377 _flag_k = FK_NARROW(FK_CMP, 24); 17378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 17379 L_2B07FAB3: 17380 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 17381 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 17382 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17384 _flag_k = FK_NARROW(FK_CMP, 24); 17385 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 17386 L_2B07FABE: 17387 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 17388 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 17389 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 17390 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 17391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17393 _flag_k = FK_CMP; 17394 RECOMP_BACKEDGE(); 17395 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 17396 L_2B07FAD1: 17397 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 17398 L_2B07FAD6: 17399 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 17400 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 17401 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17403 _flag_k = FK_NARROW(FK_CMP, 24); 17404 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 17405 L_2B07FADE: 17406 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 17407 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 17408 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 17409 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 17410 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 17411 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 17412 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 17413 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 17414 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17416 _flag_k = FK_CMP; 17417 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 17418 L_2B07FAF6: 17419 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 17420 L_2B07FAF9: 17421 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 17422 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 17423 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 17424 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 17425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17427 _flag_k = FK_CMP; 17428 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 17429 L_2B07FB07: 17430 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 17431 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 17432 L_2B07FB0C: 17433 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 17434 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 17435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17437 _flag_k = FK_CMP; 17438 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 17439 L_2B07FB14: 17440 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 17441 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 17442 L_2B07FB19: 17443 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 17444 L_2B07FB1B: 17445 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 17446 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 17447 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 17448 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 17449 L_2B07FB27: 17450 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 17451 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 17452 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 17453 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 17454 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 17455 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 17456 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 17457 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 17458 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 17459 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 17460 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 17461 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 17462 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 17463 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17465 _flag_k = FK_CMP; 17466 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 17467 L_2B07FB4E: 17468 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 17469 L_2B07FB51: 17470 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 17471 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 17472 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 17473 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 17474 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17476 _flag_k = FK_CMP; 17477 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 17478 L_2B07FB5F: 17479 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 17480 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 17481 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 17482 L_2B07FB69: 17483 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 17484 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 17485 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17487 _flag_k = FK_CMP; 17488 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 17489 L_2B07FB70: 17490 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 17491 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 17492 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 17493 L_2B07FB79: 17494 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 17495 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 17496 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 17497 L_2B07FB83: 17498 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 17499 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 17500 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17502 _flag_k = FK_NARROW(FK_CMP, 24); 17503 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 17504 L_2B07FB8A: 17505 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 17506 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 17507 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 17508 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 17509 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 17510 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 17511 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 17512 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 17513 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17515 _flag_k = FK_CMP; 17516 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 17517 L_2B07FBA3: 17518 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 17519 L_2B07FBA6: 17520 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 17521 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 17522 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 17523 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 17524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17526 _flag_k = FK_CMP; 17527 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 17528 L_2B07FBB4: 17529 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 17530 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 17531 L_2B07FBB9: 17532 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 17533 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 17534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17536 _flag_k = FK_CMP; 17537 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 17538 L_2B07FBC0: 17539 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 17540 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 17541 L_2B07FBC4: 17542 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 17543 L_2B07FBC7: 17544 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 17545 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 17546 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 17547 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 17548 L_2B07FBD1: 17549 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 17550 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 17551 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 17552 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 17553 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 17554 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 17555 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 17556 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 17557 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 17558 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 17559 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 17560 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 17561 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 17562 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17564 _flag_k = FK_CMP; 17565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 17566 L_2B07FBF7: 17567 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 17568 L_2B07FBFA: 17569 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 17570 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 17571 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 17572 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 17573 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17575 _flag_k = FK_CMP; 17576 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 17577 L_2B07FC08: 17578 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 17579 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 17580 L_2B07FC0D: 17581 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 17582 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 17583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17585 _flag_k = FK_CMP; 17586 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 17587 L_2B07FC15: 17588 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 17589 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 17590 L_2B07FC1A: 17591 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 17592 L_2B07FC1C: 17593 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 17594 L_2B07FC1F: 17595 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 17596 L_2B07FC22: 17597 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 17598 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 17599 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 17600 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 17601 RECOMP_FLAGS_IN(); 17602 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 17603 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 17604 RECOMP_FLAGS_IN(); 17605 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 17606 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 17607 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17608 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17609 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 17610 _flag_k = FK_ADD; 17611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17612 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 17613 _flag_k = FK_DEC; 17614 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 17615 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 17616 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 17617 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 17618 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 17619 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 17620 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 17621 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 17622 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 17623 RECOMP_REGS_OUT(); 17624 } 17625 17626 void sub_2B07FA9C(void) { 17627 int _fpu_cmp = 0; 17628 uint32_t _cf = 0; 17629 int _df = 1; 17630 uint32_t _flag_k = FK_NONE; 17631 uint32_t _flag_a = 0, _flag_b = 0; 17632 uint32_t _itail_tgt = 0; 17633 RECOMP_REGS_LOCALS 17634 RECOMP_ENTER(0x2B07FA9Cu); 17635 17636 goto L_2B07FA9C; 17637 L_2B07F9D4: 17638 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 17639 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17641 _flag_k = FK_NARROW(FK_CMP, 24); 17642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 17643 L_2B07F9DD: 17644 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 17645 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 17646 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 17647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17649 _flag_k = FK_CMP; 17650 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 17651 L_2B07F9E6: 17652 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 17653 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 17654 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 17655 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17656 _cf = 0; 17657 _flag_k = FK_NARROW(FK_TEST, 24); 17658 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 17659 L_2B07F9F0: 17660 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 17661 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 17662 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 17663 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 17664 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 17665 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 17666 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 17667 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 17668 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 17669 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17671 _flag_k = FK_CMP; 17672 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 17673 L_2B07FA0C: 17674 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 17675 L_2B07FA0F: 17676 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 17677 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 17678 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 17679 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 17680 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17682 _flag_k = FK_CMP; 17683 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 17684 L_2B07FA1D: 17685 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 17686 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 17687 L_2B07FA22: 17688 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 17689 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 17690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17692 _flag_k = FK_CMP; 17693 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 17694 L_2B07FA29: 17695 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 17696 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 17697 L_2B07FA2D: 17698 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 17699 L_2B07FA30: 17700 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 17701 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 17702 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 17703 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 17704 L_2B07FA3B: 17705 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 17706 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 17707 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17709 _flag_k = FK_NARROW(FK_CMP, 24); 17710 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 17711 L_2B07FA46: 17712 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 17713 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 17714 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17716 _flag_k = FK_NARROW(FK_CMP, 24); 17717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 17718 L_2B07FA52: 17719 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 17720 L_2B07FA54: 17721 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 17722 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 17723 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17724 _cf = 0; 17725 _flag_k = FK_NARROW(FK_TEST, 24); 17726 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 17727 L_2B07FA5B: 17728 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 17729 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 17730 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 17731 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 17732 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 17733 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 17734 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 17735 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 17736 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 17737 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17739 _flag_k = FK_CMP; 17740 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 17741 L_2B07FA77: 17742 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 17743 L_2B07FA7A: 17744 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 17745 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 17746 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 17747 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 17748 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17750 _flag_k = FK_CMP; 17751 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 17752 L_2B07FA88: 17753 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 17754 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 17755 L_2B07FA8D: 17756 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 17757 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 17758 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17760 _flag_k = FK_CMP; 17761 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 17762 L_2B07FA95: 17763 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 17764 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 17765 L_2B07FA9A: 17766 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 17767 L_2B07FA9C: 17768 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 17769 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 17770 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 17771 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 17772 L_2B07FAA7: 17773 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 17774 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 17775 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17777 _flag_k = FK_NARROW(FK_CMP, 24); 17778 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 17779 L_2B07FAB3: 17780 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 17781 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 17782 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17784 _flag_k = FK_NARROW(FK_CMP, 24); 17785 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 17786 L_2B07FABE: 17787 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 17788 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 17789 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 17790 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 17791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17793 _flag_k = FK_CMP; 17794 RECOMP_BACKEDGE(); 17795 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 17796 L_2B07FAD1: 17797 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 17798 L_2B07FAD6: 17799 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 17800 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 17801 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17803 _flag_k = FK_NARROW(FK_CMP, 24); 17804 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 17805 L_2B07FADE: 17806 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 17807 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 17808 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 17809 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 17810 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 17811 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 17812 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 17813 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 17814 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17816 _flag_k = FK_CMP; 17817 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 17818 L_2B07FAF6: 17819 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 17820 L_2B07FAF9: 17821 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 17822 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 17823 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 17824 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 17825 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17827 _flag_k = FK_CMP; 17828 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 17829 L_2B07FB07: 17830 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 17831 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 17832 L_2B07FB0C: 17833 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 17834 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 17835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17837 _flag_k = FK_CMP; 17838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 17839 L_2B07FB14: 17840 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 17841 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 17842 L_2B07FB19: 17843 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 17844 L_2B07FB1B: 17845 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 17846 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 17847 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 17848 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 17849 L_2B07FB27: 17850 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 17851 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 17852 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 17853 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 17854 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 17855 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 17856 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 17857 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 17858 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 17859 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 17860 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 17861 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 17862 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 17863 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17865 _flag_k = FK_CMP; 17866 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 17867 L_2B07FB4E: 17868 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 17869 L_2B07FB51: 17870 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 17871 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 17872 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 17873 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 17874 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17876 _flag_k = FK_CMP; 17877 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 17878 L_2B07FB5F: 17879 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 17880 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 17881 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 17882 L_2B07FB69: 17883 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 17884 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 17885 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17887 _flag_k = FK_CMP; 17888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 17889 L_2B07FB70: 17890 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 17891 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 17892 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 17893 L_2B07FB79: 17894 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 17895 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 17896 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 17897 L_2B07FB83: 17898 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 17899 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 17900 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17902 _flag_k = FK_NARROW(FK_CMP, 24); 17903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 17904 L_2B07FB8A: 17905 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 17906 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 17907 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 17908 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 17909 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 17910 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 17911 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 17912 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 17913 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17915 _flag_k = FK_CMP; 17916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 17917 L_2B07FBA3: 17918 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 17919 L_2B07FBA6: 17920 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 17921 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 17922 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 17923 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 17924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17926 _flag_k = FK_CMP; 17927 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 17928 L_2B07FBB4: 17929 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 17930 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 17931 L_2B07FBB9: 17932 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 17933 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 17934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17936 _flag_k = FK_CMP; 17937 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 17938 L_2B07FBC0: 17939 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 17940 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 17941 L_2B07FBC4: 17942 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 17943 L_2B07FBC7: 17944 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 17945 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 17946 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 17947 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 17948 L_2B07FBD1: 17949 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 17950 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 17951 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 17952 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 17953 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 17954 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 17955 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 17956 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 17957 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 17958 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 17959 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 17960 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 17961 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 17962 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17964 _flag_k = FK_CMP; 17965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 17966 L_2B07FBF7: 17967 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 17968 L_2B07FBFA: 17969 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 17970 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 17971 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 17972 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 17973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17975 _flag_k = FK_CMP; 17976 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 17977 L_2B07FC08: 17978 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 17979 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 17980 L_2B07FC0D: 17981 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 17982 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 17983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17985 _flag_k = FK_CMP; 17986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 17987 L_2B07FC15: 17988 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 17989 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 17990 L_2B07FC1A: 17991 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 17992 L_2B07FC1C: 17993 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 17994 L_2B07FC1F: 17995 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 17996 L_2B07FC22: 17997 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 17998 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 17999 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 18000 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 18001 RECOMP_FLAGS_IN(); 18002 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 18003 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 18004 RECOMP_FLAGS_IN(); 18005 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 18006 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 18007 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18008 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18009 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 18010 _flag_k = FK_ADD; 18011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18012 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 18013 _flag_k = FK_DEC; 18014 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 18015 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 18016 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 18017 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 18018 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 18019 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 18020 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 18021 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 18022 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 18023 RECOMP_REGS_OUT(); 18024 } 18025 18026 void sub_2B07FAA7(void) { 18027 int _fpu_cmp = 0; 18028 uint32_t _cf = 0; 18029 int _df = 1; 18030 uint32_t _flag_k = FK_NONE; 18031 uint32_t _flag_a = 0, _flag_b = 0; 18032 uint32_t _itail_tgt = 0; 18033 RECOMP_REGS_LOCALS 18034 RECOMP_ENTER(0x2B07FAA7u); 18035 18036 goto L_2B07FAA7; 18037 L_2B07F9D4: 18038 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 18039 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18041 _flag_k = FK_NARROW(FK_CMP, 24); 18042 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 18043 L_2B07F9DD: 18044 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 18045 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 18046 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 18047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18049 _flag_k = FK_CMP; 18050 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 18051 L_2B07F9E6: 18052 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 18053 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 18054 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 18055 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18056 _cf = 0; 18057 _flag_k = FK_NARROW(FK_TEST, 24); 18058 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 18059 L_2B07F9F0: 18060 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 18061 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 18062 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 18063 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 18064 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 18065 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 18066 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 18067 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 18068 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 18069 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18071 _flag_k = FK_CMP; 18072 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 18073 L_2B07FA0C: 18074 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 18075 L_2B07FA0F: 18076 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 18077 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 18078 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 18079 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 18080 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18082 _flag_k = FK_CMP; 18083 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 18084 L_2B07FA1D: 18085 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 18086 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 18087 L_2B07FA22: 18088 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 18089 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 18090 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18092 _flag_k = FK_CMP; 18093 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 18094 L_2B07FA29: 18095 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 18096 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 18097 L_2B07FA2D: 18098 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 18099 L_2B07FA30: 18100 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 18101 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 18102 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 18103 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 18104 L_2B07FA3B: 18105 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 18106 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 18107 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18109 _flag_k = FK_NARROW(FK_CMP, 24); 18110 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 18111 L_2B07FA46: 18112 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 18113 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 18114 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18116 _flag_k = FK_NARROW(FK_CMP, 24); 18117 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 18118 L_2B07FA52: 18119 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 18120 L_2B07FA54: 18121 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 18122 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 18123 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18124 _cf = 0; 18125 _flag_k = FK_NARROW(FK_TEST, 24); 18126 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 18127 L_2B07FA5B: 18128 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 18129 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 18130 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 18131 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 18132 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 18133 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 18134 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 18135 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 18136 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 18137 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18139 _flag_k = FK_CMP; 18140 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 18141 L_2B07FA77: 18142 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 18143 L_2B07FA7A: 18144 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 18145 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 18146 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 18147 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 18148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18150 _flag_k = FK_CMP; 18151 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 18152 L_2B07FA88: 18153 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 18154 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 18155 L_2B07FA8D: 18156 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 18157 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 18158 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18160 _flag_k = FK_CMP; 18161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 18162 L_2B07FA95: 18163 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 18164 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 18165 L_2B07FA9A: 18166 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 18167 L_2B07FA9C: 18168 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 18169 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 18170 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 18171 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 18172 L_2B07FAA7: 18173 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 18174 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 18175 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18177 _flag_k = FK_NARROW(FK_CMP, 24); 18178 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 18179 L_2B07FAB3: 18180 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 18181 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 18182 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18184 _flag_k = FK_NARROW(FK_CMP, 24); 18185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 18186 L_2B07FABE: 18187 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 18188 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 18189 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 18190 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 18191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 18192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18193 _flag_k = FK_CMP; 18194 RECOMP_BACKEDGE(); 18195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 18196 L_2B07FAD1: 18197 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 18198 L_2B07FAD6: 18199 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 18200 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 18201 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18203 _flag_k = FK_NARROW(FK_CMP, 24); 18204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 18205 L_2B07FADE: 18206 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 18207 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 18208 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 18209 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 18210 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 18211 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 18212 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 18213 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 18214 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18216 _flag_k = FK_CMP; 18217 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 18218 L_2B07FAF6: 18219 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 18220 L_2B07FAF9: 18221 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 18222 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 18223 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 18224 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 18225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18227 _flag_k = FK_CMP; 18228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 18229 L_2B07FB07: 18230 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 18231 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 18232 L_2B07FB0C: 18233 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 18234 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 18235 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18237 _flag_k = FK_CMP; 18238 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 18239 L_2B07FB14: 18240 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 18241 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 18242 L_2B07FB19: 18243 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 18244 L_2B07FB1B: 18245 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 18246 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 18247 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 18248 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 18249 L_2B07FB27: 18250 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 18251 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 18252 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 18253 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 18254 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 18255 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 18256 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 18257 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 18258 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 18259 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 18260 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 18261 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 18262 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 18263 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18265 _flag_k = FK_CMP; 18266 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 18267 L_2B07FB4E: 18268 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 18269 L_2B07FB51: 18270 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 18271 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 18272 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 18273 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 18274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18276 _flag_k = FK_CMP; 18277 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 18278 L_2B07FB5F: 18279 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 18280 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 18281 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 18282 L_2B07FB69: 18283 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 18284 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 18285 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18287 _flag_k = FK_CMP; 18288 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 18289 L_2B07FB70: 18290 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 18291 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 18292 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 18293 L_2B07FB79: 18294 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 18295 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 18296 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 18297 L_2B07FB83: 18298 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 18299 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 18300 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18302 _flag_k = FK_NARROW(FK_CMP, 24); 18303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 18304 L_2B07FB8A: 18305 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 18306 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 18307 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 18308 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 18309 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 18310 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 18311 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 18312 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 18313 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18315 _flag_k = FK_CMP; 18316 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 18317 L_2B07FBA3: 18318 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 18319 L_2B07FBA6: 18320 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 18321 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 18322 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 18323 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 18324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18326 _flag_k = FK_CMP; 18327 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 18328 L_2B07FBB4: 18329 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 18330 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 18331 L_2B07FBB9: 18332 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 18333 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 18334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18336 _flag_k = FK_CMP; 18337 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 18338 L_2B07FBC0: 18339 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 18340 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 18341 L_2B07FBC4: 18342 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 18343 L_2B07FBC7: 18344 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 18345 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 18346 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 18347 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 18348 L_2B07FBD1: 18349 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 18350 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 18351 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 18352 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 18353 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 18354 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 18355 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 18356 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 18357 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 18358 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 18359 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 18360 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 18361 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 18362 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18364 _flag_k = FK_CMP; 18365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 18366 L_2B07FBF7: 18367 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 18368 L_2B07FBFA: 18369 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 18370 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 18371 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 18372 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 18373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18375 _flag_k = FK_CMP; 18376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 18377 L_2B07FC08: 18378 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 18379 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 18380 L_2B07FC0D: 18381 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 18382 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 18383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18385 _flag_k = FK_CMP; 18386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 18387 L_2B07FC15: 18388 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 18389 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 18390 L_2B07FC1A: 18391 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 18392 L_2B07FC1C: 18393 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 18394 L_2B07FC1F: 18395 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 18396 L_2B07FC22: 18397 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 18398 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 18399 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 18400 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 18401 RECOMP_FLAGS_IN(); 18402 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 18403 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 18404 RECOMP_FLAGS_IN(); 18405 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 18406 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 18407 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18408 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18409 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 18410 _flag_k = FK_ADD; 18411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18412 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 18413 _flag_k = FK_DEC; 18414 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 18415 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 18416 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 18417 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 18418 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 18419 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 18420 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 18421 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 18422 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 18423 RECOMP_REGS_OUT(); 18424 } 18425 18426 void sub_2B07FABE(void) { 18427 int _fpu_cmp = 0; 18428 uint32_t _cf = 0; 18429 int _df = 1; 18430 uint32_t _flag_k = FK_NONE; 18431 uint32_t _flag_a = 0, _flag_b = 0; 18432 uint32_t _itail_tgt = 0; 18433 RECOMP_REGS_LOCALS 18434 RECOMP_ENTER(0x2B07FABEu); 18435 18436 goto L_2B07FABE; 18437 L_2B07F9D4: 18438 /* cmp MEM8(eax + 0x18), LO8(ebx) */ /* 0x2B07F9D4: cmp byte ptr [eax + 0x18], bl */ 18439 _flag_a = (uint32_t)(MEM8(eax + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18441 _flag_k = FK_NARROW(FK_CMP, 24); 18442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC22; /* 0x2B07F9D7: jne 0x2b07fc22 */ 18443 L_2B07F9DD: 18444 edx = MEM32(eax + 0x4); /* 0x2B07F9DD: mov edx, dword ptr [eax + 4] */ 18445 ecx = MEM32(edx); /* 0x2B07F9E0: mov ecx, dword ptr [edx] */ 18446 /* cmp eax, ecx */ /* 0x2B07F9E2: cmp eax, ecx */ 18447 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18449 _flag_k = FK_CMP; 18450 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA54; /* 0x2B07F9E4: jne 0x2b07fa54 */ 18451 L_2B07F9E6: 18452 ecx = MEM32(edx + 0x8); /* 0x2B07F9E6: mov ecx, dword ptr [edx + 8] */ 18453 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07F9E9: mov dl, byte ptr [ecx + 0x18] */ 18454 /* test LO8(edx), LO8(edx) */ /* 0x2B07F9EC: test dl, dl */ 18455 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18456 _cf = 0; 18457 _flag_k = FK_NARROW(FK_TEST, 24); 18458 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FA3B; /* 0x2B07F9EE: jne 0x2b07fa3b */ 18459 L_2B07F9F0: 18460 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07F9F0: mov byte ptr [ecx + 0x18], bl */ 18461 edx = MEM32(eax + 0x4); /* 0x2B07F9F3: mov edx, dword ptr [eax + 4] */ 18462 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07F9F6: mov byte ptr [edx + 0x18], 0 */ 18463 ecx = MEM32(eax + 0x4); /* 0x2B07F9FA: mov ecx, dword ptr [eax + 4] */ 18464 edx = MEM32(ecx + 0x8); /* 0x2B07F9FD: mov edx, dword ptr [ecx + 8] */ 18465 esi = MEM32(edx); /* 0x2B07FA00: mov esi, dword ptr [edx] */ 18466 MEM32(ecx + 0x8) = esi; /* 0x2B07FA02: mov dword ptr [ecx + 8], esi */ 18467 esi = MEM32(edx); /* 0x2B07FA05: mov esi, dword ptr [edx] */ 18468 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA07: cmp esi, dword ptr [edi + 8] */ 18469 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18471 _flag_k = FK_CMP; 18472 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA0F; /* 0x2B07FA0A: je 0x2b07fa0f */ 18473 L_2B07FA0C: 18474 MEM32(esi + 0x4) = ecx; /* 0x2B07FA0C: mov dword ptr [esi + 4], ecx */ 18475 L_2B07FA0F: 18476 esi = MEM32(ecx + 0x4); /* 0x2B07FA0F: mov esi, dword ptr [ecx + 4] */ 18477 MEM32(edx + 0x4) = esi; /* 0x2B07FA12: mov dword ptr [edx + 4], esi */ 18478 esi = MEM32(edi + 0x4); /* 0x2B07FA15: mov esi, dword ptr [edi + 4] */ 18479 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA18: cmp ecx, dword ptr [esi + 4] */ 18480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18482 _flag_k = FK_CMP; 18483 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA22; /* 0x2B07FA1B: jne 0x2b07fa22 */ 18484 L_2B07FA1D: 18485 MEM32(esi + 0x4) = edx; /* 0x2B07FA1D: mov dword ptr [esi + 4], edx */ 18486 goto L_2B07FA30; /* 0x2B07FA20: jmp 0x2b07fa30 */ 18487 L_2B07FA22: 18488 esi = MEM32(ecx + 0x4); /* 0x2B07FA22: mov esi, dword ptr [ecx + 4] */ 18489 /* cmp ecx, MEM32(esi) */ /* 0x2B07FA25: cmp ecx, dword ptr [esi] */ 18490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18492 _flag_k = FK_CMP; 18493 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA2D; /* 0x2B07FA27: jne 0x2b07fa2d */ 18494 L_2B07FA29: 18495 MEM32(esi) = edx; /* 0x2B07FA29: mov dword ptr [esi], edx */ 18496 goto L_2B07FA30; /* 0x2B07FA2B: jmp 0x2b07fa30 */ 18497 L_2B07FA2D: 18498 MEM32(esi + 0x8) = edx; /* 0x2B07FA2D: mov dword ptr [esi + 8], edx */ 18499 L_2B07FA30: 18500 MEM32(edx) = ecx; /* 0x2B07FA30: mov dword ptr [edx], ecx */ 18501 MEM32(ecx + 0x4) = edx; /* 0x2B07FA32: mov dword ptr [ecx + 4], edx */ 18502 ecx = MEM32(eax + 0x4); /* 0x2B07FA35: mov ecx, dword ptr [eax + 4] */ 18503 ecx = MEM32(ecx + 0x8); /* 0x2B07FA38: mov ecx, dword ptr [ecx + 8] */ 18504 L_2B07FA3B: 18505 edx = MEM32(ecx); /* 0x2B07FA3B: mov edx, dword ptr [ecx] */ 18506 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA3D: cmp byte ptr [edx + 0x18], bl */ 18507 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18509 _flag_k = FK_NARROW(FK_CMP, 24); 18510 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA40: jne 0x2b07fad6 */ 18511 L_2B07FA46: 18512 edx = MEM32(ecx + 0x8); /* 0x2B07FA46: mov edx, dword ptr [ecx + 8] */ 18513 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FA49: cmp byte ptr [edx + 0x18], bl */ 18514 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18516 _flag_k = FK_NARROW(FK_CMP, 24); 18517 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FAD6; /* 0x2B07FA4C: jne 0x2b07fad6 */ 18518 L_2B07FA52: 18519 goto L_2B07FABE; /* 0x2B07FA52: jmp 0x2b07fabe */ 18520 L_2B07FA54: 18521 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FA54: mov dl, byte ptr [ecx + 0x18] */ 18522 /* test LO8(edx), LO8(edx) */ /* 0x2B07FA57: test dl, dl */ 18523 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18524 _cf = 0; 18525 _flag_k = FK_NARROW(FK_TEST, 24); 18526 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FAA7; /* 0x2B07FA59: jne 0x2b07faa7 */ 18527 L_2B07FA5B: 18528 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FA5B: mov byte ptr [ecx + 0x18], bl */ 18529 ecx = MEM32(eax + 0x4); /* 0x2B07FA5E: mov ecx, dword ptr [eax + 4] */ 18530 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FA61: mov byte ptr [ecx + 0x18], 0 */ 18531 ecx = MEM32(eax + 0x4); /* 0x2B07FA65: mov ecx, dword ptr [eax + 4] */ 18532 edx = MEM32(ecx); /* 0x2B07FA68: mov edx, dword ptr [ecx] */ 18533 esi = MEM32(edx + 0x8); /* 0x2B07FA6A: mov esi, dword ptr [edx + 8] */ 18534 MEM32(ecx) = esi; /* 0x2B07FA6D: mov dword ptr [ecx], esi */ 18535 esi = MEM32(edx + 0x8); /* 0x2B07FA6F: mov esi, dword ptr [edx + 8] */ 18536 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FA72: cmp esi, dword ptr [edi + 8] */ 18537 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18539 _flag_k = FK_CMP; 18540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FA7A; /* 0x2B07FA75: je 0x2b07fa7a */ 18541 L_2B07FA77: 18542 MEM32(esi + 0x4) = ecx; /* 0x2B07FA77: mov dword ptr [esi + 4], ecx */ 18543 L_2B07FA7A: 18544 esi = MEM32(ecx + 0x4); /* 0x2B07FA7A: mov esi, dword ptr [ecx + 4] */ 18545 MEM32(edx + 0x4) = esi; /* 0x2B07FA7D: mov dword ptr [edx + 4], esi */ 18546 esi = MEM32(edi + 0x4); /* 0x2B07FA80: mov esi, dword ptr [edi + 4] */ 18547 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FA83: cmp ecx, dword ptr [esi + 4] */ 18548 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18550 _flag_k = FK_CMP; 18551 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA8D; /* 0x2B07FA86: jne 0x2b07fa8d */ 18552 L_2B07FA88: 18553 MEM32(esi + 0x4) = edx; /* 0x2B07FA88: mov dword ptr [esi + 4], edx */ 18554 goto L_2B07FA9C; /* 0x2B07FA8B: jmp 0x2b07fa9c */ 18555 L_2B07FA8D: 18556 esi = MEM32(ecx + 0x4); /* 0x2B07FA8D: mov esi, dword ptr [ecx + 4] */ 18557 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FA90: cmp ecx, dword ptr [esi + 8] */ 18558 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18560 _flag_k = FK_CMP; 18561 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FA9A; /* 0x2B07FA93: jne 0x2b07fa9a */ 18562 L_2B07FA95: 18563 MEM32(esi + 0x8) = edx; /* 0x2B07FA95: mov dword ptr [esi + 8], edx */ 18564 goto L_2B07FA9C; /* 0x2B07FA98: jmp 0x2b07fa9c */ 18565 L_2B07FA9A: 18566 MEM32(esi) = edx; /* 0x2B07FA9A: mov dword ptr [esi], edx */ 18567 L_2B07FA9C: 18568 MEM32(edx + 0x8) = ecx; /* 0x2B07FA9C: mov dword ptr [edx + 8], ecx */ 18569 MEM32(ecx + 0x4) = edx; /* 0x2B07FA9F: mov dword ptr [ecx + 4], edx */ 18570 edx = MEM32(eax + 0x4); /* 0x2B07FAA2: mov edx, dword ptr [eax + 4] */ 18571 ecx = MEM32(edx); /* 0x2B07FAA5: mov ecx, dword ptr [edx] */ 18572 L_2B07FAA7: 18573 edx = MEM32(ecx + 0x8); /* 0x2B07FAA7: mov edx, dword ptr [ecx + 8] */ 18574 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAAA: cmp byte ptr [edx + 0x18], bl */ 18575 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18577 _flag_k = FK_NARROW(FK_CMP, 24); 18578 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAAD: jne 0x2b07fb83 */ 18579 L_2B07FAB3: 18580 edx = MEM32(ecx); /* 0x2B07FAB3: mov edx, dword ptr [ecx] */ 18581 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAB5: cmp byte ptr [edx + 0x18], bl */ 18582 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18584 _flag_k = FK_NARROW(FK_CMP, 24); 18585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB83; /* 0x2B07FAB8: jne 0x2b07fb83 */ 18586 L_2B07FABE: 18587 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FABE: mov byte ptr [ecx + 0x18], 0 */ 18588 ecx = MEM32(edi + 0x4); /* 0x2B07FAC2: mov ecx, dword ptr [edi + 4] */ 18589 eax = MEM32(eax + 0x4); /* 0x2B07FAC5: mov eax, dword ptr [eax + 4] */ 18590 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FAC8: cmp eax, dword ptr [ecx + 4] */ 18591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 18592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18593 _flag_k = FK_CMP; 18594 RECOMP_BACKEDGE(); 18595 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07F9D4; /* 0x2B07FACB: jne 0x2b07f9d4 */ 18596 L_2B07FAD1: 18597 goto L_2B07FC22; /* 0x2B07FAD1: jmp 0x2b07fc22 */ 18598 L_2B07FAD6: 18599 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 18600 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 18601 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18603 _flag_k = FK_NARROW(FK_CMP, 24); 18604 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 18605 L_2B07FADE: 18606 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 18607 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 18608 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 18609 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 18610 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 18611 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 18612 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 18613 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 18614 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18616 _flag_k = FK_CMP; 18617 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 18618 L_2B07FAF6: 18619 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 18620 L_2B07FAF9: 18621 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 18622 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 18623 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 18624 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 18625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18627 _flag_k = FK_CMP; 18628 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 18629 L_2B07FB07: 18630 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 18631 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 18632 L_2B07FB0C: 18633 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 18634 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 18635 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18637 _flag_k = FK_CMP; 18638 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 18639 L_2B07FB14: 18640 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 18641 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 18642 L_2B07FB19: 18643 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 18644 L_2B07FB1B: 18645 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 18646 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 18647 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 18648 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 18649 L_2B07FB27: 18650 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 18651 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 18652 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 18653 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 18654 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 18655 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 18656 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 18657 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 18658 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 18659 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 18660 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 18661 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 18662 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 18663 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18665 _flag_k = FK_CMP; 18666 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 18667 L_2B07FB4E: 18668 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 18669 L_2B07FB51: 18670 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 18671 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 18672 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 18673 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 18674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18676 _flag_k = FK_CMP; 18677 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 18678 L_2B07FB5F: 18679 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 18680 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 18681 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 18682 L_2B07FB69: 18683 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 18684 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 18685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18687 _flag_k = FK_CMP; 18688 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 18689 L_2B07FB70: 18690 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 18691 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 18692 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 18693 L_2B07FB79: 18694 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 18695 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 18696 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 18697 L_2B07FB83: 18698 edx = MEM32(ecx); /* 0x2B07FB83: mov edx, dword ptr [ecx] */ 18699 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FB85: cmp byte ptr [edx + 0x18], bl */ 18700 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18702 _flag_k = FK_NARROW(FK_CMP, 24); 18703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBD1; /* 0x2B07FB88: jne 0x2b07fbd1 */ 18704 L_2B07FB8A: 18705 edx = MEM32(ecx + 0x8); /* 0x2B07FB8A: mov edx, dword ptr [ecx + 8] */ 18706 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB8D: mov byte ptr [edx + 0x18], bl */ 18707 edx = MEM32(ecx + 0x8); /* 0x2B07FB90: mov edx, dword ptr [ecx + 8] */ 18708 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FB93: mov byte ptr [ecx + 0x18], 0 */ 18709 esi = MEM32(edx); /* 0x2B07FB97: mov esi, dword ptr [edx] */ 18710 MEM32(ecx + 0x8) = esi; /* 0x2B07FB99: mov dword ptr [ecx + 8], esi */ 18711 esi = MEM32(edx); /* 0x2B07FB9C: mov esi, dword ptr [edx] */ 18712 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB9E: cmp esi, dword ptr [edi + 8] */ 18713 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18715 _flag_k = FK_CMP; 18716 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBA6; /* 0x2B07FBA1: je 0x2b07fba6 */ 18717 L_2B07FBA3: 18718 MEM32(esi + 0x4) = ecx; /* 0x2B07FBA3: mov dword ptr [esi + 4], ecx */ 18719 L_2B07FBA6: 18720 esi = MEM32(ecx + 0x4); /* 0x2B07FBA6: mov esi, dword ptr [ecx + 4] */ 18721 MEM32(edx + 0x4) = esi; /* 0x2B07FBA9: mov dword ptr [edx + 4], esi */ 18722 esi = MEM32(edi + 0x4); /* 0x2B07FBAC: mov esi, dword ptr [edi + 4] */ 18723 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FBAF: cmp ecx, dword ptr [esi + 4] */ 18724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18726 _flag_k = FK_CMP; 18727 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBB9; /* 0x2B07FBB2: jne 0x2b07fbb9 */ 18728 L_2B07FBB4: 18729 MEM32(esi + 0x4) = edx; /* 0x2B07FBB4: mov dword ptr [esi + 4], edx */ 18730 goto L_2B07FBC7; /* 0x2B07FBB7: jmp 0x2b07fbc7 */ 18731 L_2B07FBB9: 18732 esi = MEM32(ecx + 0x4); /* 0x2B07FBB9: mov esi, dword ptr [ecx + 4] */ 18733 /* cmp ecx, MEM32(esi) */ /* 0x2B07FBBC: cmp ecx, dword ptr [esi] */ 18734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18736 _flag_k = FK_CMP; 18737 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FBC4; /* 0x2B07FBBE: jne 0x2b07fbc4 */ 18738 L_2B07FBC0: 18739 MEM32(esi) = edx; /* 0x2B07FBC0: mov dword ptr [esi], edx */ 18740 goto L_2B07FBC7; /* 0x2B07FBC2: jmp 0x2b07fbc7 */ 18741 L_2B07FBC4: 18742 MEM32(esi + 0x8) = edx; /* 0x2B07FBC4: mov dword ptr [esi + 8], edx */ 18743 L_2B07FBC7: 18744 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 18745 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 18746 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 18747 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 18748 L_2B07FBD1: 18749 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 18750 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 18751 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 18752 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 18753 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 18754 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 18755 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 18756 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 18757 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 18758 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 18759 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 18760 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 18761 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 18762 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18764 _flag_k = FK_CMP; 18765 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 18766 L_2B07FBF7: 18767 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 18768 L_2B07FBFA: 18769 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 18770 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 18771 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 18772 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 18773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18775 _flag_k = FK_CMP; 18776 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 18777 L_2B07FC08: 18778 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 18779 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 18780 L_2B07FC0D: 18781 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 18782 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 18783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18785 _flag_k = FK_CMP; 18786 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 18787 L_2B07FC15: 18788 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 18789 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 18790 L_2B07FC1A: 18791 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 18792 L_2B07FC1C: 18793 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 18794 L_2B07FC1F: 18795 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 18796 L_2B07FC22: 18797 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 18798 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 18799 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 18800 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 18801 RECOMP_FLAGS_IN(); 18802 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 18803 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 18804 RECOMP_FLAGS_IN(); 18805 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 18806 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 18807 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18809 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 18810 _flag_k = FK_ADD; 18811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18812 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 18813 _flag_k = FK_DEC; 18814 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 18815 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 18816 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 18817 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 18818 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 18819 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 18820 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 18821 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 18822 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 18823 RECOMP_REGS_OUT(); 18824 } 18825 18826 void sub_2B07FAD6(void) { 18827 int _fpu_cmp = 0; 18828 uint32_t _cf = 0; 18829 int _df = 1; 18830 uint32_t _flag_k = FK_NONE; 18831 uint32_t _flag_a = 0, _flag_b = 0; 18832 uint32_t _itail_tgt = 0; 18833 RECOMP_REGS_LOCALS 18834 RECOMP_ENTER(0x2B07FAD6u); 18835 18836 L_2B07FAD6: 18837 edx = MEM32(ecx + 0x8); /* 0x2B07FAD6: mov edx, dword ptr [ecx + 8] */ 18838 /* cmp MEM8(edx + 0x18), LO8(ebx) */ /* 0x2B07FAD9: cmp byte ptr [edx + 0x18], bl */ 18839 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18841 _flag_k = FK_NARROW(FK_CMP, 24); 18842 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB27; /* 0x2B07FADC: jne 0x2b07fb27 */ 18843 L_2B07FADE: 18844 edx = MEM32(ecx); /* 0x2B07FADE: mov edx, dword ptr [ecx] */ 18845 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FAE0: mov byte ptr [edx + 0x18], bl */ 18846 edx = MEM32(ecx); /* 0x2B07FAE3: mov edx, dword ptr [ecx] */ 18847 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FAE5: mov byte ptr [ecx + 0x18], 0 */ 18848 esi = MEM32(edx + 0x8); /* 0x2B07FAE9: mov esi, dword ptr [edx + 8] */ 18849 MEM32(ecx) = esi; /* 0x2B07FAEC: mov dword ptr [ecx], esi */ 18850 esi = MEM32(edx + 0x8); /* 0x2B07FAEE: mov esi, dword ptr [edx + 8] */ 18851 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FAF1: cmp esi, dword ptr [edi + 8] */ 18852 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18854 _flag_k = FK_CMP; 18855 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FAF9; /* 0x2B07FAF4: je 0x2b07faf9 */ 18856 L_2B07FAF6: 18857 MEM32(esi + 0x4) = ecx; /* 0x2B07FAF6: mov dword ptr [esi + 4], ecx */ 18858 L_2B07FAF9: 18859 esi = MEM32(ecx + 0x4); /* 0x2B07FAF9: mov esi, dword ptr [ecx + 4] */ 18860 MEM32(edx + 0x4) = esi; /* 0x2B07FAFC: mov dword ptr [edx + 4], esi */ 18861 esi = MEM32(edi + 0x4); /* 0x2B07FAFF: mov esi, dword ptr [edi + 4] */ 18862 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB02: cmp ecx, dword ptr [esi + 4] */ 18863 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18865 _flag_k = FK_CMP; 18866 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB0C; /* 0x2B07FB05: jne 0x2b07fb0c */ 18867 L_2B07FB07: 18868 MEM32(esi + 0x4) = edx; /* 0x2B07FB07: mov dword ptr [esi + 4], edx */ 18869 goto L_2B07FB1B; /* 0x2B07FB0A: jmp 0x2b07fb1b */ 18870 L_2B07FB0C: 18871 esi = MEM32(ecx + 0x4); /* 0x2B07FB0C: mov esi, dword ptr [ecx + 4] */ 18872 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FB0F: cmp ecx, dword ptr [esi + 8] */ 18873 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18875 _flag_k = FK_CMP; 18876 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB19; /* 0x2B07FB12: jne 0x2b07fb19 */ 18877 L_2B07FB14: 18878 MEM32(esi + 0x8) = edx; /* 0x2B07FB14: mov dword ptr [esi + 8], edx */ 18879 goto L_2B07FB1B; /* 0x2B07FB17: jmp 0x2b07fb1b */ 18880 L_2B07FB19: 18881 MEM32(esi) = edx; /* 0x2B07FB19: mov dword ptr [esi], edx */ 18882 L_2B07FB1B: 18883 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 18884 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 18885 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 18886 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 18887 L_2B07FB27: 18888 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 18889 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 18890 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 18891 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 18892 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 18893 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 18894 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 18895 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 18896 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 18897 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 18898 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 18899 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 18900 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 18901 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18903 _flag_k = FK_CMP; 18904 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 18905 L_2B07FB4E: 18906 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 18907 L_2B07FB51: 18908 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 18909 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 18910 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 18911 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 18912 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18914 _flag_k = FK_CMP; 18915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 18916 L_2B07FB5F: 18917 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 18918 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 18919 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 18920 L_2B07FB69: 18921 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 18922 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 18923 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18925 _flag_k = FK_CMP; 18926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 18927 L_2B07FB70: 18928 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 18929 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 18930 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 18931 L_2B07FB79: 18932 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 18933 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 18934 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 18935 L_2B07FC1F: 18936 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 18937 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 18938 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 18939 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 18940 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 18941 RECOMP_FLAGS_IN(); 18942 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 18943 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 18944 RECOMP_FLAGS_IN(); 18945 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 18946 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 18947 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18948 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18949 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 18950 _flag_k = FK_ADD; 18951 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18952 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 18953 _flag_k = FK_DEC; 18954 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 18955 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 18956 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 18957 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 18958 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 18959 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 18960 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 18961 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 18962 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 18963 RECOMP_REGS_OUT(); 18964 } 18965 18966 void sub_2B07FB1B(void) { 18967 int _fpu_cmp = 0; 18968 uint32_t _cf = 0; 18969 int _df = 1; 18970 uint32_t _flag_k = FK_NONE; 18971 uint32_t _flag_a = 0, _flag_b = 0; 18972 uint32_t _itail_tgt = 0; 18973 RECOMP_REGS_LOCALS 18974 RECOMP_ENTER(0x2B07FB1Bu); 18975 18976 L_2B07FB1B: 18977 MEM32(edx + 0x8) = ecx; /* 0x2B07FB1B: mov dword ptr [edx + 8], ecx */ 18978 MEM32(ecx + 0x4) = edx; /* 0x2B07FB1E: mov dword ptr [ecx + 4], edx */ 18979 ecx = MEM32(eax + 0x4); /* 0x2B07FB21: mov ecx, dword ptr [eax + 4] */ 18980 ecx = MEM32(ecx + 0x8); /* 0x2B07FB24: mov ecx, dword ptr [ecx + 8] */ 18981 edx = MEM32(eax + 0x4); /* 0x2B07FB27: mov edx, dword ptr [eax + 4] */ 18982 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FB2A: mov dl, byte ptr [edx + 0x18] */ 18983 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FB2D: mov byte ptr [ecx + 0x18], dl */ 18984 edx = MEM32(eax + 0x4); /* 0x2B07FB30: mov edx, dword ptr [eax + 4] */ 18985 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB33: mov byte ptr [edx + 0x18], bl */ 18986 ecx = MEM32(ecx + 0x8); /* 0x2B07FB36: mov ecx, dword ptr [ecx + 8] */ 18987 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FB39: mov byte ptr [ecx + 0x18], bl */ 18988 ecx = MEM32(eax + 0x4); /* 0x2B07FB3C: mov ecx, dword ptr [eax + 4] */ 18989 edx = MEM32(ecx + 0x8); /* 0x2B07FB3F: mov edx, dword ptr [ecx + 8] */ 18990 esi = MEM32(edx); /* 0x2B07FB42: mov esi, dword ptr [edx] */ 18991 MEM32(ecx + 0x8) = esi; /* 0x2B07FB44: mov dword ptr [ecx + 8], esi */ 18992 esi = MEM32(edx); /* 0x2B07FB47: mov esi, dword ptr [edx] */ 18993 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FB49: cmp esi, dword ptr [edi + 8] */ 18994 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18996 _flag_k = FK_CMP; 18997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FB51; /* 0x2B07FB4C: je 0x2b07fb51 */ 18998 L_2B07FB4E: 18999 MEM32(esi + 0x4) = ecx; /* 0x2B07FB4E: mov dword ptr [esi + 4], ecx */ 19000 L_2B07FB51: 19001 esi = MEM32(ecx + 0x4); /* 0x2B07FB51: mov esi, dword ptr [ecx + 4] */ 19002 MEM32(edx + 0x4) = esi; /* 0x2B07FB54: mov dword ptr [edx + 4], esi */ 19003 esi = MEM32(edi + 0x4); /* 0x2B07FB57: mov esi, dword ptr [edi + 4] */ 19004 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FB5A: cmp ecx, dword ptr [esi + 4] */ 19005 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19007 _flag_k = FK_CMP; 19008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB69; /* 0x2B07FB5D: jne 0x2b07fb69 */ 19009 L_2B07FB5F: 19010 MEM32(esi + 0x4) = edx; /* 0x2B07FB5F: mov dword ptr [esi + 4], edx */ 19011 MEM32(edx) = ecx; /* 0x2B07FB62: mov dword ptr [edx], ecx */ 19012 goto L_2B07FC1F; /* 0x2B07FB64: jmp 0x2b07fc1f */ 19013 L_2B07FB69: 19014 esi = MEM32(ecx + 0x4); /* 0x2B07FB69: mov esi, dword ptr [ecx + 4] */ 19015 /* cmp ecx, MEM32(esi) */ /* 0x2B07FB6C: cmp ecx, dword ptr [esi] */ 19016 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 19017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19018 _flag_k = FK_CMP; 19019 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FB79; /* 0x2B07FB6E: jne 0x2b07fb79 */ 19020 L_2B07FB70: 19021 MEM32(esi) = edx; /* 0x2B07FB70: mov dword ptr [esi], edx */ 19022 MEM32(edx) = ecx; /* 0x2B07FB72: mov dword ptr [edx], ecx */ 19023 goto L_2B07FC1F; /* 0x2B07FB74: jmp 0x2b07fc1f */ 19024 L_2B07FB79: 19025 MEM32(esi + 0x8) = edx; /* 0x2B07FB79: mov dword ptr [esi + 8], edx */ 19026 MEM32(edx) = ecx; /* 0x2B07FB7C: mov dword ptr [edx], ecx */ 19027 goto L_2B07FC1F; /* 0x2B07FB7E: jmp 0x2b07fc1f */ 19028 L_2B07FC1F: 19029 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 19030 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 19031 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 19032 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 19033 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 19034 RECOMP_FLAGS_IN(); 19035 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 19036 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 19037 RECOMP_FLAGS_IN(); 19038 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 19039 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 19040 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19041 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19042 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 19043 _flag_k = FK_ADD; 19044 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19045 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 19046 _flag_k = FK_DEC; 19047 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 19048 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 19049 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 19050 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 19051 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 19052 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 19053 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 19054 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 19055 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 19056 RECOMP_REGS_OUT(); 19057 } 19058 19059 void sub_2B07FBC7(void) { 19060 int _fpu_cmp = 0; 19061 uint32_t _cf = 0; 19062 int _df = 1; 19063 uint32_t _flag_k = FK_NONE; 19064 uint32_t _flag_a = 0, _flag_b = 0; 19065 uint32_t _itail_tgt = 0; 19066 RECOMP_REGS_LOCALS 19067 RECOMP_ENTER(0x2B07FBC7u); 19068 19069 L_2B07FBC7: 19070 MEM32(edx) = ecx; /* 0x2B07FBC7: mov dword ptr [edx], ecx */ 19071 MEM32(ecx + 0x4) = edx; /* 0x2B07FBC9: mov dword ptr [ecx + 4], edx */ 19072 ecx = MEM32(eax + 0x4); /* 0x2B07FBCC: mov ecx, dword ptr [eax + 4] */ 19073 ecx = MEM32(ecx); /* 0x2B07FBCF: mov ecx, dword ptr [ecx] */ 19074 edx = MEM32(eax + 0x4); /* 0x2B07FBD1: mov edx, dword ptr [eax + 4] */ 19075 SET_LO8(edx, MEM8(edx + 0x18)); /* 0x2B07FBD4: mov dl, byte ptr [edx + 0x18] */ 19076 MEM8(ecx + 0x18) = (uint8_t)(LO8(edx)); /* 0x2B07FBD7: mov byte ptr [ecx + 0x18], dl */ 19077 edx = MEM32(eax + 0x4); /* 0x2B07FBDA: mov edx, dword ptr [eax + 4] */ 19078 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBDD: mov byte ptr [edx + 0x18], bl */ 19079 ecx = MEM32(ecx); /* 0x2B07FBE0: mov ecx, dword ptr [ecx] */ 19080 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FBE2: mov byte ptr [ecx + 0x18], bl */ 19081 ecx = MEM32(eax + 0x4); /* 0x2B07FBE5: mov ecx, dword ptr [eax + 4] */ 19082 edx = MEM32(ecx); /* 0x2B07FBE8: mov edx, dword ptr [ecx] */ 19083 esi = MEM32(edx + 0x8); /* 0x2B07FBEA: mov esi, dword ptr [edx + 8] */ 19084 MEM32(ecx) = esi; /* 0x2B07FBED: mov dword ptr [ecx], esi */ 19085 esi = MEM32(edx + 0x8); /* 0x2B07FBEF: mov esi, dword ptr [edx + 8] */ 19086 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B07FBF2: cmp esi, dword ptr [edi + 8] */ 19087 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19089 _flag_k = FK_CMP; 19090 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FBFA; /* 0x2B07FBF5: je 0x2b07fbfa */ 19091 L_2B07FBF7: 19092 MEM32(esi + 0x4) = ecx; /* 0x2B07FBF7: mov dword ptr [esi + 4], ecx */ 19093 L_2B07FBFA: 19094 esi = MEM32(ecx + 0x4); /* 0x2B07FBFA: mov esi, dword ptr [ecx + 4] */ 19095 MEM32(edx + 0x4) = esi; /* 0x2B07FBFD: mov dword ptr [edx + 4], esi */ 19096 esi = MEM32(edi + 0x4); /* 0x2B07FC00: mov esi, dword ptr [edi + 4] */ 19097 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B07FC03: cmp ecx, dword ptr [esi + 4] */ 19098 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 19099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19100 _flag_k = FK_CMP; 19101 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC0D; /* 0x2B07FC06: jne 0x2b07fc0d */ 19102 L_2B07FC08: 19103 MEM32(esi + 0x4) = edx; /* 0x2B07FC08: mov dword ptr [esi + 4], edx */ 19104 goto L_2B07FC1C; /* 0x2B07FC0B: jmp 0x2b07fc1c */ 19105 L_2B07FC0D: 19106 esi = MEM32(ecx + 0x4); /* 0x2B07FC0D: mov esi, dword ptr [ecx + 4] */ 19107 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B07FC10: cmp ecx, dword ptr [esi + 8] */ 19108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19110 _flag_k = FK_CMP; 19111 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FC1A; /* 0x2B07FC13: jne 0x2b07fc1a */ 19112 L_2B07FC15: 19113 MEM32(esi + 0x8) = edx; /* 0x2B07FC15: mov dword ptr [esi + 8], edx */ 19114 goto L_2B07FC1C; /* 0x2B07FC18: jmp 0x2b07fc1c */ 19115 L_2B07FC1A: 19116 MEM32(esi) = edx; /* 0x2B07FC1A: mov dword ptr [esi], edx */ 19117 L_2B07FC1C: 19118 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 19119 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 19120 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 19121 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 19122 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 19123 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 19124 RECOMP_FLAGS_IN(); 19125 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 19126 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 19127 RECOMP_FLAGS_IN(); 19128 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 19129 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 19130 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19131 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19132 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 19133 _flag_k = FK_ADD; 19134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19135 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 19136 _flag_k = FK_DEC; 19137 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 19138 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 19139 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 19140 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 19141 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 19142 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 19143 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 19144 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 19145 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 19146 RECOMP_REGS_OUT(); 19147 } 19148 19149 void sub_2B07FC1C(void) { 19150 int _fpu_cmp = 0; 19151 uint32_t _cf = 0; 19152 int _df = 1; 19153 uint32_t _flag_k = FK_NONE; 19154 uint32_t _flag_a = 0, _flag_b = 0; 19155 uint32_t _itail_tgt = 0; 19156 RECOMP_REGS_LOCALS 19157 RECOMP_ENTER(0x2B07FC1Cu); 19158 19159 L_2B07FC1C: 19160 MEM32(edx + 0x8) = ecx; /* 0x2B07FC1C: mov dword ptr [edx + 8], ecx */ 19161 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 19162 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 19163 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 19164 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 19165 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 19166 RECOMP_FLAGS_IN(); 19167 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 19168 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 19169 RECOMP_FLAGS_IN(); 19170 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 19171 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 19172 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19173 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19174 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 19175 _flag_k = FK_ADD; 19176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19177 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 19178 _flag_k = FK_DEC; 19179 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 19180 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 19181 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 19182 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 19183 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 19184 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 19185 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 19186 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 19187 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 19188 RECOMP_REGS_OUT(); 19189 } 19190 19191 void sub_2B07FC1F(void) { 19192 int _fpu_cmp = 0; 19193 uint32_t _cf = 0; 19194 int _df = 1; 19195 uint32_t _flag_k = FK_NONE; 19196 uint32_t _flag_a = 0, _flag_b = 0; 19197 uint32_t _itail_tgt = 0; 19198 RECOMP_REGS_LOCALS 19199 RECOMP_ENTER(0x2B07FC1Fu); 19200 19201 L_2B07FC1F: 19202 MEM32(ecx + 0x4) = edx; /* 0x2B07FC1F: mov dword ptr [ecx + 4], edx */ 19203 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 19204 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 19205 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 19206 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 19207 RECOMP_FLAGS_IN(); 19208 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 19209 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 19210 RECOMP_FLAGS_IN(); 19211 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 19212 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 19213 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19215 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 19216 _flag_k = FK_ADD; 19217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19218 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 19219 _flag_k = FK_DEC; 19220 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 19221 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 19222 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 19223 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 19224 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 19225 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 19226 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 19227 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 19228 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 19229 RECOMP_REGS_OUT(); 19230 } 19231 19232 void sub_2B07FC22(void) { 19233 int _fpu_cmp = 0; 19234 uint32_t _cf = 0; 19235 int _df = 1; 19236 uint32_t _flag_k = FK_NONE; 19237 uint32_t _flag_a = 0, _flag_b = 0; 19238 uint32_t _itail_tgt = 0; 19239 RECOMP_REGS_LOCALS 19240 RECOMP_ENTER(0x2B07FC22u); 19241 19242 L_2B07FC22: 19243 esi = MEM32(ebp + (-0x4)); /* 0x2B07FC22: mov esi, dword ptr [ebp - 4] */ 19244 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FC25: mov byte ptr [eax + 0x18], bl */ 19245 ecx = esi + 0xC; /* 0x2B07FC28: lea ecx, [esi + 0xc] */ 19246 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FC2B: call 0x2b07cfa0 */ /* not lifted */ 19247 RECOMP_FLAGS_IN(); 19248 PUSH32(esp, esi); /* 0x2B07FC30: push esi */ 19249 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FC31: call 0x2b0ab1ba */ /* not lifted */ 19250 RECOMP_FLAGS_IN(); 19251 eax = MEM32(edi + 0x10); /* 0x2B07FC36: mov eax, dword ptr [edi + 0x10] */ 19252 edx = MEM32(ebp + 0xC); /* 0x2B07FC39: mov edx, dword ptr [ebp + 0xc] */ 19253 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19255 esp = esp + 4; /* 0x2B07FC3C: add esp, 4 */ 19256 _flag_k = FK_ADD; 19257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 19258 eax = eax - 1; /* 0x2B07FC3F: dec eax */ 19259 _flag_k = FK_DEC; 19260 MEM32(edi + 0x10) = eax; /* 0x2B07FC40: mov dword ptr [edi + 0x10], eax */ 19261 eax = MEM32(ebp + 0x8); /* 0x2B07FC43: mov eax, dword ptr [ebp + 8] */ 19262 edi = POP32_VAL(esp); /* 0x2B07FC46: pop edi */ 19263 esi = POP32_VAL(esp); /* 0x2B07FC47: pop esi */ 19264 MEM32(eax) = edx; /* 0x2B07FC48: mov dword ptr [eax], edx */ 19265 ebx = POP32_VAL(esp); /* 0x2B07FC4A: pop ebx */ 19266 esp = ebp; /* 0x2B07FC4B: mov esp, ebp */ 19267 ebp = POP32_VAL(esp); /* 0x2B07FC4D: pop ebp */ 19268 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B07FC4E: ret 8 */ 19269 RECOMP_REGS_OUT(); 19270 } 19271 19272 void sub_2B07FC60(void) { 19273 int _fpu_cmp = 0; 19274 uint32_t _cf = 0; 19275 int _df = 1; 19276 uint32_t _flag_k = FK_NONE; 19277 uint32_t _flag_a = 0, _flag_b = 0; 19278 uint32_t _itail_tgt = 0; 19279 RECOMP_REGS_LOCALS 19280 RECOMP_ENTER(0x2B07FC60u); 19281 19282 L_2B07FC60: 19283 PUSH32(esp, ebp); /* 0x2B07FC60: push ebp */ 19284 ebp = esp; /* 0x2B07FC61: mov ebp, esp */ 19285 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19287 esp = esp - 0xCu; /* 0x2B07FC63: sub esp, 0xc */ 19288 _flag_k = FK_CMP; 19289 PUSH32(esp, ebx); /* 0x2B07FC66: push ebx */ 19290 PUSH32(esp, esi); /* 0x2B07FC67: push esi */ 19291 esi = ecx; /* 0x2B07FC68: mov esi, ecx */ 19292 eax = MEM32(esi + 0x4); /* 0x2B07FC6A: mov eax, dword ptr [esi + 4] */ 19293 ecx = MEM32(ebp + 0x8); /* 0x2B07FC6D: mov ecx, dword ptr [ebp + 8] */ 19294 edx = MEM32(ecx + 0x4); /* 0x2B07FC70: mov edx, dword ptr [ecx + 4] */ 19295 ebx = MEM32(edx + 0x4); /* 0x2B07FC73: mov ebx, dword ptr [edx + 4] */ 19296 MEM32(ebp + (-0xC)) = eax; /* 0x2B07FC76: mov dword ptr [ebp - 0xc], eax */ 19297 eax = MEM32(esi + 0x8); /* 0x2B07FC79: mov eax, dword ptr [esi + 8] */ 19298 MEM32(ebp + (-0x8)) = eax; /* 0x2B07FC7C: mov dword ptr [ebp - 8], eax */ 19299 SET_LO8(eax, MEM8(ebx + 0x19)); /* 0x2B07FC7F: mov al, byte ptr [ebx + 0x19] */ 19300 /* test LO8(eax), LO8(eax) */ /* 0x2B07FC82: test al, al */ 19301 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19302 _cf = 0; 19303 _flag_k = FK_NARROW(FK_TEST, 24); 19304 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FCEB; /* 0x2B07FC84: jne 0x2b07fceb */ 19305 L_2B07FC86: 19306 SET_LO8(ecx, MEM8(ebx + 0x18)); /* 0x2B07FC86: mov cl, byte ptr [ebx + 0x18] */ 19307 PUSH32(esp, edi); /* 0x2B07FC89: push edi */ 19308 PUSH32(esp, 0x1Cu); /* 0x2B07FC8A: push 0x1c */ 19309 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B07FC8C: mov byte ptr [ebp - 1], cl */ 19310 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07FC8F: call 0x2b0ab212 */ /* not lifted */ 19311 RECOMP_FLAGS_IN(); 19312 edx = MEM32(ebp + (-0xC)); /* 0x2B07FC94: mov edx, dword ptr [ebp - 0xc] */ 19313 edi = eax; /* 0x2B07FC97: mov edi, eax */ 19314 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B07FC99: mov al, byte ptr [ebp - 1] */ 19315 ecx = ebx + 0xC; /* 0x2B07FC9C: lea ecx, [ebx + 0xc] */ 19316 MEM32(edi + 0x4) = edx; /* 0x2B07FC9F: mov dword ptr [edi + 4], edx */ 19317 PUSH32(esp, ecx); /* 0x2B07FCA2: push ecx */ 19318 edx = edi + 0xC; /* 0x2B07FCA3: lea edx, [edi + 0xc] */ 19319 PUSH32(esp, edx); /* 0x2B07FCA6: push edx */ 19320 MEM8(edi + 0x18) = (uint8_t)(LO8(eax)); /* 0x2B07FCA7: mov byte ptr [edi + 0x18], al */ 19321 MEM8(edi + 0x19) = (uint8_t)(0); /* 0x2B07FCAA: mov byte ptr [edi + 0x19], 0 */ 19322 RECOMP_ICALL(0x2B02A850u); /* 0x2B07FCAE: call 0x2b02a850 */ /* not lifted */ 19323 RECOMP_FLAGS_IN(); 19324 eax = MEM32(esi + 0x8); /* 0x2B07FCB3: mov eax, dword ptr [esi + 8] */ 19325 edx = MEM32(ebp + (-0x8)); /* 0x2B07FCB6: mov edx, dword ptr [ebp - 8] */ 19326 MEM32(edi) = eax; /* 0x2B07FCB9: mov dword ptr [edi], eax */ 19327 ecx = MEM32(esi + 0x8); /* 0x2B07FCBB: mov ecx, dword ptr [esi + 8] */ 19328 MEM32(edi + 0x8) = ecx; /* 0x2B07FCBE: mov dword ptr [edi + 8], ecx */ 19329 eax = MEM32(esi + 0x8); /* 0x2B07FCC1: mov eax, dword ptr [esi + 8] */ 19330 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19331 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19332 esp = esp + 0xCu; /* 0x2B07FCC4: add esp, 0xc */ 19333 _flag_k = FK_ADD; 19334 /* cmp edx, eax */ /* 0x2B07FCC7: cmp edx, eax */ 19335 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 19336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19337 _flag_k = FK_CMP; 19338 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FCCE; /* 0x2B07FCC9: jne 0x2b07fcce */ 19339 L_2B07FCCB: 19340 MEM32(ebp + (-0x8)) = edi; /* 0x2B07FCCB: mov dword ptr [ebp - 8], edi */ 19341 L_2B07FCCE: 19342 eax = MEM32(ebx); /* 0x2B07FCCE: mov eax, dword ptr [ebx] */ 19343 PUSH32(esp, edi); /* 0x2B07FCD0: push edi */ 19344 PUSH32(esp, eax); /* 0x2B07FCD1: push eax */ 19345 ecx = esi; /* 0x2B07FCD2: mov ecx, esi */ 19346 RECOMP_ICALL(0x2B081090u); /* 0x2B07FCD4: call 0x2b081090 */ /* not lifted */ 19347 RECOMP_FLAGS_IN(); 19348 MEM32(edi) = eax; /* 0x2B07FCD9: mov dword ptr [edi], eax */ 19349 ecx = MEM32(ebx + 0x8); /* 0x2B07FCDB: mov ecx, dword ptr [ebx + 8] */ 19350 PUSH32(esp, edi); /* 0x2B07FCDE: push edi */ 19351 PUSH32(esp, ecx); /* 0x2B07FCDF: push ecx */ 19352 ecx = esi; /* 0x2B07FCE0: mov ecx, esi */ 19353 RECOMP_ICALL(0x2B081090u); /* 0x2B07FCE2: call 0x2b081090 */ /* not lifted */ 19354 RECOMP_FLAGS_IN(); 19355 MEM32(edi + 0x8) = eax; /* 0x2B07FCE7: mov dword ptr [edi + 8], eax */ 19356 edi = POP32_VAL(esp); /* 0x2B07FCEA: pop edi */ 19357 L_2B07FCEB: 19358 edx = MEM32(esi + 0x4); /* 0x2B07FCEB: mov edx, dword ptr [esi + 4] */ 19359 eax = MEM32(ebp + (-0x8)); /* 0x2B07FCEE: mov eax, dword ptr [ebp - 8] */ 19360 ecx = MEM32(ebp + 0x8); /* 0x2B07FCF1: mov ecx, dword ptr [ebp + 8] */ 19361 MEM32(edx + 0x4) = eax; /* 0x2B07FCF4: mov dword ptr [edx + 4], eax */ 19362 edx = MEM32(ecx + 0x10); /* 0x2B07FCF7: mov edx, dword ptr [ecx + 0x10] */ 19363 ecx = MEM32(esi + 0x8); /* 0x2B07FCFA: mov ecx, dword ptr [esi + 8] */ 19364 MEM32(esi + 0x10) = edx; /* 0x2B07FCFD: mov dword ptr [esi + 0x10], edx */ 19365 edx = MEM32(esi + 0x4); /* 0x2B07FD00: mov edx, dword ptr [esi + 4] */ 19366 eax = MEM32(edx + 0x4); /* 0x2B07FD03: mov eax, dword ptr [edx + 4] */ 19367 /* cmp eax, ecx */ /* 0x2B07FD06: cmp eax, ecx */ 19368 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19370 _flag_k = FK_CMP; 19371 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FD47; /* 0x2B07FD08: je 0x2b07fd47 */ 19372 L_2B07FD0A: 19373 ecx = MEM32(eax); /* 0x2B07FD0A: mov ecx, dword ptr [eax] */ 19374 SET_LO8(ebx, MEM8(ecx + 0x19)); /* 0x2B07FD0C: mov bl, byte ptr [ecx + 0x19] */ 19375 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07FD0F: test bl, bl */ 19376 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19377 _cf = 0; 19378 _flag_k = FK_NARROW(FK_TEST, 24); 19379 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FD1E; /* 0x2B07FD11: jne 0x2b07fd1e */ 19380 L_2B07FD13: 19381 eax = ecx; /* 0x2B07FD13: mov eax, ecx */ 19382 ecx = MEM32(eax); /* 0x2B07FD15: mov ecx, dword ptr [eax] */ 19383 SET_LO8(ebx, MEM8(ecx + 0x19)); /* 0x2B07FD17: mov bl, byte ptr [ecx + 0x19] */ 19384 /* test LO8(ebx), LO8(ebx) */ /* 0x2B07FD1A: test bl, bl */ 19385 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19386 _cf = 0; 19387 _flag_k = FK_NARROW(FK_TEST, 24); 19388 RECOMP_BACKEDGE(); 19389 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07FD13; /* 0x2B07FD1C: je 0x2b07fd13 */ 19390 L_2B07FD1E: 19391 MEM32(edx) = eax; /* 0x2B07FD1E: mov dword ptr [edx], eax */ 19392 esi = MEM32(esi + 0x4); /* 0x2B07FD20: mov esi, dword ptr [esi + 4] */ 19393 ecx = MEM32(esi + 0x4); /* 0x2B07FD23: mov ecx, dword ptr [esi + 4] */ 19394 eax = MEM32(ecx + 0x8); /* 0x2B07FD26: mov eax, dword ptr [ecx + 8] */ 19395 SET_LO8(edx, MEM8(eax + 0x19)); /* 0x2B07FD29: mov dl, byte ptr [eax + 0x19] */ 19396 /* test LO8(edx), LO8(edx) */ /* 0x2B07FD2C: test dl, dl */ 19397 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19398 _cf = 0; 19399 _flag_k = FK_NARROW(FK_TEST, 24); 19400 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FD3C; /* 0x2B07FD2E: jne 0x2b07fd3c */ 19401 L_2B07FD30: 19402 ecx = eax; /* 0x2B07FD30: mov ecx, eax */ 19403 eax = MEM32(ecx + 0x8); /* 0x2B07FD32: mov eax, dword ptr [ecx + 8] */ 19404 SET_LO8(edx, MEM8(eax + 0x19)); /* 0x2B07FD35: mov dl, byte ptr [eax + 0x19] */ 19405 /* test LO8(edx), LO8(edx) */ /* 0x2B07FD38: test dl, dl */ 19406 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19407 _cf = 0; 19408 _flag_k = FK_NARROW(FK_TEST, 24); 19409 RECOMP_BACKEDGE(); 19410 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07FD30; /* 0x2B07FD3A: je 0x2b07fd30 */ 19411 L_2B07FD3C: 19412 MEM32(esi + 0x8) = ecx; /* 0x2B07FD3C: mov dword ptr [esi + 8], ecx */ 19413 esi = POP32_VAL(esp); /* 0x2B07FD3F: pop esi */ 19414 ebx = POP32_VAL(esp); /* 0x2B07FD40: pop ebx */ 19415 esp = ebp; /* 0x2B07FD41: mov esp, ebp */ 19416 ebp = POP32_VAL(esp); /* 0x2B07FD43: pop ebp */ 19417 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07FD44: ret 4 */ 19418 L_2B07FD47: 19419 MEM32(edx) = edx; /* 0x2B07FD47: mov dword ptr [edx], edx */ 19420 esi = MEM32(esi + 0x4); /* 0x2B07FD49: mov esi, dword ptr [esi + 4] */ 19421 MEM32(esi + 0x8) = esi; /* 0x2B07FD4C: mov dword ptr [esi + 8], esi */ 19422 esi = POP32_VAL(esp); /* 0x2B07FD4F: pop esi */ 19423 ebx = POP32_VAL(esp); /* 0x2B07FD50: pop ebx */ 19424 esp = ebp; /* 0x2B07FD51: mov esp, ebp */ 19425 ebp = POP32_VAL(esp); /* 0x2B07FD53: pop ebp */ 19426 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07FD54: ret 4 */ 19427 RECOMP_REGS_OUT(); 19428 } 19429 19430 void sub_2B07FD60(void) { 19431 int _fpu_cmp = 0; 19432 uint32_t _cf = 0; 19433 int _df = 1; 19434 uint32_t _flag_k = FK_NONE; 19435 uint32_t _flag_a = 0, _flag_b = 0; 19436 uint32_t _itail_tgt = 0; 19437 RECOMP_REGS_LOCALS 19438 RECOMP_ENTER(0x2B07FD60u); 19439 19440 L_2B07FD60: 19441 PUSH32(esp, ebp); /* 0x2B07FD60: push ebp */ 19442 ebp = esp; /* 0x2B07FD61: mov ebp, esp */ 19443 PUSH32(esp, ebx); /* 0x2B07FD63: push ebx */ 19444 PUSH32(esp, esi); /* 0x2B07FD64: push esi */ 19445 ebx = ecx; /* 0x2B07FD65: mov ebx, ecx */ 19446 eax = MEM32(ebx + 0x8); /* 0x2B07FD67: mov eax, dword ptr [ebx + 8] */ 19447 PUSH32(esp, edi); /* 0x2B07FD6A: push edi */ 19448 edi = MEM32(ebp + 0x8); /* 0x2B07FD6B: mov edi, dword ptr [ebp + 8] */ 19449 /* cmp edi, eax */ /* 0x2B07FD6E: cmp edi, eax */ 19450 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19452 _flag_k = FK_CMP; 19453 esi = edi; /* 0x2B07FD70: mov esi, edi */ 19454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FD9B; /* 0x2B07FD72: je 0x2b07fd9b */ 19455 L_2B07FD74: 19456 eax = MEM32(esi + 0x8); /* 0x2B07FD74: mov eax, dword ptr [esi + 8] */ 19457 PUSH32(esp, eax); /* 0x2B07FD77: push eax */ 19458 ecx = ebx; /* 0x2B07FD78: mov ecx, ebx */ 19459 RECOMP_ICALL(0x2B07FD60u); /* 0x2B07FD7A: call 0x2b07fd60 */ /* not lifted */ 19460 RECOMP_FLAGS_IN(); 19461 esi = MEM32(esi); /* 0x2B07FD7F: mov esi, dword ptr [esi] */ 19462 ecx = edi + 0xC; /* 0x2B07FD81: lea ecx, [edi + 0xc] */ 19463 RECOMP_ICALL(0x2B07CFA0u); /* 0x2B07FD84: call 0x2b07cfa0 */ /* not lifted */ 19464 RECOMP_FLAGS_IN(); 19465 PUSH32(esp, edi); /* 0x2B07FD89: push edi */ 19466 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07FD8A: call 0x2b0ab1ba */ /* not lifted */ 19467 RECOMP_FLAGS_IN(); 19468 eax = MEM32(ebx + 0x8); /* 0x2B07FD8F: mov eax, dword ptr [ebx + 8] */ 19469 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19471 esp = esp + 4; /* 0x2B07FD92: add esp, 4 */ 19472 _flag_k = FK_ADD; 19473 /* cmp esi, eax */ /* 0x2B07FD95: cmp esi, eax */ 19474 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 19475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19476 _flag_k = FK_CMP; 19477 edi = esi; /* 0x2B07FD97: mov edi, esi */ 19478 RECOMP_BACKEDGE(); 19479 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FD74; /* 0x2B07FD99: jne 0x2b07fd74 */ 19480 L_2B07FD9B: 19481 edi = POP32_VAL(esp); /* 0x2B07FD9B: pop edi */ 19482 esi = POP32_VAL(esp); /* 0x2B07FD9C: pop esi */ 19483 ebx = POP32_VAL(esp); /* 0x2B07FD9D: pop ebx */ 19484 ebp = POP32_VAL(esp); /* 0x2B07FD9E: pop ebp */ 19485 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B07FD9F: ret 4 */ 19486 RECOMP_REGS_OUT(); 19487 } 19488 19489 void sub_2B07FDB0(void) { 19490 int _fpu_cmp = 0; 19491 uint32_t _cf = 0; 19492 int _df = 1; 19493 uint32_t _flag_k = FK_NONE; 19494 uint32_t _flag_a = 0, _flag_b = 0; 19495 uint32_t _itail_tgt = 0; 19496 RECOMP_REGS_LOCALS 19497 RECOMP_ENTER(0x2B07FDB0u); 19498 19499 L_2B07FDB0: 19500 PUSH32(esp, ebp); /* 0x2B07FDB0: push ebp */ 19501 ebp = esp; /* 0x2B07FDB1: mov ebp, esp */ 19502 PUSH32(esp, ecx); /* 0x2B07FDB3: push ecx */ 19503 PUSH32(esp, ebx); /* 0x2B07FDB4: push ebx */ 19504 PUSH32(esp, esi); /* 0x2B07FDB5: push esi */ 19505 PUSH32(esp, edi); /* 0x2B07FDB6: push edi */ 19506 PUSH32(esp, 0x1Cu); /* 0x2B07FDB7: push 0x1c */ 19507 esi = ecx; /* 0x2B07FDB9: mov esi, ecx */ 19508 RECOMP_ICALL(0x2B0AB212u); /* 0x2B07FDBB: call 0x2b0ab212 */ /* not lifted */ 19509 RECOMP_FLAGS_IN(); 19510 edi = MEM32(ebp + 0x10); /* 0x2B07FDC0: mov edi, dword ptr [ebp + 0x10] */ 19511 ebx = MEM32(ebp + 0x14); /* 0x2B07FDC3: mov ebx, dword ptr [ebp + 0x14] */ 19512 MEM32(eax + 0x4) = edi; /* 0x2B07FDC6: mov dword ptr [eax + 4], edi */ 19513 MEM8(eax + 0x18) = (uint8_t)(0); /* 0x2B07FDC9: mov byte ptr [eax + 0x18], 0 */ 19514 MEM8(eax + 0x19) = (uint8_t)(0); /* 0x2B07FDCD: mov byte ptr [eax + 0x19], 0 */ 19515 ecx = MEM32(esi + 0x8); /* 0x2B07FDD1: mov ecx, dword ptr [esi + 8] */ 19516 MEM32(eax) = ecx; /* 0x2B07FDD4: mov dword ptr [eax], ecx */ 19517 edx = MEM32(esi + 0x8); /* 0x2B07FDD6: mov edx, dword ptr [esi + 8] */ 19518 MEM32(ebp + (-0x4)) = eax; /* 0x2B07FDD9: mov dword ptr [ebp - 4], eax */ 19519 MEM32(eax + 0x8) = edx; /* 0x2B07FDDC: mov dword ptr [eax + 8], edx */ 19520 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 19521 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19522 eax = eax + 0xCu; /* 0x2B07FDDF: add eax, 0xc */ 19523 _flag_k = FK_ADD; 19524 PUSH32(esp, ebx); /* 0x2B07FDE2: push ebx */ 19525 PUSH32(esp, eax); /* 0x2B07FDE3: push eax */ 19526 RECOMP_ICALL(0x2B02A850u); /* 0x2B07FDE4: call 0x2b02a850 */ /* not lifted */ 19527 RECOMP_FLAGS_IN(); 19528 ecx = MEM32(esi + 0x10); /* 0x2B07FDE9: mov ecx, dword ptr [esi + 0x10] */ 19529 eax = MEM32(esi + 0x4); /* 0x2B07FDEC: mov eax, dword ptr [esi + 4] */ 19530 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19531 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19532 esp = esp + 0xCu; /* 0x2B07FDEF: add esp, 0xc */ 19533 _flag_k = FK_ADD; 19534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19535 ecx = ecx + 1; /* 0x2B07FDF2: inc ecx */ 19536 _flag_k = FK_INC; 19537 /* cmp edi, eax */ /* 0x2B07FDF3: cmp edi, eax */ 19538 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19540 _flag_k = FK_CMP; 19541 MEM32(esi + 0x10) = ecx; /* 0x2B07FDF5: mov dword ptr [esi + 0x10], ecx */ 19542 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE1C; /* 0x2B07FDF8: je 0x2b07fe1c */ 19543 L_2B07FDFA: 19544 eax = MEM32(ebp + 0xC); /* 0x2B07FDFA: mov eax, dword ptr [ebp + 0xc] */ 19545 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2B07FDFD: cmp eax, dword ptr [esi + 8] */ 19546 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19548 _flag_k = FK_CMP; 19549 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE1C; /* 0x2B07FE00: jne 0x2b07fe1c */ 19550 L_2B07FE02: 19551 ecx = MEM32(ebx); /* 0x2B07FE02: mov ecx, dword ptr [ebx] */ 19552 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B07FE04: cmp ecx, dword ptr [edi + 0xc] */ 19553 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 19554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19555 _flag_k = FK_CMP; 19556 if (CMP_B(_flag_a, _flag_b)) goto L_2B07FE1C; /* 0x2B07FE07: jb 0x2b07fe1c */ 19557 L_2B07FE09: 19558 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FE09: mov ecx, dword ptr [ebp - 4] */ 19559 MEM32(edi + 0x8) = ecx; /* 0x2B07FE0C: mov dword ptr [edi + 8], ecx */ 19560 eax = MEM32(esi + 0x4); /* 0x2B07FE0F: mov eax, dword ptr [esi + 4] */ 19561 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B07FE12: cmp edi, dword ptr [eax + 8] */ 19562 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 19563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19564 _flag_k = FK_CMP; 19565 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE3C; /* 0x2B07FE15: jne 0x2b07fe3c */ 19566 L_2B07FE17: 19567 MEM32(eax + 0x8) = ecx; /* 0x2B07FE17: mov dword ptr [eax + 8], ecx */ 19568 goto L_2B07FE3C; /* 0x2B07FE1A: jmp 0x2b07fe3c */ 19569 L_2B07FE1C: 19570 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FE1C: mov ecx, dword ptr [ebp - 4] */ 19571 MEM32(edi) = ecx; /* 0x2B07FE1F: mov dword ptr [edi], ecx */ 19572 eax = MEM32(esi + 0x4); /* 0x2B07FE21: mov eax, dword ptr [esi + 4] */ 19573 /* cmp edi, eax */ /* 0x2B07FE24: cmp edi, eax */ 19574 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19576 _flag_k = FK_CMP; 19577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE33; /* 0x2B07FE26: jne 0x2b07fe33 */ 19578 L_2B07FE28: 19579 MEM32(eax + 0x4) = ecx; /* 0x2B07FE28: mov dword ptr [eax + 4], ecx */ 19580 edx = MEM32(esi + 0x4); /* 0x2B07FE2B: mov edx, dword ptr [esi + 4] */ 19581 MEM32(edx + 0x8) = ecx; /* 0x2B07FE2E: mov dword ptr [edx + 8], ecx */ 19582 goto L_2B07FE3C; /* 0x2B07FE31: jmp 0x2b07fe3c */ 19583 L_2B07FE33: 19584 /* cmp edi, MEM32(eax) */ /* 0x2B07FE33: cmp edi, dword ptr [eax] */ 19585 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 19586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19587 _flag_k = FK_CMP; 19588 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE3C; /* 0x2B07FE35: jne 0x2b07fe3c */ 19589 L_2B07FE37: 19590 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FE37: mov ecx, dword ptr [ebp - 4] */ 19591 MEM32(eax) = ecx; /* 0x2B07FE3A: mov dword ptr [eax], ecx */ 19592 L_2B07FE3C: 19593 edx = MEM32(esi + 0x4); /* 0x2B07FE3C: mov edx, dword ptr [esi + 4] */ 19594 eax = MEM32(ebp + (-0x4)); /* 0x2B07FE3F: mov eax, dword ptr [ebp - 4] */ 19595 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FE42: cmp eax, dword ptr [edx + 4] */ 19596 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19598 _flag_k = FK_CMP; 19599 SET_LO8(ebx, 1); /* 0x2B07FE45: mov bl, 1 */ 19600 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE47: je 0x2b07ffcd */ 19601 L_2B07FE4D: 19602 ecx = MEM32(eax + 0x4); /* 0x2B07FE4D: mov ecx, dword ptr [eax + 4] */ 19603 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FE50: mov dl, byte ptr [ecx + 0x18] */ 19604 /* test LO8(edx), LO8(edx) */ /* 0x2B07FE53: test dl, dl */ 19605 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19606 _cf = 0; 19607 _flag_k = FK_NARROW(FK_TEST, 24); 19608 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE55: jne 0x2b07ffcd */ 19609 L_2B07FE5B: 19610 edi = MEM32(ecx + 0x4); /* 0x2B07FE5B: mov edi, dword ptr [ecx + 4] */ 19611 edx = MEM32(edi); /* 0x2B07FE5E: mov edx, dword ptr [edi] */ 19612 /* cmp ecx, edx */ /* 0x2B07FE60: cmp ecx, edx */ 19613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19615 _flag_k = FK_CMP; 19616 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF29; /* 0x2B07FE62: jne 0x2b07ff29 */ 19617 L_2B07FE68: 19618 edx = MEM32(edi + 0x8); /* 0x2B07FE68: mov edx, dword ptr [edi + 8] */ 19619 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FE6B: cmp byte ptr [edx + 0x18], 0 */ 19620 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 19621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19622 _flag_k = FK_NARROW(FK_CMP, 24); 19623 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE8C; /* 0x2B07FE6F: jne 0x2b07fe8c */ 19624 L_2B07FE71: 19625 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE71: mov byte ptr [ecx + 0x18], bl */ 19626 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE74: mov byte ptr [edx + 0x18], bl */ 19627 ecx = MEM32(eax + 0x4); /* 0x2B07FE77: mov ecx, dword ptr [eax + 4] */ 19628 edx = MEM32(ecx + 0x4); /* 0x2B07FE7A: mov edx, dword ptr [ecx + 4] */ 19629 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07FE7D: mov byte ptr [edx + 0x18], 0 */ 19630 eax = MEM32(eax + 0x4); /* 0x2B07FE81: mov eax, dword ptr [eax + 4] */ 19631 eax = MEM32(eax + 0x4); /* 0x2B07FE84: mov eax, dword ptr [eax + 4] */ 19632 goto L_2B07FFC1; /* 0x2B07FE87: jmp 0x2b07ffc1 */ 19633 L_2B07FE8C: 19634 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B07FE8C: cmp eax, dword ptr [ecx + 8] */ 19635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19637 _flag_k = FK_CMP; 19638 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FECB; /* 0x2B07FE8F: jne 0x2b07fecb */ 19639 L_2B07FE91: 19640 eax = ecx; /* 0x2B07FE91: mov eax, ecx */ 19641 ecx = MEM32(eax + 0x8); /* 0x2B07FE93: mov ecx, dword ptr [eax + 8] */ 19642 edx = MEM32(ecx); /* 0x2B07FE96: mov edx, dword ptr [ecx] */ 19643 MEM32(eax + 0x8) = edx; /* 0x2B07FE98: mov dword ptr [eax + 8], edx */ 19644 edx = MEM32(ecx); /* 0x2B07FE9B: mov edx, dword ptr [ecx] */ 19645 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FE9D: cmp edx, dword ptr [esi + 8] */ 19646 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19648 _flag_k = FK_CMP; 19649 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEA5; /* 0x2B07FEA0: je 0x2b07fea5 */ 19650 L_2B07FEA2: 19651 MEM32(edx + 0x4) = eax; /* 0x2B07FEA2: mov dword ptr [edx + 4], eax */ 19652 L_2B07FEA5: 19653 edx = MEM32(eax + 0x4); /* 0x2B07FEA5: mov edx, dword ptr [eax + 4] */ 19654 MEM32(ecx + 0x4) = edx; /* 0x2B07FEA8: mov dword ptr [ecx + 4], edx */ 19655 edx = MEM32(esi + 0x4); /* 0x2B07FEAB: mov edx, dword ptr [esi + 4] */ 19656 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FEAE: cmp eax, dword ptr [edx + 4] */ 19657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19659 _flag_k = FK_CMP; 19660 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEB8; /* 0x2B07FEB1: jne 0x2b07feb8 */ 19661 L_2B07FEB3: 19662 MEM32(edx + 0x4) = ecx; /* 0x2B07FEB3: mov dword ptr [edx + 4], ecx */ 19663 goto L_2B07FEC6; /* 0x2B07FEB6: jmp 0x2b07fec6 */ 19664 L_2B07FEB8: 19665 edx = MEM32(eax + 0x4); /* 0x2B07FEB8: mov edx, dword ptr [eax + 4] */ 19666 /* cmp eax, MEM32(edx) */ /* 0x2B07FEBB: cmp eax, dword ptr [edx] */ 19667 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19669 _flag_k = FK_CMP; 19670 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEC3; /* 0x2B07FEBD: jne 0x2b07fec3 */ 19671 L_2B07FEBF: 19672 MEM32(edx) = ecx; /* 0x2B07FEBF: mov dword ptr [edx], ecx */ 19673 goto L_2B07FEC6; /* 0x2B07FEC1: jmp 0x2b07fec6 */ 19674 L_2B07FEC3: 19675 MEM32(edx + 0x8) = ecx; /* 0x2B07FEC3: mov dword ptr [edx + 8], ecx */ 19676 L_2B07FEC6: 19677 MEM32(ecx) = eax; /* 0x2B07FEC6: mov dword ptr [ecx], eax */ 19678 MEM32(eax + 0x4) = ecx; /* 0x2B07FEC8: mov dword ptr [eax + 4], ecx */ 19679 L_2B07FECB: 19680 ecx = MEM32(eax + 0x4); /* 0x2B07FECB: mov ecx, dword ptr [eax + 4] */ 19681 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FECE: mov byte ptr [ecx + 0x18], bl */ 19682 edx = MEM32(eax + 0x4); /* 0x2B07FED1: mov edx, dword ptr [eax + 4] */ 19683 ecx = MEM32(edx + 0x4); /* 0x2B07FED4: mov ecx, dword ptr [edx + 4] */ 19684 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FED7: mov byte ptr [ecx + 0x18], 0 */ 19685 edx = MEM32(eax + 0x4); /* 0x2B07FEDB: mov edx, dword ptr [eax + 4] */ 19686 ecx = MEM32(edx + 0x4); /* 0x2B07FEDE: mov ecx, dword ptr [edx + 4] */ 19687 edx = MEM32(ecx); /* 0x2B07FEE1: mov edx, dword ptr [ecx] */ 19688 edi = MEM32(edx + 0x8); /* 0x2B07FEE3: mov edi, dword ptr [edx + 8] */ 19689 MEM32(ecx) = edi; /* 0x2B07FEE6: mov dword ptr [ecx], edi */ 19690 edi = MEM32(edx + 0x8); /* 0x2B07FEE8: mov edi, dword ptr [edx + 8] */ 19691 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FEEB: cmp edi, dword ptr [esi + 8] */ 19692 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19694 _flag_k = FK_CMP; 19695 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEF3; /* 0x2B07FEEE: je 0x2b07fef3 */ 19696 L_2B07FEF0: 19697 MEM32(edi + 0x4) = ecx; /* 0x2B07FEF0: mov dword ptr [edi + 4], ecx */ 19698 L_2B07FEF3: 19699 edi = MEM32(ecx + 0x4); /* 0x2B07FEF3: mov edi, dword ptr [ecx + 4] */ 19700 MEM32(edx + 0x4) = edi; /* 0x2B07FEF6: mov dword ptr [edx + 4], edi */ 19701 edi = MEM32(esi + 0x4); /* 0x2B07FEF9: mov edi, dword ptr [esi + 4] */ 19702 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FEFC: cmp ecx, dword ptr [edi + 4] */ 19703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19705 _flag_k = FK_CMP; 19706 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF0C; /* 0x2B07FEFF: jne 0x2b07ff0c */ 19707 L_2B07FF01: 19708 MEM32(edi + 0x4) = edx; /* 0x2B07FF01: mov dword ptr [edi + 4], edx */ 19709 MEM32(edx + 0x8) = ecx; /* 0x2B07FF04: mov dword ptr [edx + 8], ecx */ 19710 goto L_2B07FFBE; /* 0x2B07FF07: jmp 0x2b07ffbe */ 19711 L_2B07FF0C: 19712 edi = MEM32(ecx + 0x4); /* 0x2B07FF0C: mov edi, dword ptr [ecx + 4] */ 19713 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07FF0F: cmp ecx, dword ptr [edi + 8] */ 19714 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19716 _flag_k = FK_CMP; 19717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF1F; /* 0x2B07FF12: jne 0x2b07ff1f */ 19718 L_2B07FF14: 19719 MEM32(edi + 0x8) = edx; /* 0x2B07FF14: mov dword ptr [edi + 8], edx */ 19720 MEM32(edx + 0x8) = ecx; /* 0x2B07FF17: mov dword ptr [edx + 8], ecx */ 19721 goto L_2B07FFBE; /* 0x2B07FF1A: jmp 0x2b07ffbe */ 19722 L_2B07FF1F: 19723 MEM32(edi) = edx; /* 0x2B07FF1F: mov dword ptr [edi], edx */ 19724 MEM32(edx + 0x8) = ecx; /* 0x2B07FF21: mov dword ptr [edx + 8], ecx */ 19725 goto L_2B07FFBE; /* 0x2B07FF24: jmp 0x2b07ffbe */ 19726 L_2B07FF29: 19727 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FF29: cmp byte ptr [edx + 0x18], 0 */ 19728 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 19729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19730 _flag_k = FK_NARROW(FK_CMP, 24); 19731 RECOMP_BACKEDGE(); 19732 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE71; /* 0x2B07FF2D: je 0x2b07fe71 */ 19733 L_2B07FF33: 19734 /* cmp eax, MEM32(ecx) */ /* 0x2B07FF33: cmp eax, dword ptr [ecx] */ 19735 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19737 _flag_k = FK_CMP; 19738 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF73; /* 0x2B07FF35: jne 0x2b07ff73 */ 19739 L_2B07FF37: 19740 eax = ecx; /* 0x2B07FF37: mov eax, ecx */ 19741 ecx = MEM32(eax); /* 0x2B07FF39: mov ecx, dword ptr [eax] */ 19742 edx = MEM32(ecx + 0x8); /* 0x2B07FF3B: mov edx, dword ptr [ecx + 8] */ 19743 MEM32(eax) = edx; /* 0x2B07FF3E: mov dword ptr [eax], edx */ 19744 edx = MEM32(ecx + 0x8); /* 0x2B07FF40: mov edx, dword ptr [ecx + 8] */ 19745 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FF43: cmp edx, dword ptr [esi + 8] */ 19746 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19748 _flag_k = FK_CMP; 19749 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF4B; /* 0x2B07FF46: je 0x2b07ff4b */ 19750 L_2B07FF48: 19751 MEM32(edx + 0x4) = eax; /* 0x2B07FF48: mov dword ptr [edx + 4], eax */ 19752 L_2B07FF4B: 19753 edx = MEM32(eax + 0x4); /* 0x2B07FF4B: mov edx, dword ptr [eax + 4] */ 19754 MEM32(ecx + 0x4) = edx; /* 0x2B07FF4E: mov dword ptr [ecx + 4], edx */ 19755 edx = MEM32(esi + 0x4); /* 0x2B07FF51: mov edx, dword ptr [esi + 4] */ 19756 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FF54: cmp eax, dword ptr [edx + 4] */ 19757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19759 _flag_k = FK_CMP; 19760 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF5E; /* 0x2B07FF57: jne 0x2b07ff5e */ 19761 L_2B07FF59: 19762 MEM32(edx + 0x4) = ecx; /* 0x2B07FF59: mov dword ptr [edx + 4], ecx */ 19763 goto L_2B07FF6D; /* 0x2B07FF5C: jmp 0x2b07ff6d */ 19764 L_2B07FF5E: 19765 edx = MEM32(eax + 0x4); /* 0x2B07FF5E: mov edx, dword ptr [eax + 4] */ 19766 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B07FF61: cmp eax, dword ptr [edx + 8] */ 19767 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19769 _flag_k = FK_CMP; 19770 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF6B; /* 0x2B07FF64: jne 0x2b07ff6b */ 19771 L_2B07FF66: 19772 MEM32(edx + 0x8) = ecx; /* 0x2B07FF66: mov dword ptr [edx + 8], ecx */ 19773 goto L_2B07FF6D; /* 0x2B07FF69: jmp 0x2b07ff6d */ 19774 L_2B07FF6B: 19775 MEM32(edx) = ecx; /* 0x2B07FF6B: mov dword ptr [edx], ecx */ 19776 L_2B07FF6D: 19777 MEM32(ecx + 0x8) = eax; /* 0x2B07FF6D: mov dword ptr [ecx + 8], eax */ 19778 MEM32(eax + 0x4) = ecx; /* 0x2B07FF70: mov dword ptr [eax + 4], ecx */ 19779 L_2B07FF73: 19780 ecx = MEM32(eax + 0x4); /* 0x2B07FF73: mov ecx, dword ptr [eax + 4] */ 19781 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FF76: mov byte ptr [ecx + 0x18], bl */ 19782 edx = MEM32(eax + 0x4); /* 0x2B07FF79: mov edx, dword ptr [eax + 4] */ 19783 ecx = MEM32(edx + 0x4); /* 0x2B07FF7C: mov ecx, dword ptr [edx + 4] */ 19784 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FF7F: mov byte ptr [ecx + 0x18], 0 */ 19785 edx = MEM32(eax + 0x4); /* 0x2B07FF83: mov edx, dword ptr [eax + 4] */ 19786 ecx = MEM32(edx + 0x4); /* 0x2B07FF86: mov ecx, dword ptr [edx + 4] */ 19787 edx = MEM32(ecx + 0x8); /* 0x2B07FF89: mov edx, dword ptr [ecx + 8] */ 19788 edi = MEM32(edx); /* 0x2B07FF8C: mov edi, dword ptr [edx] */ 19789 MEM32(ecx + 0x8) = edi; /* 0x2B07FF8E: mov dword ptr [ecx + 8], edi */ 19790 edi = MEM32(edx); /* 0x2B07FF91: mov edi, dword ptr [edx] */ 19791 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FF93: cmp edi, dword ptr [esi + 8] */ 19792 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19794 _flag_k = FK_CMP; 19795 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF9B; /* 0x2B07FF96: je 0x2b07ff9b */ 19796 L_2B07FF98: 19797 MEM32(edi + 0x4) = ecx; /* 0x2B07FF98: mov dword ptr [edi + 4], ecx */ 19798 L_2B07FF9B: 19799 edi = MEM32(ecx + 0x4); /* 0x2B07FF9B: mov edi, dword ptr [ecx + 4] */ 19800 MEM32(edx + 0x4) = edi; /* 0x2B07FF9E: mov dword ptr [edx + 4], edi */ 19801 edi = MEM32(esi + 0x4); /* 0x2B07FFA1: mov edi, dword ptr [esi + 4] */ 19802 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FFA4: cmp ecx, dword ptr [edi + 4] */ 19803 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19805 _flag_k = FK_CMP; 19806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFAE; /* 0x2B07FFA7: jne 0x2b07ffae */ 19807 L_2B07FFA9: 19808 MEM32(edi + 0x4) = edx; /* 0x2B07FFA9: mov dword ptr [edi + 4], edx */ 19809 goto L_2B07FFBC; /* 0x2B07FFAC: jmp 0x2b07ffbc */ 19810 L_2B07FFAE: 19811 edi = MEM32(ecx + 0x4); /* 0x2B07FFAE: mov edi, dword ptr [ecx + 4] */ 19812 /* cmp ecx, MEM32(edi) */ /* 0x2B07FFB1: cmp ecx, dword ptr [edi] */ 19813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19815 _flag_k = FK_CMP; 19816 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFB9; /* 0x2B07FFB3: jne 0x2b07ffb9 */ 19817 L_2B07FFB5: 19818 MEM32(edi) = edx; /* 0x2B07FFB5: mov dword ptr [edi], edx */ 19819 goto L_2B07FFBC; /* 0x2B07FFB7: jmp 0x2b07ffbc */ 19820 L_2B07FFB9: 19821 MEM32(edi + 0x8) = edx; /* 0x2B07FFB9: mov dword ptr [edi + 8], edx */ 19822 L_2B07FFBC: 19823 MEM32(edx) = ecx; /* 0x2B07FFBC: mov dword ptr [edx], ecx */ 19824 L_2B07FFBE: 19825 MEM32(ecx + 0x4) = edx; /* 0x2B07FFBE: mov dword ptr [ecx + 4], edx */ 19826 L_2B07FFC1: 19827 ecx = MEM32(esi + 0x4); /* 0x2B07FFC1: mov ecx, dword ptr [esi + 4] */ 19828 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FFC4: cmp eax, dword ptr [ecx + 4] */ 19829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19831 _flag_k = FK_CMP; 19832 RECOMP_BACKEDGE(); 19833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE4D; /* 0x2B07FFC7: jne 0x2b07fe4d */ 19834 L_2B07FFCD: 19835 edx = MEM32(esi + 0x4); /* 0x2B07FFCD: mov edx, dword ptr [esi + 4] */ 19836 eax = MEM32(edx + 0x4); /* 0x2B07FFD0: mov eax, dword ptr [edx + 4] */ 19837 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FFD3: mov ecx, dword ptr [ebp - 4] */ 19838 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FFD6: mov byte ptr [eax + 0x18], bl */ 19839 eax = MEM32(ebp + 0x8); /* 0x2B07FFD9: mov eax, dword ptr [ebp + 8] */ 19840 edi = POP32_VAL(esp); /* 0x2B07FFDC: pop edi */ 19841 esi = POP32_VAL(esp); /* 0x2B07FFDD: pop esi */ 19842 MEM32(eax) = ecx; /* 0x2B07FFDE: mov dword ptr [eax], ecx */ 19843 ebx = POP32_VAL(esp); /* 0x2B07FFE0: pop ebx */ 19844 esp = ebp; /* 0x2B07FFE1: mov esp, ebp */ 19845 ebp = POP32_VAL(esp); /* 0x2B07FFE3: pop ebp */ 19846 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07FFE4: ret 0x10 */ 19847 RECOMP_REGS_OUT(); 19848 } 19849 19850 void sub_2B07FE4D(void) { 19851 int _fpu_cmp = 0; 19852 uint32_t _cf = 0; 19853 int _df = 1; 19854 uint32_t _flag_k = FK_NONE; 19855 uint32_t _flag_a = 0, _flag_b = 0; 19856 uint32_t _itail_tgt = 0; 19857 RECOMP_REGS_LOCALS 19858 RECOMP_ENTER(0x2B07FE4Du); 19859 19860 L_2B07FE4D: 19861 ecx = MEM32(eax + 0x4); /* 0x2B07FE4D: mov ecx, dword ptr [eax + 4] */ 19862 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FE50: mov dl, byte ptr [ecx + 0x18] */ 19863 /* test LO8(edx), LO8(edx) */ /* 0x2B07FE53: test dl, dl */ 19864 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19865 _cf = 0; 19866 _flag_k = FK_NARROW(FK_TEST, 24); 19867 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE55: jne 0x2b07ffcd */ 19868 L_2B07FE5B: 19869 edi = MEM32(ecx + 0x4); /* 0x2B07FE5B: mov edi, dword ptr [ecx + 4] */ 19870 edx = MEM32(edi); /* 0x2B07FE5E: mov edx, dword ptr [edi] */ 19871 /* cmp ecx, edx */ /* 0x2B07FE60: cmp ecx, edx */ 19872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19874 _flag_k = FK_CMP; 19875 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF29; /* 0x2B07FE62: jne 0x2b07ff29 */ 19876 L_2B07FE68: 19877 edx = MEM32(edi + 0x8); /* 0x2B07FE68: mov edx, dword ptr [edi + 8] */ 19878 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FE6B: cmp byte ptr [edx + 0x18], 0 */ 19879 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 19880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19881 _flag_k = FK_NARROW(FK_CMP, 24); 19882 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE8C; /* 0x2B07FE6F: jne 0x2b07fe8c */ 19883 L_2B07FE71: 19884 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE71: mov byte ptr [ecx + 0x18], bl */ 19885 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE74: mov byte ptr [edx + 0x18], bl */ 19886 ecx = MEM32(eax + 0x4); /* 0x2B07FE77: mov ecx, dword ptr [eax + 4] */ 19887 edx = MEM32(ecx + 0x4); /* 0x2B07FE7A: mov edx, dword ptr [ecx + 4] */ 19888 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07FE7D: mov byte ptr [edx + 0x18], 0 */ 19889 eax = MEM32(eax + 0x4); /* 0x2B07FE81: mov eax, dword ptr [eax + 4] */ 19890 eax = MEM32(eax + 0x4); /* 0x2B07FE84: mov eax, dword ptr [eax + 4] */ 19891 goto L_2B07FFC1; /* 0x2B07FE87: jmp 0x2b07ffc1 */ 19892 L_2B07FE8C: 19893 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B07FE8C: cmp eax, dword ptr [ecx + 8] */ 19894 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19896 _flag_k = FK_CMP; 19897 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FECB; /* 0x2B07FE8F: jne 0x2b07fecb */ 19898 L_2B07FE91: 19899 eax = ecx; /* 0x2B07FE91: mov eax, ecx */ 19900 ecx = MEM32(eax + 0x8); /* 0x2B07FE93: mov ecx, dword ptr [eax + 8] */ 19901 edx = MEM32(ecx); /* 0x2B07FE96: mov edx, dword ptr [ecx] */ 19902 MEM32(eax + 0x8) = edx; /* 0x2B07FE98: mov dword ptr [eax + 8], edx */ 19903 edx = MEM32(ecx); /* 0x2B07FE9B: mov edx, dword ptr [ecx] */ 19904 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FE9D: cmp edx, dword ptr [esi + 8] */ 19905 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19907 _flag_k = FK_CMP; 19908 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEA5; /* 0x2B07FEA0: je 0x2b07fea5 */ 19909 L_2B07FEA2: 19910 MEM32(edx + 0x4) = eax; /* 0x2B07FEA2: mov dword ptr [edx + 4], eax */ 19911 L_2B07FEA5: 19912 edx = MEM32(eax + 0x4); /* 0x2B07FEA5: mov edx, dword ptr [eax + 4] */ 19913 MEM32(ecx + 0x4) = edx; /* 0x2B07FEA8: mov dword ptr [ecx + 4], edx */ 19914 edx = MEM32(esi + 0x4); /* 0x2B07FEAB: mov edx, dword ptr [esi + 4] */ 19915 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FEAE: cmp eax, dword ptr [edx + 4] */ 19916 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19918 _flag_k = FK_CMP; 19919 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEB8; /* 0x2B07FEB1: jne 0x2b07feb8 */ 19920 L_2B07FEB3: 19921 MEM32(edx + 0x4) = ecx; /* 0x2B07FEB3: mov dword ptr [edx + 4], ecx */ 19922 goto L_2B07FEC6; /* 0x2B07FEB6: jmp 0x2b07fec6 */ 19923 L_2B07FEB8: 19924 edx = MEM32(eax + 0x4); /* 0x2B07FEB8: mov edx, dword ptr [eax + 4] */ 19925 /* cmp eax, MEM32(edx) */ /* 0x2B07FEBB: cmp eax, dword ptr [edx] */ 19926 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19928 _flag_k = FK_CMP; 19929 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEC3; /* 0x2B07FEBD: jne 0x2b07fec3 */ 19930 L_2B07FEBF: 19931 MEM32(edx) = ecx; /* 0x2B07FEBF: mov dword ptr [edx], ecx */ 19932 goto L_2B07FEC6; /* 0x2B07FEC1: jmp 0x2b07fec6 */ 19933 L_2B07FEC3: 19934 MEM32(edx + 0x8) = ecx; /* 0x2B07FEC3: mov dword ptr [edx + 8], ecx */ 19935 L_2B07FEC6: 19936 MEM32(ecx) = eax; /* 0x2B07FEC6: mov dword ptr [ecx], eax */ 19937 MEM32(eax + 0x4) = ecx; /* 0x2B07FEC8: mov dword ptr [eax + 4], ecx */ 19938 L_2B07FECB: 19939 ecx = MEM32(eax + 0x4); /* 0x2B07FECB: mov ecx, dword ptr [eax + 4] */ 19940 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FECE: mov byte ptr [ecx + 0x18], bl */ 19941 edx = MEM32(eax + 0x4); /* 0x2B07FED1: mov edx, dword ptr [eax + 4] */ 19942 ecx = MEM32(edx + 0x4); /* 0x2B07FED4: mov ecx, dword ptr [edx + 4] */ 19943 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FED7: mov byte ptr [ecx + 0x18], 0 */ 19944 edx = MEM32(eax + 0x4); /* 0x2B07FEDB: mov edx, dword ptr [eax + 4] */ 19945 ecx = MEM32(edx + 0x4); /* 0x2B07FEDE: mov ecx, dword ptr [edx + 4] */ 19946 edx = MEM32(ecx); /* 0x2B07FEE1: mov edx, dword ptr [ecx] */ 19947 edi = MEM32(edx + 0x8); /* 0x2B07FEE3: mov edi, dword ptr [edx + 8] */ 19948 MEM32(ecx) = edi; /* 0x2B07FEE6: mov dword ptr [ecx], edi */ 19949 edi = MEM32(edx + 0x8); /* 0x2B07FEE8: mov edi, dword ptr [edx + 8] */ 19950 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FEEB: cmp edi, dword ptr [esi + 8] */ 19951 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19953 _flag_k = FK_CMP; 19954 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEF3; /* 0x2B07FEEE: je 0x2b07fef3 */ 19955 L_2B07FEF0: 19956 MEM32(edi + 0x4) = ecx; /* 0x2B07FEF0: mov dword ptr [edi + 4], ecx */ 19957 L_2B07FEF3: 19958 edi = MEM32(ecx + 0x4); /* 0x2B07FEF3: mov edi, dword ptr [ecx + 4] */ 19959 MEM32(edx + 0x4) = edi; /* 0x2B07FEF6: mov dword ptr [edx + 4], edi */ 19960 edi = MEM32(esi + 0x4); /* 0x2B07FEF9: mov edi, dword ptr [esi + 4] */ 19961 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FEFC: cmp ecx, dword ptr [edi + 4] */ 19962 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19964 _flag_k = FK_CMP; 19965 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF0C; /* 0x2B07FEFF: jne 0x2b07ff0c */ 19966 L_2B07FF01: 19967 MEM32(edi + 0x4) = edx; /* 0x2B07FF01: mov dword ptr [edi + 4], edx */ 19968 MEM32(edx + 0x8) = ecx; /* 0x2B07FF04: mov dword ptr [edx + 8], ecx */ 19969 goto L_2B07FFBE; /* 0x2B07FF07: jmp 0x2b07ffbe */ 19970 L_2B07FF0C: 19971 edi = MEM32(ecx + 0x4); /* 0x2B07FF0C: mov edi, dword ptr [ecx + 4] */ 19972 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07FF0F: cmp ecx, dword ptr [edi + 8] */ 19973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19975 _flag_k = FK_CMP; 19976 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF1F; /* 0x2B07FF12: jne 0x2b07ff1f */ 19977 L_2B07FF14: 19978 MEM32(edi + 0x8) = edx; /* 0x2B07FF14: mov dword ptr [edi + 8], edx */ 19979 MEM32(edx + 0x8) = ecx; /* 0x2B07FF17: mov dword ptr [edx + 8], ecx */ 19980 goto L_2B07FFBE; /* 0x2B07FF1A: jmp 0x2b07ffbe */ 19981 L_2B07FF1F: 19982 MEM32(edi) = edx; /* 0x2B07FF1F: mov dword ptr [edi], edx */ 19983 MEM32(edx + 0x8) = ecx; /* 0x2B07FF21: mov dword ptr [edx + 8], ecx */ 19984 goto L_2B07FFBE; /* 0x2B07FF24: jmp 0x2b07ffbe */ 19985 L_2B07FF29: 19986 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FF29: cmp byte ptr [edx + 0x18], 0 */ 19987 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 19988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19989 _flag_k = FK_NARROW(FK_CMP, 24); 19990 RECOMP_BACKEDGE(); 19991 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE71; /* 0x2B07FF2D: je 0x2b07fe71 */ 19992 L_2B07FF33: 19993 /* cmp eax, MEM32(ecx) */ /* 0x2B07FF33: cmp eax, dword ptr [ecx] */ 19994 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19996 _flag_k = FK_CMP; 19997 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF73; /* 0x2B07FF35: jne 0x2b07ff73 */ 19998 L_2B07FF37: 19999 eax = ecx; /* 0x2B07FF37: mov eax, ecx */ 20000 ecx = MEM32(eax); /* 0x2B07FF39: mov ecx, dword ptr [eax] */ 20001 edx = MEM32(ecx + 0x8); /* 0x2B07FF3B: mov edx, dword ptr [ecx + 8] */ 20002 MEM32(eax) = edx; /* 0x2B07FF3E: mov dword ptr [eax], edx */ 20003 edx = MEM32(ecx + 0x8); /* 0x2B07FF40: mov edx, dword ptr [ecx + 8] */ 20004 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FF43: cmp edx, dword ptr [esi + 8] */ 20005 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20007 _flag_k = FK_CMP; 20008 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF4B; /* 0x2B07FF46: je 0x2b07ff4b */ 20009 L_2B07FF48: 20010 MEM32(edx + 0x4) = eax; /* 0x2B07FF48: mov dword ptr [edx + 4], eax */ 20011 L_2B07FF4B: 20012 edx = MEM32(eax + 0x4); /* 0x2B07FF4B: mov edx, dword ptr [eax + 4] */ 20013 MEM32(ecx + 0x4) = edx; /* 0x2B07FF4E: mov dword ptr [ecx + 4], edx */ 20014 edx = MEM32(esi + 0x4); /* 0x2B07FF51: mov edx, dword ptr [esi + 4] */ 20015 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FF54: cmp eax, dword ptr [edx + 4] */ 20016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20018 _flag_k = FK_CMP; 20019 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF5E; /* 0x2B07FF57: jne 0x2b07ff5e */ 20020 L_2B07FF59: 20021 MEM32(edx + 0x4) = ecx; /* 0x2B07FF59: mov dword ptr [edx + 4], ecx */ 20022 goto L_2B07FF6D; /* 0x2B07FF5C: jmp 0x2b07ff6d */ 20023 L_2B07FF5E: 20024 edx = MEM32(eax + 0x4); /* 0x2B07FF5E: mov edx, dword ptr [eax + 4] */ 20025 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B07FF61: cmp eax, dword ptr [edx + 8] */ 20026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20028 _flag_k = FK_CMP; 20029 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF6B; /* 0x2B07FF64: jne 0x2b07ff6b */ 20030 L_2B07FF66: 20031 MEM32(edx + 0x8) = ecx; /* 0x2B07FF66: mov dword ptr [edx + 8], ecx */ 20032 goto L_2B07FF6D; /* 0x2B07FF69: jmp 0x2b07ff6d */ 20033 L_2B07FF6B: 20034 MEM32(edx) = ecx; /* 0x2B07FF6B: mov dword ptr [edx], ecx */ 20035 L_2B07FF6D: 20036 MEM32(ecx + 0x8) = eax; /* 0x2B07FF6D: mov dword ptr [ecx + 8], eax */ 20037 MEM32(eax + 0x4) = ecx; /* 0x2B07FF70: mov dword ptr [eax + 4], ecx */ 20038 L_2B07FF73: 20039 ecx = MEM32(eax + 0x4); /* 0x2B07FF73: mov ecx, dword ptr [eax + 4] */ 20040 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FF76: mov byte ptr [ecx + 0x18], bl */ 20041 edx = MEM32(eax + 0x4); /* 0x2B07FF79: mov edx, dword ptr [eax + 4] */ 20042 ecx = MEM32(edx + 0x4); /* 0x2B07FF7C: mov ecx, dword ptr [edx + 4] */ 20043 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FF7F: mov byte ptr [ecx + 0x18], 0 */ 20044 edx = MEM32(eax + 0x4); /* 0x2B07FF83: mov edx, dword ptr [eax + 4] */ 20045 ecx = MEM32(edx + 0x4); /* 0x2B07FF86: mov ecx, dword ptr [edx + 4] */ 20046 edx = MEM32(ecx + 0x8); /* 0x2B07FF89: mov edx, dword ptr [ecx + 8] */ 20047 edi = MEM32(edx); /* 0x2B07FF8C: mov edi, dword ptr [edx] */ 20048 MEM32(ecx + 0x8) = edi; /* 0x2B07FF8E: mov dword ptr [ecx + 8], edi */ 20049 edi = MEM32(edx); /* 0x2B07FF91: mov edi, dword ptr [edx] */ 20050 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FF93: cmp edi, dword ptr [esi + 8] */ 20051 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20053 _flag_k = FK_CMP; 20054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF9B; /* 0x2B07FF96: je 0x2b07ff9b */ 20055 L_2B07FF98: 20056 MEM32(edi + 0x4) = ecx; /* 0x2B07FF98: mov dword ptr [edi + 4], ecx */ 20057 L_2B07FF9B: 20058 edi = MEM32(ecx + 0x4); /* 0x2B07FF9B: mov edi, dword ptr [ecx + 4] */ 20059 MEM32(edx + 0x4) = edi; /* 0x2B07FF9E: mov dword ptr [edx + 4], edi */ 20060 edi = MEM32(esi + 0x4); /* 0x2B07FFA1: mov edi, dword ptr [esi + 4] */ 20061 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FFA4: cmp ecx, dword ptr [edi + 4] */ 20062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20064 _flag_k = FK_CMP; 20065 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFAE; /* 0x2B07FFA7: jne 0x2b07ffae */ 20066 L_2B07FFA9: 20067 MEM32(edi + 0x4) = edx; /* 0x2B07FFA9: mov dword ptr [edi + 4], edx */ 20068 goto L_2B07FFBC; /* 0x2B07FFAC: jmp 0x2b07ffbc */ 20069 L_2B07FFAE: 20070 edi = MEM32(ecx + 0x4); /* 0x2B07FFAE: mov edi, dword ptr [ecx + 4] */ 20071 /* cmp ecx, MEM32(edi) */ /* 0x2B07FFB1: cmp ecx, dword ptr [edi] */ 20072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20074 _flag_k = FK_CMP; 20075 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFB9; /* 0x2B07FFB3: jne 0x2b07ffb9 */ 20076 L_2B07FFB5: 20077 MEM32(edi) = edx; /* 0x2B07FFB5: mov dword ptr [edi], edx */ 20078 goto L_2B07FFBC; /* 0x2B07FFB7: jmp 0x2b07ffbc */ 20079 L_2B07FFB9: 20080 MEM32(edi + 0x8) = edx; /* 0x2B07FFB9: mov dword ptr [edi + 8], edx */ 20081 L_2B07FFBC: 20082 MEM32(edx) = ecx; /* 0x2B07FFBC: mov dword ptr [edx], ecx */ 20083 L_2B07FFBE: 20084 MEM32(ecx + 0x4) = edx; /* 0x2B07FFBE: mov dword ptr [ecx + 4], edx */ 20085 L_2B07FFC1: 20086 ecx = MEM32(esi + 0x4); /* 0x2B07FFC1: mov ecx, dword ptr [esi + 4] */ 20087 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FFC4: cmp eax, dword ptr [ecx + 4] */ 20088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20090 _flag_k = FK_CMP; 20091 RECOMP_BACKEDGE(); 20092 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE4D; /* 0x2B07FFC7: jne 0x2b07fe4d */ 20093 L_2B07FFCD: 20094 edx = MEM32(esi + 0x4); /* 0x2B07FFCD: mov edx, dword ptr [esi + 4] */ 20095 eax = MEM32(edx + 0x4); /* 0x2B07FFD0: mov eax, dword ptr [edx + 4] */ 20096 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FFD3: mov ecx, dword ptr [ebp - 4] */ 20097 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FFD6: mov byte ptr [eax + 0x18], bl */ 20098 eax = MEM32(ebp + 0x8); /* 0x2B07FFD9: mov eax, dword ptr [ebp + 8] */ 20099 edi = POP32_VAL(esp); /* 0x2B07FFDC: pop edi */ 20100 esi = POP32_VAL(esp); /* 0x2B07FFDD: pop esi */ 20101 MEM32(eax) = ecx; /* 0x2B07FFDE: mov dword ptr [eax], ecx */ 20102 ebx = POP32_VAL(esp); /* 0x2B07FFE0: pop ebx */ 20103 esp = ebp; /* 0x2B07FFE1: mov esp, ebp */ 20104 ebp = POP32_VAL(esp); /* 0x2B07FFE3: pop ebp */ 20105 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07FFE4: ret 0x10 */ 20106 RECOMP_REGS_OUT(); 20107 } 20108 20109 void sub_2B07FE71(void) { 20110 int _fpu_cmp = 0; 20111 uint32_t _cf = 0; 20112 int _df = 1; 20113 uint32_t _flag_k = FK_NONE; 20114 uint32_t _flag_a = 0, _flag_b = 0; 20115 uint32_t _itail_tgt = 0; 20116 RECOMP_REGS_LOCALS 20117 RECOMP_ENTER(0x2B07FE71u); 20118 20119 goto L_2B07FE71; 20120 L_2B07FE4D: 20121 ecx = MEM32(eax + 0x4); /* 0x2B07FE4D: mov ecx, dword ptr [eax + 4] */ 20122 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FE50: mov dl, byte ptr [ecx + 0x18] */ 20123 /* test LO8(edx), LO8(edx) */ /* 0x2B07FE53: test dl, dl */ 20124 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20125 _cf = 0; 20126 _flag_k = FK_NARROW(FK_TEST, 24); 20127 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE55: jne 0x2b07ffcd */ 20128 L_2B07FE5B: 20129 edi = MEM32(ecx + 0x4); /* 0x2B07FE5B: mov edi, dword ptr [ecx + 4] */ 20130 edx = MEM32(edi); /* 0x2B07FE5E: mov edx, dword ptr [edi] */ 20131 /* cmp ecx, edx */ /* 0x2B07FE60: cmp ecx, edx */ 20132 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20134 _flag_k = FK_CMP; 20135 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF29; /* 0x2B07FE62: jne 0x2b07ff29 */ 20136 L_2B07FE68: 20137 edx = MEM32(edi + 0x8); /* 0x2B07FE68: mov edx, dword ptr [edi + 8] */ 20138 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FE6B: cmp byte ptr [edx + 0x18], 0 */ 20139 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 20140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20141 _flag_k = FK_NARROW(FK_CMP, 24); 20142 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE8C; /* 0x2B07FE6F: jne 0x2b07fe8c */ 20143 L_2B07FE71: 20144 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE71: mov byte ptr [ecx + 0x18], bl */ 20145 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE74: mov byte ptr [edx + 0x18], bl */ 20146 ecx = MEM32(eax + 0x4); /* 0x2B07FE77: mov ecx, dword ptr [eax + 4] */ 20147 edx = MEM32(ecx + 0x4); /* 0x2B07FE7A: mov edx, dword ptr [ecx + 4] */ 20148 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07FE7D: mov byte ptr [edx + 0x18], 0 */ 20149 eax = MEM32(eax + 0x4); /* 0x2B07FE81: mov eax, dword ptr [eax + 4] */ 20150 eax = MEM32(eax + 0x4); /* 0x2B07FE84: mov eax, dword ptr [eax + 4] */ 20151 goto L_2B07FFC1; /* 0x2B07FE87: jmp 0x2b07ffc1 */ 20152 L_2B07FE8C: 20153 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B07FE8C: cmp eax, dword ptr [ecx + 8] */ 20154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20156 _flag_k = FK_CMP; 20157 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FECB; /* 0x2B07FE8F: jne 0x2b07fecb */ 20158 L_2B07FE91: 20159 eax = ecx; /* 0x2B07FE91: mov eax, ecx */ 20160 ecx = MEM32(eax + 0x8); /* 0x2B07FE93: mov ecx, dword ptr [eax + 8] */ 20161 edx = MEM32(ecx); /* 0x2B07FE96: mov edx, dword ptr [ecx] */ 20162 MEM32(eax + 0x8) = edx; /* 0x2B07FE98: mov dword ptr [eax + 8], edx */ 20163 edx = MEM32(ecx); /* 0x2B07FE9B: mov edx, dword ptr [ecx] */ 20164 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FE9D: cmp edx, dword ptr [esi + 8] */ 20165 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20167 _flag_k = FK_CMP; 20168 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEA5; /* 0x2B07FEA0: je 0x2b07fea5 */ 20169 L_2B07FEA2: 20170 MEM32(edx + 0x4) = eax; /* 0x2B07FEA2: mov dword ptr [edx + 4], eax */ 20171 L_2B07FEA5: 20172 edx = MEM32(eax + 0x4); /* 0x2B07FEA5: mov edx, dword ptr [eax + 4] */ 20173 MEM32(ecx + 0x4) = edx; /* 0x2B07FEA8: mov dword ptr [ecx + 4], edx */ 20174 edx = MEM32(esi + 0x4); /* 0x2B07FEAB: mov edx, dword ptr [esi + 4] */ 20175 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FEAE: cmp eax, dword ptr [edx + 4] */ 20176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20178 _flag_k = FK_CMP; 20179 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEB8; /* 0x2B07FEB1: jne 0x2b07feb8 */ 20180 L_2B07FEB3: 20181 MEM32(edx + 0x4) = ecx; /* 0x2B07FEB3: mov dword ptr [edx + 4], ecx */ 20182 goto L_2B07FEC6; /* 0x2B07FEB6: jmp 0x2b07fec6 */ 20183 L_2B07FEB8: 20184 edx = MEM32(eax + 0x4); /* 0x2B07FEB8: mov edx, dword ptr [eax + 4] */ 20185 /* cmp eax, MEM32(edx) */ /* 0x2B07FEBB: cmp eax, dword ptr [edx] */ 20186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20188 _flag_k = FK_CMP; 20189 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEC3; /* 0x2B07FEBD: jne 0x2b07fec3 */ 20190 L_2B07FEBF: 20191 MEM32(edx) = ecx; /* 0x2B07FEBF: mov dword ptr [edx], ecx */ 20192 goto L_2B07FEC6; /* 0x2B07FEC1: jmp 0x2b07fec6 */ 20193 L_2B07FEC3: 20194 MEM32(edx + 0x8) = ecx; /* 0x2B07FEC3: mov dword ptr [edx + 8], ecx */ 20195 L_2B07FEC6: 20196 MEM32(ecx) = eax; /* 0x2B07FEC6: mov dword ptr [ecx], eax */ 20197 MEM32(eax + 0x4) = ecx; /* 0x2B07FEC8: mov dword ptr [eax + 4], ecx */ 20198 L_2B07FECB: 20199 ecx = MEM32(eax + 0x4); /* 0x2B07FECB: mov ecx, dword ptr [eax + 4] */ 20200 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FECE: mov byte ptr [ecx + 0x18], bl */ 20201 edx = MEM32(eax + 0x4); /* 0x2B07FED1: mov edx, dword ptr [eax + 4] */ 20202 ecx = MEM32(edx + 0x4); /* 0x2B07FED4: mov ecx, dword ptr [edx + 4] */ 20203 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FED7: mov byte ptr [ecx + 0x18], 0 */ 20204 edx = MEM32(eax + 0x4); /* 0x2B07FEDB: mov edx, dword ptr [eax + 4] */ 20205 ecx = MEM32(edx + 0x4); /* 0x2B07FEDE: mov ecx, dword ptr [edx + 4] */ 20206 edx = MEM32(ecx); /* 0x2B07FEE1: mov edx, dword ptr [ecx] */ 20207 edi = MEM32(edx + 0x8); /* 0x2B07FEE3: mov edi, dword ptr [edx + 8] */ 20208 MEM32(ecx) = edi; /* 0x2B07FEE6: mov dword ptr [ecx], edi */ 20209 edi = MEM32(edx + 0x8); /* 0x2B07FEE8: mov edi, dword ptr [edx + 8] */ 20210 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FEEB: cmp edi, dword ptr [esi + 8] */ 20211 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20213 _flag_k = FK_CMP; 20214 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEF3; /* 0x2B07FEEE: je 0x2b07fef3 */ 20215 L_2B07FEF0: 20216 MEM32(edi + 0x4) = ecx; /* 0x2B07FEF0: mov dword ptr [edi + 4], ecx */ 20217 L_2B07FEF3: 20218 edi = MEM32(ecx + 0x4); /* 0x2B07FEF3: mov edi, dword ptr [ecx + 4] */ 20219 MEM32(edx + 0x4) = edi; /* 0x2B07FEF6: mov dword ptr [edx + 4], edi */ 20220 edi = MEM32(esi + 0x4); /* 0x2B07FEF9: mov edi, dword ptr [esi + 4] */ 20221 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FEFC: cmp ecx, dword ptr [edi + 4] */ 20222 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20224 _flag_k = FK_CMP; 20225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF0C; /* 0x2B07FEFF: jne 0x2b07ff0c */ 20226 L_2B07FF01: 20227 MEM32(edi + 0x4) = edx; /* 0x2B07FF01: mov dword ptr [edi + 4], edx */ 20228 MEM32(edx + 0x8) = ecx; /* 0x2B07FF04: mov dword ptr [edx + 8], ecx */ 20229 goto L_2B07FFBE; /* 0x2B07FF07: jmp 0x2b07ffbe */ 20230 L_2B07FF0C: 20231 edi = MEM32(ecx + 0x4); /* 0x2B07FF0C: mov edi, dword ptr [ecx + 4] */ 20232 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07FF0F: cmp ecx, dword ptr [edi + 8] */ 20233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20235 _flag_k = FK_CMP; 20236 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF1F; /* 0x2B07FF12: jne 0x2b07ff1f */ 20237 L_2B07FF14: 20238 MEM32(edi + 0x8) = edx; /* 0x2B07FF14: mov dword ptr [edi + 8], edx */ 20239 MEM32(edx + 0x8) = ecx; /* 0x2B07FF17: mov dword ptr [edx + 8], ecx */ 20240 goto L_2B07FFBE; /* 0x2B07FF1A: jmp 0x2b07ffbe */ 20241 L_2B07FF1F: 20242 MEM32(edi) = edx; /* 0x2B07FF1F: mov dword ptr [edi], edx */ 20243 MEM32(edx + 0x8) = ecx; /* 0x2B07FF21: mov dword ptr [edx + 8], ecx */ 20244 goto L_2B07FFBE; /* 0x2B07FF24: jmp 0x2b07ffbe */ 20245 L_2B07FF29: 20246 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FF29: cmp byte ptr [edx + 0x18], 0 */ 20247 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 20248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20249 _flag_k = FK_NARROW(FK_CMP, 24); 20250 RECOMP_BACKEDGE(); 20251 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE71; /* 0x2B07FF2D: je 0x2b07fe71 */ 20252 L_2B07FF33: 20253 /* cmp eax, MEM32(ecx) */ /* 0x2B07FF33: cmp eax, dword ptr [ecx] */ 20254 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20256 _flag_k = FK_CMP; 20257 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF73; /* 0x2B07FF35: jne 0x2b07ff73 */ 20258 L_2B07FF37: 20259 eax = ecx; /* 0x2B07FF37: mov eax, ecx */ 20260 ecx = MEM32(eax); /* 0x2B07FF39: mov ecx, dword ptr [eax] */ 20261 edx = MEM32(ecx + 0x8); /* 0x2B07FF3B: mov edx, dword ptr [ecx + 8] */ 20262 MEM32(eax) = edx; /* 0x2B07FF3E: mov dword ptr [eax], edx */ 20263 edx = MEM32(ecx + 0x8); /* 0x2B07FF40: mov edx, dword ptr [ecx + 8] */ 20264 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FF43: cmp edx, dword ptr [esi + 8] */ 20265 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20267 _flag_k = FK_CMP; 20268 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF4B; /* 0x2B07FF46: je 0x2b07ff4b */ 20269 L_2B07FF48: 20270 MEM32(edx + 0x4) = eax; /* 0x2B07FF48: mov dword ptr [edx + 4], eax */ 20271 L_2B07FF4B: 20272 edx = MEM32(eax + 0x4); /* 0x2B07FF4B: mov edx, dword ptr [eax + 4] */ 20273 MEM32(ecx + 0x4) = edx; /* 0x2B07FF4E: mov dword ptr [ecx + 4], edx */ 20274 edx = MEM32(esi + 0x4); /* 0x2B07FF51: mov edx, dword ptr [esi + 4] */ 20275 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FF54: cmp eax, dword ptr [edx + 4] */ 20276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20278 _flag_k = FK_CMP; 20279 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF5E; /* 0x2B07FF57: jne 0x2b07ff5e */ 20280 L_2B07FF59: 20281 MEM32(edx + 0x4) = ecx; /* 0x2B07FF59: mov dword ptr [edx + 4], ecx */ 20282 goto L_2B07FF6D; /* 0x2B07FF5C: jmp 0x2b07ff6d */ 20283 L_2B07FF5E: 20284 edx = MEM32(eax + 0x4); /* 0x2B07FF5E: mov edx, dword ptr [eax + 4] */ 20285 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B07FF61: cmp eax, dword ptr [edx + 8] */ 20286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20288 _flag_k = FK_CMP; 20289 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF6B; /* 0x2B07FF64: jne 0x2b07ff6b */ 20290 L_2B07FF66: 20291 MEM32(edx + 0x8) = ecx; /* 0x2B07FF66: mov dword ptr [edx + 8], ecx */ 20292 goto L_2B07FF6D; /* 0x2B07FF69: jmp 0x2b07ff6d */ 20293 L_2B07FF6B: 20294 MEM32(edx) = ecx; /* 0x2B07FF6B: mov dword ptr [edx], ecx */ 20295 L_2B07FF6D: 20296 MEM32(ecx + 0x8) = eax; /* 0x2B07FF6D: mov dword ptr [ecx + 8], eax */ 20297 MEM32(eax + 0x4) = ecx; /* 0x2B07FF70: mov dword ptr [eax + 4], ecx */ 20298 L_2B07FF73: 20299 ecx = MEM32(eax + 0x4); /* 0x2B07FF73: mov ecx, dword ptr [eax + 4] */ 20300 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FF76: mov byte ptr [ecx + 0x18], bl */ 20301 edx = MEM32(eax + 0x4); /* 0x2B07FF79: mov edx, dword ptr [eax + 4] */ 20302 ecx = MEM32(edx + 0x4); /* 0x2B07FF7C: mov ecx, dword ptr [edx + 4] */ 20303 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FF7F: mov byte ptr [ecx + 0x18], 0 */ 20304 edx = MEM32(eax + 0x4); /* 0x2B07FF83: mov edx, dword ptr [eax + 4] */ 20305 ecx = MEM32(edx + 0x4); /* 0x2B07FF86: mov ecx, dword ptr [edx + 4] */ 20306 edx = MEM32(ecx + 0x8); /* 0x2B07FF89: mov edx, dword ptr [ecx + 8] */ 20307 edi = MEM32(edx); /* 0x2B07FF8C: mov edi, dword ptr [edx] */ 20308 MEM32(ecx + 0x8) = edi; /* 0x2B07FF8E: mov dword ptr [ecx + 8], edi */ 20309 edi = MEM32(edx); /* 0x2B07FF91: mov edi, dword ptr [edx] */ 20310 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FF93: cmp edi, dword ptr [esi + 8] */ 20311 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20313 _flag_k = FK_CMP; 20314 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF9B; /* 0x2B07FF96: je 0x2b07ff9b */ 20315 L_2B07FF98: 20316 MEM32(edi + 0x4) = ecx; /* 0x2B07FF98: mov dword ptr [edi + 4], ecx */ 20317 L_2B07FF9B: 20318 edi = MEM32(ecx + 0x4); /* 0x2B07FF9B: mov edi, dword ptr [ecx + 4] */ 20319 MEM32(edx + 0x4) = edi; /* 0x2B07FF9E: mov dword ptr [edx + 4], edi */ 20320 edi = MEM32(esi + 0x4); /* 0x2B07FFA1: mov edi, dword ptr [esi + 4] */ 20321 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FFA4: cmp ecx, dword ptr [edi + 4] */ 20322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20324 _flag_k = FK_CMP; 20325 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFAE; /* 0x2B07FFA7: jne 0x2b07ffae */ 20326 L_2B07FFA9: 20327 MEM32(edi + 0x4) = edx; /* 0x2B07FFA9: mov dword ptr [edi + 4], edx */ 20328 goto L_2B07FFBC; /* 0x2B07FFAC: jmp 0x2b07ffbc */ 20329 L_2B07FFAE: 20330 edi = MEM32(ecx + 0x4); /* 0x2B07FFAE: mov edi, dword ptr [ecx + 4] */ 20331 /* cmp ecx, MEM32(edi) */ /* 0x2B07FFB1: cmp ecx, dword ptr [edi] */ 20332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20334 _flag_k = FK_CMP; 20335 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFB9; /* 0x2B07FFB3: jne 0x2b07ffb9 */ 20336 L_2B07FFB5: 20337 MEM32(edi) = edx; /* 0x2B07FFB5: mov dword ptr [edi], edx */ 20338 goto L_2B07FFBC; /* 0x2B07FFB7: jmp 0x2b07ffbc */ 20339 L_2B07FFB9: 20340 MEM32(edi + 0x8) = edx; /* 0x2B07FFB9: mov dword ptr [edi + 8], edx */ 20341 L_2B07FFBC: 20342 MEM32(edx) = ecx; /* 0x2B07FFBC: mov dword ptr [edx], ecx */ 20343 L_2B07FFBE: 20344 MEM32(ecx + 0x4) = edx; /* 0x2B07FFBE: mov dword ptr [ecx + 4], edx */ 20345 L_2B07FFC1: 20346 ecx = MEM32(esi + 0x4); /* 0x2B07FFC1: mov ecx, dword ptr [esi + 4] */ 20347 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FFC4: cmp eax, dword ptr [ecx + 4] */ 20348 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20350 _flag_k = FK_CMP; 20351 RECOMP_BACKEDGE(); 20352 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE4D; /* 0x2B07FFC7: jne 0x2b07fe4d */ 20353 L_2B07FFCD: 20354 edx = MEM32(esi + 0x4); /* 0x2B07FFCD: mov edx, dword ptr [esi + 4] */ 20355 eax = MEM32(edx + 0x4); /* 0x2B07FFD0: mov eax, dword ptr [edx + 4] */ 20356 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FFD3: mov ecx, dword ptr [ebp - 4] */ 20357 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FFD6: mov byte ptr [eax + 0x18], bl */ 20358 eax = MEM32(ebp + 0x8); /* 0x2B07FFD9: mov eax, dword ptr [ebp + 8] */ 20359 edi = POP32_VAL(esp); /* 0x2B07FFDC: pop edi */ 20360 esi = POP32_VAL(esp); /* 0x2B07FFDD: pop esi */ 20361 MEM32(eax) = ecx; /* 0x2B07FFDE: mov dword ptr [eax], ecx */ 20362 ebx = POP32_VAL(esp); /* 0x2B07FFE0: pop ebx */ 20363 esp = ebp; /* 0x2B07FFE1: mov esp, ebp */ 20364 ebp = POP32_VAL(esp); /* 0x2B07FFE3: pop ebp */ 20365 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07FFE4: ret 0x10 */ 20366 RECOMP_REGS_OUT(); 20367 } 20368 20369 void sub_2B07FEC6(void) { 20370 int _fpu_cmp = 0; 20371 uint32_t _cf = 0; 20372 int _df = 1; 20373 uint32_t _flag_k = FK_NONE; 20374 uint32_t _flag_a = 0, _flag_b = 0; 20375 uint32_t _itail_tgt = 0; 20376 RECOMP_REGS_LOCALS 20377 RECOMP_ENTER(0x2B07FEC6u); 20378 20379 goto L_2B07FEC6; 20380 L_2B07FE4D: 20381 ecx = MEM32(eax + 0x4); /* 0x2B07FE4D: mov ecx, dword ptr [eax + 4] */ 20382 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FE50: mov dl, byte ptr [ecx + 0x18] */ 20383 /* test LO8(edx), LO8(edx) */ /* 0x2B07FE53: test dl, dl */ 20384 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20385 _cf = 0; 20386 _flag_k = FK_NARROW(FK_TEST, 24); 20387 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE55: jne 0x2b07ffcd */ 20388 L_2B07FE5B: 20389 edi = MEM32(ecx + 0x4); /* 0x2B07FE5B: mov edi, dword ptr [ecx + 4] */ 20390 edx = MEM32(edi); /* 0x2B07FE5E: mov edx, dword ptr [edi] */ 20391 /* cmp ecx, edx */ /* 0x2B07FE60: cmp ecx, edx */ 20392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20394 _flag_k = FK_CMP; 20395 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF29; /* 0x2B07FE62: jne 0x2b07ff29 */ 20396 L_2B07FE68: 20397 edx = MEM32(edi + 0x8); /* 0x2B07FE68: mov edx, dword ptr [edi + 8] */ 20398 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FE6B: cmp byte ptr [edx + 0x18], 0 */ 20399 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 20400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20401 _flag_k = FK_NARROW(FK_CMP, 24); 20402 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE8C; /* 0x2B07FE6F: jne 0x2b07fe8c */ 20403 L_2B07FE71: 20404 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE71: mov byte ptr [ecx + 0x18], bl */ 20405 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE74: mov byte ptr [edx + 0x18], bl */ 20406 ecx = MEM32(eax + 0x4); /* 0x2B07FE77: mov ecx, dword ptr [eax + 4] */ 20407 edx = MEM32(ecx + 0x4); /* 0x2B07FE7A: mov edx, dword ptr [ecx + 4] */ 20408 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07FE7D: mov byte ptr [edx + 0x18], 0 */ 20409 eax = MEM32(eax + 0x4); /* 0x2B07FE81: mov eax, dword ptr [eax + 4] */ 20410 eax = MEM32(eax + 0x4); /* 0x2B07FE84: mov eax, dword ptr [eax + 4] */ 20411 goto L_2B07FFC1; /* 0x2B07FE87: jmp 0x2b07ffc1 */ 20412 L_2B07FE8C: 20413 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B07FE8C: cmp eax, dword ptr [ecx + 8] */ 20414 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20416 _flag_k = FK_CMP; 20417 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FECB; /* 0x2B07FE8F: jne 0x2b07fecb */ 20418 L_2B07FE91: 20419 eax = ecx; /* 0x2B07FE91: mov eax, ecx */ 20420 ecx = MEM32(eax + 0x8); /* 0x2B07FE93: mov ecx, dword ptr [eax + 8] */ 20421 edx = MEM32(ecx); /* 0x2B07FE96: mov edx, dword ptr [ecx] */ 20422 MEM32(eax + 0x8) = edx; /* 0x2B07FE98: mov dword ptr [eax + 8], edx */ 20423 edx = MEM32(ecx); /* 0x2B07FE9B: mov edx, dword ptr [ecx] */ 20424 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FE9D: cmp edx, dword ptr [esi + 8] */ 20425 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20427 _flag_k = FK_CMP; 20428 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEA5; /* 0x2B07FEA0: je 0x2b07fea5 */ 20429 L_2B07FEA2: 20430 MEM32(edx + 0x4) = eax; /* 0x2B07FEA2: mov dword ptr [edx + 4], eax */ 20431 L_2B07FEA5: 20432 edx = MEM32(eax + 0x4); /* 0x2B07FEA5: mov edx, dword ptr [eax + 4] */ 20433 MEM32(ecx + 0x4) = edx; /* 0x2B07FEA8: mov dword ptr [ecx + 4], edx */ 20434 edx = MEM32(esi + 0x4); /* 0x2B07FEAB: mov edx, dword ptr [esi + 4] */ 20435 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FEAE: cmp eax, dword ptr [edx + 4] */ 20436 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20438 _flag_k = FK_CMP; 20439 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEB8; /* 0x2B07FEB1: jne 0x2b07feb8 */ 20440 L_2B07FEB3: 20441 MEM32(edx + 0x4) = ecx; /* 0x2B07FEB3: mov dword ptr [edx + 4], ecx */ 20442 goto L_2B07FEC6; /* 0x2B07FEB6: jmp 0x2b07fec6 */ 20443 L_2B07FEB8: 20444 edx = MEM32(eax + 0x4); /* 0x2B07FEB8: mov edx, dword ptr [eax + 4] */ 20445 /* cmp eax, MEM32(edx) */ /* 0x2B07FEBB: cmp eax, dword ptr [edx] */ 20446 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20448 _flag_k = FK_CMP; 20449 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEC3; /* 0x2B07FEBD: jne 0x2b07fec3 */ 20450 L_2B07FEBF: 20451 MEM32(edx) = ecx; /* 0x2B07FEBF: mov dword ptr [edx], ecx */ 20452 goto L_2B07FEC6; /* 0x2B07FEC1: jmp 0x2b07fec6 */ 20453 L_2B07FEC3: 20454 MEM32(edx + 0x8) = ecx; /* 0x2B07FEC3: mov dword ptr [edx + 8], ecx */ 20455 L_2B07FEC6: 20456 MEM32(ecx) = eax; /* 0x2B07FEC6: mov dword ptr [ecx], eax */ 20457 MEM32(eax + 0x4) = ecx; /* 0x2B07FEC8: mov dword ptr [eax + 4], ecx */ 20458 L_2B07FECB: 20459 ecx = MEM32(eax + 0x4); /* 0x2B07FECB: mov ecx, dword ptr [eax + 4] */ 20460 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FECE: mov byte ptr [ecx + 0x18], bl */ 20461 edx = MEM32(eax + 0x4); /* 0x2B07FED1: mov edx, dword ptr [eax + 4] */ 20462 ecx = MEM32(edx + 0x4); /* 0x2B07FED4: mov ecx, dword ptr [edx + 4] */ 20463 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FED7: mov byte ptr [ecx + 0x18], 0 */ 20464 edx = MEM32(eax + 0x4); /* 0x2B07FEDB: mov edx, dword ptr [eax + 4] */ 20465 ecx = MEM32(edx + 0x4); /* 0x2B07FEDE: mov ecx, dword ptr [edx + 4] */ 20466 edx = MEM32(ecx); /* 0x2B07FEE1: mov edx, dword ptr [ecx] */ 20467 edi = MEM32(edx + 0x8); /* 0x2B07FEE3: mov edi, dword ptr [edx + 8] */ 20468 MEM32(ecx) = edi; /* 0x2B07FEE6: mov dword ptr [ecx], edi */ 20469 edi = MEM32(edx + 0x8); /* 0x2B07FEE8: mov edi, dword ptr [edx + 8] */ 20470 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FEEB: cmp edi, dword ptr [esi + 8] */ 20471 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20473 _flag_k = FK_CMP; 20474 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEF3; /* 0x2B07FEEE: je 0x2b07fef3 */ 20475 L_2B07FEF0: 20476 MEM32(edi + 0x4) = ecx; /* 0x2B07FEF0: mov dword ptr [edi + 4], ecx */ 20477 L_2B07FEF3: 20478 edi = MEM32(ecx + 0x4); /* 0x2B07FEF3: mov edi, dword ptr [ecx + 4] */ 20479 MEM32(edx + 0x4) = edi; /* 0x2B07FEF6: mov dword ptr [edx + 4], edi */ 20480 edi = MEM32(esi + 0x4); /* 0x2B07FEF9: mov edi, dword ptr [esi + 4] */ 20481 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FEFC: cmp ecx, dword ptr [edi + 4] */ 20482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20484 _flag_k = FK_CMP; 20485 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF0C; /* 0x2B07FEFF: jne 0x2b07ff0c */ 20486 L_2B07FF01: 20487 MEM32(edi + 0x4) = edx; /* 0x2B07FF01: mov dword ptr [edi + 4], edx */ 20488 MEM32(edx + 0x8) = ecx; /* 0x2B07FF04: mov dword ptr [edx + 8], ecx */ 20489 goto L_2B07FFBE; /* 0x2B07FF07: jmp 0x2b07ffbe */ 20490 L_2B07FF0C: 20491 edi = MEM32(ecx + 0x4); /* 0x2B07FF0C: mov edi, dword ptr [ecx + 4] */ 20492 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07FF0F: cmp ecx, dword ptr [edi + 8] */ 20493 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20495 _flag_k = FK_CMP; 20496 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF1F; /* 0x2B07FF12: jne 0x2b07ff1f */ 20497 L_2B07FF14: 20498 MEM32(edi + 0x8) = edx; /* 0x2B07FF14: mov dword ptr [edi + 8], edx */ 20499 MEM32(edx + 0x8) = ecx; /* 0x2B07FF17: mov dword ptr [edx + 8], ecx */ 20500 goto L_2B07FFBE; /* 0x2B07FF1A: jmp 0x2b07ffbe */ 20501 L_2B07FF1F: 20502 MEM32(edi) = edx; /* 0x2B07FF1F: mov dword ptr [edi], edx */ 20503 MEM32(edx + 0x8) = ecx; /* 0x2B07FF21: mov dword ptr [edx + 8], ecx */ 20504 goto L_2B07FFBE; /* 0x2B07FF24: jmp 0x2b07ffbe */ 20505 L_2B07FF29: 20506 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FF29: cmp byte ptr [edx + 0x18], 0 */ 20507 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 20508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20509 _flag_k = FK_NARROW(FK_CMP, 24); 20510 RECOMP_BACKEDGE(); 20511 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE71; /* 0x2B07FF2D: je 0x2b07fe71 */ 20512 L_2B07FF33: 20513 /* cmp eax, MEM32(ecx) */ /* 0x2B07FF33: cmp eax, dword ptr [ecx] */ 20514 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20516 _flag_k = FK_CMP; 20517 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF73; /* 0x2B07FF35: jne 0x2b07ff73 */ 20518 L_2B07FF37: 20519 eax = ecx; /* 0x2B07FF37: mov eax, ecx */ 20520 ecx = MEM32(eax); /* 0x2B07FF39: mov ecx, dword ptr [eax] */ 20521 edx = MEM32(ecx + 0x8); /* 0x2B07FF3B: mov edx, dword ptr [ecx + 8] */ 20522 MEM32(eax) = edx; /* 0x2B07FF3E: mov dword ptr [eax], edx */ 20523 edx = MEM32(ecx + 0x8); /* 0x2B07FF40: mov edx, dword ptr [ecx + 8] */ 20524 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FF43: cmp edx, dword ptr [esi + 8] */ 20525 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20527 _flag_k = FK_CMP; 20528 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF4B; /* 0x2B07FF46: je 0x2b07ff4b */ 20529 L_2B07FF48: 20530 MEM32(edx + 0x4) = eax; /* 0x2B07FF48: mov dword ptr [edx + 4], eax */ 20531 L_2B07FF4B: 20532 edx = MEM32(eax + 0x4); /* 0x2B07FF4B: mov edx, dword ptr [eax + 4] */ 20533 MEM32(ecx + 0x4) = edx; /* 0x2B07FF4E: mov dword ptr [ecx + 4], edx */ 20534 edx = MEM32(esi + 0x4); /* 0x2B07FF51: mov edx, dword ptr [esi + 4] */ 20535 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FF54: cmp eax, dword ptr [edx + 4] */ 20536 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20538 _flag_k = FK_CMP; 20539 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF5E; /* 0x2B07FF57: jne 0x2b07ff5e */ 20540 L_2B07FF59: 20541 MEM32(edx + 0x4) = ecx; /* 0x2B07FF59: mov dword ptr [edx + 4], ecx */ 20542 goto L_2B07FF6D; /* 0x2B07FF5C: jmp 0x2b07ff6d */ 20543 L_2B07FF5E: 20544 edx = MEM32(eax + 0x4); /* 0x2B07FF5E: mov edx, dword ptr [eax + 4] */ 20545 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B07FF61: cmp eax, dword ptr [edx + 8] */ 20546 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20548 _flag_k = FK_CMP; 20549 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF6B; /* 0x2B07FF64: jne 0x2b07ff6b */ 20550 L_2B07FF66: 20551 MEM32(edx + 0x8) = ecx; /* 0x2B07FF66: mov dword ptr [edx + 8], ecx */ 20552 goto L_2B07FF6D; /* 0x2B07FF69: jmp 0x2b07ff6d */ 20553 L_2B07FF6B: 20554 MEM32(edx) = ecx; /* 0x2B07FF6B: mov dword ptr [edx], ecx */ 20555 L_2B07FF6D: 20556 MEM32(ecx + 0x8) = eax; /* 0x2B07FF6D: mov dword ptr [ecx + 8], eax */ 20557 MEM32(eax + 0x4) = ecx; /* 0x2B07FF70: mov dword ptr [eax + 4], ecx */ 20558 L_2B07FF73: 20559 ecx = MEM32(eax + 0x4); /* 0x2B07FF73: mov ecx, dword ptr [eax + 4] */ 20560 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FF76: mov byte ptr [ecx + 0x18], bl */ 20561 edx = MEM32(eax + 0x4); /* 0x2B07FF79: mov edx, dword ptr [eax + 4] */ 20562 ecx = MEM32(edx + 0x4); /* 0x2B07FF7C: mov ecx, dword ptr [edx + 4] */ 20563 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FF7F: mov byte ptr [ecx + 0x18], 0 */ 20564 edx = MEM32(eax + 0x4); /* 0x2B07FF83: mov edx, dword ptr [eax + 4] */ 20565 ecx = MEM32(edx + 0x4); /* 0x2B07FF86: mov ecx, dword ptr [edx + 4] */ 20566 edx = MEM32(ecx + 0x8); /* 0x2B07FF89: mov edx, dword ptr [ecx + 8] */ 20567 edi = MEM32(edx); /* 0x2B07FF8C: mov edi, dword ptr [edx] */ 20568 MEM32(ecx + 0x8) = edi; /* 0x2B07FF8E: mov dword ptr [ecx + 8], edi */ 20569 edi = MEM32(edx); /* 0x2B07FF91: mov edi, dword ptr [edx] */ 20570 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FF93: cmp edi, dword ptr [esi + 8] */ 20571 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20573 _flag_k = FK_CMP; 20574 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF9B; /* 0x2B07FF96: je 0x2b07ff9b */ 20575 L_2B07FF98: 20576 MEM32(edi + 0x4) = ecx; /* 0x2B07FF98: mov dword ptr [edi + 4], ecx */ 20577 L_2B07FF9B: 20578 edi = MEM32(ecx + 0x4); /* 0x2B07FF9B: mov edi, dword ptr [ecx + 4] */ 20579 MEM32(edx + 0x4) = edi; /* 0x2B07FF9E: mov dword ptr [edx + 4], edi */ 20580 edi = MEM32(esi + 0x4); /* 0x2B07FFA1: mov edi, dword ptr [esi + 4] */ 20581 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FFA4: cmp ecx, dword ptr [edi + 4] */ 20582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20584 _flag_k = FK_CMP; 20585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFAE; /* 0x2B07FFA7: jne 0x2b07ffae */ 20586 L_2B07FFA9: 20587 MEM32(edi + 0x4) = edx; /* 0x2B07FFA9: mov dword ptr [edi + 4], edx */ 20588 goto L_2B07FFBC; /* 0x2B07FFAC: jmp 0x2b07ffbc */ 20589 L_2B07FFAE: 20590 edi = MEM32(ecx + 0x4); /* 0x2B07FFAE: mov edi, dword ptr [ecx + 4] */ 20591 /* cmp ecx, MEM32(edi) */ /* 0x2B07FFB1: cmp ecx, dword ptr [edi] */ 20592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20594 _flag_k = FK_CMP; 20595 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFB9; /* 0x2B07FFB3: jne 0x2b07ffb9 */ 20596 L_2B07FFB5: 20597 MEM32(edi) = edx; /* 0x2B07FFB5: mov dword ptr [edi], edx */ 20598 goto L_2B07FFBC; /* 0x2B07FFB7: jmp 0x2b07ffbc */ 20599 L_2B07FFB9: 20600 MEM32(edi + 0x8) = edx; /* 0x2B07FFB9: mov dword ptr [edi + 8], edx */ 20601 L_2B07FFBC: 20602 MEM32(edx) = ecx; /* 0x2B07FFBC: mov dword ptr [edx], ecx */ 20603 L_2B07FFBE: 20604 MEM32(ecx + 0x4) = edx; /* 0x2B07FFBE: mov dword ptr [ecx + 4], edx */ 20605 L_2B07FFC1: 20606 ecx = MEM32(esi + 0x4); /* 0x2B07FFC1: mov ecx, dword ptr [esi + 4] */ 20607 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FFC4: cmp eax, dword ptr [ecx + 4] */ 20608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20610 _flag_k = FK_CMP; 20611 RECOMP_BACKEDGE(); 20612 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE4D; /* 0x2B07FFC7: jne 0x2b07fe4d */ 20613 L_2B07FFCD: 20614 edx = MEM32(esi + 0x4); /* 0x2B07FFCD: mov edx, dword ptr [esi + 4] */ 20615 eax = MEM32(edx + 0x4); /* 0x2B07FFD0: mov eax, dword ptr [edx + 4] */ 20616 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FFD3: mov ecx, dword ptr [ebp - 4] */ 20617 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FFD6: mov byte ptr [eax + 0x18], bl */ 20618 eax = MEM32(ebp + 0x8); /* 0x2B07FFD9: mov eax, dword ptr [ebp + 8] */ 20619 edi = POP32_VAL(esp); /* 0x2B07FFDC: pop edi */ 20620 esi = POP32_VAL(esp); /* 0x2B07FFDD: pop esi */ 20621 MEM32(eax) = ecx; /* 0x2B07FFDE: mov dword ptr [eax], ecx */ 20622 ebx = POP32_VAL(esp); /* 0x2B07FFE0: pop ebx */ 20623 esp = ebp; /* 0x2B07FFE1: mov esp, ebp */ 20624 ebp = POP32_VAL(esp); /* 0x2B07FFE3: pop ebp */ 20625 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07FFE4: ret 0x10 */ 20626 RECOMP_REGS_OUT(); 20627 } 20628 20629 void sub_2B07FECB(void) { 20630 int _fpu_cmp = 0; 20631 uint32_t _cf = 0; 20632 int _df = 1; 20633 uint32_t _flag_k = FK_NONE; 20634 uint32_t _flag_a = 0, _flag_b = 0; 20635 uint32_t _itail_tgt = 0; 20636 RECOMP_REGS_LOCALS 20637 RECOMP_ENTER(0x2B07FECBu); 20638 20639 goto L_2B07FECB; 20640 L_2B07FE4D: 20641 ecx = MEM32(eax + 0x4); /* 0x2B07FE4D: mov ecx, dword ptr [eax + 4] */ 20642 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FE50: mov dl, byte ptr [ecx + 0x18] */ 20643 /* test LO8(edx), LO8(edx) */ /* 0x2B07FE53: test dl, dl */ 20644 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20645 _cf = 0; 20646 _flag_k = FK_NARROW(FK_TEST, 24); 20647 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE55: jne 0x2b07ffcd */ 20648 L_2B07FE5B: 20649 edi = MEM32(ecx + 0x4); /* 0x2B07FE5B: mov edi, dword ptr [ecx + 4] */ 20650 edx = MEM32(edi); /* 0x2B07FE5E: mov edx, dword ptr [edi] */ 20651 /* cmp ecx, edx */ /* 0x2B07FE60: cmp ecx, edx */ 20652 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20654 _flag_k = FK_CMP; 20655 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF29; /* 0x2B07FE62: jne 0x2b07ff29 */ 20656 L_2B07FE68: 20657 edx = MEM32(edi + 0x8); /* 0x2B07FE68: mov edx, dword ptr [edi + 8] */ 20658 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FE6B: cmp byte ptr [edx + 0x18], 0 */ 20659 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 20660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20661 _flag_k = FK_NARROW(FK_CMP, 24); 20662 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE8C; /* 0x2B07FE6F: jne 0x2b07fe8c */ 20663 L_2B07FE71: 20664 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE71: mov byte ptr [ecx + 0x18], bl */ 20665 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE74: mov byte ptr [edx + 0x18], bl */ 20666 ecx = MEM32(eax + 0x4); /* 0x2B07FE77: mov ecx, dword ptr [eax + 4] */ 20667 edx = MEM32(ecx + 0x4); /* 0x2B07FE7A: mov edx, dword ptr [ecx + 4] */ 20668 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07FE7D: mov byte ptr [edx + 0x18], 0 */ 20669 eax = MEM32(eax + 0x4); /* 0x2B07FE81: mov eax, dword ptr [eax + 4] */ 20670 eax = MEM32(eax + 0x4); /* 0x2B07FE84: mov eax, dword ptr [eax + 4] */ 20671 goto L_2B07FFC1; /* 0x2B07FE87: jmp 0x2b07ffc1 */ 20672 L_2B07FE8C: 20673 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B07FE8C: cmp eax, dword ptr [ecx + 8] */ 20674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20676 _flag_k = FK_CMP; 20677 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FECB; /* 0x2B07FE8F: jne 0x2b07fecb */ 20678 L_2B07FE91: 20679 eax = ecx; /* 0x2B07FE91: mov eax, ecx */ 20680 ecx = MEM32(eax + 0x8); /* 0x2B07FE93: mov ecx, dword ptr [eax + 8] */ 20681 edx = MEM32(ecx); /* 0x2B07FE96: mov edx, dword ptr [ecx] */ 20682 MEM32(eax + 0x8) = edx; /* 0x2B07FE98: mov dword ptr [eax + 8], edx */ 20683 edx = MEM32(ecx); /* 0x2B07FE9B: mov edx, dword ptr [ecx] */ 20684 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FE9D: cmp edx, dword ptr [esi + 8] */ 20685 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20687 _flag_k = FK_CMP; 20688 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEA5; /* 0x2B07FEA0: je 0x2b07fea5 */ 20689 L_2B07FEA2: 20690 MEM32(edx + 0x4) = eax; /* 0x2B07FEA2: mov dword ptr [edx + 4], eax */ 20691 L_2B07FEA5: 20692 edx = MEM32(eax + 0x4); /* 0x2B07FEA5: mov edx, dword ptr [eax + 4] */ 20693 MEM32(ecx + 0x4) = edx; /* 0x2B07FEA8: mov dword ptr [ecx + 4], edx */ 20694 edx = MEM32(esi + 0x4); /* 0x2B07FEAB: mov edx, dword ptr [esi + 4] */ 20695 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FEAE: cmp eax, dword ptr [edx + 4] */ 20696 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20698 _flag_k = FK_CMP; 20699 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEB8; /* 0x2B07FEB1: jne 0x2b07feb8 */ 20700 L_2B07FEB3: 20701 MEM32(edx + 0x4) = ecx; /* 0x2B07FEB3: mov dword ptr [edx + 4], ecx */ 20702 goto L_2B07FEC6; /* 0x2B07FEB6: jmp 0x2b07fec6 */ 20703 L_2B07FEB8: 20704 edx = MEM32(eax + 0x4); /* 0x2B07FEB8: mov edx, dword ptr [eax + 4] */ 20705 /* cmp eax, MEM32(edx) */ /* 0x2B07FEBB: cmp eax, dword ptr [edx] */ 20706 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20708 _flag_k = FK_CMP; 20709 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEC3; /* 0x2B07FEBD: jne 0x2b07fec3 */ 20710 L_2B07FEBF: 20711 MEM32(edx) = ecx; /* 0x2B07FEBF: mov dword ptr [edx], ecx */ 20712 goto L_2B07FEC6; /* 0x2B07FEC1: jmp 0x2b07fec6 */ 20713 L_2B07FEC3: 20714 MEM32(edx + 0x8) = ecx; /* 0x2B07FEC3: mov dword ptr [edx + 8], ecx */ 20715 L_2B07FEC6: 20716 MEM32(ecx) = eax; /* 0x2B07FEC6: mov dword ptr [ecx], eax */ 20717 MEM32(eax + 0x4) = ecx; /* 0x2B07FEC8: mov dword ptr [eax + 4], ecx */ 20718 L_2B07FECB: 20719 ecx = MEM32(eax + 0x4); /* 0x2B07FECB: mov ecx, dword ptr [eax + 4] */ 20720 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FECE: mov byte ptr [ecx + 0x18], bl */ 20721 edx = MEM32(eax + 0x4); /* 0x2B07FED1: mov edx, dword ptr [eax + 4] */ 20722 ecx = MEM32(edx + 0x4); /* 0x2B07FED4: mov ecx, dword ptr [edx + 4] */ 20723 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FED7: mov byte ptr [ecx + 0x18], 0 */ 20724 edx = MEM32(eax + 0x4); /* 0x2B07FEDB: mov edx, dword ptr [eax + 4] */ 20725 ecx = MEM32(edx + 0x4); /* 0x2B07FEDE: mov ecx, dword ptr [edx + 4] */ 20726 edx = MEM32(ecx); /* 0x2B07FEE1: mov edx, dword ptr [ecx] */ 20727 edi = MEM32(edx + 0x8); /* 0x2B07FEE3: mov edi, dword ptr [edx + 8] */ 20728 MEM32(ecx) = edi; /* 0x2B07FEE6: mov dword ptr [ecx], edi */ 20729 edi = MEM32(edx + 0x8); /* 0x2B07FEE8: mov edi, dword ptr [edx + 8] */ 20730 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FEEB: cmp edi, dword ptr [esi + 8] */ 20731 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20733 _flag_k = FK_CMP; 20734 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEF3; /* 0x2B07FEEE: je 0x2b07fef3 */ 20735 L_2B07FEF0: 20736 MEM32(edi + 0x4) = ecx; /* 0x2B07FEF0: mov dword ptr [edi + 4], ecx */ 20737 L_2B07FEF3: 20738 edi = MEM32(ecx + 0x4); /* 0x2B07FEF3: mov edi, dword ptr [ecx + 4] */ 20739 MEM32(edx + 0x4) = edi; /* 0x2B07FEF6: mov dword ptr [edx + 4], edi */ 20740 edi = MEM32(esi + 0x4); /* 0x2B07FEF9: mov edi, dword ptr [esi + 4] */ 20741 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FEFC: cmp ecx, dword ptr [edi + 4] */ 20742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20744 _flag_k = FK_CMP; 20745 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF0C; /* 0x2B07FEFF: jne 0x2b07ff0c */ 20746 L_2B07FF01: 20747 MEM32(edi + 0x4) = edx; /* 0x2B07FF01: mov dword ptr [edi + 4], edx */ 20748 MEM32(edx + 0x8) = ecx; /* 0x2B07FF04: mov dword ptr [edx + 8], ecx */ 20749 goto L_2B07FFBE; /* 0x2B07FF07: jmp 0x2b07ffbe */ 20750 L_2B07FF0C: 20751 edi = MEM32(ecx + 0x4); /* 0x2B07FF0C: mov edi, dword ptr [ecx + 4] */ 20752 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07FF0F: cmp ecx, dword ptr [edi + 8] */ 20753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20755 _flag_k = FK_CMP; 20756 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF1F; /* 0x2B07FF12: jne 0x2b07ff1f */ 20757 L_2B07FF14: 20758 MEM32(edi + 0x8) = edx; /* 0x2B07FF14: mov dword ptr [edi + 8], edx */ 20759 MEM32(edx + 0x8) = ecx; /* 0x2B07FF17: mov dword ptr [edx + 8], ecx */ 20760 goto L_2B07FFBE; /* 0x2B07FF1A: jmp 0x2b07ffbe */ 20761 L_2B07FF1F: 20762 MEM32(edi) = edx; /* 0x2B07FF1F: mov dword ptr [edi], edx */ 20763 MEM32(edx + 0x8) = ecx; /* 0x2B07FF21: mov dword ptr [edx + 8], ecx */ 20764 goto L_2B07FFBE; /* 0x2B07FF24: jmp 0x2b07ffbe */ 20765 L_2B07FF29: 20766 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FF29: cmp byte ptr [edx + 0x18], 0 */ 20767 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 20768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20769 _flag_k = FK_NARROW(FK_CMP, 24); 20770 RECOMP_BACKEDGE(); 20771 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE71; /* 0x2B07FF2D: je 0x2b07fe71 */ 20772 L_2B07FF33: 20773 /* cmp eax, MEM32(ecx) */ /* 0x2B07FF33: cmp eax, dword ptr [ecx] */ 20774 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20776 _flag_k = FK_CMP; 20777 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF73; /* 0x2B07FF35: jne 0x2b07ff73 */ 20778 L_2B07FF37: 20779 eax = ecx; /* 0x2B07FF37: mov eax, ecx */ 20780 ecx = MEM32(eax); /* 0x2B07FF39: mov ecx, dword ptr [eax] */ 20781 edx = MEM32(ecx + 0x8); /* 0x2B07FF3B: mov edx, dword ptr [ecx + 8] */ 20782 MEM32(eax) = edx; /* 0x2B07FF3E: mov dword ptr [eax], edx */ 20783 edx = MEM32(ecx + 0x8); /* 0x2B07FF40: mov edx, dword ptr [ecx + 8] */ 20784 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FF43: cmp edx, dword ptr [esi + 8] */ 20785 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20787 _flag_k = FK_CMP; 20788 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF4B; /* 0x2B07FF46: je 0x2b07ff4b */ 20789 L_2B07FF48: 20790 MEM32(edx + 0x4) = eax; /* 0x2B07FF48: mov dword ptr [edx + 4], eax */ 20791 L_2B07FF4B: 20792 edx = MEM32(eax + 0x4); /* 0x2B07FF4B: mov edx, dword ptr [eax + 4] */ 20793 MEM32(ecx + 0x4) = edx; /* 0x2B07FF4E: mov dword ptr [ecx + 4], edx */ 20794 edx = MEM32(esi + 0x4); /* 0x2B07FF51: mov edx, dword ptr [esi + 4] */ 20795 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FF54: cmp eax, dword ptr [edx + 4] */ 20796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20798 _flag_k = FK_CMP; 20799 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF5E; /* 0x2B07FF57: jne 0x2b07ff5e */ 20800 L_2B07FF59: 20801 MEM32(edx + 0x4) = ecx; /* 0x2B07FF59: mov dword ptr [edx + 4], ecx */ 20802 goto L_2B07FF6D; /* 0x2B07FF5C: jmp 0x2b07ff6d */ 20803 L_2B07FF5E: 20804 edx = MEM32(eax + 0x4); /* 0x2B07FF5E: mov edx, dword ptr [eax + 4] */ 20805 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B07FF61: cmp eax, dword ptr [edx + 8] */ 20806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20808 _flag_k = FK_CMP; 20809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF6B; /* 0x2B07FF64: jne 0x2b07ff6b */ 20810 L_2B07FF66: 20811 MEM32(edx + 0x8) = ecx; /* 0x2B07FF66: mov dword ptr [edx + 8], ecx */ 20812 goto L_2B07FF6D; /* 0x2B07FF69: jmp 0x2b07ff6d */ 20813 L_2B07FF6B: 20814 MEM32(edx) = ecx; /* 0x2B07FF6B: mov dword ptr [edx], ecx */ 20815 L_2B07FF6D: 20816 MEM32(ecx + 0x8) = eax; /* 0x2B07FF6D: mov dword ptr [ecx + 8], eax */ 20817 MEM32(eax + 0x4) = ecx; /* 0x2B07FF70: mov dword ptr [eax + 4], ecx */ 20818 L_2B07FF73: 20819 ecx = MEM32(eax + 0x4); /* 0x2B07FF73: mov ecx, dword ptr [eax + 4] */ 20820 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FF76: mov byte ptr [ecx + 0x18], bl */ 20821 edx = MEM32(eax + 0x4); /* 0x2B07FF79: mov edx, dword ptr [eax + 4] */ 20822 ecx = MEM32(edx + 0x4); /* 0x2B07FF7C: mov ecx, dword ptr [edx + 4] */ 20823 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FF7F: mov byte ptr [ecx + 0x18], 0 */ 20824 edx = MEM32(eax + 0x4); /* 0x2B07FF83: mov edx, dword ptr [eax + 4] */ 20825 ecx = MEM32(edx + 0x4); /* 0x2B07FF86: mov ecx, dword ptr [edx + 4] */ 20826 edx = MEM32(ecx + 0x8); /* 0x2B07FF89: mov edx, dword ptr [ecx + 8] */ 20827 edi = MEM32(edx); /* 0x2B07FF8C: mov edi, dword ptr [edx] */ 20828 MEM32(ecx + 0x8) = edi; /* 0x2B07FF8E: mov dword ptr [ecx + 8], edi */ 20829 edi = MEM32(edx); /* 0x2B07FF91: mov edi, dword ptr [edx] */ 20830 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FF93: cmp edi, dword ptr [esi + 8] */ 20831 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20833 _flag_k = FK_CMP; 20834 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF9B; /* 0x2B07FF96: je 0x2b07ff9b */ 20835 L_2B07FF98: 20836 MEM32(edi + 0x4) = ecx; /* 0x2B07FF98: mov dword ptr [edi + 4], ecx */ 20837 L_2B07FF9B: 20838 edi = MEM32(ecx + 0x4); /* 0x2B07FF9B: mov edi, dword ptr [ecx + 4] */ 20839 MEM32(edx + 0x4) = edi; /* 0x2B07FF9E: mov dword ptr [edx + 4], edi */ 20840 edi = MEM32(esi + 0x4); /* 0x2B07FFA1: mov edi, dword ptr [esi + 4] */ 20841 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FFA4: cmp ecx, dword ptr [edi + 4] */ 20842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20844 _flag_k = FK_CMP; 20845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFAE; /* 0x2B07FFA7: jne 0x2b07ffae */ 20846 L_2B07FFA9: 20847 MEM32(edi + 0x4) = edx; /* 0x2B07FFA9: mov dword ptr [edi + 4], edx */ 20848 goto L_2B07FFBC; /* 0x2B07FFAC: jmp 0x2b07ffbc */ 20849 L_2B07FFAE: 20850 edi = MEM32(ecx + 0x4); /* 0x2B07FFAE: mov edi, dword ptr [ecx + 4] */ 20851 /* cmp ecx, MEM32(edi) */ /* 0x2B07FFB1: cmp ecx, dword ptr [edi] */ 20852 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20854 _flag_k = FK_CMP; 20855 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFB9; /* 0x2B07FFB3: jne 0x2b07ffb9 */ 20856 L_2B07FFB5: 20857 MEM32(edi) = edx; /* 0x2B07FFB5: mov dword ptr [edi], edx */ 20858 goto L_2B07FFBC; /* 0x2B07FFB7: jmp 0x2b07ffbc */ 20859 L_2B07FFB9: 20860 MEM32(edi + 0x8) = edx; /* 0x2B07FFB9: mov dword ptr [edi + 8], edx */ 20861 L_2B07FFBC: 20862 MEM32(edx) = ecx; /* 0x2B07FFBC: mov dword ptr [edx], ecx */ 20863 L_2B07FFBE: 20864 MEM32(ecx + 0x4) = edx; /* 0x2B07FFBE: mov dword ptr [ecx + 4], edx */ 20865 L_2B07FFC1: 20866 ecx = MEM32(esi + 0x4); /* 0x2B07FFC1: mov ecx, dword ptr [esi + 4] */ 20867 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FFC4: cmp eax, dword ptr [ecx + 4] */ 20868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20870 _flag_k = FK_CMP; 20871 RECOMP_BACKEDGE(); 20872 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE4D; /* 0x2B07FFC7: jne 0x2b07fe4d */ 20873 L_2B07FFCD: 20874 edx = MEM32(esi + 0x4); /* 0x2B07FFCD: mov edx, dword ptr [esi + 4] */ 20875 eax = MEM32(edx + 0x4); /* 0x2B07FFD0: mov eax, dword ptr [edx + 4] */ 20876 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FFD3: mov ecx, dword ptr [ebp - 4] */ 20877 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FFD6: mov byte ptr [eax + 0x18], bl */ 20878 eax = MEM32(ebp + 0x8); /* 0x2B07FFD9: mov eax, dword ptr [ebp + 8] */ 20879 edi = POP32_VAL(esp); /* 0x2B07FFDC: pop edi */ 20880 esi = POP32_VAL(esp); /* 0x2B07FFDD: pop esi */ 20881 MEM32(eax) = ecx; /* 0x2B07FFDE: mov dword ptr [eax], ecx */ 20882 ebx = POP32_VAL(esp); /* 0x2B07FFE0: pop ebx */ 20883 esp = ebp; /* 0x2B07FFE1: mov esp, ebp */ 20884 ebp = POP32_VAL(esp); /* 0x2B07FFE3: pop ebp */ 20885 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07FFE4: ret 0x10 */ 20886 RECOMP_REGS_OUT(); 20887 } 20888 20889 void sub_2B07FF29(void) { 20890 int _fpu_cmp = 0; 20891 uint32_t _cf = 0; 20892 int _df = 1; 20893 uint32_t _flag_k = FK_NONE; 20894 uint32_t _flag_a = 0, _flag_b = 0; 20895 uint32_t _itail_tgt = 0; 20896 RECOMP_REGS_LOCALS 20897 RECOMP_ENTER(0x2B07FF29u); 20898 20899 goto L_2B07FF29; 20900 L_2B07FE4D: 20901 ecx = MEM32(eax + 0x4); /* 0x2B07FE4D: mov ecx, dword ptr [eax + 4] */ 20902 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FE50: mov dl, byte ptr [ecx + 0x18] */ 20903 /* test LO8(edx), LO8(edx) */ /* 0x2B07FE53: test dl, dl */ 20904 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20905 _cf = 0; 20906 _flag_k = FK_NARROW(FK_TEST, 24); 20907 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE55: jne 0x2b07ffcd */ 20908 L_2B07FE5B: 20909 edi = MEM32(ecx + 0x4); /* 0x2B07FE5B: mov edi, dword ptr [ecx + 4] */ 20910 edx = MEM32(edi); /* 0x2B07FE5E: mov edx, dword ptr [edi] */ 20911 /* cmp ecx, edx */ /* 0x2B07FE60: cmp ecx, edx */ 20912 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20914 _flag_k = FK_CMP; 20915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF29; /* 0x2B07FE62: jne 0x2b07ff29 */ 20916 L_2B07FE68: 20917 edx = MEM32(edi + 0x8); /* 0x2B07FE68: mov edx, dword ptr [edi + 8] */ 20918 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FE6B: cmp byte ptr [edx + 0x18], 0 */ 20919 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 20920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20921 _flag_k = FK_NARROW(FK_CMP, 24); 20922 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE8C; /* 0x2B07FE6F: jne 0x2b07fe8c */ 20923 L_2B07FE71: 20924 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE71: mov byte ptr [ecx + 0x18], bl */ 20925 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE74: mov byte ptr [edx + 0x18], bl */ 20926 ecx = MEM32(eax + 0x4); /* 0x2B07FE77: mov ecx, dword ptr [eax + 4] */ 20927 edx = MEM32(ecx + 0x4); /* 0x2B07FE7A: mov edx, dword ptr [ecx + 4] */ 20928 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07FE7D: mov byte ptr [edx + 0x18], 0 */ 20929 eax = MEM32(eax + 0x4); /* 0x2B07FE81: mov eax, dword ptr [eax + 4] */ 20930 eax = MEM32(eax + 0x4); /* 0x2B07FE84: mov eax, dword ptr [eax + 4] */ 20931 goto L_2B07FFC1; /* 0x2B07FE87: jmp 0x2b07ffc1 */ 20932 L_2B07FE8C: 20933 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B07FE8C: cmp eax, dword ptr [ecx + 8] */ 20934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20936 _flag_k = FK_CMP; 20937 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FECB; /* 0x2B07FE8F: jne 0x2b07fecb */ 20938 L_2B07FE91: 20939 eax = ecx; /* 0x2B07FE91: mov eax, ecx */ 20940 ecx = MEM32(eax + 0x8); /* 0x2B07FE93: mov ecx, dword ptr [eax + 8] */ 20941 edx = MEM32(ecx); /* 0x2B07FE96: mov edx, dword ptr [ecx] */ 20942 MEM32(eax + 0x8) = edx; /* 0x2B07FE98: mov dword ptr [eax + 8], edx */ 20943 edx = MEM32(ecx); /* 0x2B07FE9B: mov edx, dword ptr [ecx] */ 20944 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FE9D: cmp edx, dword ptr [esi + 8] */ 20945 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20947 _flag_k = FK_CMP; 20948 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEA5; /* 0x2B07FEA0: je 0x2b07fea5 */ 20949 L_2B07FEA2: 20950 MEM32(edx + 0x4) = eax; /* 0x2B07FEA2: mov dword ptr [edx + 4], eax */ 20951 L_2B07FEA5: 20952 edx = MEM32(eax + 0x4); /* 0x2B07FEA5: mov edx, dword ptr [eax + 4] */ 20953 MEM32(ecx + 0x4) = edx; /* 0x2B07FEA8: mov dword ptr [ecx + 4], edx */ 20954 edx = MEM32(esi + 0x4); /* 0x2B07FEAB: mov edx, dword ptr [esi + 4] */ 20955 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FEAE: cmp eax, dword ptr [edx + 4] */ 20956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20958 _flag_k = FK_CMP; 20959 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEB8; /* 0x2B07FEB1: jne 0x2b07feb8 */ 20960 L_2B07FEB3: 20961 MEM32(edx + 0x4) = ecx; /* 0x2B07FEB3: mov dword ptr [edx + 4], ecx */ 20962 goto L_2B07FEC6; /* 0x2B07FEB6: jmp 0x2b07fec6 */ 20963 L_2B07FEB8: 20964 edx = MEM32(eax + 0x4); /* 0x2B07FEB8: mov edx, dword ptr [eax + 4] */ 20965 /* cmp eax, MEM32(edx) */ /* 0x2B07FEBB: cmp eax, dword ptr [edx] */ 20966 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20968 _flag_k = FK_CMP; 20969 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEC3; /* 0x2B07FEBD: jne 0x2b07fec3 */ 20970 L_2B07FEBF: 20971 MEM32(edx) = ecx; /* 0x2B07FEBF: mov dword ptr [edx], ecx */ 20972 goto L_2B07FEC6; /* 0x2B07FEC1: jmp 0x2b07fec6 */ 20973 L_2B07FEC3: 20974 MEM32(edx + 0x8) = ecx; /* 0x2B07FEC3: mov dword ptr [edx + 8], ecx */ 20975 L_2B07FEC6: 20976 MEM32(ecx) = eax; /* 0x2B07FEC6: mov dword ptr [ecx], eax */ 20977 MEM32(eax + 0x4) = ecx; /* 0x2B07FEC8: mov dword ptr [eax + 4], ecx */ 20978 L_2B07FECB: 20979 ecx = MEM32(eax + 0x4); /* 0x2B07FECB: mov ecx, dword ptr [eax + 4] */ 20980 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FECE: mov byte ptr [ecx + 0x18], bl */ 20981 edx = MEM32(eax + 0x4); /* 0x2B07FED1: mov edx, dword ptr [eax + 4] */ 20982 ecx = MEM32(edx + 0x4); /* 0x2B07FED4: mov ecx, dword ptr [edx + 4] */ 20983 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FED7: mov byte ptr [ecx + 0x18], 0 */ 20984 edx = MEM32(eax + 0x4); /* 0x2B07FEDB: mov edx, dword ptr [eax + 4] */ 20985 ecx = MEM32(edx + 0x4); /* 0x2B07FEDE: mov ecx, dword ptr [edx + 4] */ 20986 edx = MEM32(ecx); /* 0x2B07FEE1: mov edx, dword ptr [ecx] */ 20987 edi = MEM32(edx + 0x8); /* 0x2B07FEE3: mov edi, dword ptr [edx + 8] */ 20988 MEM32(ecx) = edi; /* 0x2B07FEE6: mov dword ptr [ecx], edi */ 20989 edi = MEM32(edx + 0x8); /* 0x2B07FEE8: mov edi, dword ptr [edx + 8] */ 20990 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FEEB: cmp edi, dword ptr [esi + 8] */ 20991 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20993 _flag_k = FK_CMP; 20994 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEF3; /* 0x2B07FEEE: je 0x2b07fef3 */ 20995 L_2B07FEF0: 20996 MEM32(edi + 0x4) = ecx; /* 0x2B07FEF0: mov dword ptr [edi + 4], ecx */ 20997 L_2B07FEF3: 20998 edi = MEM32(ecx + 0x4); /* 0x2B07FEF3: mov edi, dword ptr [ecx + 4] */ 20999 MEM32(edx + 0x4) = edi; /* 0x2B07FEF6: mov dword ptr [edx + 4], edi */ 21000 edi = MEM32(esi + 0x4); /* 0x2B07FEF9: mov edi, dword ptr [esi + 4] */ 21001 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FEFC: cmp ecx, dword ptr [edi + 4] */ 21002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21004 _flag_k = FK_CMP; 21005 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF0C; /* 0x2B07FEFF: jne 0x2b07ff0c */ 21006 L_2B07FF01: 21007 MEM32(edi + 0x4) = edx; /* 0x2B07FF01: mov dword ptr [edi + 4], edx */ 21008 MEM32(edx + 0x8) = ecx; /* 0x2B07FF04: mov dword ptr [edx + 8], ecx */ 21009 goto L_2B07FFBE; /* 0x2B07FF07: jmp 0x2b07ffbe */ 21010 L_2B07FF0C: 21011 edi = MEM32(ecx + 0x4); /* 0x2B07FF0C: mov edi, dword ptr [ecx + 4] */ 21012 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07FF0F: cmp ecx, dword ptr [edi + 8] */ 21013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21015 _flag_k = FK_CMP; 21016 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF1F; /* 0x2B07FF12: jne 0x2b07ff1f */ 21017 L_2B07FF14: 21018 MEM32(edi + 0x8) = edx; /* 0x2B07FF14: mov dword ptr [edi + 8], edx */ 21019 MEM32(edx + 0x8) = ecx; /* 0x2B07FF17: mov dword ptr [edx + 8], ecx */ 21020 goto L_2B07FFBE; /* 0x2B07FF1A: jmp 0x2b07ffbe */ 21021 L_2B07FF1F: 21022 MEM32(edi) = edx; /* 0x2B07FF1F: mov dword ptr [edi], edx */ 21023 MEM32(edx + 0x8) = ecx; /* 0x2B07FF21: mov dword ptr [edx + 8], ecx */ 21024 goto L_2B07FFBE; /* 0x2B07FF24: jmp 0x2b07ffbe */ 21025 L_2B07FF29: 21026 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FF29: cmp byte ptr [edx + 0x18], 0 */ 21027 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 21028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21029 _flag_k = FK_NARROW(FK_CMP, 24); 21030 RECOMP_BACKEDGE(); 21031 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE71; /* 0x2B07FF2D: je 0x2b07fe71 */ 21032 L_2B07FF33: 21033 /* cmp eax, MEM32(ecx) */ /* 0x2B07FF33: cmp eax, dword ptr [ecx] */ 21034 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21036 _flag_k = FK_CMP; 21037 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF73; /* 0x2B07FF35: jne 0x2b07ff73 */ 21038 L_2B07FF37: 21039 eax = ecx; /* 0x2B07FF37: mov eax, ecx */ 21040 ecx = MEM32(eax); /* 0x2B07FF39: mov ecx, dword ptr [eax] */ 21041 edx = MEM32(ecx + 0x8); /* 0x2B07FF3B: mov edx, dword ptr [ecx + 8] */ 21042 MEM32(eax) = edx; /* 0x2B07FF3E: mov dword ptr [eax], edx */ 21043 edx = MEM32(ecx + 0x8); /* 0x2B07FF40: mov edx, dword ptr [ecx + 8] */ 21044 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FF43: cmp edx, dword ptr [esi + 8] */ 21045 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21047 _flag_k = FK_CMP; 21048 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF4B; /* 0x2B07FF46: je 0x2b07ff4b */ 21049 L_2B07FF48: 21050 MEM32(edx + 0x4) = eax; /* 0x2B07FF48: mov dword ptr [edx + 4], eax */ 21051 L_2B07FF4B: 21052 edx = MEM32(eax + 0x4); /* 0x2B07FF4B: mov edx, dword ptr [eax + 4] */ 21053 MEM32(ecx + 0x4) = edx; /* 0x2B07FF4E: mov dword ptr [ecx + 4], edx */ 21054 edx = MEM32(esi + 0x4); /* 0x2B07FF51: mov edx, dword ptr [esi + 4] */ 21055 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FF54: cmp eax, dword ptr [edx + 4] */ 21056 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21058 _flag_k = FK_CMP; 21059 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF5E; /* 0x2B07FF57: jne 0x2b07ff5e */ 21060 L_2B07FF59: 21061 MEM32(edx + 0x4) = ecx; /* 0x2B07FF59: mov dword ptr [edx + 4], ecx */ 21062 goto L_2B07FF6D; /* 0x2B07FF5C: jmp 0x2b07ff6d */ 21063 L_2B07FF5E: 21064 edx = MEM32(eax + 0x4); /* 0x2B07FF5E: mov edx, dword ptr [eax + 4] */ 21065 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B07FF61: cmp eax, dword ptr [edx + 8] */ 21066 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21068 _flag_k = FK_CMP; 21069 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF6B; /* 0x2B07FF64: jne 0x2b07ff6b */ 21070 L_2B07FF66: 21071 MEM32(edx + 0x8) = ecx; /* 0x2B07FF66: mov dword ptr [edx + 8], ecx */ 21072 goto L_2B07FF6D; /* 0x2B07FF69: jmp 0x2b07ff6d */ 21073 L_2B07FF6B: 21074 MEM32(edx) = ecx; /* 0x2B07FF6B: mov dword ptr [edx], ecx */ 21075 L_2B07FF6D: 21076 MEM32(ecx + 0x8) = eax; /* 0x2B07FF6D: mov dword ptr [ecx + 8], eax */ 21077 MEM32(eax + 0x4) = ecx; /* 0x2B07FF70: mov dword ptr [eax + 4], ecx */ 21078 L_2B07FF73: 21079 ecx = MEM32(eax + 0x4); /* 0x2B07FF73: mov ecx, dword ptr [eax + 4] */ 21080 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FF76: mov byte ptr [ecx + 0x18], bl */ 21081 edx = MEM32(eax + 0x4); /* 0x2B07FF79: mov edx, dword ptr [eax + 4] */ 21082 ecx = MEM32(edx + 0x4); /* 0x2B07FF7C: mov ecx, dword ptr [edx + 4] */ 21083 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FF7F: mov byte ptr [ecx + 0x18], 0 */ 21084 edx = MEM32(eax + 0x4); /* 0x2B07FF83: mov edx, dword ptr [eax + 4] */ 21085 ecx = MEM32(edx + 0x4); /* 0x2B07FF86: mov ecx, dword ptr [edx + 4] */ 21086 edx = MEM32(ecx + 0x8); /* 0x2B07FF89: mov edx, dword ptr [ecx + 8] */ 21087 edi = MEM32(edx); /* 0x2B07FF8C: mov edi, dword ptr [edx] */ 21088 MEM32(ecx + 0x8) = edi; /* 0x2B07FF8E: mov dword ptr [ecx + 8], edi */ 21089 edi = MEM32(edx); /* 0x2B07FF91: mov edi, dword ptr [edx] */ 21090 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FF93: cmp edi, dword ptr [esi + 8] */ 21091 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21093 _flag_k = FK_CMP; 21094 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF9B; /* 0x2B07FF96: je 0x2b07ff9b */ 21095 L_2B07FF98: 21096 MEM32(edi + 0x4) = ecx; /* 0x2B07FF98: mov dword ptr [edi + 4], ecx */ 21097 L_2B07FF9B: 21098 edi = MEM32(ecx + 0x4); /* 0x2B07FF9B: mov edi, dword ptr [ecx + 4] */ 21099 MEM32(edx + 0x4) = edi; /* 0x2B07FF9E: mov dword ptr [edx + 4], edi */ 21100 edi = MEM32(esi + 0x4); /* 0x2B07FFA1: mov edi, dword ptr [esi + 4] */ 21101 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FFA4: cmp ecx, dword ptr [edi + 4] */ 21102 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21104 _flag_k = FK_CMP; 21105 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFAE; /* 0x2B07FFA7: jne 0x2b07ffae */ 21106 L_2B07FFA9: 21107 MEM32(edi + 0x4) = edx; /* 0x2B07FFA9: mov dword ptr [edi + 4], edx */ 21108 goto L_2B07FFBC; /* 0x2B07FFAC: jmp 0x2b07ffbc */ 21109 L_2B07FFAE: 21110 edi = MEM32(ecx + 0x4); /* 0x2B07FFAE: mov edi, dword ptr [ecx + 4] */ 21111 /* cmp ecx, MEM32(edi) */ /* 0x2B07FFB1: cmp ecx, dword ptr [edi] */ 21112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21114 _flag_k = FK_CMP; 21115 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFB9; /* 0x2B07FFB3: jne 0x2b07ffb9 */ 21116 L_2B07FFB5: 21117 MEM32(edi) = edx; /* 0x2B07FFB5: mov dword ptr [edi], edx */ 21118 goto L_2B07FFBC; /* 0x2B07FFB7: jmp 0x2b07ffbc */ 21119 L_2B07FFB9: 21120 MEM32(edi + 0x8) = edx; /* 0x2B07FFB9: mov dword ptr [edi + 8], edx */ 21121 L_2B07FFBC: 21122 MEM32(edx) = ecx; /* 0x2B07FFBC: mov dword ptr [edx], ecx */ 21123 L_2B07FFBE: 21124 MEM32(ecx + 0x4) = edx; /* 0x2B07FFBE: mov dword ptr [ecx + 4], edx */ 21125 L_2B07FFC1: 21126 ecx = MEM32(esi + 0x4); /* 0x2B07FFC1: mov ecx, dword ptr [esi + 4] */ 21127 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FFC4: cmp eax, dword ptr [ecx + 4] */ 21128 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21130 _flag_k = FK_CMP; 21131 RECOMP_BACKEDGE(); 21132 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE4D; /* 0x2B07FFC7: jne 0x2b07fe4d */ 21133 L_2B07FFCD: 21134 edx = MEM32(esi + 0x4); /* 0x2B07FFCD: mov edx, dword ptr [esi + 4] */ 21135 eax = MEM32(edx + 0x4); /* 0x2B07FFD0: mov eax, dword ptr [edx + 4] */ 21136 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FFD3: mov ecx, dword ptr [ebp - 4] */ 21137 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FFD6: mov byte ptr [eax + 0x18], bl */ 21138 eax = MEM32(ebp + 0x8); /* 0x2B07FFD9: mov eax, dword ptr [ebp + 8] */ 21139 edi = POP32_VAL(esp); /* 0x2B07FFDC: pop edi */ 21140 esi = POP32_VAL(esp); /* 0x2B07FFDD: pop esi */ 21141 MEM32(eax) = ecx; /* 0x2B07FFDE: mov dword ptr [eax], ecx */ 21142 ebx = POP32_VAL(esp); /* 0x2B07FFE0: pop ebx */ 21143 esp = ebp; /* 0x2B07FFE1: mov esp, ebp */ 21144 ebp = POP32_VAL(esp); /* 0x2B07FFE3: pop ebp */ 21145 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07FFE4: ret 0x10 */ 21146 RECOMP_REGS_OUT(); 21147 } 21148 21149 void sub_2B07FF6D(void) { 21150 int _fpu_cmp = 0; 21151 uint32_t _cf = 0; 21152 int _df = 1; 21153 uint32_t _flag_k = FK_NONE; 21154 uint32_t _flag_a = 0, _flag_b = 0; 21155 uint32_t _itail_tgt = 0; 21156 RECOMP_REGS_LOCALS 21157 RECOMP_ENTER(0x2B07FF6Du); 21158 21159 goto L_2B07FF6D; 21160 L_2B07FE4D: 21161 ecx = MEM32(eax + 0x4); /* 0x2B07FE4D: mov ecx, dword ptr [eax + 4] */ 21162 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x2B07FE50: mov dl, byte ptr [ecx + 0x18] */ 21163 /* test LO8(edx), LO8(edx) */ /* 0x2B07FE53: test dl, dl */ 21164 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21165 _cf = 0; 21166 _flag_k = FK_NARROW(FK_TEST, 24); 21167 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B07FFCD; /* 0x2B07FE55: jne 0x2b07ffcd */ 21168 L_2B07FE5B: 21169 edi = MEM32(ecx + 0x4); /* 0x2B07FE5B: mov edi, dword ptr [ecx + 4] */ 21170 edx = MEM32(edi); /* 0x2B07FE5E: mov edx, dword ptr [edi] */ 21171 /* cmp ecx, edx */ /* 0x2B07FE60: cmp ecx, edx */ 21172 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21174 _flag_k = FK_CMP; 21175 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF29; /* 0x2B07FE62: jne 0x2b07ff29 */ 21176 L_2B07FE68: 21177 edx = MEM32(edi + 0x8); /* 0x2B07FE68: mov edx, dword ptr [edi + 8] */ 21178 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FE6B: cmp byte ptr [edx + 0x18], 0 */ 21179 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 21180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21181 _flag_k = FK_NARROW(FK_CMP, 24); 21182 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE8C; /* 0x2B07FE6F: jne 0x2b07fe8c */ 21183 L_2B07FE71: 21184 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE71: mov byte ptr [ecx + 0x18], bl */ 21185 MEM8(edx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FE74: mov byte ptr [edx + 0x18], bl */ 21186 ecx = MEM32(eax + 0x4); /* 0x2B07FE77: mov ecx, dword ptr [eax + 4] */ 21187 edx = MEM32(ecx + 0x4); /* 0x2B07FE7A: mov edx, dword ptr [ecx + 4] */ 21188 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x2B07FE7D: mov byte ptr [edx + 0x18], 0 */ 21189 eax = MEM32(eax + 0x4); /* 0x2B07FE81: mov eax, dword ptr [eax + 4] */ 21190 eax = MEM32(eax + 0x4); /* 0x2B07FE84: mov eax, dword ptr [eax + 4] */ 21191 goto L_2B07FFC1; /* 0x2B07FE87: jmp 0x2b07ffc1 */ 21192 L_2B07FE8C: 21193 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B07FE8C: cmp eax, dword ptr [ecx + 8] */ 21194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21196 _flag_k = FK_CMP; 21197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FECB; /* 0x2B07FE8F: jne 0x2b07fecb */ 21198 L_2B07FE91: 21199 eax = ecx; /* 0x2B07FE91: mov eax, ecx */ 21200 ecx = MEM32(eax + 0x8); /* 0x2B07FE93: mov ecx, dword ptr [eax + 8] */ 21201 edx = MEM32(ecx); /* 0x2B07FE96: mov edx, dword ptr [ecx] */ 21202 MEM32(eax + 0x8) = edx; /* 0x2B07FE98: mov dword ptr [eax + 8], edx */ 21203 edx = MEM32(ecx); /* 0x2B07FE9B: mov edx, dword ptr [ecx] */ 21204 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FE9D: cmp edx, dword ptr [esi + 8] */ 21205 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21207 _flag_k = FK_CMP; 21208 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEA5; /* 0x2B07FEA0: je 0x2b07fea5 */ 21209 L_2B07FEA2: 21210 MEM32(edx + 0x4) = eax; /* 0x2B07FEA2: mov dword ptr [edx + 4], eax */ 21211 L_2B07FEA5: 21212 edx = MEM32(eax + 0x4); /* 0x2B07FEA5: mov edx, dword ptr [eax + 4] */ 21213 MEM32(ecx + 0x4) = edx; /* 0x2B07FEA8: mov dword ptr [ecx + 4], edx */ 21214 edx = MEM32(esi + 0x4); /* 0x2B07FEAB: mov edx, dword ptr [esi + 4] */ 21215 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FEAE: cmp eax, dword ptr [edx + 4] */ 21216 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21218 _flag_k = FK_CMP; 21219 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEB8; /* 0x2B07FEB1: jne 0x2b07feb8 */ 21220 L_2B07FEB3: 21221 MEM32(edx + 0x4) = ecx; /* 0x2B07FEB3: mov dword ptr [edx + 4], ecx */ 21222 goto L_2B07FEC6; /* 0x2B07FEB6: jmp 0x2b07fec6 */ 21223 L_2B07FEB8: 21224 edx = MEM32(eax + 0x4); /* 0x2B07FEB8: mov edx, dword ptr [eax + 4] */ 21225 /* cmp eax, MEM32(edx) */ /* 0x2B07FEBB: cmp eax, dword ptr [edx] */ 21226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 21227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21228 _flag_k = FK_CMP; 21229 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FEC3; /* 0x2B07FEBD: jne 0x2b07fec3 */ 21230 L_2B07FEBF: 21231 MEM32(edx) = ecx; /* 0x2B07FEBF: mov dword ptr [edx], ecx */ 21232 goto L_2B07FEC6; /* 0x2B07FEC1: jmp 0x2b07fec6 */ 21233 L_2B07FEC3: 21234 MEM32(edx + 0x8) = ecx; /* 0x2B07FEC3: mov dword ptr [edx + 8], ecx */ 21235 L_2B07FEC6: 21236 MEM32(ecx) = eax; /* 0x2B07FEC6: mov dword ptr [ecx], eax */ 21237 MEM32(eax + 0x4) = ecx; /* 0x2B07FEC8: mov dword ptr [eax + 4], ecx */ 21238 L_2B07FECB: 21239 ecx = MEM32(eax + 0x4); /* 0x2B07FECB: mov ecx, dword ptr [eax + 4] */ 21240 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FECE: mov byte ptr [ecx + 0x18], bl */ 21241 edx = MEM32(eax + 0x4); /* 0x2B07FED1: mov edx, dword ptr [eax + 4] */ 21242 ecx = MEM32(edx + 0x4); /* 0x2B07FED4: mov ecx, dword ptr [edx + 4] */ 21243 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FED7: mov byte ptr [ecx + 0x18], 0 */ 21244 edx = MEM32(eax + 0x4); /* 0x2B07FEDB: mov edx, dword ptr [eax + 4] */ 21245 ecx = MEM32(edx + 0x4); /* 0x2B07FEDE: mov ecx, dword ptr [edx + 4] */ 21246 edx = MEM32(ecx); /* 0x2B07FEE1: mov edx, dword ptr [ecx] */ 21247 edi = MEM32(edx + 0x8); /* 0x2B07FEE3: mov edi, dword ptr [edx + 8] */ 21248 MEM32(ecx) = edi; /* 0x2B07FEE6: mov dword ptr [ecx], edi */ 21249 edi = MEM32(edx + 0x8); /* 0x2B07FEE8: mov edi, dword ptr [edx + 8] */ 21250 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FEEB: cmp edi, dword ptr [esi + 8] */ 21251 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21253 _flag_k = FK_CMP; 21254 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FEF3; /* 0x2B07FEEE: je 0x2b07fef3 */ 21255 L_2B07FEF0: 21256 MEM32(edi + 0x4) = ecx; /* 0x2B07FEF0: mov dword ptr [edi + 4], ecx */ 21257 L_2B07FEF3: 21258 edi = MEM32(ecx + 0x4); /* 0x2B07FEF3: mov edi, dword ptr [ecx + 4] */ 21259 MEM32(edx + 0x4) = edi; /* 0x2B07FEF6: mov dword ptr [edx + 4], edi */ 21260 edi = MEM32(esi + 0x4); /* 0x2B07FEF9: mov edi, dword ptr [esi + 4] */ 21261 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FEFC: cmp ecx, dword ptr [edi + 4] */ 21262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21264 _flag_k = FK_CMP; 21265 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF0C; /* 0x2B07FEFF: jne 0x2b07ff0c */ 21266 L_2B07FF01: 21267 MEM32(edi + 0x4) = edx; /* 0x2B07FF01: mov dword ptr [edi + 4], edx */ 21268 MEM32(edx + 0x8) = ecx; /* 0x2B07FF04: mov dword ptr [edx + 8], ecx */ 21269 goto L_2B07FFBE; /* 0x2B07FF07: jmp 0x2b07ffbe */ 21270 L_2B07FF0C: 21271 edi = MEM32(ecx + 0x4); /* 0x2B07FF0C: mov edi, dword ptr [ecx + 4] */ 21272 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B07FF0F: cmp ecx, dword ptr [edi + 8] */ 21273 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21275 _flag_k = FK_CMP; 21276 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF1F; /* 0x2B07FF12: jne 0x2b07ff1f */ 21277 L_2B07FF14: 21278 MEM32(edi + 0x8) = edx; /* 0x2B07FF14: mov dword ptr [edi + 8], edx */ 21279 MEM32(edx + 0x8) = ecx; /* 0x2B07FF17: mov dword ptr [edx + 8], ecx */ 21280 goto L_2B07FFBE; /* 0x2B07FF1A: jmp 0x2b07ffbe */ 21281 L_2B07FF1F: 21282 MEM32(edi) = edx; /* 0x2B07FF1F: mov dword ptr [edi], edx */ 21283 MEM32(edx + 0x8) = ecx; /* 0x2B07FF21: mov dword ptr [edx + 8], ecx */ 21284 goto L_2B07FFBE; /* 0x2B07FF24: jmp 0x2b07ffbe */ 21285 L_2B07FF29: 21286 /* cmp MEM8(edx + 0x18), 0 */ /* 0x2B07FF29: cmp byte ptr [edx + 0x18], 0 */ 21287 _flag_a = (uint32_t)(MEM8(edx + 0x18)) << 24; _flag_b = (uint32_t)(0) << 24; 21288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21289 _flag_k = FK_NARROW(FK_CMP, 24); 21290 RECOMP_BACKEDGE(); 21291 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FE71; /* 0x2B07FF2D: je 0x2b07fe71 */ 21292 L_2B07FF33: 21293 /* cmp eax, MEM32(ecx) */ /* 0x2B07FF33: cmp eax, dword ptr [ecx] */ 21294 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21296 _flag_k = FK_CMP; 21297 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF73; /* 0x2B07FF35: jne 0x2b07ff73 */ 21298 L_2B07FF37: 21299 eax = ecx; /* 0x2B07FF37: mov eax, ecx */ 21300 ecx = MEM32(eax); /* 0x2B07FF39: mov ecx, dword ptr [eax] */ 21301 edx = MEM32(ecx + 0x8); /* 0x2B07FF3B: mov edx, dword ptr [ecx + 8] */ 21302 MEM32(eax) = edx; /* 0x2B07FF3E: mov dword ptr [eax], edx */ 21303 edx = MEM32(ecx + 0x8); /* 0x2B07FF40: mov edx, dword ptr [ecx + 8] */ 21304 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B07FF43: cmp edx, dword ptr [esi + 8] */ 21305 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21307 _flag_k = FK_CMP; 21308 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF4B; /* 0x2B07FF46: je 0x2b07ff4b */ 21309 L_2B07FF48: 21310 MEM32(edx + 0x4) = eax; /* 0x2B07FF48: mov dword ptr [edx + 4], eax */ 21311 L_2B07FF4B: 21312 edx = MEM32(eax + 0x4); /* 0x2B07FF4B: mov edx, dword ptr [eax + 4] */ 21313 MEM32(ecx + 0x4) = edx; /* 0x2B07FF4E: mov dword ptr [ecx + 4], edx */ 21314 edx = MEM32(esi + 0x4); /* 0x2B07FF51: mov edx, dword ptr [esi + 4] */ 21315 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B07FF54: cmp eax, dword ptr [edx + 4] */ 21316 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21318 _flag_k = FK_CMP; 21319 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF5E; /* 0x2B07FF57: jne 0x2b07ff5e */ 21320 L_2B07FF59: 21321 MEM32(edx + 0x4) = ecx; /* 0x2B07FF59: mov dword ptr [edx + 4], ecx */ 21322 goto L_2B07FF6D; /* 0x2B07FF5C: jmp 0x2b07ff6d */ 21323 L_2B07FF5E: 21324 edx = MEM32(eax + 0x4); /* 0x2B07FF5E: mov edx, dword ptr [eax + 4] */ 21325 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B07FF61: cmp eax, dword ptr [edx + 8] */ 21326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21328 _flag_k = FK_CMP; 21329 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FF6B; /* 0x2B07FF64: jne 0x2b07ff6b */ 21330 L_2B07FF66: 21331 MEM32(edx + 0x8) = ecx; /* 0x2B07FF66: mov dword ptr [edx + 8], ecx */ 21332 goto L_2B07FF6D; /* 0x2B07FF69: jmp 0x2b07ff6d */ 21333 L_2B07FF6B: 21334 MEM32(edx) = ecx; /* 0x2B07FF6B: mov dword ptr [edx], ecx */ 21335 L_2B07FF6D: 21336 MEM32(ecx + 0x8) = eax; /* 0x2B07FF6D: mov dword ptr [ecx + 8], eax */ 21337 MEM32(eax + 0x4) = ecx; /* 0x2B07FF70: mov dword ptr [eax + 4], ecx */ 21338 L_2B07FF73: 21339 ecx = MEM32(eax + 0x4); /* 0x2B07FF73: mov ecx, dword ptr [eax + 4] */ 21340 MEM8(ecx + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FF76: mov byte ptr [ecx + 0x18], bl */ 21341 edx = MEM32(eax + 0x4); /* 0x2B07FF79: mov edx, dword ptr [eax + 4] */ 21342 ecx = MEM32(edx + 0x4); /* 0x2B07FF7C: mov ecx, dword ptr [edx + 4] */ 21343 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x2B07FF7F: mov byte ptr [ecx + 0x18], 0 */ 21344 edx = MEM32(eax + 0x4); /* 0x2B07FF83: mov edx, dword ptr [eax + 4] */ 21345 ecx = MEM32(edx + 0x4); /* 0x2B07FF86: mov ecx, dword ptr [edx + 4] */ 21346 edx = MEM32(ecx + 0x8); /* 0x2B07FF89: mov edx, dword ptr [ecx + 8] */ 21347 edi = MEM32(edx); /* 0x2B07FF8C: mov edi, dword ptr [edx] */ 21348 MEM32(ecx + 0x8) = edi; /* 0x2B07FF8E: mov dword ptr [ecx + 8], edi */ 21349 edi = MEM32(edx); /* 0x2B07FF91: mov edi, dword ptr [edx] */ 21350 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B07FF93: cmp edi, dword ptr [esi + 8] */ 21351 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21353 _flag_k = FK_CMP; 21354 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07FF9B; /* 0x2B07FF96: je 0x2b07ff9b */ 21355 L_2B07FF98: 21356 MEM32(edi + 0x4) = ecx; /* 0x2B07FF98: mov dword ptr [edi + 4], ecx */ 21357 L_2B07FF9B: 21358 edi = MEM32(ecx + 0x4); /* 0x2B07FF9B: mov edi, dword ptr [ecx + 4] */ 21359 MEM32(edx + 0x4) = edi; /* 0x2B07FF9E: mov dword ptr [edx + 4], edi */ 21360 edi = MEM32(esi + 0x4); /* 0x2B07FFA1: mov edi, dword ptr [esi + 4] */ 21361 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B07FFA4: cmp ecx, dword ptr [edi + 4] */ 21362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21364 _flag_k = FK_CMP; 21365 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFAE; /* 0x2B07FFA7: jne 0x2b07ffae */ 21366 L_2B07FFA9: 21367 MEM32(edi + 0x4) = edx; /* 0x2B07FFA9: mov dword ptr [edi + 4], edx */ 21368 goto L_2B07FFBC; /* 0x2B07FFAC: jmp 0x2b07ffbc */ 21369 L_2B07FFAE: 21370 edi = MEM32(ecx + 0x4); /* 0x2B07FFAE: mov edi, dword ptr [ecx + 4] */ 21371 /* cmp ecx, MEM32(edi) */ /* 0x2B07FFB1: cmp ecx, dword ptr [edi] */ 21372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21374 _flag_k = FK_CMP; 21375 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FFB9; /* 0x2B07FFB3: jne 0x2b07ffb9 */ 21376 L_2B07FFB5: 21377 MEM32(edi) = edx; /* 0x2B07FFB5: mov dword ptr [edi], edx */ 21378 goto L_2B07FFBC; /* 0x2B07FFB7: jmp 0x2b07ffbc */ 21379 L_2B07FFB9: 21380 MEM32(edi + 0x8) = edx; /* 0x2B07FFB9: mov dword ptr [edi + 8], edx */ 21381 L_2B07FFBC: 21382 MEM32(edx) = ecx; /* 0x2B07FFBC: mov dword ptr [edx], ecx */ 21383 L_2B07FFBE: 21384 MEM32(ecx + 0x4) = edx; /* 0x2B07FFBE: mov dword ptr [ecx + 4], edx */ 21385 L_2B07FFC1: 21386 ecx = MEM32(esi + 0x4); /* 0x2B07FFC1: mov ecx, dword ptr [esi + 4] */ 21387 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B07FFC4: cmp eax, dword ptr [ecx + 4] */ 21388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21390 _flag_k = FK_CMP; 21391 RECOMP_BACKEDGE(); 21392 if (CMP_NE(_flag_a, _flag_b)) goto L_2B07FE4D; /* 0x2B07FFC7: jne 0x2b07fe4d */ 21393 L_2B07FFCD: 21394 edx = MEM32(esi + 0x4); /* 0x2B07FFCD: mov edx, dword ptr [esi + 4] */ 21395 eax = MEM32(edx + 0x4); /* 0x2B07FFD0: mov eax, dword ptr [edx + 4] */ 21396 ecx = MEM32(ebp + (-0x4)); /* 0x2B07FFD3: mov ecx, dword ptr [ebp - 4] */ 21397 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x2B07FFD6: mov byte ptr [eax + 0x18], bl */ 21398 eax = MEM32(ebp + 0x8); /* 0x2B07FFD9: mov eax, dword ptr [ebp + 8] */ 21399 edi = POP32_VAL(esp); /* 0x2B07FFDC: pop edi */ 21400 esi = POP32_VAL(esp); /* 0x2B07FFDD: pop esi */ 21401 MEM32(eax) = ecx; /* 0x2B07FFDE: mov dword ptr [eax], ecx */ 21402 ebx = POP32_VAL(esp); /* 0x2B07FFE0: pop ebx */ 21403 esp = ebp; /* 0x2B07FFE1: mov esp, ebp */ 21404 ebp = POP32_VAL(esp); /* 0x2B07FFE3: pop ebp */ 21405 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B07FFE4: ret 0x10 */ 21406 RECOMP_REGS_OUT(); 21407 }