client/game/ddr.dll/lifted-0037.c (964549B)
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_2B08E060(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(0x2B08E060u); 17 18 L_2B08E060: 19 PUSH32(esp, ebp); /* 0x2B08E060: push ebp */ 20 ebp = esp; /* 0x2B08E061: mov ebp, esp */ 21 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08E063: push -1 */ 22 PUSH32(esp, 0x2B0B290Fu); /* 0x2B08E065: push 0x2b0b290f */ 23 eax = MEM32(FS_BASE + (0)); /* 0x2B08E06A: mov eax, dword ptr fs:[0] */ 24 PUSH32(esp, eax); /* 0x2B08E070: push eax */ 25 MEM32(FS_BASE + (0)) = esp; /* 0x2B08E071: mov dword ptr fs:[0], esp */ 26 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 27 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 28 esp = esp - 8; /* 0x2B08E078: sub esp, 8 */ 29 _flag_k = FK_CMP; 30 PUSH32(esp, ebx); /* 0x2B08E07B: push ebx */ 31 ebx = ecx; /* 0x2B08E07C: mov ebx, ecx */ 32 PUSH32(esp, esi); /* 0x2B08E07E: push esi */ 33 esi = MEM32(ebp + 0x8); /* 0x2B08E07F: mov esi, dword ptr [ebp + 8] */ 34 SET_LO8(eax, MEM8(esi)); /* 0x2B08E082: mov al, byte ptr [esi] */ 35 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 36 edx = 0; /* 0x2B08E084: xor edx, edx */ 37 _cf = 0; 38 _flag_k = FK_TEST; 39 MEM8(ebx) = (uint8_t)(LO8(eax)); /* 0x2B08E086: mov byte ptr [ebx], al */ 40 MEM32(ebx + 0x4) = edx; /* 0x2B08E088: mov dword ptr [ebx + 4], edx */ 41 MEM32(ebx + 0x8) = edx; /* 0x2B08E08B: mov dword ptr [ebx + 8], edx */ 42 MEM32(ebx + 0xC) = edx; /* 0x2B08E08E: mov dword ptr [ebx + 0xc], edx */ 43 ecx = MEM32(0x2B0B515C); /* 0x2B08E091: mov ecx, dword ptr [0x2b0b515c] */ 44 eax = MEM32(ecx); /* 0x2B08E097: mov eax, dword ptr [ecx] */ 45 ecx = MEM32(esi + 0x8); /* 0x2B08E099: mov ecx, dword ptr [esi + 8] */ 46 PUSH32(esp, edi); /* 0x2B08E09C: push edi */ 47 edi = ecx; /* 0x2B08E09D: mov edi, ecx */ 48 /* cmp eax, edi */ /* 0x2B08E09F: cmp eax, edi */ 49 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 50 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 51 _flag_k = FK_CMP; 52 MEM32(ebp + (-0x10)) = ebx; /* 0x2B08E0A1: mov dword ptr [ebp - 0x10], ebx */ 53 MEM32(ebp + 0x8) = edi; /* 0x2B08E0A4: mov dword ptr [ebp + 8], edi */ 54 if (CMP_AE(_flag_a, _flag_b)) goto L_2B08E0AE; /* 0x2B08E0A7: jae 0x2b08e0ae */ 55 L_2B08E0A9: 56 MEM32(ebp + 0x8) = eax; /* 0x2B08E0A9: mov dword ptr [ebp + 8], eax */ 57 edi = eax; /* 0x2B08E0AC: mov edi, eax */ 58 L_2B08E0AE: 59 /* cmp ebx, esi */ /* 0x2B08E0AE: cmp ebx, esi */ 60 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 61 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 62 _flag_k = FK_CMP; 63 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E0CD; /* 0x2B08E0B0: jne 0x2b08e0cd */ 64 L_2B08E0B2: 65 PUSH32(esp, eax); /* 0x2B08E0B2: push eax */ 66 PUSH32(esp, edi); /* 0x2B08E0B3: push edi */ 67 ecx = ebx; /* 0x2B08E0B4: mov ecx, ebx */ 68 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B08E0B6: call dword ptr [0x2b0b51ac] */ 69 RECOMP_FLAGS_IN(); 70 PUSH32(esp, 0); /* 0x2B08E0BC: push 0 */ 71 PUSH32(esp, 0); /* 0x2B08E0BE: push 0 */ 72 ecx = ebx; /* 0x2B08E0C0: mov ecx, ebx */ 73 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B08E0C2: call dword ptr [0x2b0b51ac] */ 74 RECOMP_FLAGS_IN(); 75 goto L_2B08E14E; /* 0x2B08E0C8: jmp 0x2b08e14e */ 76 L_2B08E0CD: 77 /* cmp edi, edx */ /* 0x2B08E0CD: cmp edi, edx */ 78 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 79 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 80 _flag_k = FK_CMP; 81 if (CMP_BE(_flag_a, _flag_b)) goto L_2B08E111; /* 0x2B08E0CF: jbe 0x2b08e111 */ 82 L_2B08E0D1: 83 /* cmp edi, ecx */ /* 0x2B08E0D1: cmp edi, ecx */ 84 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 85 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 86 _flag_k = FK_CMP; 87 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E111; /* 0x2B08E0D3: jne 0x2b08e111 */ 88 L_2B08E0D5: 89 eax = MEM32(esi + 0x4); /* 0x2B08E0D5: mov eax, dword ptr [esi + 4] */ 90 /* cmp eax, edx */ /* 0x2B08E0D8: cmp eax, edx */ 91 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 92 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 93 _flag_k = FK_CMP; 94 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E0E1; /* 0x2B08E0DA: jne 0x2b08e0e1 */ 95 L_2B08E0DC: 96 eax = MEM32(0x2B0B513C); /* 0x2B08E0DC: mov eax, dword ptr [0x2b0b513c] */ 97 L_2B08E0E1: 98 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B08E0E1: cmp byte ptr [eax - 1], 0xfe */ 99 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 101 _flag_k = FK_NARROW(FK_CMP, 24); 102 if (CMP_AE(_flag_a, _flag_b)) goto L_2B08E111; /* 0x2B08E0E5: jae 0x2b08e111 */ 103 L_2B08E0E7: 104 PUSH32(esp, 1); /* 0x2B08E0E7: push 1 */ 105 ecx = ebx; /* 0x2B08E0E9: mov ecx, ebx */ 106 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08E0EB: call dword ptr [0x2b0b514c] */ 107 RECOMP_FLAGS_IN(); 108 eax = MEM32(esi + 0x4); /* 0x2B08E0F1: mov eax, dword ptr [esi + 4] */ 109 /* test eax, eax */ /* 0x2B08E0F4: test eax, eax */ 110 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 111 _cf = 0; 112 _flag_k = FK_TEST; 113 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E0FD; /* 0x2B08E0F6: jne 0x2b08e0fd */ 114 L_2B08E0F8: 115 eax = MEM32(0x2B0B513C); /* 0x2B08E0F8: mov eax, dword ptr [0x2b0b513c] */ 116 L_2B08E0FD: 117 MEM32(ebx + 0x4) = eax; /* 0x2B08E0FD: mov dword ptr [ebx + 4], eax */ 118 ecx = MEM32(esi + 0x8); /* 0x2B08E100: mov ecx, dword ptr [esi + 8] */ 119 MEM32(ebx + 0x8) = ecx; /* 0x2B08E103: mov dword ptr [ebx + 8], ecx */ 120 esi = MEM32(esi + 0xC); /* 0x2B08E106: mov esi, dword ptr [esi + 0xc] */ 121 MEM32(ebx + 0xC) = esi; /* 0x2B08E109: mov dword ptr [ebx + 0xc], esi */ 122 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 123 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B08E10C: inc byte ptr [eax - 1] */ 124 _flag_k = FK_NARROW(FK_INC, 24); 125 goto L_2B08E14E; /* 0x2B08E10F: jmp 0x2b08e14e */ 126 L_2B08E111: 127 PUSH32(esp, 1); /* 0x2B08E111: push 1 */ 128 PUSH32(esp, edi); /* 0x2B08E113: push edi */ 129 ecx = ebx; /* 0x2B08E114: mov ecx, ebx */ 130 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08E116: call dword ptr [0x2b0b5154] */ 131 RECOMP_FLAGS_IN(); 132 /* test LO8(eax), LO8(eax) */ /* 0x2B08E11C: test al, al */ 133 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 134 _cf = 0; 135 _flag_k = FK_NARROW(FK_TEST, 24); 136 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E14E; /* 0x2B08E11E: je 0x2b08e14e */ 137 L_2B08E120: 138 esi = MEM32(esi + 0x4); /* 0x2B08E120: mov esi, dword ptr [esi + 4] */ 139 /* test esi, esi */ /* 0x2B08E123: test esi, esi */ 140 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 141 _cf = 0; 142 _flag_k = FK_TEST; 143 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E12D; /* 0x2B08E125: jne 0x2b08e12d */ 144 L_2B08E127: 145 esi = MEM32(0x2B0B513C); /* 0x2B08E127: mov esi, dword ptr [0x2b0b513c] */ 146 L_2B08E12D: 147 eax = MEM32(ebx + 0x4); /* 0x2B08E12D: mov eax, dword ptr [ebx + 4] */ 148 ecx = edi; /* 0x2B08E130: mov ecx, edi */ 149 edx = ecx; /* 0x2B08E132: mov edx, ecx */ 150 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B08E134: shr ecx, 2 */ 151 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 152 ecx = ecx >> 2u; /* 0x2B08E134: shr ecx, 2 */ 153 edi = eax; /* 0x2B08E137: mov edi, eax */ 154 eax = MEM32(ebp + 0x8); /* 0x2B08E139: mov eax, dword ptr [ebp + 8] */ 155 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08E13C: 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; } 156 ecx = edx; /* 0x2B08E13E: mov ecx, edx */ 157 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 158 ecx = ecx & 3; /* 0x2B08E140: and ecx, 3 */ 159 _cf = 0; 160 _flag_k = FK_TEST; 161 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B08E143: 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; } 162 PUSH32(esp, eax); /* 0x2B08E145: push eax */ 163 ecx = ebx; /* 0x2B08E146: mov ecx, ebx */ 164 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B08E148: call dword ptr [0x2b0b5150] */ 165 RECOMP_FLAGS_IN(); 166 L_2B08E14E: 167 esi = MEM32(ebp + 0xC); /* 0x2B08E14E: mov esi, dword ptr [ebp + 0xc] */ 168 SET_LO8(ecx, MEM8(esi)); /* 0x2B08E151: mov cl, byte ptr [esi] */ 169 MEM8(ebx + 0x10) = (uint8_t)(LO8(ecx)); /* 0x2B08E153: mov byte ptr [ebx + 0x10], cl */ 170 eax = MEM32(esi + 0x4); /* 0x2B08E156: mov eax, dword ptr [esi + 4] */ 171 /* test eax, eax */ /* 0x2B08E159: test eax, eax */ 172 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 173 _cf = 0; 174 _flag_k = FK_TEST; 175 MEM32(ebp + (-0x4)) = 0; /* 0x2B08E15B: mov dword ptr [ebp - 4], 0 */ 176 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E168; /* 0x2B08E162: jne 0x2b08e168 */ 177 L_2B08E164: 178 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 179 edx = 0; /* 0x2B08E164: xor edx, edx */ 180 _cf = 0; 181 _flag_k = FK_TEST; 182 goto L_2B08E17E; /* 0x2B08E166: jmp 0x2b08e17e */ 183 L_2B08E168: 184 ecx = MEM32(esi + 0x8); /* 0x2B08E168: mov ecx, dword ptr [esi + 8] */ 185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 187 ecx = ecx - eax; /* 0x2B08E16B: sub ecx, eax */ 188 _flag_k = FK_CMP; 189 eax = 0x4EC4EC4Fu; /* 0x2B08E16D: mov eax, 0x4ec4ec4f */ 190 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B08E172: imul ecx */ 191 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 192 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 193 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E174: sar edx, 4 */ 194 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 195 edx = (uint32_t)((int32_t)edx >> 4u); 196 eax = edx; /* 0x2B08E177: mov eax, edx */ 197 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E179: shr eax, 0x1f */ 198 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 199 eax = eax >> 31u; /* 0x2B08E179: shr eax, 0x1f */ 200 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 201 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 202 edx = edx + eax; /* 0x2B08E17C: add edx, eax */ 203 _flag_k = FK_ADD; 204 L_2B08E17E: 205 /* test edx, edx */ /* 0x2B08E17E: test edx, edx */ 206 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 207 _cf = 0; 208 _flag_k = FK_TEST; 209 eax = edx; /* 0x2B08E180: mov eax, edx */ 210 if (TEST_NS(_flag_a, _flag_b)) goto L_2B08E186; /* 0x2B08E182: jge 0x2b08e186 */ 211 L_2B08E184: 212 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 213 eax = 0; /* 0x2B08E184: xor eax, eax */ 214 _cf = 0; 215 _flag_k = FK_TEST; 216 L_2B08E186: 217 ecx = eax + eax * 2; /* 0x2B08E186: lea ecx, [eax + eax*2] */ 218 edx = eax + ecx * 4; /* 0x2B08E189: lea edx, [eax + ecx*4] */ 219 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B08E18C: shl edx, 2 */ 220 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 221 edx = edx << 2u; /* 0x2B08E18C: shl edx, 2 */ 222 PUSH32(esp, edx); /* 0x2B08E18F: push edx */ 223 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08E190: call 0x2b0ab212 */ /* not lifted */ 224 RECOMP_FLAGS_IN(); 225 MEM32(ebx + 0x14) = eax; /* 0x2B08E195: mov dword ptr [ebx + 0x14], eax */ 226 ecx = MEM32(esi + 0x8); /* 0x2B08E198: mov ecx, dword ptr [esi + 8] */ 227 edi = MEM32(esi + 0x4); /* 0x2B08E19B: mov edi, dword ptr [esi + 4] */ 228 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 229 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 230 esp = esp + 4; /* 0x2B08E19E: add esp, 4 */ 231 _flag_k = FK_ADD; 232 /* cmp edi, ecx */ /* 0x2B08E1A1: cmp edi, ecx */ 233 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 235 _flag_k = FK_CMP; 236 esi = eax; /* 0x2B08E1A3: mov esi, eax */ 237 MEM32(ebp + 0x8) = ecx; /* 0x2B08E1A5: mov dword ptr [ebp + 8], ecx */ 238 MEM32(ebp + 0xC) = esi; /* 0x2B08E1A8: mov dword ptr [ebp + 0xc], esi */ 239 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E216; /* 0x2B08E1AB: je 0x2b08e216 */ 240 L_2B08E1AD: 241 MEM32(ebp + (-0x14)) = esi; /* 0x2B08E1AD: mov dword ptr [ebp - 0x14], esi */ 242 /* test esi, esi */ /* 0x2B08E1B0: test esi, esi */ 243 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 244 _cf = 0; 245 _flag_k = FK_TEST; 246 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08E1B2: mov byte ptr [ebp - 4], 1 */ 247 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E205; /* 0x2B08E1B6: je 0x2b08e205 */ 248 L_2B08E1B8: 249 SET_LO8(eax, MEM8(edi)); /* 0x2B08E1B8: mov al, byte ptr [edi] */ 250 PUSH32(esp, 0); /* 0x2B08E1BA: push 0 */ 251 ecx = esi; /* 0x2B08E1BC: mov ecx, esi */ 252 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B08E1BE: mov byte ptr [esi], al */ 253 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08E1C0: call dword ptr [0x2b0b514c] */ 254 RECOMP_FLAGS_IN(); 255 ecx = MEM32(0x2B0B515C); /* 0x2B08E1C6: mov ecx, dword ptr [0x2b0b515c] */ 256 edx = MEM32(ecx); /* 0x2B08E1CC: mov edx, dword ptr [ecx] */ 257 PUSH32(esp, edx); /* 0x2B08E1CE: push edx */ 258 PUSH32(esp, 0); /* 0x2B08E1CF: push 0 */ 259 PUSH32(esp, edi); /* 0x2B08E1D1: push edi */ 260 ecx = esi; /* 0x2B08E1D2: mov ecx, esi */ 261 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E1D4: call dword ptr [0x2b0b5158] */ 262 RECOMP_FLAGS_IN(); 263 eax = edi + 0x10; /* 0x2B08E1DA: lea eax, [edi + 0x10] */ 264 PUSH32(esp, eax); /* 0x2B08E1DD: push eax */ 265 ecx = esi + 0x10; /* 0x2B08E1DE: lea ecx, [esi + 0x10] */ 266 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B08E1E1: mov byte ptr [ebp - 4], 2 */ 267 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B08E1E5: call dword ptr [0x2b0b5164] */ 268 RECOMP_FLAGS_IN(); 269 eax = edi + 0x20; /* 0x2B08E1EB: lea eax, [edi + 0x20] */ 270 PUSH32(esp, eax); /* 0x2B08E1EE: push eax */ 271 ecx = esi + 0x20; /* 0x2B08E1EF: lea ecx, [esi + 0x20] */ 272 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B08E1F2: mov byte ptr [ebp - 4], 3 */ 273 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B08E1F6: call dword ptr [0x2b0b5164] */ 274 RECOMP_FLAGS_IN(); 275 SET_LO8(ecx, MEM8(edi + 0x30)); /* 0x2B08E1FC: mov cl, byte ptr [edi + 0x30] */ 276 MEM8(esi + 0x30) = (uint8_t)(LO8(ecx)); /* 0x2B08E1FF: mov byte ptr [esi + 0x30], cl */ 277 ecx = MEM32(ebp + 0x8); /* 0x2B08E202: mov ecx, dword ptr [ebp + 8] */ 278 L_2B08E205: 279 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 280 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 281 esi = esi + 0x34u; /* 0x2B08E205: add esi, 0x34 */ 282 _flag_k = FK_ADD; 283 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 284 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 285 edi = edi + 0x34u; /* 0x2B08E208: add edi, 0x34 */ 286 _flag_k = FK_ADD; 287 /* cmp edi, ecx */ /* 0x2B08E20B: cmp edi, ecx */ 288 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 290 _flag_k = FK_CMP; 291 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B08E20D: mov byte ptr [ebp - 4], 0 */ 292 MEM32(ebp + 0xC) = esi; /* 0x2B08E211: mov dword ptr [ebp + 0xc], esi */ 293 RECOMP_BACKEDGE(); 294 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E1AD; /* 0x2B08E214: jne 0x2b08e1ad */ 295 L_2B08E216: 296 ecx = MEM32(ebp + (-0xC)); /* 0x2B08E216: mov ecx, dword ptr [ebp - 0xc] */ 297 MEM32(ebx + 0x18) = esi; /* 0x2B08E219: mov dword ptr [ebx + 0x18], esi */ 298 MEM32(ebx + 0x1C) = esi; /* 0x2B08E21C: mov dword ptr [ebx + 0x1c], esi */ 299 edi = POP32_VAL(esp); /* 0x2B08E21F: pop edi */ 300 esi = POP32_VAL(esp); /* 0x2B08E220: pop esi */ 301 eax = ebx; /* 0x2B08E221: mov eax, ebx */ 302 ebx = POP32_VAL(esp); /* 0x2B08E223: pop ebx */ 303 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08E224: mov dword ptr fs:[0], ecx */ 304 esp = ebp; /* 0x2B08E22B: mov esp, ebp */ 305 ebp = POP32_VAL(esp); /* 0x2B08E22D: pop ebp */ 306 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B08E22E: ret 8 */ 307 RECOMP_REGS_OUT(); 308 } 309 310 void sub_2B08E14E(void) { 311 int _fpu_cmp = 0; 312 uint32_t _cf = 0; 313 int _df = 1; 314 uint32_t _flag_k = FK_NONE; 315 uint32_t _flag_a = 0, _flag_b = 0; 316 uint32_t _itail_tgt = 0; 317 RECOMP_REGS_LOCALS 318 RECOMP_ENTER(0x2B08E14Eu); 319 320 L_2B08E14E: 321 esi = MEM32(ebp + 0xC); /* 0x2B08E14E: mov esi, dword ptr [ebp + 0xc] */ 322 SET_LO8(ecx, MEM8(esi)); /* 0x2B08E151: mov cl, byte ptr [esi] */ 323 MEM8(ebx + 0x10) = (uint8_t)(LO8(ecx)); /* 0x2B08E153: mov byte ptr [ebx + 0x10], cl */ 324 eax = MEM32(esi + 0x4); /* 0x2B08E156: mov eax, dword ptr [esi + 4] */ 325 /* test eax, eax */ /* 0x2B08E159: test eax, eax */ 326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 327 _cf = 0; 328 _flag_k = FK_TEST; 329 MEM32(ebp + (-0x4)) = 0; /* 0x2B08E15B: mov dword ptr [ebp - 4], 0 */ 330 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E168; /* 0x2B08E162: jne 0x2b08e168 */ 331 L_2B08E164: 332 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 333 edx = 0; /* 0x2B08E164: xor edx, edx */ 334 _cf = 0; 335 _flag_k = FK_TEST; 336 goto L_2B08E17E; /* 0x2B08E166: jmp 0x2b08e17e */ 337 L_2B08E168: 338 ecx = MEM32(esi + 0x8); /* 0x2B08E168: mov ecx, dword ptr [esi + 8] */ 339 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 341 ecx = ecx - eax; /* 0x2B08E16B: sub ecx, eax */ 342 _flag_k = FK_CMP; 343 eax = 0x4EC4EC4Fu; /* 0x2B08E16D: mov eax, 0x4ec4ec4f */ 344 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B08E172: imul ecx */ 345 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 346 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 347 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E174: sar edx, 4 */ 348 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 349 edx = (uint32_t)((int32_t)edx >> 4u); 350 eax = edx; /* 0x2B08E177: mov eax, edx */ 351 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E179: shr eax, 0x1f */ 352 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 353 eax = eax >> 31u; /* 0x2B08E179: shr eax, 0x1f */ 354 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 355 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 356 edx = edx + eax; /* 0x2B08E17C: add edx, eax */ 357 _flag_k = FK_ADD; 358 L_2B08E17E: 359 /* test edx, edx */ /* 0x2B08E17E: test edx, edx */ 360 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 361 _cf = 0; 362 _flag_k = FK_TEST; 363 eax = edx; /* 0x2B08E180: mov eax, edx */ 364 if (TEST_NS(_flag_a, _flag_b)) goto L_2B08E186; /* 0x2B08E182: jge 0x2b08e186 */ 365 L_2B08E184: 366 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 367 eax = 0; /* 0x2B08E184: xor eax, eax */ 368 _cf = 0; 369 _flag_k = FK_TEST; 370 L_2B08E186: 371 ecx = eax + eax * 2; /* 0x2B08E186: lea ecx, [eax + eax*2] */ 372 edx = eax + ecx * 4; /* 0x2B08E189: lea edx, [eax + ecx*4] */ 373 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B08E18C: shl edx, 2 */ 374 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 375 edx = edx << 2u; /* 0x2B08E18C: shl edx, 2 */ 376 PUSH32(esp, edx); /* 0x2B08E18F: push edx */ 377 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08E190: call 0x2b0ab212 */ /* not lifted */ 378 RECOMP_FLAGS_IN(); 379 MEM32(ebx + 0x14) = eax; /* 0x2B08E195: mov dword ptr [ebx + 0x14], eax */ 380 ecx = MEM32(esi + 0x8); /* 0x2B08E198: mov ecx, dword ptr [esi + 8] */ 381 edi = MEM32(esi + 0x4); /* 0x2B08E19B: mov edi, dword ptr [esi + 4] */ 382 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 383 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 384 esp = esp + 4; /* 0x2B08E19E: add esp, 4 */ 385 _flag_k = FK_ADD; 386 /* cmp edi, ecx */ /* 0x2B08E1A1: cmp edi, ecx */ 387 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 389 _flag_k = FK_CMP; 390 esi = eax; /* 0x2B08E1A3: mov esi, eax */ 391 MEM32(ebp + 0x8) = ecx; /* 0x2B08E1A5: mov dword ptr [ebp + 8], ecx */ 392 MEM32(ebp + 0xC) = esi; /* 0x2B08E1A8: mov dword ptr [ebp + 0xc], esi */ 393 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E216; /* 0x2B08E1AB: je 0x2b08e216 */ 394 L_2B08E1AD: 395 MEM32(ebp + (-0x14)) = esi; /* 0x2B08E1AD: mov dword ptr [ebp - 0x14], esi */ 396 /* test esi, esi */ /* 0x2B08E1B0: test esi, esi */ 397 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 398 _cf = 0; 399 _flag_k = FK_TEST; 400 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08E1B2: mov byte ptr [ebp - 4], 1 */ 401 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E205; /* 0x2B08E1B6: je 0x2b08e205 */ 402 L_2B08E1B8: 403 SET_LO8(eax, MEM8(edi)); /* 0x2B08E1B8: mov al, byte ptr [edi] */ 404 PUSH32(esp, 0); /* 0x2B08E1BA: push 0 */ 405 ecx = esi; /* 0x2B08E1BC: mov ecx, esi */ 406 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B08E1BE: mov byte ptr [esi], al */ 407 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08E1C0: call dword ptr [0x2b0b514c] */ 408 RECOMP_FLAGS_IN(); 409 ecx = MEM32(0x2B0B515C); /* 0x2B08E1C6: mov ecx, dword ptr [0x2b0b515c] */ 410 edx = MEM32(ecx); /* 0x2B08E1CC: mov edx, dword ptr [ecx] */ 411 PUSH32(esp, edx); /* 0x2B08E1CE: push edx */ 412 PUSH32(esp, 0); /* 0x2B08E1CF: push 0 */ 413 PUSH32(esp, edi); /* 0x2B08E1D1: push edi */ 414 ecx = esi; /* 0x2B08E1D2: mov ecx, esi */ 415 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E1D4: call dword ptr [0x2b0b5158] */ 416 RECOMP_FLAGS_IN(); 417 eax = edi + 0x10; /* 0x2B08E1DA: lea eax, [edi + 0x10] */ 418 PUSH32(esp, eax); /* 0x2B08E1DD: push eax */ 419 ecx = esi + 0x10; /* 0x2B08E1DE: lea ecx, [esi + 0x10] */ 420 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B08E1E1: mov byte ptr [ebp - 4], 2 */ 421 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B08E1E5: call dword ptr [0x2b0b5164] */ 422 RECOMP_FLAGS_IN(); 423 eax = edi + 0x20; /* 0x2B08E1EB: lea eax, [edi + 0x20] */ 424 PUSH32(esp, eax); /* 0x2B08E1EE: push eax */ 425 ecx = esi + 0x20; /* 0x2B08E1EF: lea ecx, [esi + 0x20] */ 426 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B08E1F2: mov byte ptr [ebp - 4], 3 */ 427 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B08E1F6: call dword ptr [0x2b0b5164] */ 428 RECOMP_FLAGS_IN(); 429 SET_LO8(ecx, MEM8(edi + 0x30)); /* 0x2B08E1FC: mov cl, byte ptr [edi + 0x30] */ 430 MEM8(esi + 0x30) = (uint8_t)(LO8(ecx)); /* 0x2B08E1FF: mov byte ptr [esi + 0x30], cl */ 431 ecx = MEM32(ebp + 0x8); /* 0x2B08E202: mov ecx, dword ptr [ebp + 8] */ 432 L_2B08E205: 433 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 434 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 435 esi = esi + 0x34u; /* 0x2B08E205: add esi, 0x34 */ 436 _flag_k = FK_ADD; 437 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 439 edi = edi + 0x34u; /* 0x2B08E208: add edi, 0x34 */ 440 _flag_k = FK_ADD; 441 /* cmp edi, ecx */ /* 0x2B08E20B: cmp edi, ecx */ 442 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 444 _flag_k = FK_CMP; 445 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B08E20D: mov byte ptr [ebp - 4], 0 */ 446 MEM32(ebp + 0xC) = esi; /* 0x2B08E211: mov dword ptr [ebp + 0xc], esi */ 447 RECOMP_BACKEDGE(); 448 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E1AD; /* 0x2B08E214: jne 0x2b08e1ad */ 449 L_2B08E216: 450 ecx = MEM32(ebp + (-0xC)); /* 0x2B08E216: mov ecx, dword ptr [ebp - 0xc] */ 451 MEM32(ebx + 0x18) = esi; /* 0x2B08E219: mov dword ptr [ebx + 0x18], esi */ 452 MEM32(ebx + 0x1C) = esi; /* 0x2B08E21C: mov dword ptr [ebx + 0x1c], esi */ 453 edi = POP32_VAL(esp); /* 0x2B08E21F: pop edi */ 454 esi = POP32_VAL(esp); /* 0x2B08E220: pop esi */ 455 eax = ebx; /* 0x2B08E221: mov eax, ebx */ 456 ebx = POP32_VAL(esp); /* 0x2B08E223: pop ebx */ 457 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08E224: mov dword ptr fs:[0], ecx */ 458 esp = ebp; /* 0x2B08E22B: mov esp, ebp */ 459 ebp = POP32_VAL(esp); /* 0x2B08E22D: pop ebp */ 460 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B08E22E: ret 8 */ 461 RECOMP_REGS_OUT(); 462 } 463 464 void sub_2B08E17E(void) { 465 int _fpu_cmp = 0; 466 uint32_t _cf = 0; 467 int _df = 1; 468 uint32_t _flag_k = FK_NONE; 469 uint32_t _flag_a = 0, _flag_b = 0; 470 uint32_t _itail_tgt = 0; 471 RECOMP_REGS_LOCALS 472 RECOMP_ENTER(0x2B08E17Eu); 473 474 L_2B08E17E: 475 /* test edx, edx */ /* 0x2B08E17E: test edx, edx */ 476 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 477 _cf = 0; 478 _flag_k = FK_TEST; 479 eax = edx; /* 0x2B08E180: mov eax, edx */ 480 if (TEST_NS(_flag_a, _flag_b)) goto L_2B08E186; /* 0x2B08E182: jge 0x2b08e186 */ 481 L_2B08E184: 482 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 483 eax = 0; /* 0x2B08E184: xor eax, eax */ 484 _cf = 0; 485 _flag_k = FK_TEST; 486 L_2B08E186: 487 ecx = eax + eax * 2; /* 0x2B08E186: lea ecx, [eax + eax*2] */ 488 edx = eax + ecx * 4; /* 0x2B08E189: lea edx, [eax + ecx*4] */ 489 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B08E18C: shl edx, 2 */ 490 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 491 edx = edx << 2u; /* 0x2B08E18C: shl edx, 2 */ 492 PUSH32(esp, edx); /* 0x2B08E18F: push edx */ 493 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08E190: call 0x2b0ab212 */ /* not lifted */ 494 RECOMP_FLAGS_IN(); 495 MEM32(ebx + 0x14) = eax; /* 0x2B08E195: mov dword ptr [ebx + 0x14], eax */ 496 ecx = MEM32(esi + 0x8); /* 0x2B08E198: mov ecx, dword ptr [esi + 8] */ 497 edi = MEM32(esi + 0x4); /* 0x2B08E19B: mov edi, dword ptr [esi + 4] */ 498 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 499 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 500 esp = esp + 4; /* 0x2B08E19E: add esp, 4 */ 501 _flag_k = FK_ADD; 502 /* cmp edi, ecx */ /* 0x2B08E1A1: cmp edi, ecx */ 503 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 505 _flag_k = FK_CMP; 506 esi = eax; /* 0x2B08E1A3: mov esi, eax */ 507 MEM32(ebp + 0x8) = ecx; /* 0x2B08E1A5: mov dword ptr [ebp + 8], ecx */ 508 MEM32(ebp + 0xC) = esi; /* 0x2B08E1A8: mov dword ptr [ebp + 0xc], esi */ 509 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E216; /* 0x2B08E1AB: je 0x2b08e216 */ 510 L_2B08E1AD: 511 MEM32(ebp + (-0x14)) = esi; /* 0x2B08E1AD: mov dword ptr [ebp - 0x14], esi */ 512 /* test esi, esi */ /* 0x2B08E1B0: test esi, esi */ 513 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 514 _cf = 0; 515 _flag_k = FK_TEST; 516 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08E1B2: mov byte ptr [ebp - 4], 1 */ 517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E205; /* 0x2B08E1B6: je 0x2b08e205 */ 518 L_2B08E1B8: 519 SET_LO8(eax, MEM8(edi)); /* 0x2B08E1B8: mov al, byte ptr [edi] */ 520 PUSH32(esp, 0); /* 0x2B08E1BA: push 0 */ 521 ecx = esi; /* 0x2B08E1BC: mov ecx, esi */ 522 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B08E1BE: mov byte ptr [esi], al */ 523 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08E1C0: call dword ptr [0x2b0b514c] */ 524 RECOMP_FLAGS_IN(); 525 ecx = MEM32(0x2B0B515C); /* 0x2B08E1C6: mov ecx, dword ptr [0x2b0b515c] */ 526 edx = MEM32(ecx); /* 0x2B08E1CC: mov edx, dword ptr [ecx] */ 527 PUSH32(esp, edx); /* 0x2B08E1CE: push edx */ 528 PUSH32(esp, 0); /* 0x2B08E1CF: push 0 */ 529 PUSH32(esp, edi); /* 0x2B08E1D1: push edi */ 530 ecx = esi; /* 0x2B08E1D2: mov ecx, esi */ 531 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E1D4: call dword ptr [0x2b0b5158] */ 532 RECOMP_FLAGS_IN(); 533 eax = edi + 0x10; /* 0x2B08E1DA: lea eax, [edi + 0x10] */ 534 PUSH32(esp, eax); /* 0x2B08E1DD: push eax */ 535 ecx = esi + 0x10; /* 0x2B08E1DE: lea ecx, [esi + 0x10] */ 536 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B08E1E1: mov byte ptr [ebp - 4], 2 */ 537 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B08E1E5: call dword ptr [0x2b0b5164] */ 538 RECOMP_FLAGS_IN(); 539 eax = edi + 0x20; /* 0x2B08E1EB: lea eax, [edi + 0x20] */ 540 PUSH32(esp, eax); /* 0x2B08E1EE: push eax */ 541 ecx = esi + 0x20; /* 0x2B08E1EF: lea ecx, [esi + 0x20] */ 542 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B08E1F2: mov byte ptr [ebp - 4], 3 */ 543 RECOMP_ICALL(MEM32(0x2B0B5164)); /* 0x2B08E1F6: call dword ptr [0x2b0b5164] */ 544 RECOMP_FLAGS_IN(); 545 SET_LO8(ecx, MEM8(edi + 0x30)); /* 0x2B08E1FC: mov cl, byte ptr [edi + 0x30] */ 546 MEM8(esi + 0x30) = (uint8_t)(LO8(ecx)); /* 0x2B08E1FF: mov byte ptr [esi + 0x30], cl */ 547 ecx = MEM32(ebp + 0x8); /* 0x2B08E202: mov ecx, dword ptr [ebp + 8] */ 548 L_2B08E205: 549 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 550 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 551 esi = esi + 0x34u; /* 0x2B08E205: add esi, 0x34 */ 552 _flag_k = FK_ADD; 553 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 554 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 555 edi = edi + 0x34u; /* 0x2B08E208: add edi, 0x34 */ 556 _flag_k = FK_ADD; 557 /* cmp edi, ecx */ /* 0x2B08E20B: cmp edi, ecx */ 558 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 560 _flag_k = FK_CMP; 561 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B08E20D: mov byte ptr [ebp - 4], 0 */ 562 MEM32(ebp + 0xC) = esi; /* 0x2B08E211: mov dword ptr [ebp + 0xc], esi */ 563 RECOMP_BACKEDGE(); 564 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E1AD; /* 0x2B08E214: jne 0x2b08e1ad */ 565 L_2B08E216: 566 ecx = MEM32(ebp + (-0xC)); /* 0x2B08E216: mov ecx, dword ptr [ebp - 0xc] */ 567 MEM32(ebx + 0x18) = esi; /* 0x2B08E219: mov dword ptr [ebx + 0x18], esi */ 568 MEM32(ebx + 0x1C) = esi; /* 0x2B08E21C: mov dword ptr [ebx + 0x1c], esi */ 569 edi = POP32_VAL(esp); /* 0x2B08E21F: pop edi */ 570 esi = POP32_VAL(esp); /* 0x2B08E220: pop esi */ 571 eax = ebx; /* 0x2B08E221: mov eax, ebx */ 572 ebx = POP32_VAL(esp); /* 0x2B08E223: pop ebx */ 573 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08E224: mov dword ptr fs:[0], ecx */ 574 esp = ebp; /* 0x2B08E22B: mov esp, ebp */ 575 ebp = POP32_VAL(esp); /* 0x2B08E22D: pop ebp */ 576 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B08E22E: ret 8 */ 577 RECOMP_REGS_OUT(); 578 } 579 580 void sub_2B08E240(void) { 581 int _fpu_cmp = 0; 582 uint32_t _cf = 0; 583 int _df = 1; 584 uint32_t _flag_k = FK_NONE; 585 uint32_t _flag_a = 0, _flag_b = 0; 586 uint32_t _itail_tgt = 0; 587 RECOMP_REGS_LOCALS 588 RECOMP_ENTER(0x2B08E240u); 589 590 L_2B08E240: 591 PUSH32(esp, ebx); /* 0x2B08E240: push ebx */ 592 PUSH32(esp, esi); /* 0x2B08E241: push esi */ 593 PUSH32(esp, edi); /* 0x2B08E242: push edi */ 594 edi = ecx; /* 0x2B08E243: mov edi, ecx */ 595 ebx = MEM32(edi + 0x8); /* 0x2B08E245: mov ebx, dword ptr [edi + 8] */ 596 esi = MEM32(edi + 0x4); /* 0x2B08E248: mov esi, dword ptr [edi + 4] */ 597 /* cmp esi, ebx */ /* 0x2B08E24B: cmp esi, ebx */ 598 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 600 _flag_k = FK_CMP; 601 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E25D; /* 0x2B08E24D: je 0x2b08e25d */ 602 L_2B08E24F: 603 ecx = esi; /* 0x2B08E24F: mov ecx, esi */ 604 RECOMP_ICALL(0x2B015C40u); /* 0x2B08E251: call 0x2b015c40 */ /* not lifted */ 605 RECOMP_FLAGS_IN(); 606 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 608 esi = esi + 0x34u; /* 0x2B08E256: add esi, 0x34 */ 609 _flag_k = FK_ADD; 610 /* cmp esi, ebx */ /* 0x2B08E259: cmp esi, ebx */ 611 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 613 _flag_k = FK_CMP; 614 RECOMP_BACKEDGE(); 615 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E24F; /* 0x2B08E25B: jne 0x2b08e24f */ 616 L_2B08E25D: 617 eax = MEM32(edi + 0x4); /* 0x2B08E25D: mov eax, dword ptr [edi + 4] */ 618 PUSH32(esp, eax); /* 0x2B08E260: push eax */ 619 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08E261: call 0x2b0ab1ba */ /* not lifted */ 620 RECOMP_FLAGS_IN(); 621 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 622 eax = 0; /* 0x2B08E266: xor eax, eax */ 623 _cf = 0; 624 _flag_k = FK_TEST; 625 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 627 esp = esp + 4; /* 0x2B08E268: add esp, 4 */ 628 _flag_k = FK_ADD; 629 MEM32(edi + 0x4) = eax; /* 0x2B08E26B: mov dword ptr [edi + 4], eax */ 630 MEM32(edi + 0x8) = eax; /* 0x2B08E26E: mov dword ptr [edi + 8], eax */ 631 MEM32(edi + 0xC) = eax; /* 0x2B08E271: mov dword ptr [edi + 0xc], eax */ 632 edi = POP32_VAL(esp); /* 0x2B08E274: pop edi */ 633 esi = POP32_VAL(esp); /* 0x2B08E275: pop esi */ 634 ebx = POP32_VAL(esp); /* 0x2B08E276: pop ebx */ 635 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08E277: ret */ 636 RECOMP_REGS_OUT(); 637 } 638 639 void sub_2B08E280(void) { 640 int _fpu_cmp = 0; 641 uint32_t _cf = 0; 642 int _df = 1; 643 uint32_t _flag_k = FK_NONE; 644 uint32_t _flag_a = 0, _flag_b = 0; 645 uint32_t _itail_tgt = 0; 646 RECOMP_REGS_LOCALS 647 RECOMP_ENTER(0x2B08E280u); 648 649 L_2B08E280: 650 PUSH32(esp, ebp); /* 0x2B08E280: push ebp */ 651 ebp = esp; /* 0x2B08E281: mov ebp, esp */ 652 PUSH32(esp, 0x40u); /* 0x2B08E283: push 0x40 */ 653 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08E285: call 0x2b0ab212 */ /* not lifted */ 654 RECOMP_FLAGS_IN(); 655 ecx = MEM32(ebp + 0x8); /* 0x2B08E28A: mov ecx, dword ptr [ebp + 8] */ 656 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 657 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 658 esp = esp + 4; /* 0x2B08E28D: add esp, 4 */ 659 _flag_k = FK_ADD; 660 /* test ecx, ecx */ /* 0x2B08E290: test ecx, ecx */ 661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 662 _cf = 0; 663 _flag_k = FK_TEST; 664 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E296; /* 0x2B08E292: jne 0x2b08e296 */ 665 L_2B08E294: 666 ecx = eax; /* 0x2B08E294: mov ecx, eax */ 667 L_2B08E296: 668 MEM32(eax) = ecx; /* 0x2B08E296: mov dword ptr [eax], ecx */ 669 ecx = MEM32(ebp + 0xC); /* 0x2B08E298: mov ecx, dword ptr [ebp + 0xc] */ 670 /* test ecx, ecx */ /* 0x2B08E29B: test ecx, ecx */ 671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 672 _cf = 0; 673 _flag_k = FK_TEST; 674 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E2A6; /* 0x2B08E29D: je 0x2b08e2a6 */ 675 L_2B08E29F: 676 MEM32(eax + 0x4) = ecx; /* 0x2B08E29F: mov dword ptr [eax + 4], ecx */ 677 ebp = POP32_VAL(esp); /* 0x2B08E2A2: pop ebp */ 678 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B08E2A3: ret 8 */ 679 L_2B08E2A6: 680 MEM32(eax + 0x4) = eax; /* 0x2B08E2A6: mov dword ptr [eax + 4], eax */ 681 ebp = POP32_VAL(esp); /* 0x2B08E2A9: pop ebp */ 682 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B08E2AA: ret 8 */ 683 RECOMP_REGS_OUT(); 684 } 685 686 void sub_2B08E2B0(void) { 687 int _fpu_cmp = 0; 688 uint32_t _cf = 0; 689 int _df = 1; 690 uint32_t _flag_k = FK_NONE; 691 uint32_t _flag_a = 0, _flag_b = 0; 692 uint32_t _itail_tgt = 0; 693 RECOMP_REGS_LOCALS 694 RECOMP_ENTER(0x2B08E2B0u); 695 696 L_2B08E2B0: 697 PUSH32(esp, ebp); /* 0x2B08E2B0: push ebp */ 698 ebp = esp; /* 0x2B08E2B1: mov ebp, esp */ 699 PUSH32(esp, ebx); /* 0x2B08E2B3: push ebx */ 700 ebx = MEM32(ebp + 0xC); /* 0x2B08E2B4: mov ebx, dword ptr [ebp + 0xc] */ 701 PUSH32(esp, esi); /* 0x2B08E2B7: push esi */ 702 esi = MEM32(ebp + 0x8); /* 0x2B08E2B8: mov esi, dword ptr [ebp + 8] */ 703 /* cmp esi, ebx */ /* 0x2B08E2BB: cmp esi, ebx */ 704 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 706 _flag_k = FK_CMP; 707 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E2E0; /* 0x2B08E2BD: je 0x2b08e2e0 */ 708 L_2B08E2BF: 709 PUSH32(esp, edi); /* 0x2B08E2BF: push edi */ 710 edi = MEM32(ebp + 0x10); /* 0x2B08E2C0: mov edi, dword ptr [ebp + 0x10] */ 711 L_2B08E2C3: 712 PUSH32(esp, esi); /* 0x2B08E2C3: push esi */ 713 PUSH32(esp, edi); /* 0x2B08E2C4: push edi */ 714 RECOMP_ICALL(0x2B08E930u); /* 0x2B08E2C5: call 0x2b08e930 */ /* not lifted */ 715 RECOMP_FLAGS_IN(); 716 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 717 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 718 esi = esi + 0x14u; /* 0x2B08E2CA: add esi, 0x14 */ 719 _flag_k = FK_ADD; 720 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 722 esp = esp + 8; /* 0x2B08E2CD: add esp, 8 */ 723 _flag_k = FK_ADD; 724 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 726 edi = edi + 0x14u; /* 0x2B08E2D0: add edi, 0x14 */ 727 _flag_k = FK_ADD; 728 /* cmp esi, ebx */ /* 0x2B08E2D3: cmp esi, ebx */ 729 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 731 _flag_k = FK_CMP; 732 RECOMP_BACKEDGE(); 733 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E2C3; /* 0x2B08E2D5: jne 0x2b08e2c3 */ 734 L_2B08E2D7: 735 eax = edi; /* 0x2B08E2D7: mov eax, edi */ 736 edi = POP32_VAL(esp); /* 0x2B08E2D9: pop edi */ 737 esi = POP32_VAL(esp); /* 0x2B08E2DA: pop esi */ 738 ebx = POP32_VAL(esp); /* 0x2B08E2DB: pop ebx */ 739 ebp = POP32_VAL(esp); /* 0x2B08E2DC: pop ebp */ 740 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B08E2DD: ret 0xc */ 741 L_2B08E2E0: 742 eax = MEM32(ebp + 0x10); /* 0x2B08E2E0: mov eax, dword ptr [ebp + 0x10] */ 743 esi = POP32_VAL(esp); /* 0x2B08E2E3: pop esi */ 744 ebx = POP32_VAL(esp); /* 0x2B08E2E4: pop ebx */ 745 ebp = POP32_VAL(esp); /* 0x2B08E2E5: pop ebp */ 746 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B08E2E6: ret 0xc */ 747 RECOMP_REGS_OUT(); 748 } 749 750 void sub_2B08E2F0(void) { 751 int _fpu_cmp = 0; 752 uint32_t _cf = 0; 753 int _df = 1; 754 uint32_t _flag_k = FK_NONE; 755 uint32_t _flag_a = 0, _flag_b = 0; 756 uint32_t _itail_tgt = 0; 757 RECOMP_REGS_LOCALS 758 RECOMP_ENTER(0x2B08E2F0u); 759 760 L_2B08E2F0: 761 PUSH32(esp, ebp); /* 0x2B08E2F0: push ebp */ 762 ebp = esp; /* 0x2B08E2F1: mov ebp, esp */ 763 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 765 esp = esp - 0x10u; /* 0x2B08E2F3: sub esp, 0x10 */ 766 _flag_k = FK_CMP; 767 edx = MEM32(ecx + 0xC); /* 0x2B08E2F6: mov edx, dword ptr [ecx + 0xc] */ 768 PUSH32(esp, ebx); /* 0x2B08E2F9: push ebx */ 769 PUSH32(esp, esi); /* 0x2B08E2FA: push esi */ 770 esi = MEM32(ebp + 0xC); /* 0x2B08E2FB: mov esi, dword ptr [ebp + 0xc] */ 771 PUSH32(esp, edi); /* 0x2B08E2FE: push edi */ 772 edi = MEM32(ecx + 0x8); /* 0x2B08E2FF: mov edi, dword ptr [ecx + 8] */ 773 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 775 edx = edx - edi; /* 0x2B08E302: sub edx, edi */ 776 _flag_k = FK_CMP; 777 eax = 0x4EC4EC4Fu; /* 0x2B08E304: mov eax, 0x4ec4ec4f */ 778 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B08E309: imul edx */ 779 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 780 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 781 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E30B: sar edx, 4 */ 782 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 783 edx = (uint32_t)((int32_t)edx >> 4u); 784 eax = edx; /* 0x2B08E30E: mov eax, edx */ 785 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E310: shr eax, 0x1f */ 786 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 787 eax = eax >> 31u; /* 0x2B08E310: shr eax, 0x1f */ 788 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 790 edx = edx + eax; /* 0x2B08E313: add edx, eax */ 791 _flag_k = FK_ADD; 792 /* cmp edx, esi */ /* 0x2B08E315: cmp edx, esi */ 793 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 795 _flag_k = FK_CMP; 796 MEM32(ebp + (-0x4)) = ecx; /* 0x2B08E317: mov dword ptr [ebp - 4], ecx */ 797 if (CMP_AE(_flag_a, _flag_b)) goto L_2B08E486; /* 0x2B08E31A: jae 0x2b08e486 */ 798 L_2B08E320: 799 ecx = MEM32(ecx + 0x4); /* 0x2B08E320: mov ecx, dword ptr [ecx + 4] */ 800 /* test ecx, ecx */ /* 0x2B08E323: test ecx, ecx */ 801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 802 _cf = 0; 803 _flag_k = FK_TEST; 804 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E342; /* 0x2B08E325: je 0x2b08e342 */ 805 L_2B08E327: 806 edx = edi; /* 0x2B08E327: mov edx, edi */ 807 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 809 edx = edx - ecx; /* 0x2B08E329: sub edx, ecx */ 810 _flag_k = FK_CMP; 811 eax = 0x4EC4EC4Fu; /* 0x2B08E32B: mov eax, 0x4ec4ec4f */ 812 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B08E330: imul edx */ 813 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 814 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 815 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E332: sar edx, 4 */ 816 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 817 edx = (uint32_t)((int32_t)edx >> 4u); 818 eax = edx; /* 0x2B08E335: mov eax, edx */ 819 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E337: shr eax, 0x1f */ 820 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 821 eax = eax >> 31u; /* 0x2B08E337: shr eax, 0x1f */ 822 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 823 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 824 edx = edx + eax; /* 0x2B08E33A: add edx, eax */ 825 _flag_k = FK_ADD; 826 /* cmp esi, edx */ /* 0x2B08E33C: cmp esi, edx */ 827 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 829 _flag_k = FK_CMP; 830 ebx = edx; /* 0x2B08E33E: mov ebx, edx */ 831 if (CMP_B(_flag_a, _flag_b)) goto L_2B08E344; /* 0x2B08E340: jb 0x2b08e344 */ 832 L_2B08E342: 833 ebx = esi; /* 0x2B08E342: mov ebx, esi */ 834 L_2B08E344: 835 /* test ecx, ecx */ /* 0x2B08E344: test ecx, ecx */ 836 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 837 _cf = 0; 838 _flag_k = FK_TEST; 839 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E34C; /* 0x2B08E346: jne 0x2b08e34c */ 840 L_2B08E348: 841 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 842 edx = 0; /* 0x2B08E348: xor edx, edx */ 843 _cf = 0; 844 _flag_k = FK_TEST; 845 goto L_2B08E35F; /* 0x2B08E34A: jmp 0x2b08e35f */ 846 L_2B08E34C: 847 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 849 edi = edi - ecx; /* 0x2B08E34C: sub edi, ecx */ 850 _flag_k = FK_CMP; 851 eax = 0x4EC4EC4Fu; /* 0x2B08E34E: mov eax, 0x4ec4ec4f */ 852 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edi); /* 0x2B08E353: imul edi */ 853 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 854 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 855 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E355: sar edx, 4 */ 856 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 857 edx = (uint32_t)((int32_t)edx >> 4u); 858 ecx = edx; /* 0x2B08E358: mov ecx, edx */ 859 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B08E35A: shr ecx, 0x1f */ 860 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 861 ecx = ecx >> 31u; /* 0x2B08E35A: shr ecx, 0x1f */ 862 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 863 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 864 edx = edx + ecx; /* 0x2B08E35D: add edx, ecx */ 865 _flag_k = FK_ADD; 866 L_2B08E35F: 867 eax = edx + ebx; /* 0x2B08E35F: lea eax, [edx + ebx] */ 868 /* test eax, eax */ /* 0x2B08E362: test eax, eax */ 869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 870 _cf = 0; 871 _flag_k = FK_TEST; 872 MEM32(ebp + (-0xC)) = eax; /* 0x2B08E364: mov dword ptr [ebp - 0xc], eax */ 873 if (TEST_NS(_flag_a, _flag_b)) goto L_2B08E36B; /* 0x2B08E367: jge 0x2b08e36b */ 874 L_2B08E369: 875 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 876 eax = 0; /* 0x2B08E369: xor eax, eax */ 877 _cf = 0; 878 _flag_k = FK_TEST; 879 L_2B08E36B: 880 edx = eax + eax * 2; /* 0x2B08E36B: lea edx, [eax + eax*2] */ 881 eax = eax + edx * 4; /* 0x2B08E36E: lea eax, [eax + edx*4] */ 882 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E371: shl eax, 2 */ 883 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 884 eax = eax << 2u; /* 0x2B08E371: shl eax, 2 */ 885 PUSH32(esp, eax); /* 0x2B08E374: push eax */ 886 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08E375: call 0x2b0ab212 */ /* not lifted */ 887 RECOMP_FLAGS_IN(); 888 ebx = MEM32(ebp + (-0x4)); /* 0x2B08E37A: mov ebx, dword ptr [ebp - 4] */ 889 edi = MEM32(ebx + 0x4); /* 0x2B08E37D: mov edi, dword ptr [ebx + 4] */ 890 MEM32(ebp + (-0x10)) = eax; /* 0x2B08E380: mov dword ptr [ebp - 0x10], eax */ 891 MEM32(ebp + 0xC) = eax; /* 0x2B08E383: mov dword ptr [ebp + 0xc], eax */ 892 eax = MEM32(ebp + 0x8); /* 0x2B08E386: mov eax, dword ptr [ebp + 8] */ 893 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 894 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 895 esp = esp + 4; /* 0x2B08E389: add esp, 4 */ 896 _flag_k = FK_ADD; 897 /* cmp edi, eax */ /* 0x2B08E38C: cmp edi, eax */ 898 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 900 _flag_k = FK_CMP; 901 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E3B0; /* 0x2B08E38E: je 0x2b08e3b0 */ 902 L_2B08E390: 903 ecx = MEM32(ebp + 0xC); /* 0x2B08E390: mov ecx, dword ptr [ebp + 0xc] */ 904 PUSH32(esp, edi); /* 0x2B08E393: push edi */ 905 PUSH32(esp, ecx); /* 0x2B08E394: push ecx */ 906 RECOMP_ICALL(0x2B08E980u); /* 0x2B08E395: call 0x2b08e980 */ /* not lifted */ 907 RECOMP_FLAGS_IN(); 908 edx = MEM32(ebp + 0xC); /* 0x2B08E39A: mov edx, dword ptr [ebp + 0xc] */ 909 eax = MEM32(ebp + 0x8); /* 0x2B08E39D: mov eax, dword ptr [ebp + 8] */ 910 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x34u); 911 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 912 edx = edx + 0x34u; /* 0x2B08E3A0: add edx, 0x34 */ 913 _flag_k = FK_ADD; 914 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 916 edi = edi + 0x34u; /* 0x2B08E3A3: add edi, 0x34 */ 917 _flag_k = FK_ADD; 918 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 920 esp = esp + 8; /* 0x2B08E3A6: add esp, 8 */ 921 _flag_k = FK_ADD; 922 /* cmp edi, eax */ /* 0x2B08E3A9: cmp edi, eax */ 923 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 925 _flag_k = FK_CMP; 926 MEM32(ebp + 0xC) = edx; /* 0x2B08E3AB: mov dword ptr [ebp + 0xc], edx */ 927 RECOMP_BACKEDGE(); 928 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E390; /* 0x2B08E3AE: jne 0x2b08e390 */ 929 L_2B08E3B0: 930 /* test esi, esi */ /* 0x2B08E3B0: test esi, esi */ 931 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 932 _cf = 0; 933 _flag_k = FK_TEST; 934 edi = MEM32(ebp + 0xC); /* 0x2B08E3B2: mov edi, dword ptr [ebp + 0xc] */ 935 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E3D3; /* 0x2B08E3B5: jbe 0x2b08e3d3 */ 936 L_2B08E3B7: 937 MEM32(ebp + (-0x8)) = esi; /* 0x2B08E3B7: mov dword ptr [ebp - 8], esi */ 938 L_2B08E3BA: 939 edx = MEM32(ebp + 0x10); /* 0x2B08E3BA: mov edx, dword ptr [ebp + 0x10] */ 940 PUSH32(esp, edx); /* 0x2B08E3BD: push edx */ 941 PUSH32(esp, edi); /* 0x2B08E3BE: push edi */ 942 RECOMP_ICALL(0x2B08E980u); /* 0x2B08E3BF: call 0x2b08e980 */ /* not lifted */ 943 RECOMP_FLAGS_IN(); 944 eax = MEM32(ebp + (-0x8)); /* 0x2B08E3C4: mov eax, dword ptr [ebp - 8] */ 945 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 946 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 947 esp = esp + 8; /* 0x2B08E3C7: add esp, 8 */ 948 _flag_k = FK_ADD; 949 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 950 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 951 edi = edi + 0x34u; /* 0x2B08E3CA: add edi, 0x34 */ 952 _flag_k = FK_ADD; 953 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 954 eax = eax - 1; /* 0x2B08E3CD: dec eax */ 955 _flag_k = FK_DEC; 956 MEM32(ebp + (-0x8)) = eax; /* 0x2B08E3CE: mov dword ptr [ebp - 8], eax */ 957 RECOMP_BACKEDGE(); 958 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B08E3BA; /* 0x2B08E3D1: jne 0x2b08e3ba */ 959 L_2B08E3D3: 960 edi = MEM32(ebp + 0x8); /* 0x2B08E3D3: mov edi, dword ptr [ebp + 8] */ 961 edx = MEM32(ebp + 0xC); /* 0x2B08E3D6: mov edx, dword ptr [ebp + 0xc] */ 962 eax = esi + esi * 2; /* 0x2B08E3D9: lea eax, [esi + esi*2] */ 963 ecx = esi + eax * 4; /* 0x2B08E3DC: lea ecx, [esi + eax*4] */ 964 eax = MEM32(ebx + 0x8); /* 0x2B08E3DF: mov eax, dword ptr [ebx + 8] */ 965 /* cmp edi, eax */ /* 0x2B08E3E2: cmp edi, eax */ 966 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 968 _flag_k = FK_CMP; 969 ecx = edx + ecx * 4; /* 0x2B08E3E4: lea ecx, [edx + ecx*4] */ 970 MEM32(ebp + 0x10) = eax; /* 0x2B08E3E7: mov dword ptr [ebp + 0x10], eax */ 971 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E40F; /* 0x2B08E3EA: je 0x2b08e40f */ 972 L_2B08E3EC: 973 MEM32(ebp + 0x8) = ecx; /* 0x2B08E3EC: mov dword ptr [ebp + 8], ecx */ 974 L_2B08E3EF: 975 eax = MEM32(ebp + 0x8); /* 0x2B08E3EF: mov eax, dword ptr [ebp + 8] */ 976 PUSH32(esp, edi); /* 0x2B08E3F2: push edi */ 977 PUSH32(esp, eax); /* 0x2B08E3F3: push eax */ 978 RECOMP_ICALL(0x2B08E980u); /* 0x2B08E3F4: call 0x2b08e980 */ /* not lifted */ 979 RECOMP_FLAGS_IN(); 980 ecx = MEM32(ebp + 0x8); /* 0x2B08E3F9: mov ecx, dword ptr [ebp + 8] */ 981 eax = MEM32(ebp + 0x10); /* 0x2B08E3FC: mov eax, dword ptr [ebp + 0x10] */ 982 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 983 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 984 edi = edi + 0x34u; /* 0x2B08E3FF: add edi, 0x34 */ 985 _flag_k = FK_ADD; 986 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x34u); 987 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 988 ecx = ecx + 0x34u; /* 0x2B08E402: add ecx, 0x34 */ 989 _flag_k = FK_ADD; 990 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 991 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 992 esp = esp + 8; /* 0x2B08E405: add esp, 8 */ 993 _flag_k = FK_ADD; 994 /* cmp edi, eax */ /* 0x2B08E408: cmp edi, eax */ 995 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 997 _flag_k = FK_CMP; 998 MEM32(ebp + 0x8) = ecx; /* 0x2B08E40A: mov dword ptr [ebp + 8], ecx */ 999 RECOMP_BACKEDGE(); 1000 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E3EF; /* 0x2B08E40D: jne 0x2b08e3ef */ 1001 L_2B08E40F: 1002 eax = MEM32(ebx + 0x8); /* 0x2B08E40F: mov eax, dword ptr [ebx + 8] */ 1003 edi = MEM32(ebx + 0x4); /* 0x2B08E412: mov edi, dword ptr [ebx + 4] */ 1004 /* cmp edi, eax */ /* 0x2B08E415: cmp edi, eax */ 1005 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1007 _flag_k = FK_CMP; 1008 MEM32(ebp + 0x8) = eax; /* 0x2B08E417: mov dword ptr [ebp + 8], eax */ 1009 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E42D; /* 0x2B08E41A: je 0x2b08e42d */ 1010 L_2B08E41C: 1011 ecx = edi; /* 0x2B08E41C: mov ecx, edi */ 1012 RECOMP_ICALL(0x2B015C40u); /* 0x2B08E41E: call 0x2b015c40 */ /* not lifted */ 1013 RECOMP_FLAGS_IN(); 1014 eax = MEM32(ebp + 0x8); /* 0x2B08E423: mov eax, dword ptr [ebp + 8] */ 1015 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 1016 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1017 edi = edi + 0x34u; /* 0x2B08E426: add edi, 0x34 */ 1018 _flag_k = FK_ADD; 1019 /* cmp edi, eax */ /* 0x2B08E429: cmp edi, eax */ 1020 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1022 _flag_k = FK_CMP; 1023 RECOMP_BACKEDGE(); 1024 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E41C; /* 0x2B08E42B: jne 0x2b08e41c */ 1025 L_2B08E42D: 1026 ecx = MEM32(ebx + 0x4); /* 0x2B08E42D: mov ecx, dword ptr [ebx + 4] */ 1027 PUSH32(esp, ecx); /* 0x2B08E430: push ecx */ 1028 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08E431: call 0x2b0ab1ba */ /* not lifted */ 1029 RECOMP_FLAGS_IN(); 1030 eax = MEM32(ebp + (-0xC)); /* 0x2B08E436: mov eax, dword ptr [ebp - 0xc] */ 1031 edi = MEM32(ebp + (-0x10)); /* 0x2B08E439: mov edi, dword ptr [ebp - 0x10] */ 1032 edx = eax + eax * 2; /* 0x2B08E43C: lea edx, [eax + eax*2] */ 1033 eax = eax + edx * 4; /* 0x2B08E43F: lea eax, [eax + edx*4] */ 1034 ecx = edi + eax * 4; /* 0x2B08E442: lea ecx, [edi + eax*4] */ 1035 eax = MEM32(ebx + 0x4); /* 0x2B08E445: mov eax, dword ptr [ebx + 4] */ 1036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1038 esp = esp + 4; /* 0x2B08E448: add esp, 4 */ 1039 _flag_k = FK_ADD; 1040 /* test eax, eax */ /* 0x2B08E44B: test eax, eax */ 1041 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1042 _cf = 0; 1043 _flag_k = FK_TEST; 1044 MEM32(ebx + 0xC) = ecx; /* 0x2B08E44D: mov dword ptr [ebx + 0xc], ecx */ 1045 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E456; /* 0x2B08E450: jne 0x2b08e456 */ 1046 L_2B08E452: 1047 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1048 edx = 0; /* 0x2B08E452: xor edx, edx */ 1049 _cf = 0; 1050 _flag_k = FK_TEST; 1051 goto L_2B08E46C; /* 0x2B08E454: jmp 0x2b08e46c */ 1052 L_2B08E456: 1053 ecx = MEM32(ebx + 0x8); /* 0x2B08E456: mov ecx, dword ptr [ebx + 8] */ 1054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1056 ecx = ecx - eax; /* 0x2B08E459: sub ecx, eax */ 1057 _flag_k = FK_CMP; 1058 eax = 0x4EC4EC4Fu; /* 0x2B08E45B: mov eax, 0x4ec4ec4f */ 1059 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B08E460: imul ecx */ 1060 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1061 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1062 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E462: sar edx, 4 */ 1063 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1064 edx = (uint32_t)((int32_t)edx >> 4u); 1065 eax = edx; /* 0x2B08E465: mov eax, edx */ 1066 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E467: shr eax, 0x1f */ 1067 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1068 eax = eax >> 31u; /* 0x2B08E467: shr eax, 0x1f */ 1069 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1070 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1071 edx = edx + eax; /* 0x2B08E46A: add edx, eax */ 1072 _flag_k = FK_ADD; 1073 L_2B08E46C: 1074 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1075 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1076 esi = esi + edx; /* 0x2B08E46C: add esi, edx */ 1077 _flag_k = FK_ADD; 1078 ecx = esi + esi * 2; /* 0x2B08E46E: lea ecx, [esi + esi*2] */ 1079 edx = esi + ecx * 4; /* 0x2B08E471: lea edx, [esi + ecx*4] */ 1080 eax = edi + edx * 4; /* 0x2B08E474: lea eax, [edi + edx*4] */ 1081 MEM32(ebx + 0x4) = edi; /* 0x2B08E477: mov dword ptr [ebx + 4], edi */ 1082 edi = POP32_VAL(esp); /* 0x2B08E47A: pop edi */ 1083 esi = POP32_VAL(esp); /* 0x2B08E47B: pop esi */ 1084 MEM32(ebx + 0x8) = eax; /* 0x2B08E47C: mov dword ptr [ebx + 8], eax */ 1085 ebx = POP32_VAL(esp); /* 0x2B08E47F: pop ebx */ 1086 esp = ebp; /* 0x2B08E480: mov esp, ebp */ 1087 ebp = POP32_VAL(esp); /* 0x2B08E482: pop ebp */ 1088 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B08E483: ret 0xc */ 1089 L_2B08E486: 1090 ebx = MEM32(ebp + 0x8); /* 0x2B08E486: mov ebx, dword ptr [ebp + 8] */ 1091 edx = edi; /* 0x2B08E489: mov edx, edi */ 1092 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 1093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1094 edx = edx - ebx; /* 0x2B08E48B: sub edx, ebx */ 1095 _flag_k = FK_CMP; 1096 eax = 0x4EC4EC4Fu; /* 0x2B08E48D: mov eax, 0x4ec4ec4f */ 1097 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B08E492: imul edx */ 1098 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1099 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1100 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E494: sar edx, 4 */ 1101 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1102 edx = (uint32_t)((int32_t)edx >> 4u); 1103 eax = edx; /* 0x2B08E497: mov eax, edx */ 1104 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E499: shr eax, 0x1f */ 1105 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1106 eax = eax >> 31u; /* 0x2B08E499: shr eax, 0x1f */ 1107 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1109 edx = edx + eax; /* 0x2B08E49C: add edx, eax */ 1110 _flag_k = FK_ADD; 1111 /* cmp edx, esi */ /* 0x2B08E49E: cmp edx, esi */ 1112 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1114 _flag_k = FK_CMP; 1115 if (CMP_AE(_flag_a, _flag_b)) goto L_2B08E5A0; /* 0x2B08E4A0: jae 0x2b08e5a0 */ 1116 L_2B08E4A6: 1117 edx = esi + esi * 2; /* 0x2B08E4A6: lea edx, [esi + esi*2] */ 1118 eax = esi + edx * 4; /* 0x2B08E4A9: lea eax, [esi + edx*4] */ 1119 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E4AC: shl eax, 2 */ 1120 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1121 eax = eax << 2u; /* 0x2B08E4AC: shl eax, 2 */ 1122 MEM32(ebp + 0xC) = eax; /* 0x2B08E4AF: mov dword ptr [ebp + 0xc], eax */ 1123 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1124 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1125 eax = eax + ebx; /* 0x2B08E4B2: add eax, ebx */ 1126 _flag_k = FK_ADD; 1127 /* cmp ebx, edi */ /* 0x2B08E4B4: cmp ebx, edi */ 1128 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 1129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1130 _flag_k = FK_CMP; 1131 MEM32(ebp + 0x8) = ebx; /* 0x2B08E4B6: mov dword ptr [ebp + 8], ebx */ 1132 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E4E7; /* 0x2B08E4B9: je 0x2b08e4e7 */ 1133 L_2B08E4BB: 1134 MEM32(ebp + (-0x8)) = eax; /* 0x2B08E4BB: mov dword ptr [ebp - 8], eax */ 1135 L_2B08E4BE: 1136 eax = MEM32(ebp + 0x8); /* 0x2B08E4BE: mov eax, dword ptr [ebp + 8] */ 1137 ecx = MEM32(ebp + (-0x8)); /* 0x2B08E4C1: mov ecx, dword ptr [ebp - 8] */ 1138 PUSH32(esp, eax); /* 0x2B08E4C4: push eax */ 1139 PUSH32(esp, ecx); /* 0x2B08E4C5: push ecx */ 1140 RECOMP_ICALL(0x2B08E980u); /* 0x2B08E4C6: call 0x2b08e980 */ /* not lifted */ 1141 RECOMP_FLAGS_IN(); 1142 eax = MEM32(ebp + 0x8); /* 0x2B08E4CB: mov eax, dword ptr [ebp + 8] */ 1143 edx = MEM32(ebp + (-0x8)); /* 0x2B08E4CE: mov edx, dword ptr [ebp - 8] */ 1144 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x34u); 1145 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1146 eax = eax + 0x34u; /* 0x2B08E4D1: add eax, 0x34 */ 1147 _flag_k = FK_ADD; 1148 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x34u); 1149 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1150 edx = edx + 0x34u; /* 0x2B08E4D4: add edx, 0x34 */ 1151 _flag_k = FK_ADD; 1152 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1153 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1154 esp = esp + 8; /* 0x2B08E4D7: add esp, 8 */ 1155 _flag_k = FK_ADD; 1156 /* cmp eax, edi */ /* 0x2B08E4DA: cmp eax, edi */ 1157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1159 _flag_k = FK_CMP; 1160 MEM32(ebp + 0x8) = eax; /* 0x2B08E4DC: mov dword ptr [ebp + 8], eax */ 1161 MEM32(ebp + (-0x8)) = edx; /* 0x2B08E4DF: mov dword ptr [ebp - 8], edx */ 1162 RECOMP_BACKEDGE(); 1163 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E4BE; /* 0x2B08E4E2: jne 0x2b08e4be */ 1164 L_2B08E4E4: 1165 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E4E4: mov ecx, dword ptr [ebp - 4] */ 1166 L_2B08E4E7: 1167 edi = MEM32(ecx + 0x8); /* 0x2B08E4E7: mov edi, dword ptr [ecx + 8] */ 1168 edx = edi; /* 0x2B08E4EA: mov edx, edi */ 1169 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 1170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1171 edx = edx - ebx; /* 0x2B08E4EC: sub edx, ebx */ 1172 _flag_k = FK_CMP; 1173 eax = 0x4EC4EC4Fu; /* 0x2B08E4EE: mov eax, 0x4ec4ec4f */ 1174 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B08E4F3: imul edx */ 1175 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 1176 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 1177 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B08E4F5: sar edx, 4 */ 1178 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1179 edx = (uint32_t)((int32_t)edx >> 4u); 1180 eax = edx; /* 0x2B08E4F8: mov eax, edx */ 1181 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08E4FA: shr eax, 0x1f */ 1182 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1183 eax = eax >> 31u; /* 0x2B08E4FA: shr eax, 0x1f */ 1184 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1185 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1186 edx = edx + eax; /* 0x2B08E4FD: add edx, eax */ 1187 _flag_k = FK_ADD; 1188 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1190 esi = esi - edx; /* 0x2B08E4FF: sub esi, edx */ 1191 _flag_k = FK_CMP; 1192 eax = esi; /* 0x2B08E501: mov eax, esi */ 1193 esi = edi; /* 0x2B08E503: mov esi, edi */ 1194 edi = MEM32(ebp + 0x10); /* 0x2B08E505: mov edi, dword ptr [ebp + 0x10] */ 1195 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B08E526; /* 0x2B08E508: je 0x2b08e526 */ 1196 L_2B08E50A: 1197 MEM32(ebp + 0x8) = eax; /* 0x2B08E50A: mov dword ptr [ebp + 8], eax */ 1198 L_2B08E50D: 1199 PUSH32(esp, edi); /* 0x2B08E50D: push edi */ 1200 PUSH32(esp, esi); /* 0x2B08E50E: push esi */ 1201 RECOMP_ICALL(0x2B08E980u); /* 0x2B08E50F: call 0x2b08e980 */ /* not lifted */ 1202 RECOMP_FLAGS_IN(); 1203 eax = MEM32(ebp + 0x8); /* 0x2B08E514: mov eax, dword ptr [ebp + 8] */ 1204 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1205 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1206 esp = esp + 8; /* 0x2B08E517: add esp, 8 */ 1207 _flag_k = FK_ADD; 1208 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 1209 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1210 esi = esi + 0x34u; /* 0x2B08E51A: add esi, 0x34 */ 1211 _flag_k = FK_ADD; 1212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1213 eax = eax - 1; /* 0x2B08E51D: dec eax */ 1214 _flag_k = FK_DEC; 1215 MEM32(ebp + 0x8) = eax; /* 0x2B08E51E: mov dword ptr [ebp + 8], eax */ 1216 RECOMP_BACKEDGE(); 1217 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B08E50D; /* 0x2B08E521: jne 0x2b08e50d */ 1218 L_2B08E523: 1219 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E523: mov ecx, dword ptr [ebp - 4] */ 1220 L_2B08E526: 1221 eax = MEM32(ecx + 0x8); /* 0x2B08E526: mov eax, dword ptr [ecx + 8] */ 1222 /* cmp ebx, eax */ /* 0x2B08E529: cmp ebx, eax */ 1223 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 1224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1225 _flag_k = FK_CMP; 1226 MEM32(ebp + 0x8) = eax; /* 0x2B08E52B: mov dword ptr [ebp + 8], eax */ 1227 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E58C; /* 0x2B08E52E: je 0x2b08e58c */ 1228 L_2B08E530: 1229 esi = ebx + 0x20; /* 0x2B08E530: lea esi, [ebx + 0x20] */ 1230 L_2B08E533: 1231 ecx = MEM32(0x2B0B515C); /* 0x2B08E533: mov ecx, dword ptr [0x2b0b515c] */ 1232 edx = MEM32(ecx); /* 0x2B08E539: mov edx, dword ptr [ecx] */ 1233 PUSH32(esp, edx); /* 0x2B08E53B: push edx */ 1234 PUSH32(esp, 0); /* 0x2B08E53C: push 0 */ 1235 PUSH32(esp, edi); /* 0x2B08E53E: push edi */ 1236 ecx = esi + (-0x20); /* 0x2B08E53F: lea ecx, [esi - 0x20] */ 1237 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E542: call dword ptr [0x2b0b5158] */ 1238 RECOMP_FLAGS_IN(); 1239 eax = MEM32(0x2B0B515C); /* 0x2B08E548: mov eax, dword ptr [0x2b0b515c] */ 1240 ecx = MEM32(eax); /* 0x2B08E54D: mov ecx, dword ptr [eax] */ 1241 PUSH32(esp, ecx); /* 0x2B08E54F: push ecx */ 1242 PUSH32(esp, 0); /* 0x2B08E550: push 0 */ 1243 eax = edi + 0x10; /* 0x2B08E552: lea eax, [edi + 0x10] */ 1244 PUSH32(esp, eax); /* 0x2B08E555: push eax */ 1245 ecx = esi + (-0x10); /* 0x2B08E556: lea ecx, [esi - 0x10] */ 1246 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E559: call dword ptr [0x2b0b5158] */ 1247 RECOMP_FLAGS_IN(); 1248 edx = MEM32(0x2B0B515C); /* 0x2B08E55F: mov edx, dword ptr [0x2b0b515c] */ 1249 eax = MEM32(edx); /* 0x2B08E565: mov eax, dword ptr [edx] */ 1250 PUSH32(esp, eax); /* 0x2B08E567: push eax */ 1251 PUSH32(esp, 0); /* 0x2B08E568: push 0 */ 1252 eax = edi + 0x20; /* 0x2B08E56A: lea eax, [edi + 0x20] */ 1253 PUSH32(esp, eax); /* 0x2B08E56D: push eax */ 1254 ecx = esi; /* 0x2B08E56E: mov ecx, esi */ 1255 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E570: call dword ptr [0x2b0b5158] */ 1256 RECOMP_FLAGS_IN(); 1257 SET_LO8(ecx, MEM8(edi + 0x30)); /* 0x2B08E576: mov cl, byte ptr [edi + 0x30] */ 1258 eax = MEM32(ebp + 0x8); /* 0x2B08E579: mov eax, dword ptr [ebp + 8] */ 1259 MEM8(esi + 0x10) = (uint8_t)(LO8(ecx)); /* 0x2B08E57C: mov byte ptr [esi + 0x10], cl */ 1260 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 1261 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1262 esi = esi + 0x34u; /* 0x2B08E57F: add esi, 0x34 */ 1263 _flag_k = FK_ADD; 1264 edx = esi + (-0x20); /* 0x2B08E582: lea edx, [esi - 0x20] */ 1265 /* cmp edx, eax */ /* 0x2B08E585: cmp edx, eax */ 1266 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1268 _flag_k = FK_CMP; 1269 RECOMP_BACKEDGE(); 1270 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E533; /* 0x2B08E587: jne 0x2b08e533 */ 1271 L_2B08E589: 1272 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E589: mov ecx, dword ptr [ebp - 4] */ 1273 L_2B08E58C: 1274 edx = MEM32(ecx + 0x8); /* 0x2B08E58C: mov edx, dword ptr [ecx + 8] */ 1275 eax = MEM32(ebp + 0xC); /* 0x2B08E58F: mov eax, dword ptr [ebp + 0xc] */ 1276 edi = POP32_VAL(esp); /* 0x2B08E592: pop edi */ 1277 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1278 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1279 edx = edx + eax; /* 0x2B08E593: add edx, eax */ 1280 _flag_k = FK_ADD; 1281 esi = POP32_VAL(esp); /* 0x2B08E595: pop esi */ 1282 MEM32(ecx + 0x8) = edx; /* 0x2B08E596: mov dword ptr [ecx + 8], edx */ 1283 ebx = POP32_VAL(esp); /* 0x2B08E599: pop ebx */ 1284 esp = ebp; /* 0x2B08E59A: mov esp, ebp */ 1285 ebp = POP32_VAL(esp); /* 0x2B08E59C: pop ebp */ 1286 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B08E59D: ret 0xc */ 1287 L_2B08E5A0: 1288 /* test esi, esi */ /* 0x2B08E5A0: test esi, esi */ 1289 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1290 _cf = 0; 1291 _flag_k = FK_TEST; 1292 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E6C9; /* 0x2B08E5A2: jbe 0x2b08e6c9 */ 1293 L_2B08E5A8: 1294 edx = esi + esi * 2; /* 0x2B08E5A8: lea edx, [esi + esi*2] */ 1295 edx = esi + edx * 4; /* 0x2B08E5AB: lea edx, [esi + edx*4] */ 1296 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B08E5AE: shl edx, 2 */ 1297 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1298 edx = edx << 2u; /* 0x2B08E5AE: shl edx, 2 */ 1299 esi = edi; /* 0x2B08E5B1: mov esi, edi */ 1300 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1302 esi = esi - edx; /* 0x2B08E5B3: sub esi, edx */ 1303 _flag_k = FK_CMP; 1304 /* cmp esi, edi */ /* 0x2B08E5B5: cmp esi, edi */ 1305 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1307 _flag_k = FK_CMP; 1308 MEM32(ebp + (-0x8)) = edi; /* 0x2B08E5B7: mov dword ptr [ebp - 8], edi */ 1309 MEM32(ebp + 0xC) = edx; /* 0x2B08E5BA: mov dword ptr [ebp + 0xc], edx */ 1310 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E5E2; /* 0x2B08E5BD: je 0x2b08e5e2 */ 1311 L_2B08E5BF: 1312 eax = MEM32(ebp + (-0x8)); /* 0x2B08E5BF: mov eax, dword ptr [ebp - 8] */ 1313 PUSH32(esp, esi); /* 0x2B08E5C2: push esi */ 1314 PUSH32(esp, eax); /* 0x2B08E5C3: push eax */ 1315 RECOMP_ICALL(0x2B08E980u); /* 0x2B08E5C4: call 0x2b08e980 */ /* not lifted */ 1316 RECOMP_FLAGS_IN(); 1317 edx = MEM32(ebp + (-0x8)); /* 0x2B08E5C9: mov edx, dword ptr [ebp - 8] */ 1318 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x34u); 1319 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1320 edx = edx + 0x34u; /* 0x2B08E5CC: add edx, 0x34 */ 1321 _flag_k = FK_ADD; 1322 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 1323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1324 esi = esi + 0x34u; /* 0x2B08E5CF: add esi, 0x34 */ 1325 _flag_k = FK_ADD; 1326 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1328 esp = esp + 8; /* 0x2B08E5D2: add esp, 8 */ 1329 _flag_k = FK_ADD; 1330 /* cmp esi, edi */ /* 0x2B08E5D5: cmp esi, edi */ 1331 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 1332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1333 _flag_k = FK_CMP; 1334 MEM32(ebp + (-0x8)) = edx; /* 0x2B08E5D7: mov dword ptr [ebp - 8], edx */ 1335 RECOMP_BACKEDGE(); 1336 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E5BF; /* 0x2B08E5DA: jne 0x2b08e5bf */ 1337 L_2B08E5DC: 1338 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E5DC: mov ecx, dword ptr [ebp - 4] */ 1339 edx = MEM32(ebp + 0xC); /* 0x2B08E5DF: mov edx, dword ptr [ebp + 0xc] */ 1340 L_2B08E5E2: 1341 eax = MEM32(ecx + 0x8); /* 0x2B08E5E2: mov eax, dword ptr [ecx + 8] */ 1342 esi = eax; /* 0x2B08E5E5: mov esi, eax */ 1343 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1345 esi = esi - edx; /* 0x2B08E5E7: sub esi, edx */ 1346 _flag_k = FK_CMP; 1347 /* cmp ebx, esi */ /* 0x2B08E5E9: cmp ebx, esi */ 1348 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 1349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1350 _flag_k = FK_CMP; 1351 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E65A; /* 0x2B08E5EB: je 0x2b08e65a */ 1352 L_2B08E5ED: 1353 ebx = eax + 0x20; /* 0x2B08E5ED: lea ebx, [eax + 0x20] */ 1354 edi = esi + 0x20; /* 0x2B08E5F0: lea edi, [esi + 0x20] */ 1355 goto L_2B08E5F8; /* 0x2B08E5F3: jmp 0x2b08e5f8 */ 1356 L_2B08E5F5: 1357 eax = MEM32(ebp + (-0x10)); /* 0x2B08E5F5: mov eax, dword ptr [ebp - 0x10] */ 1358 L_2B08E5F8: 1359 ecx = MEM32(0x2B0B515C); /* 0x2B08E5F8: mov ecx, dword ptr [0x2b0b515c] */ 1360 edx = MEM32(ecx); /* 0x2B08E5FE: mov edx, dword ptr [ecx] */ 1361 PUSH32(esp, edx); /* 0x2B08E600: push edx */ 1362 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x34u); 1363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1364 eax = eax - 0x34u; /* 0x2B08E601: sub eax, 0x34 */ 1365 _flag_k = FK_CMP; 1366 PUSH32(esp, 0); /* 0x2B08E604: push 0 */ 1367 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 1368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1369 esi = esi - 0x34u; /* 0x2B08E606: sub esi, 0x34 */ 1370 _flag_k = FK_CMP; 1371 PUSH32(esp, esi); /* 0x2B08E609: push esi */ 1372 ecx = eax; /* 0x2B08E60A: mov ecx, eax */ 1373 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x34u); 1374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1375 edi = edi - 0x34u; /* 0x2B08E60C: sub edi, 0x34 */ 1376 _flag_k = FK_CMP; 1377 MEM32(ebp + (-0x10)) = eax; /* 0x2B08E60F: mov dword ptr [ebp - 0x10], eax */ 1378 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x34u); 1379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1380 ebx = ebx - 0x34u; /* 0x2B08E612: sub ebx, 0x34 */ 1381 _flag_k = FK_CMP; 1382 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E615: call dword ptr [0x2b0b5158] */ 1383 RECOMP_FLAGS_IN(); 1384 eax = MEM32(0x2B0B515C); /* 0x2B08E61B: mov eax, dword ptr [0x2b0b515c] */ 1385 ecx = MEM32(eax); /* 0x2B08E620: mov ecx, dword ptr [eax] */ 1386 PUSH32(esp, ecx); /* 0x2B08E622: push ecx */ 1387 PUSH32(esp, 0); /* 0x2B08E623: push 0 */ 1388 edx = edi + (-0x10); /* 0x2B08E625: lea edx, [edi - 0x10] */ 1389 PUSH32(esp, edx); /* 0x2B08E628: push edx */ 1390 ecx = ebx + (-0x10); /* 0x2B08E629: lea ecx, [ebx - 0x10] */ 1391 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E62C: call dword ptr [0x2b0b5158] */ 1392 RECOMP_FLAGS_IN(); 1393 eax = MEM32(0x2B0B515C); /* 0x2B08E632: mov eax, dword ptr [0x2b0b515c] */ 1394 ecx = MEM32(eax); /* 0x2B08E637: mov ecx, dword ptr [eax] */ 1395 PUSH32(esp, ecx); /* 0x2B08E639: push ecx */ 1396 PUSH32(esp, 0); /* 0x2B08E63A: push 0 */ 1397 PUSH32(esp, edi); /* 0x2B08E63C: push edi */ 1398 ecx = ebx; /* 0x2B08E63D: mov ecx, ebx */ 1399 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E63F: call dword ptr [0x2b0b5158] */ 1400 RECOMP_FLAGS_IN(); 1401 eax = MEM32(ebp + 0x8); /* 0x2B08E645: mov eax, dword ptr [ebp + 8] */ 1402 /* cmp esi, eax */ /* 0x2B08E648: cmp esi, eax */ 1403 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1405 _flag_k = FK_CMP; 1406 SET_LO8(edx, MEM8(edi + 0x10)); /* 0x2B08E64A: mov dl, byte ptr [edi + 0x10] */ 1407 MEM8(ebx + 0x10) = (uint8_t)(LO8(edx)); /* 0x2B08E64D: mov byte ptr [ebx + 0x10], dl */ 1408 RECOMP_BACKEDGE(); 1409 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E5F5; /* 0x2B08E650: jne 0x2b08e5f5 */ 1410 L_2B08E652: 1411 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E652: mov ecx, dword ptr [ebp - 4] */ 1412 edx = MEM32(ebp + 0xC); /* 0x2B08E655: mov edx, dword ptr [ebp + 0xc] */ 1413 ebx = eax; /* 0x2B08E658: mov ebx, eax */ 1414 L_2B08E65A: 1415 eax = edx + ebx; /* 0x2B08E65A: lea eax, [edx + ebx] */ 1416 /* cmp ebx, eax */ /* 0x2B08E65D: cmp ebx, eax */ 1417 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 1418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1419 _flag_k = FK_CMP; 1420 MEM32(ebp + 0x8) = eax; /* 0x2B08E65F: mov dword ptr [ebp + 8], eax */ 1421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E6C6; /* 0x2B08E662: je 0x2b08e6c6 */ 1422 L_2B08E664: 1423 edi = MEM32(ebp + 0x10); /* 0x2B08E664: mov edi, dword ptr [ebp + 0x10] */ 1424 esi = ebx + 0x20; /* 0x2B08E667: lea esi, [ebx + 0x20] */ 1425 L_2B08E66A: 1426 eax = MEM32(0x2B0B515C); /* 0x2B08E66A: mov eax, dword ptr [0x2b0b515c] */ 1427 ecx = MEM32(eax); /* 0x2B08E66F: mov ecx, dword ptr [eax] */ 1428 PUSH32(esp, ecx); /* 0x2B08E671: push ecx */ 1429 PUSH32(esp, 0); /* 0x2B08E672: push 0 */ 1430 PUSH32(esp, edi); /* 0x2B08E674: push edi */ 1431 ecx = esi + (-0x20); /* 0x2B08E675: lea ecx, [esi - 0x20] */ 1432 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E678: call dword ptr [0x2b0b5158] */ 1433 RECOMP_FLAGS_IN(); 1434 edx = MEM32(0x2B0B515C); /* 0x2B08E67E: mov edx, dword ptr [0x2b0b515c] */ 1435 eax = MEM32(edx); /* 0x2B08E684: mov eax, dword ptr [edx] */ 1436 PUSH32(esp, eax); /* 0x2B08E686: push eax */ 1437 PUSH32(esp, 0); /* 0x2B08E687: push 0 */ 1438 eax = edi + 0x10; /* 0x2B08E689: lea eax, [edi + 0x10] */ 1439 PUSH32(esp, eax); /* 0x2B08E68C: push eax */ 1440 ecx = esi + (-0x10); /* 0x2B08E68D: lea ecx, [esi - 0x10] */ 1441 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E690: call dword ptr [0x2b0b5158] */ 1442 RECOMP_FLAGS_IN(); 1443 ecx = MEM32(0x2B0B515C); /* 0x2B08E696: mov ecx, dword ptr [0x2b0b515c] */ 1444 edx = MEM32(ecx); /* 0x2B08E69C: mov edx, dword ptr [ecx] */ 1445 PUSH32(esp, edx); /* 0x2B08E69E: push edx */ 1446 PUSH32(esp, 0); /* 0x2B08E69F: push 0 */ 1447 eax = edi + 0x20; /* 0x2B08E6A1: lea eax, [edi + 0x20] */ 1448 PUSH32(esp, eax); /* 0x2B08E6A4: push eax */ 1449 ecx = esi; /* 0x2B08E6A5: mov ecx, esi */ 1450 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E6A7: call dword ptr [0x2b0b5158] */ 1451 RECOMP_FLAGS_IN(); 1452 SET_LO8(eax, MEM8(edi + 0x30)); /* 0x2B08E6AD: mov al, byte ptr [edi + 0x30] */ 1453 MEM8(esi + 0x10) = (uint8_t)(LO8(eax)); /* 0x2B08E6B0: mov byte ptr [esi + 0x10], al */ 1454 eax = MEM32(ebp + 0x8); /* 0x2B08E6B3: mov eax, dword ptr [ebp + 8] */ 1455 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x34u); 1456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1457 esi = esi + 0x34u; /* 0x2B08E6B6: add esi, 0x34 */ 1458 _flag_k = FK_ADD; 1459 ecx = esi + (-0x20); /* 0x2B08E6B9: lea ecx, [esi - 0x20] */ 1460 /* cmp ecx, eax */ /* 0x2B08E6BC: cmp ecx, eax */ 1461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1463 _flag_k = FK_CMP; 1464 RECOMP_BACKEDGE(); 1465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E66A; /* 0x2B08E6BE: jne 0x2b08e66a */ 1466 L_2B08E6C0: 1467 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E6C0: mov ecx, dword ptr [ebp - 4] */ 1468 edx = MEM32(ebp + 0xC); /* 0x2B08E6C3: mov edx, dword ptr [ebp + 0xc] */ 1469 L_2B08E6C6: 1470 _flag_a = (uint32_t)(MEM32(ecx + 0x8)); _flag_b = (uint32_t)(edx); 1471 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1472 MEM32(ecx + 0x8) = MEM32(ecx + 0x8) + edx; /* 0x2B08E6C6: add dword ptr [ecx + 8], edx */ 1473 _flag_k = FK_ADD; 1474 L_2B08E6C9: 1475 edi = POP32_VAL(esp); /* 0x2B08E6C9: pop edi */ 1476 esi = POP32_VAL(esp); /* 0x2B08E6CA: pop esi */ 1477 ebx = POP32_VAL(esp); /* 0x2B08E6CB: pop ebx */ 1478 esp = ebp; /* 0x2B08E6CC: mov esp, ebp */ 1479 ebp = POP32_VAL(esp); /* 0x2B08E6CE: pop ebp */ 1480 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B08E6CF: ret 0xc */ 1481 RECOMP_REGS_OUT(); 1482 } 1483 1484 void sub_2B08E6E0(void) { 1485 int _fpu_cmp = 0; 1486 uint32_t _cf = 0; 1487 int _df = 1; 1488 uint32_t _flag_k = FK_NONE; 1489 uint32_t _flag_a = 0, _flag_b = 0; 1490 uint32_t _itail_tgt = 0; 1491 RECOMP_REGS_LOCALS 1492 RECOMP_ENTER(0x2B08E6E0u); 1493 1494 L_2B08E6E0: 1495 PUSH32(esp, ebp); /* 0x2B08E6E0: push ebp */ 1496 ebp = esp; /* 0x2B08E6E1: mov ebp, esp */ 1497 PUSH32(esp, ecx); /* 0x2B08E6E3: push ecx */ 1498 PUSH32(esp, ebx); /* 0x2B08E6E4: push ebx */ 1499 PUSH32(esp, esi); /* 0x2B08E6E5: push esi */ 1500 PUSH32(esp, edi); /* 0x2B08E6E6: push edi */ 1501 PUSH32(esp, 0x30u); /* 0x2B08E6E7: push 0x30 */ 1502 esi = ecx; /* 0x2B08E6E9: mov esi, ecx */ 1503 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08E6EB: call 0x2b0ab212 */ /* not lifted */ 1504 RECOMP_FLAGS_IN(); 1505 edi = MEM32(ebp + 0x10); /* 0x2B08E6F0: mov edi, dword ptr [ebp + 0x10] */ 1506 ebx = MEM32(ebp + 0x14); /* 0x2B08E6F3: mov ebx, dword ptr [ebp + 0x14] */ 1507 MEM32(eax + 0x4) = edi; /* 0x2B08E6F6: mov dword ptr [eax + 4], edi */ 1508 MEM8(eax + 0x2C) = (uint8_t)(0); /* 0x2B08E6F9: mov byte ptr [eax + 0x2c], 0 */ 1509 MEM8(eax + 0x2D) = (uint8_t)(0); /* 0x2B08E6FD: mov byte ptr [eax + 0x2d], 0 */ 1510 ecx = MEM32(esi + 0x8); /* 0x2B08E701: mov ecx, dword ptr [esi + 8] */ 1511 MEM32(eax) = ecx; /* 0x2B08E704: mov dword ptr [eax], ecx */ 1512 edx = MEM32(esi + 0x8); /* 0x2B08E706: mov edx, dword ptr [esi + 8] */ 1513 MEM32(ebp + (-0x4)) = eax; /* 0x2B08E709: mov dword ptr [ebp - 4], eax */ 1514 MEM32(eax + 0x8) = edx; /* 0x2B08E70C: mov dword ptr [eax + 8], edx */ 1515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 1516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1517 eax = eax + 0xCu; /* 0x2B08E70F: add eax, 0xc */ 1518 _flag_k = FK_ADD; 1519 PUSH32(esp, ebx); /* 0x2B08E712: push ebx */ 1520 PUSH32(esp, eax); /* 0x2B08E713: push eax */ 1521 RECOMP_ICALL(0x2B015520u); /* 0x2B08E714: call 0x2b015520 */ /* not lifted */ 1522 RECOMP_FLAGS_IN(); 1523 ecx = MEM32(esi + 0x10); /* 0x2B08E719: mov ecx, dword ptr [esi + 0x10] */ 1524 eax = MEM32(esi + 0x4); /* 0x2B08E71C: mov eax, dword ptr [esi + 4] */ 1525 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1526 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1527 esp = esp + 0xCu; /* 0x2B08E71F: add esp, 0xc */ 1528 _flag_k = FK_ADD; 1529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1530 ecx = ecx + 1; /* 0x2B08E722: inc ecx */ 1531 _flag_k = FK_INC; 1532 /* cmp edi, eax */ /* 0x2B08E723: cmp edi, eax */ 1533 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1535 _flag_k = FK_CMP; 1536 MEM32(esi + 0x10) = ecx; /* 0x2B08E725: mov dword ptr [esi + 0x10], ecx */ 1537 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E757; /* 0x2B08E728: je 0x2b08e757 */ 1538 L_2B08E72A: 1539 eax = MEM32(ebp + 0xC); /* 0x2B08E72A: mov eax, dword ptr [ebp + 0xc] */ 1540 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2B08E72D: cmp eax, dword ptr [esi + 8] */ 1541 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1543 _flag_k = FK_CMP; 1544 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E757; /* 0x2B08E730: jne 0x2b08e757 */ 1545 L_2B08E732: 1546 ecx = edi + 0xC; /* 0x2B08E732: lea ecx, [edi + 0xc] */ 1547 PUSH32(esp, ecx); /* 0x2B08E735: push ecx */ 1548 PUSH32(esp, ebx); /* 0x2B08E736: push ebx */ 1549 RECOMP_ICALL(MEM32(0x2B0B5168)); /* 0x2B08E737: call dword ptr [0x2b0b5168] */ 1550 RECOMP_FLAGS_IN(); 1551 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1552 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1553 esp = esp + 8; /* 0x2B08E73D: add esp, 8 */ 1554 _flag_k = FK_ADD; 1555 /* test LO8(eax), LO8(eax) */ /* 0x2B08E740: test al, al */ 1556 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1557 _cf = 0; 1558 _flag_k = FK_NARROW(FK_TEST, 24); 1559 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E757; /* 0x2B08E742: jne 0x2b08e757 */ 1560 L_2B08E744: 1561 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E744: mov ecx, dword ptr [ebp - 4] */ 1562 MEM32(edi + 0x8) = ecx; /* 0x2B08E747: mov dword ptr [edi + 8], ecx */ 1563 eax = MEM32(esi + 0x4); /* 0x2B08E74A: mov eax, dword ptr [esi + 4] */ 1564 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B08E74D: cmp edi, dword ptr [eax + 8] */ 1565 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1567 _flag_k = FK_CMP; 1568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E777; /* 0x2B08E750: jne 0x2b08e777 */ 1569 L_2B08E752: 1570 MEM32(eax + 0x8) = ecx; /* 0x2B08E752: mov dword ptr [eax + 8], ecx */ 1571 goto L_2B08E777; /* 0x2B08E755: jmp 0x2b08e777 */ 1572 L_2B08E757: 1573 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E757: mov ecx, dword ptr [ebp - 4] */ 1574 MEM32(edi) = ecx; /* 0x2B08E75A: mov dword ptr [edi], ecx */ 1575 eax = MEM32(esi + 0x4); /* 0x2B08E75C: mov eax, dword ptr [esi + 4] */ 1576 /* cmp edi, eax */ /* 0x2B08E75F: cmp edi, eax */ 1577 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1579 _flag_k = FK_CMP; 1580 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E76E; /* 0x2B08E761: jne 0x2b08e76e */ 1581 L_2B08E763: 1582 MEM32(eax + 0x4) = ecx; /* 0x2B08E763: mov dword ptr [eax + 4], ecx */ 1583 edx = MEM32(esi + 0x4); /* 0x2B08E766: mov edx, dword ptr [esi + 4] */ 1584 MEM32(edx + 0x8) = ecx; /* 0x2B08E769: mov dword ptr [edx + 8], ecx */ 1585 goto L_2B08E777; /* 0x2B08E76C: jmp 0x2b08e777 */ 1586 L_2B08E76E: 1587 /* cmp edi, MEM32(eax) */ /* 0x2B08E76E: cmp edi, dword ptr [eax] */ 1588 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 1589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1590 _flag_k = FK_CMP; 1591 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E777; /* 0x2B08E770: jne 0x2b08e777 */ 1592 L_2B08E772: 1593 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E772: mov ecx, dword ptr [ebp - 4] */ 1594 MEM32(eax) = ecx; /* 0x2B08E775: mov dword ptr [eax], ecx */ 1595 L_2B08E777: 1596 edx = MEM32(esi + 0x4); /* 0x2B08E777: mov edx, dword ptr [esi + 4] */ 1597 eax = MEM32(ebp + (-0x4)); /* 0x2B08E77A: mov eax, dword ptr [ebp - 4] */ 1598 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E77D: cmp eax, dword ptr [edx + 4] */ 1599 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1601 _flag_k = FK_CMP; 1602 SET_LO8(ebx, 1); /* 0x2B08E780: mov bl, 1 */ 1603 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E782: je 0x2b08e908 */ 1604 L_2B08E788: 1605 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 1606 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 1607 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 1608 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1609 _cf = 0; 1610 _flag_k = FK_NARROW(FK_TEST, 24); 1611 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 1612 L_2B08E796: 1613 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 1614 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 1615 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 1616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1618 _flag_k = FK_CMP; 1619 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 1620 L_2B08E7A3: 1621 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 1622 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 1623 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 1624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1625 _flag_k = FK_NARROW(FK_CMP, 24); 1626 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 1627 L_2B08E7AC: 1628 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 1629 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 1630 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 1631 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 1632 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 1633 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 1634 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 1635 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 1636 L_2B08E7C7: 1637 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 1638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1640 _flag_k = FK_CMP; 1641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 1642 L_2B08E7CC: 1643 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 1644 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 1645 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 1646 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 1647 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 1648 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 1649 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1651 _flag_k = FK_CMP; 1652 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 1653 L_2B08E7DD: 1654 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 1655 L_2B08E7E0: 1656 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 1657 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 1658 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 1659 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 1660 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1662 _flag_k = FK_CMP; 1663 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 1664 L_2B08E7EE: 1665 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 1666 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 1667 L_2B08E7F3: 1668 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 1669 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 1670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 1671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1672 _flag_k = FK_CMP; 1673 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 1674 L_2B08E7FA: 1675 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 1676 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 1677 L_2B08E7FE: 1678 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 1679 L_2B08E801: 1680 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 1681 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 1682 L_2B08E806: 1683 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 1684 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 1685 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 1686 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 1687 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 1688 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 1689 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 1690 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 1691 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 1692 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 1693 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 1694 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 1695 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1697 _flag_k = FK_CMP; 1698 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 1699 L_2B08E82B: 1700 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 1701 L_2B08E82E: 1702 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 1703 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 1704 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 1705 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 1706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1708 _flag_k = FK_CMP; 1709 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 1710 L_2B08E83C: 1711 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 1712 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 1713 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 1714 L_2B08E847: 1715 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 1716 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 1717 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1719 _flag_k = FK_CMP; 1720 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 1721 L_2B08E84F: 1722 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 1723 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 1724 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 1725 L_2B08E85A: 1726 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 1727 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 1728 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 1729 L_2B08E864: 1730 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 1731 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 1732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1733 _flag_k = FK_NARROW(FK_CMP, 24); 1734 RECOMP_BACKEDGE(); 1735 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 1736 L_2B08E86E: 1737 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 1738 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 1739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1740 _flag_k = FK_CMP; 1741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 1742 L_2B08E872: 1743 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 1744 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 1745 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 1746 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 1747 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 1748 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 1749 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1751 _flag_k = FK_CMP; 1752 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 1753 L_2B08E883: 1754 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 1755 L_2B08E886: 1756 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 1757 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 1758 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 1759 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 1760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1762 _flag_k = FK_CMP; 1763 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 1764 L_2B08E894: 1765 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 1766 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 1767 L_2B08E899: 1768 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 1769 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 1770 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 1771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1772 _flag_k = FK_CMP; 1773 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 1774 L_2B08E8A1: 1775 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 1776 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 1777 L_2B08E8A6: 1778 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 1779 L_2B08E8A8: 1780 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 1781 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 1782 L_2B08E8AE: 1783 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 1784 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 1785 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 1786 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 1787 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 1788 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 1789 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 1790 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 1791 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 1792 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 1793 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 1794 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 1795 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1797 _flag_k = FK_CMP; 1798 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 1799 L_2B08E8D3: 1800 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 1801 L_2B08E8D6: 1802 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 1803 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 1804 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 1805 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 1806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1808 _flag_k = FK_CMP; 1809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 1810 L_2B08E8E4: 1811 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 1812 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 1813 L_2B08E8E9: 1814 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 1815 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 1816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 1817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1818 _flag_k = FK_CMP; 1819 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 1820 L_2B08E8F0: 1821 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 1822 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 1823 L_2B08E8F4: 1824 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 1825 L_2B08E8F7: 1826 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 1827 L_2B08E8F9: 1828 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 1829 L_2B08E8FC: 1830 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 1831 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 1832 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1834 _flag_k = FK_CMP; 1835 RECOMP_BACKEDGE(); 1836 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 1837 L_2B08E908: 1838 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 1839 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 1840 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 1841 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 1842 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 1843 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 1844 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 1845 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 1846 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 1847 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 1848 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 1849 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 1850 RECOMP_REGS_OUT(); 1851 } 1852 1853 void sub_2B08E788(void) { 1854 int _fpu_cmp = 0; 1855 uint32_t _cf = 0; 1856 int _df = 1; 1857 uint32_t _flag_k = FK_NONE; 1858 uint32_t _flag_a = 0, _flag_b = 0; 1859 uint32_t _itail_tgt = 0; 1860 RECOMP_REGS_LOCALS 1861 RECOMP_ENTER(0x2B08E788u); 1862 1863 L_2B08E788: 1864 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 1865 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 1866 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 1867 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1868 _cf = 0; 1869 _flag_k = FK_NARROW(FK_TEST, 24); 1870 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 1871 L_2B08E796: 1872 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 1873 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 1874 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 1875 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1877 _flag_k = FK_CMP; 1878 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 1879 L_2B08E7A3: 1880 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 1881 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 1882 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 1883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1884 _flag_k = FK_NARROW(FK_CMP, 24); 1885 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 1886 L_2B08E7AC: 1887 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 1888 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 1889 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 1890 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 1891 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 1892 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 1893 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 1894 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 1895 L_2B08E7C7: 1896 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 1897 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1899 _flag_k = FK_CMP; 1900 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 1901 L_2B08E7CC: 1902 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 1903 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 1904 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 1905 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 1906 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 1907 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 1908 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1910 _flag_k = FK_CMP; 1911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 1912 L_2B08E7DD: 1913 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 1914 L_2B08E7E0: 1915 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 1916 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 1917 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 1918 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 1919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1921 _flag_k = FK_CMP; 1922 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 1923 L_2B08E7EE: 1924 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 1925 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 1926 L_2B08E7F3: 1927 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 1928 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 1929 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 1930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1931 _flag_k = FK_CMP; 1932 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 1933 L_2B08E7FA: 1934 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 1935 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 1936 L_2B08E7FE: 1937 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 1938 L_2B08E801: 1939 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 1940 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 1941 L_2B08E806: 1942 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 1943 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 1944 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 1945 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 1946 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 1947 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 1948 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 1949 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 1950 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 1951 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 1952 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 1953 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 1954 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1956 _flag_k = FK_CMP; 1957 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 1958 L_2B08E82B: 1959 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 1960 L_2B08E82E: 1961 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 1962 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 1963 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 1964 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 1965 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1967 _flag_k = FK_CMP; 1968 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 1969 L_2B08E83C: 1970 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 1971 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 1972 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 1973 L_2B08E847: 1974 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 1975 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 1976 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1978 _flag_k = FK_CMP; 1979 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 1980 L_2B08E84F: 1981 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 1982 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 1983 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 1984 L_2B08E85A: 1985 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 1986 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 1987 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 1988 L_2B08E864: 1989 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 1990 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 1991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1992 _flag_k = FK_NARROW(FK_CMP, 24); 1993 RECOMP_BACKEDGE(); 1994 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 1995 L_2B08E86E: 1996 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 1997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 1998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1999 _flag_k = FK_CMP; 2000 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 2001 L_2B08E872: 2002 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 2003 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 2004 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 2005 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 2006 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 2007 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 2008 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2010 _flag_k = FK_CMP; 2011 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 2012 L_2B08E883: 2013 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 2014 L_2B08E886: 2015 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 2016 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 2017 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 2018 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 2019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2021 _flag_k = FK_CMP; 2022 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 2023 L_2B08E894: 2024 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 2025 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 2026 L_2B08E899: 2027 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 2028 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 2029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2031 _flag_k = FK_CMP; 2032 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 2033 L_2B08E8A1: 2034 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 2035 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 2036 L_2B08E8A6: 2037 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 2038 L_2B08E8A8: 2039 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 2040 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 2041 L_2B08E8AE: 2042 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 2043 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 2044 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 2045 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 2046 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 2047 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 2048 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 2049 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 2050 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 2051 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 2052 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 2053 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 2054 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2056 _flag_k = FK_CMP; 2057 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 2058 L_2B08E8D3: 2059 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 2060 L_2B08E8D6: 2061 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 2062 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 2063 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 2064 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 2065 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2067 _flag_k = FK_CMP; 2068 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 2069 L_2B08E8E4: 2070 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 2071 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 2072 L_2B08E8E9: 2073 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 2074 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 2075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2077 _flag_k = FK_CMP; 2078 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 2079 L_2B08E8F0: 2080 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 2081 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 2082 L_2B08E8F4: 2083 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 2084 L_2B08E8F7: 2085 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 2086 L_2B08E8F9: 2087 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 2088 L_2B08E8FC: 2089 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 2090 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 2091 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2093 _flag_k = FK_CMP; 2094 RECOMP_BACKEDGE(); 2095 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 2096 L_2B08E908: 2097 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 2098 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 2099 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 2100 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 2101 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 2102 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 2103 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 2104 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 2105 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 2106 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 2107 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 2108 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 2109 RECOMP_REGS_OUT(); 2110 } 2111 2112 void sub_2B08E7AC(void) { 2113 int _fpu_cmp = 0; 2114 uint32_t _cf = 0; 2115 int _df = 1; 2116 uint32_t _flag_k = FK_NONE; 2117 uint32_t _flag_a = 0, _flag_b = 0; 2118 uint32_t _itail_tgt = 0; 2119 RECOMP_REGS_LOCALS 2120 RECOMP_ENTER(0x2B08E7ACu); 2121 2122 goto L_2B08E7AC; 2123 L_2B08E788: 2124 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 2125 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 2126 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 2127 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2128 _cf = 0; 2129 _flag_k = FK_NARROW(FK_TEST, 24); 2130 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 2131 L_2B08E796: 2132 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 2133 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 2134 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 2135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2137 _flag_k = FK_CMP; 2138 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 2139 L_2B08E7A3: 2140 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 2141 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 2142 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 2143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2144 _flag_k = FK_NARROW(FK_CMP, 24); 2145 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 2146 L_2B08E7AC: 2147 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 2148 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 2149 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 2150 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 2151 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 2152 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 2153 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 2154 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 2155 L_2B08E7C7: 2156 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 2157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2159 _flag_k = FK_CMP; 2160 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 2161 L_2B08E7CC: 2162 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 2163 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 2164 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 2165 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 2166 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 2167 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 2168 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2170 _flag_k = FK_CMP; 2171 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 2172 L_2B08E7DD: 2173 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 2174 L_2B08E7E0: 2175 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 2176 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 2177 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 2178 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 2179 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2181 _flag_k = FK_CMP; 2182 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 2183 L_2B08E7EE: 2184 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 2185 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 2186 L_2B08E7F3: 2187 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 2188 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 2189 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2191 _flag_k = FK_CMP; 2192 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 2193 L_2B08E7FA: 2194 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 2195 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 2196 L_2B08E7FE: 2197 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 2198 L_2B08E801: 2199 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 2200 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 2201 L_2B08E806: 2202 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 2203 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 2204 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 2205 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 2206 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 2207 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 2208 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 2209 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 2210 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 2211 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 2212 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 2213 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 2214 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2216 _flag_k = FK_CMP; 2217 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 2218 L_2B08E82B: 2219 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 2220 L_2B08E82E: 2221 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 2222 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 2223 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 2224 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 2225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2227 _flag_k = FK_CMP; 2228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 2229 L_2B08E83C: 2230 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 2231 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 2232 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 2233 L_2B08E847: 2234 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 2235 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 2236 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2238 _flag_k = FK_CMP; 2239 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 2240 L_2B08E84F: 2241 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 2242 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 2243 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 2244 L_2B08E85A: 2245 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 2246 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 2247 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 2248 L_2B08E864: 2249 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 2250 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 2251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2252 _flag_k = FK_NARROW(FK_CMP, 24); 2253 RECOMP_BACKEDGE(); 2254 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 2255 L_2B08E86E: 2256 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 2257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 2258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2259 _flag_k = FK_CMP; 2260 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 2261 L_2B08E872: 2262 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 2263 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 2264 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 2265 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 2266 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 2267 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 2268 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2270 _flag_k = FK_CMP; 2271 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 2272 L_2B08E883: 2273 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 2274 L_2B08E886: 2275 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 2276 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 2277 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 2278 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 2279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2281 _flag_k = FK_CMP; 2282 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 2283 L_2B08E894: 2284 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 2285 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 2286 L_2B08E899: 2287 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 2288 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 2289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2291 _flag_k = FK_CMP; 2292 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 2293 L_2B08E8A1: 2294 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 2295 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 2296 L_2B08E8A6: 2297 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 2298 L_2B08E8A8: 2299 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 2300 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 2301 L_2B08E8AE: 2302 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 2303 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 2304 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 2305 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 2306 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 2307 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 2308 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 2309 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 2310 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 2311 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 2312 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 2313 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 2314 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2316 _flag_k = FK_CMP; 2317 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 2318 L_2B08E8D3: 2319 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 2320 L_2B08E8D6: 2321 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 2322 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 2323 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 2324 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 2325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2327 _flag_k = FK_CMP; 2328 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 2329 L_2B08E8E4: 2330 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 2331 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 2332 L_2B08E8E9: 2333 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 2334 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 2335 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2337 _flag_k = FK_CMP; 2338 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 2339 L_2B08E8F0: 2340 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 2341 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 2342 L_2B08E8F4: 2343 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 2344 L_2B08E8F7: 2345 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 2346 L_2B08E8F9: 2347 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 2348 L_2B08E8FC: 2349 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 2350 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 2351 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2353 _flag_k = FK_CMP; 2354 RECOMP_BACKEDGE(); 2355 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 2356 L_2B08E908: 2357 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 2358 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 2359 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 2360 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 2361 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 2362 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 2363 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 2364 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 2365 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 2366 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 2367 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 2368 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 2369 RECOMP_REGS_OUT(); 2370 } 2371 2372 void sub_2B08E801(void) { 2373 int _fpu_cmp = 0; 2374 uint32_t _cf = 0; 2375 int _df = 1; 2376 uint32_t _flag_k = FK_NONE; 2377 uint32_t _flag_a = 0, _flag_b = 0; 2378 uint32_t _itail_tgt = 0; 2379 RECOMP_REGS_LOCALS 2380 RECOMP_ENTER(0x2B08E801u); 2381 2382 goto L_2B08E801; 2383 L_2B08E788: 2384 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 2385 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 2386 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 2387 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2388 _cf = 0; 2389 _flag_k = FK_NARROW(FK_TEST, 24); 2390 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 2391 L_2B08E796: 2392 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 2393 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 2394 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 2395 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2397 _flag_k = FK_CMP; 2398 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 2399 L_2B08E7A3: 2400 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 2401 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 2402 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 2403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2404 _flag_k = FK_NARROW(FK_CMP, 24); 2405 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 2406 L_2B08E7AC: 2407 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 2408 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 2409 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 2410 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 2411 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 2412 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 2413 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 2414 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 2415 L_2B08E7C7: 2416 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 2417 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2419 _flag_k = FK_CMP; 2420 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 2421 L_2B08E7CC: 2422 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 2423 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 2424 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 2425 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 2426 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 2427 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 2428 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2430 _flag_k = FK_CMP; 2431 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 2432 L_2B08E7DD: 2433 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 2434 L_2B08E7E0: 2435 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 2436 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 2437 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 2438 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 2439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2441 _flag_k = FK_CMP; 2442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 2443 L_2B08E7EE: 2444 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 2445 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 2446 L_2B08E7F3: 2447 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 2448 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 2449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2451 _flag_k = FK_CMP; 2452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 2453 L_2B08E7FA: 2454 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 2455 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 2456 L_2B08E7FE: 2457 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 2458 L_2B08E801: 2459 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 2460 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 2461 L_2B08E806: 2462 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 2463 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 2464 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 2465 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 2466 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 2467 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 2468 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 2469 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 2470 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 2471 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 2472 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 2473 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 2474 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2476 _flag_k = FK_CMP; 2477 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 2478 L_2B08E82B: 2479 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 2480 L_2B08E82E: 2481 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 2482 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 2483 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 2484 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 2485 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2487 _flag_k = FK_CMP; 2488 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 2489 L_2B08E83C: 2490 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 2491 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 2492 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 2493 L_2B08E847: 2494 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 2495 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 2496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2498 _flag_k = FK_CMP; 2499 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 2500 L_2B08E84F: 2501 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 2502 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 2503 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 2504 L_2B08E85A: 2505 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 2506 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 2507 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 2508 L_2B08E864: 2509 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 2510 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 2511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2512 _flag_k = FK_NARROW(FK_CMP, 24); 2513 RECOMP_BACKEDGE(); 2514 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 2515 L_2B08E86E: 2516 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 2517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 2518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2519 _flag_k = FK_CMP; 2520 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 2521 L_2B08E872: 2522 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 2523 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 2524 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 2525 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 2526 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 2527 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 2528 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2530 _flag_k = FK_CMP; 2531 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 2532 L_2B08E883: 2533 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 2534 L_2B08E886: 2535 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 2536 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 2537 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 2538 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 2539 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2541 _flag_k = FK_CMP; 2542 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 2543 L_2B08E894: 2544 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 2545 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 2546 L_2B08E899: 2547 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 2548 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 2549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2551 _flag_k = FK_CMP; 2552 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 2553 L_2B08E8A1: 2554 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 2555 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 2556 L_2B08E8A6: 2557 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 2558 L_2B08E8A8: 2559 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 2560 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 2561 L_2B08E8AE: 2562 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 2563 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 2564 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 2565 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 2566 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 2567 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 2568 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 2569 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 2570 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 2571 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 2572 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 2573 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 2574 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2576 _flag_k = FK_CMP; 2577 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 2578 L_2B08E8D3: 2579 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 2580 L_2B08E8D6: 2581 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 2582 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 2583 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 2584 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 2585 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2587 _flag_k = FK_CMP; 2588 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 2589 L_2B08E8E4: 2590 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 2591 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 2592 L_2B08E8E9: 2593 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 2594 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 2595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2597 _flag_k = FK_CMP; 2598 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 2599 L_2B08E8F0: 2600 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 2601 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 2602 L_2B08E8F4: 2603 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 2604 L_2B08E8F7: 2605 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 2606 L_2B08E8F9: 2607 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 2608 L_2B08E8FC: 2609 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 2610 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 2611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2613 _flag_k = FK_CMP; 2614 RECOMP_BACKEDGE(); 2615 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 2616 L_2B08E908: 2617 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 2618 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 2619 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 2620 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 2621 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 2622 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 2623 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 2624 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 2625 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 2626 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 2627 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 2628 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 2629 RECOMP_REGS_OUT(); 2630 } 2631 2632 void sub_2B08E806(void) { 2633 int _fpu_cmp = 0; 2634 uint32_t _cf = 0; 2635 int _df = 1; 2636 uint32_t _flag_k = FK_NONE; 2637 uint32_t _flag_a = 0, _flag_b = 0; 2638 uint32_t _itail_tgt = 0; 2639 RECOMP_REGS_LOCALS 2640 RECOMP_ENTER(0x2B08E806u); 2641 2642 goto L_2B08E806; 2643 L_2B08E788: 2644 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 2645 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 2646 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 2647 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2648 _cf = 0; 2649 _flag_k = FK_NARROW(FK_TEST, 24); 2650 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 2651 L_2B08E796: 2652 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 2653 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 2654 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 2655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2657 _flag_k = FK_CMP; 2658 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 2659 L_2B08E7A3: 2660 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 2661 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 2662 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 2663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2664 _flag_k = FK_NARROW(FK_CMP, 24); 2665 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 2666 L_2B08E7AC: 2667 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 2668 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 2669 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 2670 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 2671 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 2672 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 2673 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 2674 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 2675 L_2B08E7C7: 2676 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 2677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2679 _flag_k = FK_CMP; 2680 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 2681 L_2B08E7CC: 2682 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 2683 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 2684 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 2685 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 2686 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 2687 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 2688 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2690 _flag_k = FK_CMP; 2691 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 2692 L_2B08E7DD: 2693 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 2694 L_2B08E7E0: 2695 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 2696 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 2697 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 2698 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 2699 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2701 _flag_k = FK_CMP; 2702 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 2703 L_2B08E7EE: 2704 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 2705 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 2706 L_2B08E7F3: 2707 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 2708 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 2709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2711 _flag_k = FK_CMP; 2712 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 2713 L_2B08E7FA: 2714 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 2715 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 2716 L_2B08E7FE: 2717 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 2718 L_2B08E801: 2719 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 2720 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 2721 L_2B08E806: 2722 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 2723 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 2724 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 2725 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 2726 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 2727 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 2728 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 2729 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 2730 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 2731 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 2732 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 2733 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 2734 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2736 _flag_k = FK_CMP; 2737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 2738 L_2B08E82B: 2739 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 2740 L_2B08E82E: 2741 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 2742 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 2743 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 2744 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 2745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2747 _flag_k = FK_CMP; 2748 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 2749 L_2B08E83C: 2750 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 2751 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 2752 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 2753 L_2B08E847: 2754 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 2755 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 2756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2758 _flag_k = FK_CMP; 2759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 2760 L_2B08E84F: 2761 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 2762 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 2763 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 2764 L_2B08E85A: 2765 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 2766 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 2767 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 2768 L_2B08E864: 2769 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 2770 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 2771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2772 _flag_k = FK_NARROW(FK_CMP, 24); 2773 RECOMP_BACKEDGE(); 2774 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 2775 L_2B08E86E: 2776 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 2777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 2778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2779 _flag_k = FK_CMP; 2780 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 2781 L_2B08E872: 2782 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 2783 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 2784 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 2785 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 2786 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 2787 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 2788 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2790 _flag_k = FK_CMP; 2791 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 2792 L_2B08E883: 2793 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 2794 L_2B08E886: 2795 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 2796 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 2797 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 2798 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 2799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2801 _flag_k = FK_CMP; 2802 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 2803 L_2B08E894: 2804 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 2805 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 2806 L_2B08E899: 2807 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 2808 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 2809 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2811 _flag_k = FK_CMP; 2812 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 2813 L_2B08E8A1: 2814 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 2815 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 2816 L_2B08E8A6: 2817 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 2818 L_2B08E8A8: 2819 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 2820 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 2821 L_2B08E8AE: 2822 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 2823 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 2824 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 2825 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 2826 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 2827 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 2828 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 2829 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 2830 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 2831 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 2832 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 2833 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 2834 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2836 _flag_k = FK_CMP; 2837 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 2838 L_2B08E8D3: 2839 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 2840 L_2B08E8D6: 2841 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 2842 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 2843 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 2844 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 2845 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2847 _flag_k = FK_CMP; 2848 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 2849 L_2B08E8E4: 2850 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 2851 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 2852 L_2B08E8E9: 2853 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 2854 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 2855 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2857 _flag_k = FK_CMP; 2858 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 2859 L_2B08E8F0: 2860 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 2861 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 2862 L_2B08E8F4: 2863 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 2864 L_2B08E8F7: 2865 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 2866 L_2B08E8F9: 2867 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 2868 L_2B08E8FC: 2869 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 2870 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 2871 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2873 _flag_k = FK_CMP; 2874 RECOMP_BACKEDGE(); 2875 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 2876 L_2B08E908: 2877 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 2878 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 2879 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 2880 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 2881 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 2882 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 2883 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 2884 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 2885 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 2886 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 2887 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 2888 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 2889 RECOMP_REGS_OUT(); 2890 } 2891 2892 void sub_2B08E864(void) { 2893 int _fpu_cmp = 0; 2894 uint32_t _cf = 0; 2895 int _df = 1; 2896 uint32_t _flag_k = FK_NONE; 2897 uint32_t _flag_a = 0, _flag_b = 0; 2898 uint32_t _itail_tgt = 0; 2899 RECOMP_REGS_LOCALS 2900 RECOMP_ENTER(0x2B08E864u); 2901 2902 goto L_2B08E864; 2903 L_2B08E788: 2904 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 2905 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 2906 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 2907 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2908 _cf = 0; 2909 _flag_k = FK_NARROW(FK_TEST, 24); 2910 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 2911 L_2B08E796: 2912 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 2913 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 2914 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 2915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2917 _flag_k = FK_CMP; 2918 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 2919 L_2B08E7A3: 2920 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 2921 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 2922 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 2923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2924 _flag_k = FK_NARROW(FK_CMP, 24); 2925 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 2926 L_2B08E7AC: 2927 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 2928 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 2929 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 2930 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 2931 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 2932 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 2933 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 2934 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 2935 L_2B08E7C7: 2936 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 2937 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 2938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2939 _flag_k = FK_CMP; 2940 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 2941 L_2B08E7CC: 2942 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 2943 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 2944 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 2945 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 2946 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 2947 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 2948 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2950 _flag_k = FK_CMP; 2951 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 2952 L_2B08E7DD: 2953 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 2954 L_2B08E7E0: 2955 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 2956 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 2957 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 2958 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 2959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 2960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2961 _flag_k = FK_CMP; 2962 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 2963 L_2B08E7EE: 2964 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 2965 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 2966 L_2B08E7F3: 2967 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 2968 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 2969 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 2970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2971 _flag_k = FK_CMP; 2972 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 2973 L_2B08E7FA: 2974 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 2975 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 2976 L_2B08E7FE: 2977 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 2978 L_2B08E801: 2979 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 2980 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 2981 L_2B08E806: 2982 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 2983 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 2984 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 2985 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 2986 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 2987 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 2988 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 2989 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 2990 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 2991 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 2992 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 2993 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 2994 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2996 _flag_k = FK_CMP; 2997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 2998 L_2B08E82B: 2999 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 3000 L_2B08E82E: 3001 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 3002 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 3003 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 3004 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 3005 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3007 _flag_k = FK_CMP; 3008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 3009 L_2B08E83C: 3010 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 3011 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 3012 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 3013 L_2B08E847: 3014 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 3015 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 3016 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3018 _flag_k = FK_CMP; 3019 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 3020 L_2B08E84F: 3021 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 3022 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 3023 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 3024 L_2B08E85A: 3025 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 3026 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 3027 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 3028 L_2B08E864: 3029 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 3030 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3032 _flag_k = FK_NARROW(FK_CMP, 24); 3033 RECOMP_BACKEDGE(); 3034 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 3035 L_2B08E86E: 3036 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 3037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3039 _flag_k = FK_CMP; 3040 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 3041 L_2B08E872: 3042 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 3043 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 3044 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 3045 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 3046 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 3047 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 3048 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3050 _flag_k = FK_CMP; 3051 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 3052 L_2B08E883: 3053 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 3054 L_2B08E886: 3055 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 3056 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 3057 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 3058 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 3059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3061 _flag_k = FK_CMP; 3062 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 3063 L_2B08E894: 3064 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 3065 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 3066 L_2B08E899: 3067 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 3068 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 3069 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3071 _flag_k = FK_CMP; 3072 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 3073 L_2B08E8A1: 3074 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 3075 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 3076 L_2B08E8A6: 3077 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 3078 L_2B08E8A8: 3079 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 3080 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 3081 L_2B08E8AE: 3082 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 3083 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 3084 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 3085 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 3086 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 3087 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 3088 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 3089 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 3090 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 3091 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 3092 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 3093 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 3094 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3096 _flag_k = FK_CMP; 3097 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 3098 L_2B08E8D3: 3099 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 3100 L_2B08E8D6: 3101 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 3102 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 3103 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 3104 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 3105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3107 _flag_k = FK_CMP; 3108 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 3109 L_2B08E8E4: 3110 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 3111 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 3112 L_2B08E8E9: 3113 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 3114 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 3115 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3117 _flag_k = FK_CMP; 3118 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 3119 L_2B08E8F0: 3120 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 3121 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 3122 L_2B08E8F4: 3123 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 3124 L_2B08E8F7: 3125 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 3126 L_2B08E8F9: 3127 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 3128 L_2B08E8FC: 3129 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 3130 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 3131 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3133 _flag_k = FK_CMP; 3134 RECOMP_BACKEDGE(); 3135 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 3136 L_2B08E908: 3137 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 3138 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 3139 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 3140 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 3141 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 3142 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 3143 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 3144 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 3145 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 3146 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 3147 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 3148 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 3149 RECOMP_REGS_OUT(); 3150 } 3151 3152 void sub_2B08E8A8(void) { 3153 int _fpu_cmp = 0; 3154 uint32_t _cf = 0; 3155 int _df = 1; 3156 uint32_t _flag_k = FK_NONE; 3157 uint32_t _flag_a = 0, _flag_b = 0; 3158 uint32_t _itail_tgt = 0; 3159 RECOMP_REGS_LOCALS 3160 RECOMP_ENTER(0x2B08E8A8u); 3161 3162 goto L_2B08E8A8; 3163 L_2B08E788: 3164 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 3165 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 3166 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 3167 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3168 _cf = 0; 3169 _flag_k = FK_NARROW(FK_TEST, 24); 3170 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 3171 L_2B08E796: 3172 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 3173 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 3174 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 3175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3177 _flag_k = FK_CMP; 3178 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 3179 L_2B08E7A3: 3180 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 3181 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 3182 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3184 _flag_k = FK_NARROW(FK_CMP, 24); 3185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 3186 L_2B08E7AC: 3187 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 3188 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 3189 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 3190 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 3191 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 3192 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 3193 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 3194 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 3195 L_2B08E7C7: 3196 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 3197 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3199 _flag_k = FK_CMP; 3200 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 3201 L_2B08E7CC: 3202 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 3203 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 3204 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 3205 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 3206 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 3207 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 3208 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3210 _flag_k = FK_CMP; 3211 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 3212 L_2B08E7DD: 3213 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 3214 L_2B08E7E0: 3215 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 3216 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 3217 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 3218 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 3219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3221 _flag_k = FK_CMP; 3222 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 3223 L_2B08E7EE: 3224 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 3225 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 3226 L_2B08E7F3: 3227 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 3228 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 3229 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 3230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3231 _flag_k = FK_CMP; 3232 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 3233 L_2B08E7FA: 3234 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 3235 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 3236 L_2B08E7FE: 3237 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 3238 L_2B08E801: 3239 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 3240 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 3241 L_2B08E806: 3242 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 3243 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 3244 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 3245 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 3246 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 3247 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 3248 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 3249 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 3250 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 3251 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 3252 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 3253 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 3254 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3256 _flag_k = FK_CMP; 3257 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 3258 L_2B08E82B: 3259 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 3260 L_2B08E82E: 3261 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 3262 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 3263 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 3264 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 3265 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3267 _flag_k = FK_CMP; 3268 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 3269 L_2B08E83C: 3270 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 3271 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 3272 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 3273 L_2B08E847: 3274 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 3275 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 3276 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3278 _flag_k = FK_CMP; 3279 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 3280 L_2B08E84F: 3281 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 3282 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 3283 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 3284 L_2B08E85A: 3285 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 3286 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 3287 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 3288 L_2B08E864: 3289 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 3290 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3292 _flag_k = FK_NARROW(FK_CMP, 24); 3293 RECOMP_BACKEDGE(); 3294 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 3295 L_2B08E86E: 3296 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 3297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3299 _flag_k = FK_CMP; 3300 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 3301 L_2B08E872: 3302 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 3303 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 3304 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 3305 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 3306 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 3307 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 3308 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3310 _flag_k = FK_CMP; 3311 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 3312 L_2B08E883: 3313 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 3314 L_2B08E886: 3315 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 3316 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 3317 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 3318 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 3319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3321 _flag_k = FK_CMP; 3322 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 3323 L_2B08E894: 3324 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 3325 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 3326 L_2B08E899: 3327 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 3328 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 3329 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3331 _flag_k = FK_CMP; 3332 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 3333 L_2B08E8A1: 3334 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 3335 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 3336 L_2B08E8A6: 3337 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 3338 L_2B08E8A8: 3339 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 3340 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 3341 L_2B08E8AE: 3342 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 3343 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 3344 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 3345 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 3346 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 3347 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 3348 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 3349 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 3350 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 3351 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 3352 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 3353 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 3354 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3356 _flag_k = FK_CMP; 3357 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 3358 L_2B08E8D3: 3359 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 3360 L_2B08E8D6: 3361 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 3362 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 3363 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 3364 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 3365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3367 _flag_k = FK_CMP; 3368 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 3369 L_2B08E8E4: 3370 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 3371 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 3372 L_2B08E8E9: 3373 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 3374 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 3375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3377 _flag_k = FK_CMP; 3378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 3379 L_2B08E8F0: 3380 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 3381 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 3382 L_2B08E8F4: 3383 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 3384 L_2B08E8F7: 3385 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 3386 L_2B08E8F9: 3387 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 3388 L_2B08E8FC: 3389 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 3390 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 3391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3393 _flag_k = FK_CMP; 3394 RECOMP_BACKEDGE(); 3395 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 3396 L_2B08E908: 3397 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 3398 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 3399 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 3400 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 3401 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 3402 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 3403 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 3404 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 3405 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 3406 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 3407 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 3408 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 3409 RECOMP_REGS_OUT(); 3410 } 3411 3412 void sub_2B08E8AE(void) { 3413 int _fpu_cmp = 0; 3414 uint32_t _cf = 0; 3415 int _df = 1; 3416 uint32_t _flag_k = FK_NONE; 3417 uint32_t _flag_a = 0, _flag_b = 0; 3418 uint32_t _itail_tgt = 0; 3419 RECOMP_REGS_LOCALS 3420 RECOMP_ENTER(0x2B08E8AEu); 3421 3422 goto L_2B08E8AE; 3423 L_2B08E788: 3424 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 3425 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 3426 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 3427 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3428 _cf = 0; 3429 _flag_k = FK_NARROW(FK_TEST, 24); 3430 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 3431 L_2B08E796: 3432 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 3433 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 3434 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 3435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3437 _flag_k = FK_CMP; 3438 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 3439 L_2B08E7A3: 3440 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 3441 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 3442 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3444 _flag_k = FK_NARROW(FK_CMP, 24); 3445 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 3446 L_2B08E7AC: 3447 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 3448 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 3449 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 3450 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 3451 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 3452 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 3453 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 3454 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 3455 L_2B08E7C7: 3456 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 3457 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3459 _flag_k = FK_CMP; 3460 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 3461 L_2B08E7CC: 3462 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 3463 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 3464 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 3465 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 3466 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 3467 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 3468 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3470 _flag_k = FK_CMP; 3471 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 3472 L_2B08E7DD: 3473 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 3474 L_2B08E7E0: 3475 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 3476 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 3477 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 3478 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 3479 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3481 _flag_k = FK_CMP; 3482 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 3483 L_2B08E7EE: 3484 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 3485 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 3486 L_2B08E7F3: 3487 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 3488 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 3489 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 3490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3491 _flag_k = FK_CMP; 3492 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 3493 L_2B08E7FA: 3494 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 3495 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 3496 L_2B08E7FE: 3497 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 3498 L_2B08E801: 3499 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 3500 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 3501 L_2B08E806: 3502 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 3503 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 3504 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 3505 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 3506 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 3507 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 3508 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 3509 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 3510 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 3511 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 3512 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 3513 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 3514 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3516 _flag_k = FK_CMP; 3517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 3518 L_2B08E82B: 3519 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 3520 L_2B08E82E: 3521 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 3522 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 3523 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 3524 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 3525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3527 _flag_k = FK_CMP; 3528 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 3529 L_2B08E83C: 3530 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 3531 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 3532 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 3533 L_2B08E847: 3534 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 3535 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 3536 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3538 _flag_k = FK_CMP; 3539 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 3540 L_2B08E84F: 3541 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 3542 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 3543 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 3544 L_2B08E85A: 3545 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 3546 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 3547 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 3548 L_2B08E864: 3549 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 3550 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3552 _flag_k = FK_NARROW(FK_CMP, 24); 3553 RECOMP_BACKEDGE(); 3554 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 3555 L_2B08E86E: 3556 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 3557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3559 _flag_k = FK_CMP; 3560 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 3561 L_2B08E872: 3562 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 3563 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 3564 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 3565 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 3566 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 3567 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 3568 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3570 _flag_k = FK_CMP; 3571 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 3572 L_2B08E883: 3573 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 3574 L_2B08E886: 3575 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 3576 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 3577 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 3578 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 3579 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3581 _flag_k = FK_CMP; 3582 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 3583 L_2B08E894: 3584 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 3585 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 3586 L_2B08E899: 3587 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 3588 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 3589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3591 _flag_k = FK_CMP; 3592 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 3593 L_2B08E8A1: 3594 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 3595 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 3596 L_2B08E8A6: 3597 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 3598 L_2B08E8A8: 3599 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 3600 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 3601 L_2B08E8AE: 3602 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 3603 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 3604 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 3605 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 3606 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 3607 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 3608 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 3609 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 3610 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 3611 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 3612 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 3613 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 3614 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3616 _flag_k = FK_CMP; 3617 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 3618 L_2B08E8D3: 3619 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 3620 L_2B08E8D6: 3621 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 3622 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 3623 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 3624 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 3625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3627 _flag_k = FK_CMP; 3628 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 3629 L_2B08E8E4: 3630 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 3631 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 3632 L_2B08E8E9: 3633 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 3634 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 3635 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3637 _flag_k = FK_CMP; 3638 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 3639 L_2B08E8F0: 3640 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 3641 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 3642 L_2B08E8F4: 3643 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 3644 L_2B08E8F7: 3645 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 3646 L_2B08E8F9: 3647 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 3648 L_2B08E8FC: 3649 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 3650 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 3651 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3653 _flag_k = FK_CMP; 3654 RECOMP_BACKEDGE(); 3655 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 3656 L_2B08E908: 3657 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 3658 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 3659 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 3660 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 3661 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 3662 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 3663 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 3664 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 3665 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 3666 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 3667 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 3668 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 3669 RECOMP_REGS_OUT(); 3670 } 3671 3672 void sub_2B08E8F7(void) { 3673 int _fpu_cmp = 0; 3674 uint32_t _cf = 0; 3675 int _df = 1; 3676 uint32_t _flag_k = FK_NONE; 3677 uint32_t _flag_a = 0, _flag_b = 0; 3678 uint32_t _itail_tgt = 0; 3679 RECOMP_REGS_LOCALS 3680 RECOMP_ENTER(0x2B08E8F7u); 3681 3682 goto L_2B08E8F7; 3683 L_2B08E788: 3684 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 3685 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 3686 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 3687 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3688 _cf = 0; 3689 _flag_k = FK_NARROW(FK_TEST, 24); 3690 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 3691 L_2B08E796: 3692 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 3693 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 3694 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 3695 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3697 _flag_k = FK_CMP; 3698 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 3699 L_2B08E7A3: 3700 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 3701 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 3702 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3703 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3704 _flag_k = FK_NARROW(FK_CMP, 24); 3705 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 3706 L_2B08E7AC: 3707 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 3708 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 3709 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 3710 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 3711 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 3712 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 3713 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 3714 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 3715 L_2B08E7C7: 3716 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 3717 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3719 _flag_k = FK_CMP; 3720 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 3721 L_2B08E7CC: 3722 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 3723 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 3724 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 3725 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 3726 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 3727 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 3728 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3730 _flag_k = FK_CMP; 3731 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 3732 L_2B08E7DD: 3733 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 3734 L_2B08E7E0: 3735 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 3736 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 3737 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 3738 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 3739 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3741 _flag_k = FK_CMP; 3742 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 3743 L_2B08E7EE: 3744 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 3745 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 3746 L_2B08E7F3: 3747 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 3748 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 3749 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 3750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3751 _flag_k = FK_CMP; 3752 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 3753 L_2B08E7FA: 3754 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 3755 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 3756 L_2B08E7FE: 3757 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 3758 L_2B08E801: 3759 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 3760 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 3761 L_2B08E806: 3762 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 3763 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 3764 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 3765 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 3766 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 3767 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 3768 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 3769 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 3770 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 3771 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 3772 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 3773 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 3774 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3776 _flag_k = FK_CMP; 3777 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 3778 L_2B08E82B: 3779 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 3780 L_2B08E82E: 3781 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 3782 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 3783 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 3784 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 3785 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3787 _flag_k = FK_CMP; 3788 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 3789 L_2B08E83C: 3790 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 3791 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 3792 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 3793 L_2B08E847: 3794 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 3795 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 3796 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3798 _flag_k = FK_CMP; 3799 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 3800 L_2B08E84F: 3801 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 3802 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 3803 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 3804 L_2B08E85A: 3805 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 3806 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 3807 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 3808 L_2B08E864: 3809 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 3810 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3812 _flag_k = FK_NARROW(FK_CMP, 24); 3813 RECOMP_BACKEDGE(); 3814 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 3815 L_2B08E86E: 3816 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 3817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 3818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3819 _flag_k = FK_CMP; 3820 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 3821 L_2B08E872: 3822 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 3823 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 3824 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 3825 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 3826 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 3827 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 3828 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3830 _flag_k = FK_CMP; 3831 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 3832 L_2B08E883: 3833 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 3834 L_2B08E886: 3835 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 3836 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 3837 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 3838 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 3839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 3840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3841 _flag_k = FK_CMP; 3842 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 3843 L_2B08E894: 3844 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 3845 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 3846 L_2B08E899: 3847 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 3848 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 3849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 3850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3851 _flag_k = FK_CMP; 3852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 3853 L_2B08E8A1: 3854 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 3855 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 3856 L_2B08E8A6: 3857 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 3858 L_2B08E8A8: 3859 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 3860 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 3861 L_2B08E8AE: 3862 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 3863 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 3864 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 3865 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 3866 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 3867 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 3868 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 3869 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 3870 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 3871 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 3872 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 3873 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 3874 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3876 _flag_k = FK_CMP; 3877 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 3878 L_2B08E8D3: 3879 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 3880 L_2B08E8D6: 3881 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 3882 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 3883 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 3884 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 3885 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 3886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3887 _flag_k = FK_CMP; 3888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 3889 L_2B08E8E4: 3890 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 3891 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 3892 L_2B08E8E9: 3893 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 3894 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 3895 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 3896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3897 _flag_k = FK_CMP; 3898 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 3899 L_2B08E8F0: 3900 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 3901 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 3902 L_2B08E8F4: 3903 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 3904 L_2B08E8F7: 3905 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 3906 L_2B08E8F9: 3907 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 3908 L_2B08E8FC: 3909 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 3910 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 3911 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3913 _flag_k = FK_CMP; 3914 RECOMP_BACKEDGE(); 3915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 3916 L_2B08E908: 3917 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 3918 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 3919 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 3920 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 3921 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 3922 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 3923 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 3924 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 3925 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 3926 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 3927 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 3928 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 3929 RECOMP_REGS_OUT(); 3930 } 3931 3932 void sub_2B08E8F9(void) { 3933 int _fpu_cmp = 0; 3934 uint32_t _cf = 0; 3935 int _df = 1; 3936 uint32_t _flag_k = FK_NONE; 3937 uint32_t _flag_a = 0, _flag_b = 0; 3938 uint32_t _itail_tgt = 0; 3939 RECOMP_REGS_LOCALS 3940 RECOMP_ENTER(0x2B08E8F9u); 3941 3942 goto L_2B08E8F9; 3943 L_2B08E788: 3944 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 3945 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 3946 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 3947 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3948 _cf = 0; 3949 _flag_k = FK_NARROW(FK_TEST, 24); 3950 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 3951 L_2B08E796: 3952 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 3953 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 3954 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 3955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3957 _flag_k = FK_CMP; 3958 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 3959 L_2B08E7A3: 3960 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 3961 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 3962 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 3963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3964 _flag_k = FK_NARROW(FK_CMP, 24); 3965 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 3966 L_2B08E7AC: 3967 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 3968 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 3969 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 3970 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 3971 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 3972 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 3973 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 3974 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 3975 L_2B08E7C7: 3976 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 3977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 3978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3979 _flag_k = FK_CMP; 3980 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 3981 L_2B08E7CC: 3982 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 3983 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 3984 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 3985 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 3986 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 3987 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 3988 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3990 _flag_k = FK_CMP; 3991 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 3992 L_2B08E7DD: 3993 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 3994 L_2B08E7E0: 3995 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 3996 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 3997 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 3998 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 3999 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4001 _flag_k = FK_CMP; 4002 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 4003 L_2B08E7EE: 4004 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 4005 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 4006 L_2B08E7F3: 4007 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 4008 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 4009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 4010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4011 _flag_k = FK_CMP; 4012 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 4013 L_2B08E7FA: 4014 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 4015 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 4016 L_2B08E7FE: 4017 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 4018 L_2B08E801: 4019 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 4020 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 4021 L_2B08E806: 4022 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 4023 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 4024 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 4025 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 4026 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 4027 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 4028 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 4029 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 4030 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 4031 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 4032 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 4033 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 4034 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4036 _flag_k = FK_CMP; 4037 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 4038 L_2B08E82B: 4039 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 4040 L_2B08E82E: 4041 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 4042 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 4043 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 4044 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 4045 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4047 _flag_k = FK_CMP; 4048 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 4049 L_2B08E83C: 4050 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 4051 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 4052 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 4053 L_2B08E847: 4054 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 4055 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 4056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4058 _flag_k = FK_CMP; 4059 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 4060 L_2B08E84F: 4061 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 4062 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 4063 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 4064 L_2B08E85A: 4065 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 4066 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 4067 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 4068 L_2B08E864: 4069 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 4070 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 4071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4072 _flag_k = FK_NARROW(FK_CMP, 24); 4073 RECOMP_BACKEDGE(); 4074 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 4075 L_2B08E86E: 4076 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 4077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 4078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4079 _flag_k = FK_CMP; 4080 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 4081 L_2B08E872: 4082 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 4083 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 4084 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 4085 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 4086 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 4087 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 4088 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4090 _flag_k = FK_CMP; 4091 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 4092 L_2B08E883: 4093 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 4094 L_2B08E886: 4095 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 4096 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 4097 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 4098 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 4099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4101 _flag_k = FK_CMP; 4102 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 4103 L_2B08E894: 4104 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 4105 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 4106 L_2B08E899: 4107 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 4108 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 4109 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 4110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4111 _flag_k = FK_CMP; 4112 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 4113 L_2B08E8A1: 4114 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 4115 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 4116 L_2B08E8A6: 4117 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 4118 L_2B08E8A8: 4119 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 4120 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 4121 L_2B08E8AE: 4122 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 4123 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 4124 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 4125 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 4126 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 4127 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 4128 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 4129 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 4130 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 4131 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 4132 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 4133 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 4134 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4136 _flag_k = FK_CMP; 4137 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 4138 L_2B08E8D3: 4139 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 4140 L_2B08E8D6: 4141 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 4142 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 4143 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 4144 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 4145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4147 _flag_k = FK_CMP; 4148 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 4149 L_2B08E8E4: 4150 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 4151 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 4152 L_2B08E8E9: 4153 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 4154 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 4155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 4156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4157 _flag_k = FK_CMP; 4158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 4159 L_2B08E8F0: 4160 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 4161 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 4162 L_2B08E8F4: 4163 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 4164 L_2B08E8F7: 4165 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 4166 L_2B08E8F9: 4167 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 4168 L_2B08E8FC: 4169 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 4170 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 4171 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4173 _flag_k = FK_CMP; 4174 RECOMP_BACKEDGE(); 4175 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 4176 L_2B08E908: 4177 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 4178 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 4179 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 4180 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 4181 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 4182 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 4183 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 4184 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 4185 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 4186 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 4187 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 4188 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 4189 RECOMP_REGS_OUT(); 4190 } 4191 4192 void sub_2B08E8FC(void) { 4193 int _fpu_cmp = 0; 4194 uint32_t _cf = 0; 4195 int _df = 1; 4196 uint32_t _flag_k = FK_NONE; 4197 uint32_t _flag_a = 0, _flag_b = 0; 4198 uint32_t _itail_tgt = 0; 4199 RECOMP_REGS_LOCALS 4200 RECOMP_ENTER(0x2B08E8FCu); 4201 4202 goto L_2B08E8FC; 4203 L_2B08E788: 4204 ecx = MEM32(eax + 0x4); /* 0x2B08E788: mov ecx, dword ptr [eax + 4] */ 4205 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x2B08E78B: mov dl, byte ptr [ecx + 0x2c] */ 4206 /* test LO8(edx), LO8(edx) */ /* 0x2B08E78E: test dl, dl */ 4207 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4208 _cf = 0; 4209 _flag_k = FK_NARROW(FK_TEST, 24); 4210 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08E908; /* 0x2B08E790: jne 0x2b08e908 */ 4211 L_2B08E796: 4212 edi = MEM32(ecx + 0x4); /* 0x2B08E796: mov edi, dword ptr [ecx + 4] */ 4213 edx = MEM32(edi); /* 0x2B08E799: mov edx, dword ptr [edi] */ 4214 /* cmp ecx, edx */ /* 0x2B08E79B: cmp ecx, edx */ 4215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 4216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4217 _flag_k = FK_CMP; 4218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E864; /* 0x2B08E79D: jne 0x2b08e864 */ 4219 L_2B08E7A3: 4220 edx = MEM32(edi + 0x8); /* 0x2B08E7A3: mov edx, dword ptr [edi + 8] */ 4221 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E7A6: cmp byte ptr [edx + 0x2c], 0 */ 4222 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 4223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4224 _flag_k = FK_NARROW(FK_CMP, 24); 4225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7C7; /* 0x2B08E7AA: jne 0x2b08e7c7 */ 4226 L_2B08E7AC: 4227 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AC: mov byte ptr [ecx + 0x2c], bl */ 4228 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E7AF: mov byte ptr [edx + 0x2c], bl */ 4229 ecx = MEM32(eax + 0x4); /* 0x2B08E7B2: mov ecx, dword ptr [eax + 4] */ 4230 edx = MEM32(ecx + 0x4); /* 0x2B08E7B5: mov edx, dword ptr [ecx + 4] */ 4231 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x2B08E7B8: mov byte ptr [edx + 0x2c], 0 */ 4232 eax = MEM32(eax + 0x4); /* 0x2B08E7BC: mov eax, dword ptr [eax + 4] */ 4233 eax = MEM32(eax + 0x4); /* 0x2B08E7BF: mov eax, dword ptr [eax + 4] */ 4234 goto L_2B08E8FC; /* 0x2B08E7C2: jmp 0x2b08e8fc */ 4235 L_2B08E7C7: 4236 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B08E7C7: cmp eax, dword ptr [ecx + 8] */ 4237 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 4238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4239 _flag_k = FK_CMP; 4240 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E806; /* 0x2B08E7CA: jne 0x2b08e806 */ 4241 L_2B08E7CC: 4242 eax = ecx; /* 0x2B08E7CC: mov eax, ecx */ 4243 ecx = MEM32(eax + 0x8); /* 0x2B08E7CE: mov ecx, dword ptr [eax + 8] */ 4244 edx = MEM32(ecx); /* 0x2B08E7D1: mov edx, dword ptr [ecx] */ 4245 MEM32(eax + 0x8) = edx; /* 0x2B08E7D3: mov dword ptr [eax + 8], edx */ 4246 edx = MEM32(ecx); /* 0x2B08E7D6: mov edx, dword ptr [ecx] */ 4247 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E7D8: cmp edx, dword ptr [esi + 8] */ 4248 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4250 _flag_k = FK_CMP; 4251 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7E0; /* 0x2B08E7DB: je 0x2b08e7e0 */ 4252 L_2B08E7DD: 4253 MEM32(edx + 0x4) = eax; /* 0x2B08E7DD: mov dword ptr [edx + 4], eax */ 4254 L_2B08E7E0: 4255 edx = MEM32(eax + 0x4); /* 0x2B08E7E0: mov edx, dword ptr [eax + 4] */ 4256 MEM32(ecx + 0x4) = edx; /* 0x2B08E7E3: mov dword ptr [ecx + 4], edx */ 4257 edx = MEM32(esi + 0x4); /* 0x2B08E7E6: mov edx, dword ptr [esi + 4] */ 4258 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E7E9: cmp eax, dword ptr [edx + 4] */ 4259 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4261 _flag_k = FK_CMP; 4262 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7F3; /* 0x2B08E7EC: jne 0x2b08e7f3 */ 4263 L_2B08E7EE: 4264 MEM32(edx + 0x4) = ecx; /* 0x2B08E7EE: mov dword ptr [edx + 4], ecx */ 4265 goto L_2B08E801; /* 0x2B08E7F1: jmp 0x2b08e801 */ 4266 L_2B08E7F3: 4267 edx = MEM32(eax + 0x4); /* 0x2B08E7F3: mov edx, dword ptr [eax + 4] */ 4268 /* cmp eax, MEM32(edx) */ /* 0x2B08E7F6: cmp eax, dword ptr [edx] */ 4269 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 4270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4271 _flag_k = FK_CMP; 4272 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E7FE; /* 0x2B08E7F8: jne 0x2b08e7fe */ 4273 L_2B08E7FA: 4274 MEM32(edx) = ecx; /* 0x2B08E7FA: mov dword ptr [edx], ecx */ 4275 goto L_2B08E801; /* 0x2B08E7FC: jmp 0x2b08e801 */ 4276 L_2B08E7FE: 4277 MEM32(edx + 0x8) = ecx; /* 0x2B08E7FE: mov dword ptr [edx + 8], ecx */ 4278 L_2B08E801: 4279 MEM32(ecx) = eax; /* 0x2B08E801: mov dword ptr [ecx], eax */ 4280 MEM32(eax + 0x4) = ecx; /* 0x2B08E803: mov dword ptr [eax + 4], ecx */ 4281 L_2B08E806: 4282 ecx = MEM32(eax + 0x4); /* 0x2B08E806: mov ecx, dword ptr [eax + 4] */ 4283 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E809: mov byte ptr [ecx + 0x2c], bl */ 4284 edx = MEM32(eax + 0x4); /* 0x2B08E80C: mov edx, dword ptr [eax + 4] */ 4285 ecx = MEM32(edx + 0x4); /* 0x2B08E80F: mov ecx, dword ptr [edx + 4] */ 4286 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E812: mov byte ptr [ecx + 0x2c], 0 */ 4287 edx = MEM32(eax + 0x4); /* 0x2B08E816: mov edx, dword ptr [eax + 4] */ 4288 ecx = MEM32(edx + 0x4); /* 0x2B08E819: mov ecx, dword ptr [edx + 4] */ 4289 edx = MEM32(ecx); /* 0x2B08E81C: mov edx, dword ptr [ecx] */ 4290 edi = MEM32(edx + 0x8); /* 0x2B08E81E: mov edi, dword ptr [edx + 8] */ 4291 MEM32(ecx) = edi; /* 0x2B08E821: mov dword ptr [ecx], edi */ 4292 edi = MEM32(edx + 0x8); /* 0x2B08E823: mov edi, dword ptr [edx + 8] */ 4293 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E826: cmp edi, dword ptr [esi + 8] */ 4294 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4296 _flag_k = FK_CMP; 4297 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E82E; /* 0x2B08E829: je 0x2b08e82e */ 4298 L_2B08E82B: 4299 MEM32(edi + 0x4) = ecx; /* 0x2B08E82B: mov dword ptr [edi + 4], ecx */ 4300 L_2B08E82E: 4301 edi = MEM32(ecx + 0x4); /* 0x2B08E82E: mov edi, dword ptr [ecx + 4] */ 4302 MEM32(edx + 0x4) = edi; /* 0x2B08E831: mov dword ptr [edx + 4], edi */ 4303 edi = MEM32(esi + 0x4); /* 0x2B08E834: mov edi, dword ptr [esi + 4] */ 4304 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E837: cmp ecx, dword ptr [edi + 4] */ 4305 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4307 _flag_k = FK_CMP; 4308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E847; /* 0x2B08E83A: jne 0x2b08e847 */ 4309 L_2B08E83C: 4310 MEM32(edi + 0x4) = edx; /* 0x2B08E83C: mov dword ptr [edi + 4], edx */ 4311 MEM32(edx + 0x8) = ecx; /* 0x2B08E83F: mov dword ptr [edx + 8], ecx */ 4312 goto L_2B08E8F9; /* 0x2B08E842: jmp 0x2b08e8f9 */ 4313 L_2B08E847: 4314 edi = MEM32(ecx + 0x4); /* 0x2B08E847: mov edi, dword ptr [ecx + 4] */ 4315 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B08E84A: cmp ecx, dword ptr [edi + 8] */ 4316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4318 _flag_k = FK_CMP; 4319 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E85A; /* 0x2B08E84D: jne 0x2b08e85a */ 4320 L_2B08E84F: 4321 MEM32(edi + 0x8) = edx; /* 0x2B08E84F: mov dword ptr [edi + 8], edx */ 4322 MEM32(edx + 0x8) = ecx; /* 0x2B08E852: mov dword ptr [edx + 8], ecx */ 4323 goto L_2B08E8F9; /* 0x2B08E855: jmp 0x2b08e8f9 */ 4324 L_2B08E85A: 4325 MEM32(edi) = edx; /* 0x2B08E85A: mov dword ptr [edi], edx */ 4326 MEM32(edx + 0x8) = ecx; /* 0x2B08E85C: mov dword ptr [edx + 8], ecx */ 4327 goto L_2B08E8F9; /* 0x2B08E85F: jmp 0x2b08e8f9 */ 4328 L_2B08E864: 4329 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x2B08E864: cmp byte ptr [edx + 0x2c], 0 */ 4330 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 4331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4332 _flag_k = FK_NARROW(FK_CMP, 24); 4333 RECOMP_BACKEDGE(); 4334 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E7AC; /* 0x2B08E868: je 0x2b08e7ac */ 4335 L_2B08E86E: 4336 /* cmp eax, MEM32(ecx) */ /* 0x2B08E86E: cmp eax, dword ptr [ecx] */ 4337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 4338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4339 _flag_k = FK_CMP; 4340 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8AE; /* 0x2B08E870: jne 0x2b08e8ae */ 4341 L_2B08E872: 4342 eax = ecx; /* 0x2B08E872: mov eax, ecx */ 4343 ecx = MEM32(eax); /* 0x2B08E874: mov ecx, dword ptr [eax] */ 4344 edx = MEM32(ecx + 0x8); /* 0x2B08E876: mov edx, dword ptr [ecx + 8] */ 4345 MEM32(eax) = edx; /* 0x2B08E879: mov dword ptr [eax], edx */ 4346 edx = MEM32(ecx + 0x8); /* 0x2B08E87B: mov edx, dword ptr [ecx + 8] */ 4347 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B08E87E: cmp edx, dword ptr [esi + 8] */ 4348 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4350 _flag_k = FK_CMP; 4351 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E886; /* 0x2B08E881: je 0x2b08e886 */ 4352 L_2B08E883: 4353 MEM32(edx + 0x4) = eax; /* 0x2B08E883: mov dword ptr [edx + 4], eax */ 4354 L_2B08E886: 4355 edx = MEM32(eax + 0x4); /* 0x2B08E886: mov edx, dword ptr [eax + 4] */ 4356 MEM32(ecx + 0x4) = edx; /* 0x2B08E889: mov dword ptr [ecx + 4], edx */ 4357 edx = MEM32(esi + 0x4); /* 0x2B08E88C: mov edx, dword ptr [esi + 4] */ 4358 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B08E88F: cmp eax, dword ptr [edx + 4] */ 4359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 4360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4361 _flag_k = FK_CMP; 4362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E899; /* 0x2B08E892: jne 0x2b08e899 */ 4363 L_2B08E894: 4364 MEM32(edx + 0x4) = ecx; /* 0x2B08E894: mov dword ptr [edx + 4], ecx */ 4365 goto L_2B08E8A8; /* 0x2B08E897: jmp 0x2b08e8a8 */ 4366 L_2B08E899: 4367 edx = MEM32(eax + 0x4); /* 0x2B08E899: mov edx, dword ptr [eax + 4] */ 4368 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B08E89C: cmp eax, dword ptr [edx + 8] */ 4369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 4370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4371 _flag_k = FK_CMP; 4372 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8A6; /* 0x2B08E89F: jne 0x2b08e8a6 */ 4373 L_2B08E8A1: 4374 MEM32(edx + 0x8) = ecx; /* 0x2B08E8A1: mov dword ptr [edx + 8], ecx */ 4375 goto L_2B08E8A8; /* 0x2B08E8A4: jmp 0x2b08e8a8 */ 4376 L_2B08E8A6: 4377 MEM32(edx) = ecx; /* 0x2B08E8A6: mov dword ptr [edx], ecx */ 4378 L_2B08E8A8: 4379 MEM32(ecx + 0x8) = eax; /* 0x2B08E8A8: mov dword ptr [ecx + 8], eax */ 4380 MEM32(eax + 0x4) = ecx; /* 0x2B08E8AB: mov dword ptr [eax + 4], ecx */ 4381 L_2B08E8AE: 4382 ecx = MEM32(eax + 0x4); /* 0x2B08E8AE: mov ecx, dword ptr [eax + 4] */ 4383 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E8B1: mov byte ptr [ecx + 0x2c], bl */ 4384 edx = MEM32(eax + 0x4); /* 0x2B08E8B4: mov edx, dword ptr [eax + 4] */ 4385 ecx = MEM32(edx + 0x4); /* 0x2B08E8B7: mov ecx, dword ptr [edx + 4] */ 4386 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x2B08E8BA: mov byte ptr [ecx + 0x2c], 0 */ 4387 edx = MEM32(eax + 0x4); /* 0x2B08E8BE: mov edx, dword ptr [eax + 4] */ 4388 ecx = MEM32(edx + 0x4); /* 0x2B08E8C1: mov ecx, dword ptr [edx + 4] */ 4389 edx = MEM32(ecx + 0x8); /* 0x2B08E8C4: mov edx, dword ptr [ecx + 8] */ 4390 edi = MEM32(edx); /* 0x2B08E8C7: mov edi, dword ptr [edx] */ 4391 MEM32(ecx + 0x8) = edi; /* 0x2B08E8C9: mov dword ptr [ecx + 8], edi */ 4392 edi = MEM32(edx); /* 0x2B08E8CC: mov edi, dword ptr [edx] */ 4393 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B08E8CE: cmp edi, dword ptr [esi + 8] */ 4394 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4396 _flag_k = FK_CMP; 4397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08E8D6; /* 0x2B08E8D1: je 0x2b08e8d6 */ 4398 L_2B08E8D3: 4399 MEM32(edi + 0x4) = ecx; /* 0x2B08E8D3: mov dword ptr [edi + 4], ecx */ 4400 L_2B08E8D6: 4401 edi = MEM32(ecx + 0x4); /* 0x2B08E8D6: mov edi, dword ptr [ecx + 4] */ 4402 MEM32(edx + 0x4) = edi; /* 0x2B08E8D9: mov dword ptr [edx + 4], edi */ 4403 edi = MEM32(esi + 0x4); /* 0x2B08E8DC: mov edi, dword ptr [esi + 4] */ 4404 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B08E8DF: cmp ecx, dword ptr [edi + 4] */ 4405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 4406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4407 _flag_k = FK_CMP; 4408 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8E9; /* 0x2B08E8E2: jne 0x2b08e8e9 */ 4409 L_2B08E8E4: 4410 MEM32(edi + 0x4) = edx; /* 0x2B08E8E4: mov dword ptr [edi + 4], edx */ 4411 goto L_2B08E8F7; /* 0x2B08E8E7: jmp 0x2b08e8f7 */ 4412 L_2B08E8E9: 4413 edi = MEM32(ecx + 0x4); /* 0x2B08E8E9: mov edi, dword ptr [ecx + 4] */ 4414 /* cmp ecx, MEM32(edi) */ /* 0x2B08E8EC: cmp ecx, dword ptr [edi] */ 4415 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 4416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4417 _flag_k = FK_CMP; 4418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E8F4; /* 0x2B08E8EE: jne 0x2b08e8f4 */ 4419 L_2B08E8F0: 4420 MEM32(edi) = edx; /* 0x2B08E8F0: mov dword ptr [edi], edx */ 4421 goto L_2B08E8F7; /* 0x2B08E8F2: jmp 0x2b08e8f7 */ 4422 L_2B08E8F4: 4423 MEM32(edi + 0x8) = edx; /* 0x2B08E8F4: mov dword ptr [edi + 8], edx */ 4424 L_2B08E8F7: 4425 MEM32(edx) = ecx; /* 0x2B08E8F7: mov dword ptr [edx], ecx */ 4426 L_2B08E8F9: 4427 MEM32(ecx + 0x4) = edx; /* 0x2B08E8F9: mov dword ptr [ecx + 4], edx */ 4428 L_2B08E8FC: 4429 ecx = MEM32(esi + 0x4); /* 0x2B08E8FC: mov ecx, dword ptr [esi + 4] */ 4430 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08E8FF: cmp eax, dword ptr [ecx + 4] */ 4431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4433 _flag_k = FK_CMP; 4434 RECOMP_BACKEDGE(); 4435 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08E788; /* 0x2B08E902: jne 0x2b08e788 */ 4436 L_2B08E908: 4437 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 4438 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 4439 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 4440 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 4441 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 4442 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 4443 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 4444 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 4445 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 4446 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 4447 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 4448 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 4449 RECOMP_REGS_OUT(); 4450 } 4451 4452 void sub_2B08E908(void) { 4453 int _fpu_cmp = 0; 4454 uint32_t _cf = 0; 4455 int _df = 1; 4456 uint32_t _flag_k = FK_NONE; 4457 uint32_t _flag_a = 0, _flag_b = 0; 4458 uint32_t _itail_tgt = 0; 4459 RECOMP_REGS_LOCALS 4460 RECOMP_ENTER(0x2B08E908u); 4461 4462 L_2B08E908: 4463 edx = MEM32(esi + 0x4); /* 0x2B08E908: mov edx, dword ptr [esi + 4] */ 4464 eax = MEM32(edx + 0x4); /* 0x2B08E90B: mov eax, dword ptr [edx + 4] */ 4465 ecx = MEM32(ebp + (-0x4)); /* 0x2B08E90E: mov ecx, dword ptr [ebp - 4] */ 4466 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x2B08E911: mov byte ptr [eax + 0x2c], bl */ 4467 eax = MEM32(ebp + 0x8); /* 0x2B08E914: mov eax, dword ptr [ebp + 8] */ 4468 edi = POP32_VAL(esp); /* 0x2B08E917: pop edi */ 4469 esi = POP32_VAL(esp); /* 0x2B08E918: pop esi */ 4470 MEM32(eax) = ecx; /* 0x2B08E919: mov dword ptr [eax], ecx */ 4471 ebx = POP32_VAL(esp); /* 0x2B08E91B: pop ebx */ 4472 esp = ebp; /* 0x2B08E91C: mov esp, ebp */ 4473 ebp = POP32_VAL(esp); /* 0x2B08E91E: pop ebp */ 4474 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B08E91F: ret 0x10 */ 4475 RECOMP_REGS_OUT(); 4476 } 4477 4478 void sub_2B08E930(void) { 4479 int _fpu_cmp = 0; 4480 uint32_t _cf = 0; 4481 int _df = 1; 4482 uint32_t _flag_k = FK_NONE; 4483 uint32_t _flag_a = 0, _flag_b = 0; 4484 uint32_t _itail_tgt = 0; 4485 RECOMP_REGS_LOCALS 4486 RECOMP_ENTER(0x2B08E930u); 4487 4488 L_2B08E930: 4489 PUSH32(esp, ebp); /* 0x2B08E930: push ebp */ 4490 ebp = esp; /* 0x2B08E931: mov ebp, esp */ 4491 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08E933: push -1 */ 4492 PUSH32(esp, 0x2B0B2931u); /* 0x2B08E935: push 0x2b0b2931 */ 4493 eax = MEM32(FS_BASE + (0)); /* 0x2B08E93A: mov eax, dword ptr fs:[0] */ 4494 PUSH32(esp, eax); /* 0x2B08E940: push eax */ 4495 MEM32(FS_BASE + (0)) = esp; /* 0x2B08E941: mov dword ptr fs:[0], esp */ 4496 PUSH32(esp, ecx); /* 0x2B08E948: push ecx */ 4497 ecx = MEM32(ebp + 0x8); /* 0x2B08E949: mov ecx, dword ptr [ebp + 8] */ 4498 MEM32(ebp + (-0x10)) = ecx; /* 0x2B08E94C: mov dword ptr [ebp - 0x10], ecx */ 4499 /* test ecx, ecx */ /* 0x2B08E94F: test ecx, ecx */ 4500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4501 _cf = 0; 4502 _flag_k = FK_TEST; 4503 MEM32(ebp + (-0x4)) = 0; /* 0x2B08E951: mov dword ptr [ebp - 4], 0 */ 4504 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08E964; /* 0x2B08E958: je 0x2b08e964 */ 4505 L_2B08E95A: 4506 eax = MEM32(ebp + 0xC); /* 0x2B08E95A: mov eax, dword ptr [ebp + 0xc] */ 4507 PUSH32(esp, eax); /* 0x2B08E95D: push eax */ 4508 RECOMP_ICALL(MEM32(0x2B0B5B6C)); /* 0x2B08E95E: call dword ptr [0x2b0b5b6c] */ 4509 RECOMP_FLAGS_IN(); 4510 L_2B08E964: 4511 ecx = MEM32(ebp + (-0xC)); /* 0x2B08E964: mov ecx, dword ptr [ebp - 0xc] */ 4512 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08E967: mov dword ptr fs:[0], ecx */ 4513 esp = ebp; /* 0x2B08E96E: mov esp, ebp */ 4514 ebp = POP32_VAL(esp); /* 0x2B08E970: pop ebp */ 4515 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08E971: ret */ 4516 RECOMP_REGS_OUT(); 4517 } 4518 4519 void sub_2B08E980(void) { 4520 int _fpu_cmp = 0; 4521 uint32_t _cf = 0; 4522 int _df = 1; 4523 uint32_t _flag_k = FK_NONE; 4524 uint32_t _flag_a = 0, _flag_b = 0; 4525 uint32_t _itail_tgt = 0; 4526 RECOMP_REGS_LOCALS 4527 RECOMP_ENTER(0x2B08E980u); 4528 4529 L_2B08E980: 4530 PUSH32(esp, ebp); /* 0x2B08E980: push ebp */ 4531 ebp = esp; /* 0x2B08E981: mov ebp, esp */ 4532 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08E983: push -1 */ 4533 PUSH32(esp, 0x2B0B2966u); /* 0x2B08E985: push 0x2b0b2966 */ 4534 eax = MEM32(FS_BASE + (0)); /* 0x2B08E98A: mov eax, dword ptr fs:[0] */ 4535 PUSH32(esp, eax); /* 0x2B08E990: push eax */ 4536 MEM32(FS_BASE + (0)) = esp; /* 0x2B08E991: mov dword ptr fs:[0], esp */ 4537 PUSH32(esp, ecx); /* 0x2B08E998: push ecx */ 4538 PUSH32(esp, ebx); /* 0x2B08E999: push ebx */ 4539 PUSH32(esp, esi); /* 0x2B08E99A: push esi */ 4540 esi = MEM32(ebp + 0x8); /* 0x2B08E99B: mov esi, dword ptr [ebp + 8] */ 4541 MEM32(ebp + (-0x10)) = esi; /* 0x2B08E99E: mov dword ptr [ebp - 0x10], esi */ 4542 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4543 ebx = 0; /* 0x2B08E9A1: xor ebx, ebx */ 4544 _cf = 0; 4545 _flag_k = FK_TEST; 4546 /* cmp esi, ebx */ /* 0x2B08E9A3: cmp esi, ebx */ 4547 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 4548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4549 _flag_k = FK_CMP; 4550 MEM32(ebp + (-0x4)) = ebx; /* 0x2B08E9A5: mov dword ptr [ebp - 4], ebx */ 4551 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08EA27; /* 0x2B08E9A8: je 0x2b08ea27 */ 4552 L_2B08E9AA: 4553 PUSH32(esp, edi); /* 0x2B08E9AA: push edi */ 4554 edi = MEM32(ebp + 0xC); /* 0x2B08E9AB: mov edi, dword ptr [ebp + 0xc] */ 4555 SET_LO8(eax, MEM8(edi)); /* 0x2B08E9AE: mov al, byte ptr [edi] */ 4556 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B08E9B0: mov byte ptr [esi], al */ 4557 MEM32(esi + 0x4) = ebx; /* 0x2B08E9B2: mov dword ptr [esi + 4], ebx */ 4558 MEM32(esi + 0x8) = ebx; /* 0x2B08E9B5: mov dword ptr [esi + 8], ebx */ 4559 MEM32(esi + 0xC) = ebx; /* 0x2B08E9B8: mov dword ptr [esi + 0xc], ebx */ 4560 ecx = MEM32(0x2B0B515C); /* 0x2B08E9BB: mov ecx, dword ptr [0x2b0b515c] */ 4561 edx = MEM32(ecx); /* 0x2B08E9C1: mov edx, dword ptr [ecx] */ 4562 PUSH32(esp, edx); /* 0x2B08E9C3: push edx */ 4563 PUSH32(esp, ebx); /* 0x2B08E9C4: push ebx */ 4564 PUSH32(esp, edi); /* 0x2B08E9C5: push edi */ 4565 ecx = esi; /* 0x2B08E9C6: mov ecx, esi */ 4566 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E9C8: call dword ptr [0x2b0b5158] */ 4567 RECOMP_FLAGS_IN(); 4568 SET_LO8(edx, MEM8(edi + 0x10)); /* 0x2B08E9CE: mov dl, byte ptr [edi + 0x10] */ 4569 eax = edi + 0x10; /* 0x2B08E9D1: lea eax, [edi + 0x10] */ 4570 ecx = esi + 0x10; /* 0x2B08E9D4: lea ecx, [esi + 0x10] */ 4571 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x2B08E9D7: mov byte ptr [ecx], dl */ 4572 MEM32(ecx + 0x4) = ebx; /* 0x2B08E9D9: mov dword ptr [ecx + 4], ebx */ 4573 MEM32(ecx + 0x8) = ebx; /* 0x2B08E9DC: mov dword ptr [ecx + 8], ebx */ 4574 MEM32(ecx + 0xC) = ebx; /* 0x2B08E9DF: mov dword ptr [ecx + 0xc], ebx */ 4575 edx = MEM32(0x2B0B515C); /* 0x2B08E9E2: mov edx, dword ptr [0x2b0b515c] */ 4576 edx = MEM32(edx); /* 0x2B08E9E8: mov edx, dword ptr [edx] */ 4577 PUSH32(esp, edx); /* 0x2B08E9EA: push edx */ 4578 PUSH32(esp, ebx); /* 0x2B08E9EB: push ebx */ 4579 PUSH32(esp, eax); /* 0x2B08E9EC: push eax */ 4580 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08E9ED: mov byte ptr [ebp - 4], 1 */ 4581 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08E9F1: call dword ptr [0x2b0b5158] */ 4582 RECOMP_FLAGS_IN(); 4583 SET_LO8(edx, MEM8(edi + 0x20)); /* 0x2B08E9F7: mov dl, byte ptr [edi + 0x20] */ 4584 eax = edi + 0x20; /* 0x2B08E9FA: lea eax, [edi + 0x20] */ 4585 ecx = esi + 0x20; /* 0x2B08E9FD: lea ecx, [esi + 0x20] */ 4586 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x2B08EA00: mov byte ptr [ecx], dl */ 4587 MEM32(ecx + 0x4) = ebx; /* 0x2B08EA02: mov dword ptr [ecx + 4], ebx */ 4588 MEM32(ecx + 0x8) = ebx; /* 0x2B08EA05: mov dword ptr [ecx + 8], ebx */ 4589 MEM32(ecx + 0xC) = ebx; /* 0x2B08EA08: mov dword ptr [ecx + 0xc], ebx */ 4590 edx = MEM32(0x2B0B515C); /* 0x2B08EA0B: mov edx, dword ptr [0x2b0b515c] */ 4591 edx = MEM32(edx); /* 0x2B08EA11: mov edx, dword ptr [edx] */ 4592 PUSH32(esp, edx); /* 0x2B08EA13: push edx */ 4593 PUSH32(esp, ebx); /* 0x2B08EA14: push ebx */ 4594 PUSH32(esp, eax); /* 0x2B08EA15: push eax */ 4595 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B08EA16: mov byte ptr [ebp - 4], 2 */ 4596 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08EA1A: call dword ptr [0x2b0b5158] */ 4597 RECOMP_FLAGS_IN(); 4598 SET_LO8(eax, MEM8(edi + 0x30)); /* 0x2B08EA20: mov al, byte ptr [edi + 0x30] */ 4599 MEM8(esi + 0x30) = (uint8_t)(LO8(eax)); /* 0x2B08EA23: mov byte ptr [esi + 0x30], al */ 4600 edi = POP32_VAL(esp); /* 0x2B08EA26: pop edi */ 4601 L_2B08EA27: 4602 ecx = MEM32(ebp + (-0xC)); /* 0x2B08EA27: mov ecx, dword ptr [ebp - 0xc] */ 4603 esi = POP32_VAL(esp); /* 0x2B08EA2A: pop esi */ 4604 ebx = POP32_VAL(esp); /* 0x2B08EA2B: pop ebx */ 4605 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08EA2C: mov dword ptr fs:[0], ecx */ 4606 esp = ebp; /* 0x2B08EA33: mov esp, ebp */ 4607 ebp = POP32_VAL(esp); /* 0x2B08EA35: pop ebp */ 4608 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EA36: ret */ 4609 RECOMP_REGS_OUT(); 4610 } 4611 4612 void sub_2B08EA40(void) { 4613 int _fpu_cmp = 0; 4614 uint32_t _cf = 0; 4615 int _df = 1; 4616 uint32_t _flag_k = FK_NONE; 4617 uint32_t _flag_a = 0, _flag_b = 0; 4618 uint32_t _itail_tgt = 0; 4619 RECOMP_REGS_LOCALS 4620 RECOMP_ENTER(0x2B08EA40u); 4621 4622 L_2B08EA40: 4623 PUSH32(esp, ebp); /* 0x2B08EA40: push ebp */ 4624 ebp = esp; /* 0x2B08EA41: mov ebp, esp */ 4625 PUSH32(esp, esi); /* 0x2B08EA43: push esi */ 4626 esi = ecx; /* 0x2B08EA44: mov esi, ecx */ 4627 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B08EA46: call dword ptr [0x2b0b5b8c] */ 4628 RECOMP_FLAGS_IN(); 4629 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B08EA4C: test byte ptr [ebp + 8], 1 */ 4630 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 4631 _cf = 0; 4632 _flag_k = FK_NARROW(FK_TEST, 24); 4633 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08EA5B; /* 0x2B08EA50: je 0x2b08ea5b */ 4634 L_2B08EA52: 4635 PUSH32(esp, esi); /* 0x2B08EA52: push esi */ 4636 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08EA53: call 0x2b0ab1ba */ /* not lifted */ 4637 RECOMP_FLAGS_IN(); 4638 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4639 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4640 esp = esp + 4; /* 0x2B08EA58: add esp, 4 */ 4641 _flag_k = FK_ADD; 4642 L_2B08EA5B: 4643 eax = esi; /* 0x2B08EA5B: mov eax, esi */ 4644 esi = POP32_VAL(esp); /* 0x2B08EA5D: pop esi */ 4645 ebp = POP32_VAL(esp); /* 0x2B08EA5E: pop ebp */ 4646 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B08EA5F: ret 4 */ 4647 RECOMP_REGS_OUT(); 4648 } 4649 4650 void sub_2B08EA70(void) { 4651 int _fpu_cmp = 0; 4652 uint32_t _cf = 0; 4653 int _df = 1; 4654 uint32_t _flag_k = FK_NONE; 4655 uint32_t _flag_a = 0, _flag_b = 0; 4656 uint32_t _itail_tgt = 0; 4657 RECOMP_REGS_LOCALS 4658 RECOMP_ENTER(0x2B08EA70u); 4659 4660 L_2B08EA70: 4661 MEM32(0x2B0EF10C) = 0; /* 0x2B08EA70: mov dword ptr [0x2b0ef10c], 0 */ 4662 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EA7A: ret */ 4663 RECOMP_REGS_OUT(); 4664 } 4665 4666 void sub_2B08EA80(void) { 4667 int _fpu_cmp = 0; 4668 uint32_t _cf = 0; 4669 int _df = 1; 4670 uint32_t _flag_k = FK_NONE; 4671 uint32_t _flag_a = 0, _flag_b = 0; 4672 uint32_t _itail_tgt = 0; 4673 RECOMP_REGS_LOCALS 4674 RECOMP_ENTER(0x2B08EA80u); 4675 4676 L_2B08EA80: 4677 PUSH32(esp, ebp); /* 0x2B08EA80: push ebp */ 4678 ebp = esp; /* 0x2B08EA81: mov ebp, esp */ 4679 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08EA83: push -1 */ 4680 PUSH32(esp, 0x2B0B297Bu); /* 0x2B08EA85: push 0x2b0b297b */ 4681 eax = MEM32(FS_BASE + (0)); /* 0x2B08EA8A: mov eax, dword ptr fs:[0] */ 4682 PUSH32(esp, eax); /* 0x2B08EA90: push eax */ 4683 MEM32(FS_BASE + (0)) = esp; /* 0x2B08EA91: mov dword ptr fs:[0], esp */ 4684 PUSH32(esp, ecx); /* 0x2B08EA98: push ecx */ 4685 eax = MEM32(0x2B0EF10C); /* 0x2B08EA99: mov eax, dword ptr [0x2b0ef10c] */ 4686 /* test eax, eax */ /* 0x2B08EA9E: test eax, eax */ 4687 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4688 _cf = 0; 4689 _flag_k = FK_TEST; 4690 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08EADB; /* 0x2B08EAA0: jne 0x2b08eadb */ 4691 L_2B08EAA2: 4692 PUSH32(esp, 1); /* 0x2B08EAA2: push 1 */ 4693 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EAA4: call 0x2b0ab212 */ /* not lifted */ 4694 RECOMP_FLAGS_IN(); 4695 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4697 esp = esp + 4; /* 0x2B08EAA9: add esp, 4 */ 4698 _flag_k = FK_ADD; 4699 MEM32(ebp + (-0x10)) = eax; /* 0x2B08EAAC: mov dword ptr [ebp - 0x10], eax */ 4700 /* test eax, eax */ /* 0x2B08EAAF: test eax, eax */ 4701 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4702 _cf = 0; 4703 _flag_k = FK_TEST; 4704 MEM32(ebp + (-0x4)) = 0; /* 0x2B08EAB1: mov dword ptr [ebp - 4], 0 */ 4705 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08EAD4; /* 0x2B08EAB8: je 0x2b08ead4 */ 4706 L_2B08EABA: 4707 ecx = eax; /* 0x2B08EABA: mov ecx, eax */ 4708 RECOMP_ICALL(0x2B08EB00u); /* 0x2B08EABC: call 0x2b08eb00 */ /* not lifted */ 4709 RECOMP_FLAGS_IN(); 4710 MEM32(0x2B0EF10C) = eax; /* 0x2B08EAC1: mov dword ptr [0x2b0ef10c], eax */ 4711 ecx = MEM32(ebp + (-0xC)); /* 0x2B08EAC6: mov ecx, dword ptr [ebp - 0xc] */ 4712 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08EAC9: mov dword ptr fs:[0], ecx */ 4713 esp = ebp; /* 0x2B08EAD0: mov esp, ebp */ 4714 ebp = POP32_VAL(esp); /* 0x2B08EAD2: pop ebp */ 4715 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EAD3: ret */ 4716 L_2B08EAD4: 4717 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4718 eax = 0; /* 0x2B08EAD4: xor eax, eax */ 4719 _cf = 0; 4720 _flag_k = FK_TEST; 4721 MEM32(0x2B0EF10C) = eax; /* 0x2B08EAD6: mov dword ptr [0x2b0ef10c], eax */ 4722 L_2B08EADB: 4723 ecx = MEM32(ebp + (-0xC)); /* 0x2B08EADB: mov ecx, dword ptr [ebp - 0xc] */ 4724 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08EADE: mov dword ptr fs:[0], ecx */ 4725 esp = ebp; /* 0x2B08EAE5: mov esp, ebp */ 4726 ebp = POP32_VAL(esp); /* 0x2B08EAE7: pop ebp */ 4727 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EAE8: ret */ 4728 RECOMP_REGS_OUT(); 4729 } 4730 4731 void sub_2B08EAF0(void) { 4732 int _fpu_cmp = 0; 4733 uint32_t _cf = 0; 4734 int _df = 1; 4735 uint32_t _flag_k = FK_NONE; 4736 uint32_t _flag_a = 0, _flag_b = 0; 4737 uint32_t _itail_tgt = 0; 4738 RECOMP_REGS_LOCALS 4739 RECOMP_ENTER(0x2B08EAF0u); 4740 4741 L_2B08EAF0: 4742 eax = MEM32(0x2B0EF10C); /* 0x2B08EAF0: mov eax, dword ptr [0x2b0ef10c] */ 4743 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EAF5: ret */ 4744 RECOMP_REGS_OUT(); 4745 } 4746 4747 void sub_2B08EB00(void) { 4748 int _fpu_cmp = 0; 4749 uint32_t _cf = 0; 4750 int _df = 1; 4751 uint32_t _flag_k = FK_NONE; 4752 uint32_t _flag_a = 0, _flag_b = 0; 4753 uint32_t _itail_tgt = 0; 4754 RECOMP_REGS_LOCALS 4755 RECOMP_ENTER(0x2B08EB00u); 4756 4757 L_2B08EB00: 4758 PUSH32(esp, ebx); /* 0x2B08EB00: push ebx */ 4759 PUSH32(esp, esi); /* 0x2B08EB01: push esi */ 4760 esi = MEM32(0x2B0B53CC); /* 0x2B08EB02: mov esi, dword ptr [0x2b0b53cc] */ 4761 PUSH32(esp, edi); /* 0x2B08EB08: push edi */ 4762 ebx = ecx; /* 0x2B08EB09: mov ebx, ecx */ 4763 RECOMP_ICALL(esi); /* 0x2B08EB0B: call esi */ 4764 RECOMP_FLAGS_IN(); 4765 ecx = eax; /* 0x2B08EB0D: mov ecx, eax */ 4766 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B08EB0F: call dword ptr [0x2b0b5374] */ 4767 RECOMP_FLAGS_IN(); 4768 PUSH32(esp, 0); /* 0x2B08EB15: push 0 */ 4769 PUSH32(esp, 0x29u); /* 0x2B08EB17: push 0x29 */ 4770 PUSH32(esp, 1); /* 0x2B08EB19: push 1 */ 4771 RECOMP_ICALL(esi); /* 0x2B08EB1B: call esi */ 4772 RECOMP_FLAGS_IN(); 4773 ecx = eax; /* 0x2B08EB1D: mov ecx, eax */ 4774 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B08EB1F: call dword ptr [0x2b0b5378] */ 4775 RECOMP_FLAGS_IN(); 4776 PUSH32(esp, 0x2B08EC20u); /* 0x2B08EB25: push 0x2b08ec20 */ 4777 RECOMP_ICALL(esi); /* 0x2B08EB2A: call esi */ 4778 RECOMP_FLAGS_IN(); 4779 ecx = eax; /* 0x2B08EB2C: mov ecx, eax */ 4780 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B08EB2E: call dword ptr [0x2b0b537c] */ 4781 RECOMP_FLAGS_IN(); 4782 PUSH32(esp, 0x2B08EB90u); /* 0x2B08EB34: push 0x2b08eb90 */ 4783 PUSH32(esp, 5); /* 0x2B08EB39: push 5 */ 4784 RECOMP_ICALL(esi); /* 0x2B08EB3B: call esi */ 4785 RECOMP_FLAGS_IN(); 4786 edi = MEM32(0x2B0B5324); /* 0x2B08EB3D: mov edi, dword ptr [0x2b0b5324] */ 4787 ecx = eax; /* 0x2B08EB43: mov ecx, eax */ 4788 RECOMP_ICALL(edi); /* 0x2B08EB45: call edi */ 4789 RECOMP_FLAGS_IN(); 4790 PUSH32(esp, 0x2B08EBF0u); /* 0x2B08EB47: push 0x2b08ebf0 */ 4791 PUSH32(esp, 6); /* 0x2B08EB4C: push 6 */ 4792 RECOMP_ICALL(esi); /* 0x2B08EB4E: call esi */ 4793 RECOMP_FLAGS_IN(); 4794 ecx = eax; /* 0x2B08EB50: mov ecx, eax */ 4795 RECOMP_ICALL(edi); /* 0x2B08EB52: call edi */ 4796 RECOMP_FLAGS_IN(); 4797 PUSH32(esp, 0x2B08EC30u); /* 0x2B08EB54: push 0x2b08ec30 */ 4798 PUSH32(esp, 0xF3u); /* 0x2B08EB59: push 0xf3 */ 4799 RECOMP_ICALL(esi); /* 0x2B08EB5E: call esi */ 4800 RECOMP_FLAGS_IN(); 4801 ecx = eax; /* 0x2B08EB60: mov ecx, eax */ 4802 RECOMP_ICALL(edi); /* 0x2B08EB62: call edi */ 4803 RECOMP_FLAGS_IN(); 4804 PUSH32(esp, 0x2B08EC80u); /* 0x2B08EB64: push 0x2b08ec80 */ 4805 PUSH32(esp, 0xF2u); /* 0x2B08EB69: push 0xf2 */ 4806 RECOMP_ICALL(esi); /* 0x2B08EB6E: call esi */ 4807 RECOMP_FLAGS_IN(); 4808 ecx = eax; /* 0x2B08EB70: mov ecx, eax */ 4809 RECOMP_ICALL(edi); /* 0x2B08EB72: call edi */ 4810 RECOMP_FLAGS_IN(); 4811 PUSH32(esp, 0x2B08ECC0u); /* 0x2B08EB74: push 0x2b08ecc0 */ 4812 PUSH32(esp, 0xF4u); /* 0x2B08EB79: push 0xf4 */ 4813 RECOMP_ICALL(esi); /* 0x2B08EB7E: call esi */ 4814 RECOMP_FLAGS_IN(); 4815 ecx = eax; /* 0x2B08EB80: mov ecx, eax */ 4816 RECOMP_ICALL(edi); /* 0x2B08EB82: call edi */ 4817 RECOMP_FLAGS_IN(); 4818 edi = POP32_VAL(esp); /* 0x2B08EB84: pop edi */ 4819 esi = POP32_VAL(esp); /* 0x2B08EB85: pop esi */ 4820 eax = ebx; /* 0x2B08EB86: mov eax, ebx */ 4821 ebx = POP32_VAL(esp); /* 0x2B08EB88: pop ebx */ 4822 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EB89: ret */ 4823 RECOMP_REGS_OUT(); 4824 } 4825 4826 void sub_2B08EB90(void) { 4827 int _fpu_cmp = 0; 4828 uint32_t _cf = 0; 4829 int _df = 1; 4830 uint32_t _flag_k = FK_NONE; 4831 uint32_t _flag_a = 0, _flag_b = 0; 4832 uint32_t _itail_tgt = 0; 4833 RECOMP_REGS_LOCALS 4834 RECOMP_ENTER(0x2B08EB90u); 4835 4836 L_2B08EB90: 4837 PUSH32(esp, ebp); /* 0x2B08EB90: push ebp */ 4838 ebp = esp; /* 0x2B08EB91: mov ebp, esp */ 4839 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08EB93: push -1 */ 4840 PUSH32(esp, 0x2B0B299Bu); /* 0x2B08EB95: push 0x2b0b299b */ 4841 eax = MEM32(FS_BASE + (0)); /* 0x2B08EB9A: mov eax, dword ptr fs:[0] */ 4842 PUSH32(esp, eax); /* 0x2B08EBA0: push eax */ 4843 MEM32(FS_BASE + (0)) = esp; /* 0x2B08EBA1: mov dword ptr fs:[0], esp */ 4844 PUSH32(esp, ecx); /* 0x2B08EBA8: push ecx */ 4845 PUSH32(esp, 0x38u); /* 0x2B08EBA9: push 0x38 */ 4846 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EBAB: call 0x2b0ab212 */ /* not lifted */ 4847 RECOMP_FLAGS_IN(); 4848 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4849 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4850 esp = esp + 4; /* 0x2B08EBB0: add esp, 4 */ 4851 _flag_k = FK_ADD; 4852 MEM32(ebp + (-0x10)) = eax; /* 0x2B08EBB3: mov dword ptr [ebp - 0x10], eax */ 4853 /* test eax, eax */ /* 0x2B08EBB6: test eax, eax */ 4854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4855 _cf = 0; 4856 _flag_k = FK_TEST; 4857 MEM32(ebp + (-0x4)) = 0; /* 0x2B08EBB8: mov dword ptr [ebp - 4], 0 */ 4858 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08EBDB; /* 0x2B08EBBF: je 0x2b08ebdb */ 4859 L_2B08EBC1: 4860 ecx = eax; /* 0x2B08EBC1: mov ecx, eax */ 4861 RECOMP_ICALL(0x2B08C670u); /* 0x2B08EBC3: call 0x2b08c670 */ /* not lifted */ 4862 RECOMP_FLAGS_IN(); 4863 MEM32(0x2B0EF110) = eax; /* 0x2B08EBC8: mov dword ptr [0x2b0ef110], eax */ 4864 ecx = MEM32(ebp + (-0xC)); /* 0x2B08EBCD: mov ecx, dword ptr [ebp - 0xc] */ 4865 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08EBD0: mov dword ptr fs:[0], ecx */ 4866 esp = ebp; /* 0x2B08EBD7: mov esp, ebp */ 4867 ebp = POP32_VAL(esp); /* 0x2B08EBD9: pop ebp */ 4868 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EBDA: ret */ 4869 L_2B08EBDB: 4870 ecx = MEM32(ebp + (-0xC)); /* 0x2B08EBDB: mov ecx, dword ptr [ebp - 0xc] */ 4871 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4872 eax = 0; /* 0x2B08EBDE: xor eax, eax */ 4873 _cf = 0; 4874 _flag_k = FK_TEST; 4875 MEM32(0x2B0EF110) = eax; /* 0x2B08EBE0: mov dword ptr [0x2b0ef110], eax */ 4876 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08EBE5: mov dword ptr fs:[0], ecx */ 4877 esp = ebp; /* 0x2B08EBEC: mov esp, ebp */ 4878 ebp = POP32_VAL(esp); /* 0x2B08EBEE: pop ebp */ 4879 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EBEF: ret */ 4880 RECOMP_REGS_OUT(); 4881 } 4882 4883 void sub_2B08EBF0(void) { 4884 int _fpu_cmp = 0; 4885 uint32_t _cf = 0; 4886 int _df = 1; 4887 uint32_t _flag_k = FK_NONE; 4888 uint32_t _flag_a = 0, _flag_b = 0; 4889 uint32_t _itail_tgt = 0; 4890 RECOMP_REGS_LOCALS 4891 RECOMP_ENTER(0x2B08EBF0u); 4892 4893 L_2B08EBF0: 4894 PUSH32(esp, esi); /* 0x2B08EBF0: push esi */ 4895 esi = MEM32(0x2B0EF110); /* 0x2B08EBF1: mov esi, dword ptr [0x2b0ef110] */ 4896 /* test esi, esi */ /* 0x2B08EBF7: test esi, esi */ 4897 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4898 _cf = 0; 4899 _flag_k = FK_TEST; 4900 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08EC0B; /* 0x2B08EBF9: je 0x2b08ec0b */ 4901 L_2B08EBFB: 4902 ecx = esi; /* 0x2B08EBFB: mov ecx, esi */ 4903 RECOMP_ICALL(0x2B08C8F0u); /* 0x2B08EBFD: call 0x2b08c8f0 */ /* not lifted */ 4904 RECOMP_FLAGS_IN(); 4905 PUSH32(esp, esi); /* 0x2B08EC02: push esi */ 4906 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08EC03: call 0x2b0ab1ba */ /* not lifted */ 4907 RECOMP_FLAGS_IN(); 4908 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4909 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4910 esp = esp + 4; /* 0x2B08EC08: add esp, 4 */ 4911 _flag_k = FK_ADD; 4912 L_2B08EC0B: 4913 MEM32(0x2B0EF110) = 0; /* 0x2B08EC0B: mov dword ptr [0x2b0ef110], 0 */ 4914 esi = POP32_VAL(esp); /* 0x2B08EC15: pop esi */ 4915 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EC16: ret */ 4916 RECOMP_REGS_OUT(); 4917 } 4918 4919 void sub_2B08EC20(void) { 4920 int _fpu_cmp = 0; 4921 uint32_t _cf = 0; 4922 int _df = 1; 4923 uint32_t _flag_k = FK_NONE; 4924 uint32_t _flag_a = 0, _flag_b = 0; 4925 uint32_t _itail_tgt = 0; 4926 RECOMP_REGS_LOCALS 4927 RECOMP_ENTER(0x2B08EC20u); 4928 4929 goto L_2B08EC20; 4930 L_2B08CAC0: 4931 PUSH32(esp, ebp); /* 0x2B08CAC0: push ebp */ 4932 ebp = esp; /* 0x2B08CAC1: mov ebp, esp */ 4933 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08CAC3: push -1 */ 4934 PUSH32(esp, 0x2B0B2784u); /* 0x2B08CAC5: push 0x2b0b2784 */ 4935 eax = MEM32(FS_BASE + (0)); /* 0x2B08CACA: mov eax, dword ptr fs:[0] */ 4936 PUSH32(esp, eax); /* 0x2B08CAD0: push eax */ 4937 MEM32(FS_BASE + (0)) = esp; /* 0x2B08CAD1: mov dword ptr fs:[0], esp */ 4938 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3Cu); 4939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4940 esp = esp - 0x3Cu; /* 0x2B08CAD8: sub esp, 0x3c */ 4941 _flag_k = FK_CMP; 4942 PUSH32(esp, ebx); /* 0x2B08CADB: push ebx */ 4943 PUSH32(esp, esi); /* 0x2B08CADC: push esi */ 4944 PUSH32(esp, edi); /* 0x2B08CADD: push edi */ 4945 ebx = ecx; /* 0x2B08CADE: mov ebx, ecx */ 4946 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B08CAE0: call dword ptr [0x2b0b56d4] */ 4947 RECOMP_FLAGS_IN(); 4948 esi = eax; /* 0x2B08CAE6: mov esi, eax */ 4949 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B08CAE8: mov al, byte ptr [ebp - 0xd] */ 4950 PUSH32(esp, 0); /* 0x2B08CAEB: push 0 */ 4951 ecx = ebp + (-0x24); /* 0x2B08CAED: lea ecx, [ebp - 0x24] */ 4952 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x2B08CAF0: mov byte ptr [ebp - 0x24], al */ 4953 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08CAF3: call dword ptr [0x2b0b514c] */ 4954 RECOMP_FLAGS_IN(); 4955 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 4956 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08CAF9: or ecx, 0xffffffff */ 4957 _cf = 0; 4958 _flag_k = FK_TEST; 4959 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4960 eax = 0; /* 0x2B08CAFC: xor eax, eax */ 4961 _cf = 0; 4962 _flag_k = FK_TEST; 4963 edi = esi; /* 0x2B08CAFE: mov edi, esi */ 4964 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; } /* 0x2B08CB00: repne scasb al, byte ptr es:[edi] */ 4965 ecx = ~ecx; /* 0x2B08CB02: not ecx */ 4966 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4967 ecx = ecx - 1; /* 0x2B08CB04: dec ecx */ 4968 _flag_k = FK_DEC; 4969 edi = ecx; /* 0x2B08CB05: mov edi, ecx */ 4970 PUSH32(esp, 1); /* 0x2B08CB07: push 1 */ 4971 PUSH32(esp, edi); /* 0x2B08CB09: push edi */ 4972 ecx = ebp + (-0x24); /* 0x2B08CB0A: lea ecx, [ebp - 0x24] */ 4973 MEM32(ebp + (-0x14)) = edi; /* 0x2B08CB0D: mov dword ptr [ebp - 0x14], edi */ 4974 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08CB10: call dword ptr [0x2b0b5154] */ 4975 RECOMP_FLAGS_IN(); 4976 /* test LO8(eax), LO8(eax) */ /* 0x2B08CB16: test al, al */ 4977 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4978 _cf = 0; 4979 _flag_k = FK_NARROW(FK_TEST, 24); 4980 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08CB39; /* 0x2B08CB18: je 0x2b08cb39 */ 4981 L_2B08CB1A: 4982 ecx = edi; /* 0x2B08CB1A: mov ecx, edi */ 4983 edi = MEM32(ebp + (-0x20)); /* 0x2B08CB1C: mov edi, dword ptr [ebp - 0x20] */ 4984 edx = ecx; /* 0x2B08CB1F: mov edx, ecx */ 4985 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B08CB21: shr ecx, 2 */ 4986 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4987 ecx = ecx >> 2u; /* 0x2B08CB21: shr ecx, 2 */ 4988 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08CB24: 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; } 4989 ecx = edx; /* 0x2B08CB26: mov ecx, edx */ 4990 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4991 ecx = ecx & 3; /* 0x2B08CB28: and ecx, 3 */ 4992 _cf = 0; 4993 _flag_k = FK_TEST; 4994 eax = edx; /* 0x2B08CB2B: mov eax, edx */ 4995 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B08CB2D: 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; } 4996 PUSH32(esp, eax); /* 0x2B08CB2F: push eax */ 4997 ecx = ebp + (-0x24); /* 0x2B08CB30: lea ecx, [ebp - 0x24] */ 4998 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B08CB33: call dword ptr [0x2b0b5150] */ 4999 RECOMP_FLAGS_IN(); 5000 L_2B08CB39: 5001 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5002 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08CB39: or ecx, 0xffffffff */ 5003 _cf = 0; 5004 _flag_k = FK_TEST; 5005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5006 eax = 0; /* 0x2B08CB3C: xor eax, eax */ 5007 _cf = 0; 5008 _flag_k = FK_TEST; 5009 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5010 esi = 0; /* 0x2B08CB3E: xor esi, esi */ 5011 _cf = 0; 5012 _flag_k = FK_TEST; 5013 edi = 0x2B0ED1C0u; /* 0x2B08CB40: mov edi, 0x2b0ed1c0 */ 5014 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; } /* 0x2B08CB45: repne scasb al, byte ptr es:[edi] */ 5015 ecx = ~ecx; /* 0x2B08CB47: not ecx */ 5016 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5017 ecx = ecx - 1; /* 0x2B08CB49: dec ecx */ 5018 _flag_k = FK_DEC; 5019 PUSH32(esp, ecx); /* 0x2B08CB4A: push ecx */ 5020 PUSH32(esp, 0x2B0ED1C0u); /* 0x2B08CB4B: push 0x2b0ed1c0 */ 5021 ecx = ebp + (-0x24); /* 0x2B08CB50: lea ecx, [ebp - 0x24] */ 5022 MEM32(ebp + (-0x4)) = esi; /* 0x2B08CB53: mov dword ptr [ebp - 4], esi */ 5023 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B08CB56: call dword ptr [0x2b0b5188] */ 5024 RECOMP_FLAGS_IN(); 5025 eax = MEM32(ebp + (-0x20)); /* 0x2B08CB5C: mov eax, dword ptr [ebp - 0x20] */ 5026 /* cmp eax, esi */ /* 0x2B08CB5F: cmp eax, esi */ 5027 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5029 _flag_k = FK_CMP; 5030 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08CB68; /* 0x2B08CB61: jne 0x2b08cb68 */ 5031 L_2B08CB63: 5032 eax = MEM32(0x2B0B513C); /* 0x2B08CB63: mov eax, dword ptr [0x2b0b513c] */ 5033 L_2B08CB68: 5034 ecx = ebp + (-0x48); /* 0x2B08CB68: lea ecx, [ebp - 0x48] */ 5035 PUSH32(esp, ecx); /* 0x2B08CB6B: push ecx */ 5036 PUSH32(esp, eax); /* 0x2B08CB6C: push eax */ 5037 RECOMP_ICALL(MEM32(0x2B0B5254)); /* 0x2B08CB6D: call dword ptr [0x2b0b5254] */ 5038 RECOMP_FLAGS_IN(); 5039 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5040 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5041 esp = esp + 8; /* 0x2B08CB73: add esp, 8 */ 5042 _flag_k = FK_ADD; 5043 /* cmp eax, 0xFFFFFFFFu */ /* 0x2B08CB76: cmp eax, -1 */ 5044 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu); 5045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5046 _flag_k = FK_CMP; 5047 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CB9F; /* 0x2B08CB79: je 0x2b08cb9f */ 5048 L_2B08CB7B: 5049 eax = MEM32(ebp + (-0x2C)); /* 0x2B08CB7B: mov eax, dword ptr [ebp - 0x2c] */ 5050 /* cmp eax, MEM32(0x2B0EF108) */ /* 0x2B08CB7E: cmp eax, dword ptr [0x2b0ef108] */ 5051 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x2B0EF108)); 5052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5053 _flag_k = FK_CMP; 5054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CB9F; /* 0x2B08CB84: je 0x2b08cb9f */ 5055 L_2B08CB86: 5056 MEM32(0x2B0EF108) = eax; /* 0x2B08CB86: mov dword ptr [0x2b0ef108], eax */ 5057 eax = MEM32(ebp + (-0x20)); /* 0x2B08CB8B: mov eax, dword ptr [ebp - 0x20] */ 5058 /* cmp eax, esi */ /* 0x2B08CB8E: cmp eax, esi */ 5059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5061 _flag_k = FK_CMP; 5062 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08CB97; /* 0x2B08CB90: jne 0x2b08cb97 */ 5063 L_2B08CB92: 5064 eax = MEM32(0x2B0B513C); /* 0x2B08CB92: mov eax, dword ptr [0x2b0b513c] */ 5065 L_2B08CB97: 5066 PUSH32(esp, eax); /* 0x2B08CB97: push eax */ 5067 ecx = ebx; /* 0x2B08CB98: mov ecx, ebx */ 5068 RECOMP_ICALL(0x2B08CC80u); /* 0x2B08CB9A: call 0x2b08cc80 */ /* not lifted */ 5069 RECOMP_FLAGS_IN(); 5070 L_2B08CB9F: 5071 ecx = MEM32(ebx + 0x2C); /* 0x2B08CB9F: mov ecx, dword ptr [ebx + 0x2c] */ 5072 /* cmp ecx, esi */ /* 0x2B08CBA2: cmp ecx, esi */ 5073 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 5074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5075 _flag_k = FK_CMP; 5076 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CBDB; /* 0x2B08CBA4: je 0x2b08cbdb */ 5077 L_2B08CBA6: 5078 RECOMP_ICALL(0x2B08FD20u); /* 0x2B08CBA6: call 0x2b08fd20 */ /* not lifted */ 5079 RECOMP_FLAGS_IN(); 5080 /* test LO8(eax), LO8(eax) */ /* 0x2B08CBAB: test al, al */ 5081 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5082 _cf = 0; 5083 _flag_k = FK_NARROW(FK_TEST, 24); 5084 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08CC34; /* 0x2B08CBAD: je 0x2b08cc34 */ 5085 L_2B08CBB3: 5086 edi = MEM32(ebx + 0x2C); /* 0x2B08CBB3: mov edi, dword ptr [ebx + 0x2c] */ 5087 /* cmp edi, esi */ /* 0x2B08CBB6: cmp edi, esi */ 5088 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5090 _flag_k = FK_CMP; 5091 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CBCA; /* 0x2B08CBB8: je 0x2b08cbca */ 5092 L_2B08CBBA: 5093 ecx = edi; /* 0x2B08CBBA: mov ecx, edi */ 5094 RECOMP_ICALL(0x2B08F730u); /* 0x2B08CBBC: call 0x2b08f730 */ /* not lifted */ 5095 RECOMP_FLAGS_IN(); 5096 PUSH32(esp, edi); /* 0x2B08CBC1: push edi */ 5097 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08CBC2: call 0x2b0ab1ba */ /* not lifted */ 5098 RECOMP_FLAGS_IN(); 5099 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5100 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5101 esp = esp + 4; /* 0x2B08CBC7: add esp, 4 */ 5102 _flag_k = FK_ADD; 5103 L_2B08CBCA: 5104 /* cmp MEM8(ebx), 0 */ /* 0x2B08CBCA: cmp byte ptr [ebx], 0 */ 5105 _flag_a = (uint32_t)(MEM8(ebx)) << 24; _flag_b = (uint32_t)(0) << 24; 5106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5107 _flag_k = FK_NARROW(FK_CMP, 24); 5108 MEM32(ebx + 0x2C) = esi; /* 0x2B08CBCD: mov dword ptr [ebx + 0x2c], esi */ 5109 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CC34; /* 0x2B08CBD0: je 0x2b08cc34 */ 5110 L_2B08CBD2: 5111 ecx = ebx; /* 0x2B08CBD2: mov ecx, ebx */ 5112 RECOMP_ICALL(0x2B08D9F0u); /* 0x2B08CBD4: call 0x2b08d9f0 */ /* not lifted */ 5113 RECOMP_FLAGS_IN(); 5114 goto L_2B08CC34; /* 0x2B08CBD9: jmp 0x2b08cc34 */ 5115 L_2B08CBDB: 5116 /* cmp MEM32(ebx + 0x28), esi */ /* 0x2B08CBDB: cmp dword ptr [ebx + 0x28], esi */ 5117 _flag_a = (uint32_t)(MEM32(ebx + 0x28)); _flag_b = (uint32_t)(esi); 5118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5119 _flag_k = FK_CMP; 5120 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CC34; /* 0x2B08CBDE: je 0x2b08cc34 */ 5121 L_2B08CBE0: 5122 eax = MEM32(ebx + 0x24); /* 0x2B08CBE0: mov eax, dword ptr [ebx + 0x24] */ 5123 eax = MEM32(eax + 0x4); /* 0x2B08CBE3: mov eax, dword ptr [eax + 4] */ 5124 SET_LO8(ecx, MEM8(eax + 0x3C)); /* 0x2B08CBE6: mov cl, byte ptr [eax + 0x3c] */ 5125 /* test LO8(ecx), LO8(ecx) */ /* 0x2B08CBE9: test cl, cl */ 5126 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 5127 _cf = 0; 5128 _flag_k = FK_NARROW(FK_TEST, 24); 5129 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08CBF4; /* 0x2B08CBEB: je 0x2b08cbf4 */ 5130 L_2B08CBED: 5131 SET_LO8(eax, MEM8(ebx + 0x30)); /* 0x2B08CBED: mov al, byte ptr [ebx + 0x30] */ 5132 /* test LO8(eax), LO8(eax) */ /* 0x2B08CBF0: test al, al */ 5133 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5134 _cf = 0; 5135 _flag_k = FK_NARROW(FK_TEST, 24); 5136 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08CC34; /* 0x2B08CBF2: je 0x2b08cc34 */ 5137 L_2B08CBF4: 5138 PUSH32(esp, 0x88u); /* 0x2B08CBF4: push 0x88 */ 5139 MEM8(ebx + 0x30) = (uint8_t)(0); /* 0x2B08CBF9: mov byte ptr [ebx + 0x30], 0 */ 5140 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08CBFD: call 0x2b0ab212 */ /* not lifted */ 5141 RECOMP_FLAGS_IN(); 5142 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5143 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5144 esp = esp + 4; /* 0x2B08CC02: add esp, 4 */ 5145 _flag_k = FK_ADD; 5146 MEM32(ebp + (-0x14)) = eax; /* 0x2B08CC05: mov dword ptr [ebp - 0x14], eax */ 5147 /* cmp eax, esi */ /* 0x2B08CC08: cmp eax, esi */ 5148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5150 _flag_k = FK_CMP; 5151 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08CC0A: mov byte ptr [ebp - 4], 1 */ 5152 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CC1D; /* 0x2B08CC0E: je 0x2b08cc1d */ 5153 L_2B08CC10: 5154 edx = ebx + 0x20; /* 0x2B08CC10: lea edx, [ebx + 0x20] */ 5155 PUSH32(esp, edx); /* 0x2B08CC13: push edx */ 5156 ecx = eax; /* 0x2B08CC14: mov ecx, eax */ 5157 RECOMP_ICALL(0x2B08ECD0u); /* 0x2B08CC16: call 0x2b08ecd0 */ /* not lifted */ 5158 RECOMP_FLAGS_IN(); 5159 goto L_2B08CC1F; /* 0x2B08CC1B: jmp 0x2b08cc1f */ 5160 L_2B08CC1D: 5161 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5162 eax = 0; /* 0x2B08CC1D: xor eax, eax */ 5163 _cf = 0; 5164 _flag_k = FK_TEST; 5165 L_2B08CC1F: 5166 ecx = eax; /* 0x2B08CC1F: mov ecx, eax */ 5167 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B08CC21: mov byte ptr [ebp - 4], 0 */ 5168 MEM32(ebx + 0x2C) = eax; /* 0x2B08CC25: mov dword ptr [ebx + 0x2c], eax */ 5169 RECOMP_ICALL(0x2B08ED30u); /* 0x2B08CC28: call 0x2b08ed30 */ /* not lifted */ 5170 RECOMP_FLAGS_IN(); 5171 ecx = ebx; /* 0x2B08CC2D: mov ecx, ebx */ 5172 RECOMP_ICALL(0x2B08DB90u); /* 0x2B08CC2F: call 0x2b08db90 */ /* not lifted */ 5173 RECOMP_FLAGS_IN(); 5174 L_2B08CC34: 5175 ecx = MEM32(ebp + (-0x20)); /* 0x2B08CC34: mov ecx, dword ptr [ebp - 0x20] */ 5176 edi = POP32_VAL(esp); /* 0x2B08CC37: pop edi */ 5177 /* cmp ecx, esi */ /* 0x2B08CC38: cmp ecx, esi */ 5178 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 5179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5180 _flag_k = FK_CMP; 5181 esi = POP32_VAL(esp); /* 0x2B08CC3A: pop esi */ 5182 ebx = POP32_VAL(esp); /* 0x2B08CC3B: pop ebx */ 5183 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CC66; /* 0x2B08CC3C: je 0x2b08cc66 */ 5184 L_2B08CC3E: 5185 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B08CC3E: mov al, byte ptr [ecx - 1] */ 5186 /* test LO8(eax), LO8(eax) */ /* 0x2B08CC41: test al, al */ 5187 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5188 _cf = 0; 5189 _flag_k = FK_NARROW(FK_TEST, 24); 5190 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08CC5C; /* 0x2B08CC43: je 0x2b08cc5c */ 5191 L_2B08CC45: 5192 /* cmp LO8(eax), 0xFFu */ /* 0x2B08CC45: cmp al, 0xff */ 5193 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5195 _flag_k = FK_NARROW(FK_CMP, 24); 5196 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08CC5C; /* 0x2B08CC47: je 0x2b08cc5c */ 5197 L_2B08CC49: 5198 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5199 SET_LO8(eax, LO8(eax) - 1); /* 0x2B08CC49: dec al */ 5200 _flag_k = FK_NARROW(FK_DEC, 24); 5201 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B08CC4B: mov byte ptr [ecx - 1], al */ 5202 ecx = MEM32(ebp + (-0xC)); /* 0x2B08CC4E: mov ecx, dword ptr [ebp - 0xc] */ 5203 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08CC51: mov dword ptr fs:[0], ecx */ 5204 esp = ebp; /* 0x2B08CC58: mov esp, ebp */ 5205 ebp = POP32_VAL(esp); /* 0x2B08CC5A: pop ebp */ 5206 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08CC5B: ret */ 5207 L_2B08CC5C: 5208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5209 ecx = ecx - 1; /* 0x2B08CC5C: dec ecx */ 5210 _flag_k = FK_DEC; 5211 PUSH32(esp, ecx); /* 0x2B08CC5D: push ecx */ 5212 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08CC5E: call 0x2b0ab1ba */ /* not lifted */ 5213 RECOMP_FLAGS_IN(); 5214 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5216 esp = esp + 4; /* 0x2B08CC63: add esp, 4 */ 5217 _flag_k = FK_ADD; 5218 L_2B08CC66: 5219 ecx = MEM32(ebp + (-0xC)); /* 0x2B08CC66: mov ecx, dword ptr [ebp - 0xc] */ 5220 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08CC69: mov dword ptr fs:[0], ecx */ 5221 esp = ebp; /* 0x2B08CC70: mov esp, ebp */ 5222 ebp = POP32_VAL(esp); /* 0x2B08CC72: pop ebp */ 5223 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08CC73: ret */ 5224 L_2B08EC20: 5225 ecx = MEM32(0x2B0EF110); /* 0x2B08EC20: mov ecx, dword ptr [0x2b0ef110] */ 5226 /* test ecx, ecx */ /* 0x2B08EC26: test ecx, ecx */ 5227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5228 _cf = 0; 5229 _flag_k = FK_TEST; 5230 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08EC2F; /* 0x2B08EC28: je 0x2b08ec2f */ 5231 L_2B08EC2A: 5232 RECOMP_BACKEDGE(); 5233 goto L_2B08CAC0; /* 0x2B08EC2A: jmp 0x2b08cac0 */ 5234 L_2B08EC2F: 5235 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EC2F: ret */ 5236 RECOMP_REGS_OUT(); 5237 } 5238 5239 void sub_2B08EC30(void) { 5240 int _fpu_cmp = 0; 5241 uint32_t _cf = 0; 5242 int _df = 1; 5243 uint32_t _flag_k = FK_NONE; 5244 uint32_t _flag_a = 0, _flag_b = 0; 5245 uint32_t _itail_tgt = 0; 5246 RECOMP_REGS_LOCALS 5247 RECOMP_ENTER(0x2B08EC30u); 5248 5249 L_2B08EC30: 5250 PUSH32(esp, ebp); /* 0x2B08EC30: push ebp */ 5251 ebp = esp; /* 0x2B08EC31: mov ebp, esp */ 5252 PUSH32(esp, ecx); /* 0x2B08EC33: push ecx */ 5253 eax = MEM32(0x2B0EF110); /* 0x2B08EC34: mov eax, dword ptr [0x2b0ef110] */ 5254 /* test eax, eax */ /* 0x2B08EC39: test eax, eax */ 5255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5256 _cf = 0; 5257 _flag_k = FK_TEST; 5258 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08EC7B; /* 0x2B08EC3B: je 0x2b08ec7b */ 5259 L_2B08EC3D: 5260 eax = ebp + (-0x4); /* 0x2B08EC3D: lea eax, [ebp - 4] */ 5261 PUSH32(esp, eax); /* 0x2B08EC40: push eax */ 5262 MEM32(ebp + (-0x4)) = 0; /* 0x2B08EC41: mov dword ptr [ebp - 4], 0 */ 5263 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B08EC48: call dword ptr [0x2b0b53cc] */ 5264 RECOMP_FLAGS_IN(); 5265 ecx = eax; /* 0x2B08EC4E: mov ecx, eax */ 5266 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B08EC50: call dword ptr [0x2b0b53a8] */ 5267 RECOMP_FLAGS_IN(); 5268 eax = MEM32(ebp + (-0x4)); /* 0x2B08EC56: mov eax, dword ptr [ebp - 4] */ 5269 /* test eax, eax */ /* 0x2B08EC59: test eax, eax */ 5270 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5271 _cf = 0; 5272 _flag_k = FK_TEST; 5273 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08EC6E; /* 0x2B08EC5B: je 0x2b08ec6e */ 5274 L_2B08EC5D: 5275 ecx = MEM32(0x2B0EF110); /* 0x2B08EC5D: mov ecx, dword ptr [0x2b0ef110] */ 5276 PUSH32(esp, 1); /* 0x2B08EC63: push 1 */ 5277 RECOMP_ICALL(0x2B08D9B0u); /* 0x2B08EC65: call 0x2b08d9b0 */ /* not lifted */ 5278 RECOMP_FLAGS_IN(); 5279 esp = ebp; /* 0x2B08EC6A: mov esp, ebp */ 5280 ebp = POP32_VAL(esp); /* 0x2B08EC6C: pop ebp */ 5281 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EC6D: ret */ 5282 L_2B08EC6E: 5283 ecx = MEM32(0x2B0EF110); /* 0x2B08EC6E: mov ecx, dword ptr [0x2b0ef110] */ 5284 PUSH32(esp, 0); /* 0x2B08EC74: push 0 */ 5285 RECOMP_ICALL(0x2B08D9B0u); /* 0x2B08EC76: call 0x2b08d9b0 */ /* not lifted */ 5286 RECOMP_FLAGS_IN(); 5287 L_2B08EC7B: 5288 esp = ebp; /* 0x2B08EC7B: mov esp, ebp */ 5289 ebp = POP32_VAL(esp); /* 0x2B08EC7D: pop ebp */ 5290 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08EC7E: ret */ 5291 RECOMP_REGS_OUT(); 5292 } 5293 5294 void sub_2B08EC80(void) { 5295 int _fpu_cmp = 0; 5296 uint32_t _cf = 0; 5297 int _df = 1; 5298 uint32_t _flag_k = FK_NONE; 5299 uint32_t _flag_a = 0, _flag_b = 0; 5300 uint32_t _itail_tgt = 0; 5301 RECOMP_REGS_LOCALS 5302 RECOMP_ENTER(0x2B08EC80u); 5303 5304 L_2B08EC80: 5305 PUSH32(esp, ebp); /* 0x2B08EC80: push ebp */ 5306 ebp = esp; /* 0x2B08EC81: mov ebp, esp */ 5307 PUSH32(esp, ecx); /* 0x2B08EC83: push ecx */ 5308 eax = MEM32(0x2B0EF110); /* 0x2B08EC84: mov eax, dword ptr [0x2b0ef110] */ 5309 /* test eax, eax */ /* 0x2B08EC89: test eax, eax */ 5310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5311 _cf = 0; 5312 _flag_k = FK_TEST; 5313 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08ECB8; /* 0x2B08EC8B: je 0x2b08ecb8 */ 5314 L_2B08EC8D: 5315 eax = ebp + (-0x4); /* 0x2B08EC8D: lea eax, [ebp - 4] */ 5316 PUSH32(esp, eax); /* 0x2B08EC90: push eax */ 5317 MEM32(ebp + (-0x4)) = 0; /* 0x2B08EC91: mov dword ptr [ebp - 4], 0 */ 5318 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B08EC98: call dword ptr [0x2b0b53cc] */ 5319 RECOMP_FLAGS_IN(); 5320 ecx = eax; /* 0x2B08EC9E: mov ecx, eax */ 5321 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B08ECA0: call dword ptr [0x2b0b53a8] */ 5322 RECOMP_FLAGS_IN(); 5323 eax = MEM32(ebp + (-0x4)); /* 0x2B08ECA6: mov eax, dword ptr [ebp - 4] */ 5324 /* test eax, eax */ /* 0x2B08ECA9: test eax, eax */ 5325 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5326 _cf = 0; 5327 _flag_k = FK_TEST; 5328 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08ECB8; /* 0x2B08ECAB: je 0x2b08ecb8 */ 5329 L_2B08ECAD: 5330 ecx = MEM32(0x2B0EF110); /* 0x2B08ECAD: mov ecx, dword ptr [0x2b0ef110] */ 5331 RECOMP_ICALL(0x2B08DC70u); /* 0x2B08ECB3: call 0x2b08dc70 */ /* not lifted */ 5332 RECOMP_FLAGS_IN(); 5333 L_2B08ECB8: 5334 esp = ebp; /* 0x2B08ECB8: mov esp, ebp */ 5335 ebp = POP32_VAL(esp); /* 0x2B08ECBA: pop ebp */ 5336 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08ECBB: ret */ 5337 RECOMP_REGS_OUT(); 5338 } 5339 5340 void sub_2B08ECC0(void) { 5341 int _fpu_cmp = 0; 5342 uint32_t _cf = 0; 5343 int _df = 1; 5344 uint32_t _flag_k = FK_NONE; 5345 uint32_t _flag_a = 0, _flag_b = 0; 5346 uint32_t _itail_tgt = 0; 5347 RECOMP_REGS_LOCALS 5348 RECOMP_ENTER(0x2B08ECC0u); 5349 5350 goto L_2B08ECC0; 5351 L_2B08DDC0: 5352 eax = MEM32(ecx + 0x2C); /* 0x2B08DDC0: mov eax, dword ptr [ecx + 0x2c] */ 5353 /* test eax, eax */ /* 0x2B08DDC3: test eax, eax */ 5354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5355 _cf = 0; 5356 _flag_k = FK_TEST; 5357 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08DDCE; /* 0x2B08DDC5: je 0x2b08ddce */ 5358 L_2B08DDC7: 5359 PUSH32(esp, eax); /* 0x2B08DDC7: push eax */ 5360 RECOMP_ICALL(0x2B090640u); /* 0x2B08DDC8: call 0x2b090640 */ /* not lifted */ 5361 RECOMP_FLAGS_IN(); 5362 ecx = POP32_VAL(esp); /* 0x2B08DDCD: pop ecx */ 5363 L_2B08DDCE: 5364 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08DDCE: ret */ 5365 L_2B08ECC0: 5366 ecx = MEM32(0x2B0EF110); /* 0x2B08ECC0: mov ecx, dword ptr [0x2b0ef110] */ 5367 /* test ecx, ecx */ /* 0x2B08ECC6: test ecx, ecx */ 5368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5369 _cf = 0; 5370 _flag_k = FK_TEST; 5371 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08ECCF; /* 0x2B08ECC8: je 0x2b08eccf */ 5372 L_2B08ECCA: 5373 RECOMP_BACKEDGE(); 5374 goto L_2B08DDC0; /* 0x2B08ECCA: jmp 0x2b08ddc0 */ 5375 L_2B08ECCF: 5376 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08ECCF: ret */ 5377 RECOMP_REGS_OUT(); 5378 } 5379 5380 void sub_2B08ECD0(void) { 5381 int _fpu_cmp = 0; 5382 uint32_t _cf = 0; 5383 int _df = 1; 5384 uint32_t _flag_k = FK_NONE; 5385 uint32_t _flag_a = 0, _flag_b = 0; 5386 uint32_t _itail_tgt = 0; 5387 RECOMP_REGS_LOCALS 5388 RECOMP_ENTER(0x2B08ECD0u); 5389 5390 L_2B08ECD0: 5391 PUSH32(esp, ebp); /* 0x2B08ECD0: push ebp */ 5392 ebp = esp; /* 0x2B08ECD1: mov ebp, esp */ 5393 edx = MEM32(ebp + 0x8); /* 0x2B08ECD3: mov edx, dword ptr [ebp + 8] */ 5394 eax = ecx; /* 0x2B08ECD6: mov eax, ecx */ 5395 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5396 ecx = 0; /* 0x2B08ECD8: xor ecx, ecx */ 5397 _cf = 0; 5398 _flag_k = FK_TEST; 5399 MEM32(eax + 0x8) = ecx; /* 0x2B08ECDA: mov dword ptr [eax + 8], ecx */ 5400 MEM32(eax + 0xC) = ecx; /* 0x2B08ECDD: mov dword ptr [eax + 0xc], ecx */ 5401 MEM32(eax + 0x20) = edx; /* 0x2B08ECE0: mov dword ptr [eax + 0x20], edx */ 5402 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B08ECE3: mov dl, byte ptr [ebp + 0xb] */ 5403 MEM8(eax + 0x14) = (uint8_t)(LO8(ecx)); /* 0x2B08ECE6: mov byte ptr [eax + 0x14], cl */ 5404 MEM8(eax + 0x15) = (uint8_t)(LO8(ecx)); /* 0x2B08ECE9: mov byte ptr [eax + 0x15], cl */ 5405 MEM32(eax + 0x18) = ecx; /* 0x2B08ECEC: mov dword ptr [eax + 0x18], ecx */ 5406 MEM32(eax + 0x24) = 0xFFFFFFFFu; /* 0x2B08ECEF: mov dword ptr [eax + 0x24], 0xffffffff */ 5407 MEM8(eax + 0x28) = (uint8_t)(LO8(edx)); /* 0x2B08ECF6: mov byte ptr [eax + 0x28], dl */ 5408 MEM32(eax + 0x2C) = ecx; /* 0x2B08ECF9: mov dword ptr [eax + 0x2c], ecx */ 5409 MEM32(eax + 0x30) = ecx; /* 0x2B08ECFC: mov dword ptr [eax + 0x30], ecx */ 5410 MEM32(eax + 0x34) = ecx; /* 0x2B08ECFF: mov dword ptr [eax + 0x34], ecx */ 5411 MEM32(eax + 0x38) = ecx; /* 0x2B08ED02: mov dword ptr [eax + 0x38], ecx */ 5412 MEM32(eax + 0x3C) = ecx; /* 0x2B08ED05: mov dword ptr [eax + 0x3c], ecx */ 5413 MEM32(eax + 0x68) = ecx; /* 0x2B08ED08: mov dword ptr [eax + 0x68], ecx */ 5414 MEM32(eax + 0x6C) = ecx; /* 0x2B08ED0B: mov dword ptr [eax + 0x6c], ecx */ 5415 MEM32(eax + 0x80) = ecx; /* 0x2B08ED0E: mov dword ptr [eax + 0x80], ecx */ 5416 MEM32(eax + 0x84) = ecx; /* 0x2B08ED14: mov dword ptr [eax + 0x84], ecx */ 5417 MEM32(eax) = ecx; /* 0x2B08ED1A: mov dword ptr [eax], ecx */ 5418 MEM32(eax + 0x4) = ecx; /* 0x2B08ED1C: mov dword ptr [eax + 4], ecx */ 5419 MEM32(eax + 0x8) = ecx; /* 0x2B08ED1F: mov dword ptr [eax + 8], ecx */ 5420 MEM32(eax + 0xC) = ecx; /* 0x2B08ED22: mov dword ptr [eax + 0xc], ecx */ 5421 MEM32(eax + 0x10) = 0x73A0u; /* 0x2B08ED25: mov dword ptr [eax + 0x10], 0x73a0 */ 5422 ebp = POP32_VAL(esp); /* 0x2B08ED2C: pop ebp */ 5423 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B08ED2D: ret 4 */ 5424 RECOMP_REGS_OUT(); 5425 } 5426 5427 void sub_2B08ED30(void) { 5428 int _fpu_cmp = 0; 5429 uint32_t _cf = 0; 5430 int _df = 1; 5431 uint32_t _flag_k = FK_NONE; 5432 uint32_t _flag_a = 0, _flag_b = 0; 5433 uint32_t _itail_tgt = 0; 5434 RECOMP_REGS_LOCALS 5435 RECOMP_ENTER(0x2B08ED30u); 5436 5437 L_2B08ED30: 5438 PUSH32(esp, ebp); /* 0x2B08ED30: push ebp */ 5439 ebp = esp; /* 0x2B08ED31: mov ebp, esp */ 5440 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08ED33: push -1 */ 5441 PUSH32(esp, 0x2B0B2A74u); /* 0x2B08ED35: push 0x2b0b2a74 */ 5442 eax = MEM32(FS_BASE + (0)); /* 0x2B08ED3A: mov eax, dword ptr fs:[0] */ 5443 PUSH32(esp, eax); /* 0x2B08ED40: push eax */ 5444 MEM32(FS_BASE + (0)) = esp; /* 0x2B08ED41: mov dword ptr fs:[0], esp */ 5445 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xD4u); 5446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5447 esp = esp - 0xD4u; /* 0x2B08ED48: sub esp, 0xd4 */ 5448 _flag_k = FK_CMP; 5449 PUSH32(esp, ebx); /* 0x2B08ED4E: push ebx */ 5450 PUSH32(esp, esi); /* 0x2B08ED4F: push esi */ 5451 PUSH32(esp, edi); /* 0x2B08ED50: push edi */ 5452 ebx = ecx; /* 0x2B08ED51: mov ebx, ecx */ 5453 PUSH32(esp, 0x40u); /* 0x2B08ED53: push 0x40 */ 5454 MEM8(ebx + 0x14) = (uint8_t)(1); /* 0x2B08ED55: mov byte ptr [ebx + 0x14], 1 */ 5455 MEM32(ebp + (-0x98)) = 0xDFu; /* 0x2B08ED59: mov dword ptr [ebp - 0x98], 0xdf */ 5456 MEM32(ebp + (-0x94)) = 0xE0u; /* 0x2B08ED63: mov dword ptr [ebp - 0x94], 0xe0 */ 5457 MEM32(ebp + (-0x9C)) = 0xE1u; /* 0x2B08ED6D: mov dword ptr [ebp - 0x9c], 0xe1 */ 5458 MEM32(ebp + (-0xA0)) = 0xE2u; /* 0x2B08ED77: mov dword ptr [ebp - 0xa0], 0xe2 */ 5459 MEM32(ebp + (-0xA4)) = 0xE3u; /* 0x2B08ED81: mov dword ptr [ebp - 0xa4], 0xe3 */ 5460 MEM32(ebp + (-0xA8)) = 0xE4u; /* 0x2B08ED8B: mov dword ptr [ebp - 0xa8], 0xe4 */ 5461 MEM32(ebp + (-0xB0)) = 0xE5u; /* 0x2B08ED95: mov dword ptr [ebp - 0xb0], 0xe5 */ 5462 MEM32(ebp + (-0xAC)) = 0xE6u; /* 0x2B08ED9F: mov dword ptr [ebp - 0xac], 0xe6 */ 5463 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EDA9: call 0x2b0ab212 */ /* not lifted */ 5464 RECOMP_FLAGS_IN(); 5465 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5467 esp = esp + 4; /* 0x2B08EDAE: add esp, 4 */ 5468 _flag_k = FK_ADD; 5469 MEM32(ebp + (-0x20)) = eax; /* 0x2B08EDB1: mov dword ptr [ebp - 0x20], eax */ 5470 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5471 esi = 0; /* 0x2B08EDB4: xor esi, esi */ 5472 _cf = 0; 5473 _flag_k = FK_TEST; 5474 /* cmp eax, esi */ /* 0x2B08EDB6: cmp eax, esi */ 5475 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5477 _flag_k = FK_CMP; 5478 MEM32(ebp + (-0x4)) = esi; /* 0x2B08EDB8: mov dword ptr [ebp - 4], esi */ 5479 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08EDD8; /* 0x2B08EDBB: je 0x2b08edd8 */ 5480 L_2B08EDBD: 5481 ecx = MEM32(ebx + 0x10); /* 0x2B08EDBD: mov ecx, dword ptr [ebx + 0x10] */ 5482 PUSH32(esp, ecx); /* 0x2B08EDC0: push ecx */ 5483 PUSH32(esp, ebx); /* 0x2B08EDC1: push ebx */ 5484 PUSH32(esp, 0x2B090610u); /* 0x2B08EDC2: push 0x2b090610 */ 5485 edx = ebp + (-0xB0); /* 0x2B08EDC7: lea edx, [ebp - 0xb0] */ 5486 PUSH32(esp, edx); /* 0x2B08EDCD: push edx */ 5487 ecx = eax; /* 0x2B08EDCE: mov ecx, eax */ 5488 RECOMP_ICALL(MEM32(0x2B0B59F4)); /* 0x2B08EDD0: call dword ptr [0x2b0b59f4] */ 5489 RECOMP_FLAGS_IN(); 5490 goto L_2B08EDDA; /* 0x2B08EDD6: jmp 0x2b08edda */ 5491 L_2B08EDD8: 5492 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5493 eax = 0; /* 0x2B08EDD8: xor eax, eax */ 5494 _cf = 0; 5495 _flag_k = FK_TEST; 5496 L_2B08EDDA: 5497 MEM32(ebx + 0x38) = eax; /* 0x2B08EDDA: mov dword ptr [ebx + 0x38], eax */ 5498 eax = MEM32(eax + 0x3C); /* 0x2B08EDDD: mov eax, dword ptr [eax + 0x3c] */ 5499 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 5500 edi = edi | 0xFFFFFFFFu; /* 0x2B08EDE0: or edi, 0xffffffff */ 5501 _cf = 0; 5502 _flag_k = FK_TEST; 5503 PUSH32(esp, 0x14u); /* 0x2B08EDE3: push 0x14 */ 5504 MEM32(ebp + (-0x4)) = edi; /* 0x2B08EDE5: mov dword ptr [ebp - 4], edi */ 5505 MEM32(eax + 0x90) = 0x2B090670u; /* 0x2B08EDE8: mov dword ptr [eax + 0x90], 0x2b090670 */ 5506 MEM32(eax + 0x94) = ebx; /* 0x2B08EDF2: mov dword ptr [eax + 0x94], ebx */ 5507 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EDF8: call 0x2b0ab212 */ /* not lifted */ 5508 RECOMP_FLAGS_IN(); 5509 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5510 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5511 esp = esp + 4; /* 0x2B08EDFD: add esp, 4 */ 5512 _flag_k = FK_ADD; 5513 MEM32(ebp + (-0x20)) = eax; /* 0x2B08EE00: mov dword ptr [ebp - 0x20], eax */ 5514 /* cmp eax, esi */ /* 0x2B08EE03: cmp eax, esi */ 5515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5517 _flag_k = FK_CMP; 5518 MEM32(ebp + (-0x4)) = 1; /* 0x2B08EE05: mov dword ptr [ebp - 4], 1 */ 5519 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08EE1C; /* 0x2B08EE0C: je 0x2b08ee1c */ 5520 L_2B08EE0E: 5521 ecx = MEM32(ebx + 0x10); /* 0x2B08EE0E: mov ecx, dword ptr [ebx + 0x10] */ 5522 PUSH32(esp, ecx); /* 0x2B08EE11: push ecx */ 5523 ecx = eax; /* 0x2B08EE12: mov ecx, eax */ 5524 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B08EE14: call dword ptr [0x2b0b5b10] */ 5525 RECOMP_FLAGS_IN(); 5526 goto L_2B08EE1E; /* 0x2B08EE1A: jmp 0x2b08ee1e */ 5527 L_2B08EE1C: 5528 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5529 eax = 0; /* 0x2B08EE1C: xor eax, eax */ 5530 _cf = 0; 5531 _flag_k = FK_TEST; 5532 L_2B08EE1E: 5533 PUSH32(esp, 0x6666u); /* 0x2B08EE1E: push 0x6666 */ 5534 ecx = eax; /* 0x2B08EE23: mov ecx, eax */ 5535 MEM32(ebp + (-0x4)) = edi; /* 0x2B08EE25: mov dword ptr [ebp - 4], edi */ 5536 MEM32(ebx + 0x3C) = eax; /* 0x2B08EE28: mov dword ptr [ebx + 0x3c], eax */ 5537 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B08EE2B: call dword ptr [0x2b0b5b0c] */ 5538 RECOMP_FLAGS_IN(); 5539 ecx = MEM32(ebx + 0x3C); /* 0x2B08EE31: mov ecx, dword ptr [ebx + 0x3c] */ 5540 PUSH32(esp, 0xE6u); /* 0x2B08EE34: push 0xe6 */ 5541 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B08EE39: call dword ptr [0x2b0b5b08] */ 5542 RECOMP_FLAGS_IN(); 5543 edx = MEM32(ebx + 0x10); /* 0x2B08EE3F: mov edx, dword ptr [ebx + 0x10] */ 5544 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5545 eax = 0; /* 0x2B08EE42: xor eax, eax */ 5546 _cf = 0; 5547 _flag_k = FK_TEST; 5548 ecx = 0xCu; /* 0x2B08EE44: mov ecx, 0xc */ 5549 edi = ebp + (-0x90); /* 0x2B08EE49: lea edi, [ebp - 0x90] */ 5550 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08EE4F: 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; } 5551 PUSH32(esp, 2); /* 0x2B08EE51: push 2 */ 5552 eax = ebp + (-0x2C); /* 0x2B08EE53: lea eax, [ebp - 0x2c] */ 5553 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 5554 edx = edx + 1; /* 0x2B08EE56: inc edx */ 5555 _flag_k = FK_INC; 5556 PUSH32(esp, 0xE7u); /* 0x2B08EE57: push 0xe7 */ 5557 PUSH32(esp, eax); /* 0x2B08EE5C: push eax */ 5558 MEM32(ebp + (-0x1C)) = esi; /* 0x2B08EE5D: mov dword ptr [ebp - 0x1c], esi */ 5559 MEM32(ebp + (-0x18)) = esi; /* 0x2B08EE60: mov dword ptr [ebp - 0x18], esi */ 5560 MEM32(ebp + (-0x78)) = edx; /* 0x2B08EE63: mov dword ptr [ebp - 0x78], edx */ 5561 MEM32(ebp + (-0x70)) = 0xE7u; /* 0x2B08EE66: mov dword ptr [ebp - 0x70], 0xe7 */ 5562 MEM32(ebp + (-0x6C)) = 0xE8u; /* 0x2B08EE6D: mov dword ptr [ebp - 0x6c], 0xe8 */ 5563 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B08EE74: call dword ptr [0x2b0b5f80] */ 5564 RECOMP_FLAGS_IN(); 5565 ecx = eax; /* 0x2B08EE7A: mov ecx, eax */ 5566 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B08EE7C: call dword ptr [0x2b0b5f7c] */ 5567 RECOMP_FLAGS_IN(); 5568 ecx = MEM32(eax); /* 0x2B08EE82: mov ecx, dword ptr [eax] */ 5569 MEM32(ebp + (-0x14)) = ecx; /* 0x2B08EE84: mov dword ptr [ebp - 0x14], ecx */ 5570 edx = MEM32(eax + 0x4); /* 0x2B08EE87: mov edx, dword ptr [eax + 4] */ 5571 PUSH32(esp, 0x50u); /* 0x2B08EE8A: push 0x50 */ 5572 MEM32(ebp + (-0x10)) = edx; /* 0x2B08EE8C: mov dword ptr [ebp - 0x10], edx */ 5573 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EE8F: call 0x2b0ab212 */ /* not lifted */ 5574 RECOMP_FLAGS_IN(); 5575 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5576 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5577 esp = esp + 4; /* 0x2B08EE94: add esp, 4 */ 5578 _flag_k = FK_ADD; 5579 MEM32(ebp + (-0x20)) = eax; /* 0x2B08EE97: mov dword ptr [ebp - 0x20], eax */ 5580 /* cmp eax, esi */ /* 0x2B08EE9A: cmp eax, esi */ 5581 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5583 _flag_k = FK_CMP; 5584 MEM32(ebp + (-0x4)) = 2; /* 0x2B08EE9C: mov dword ptr [ebp - 4], 2 */ 5585 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08EECD; /* 0x2B08EEA3: je 0x2b08eecd */ 5586 L_2B08EEA5: 5587 ecx = MEM32(ebx + 0x10); /* 0x2B08EEA5: mov ecx, dword ptr [ebx + 0x10] */ 5588 PUSH32(esp, esi); /* 0x2B08EEA8: push esi */ 5589 PUSH32(esp, 0x3F800000u); /* 0x2B08EEA9: push 0x3f800000 */ 5590 PUSH32(esp, 0x3F800000u); /* 0x2B08EEAE: push 0x3f800000 */ 5591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 5592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5593 ecx = ecx + 2; /* 0x2B08EEB3: add ecx, 2 */ 5594 _flag_k = FK_ADD; 5595 PUSH32(esp, ecx); /* 0x2B08EEB6: push ecx */ 5596 edx = ebp + (-0x1C); /* 0x2B08EEB7: lea edx, [ebp - 0x1c] */ 5597 PUSH32(esp, edx); /* 0x2B08EEBA: push edx */ 5598 ecx = ebp + (-0x14); /* 0x2B08EEBB: lea ecx, [ebp - 0x14] */ 5599 PUSH32(esp, ecx); /* 0x2B08EEBE: push ecx */ 5600 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08EEBF: push -1 */ 5601 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08EEC1: push -1 */ 5602 ecx = eax; /* 0x2B08EEC3: mov ecx, eax */ 5603 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B08EEC5: call dword ptr [0x2b0b5bd8] */ 5604 RECOMP_FLAGS_IN(); 5605 goto L_2B08EECF; /* 0x2B08EECB: jmp 0x2b08eecf */ 5606 L_2B08EECD: 5607 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5608 eax = 0; /* 0x2B08EECD: xor eax, eax */ 5609 _cf = 0; 5610 _flag_k = FK_TEST; 5611 L_2B08EECF: 5612 PUSH32(esp, 1); /* 0x2B08EECF: push 1 */ 5613 MEM32(ebx + 0x40) = eax; /* 0x2B08EED1: mov dword ptr [ebx + 0x40], eax */ 5614 eax = MEM32(eax + 0x28); /* 0x2B08EED4: mov eax, dword ptr [eax + 0x28] */ 5615 PUSH32(esp, esi); /* 0x2B08EED7: push esi */ 5616 PUSH32(esp, esi); /* 0x2B08EED8: push esi */ 5617 ecx = eax; /* 0x2B08EED9: mov ecx, eax */ 5618 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B08EEDB: mov dword ptr [ebp - 4], 0xffffffff */ 5619 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B08EEE2: call dword ptr [0x2b0b564c] */ 5620 RECOMP_FLAGS_IN(); 5621 PUSH32(esp, 0xBCu); /* 0x2B08EEE8: push 0xbc */ 5622 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EEED: call 0x2b0ab212 */ /* not lifted */ 5623 RECOMP_FLAGS_IN(); 5624 edi = eax; /* 0x2B08EEF2: mov edi, eax */ 5625 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5627 esp = esp + 4; /* 0x2B08EEF4: add esp, 4 */ 5628 _flag_k = FK_ADD; 5629 MEM32(ebp + (-0x20)) = edi; /* 0x2B08EEF7: mov dword ptr [ebp - 0x20], edi */ 5630 /* cmp edi, esi */ /* 0x2B08EEFA: cmp edi, esi */ 5631 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5633 _flag_k = FK_CMP; 5634 MEM32(ebp + (-0x4)) = 3; /* 0x2B08EEFC: mov dword ptr [ebp - 4], 3 */ 5635 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08EF22; /* 0x2B08EF03: je 0x2b08ef22 */ 5636 L_2B08EF05: 5637 edx = MEM32(ebx + 0x40); /* 0x2B08EF05: mov edx, dword ptr [ebx + 0x40] */ 5638 PUSH32(esp, edx); /* 0x2B08EF08: push edx */ 5639 eax = ebp + (-0x90); /* 0x2B08EF09: lea eax, [ebp - 0x90] */ 5640 PUSH32(esp, eax); /* 0x2B08EF0F: push eax */ 5641 ecx = edi; /* 0x2B08EF10: mov ecx, edi */ 5642 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B08EF12: call dword ptr [0x2b0b5afc] */ 5643 RECOMP_FLAGS_IN(); 5644 MEM32(edi) = 0x2B0B645Cu; /* 0x2B08EF18: mov dword ptr [edi], 0x2b0b645c */ 5645 ecx = edi; /* 0x2B08EF1E: mov ecx, edi */ 5646 goto L_2B08EF24; /* 0x2B08EF20: jmp 0x2b08ef24 */ 5647 L_2B08EF22: 5648 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5649 ecx = 0; /* 0x2B08EF22: xor ecx, ecx */ 5650 _cf = 0; 5651 _flag_k = FK_TEST; 5652 L_2B08EF24: 5653 PUSH32(esp, ebx); /* 0x2B08EF24: push ebx */ 5654 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 5655 edi = edi | 0xFFFFFFFFu; /* 0x2B08EF25: or edi, 0xffffffff */ 5656 _cf = 0; 5657 _flag_k = FK_TEST; 5658 PUSH32(esp, 0x2B090640u); /* 0x2B08EF28: push 0x2b090640 */ 5659 MEM32(ebp + (-0x4)) = edi; /* 0x2B08EF2D: mov dword ptr [ebp - 4], edi */ 5660 MEM32(ebx + 0x44) = ecx; /* 0x2B08EF30: mov dword ptr [ebx + 0x44], ecx */ 5661 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B08EF33: call dword ptr [0x2b0b5820] */ 5662 RECOMP_FLAGS_IN(); 5663 PUSH32(esp, 2); /* 0x2B08EF39: push 2 */ 5664 ecx = ebp + (-0x2C); /* 0x2B08EF3B: lea ecx, [ebp - 0x2c] */ 5665 PUSH32(esp, 0xE9u); /* 0x2B08EF3E: push 0xe9 */ 5666 PUSH32(esp, ecx); /* 0x2B08EF43: push ecx */ 5667 MEM32(ebp + (-0x70)) = 0xE9u; /* 0x2B08EF44: mov dword ptr [ebp - 0x70], 0xe9 */ 5668 MEM32(ebp + (-0x6C)) = 0xEAu; /* 0x2B08EF4B: mov dword ptr [ebp - 0x6c], 0xea */ 5669 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B08EF52: call dword ptr [0x2b0b5f80] */ 5670 RECOMP_FLAGS_IN(); 5671 ecx = eax; /* 0x2B08EF58: mov ecx, eax */ 5672 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B08EF5A: call dword ptr [0x2b0b5f7c] */ 5673 RECOMP_FLAGS_IN(); 5674 edx = MEM32(eax); /* 0x2B08EF60: mov edx, dword ptr [eax] */ 5675 MEM32(ebp + (-0x14)) = edx; /* 0x2B08EF62: mov dword ptr [ebp - 0x14], edx */ 5676 eax = MEM32(eax + 0x4); /* 0x2B08EF65: mov eax, dword ptr [eax + 4] */ 5677 PUSH32(esp, 0x50u); /* 0x2B08EF68: push 0x50 */ 5678 MEM32(ebp + (-0x10)) = eax; /* 0x2B08EF6A: mov dword ptr [ebp - 0x10], eax */ 5679 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EF6D: call 0x2b0ab212 */ /* not lifted */ 5680 RECOMP_FLAGS_IN(); 5681 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5683 esp = esp + 4; /* 0x2B08EF72: add esp, 4 */ 5684 _flag_k = FK_ADD; 5685 MEM32(ebp + (-0x20)) = eax; /* 0x2B08EF75: mov dword ptr [ebp - 0x20], eax */ 5686 /* cmp eax, esi */ /* 0x2B08EF78: cmp eax, esi */ 5687 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5689 _flag_k = FK_CMP; 5690 MEM32(ebp + (-0x4)) = 4; /* 0x2B08EF7A: mov dword ptr [ebp - 4], 4 */ 5691 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08EFA9; /* 0x2B08EF81: je 0x2b08efa9 */ 5692 L_2B08EF83: 5693 ecx = MEM32(ebx + 0x10); /* 0x2B08EF83: mov ecx, dword ptr [ebx + 0x10] */ 5694 PUSH32(esp, esi); /* 0x2B08EF86: push esi */ 5695 PUSH32(esp, 0x3F800000u); /* 0x2B08EF87: push 0x3f800000 */ 5696 PUSH32(esp, 0x3F800000u); /* 0x2B08EF8C: push 0x3f800000 */ 5697 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 5698 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5699 ecx = ecx + 2; /* 0x2B08EF91: add ecx, 2 */ 5700 _flag_k = FK_ADD; 5701 PUSH32(esp, ecx); /* 0x2B08EF94: push ecx */ 5702 edx = ebp + (-0x1C); /* 0x2B08EF95: lea edx, [ebp - 0x1c] */ 5703 PUSH32(esp, edx); /* 0x2B08EF98: push edx */ 5704 ecx = ebp + (-0x14); /* 0x2B08EF99: lea ecx, [ebp - 0x14] */ 5705 PUSH32(esp, ecx); /* 0x2B08EF9C: push ecx */ 5706 PUSH32(esp, edi); /* 0x2B08EF9D: push edi */ 5707 PUSH32(esp, edi); /* 0x2B08EF9E: push edi */ 5708 ecx = eax; /* 0x2B08EF9F: mov ecx, eax */ 5709 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B08EFA1: call dword ptr [0x2b0b5bd8] */ 5710 RECOMP_FLAGS_IN(); 5711 goto L_2B08EFAB; /* 0x2B08EFA7: jmp 0x2b08efab */ 5712 L_2B08EFA9: 5713 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5714 eax = 0; /* 0x2B08EFA9: xor eax, eax */ 5715 _cf = 0; 5716 _flag_k = FK_TEST; 5717 L_2B08EFAB: 5718 PUSH32(esp, 1); /* 0x2B08EFAB: push 1 */ 5719 MEM32(ebx + 0x48) = eax; /* 0x2B08EFAD: mov dword ptr [ebx + 0x48], eax */ 5720 eax = MEM32(eax + 0x28); /* 0x2B08EFB0: mov eax, dword ptr [eax + 0x28] */ 5721 PUSH32(esp, esi); /* 0x2B08EFB3: push esi */ 5722 PUSH32(esp, esi); /* 0x2B08EFB4: push esi */ 5723 ecx = eax; /* 0x2B08EFB5: mov ecx, eax */ 5724 MEM32(ebp + (-0x4)) = edi; /* 0x2B08EFB7: mov dword ptr [ebp - 4], edi */ 5725 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B08EFBA: call dword ptr [0x2b0b564c] */ 5726 RECOMP_FLAGS_IN(); 5727 PUSH32(esp, 0xBCu); /* 0x2B08EFC0: push 0xbc */ 5728 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08EFC5: call 0x2b0ab212 */ /* not lifted */ 5729 RECOMP_FLAGS_IN(); 5730 edi = eax; /* 0x2B08EFCA: mov edi, eax */ 5731 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5732 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5733 esp = esp + 4; /* 0x2B08EFCC: add esp, 4 */ 5734 _flag_k = FK_ADD; 5735 MEM32(ebp + (-0x20)) = edi; /* 0x2B08EFCF: mov dword ptr [ebp - 0x20], edi */ 5736 /* cmp edi, esi */ /* 0x2B08EFD2: cmp edi, esi */ 5737 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5739 _flag_k = FK_CMP; 5740 MEM32(ebp + (-0x4)) = 5; /* 0x2B08EFD4: mov dword ptr [ebp - 4], 5 */ 5741 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08EFFA; /* 0x2B08EFDB: je 0x2b08effa */ 5742 L_2B08EFDD: 5743 edx = MEM32(ebx + 0x48); /* 0x2B08EFDD: mov edx, dword ptr [ebx + 0x48] */ 5744 PUSH32(esp, edx); /* 0x2B08EFE0: push edx */ 5745 eax = ebp + (-0x90); /* 0x2B08EFE1: lea eax, [ebp - 0x90] */ 5746 PUSH32(esp, eax); /* 0x2B08EFE7: push eax */ 5747 ecx = edi; /* 0x2B08EFE8: mov ecx, edi */ 5748 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B08EFEA: call dword ptr [0x2b0b5afc] */ 5749 RECOMP_FLAGS_IN(); 5750 MEM32(edi) = 0x2B0B645Cu; /* 0x2B08EFF0: mov dword ptr [edi], 0x2b0b645c */ 5751 ecx = edi; /* 0x2B08EFF6: mov ecx, edi */ 5752 goto L_2B08EFFC; /* 0x2B08EFF8: jmp 0x2b08effc */ 5753 L_2B08EFFA: 5754 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5755 ecx = 0; /* 0x2B08EFFA: xor ecx, ecx */ 5756 _cf = 0; 5757 _flag_k = FK_TEST; 5758 L_2B08EFFC: 5759 PUSH32(esp, ebx); /* 0x2B08EFFC: push ebx */ 5760 PUSH32(esp, 0x2B090640u); /* 0x2B08EFFD: push 0x2b090640 */ 5761 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B08F002: mov dword ptr [ebp - 4], 0xffffffff */ 5762 MEM32(ebx + 0x4C) = ecx; /* 0x2B08F009: mov dword ptr [ebx + 0x4c], ecx */ 5763 RECOMP_ICALL(MEM32(0x2B0B5820)); /* 0x2B08F00C: call dword ptr [0x2b0b5820] */ 5764 RECOMP_FLAGS_IN(); 5765 PUSH32(esp, 2); /* 0x2B08F012: push 2 */ 5766 ecx = ebp + (-0x24); /* 0x2B08F014: lea ecx, [ebp - 0x24] */ 5767 PUSH32(esp, 0xEBu); /* 0x2B08F017: push 0xeb */ 5768 PUSH32(esp, ecx); /* 0x2B08F01C: push ecx */ 5769 MEM32(ebp + (-0x70)) = 0xEBu; /* 0x2B08F01D: mov dword ptr [ebp - 0x70], 0xeb */ 5770 MEM32(ebp + (-0x6C)) = 0xECu; /* 0x2B08F024: mov dword ptr [ebp - 0x6c], 0xec */ 5771 MEM32(ebp + (-0x90)) = 1; /* 0x2B08F02B: mov dword ptr [ebp - 0x90], 1 */ 5772 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B08F035: call dword ptr [0x2b0b5f80] */ 5773 RECOMP_FLAGS_IN(); 5774 ecx = eax; /* 0x2B08F03B: mov ecx, eax */ 5775 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B08F03D: call dword ptr [0x2b0b5f7c] */ 5776 RECOMP_FLAGS_IN(); 5777 edx = MEM32(eax); /* 0x2B08F043: mov edx, dword ptr [eax] */ 5778 eax = MEM32(eax + 0x4); /* 0x2B08F045: mov eax, dword ptr [eax + 4] */ 5779 SET_LO8(ecx, MEM8(ebp + (-0x31))); /* 0x2B08F048: mov cl, byte ptr [ebp - 0x31] */ 5780 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(ecx)); /* 0x2B08F04B: mov byte ptr [ebp - 0x50], cl */ 5781 MEM32(ebp + (-0x28)) = eax; /* 0x2B08F04E: mov dword ptr [ebp - 0x28], eax */ 5782 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5783 eax = 0; /* 0x2B08F051: xor eax, eax */ 5784 _cf = 0; 5785 _flag_k = FK_TEST; 5786 edi = 0x2B0ED270u; /* 0x2B08F053: mov edi, 0x2b0ed270 */ 5787 PUSH32(esp, 1); /* 0x2B08F058: push 1 */ 5788 MEM32(ebp + (-0x2C)) = edx; /* 0x2B08F05A: mov dword ptr [ebp - 0x2c], edx */ 5789 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 5790 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08F05D: or ecx, 0xffffffff */ 5791 _cf = 0; 5792 _flag_k = FK_TEST; 5793 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; } /* 0x2B08F060: repne scasb al, byte ptr es:[edi] */ 5794 ecx = ~ecx; /* 0x2B08F062: not ecx */ 5795 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5796 ecx = ecx - 1; /* 0x2B08F064: dec ecx */ 5797 _flag_k = FK_DEC; 5798 edi = ecx; /* 0x2B08F065: mov edi, ecx */ 5799 PUSH32(esp, edi); /* 0x2B08F067: push edi */ 5800 ecx = ebp + (-0x50); /* 0x2B08F068: lea ecx, [ebp - 0x50] */ 5801 MEM32(ebp + (-0x4C)) = esi; /* 0x2B08F06B: mov dword ptr [ebp - 0x4c], esi */ 5802 MEM32(ebp + (-0x48)) = esi; /* 0x2B08F06E: mov dword ptr [ebp - 0x48], esi */ 5803 MEM32(ebp + (-0x44)) = esi; /* 0x2B08F071: mov dword ptr [ebp - 0x44], esi */ 5804 MEM32(ebp + (-0x30)) = edi; /* 0x2B08F074: mov dword ptr [ebp - 0x30], edi */ 5805 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08F077: call dword ptr [0x2b0b5154] */ 5806 RECOMP_FLAGS_IN(); 5807 /* test LO8(eax), LO8(eax) */ /* 0x2B08F07D: test al, al */ 5808 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5809 _cf = 0; 5810 _flag_k = FK_NARROW(FK_TEST, 24); 5811 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F0A7; /* 0x2B08F07F: je 0x2b08f0a7 */ 5812 L_2B08F081: 5813 ecx = edi; /* 0x2B08F081: mov ecx, edi */ 5814 edi = MEM32(ebp + (-0x4C)); /* 0x2B08F083: mov edi, dword ptr [ebp - 0x4c] */ 5815 edx = ecx; /* 0x2B08F086: mov edx, ecx */ 5816 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B08F088: shr ecx, 2 */ 5817 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5818 ecx = ecx >> 2u; /* 0x2B08F088: shr ecx, 2 */ 5819 esi = 0x2B0ED270u; /* 0x2B08F08B: mov esi, 0x2b0ed270 */ 5820 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08F090: 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; } 5821 ecx = edx; /* 0x2B08F092: mov ecx, edx */ 5822 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5823 ecx = ecx & 3; /* 0x2B08F094: and ecx, 3 */ 5824 _cf = 0; 5825 _flag_k = FK_TEST; 5826 eax = edx; /* 0x2B08F097: mov eax, edx */ 5827 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B08F099: 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; } 5828 PUSH32(esp, eax); /* 0x2B08F09B: push eax */ 5829 ecx = ebp + (-0x50); /* 0x2B08F09C: lea ecx, [ebp - 0x50] */ 5830 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B08F09F: call dword ptr [0x2b0b5150] */ 5831 RECOMP_FLAGS_IN(); 5832 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5833 esi = 0; /* 0x2B08F0A5: xor esi, esi */ 5834 _cf = 0; 5835 _flag_k = FK_TEST; 5836 L_2B08F0A7: 5837 MEM32(ebp + (-0x40)) = esi; /* 0x2B08F0A7: mov dword ptr [ebp - 0x40], esi */ 5838 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F0AA: push -1 */ 5839 PUSH32(esp, esi); /* 0x2B08F0AC: push esi */ 5840 PUSH32(esp, 1); /* 0x2B08F0AD: push 1 */ 5841 ecx = ebp + (-0x50); /* 0x2B08F0AF: lea ecx, [ebp - 0x50] */ 5842 MEM32(ebp + (-0x4)) = 6; /* 0x2B08F0B2: mov dword ptr [ebp - 4], 6 */ 5843 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B08F0B9: call dword ptr [0x2b0b59b8] */ 5844 RECOMP_FLAGS_IN(); 5845 ecx = MEM32(ebp + (-0x2C)); /* 0x2B08F0BF: mov ecx, dword ptr [ebp - 0x2c] */ 5846 edx = eax + ecx + 0x4; /* 0x2B08F0C2: lea edx, [eax + ecx + 4] */ 5847 eax = MEM32(0x2B0B5BCC); /* 0x2B08F0C6: mov eax, dword ptr [0x2b0b5bcc] */ 5848 MEM32(ebp + (-0x14)) = edx; /* 0x2B08F0CB: mov dword ptr [ebp - 0x14], edx */ 5849 /* cmp MEM32(eax), esi */ /* 0x2B08F0CE: cmp dword ptr [eax], esi */ 5850 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(esi); 5851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5852 _flag_k = FK_CMP; 5853 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08F0FF; /* 0x2B08F0D0: jne 0x2b08f0ff */ 5854 L_2B08F0D2: 5855 PUSH32(esp, 0x20u); /* 0x2B08F0D2: push 0x20 */ 5856 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F0D4: call 0x2b0ab212 */ /* not lifted */ 5857 RECOMP_FLAGS_IN(); 5858 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5859 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5860 esp = esp + 4; /* 0x2B08F0D9: add esp, 4 */ 5861 _flag_k = FK_ADD; 5862 MEM32(ebp + (-0x20)) = eax; /* 0x2B08F0DC: mov dword ptr [ebp - 0x20], eax */ 5863 /* cmp eax, esi */ /* 0x2B08F0DF: cmp eax, esi */ 5864 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5866 _flag_k = FK_CMP; 5867 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B08F0E1: mov byte ptr [ebp - 4], 7 */ 5868 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F0F1; /* 0x2B08F0E5: je 0x2b08f0f1 */ 5869 L_2B08F0E7: 5870 ecx = eax; /* 0x2B08F0E7: mov ecx, eax */ 5871 RECOMP_ICALL(MEM32(0x2B0B5BD0)); /* 0x2B08F0E9: call dword ptr [0x2b0b5bd0] */ 5872 RECOMP_FLAGS_IN(); 5873 goto L_2B08F0F3; /* 0x2B08F0EF: jmp 0x2b08f0f3 */ 5874 L_2B08F0F1: 5875 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5876 eax = 0; /* 0x2B08F0F1: xor eax, eax */ 5877 _cf = 0; 5878 _flag_k = FK_TEST; 5879 L_2B08F0F3: 5880 ecx = MEM32(0x2B0B5BCC); /* 0x2B08F0F3: mov ecx, dword ptr [0x2b0b5bcc] */ 5881 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F0F9: mov byte ptr [ebp - 4], 6 */ 5882 MEM32(ecx) = eax; /* 0x2B08F0FD: mov dword ptr [ecx], eax */ 5883 L_2B08F0FF: 5884 edx = MEM32(0x2B0B5BCC); /* 0x2B08F0FF: mov edx, dword ptr [0x2b0b5bcc] */ 5885 ecx = MEM32(edx); /* 0x2B08F105: mov ecx, dword ptr [edx] */ 5886 PUSH32(esp, 1); /* 0x2B08F107: push 1 */ 5887 RECOMP_ICALL(MEM32(0x2B0B5BD4)); /* 0x2B08F109: call dword ptr [0x2b0b5bd4] */ 5888 RECOMP_FLAGS_IN(); 5889 /* cmp MEM32(ebp + (-0x10)), eax */ /* 0x2B08F10F: cmp dword ptr [ebp - 0x10], eax */ 5890 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(eax); 5891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5892 _flag_k = FK_CMP; 5893 MEM32(ebp + (-0x30)) = eax; /* 0x2B08F112: mov dword ptr [ebp - 0x30], eax */ 5894 if (CMP_L(_flag_a, _flag_b)) goto L_2B08F11A; /* 0x2B08F115: jl 0x2b08f11a */ 5895 L_2B08F117: 5896 eax = MEM32(ebp + (-0x28)); /* 0x2B08F117: mov eax, dword ptr [ebp - 0x28] */ 5897 L_2B08F11A: 5898 PUSH32(esp, 0x50u); /* 0x2B08F11A: push 0x50 */ 5899 MEM32(ebp + (-0x10)) = eax; /* 0x2B08F11C: mov dword ptr [ebp - 0x10], eax */ 5900 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F11F: call 0x2b0ab212 */ /* not lifted */ 5901 RECOMP_FLAGS_IN(); 5902 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5903 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5904 esp = esp + 4; /* 0x2B08F124: add esp, 4 */ 5905 _flag_k = FK_ADD; 5906 MEM32(ebp + (-0x20)) = eax; /* 0x2B08F127: mov dword ptr [ebp - 0x20], eax */ 5907 /* cmp eax, esi */ /* 0x2B08F12A: cmp eax, esi */ 5908 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5910 _flag_k = FK_CMP; 5911 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B08F12C: mov byte ptr [ebp - 4], 8 */ 5912 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F15A; /* 0x2B08F130: je 0x2b08f15a */ 5913 L_2B08F132: 5914 ecx = MEM32(ebx + 0x10); /* 0x2B08F132: mov ecx, dword ptr [ebx + 0x10] */ 5915 PUSH32(esp, esi); /* 0x2B08F135: push esi */ 5916 PUSH32(esp, 0x3F800000u); /* 0x2B08F136: push 0x3f800000 */ 5917 PUSH32(esp, 0x3F800000u); /* 0x2B08F13B: push 0x3f800000 */ 5918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 5919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5920 ecx = ecx + 2; /* 0x2B08F140: add ecx, 2 */ 5921 _flag_k = FK_ADD; 5922 PUSH32(esp, ecx); /* 0x2B08F143: push ecx */ 5923 edx = ebp + (-0x1C); /* 0x2B08F144: lea edx, [ebp - 0x1c] */ 5924 PUSH32(esp, edx); /* 0x2B08F147: push edx */ 5925 ecx = ebp + (-0x14); /* 0x2B08F148: lea ecx, [ebp - 0x14] */ 5926 PUSH32(esp, ecx); /* 0x2B08F14B: push ecx */ 5927 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F14C: push -1 */ 5928 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F14E: push -1 */ 5929 ecx = eax; /* 0x2B08F150: mov ecx, eax */ 5930 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B08F152: call dword ptr [0x2b0b5bd8] */ 5931 RECOMP_FLAGS_IN(); 5932 goto L_2B08F15C; /* 0x2B08F158: jmp 0x2b08f15c */ 5933 L_2B08F15A: 5934 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5935 eax = 0; /* 0x2B08F15A: xor eax, eax */ 5936 _cf = 0; 5937 _flag_k = FK_TEST; 5938 L_2B08F15C: 5939 PUSH32(esp, 1); /* 0x2B08F15C: push 1 */ 5940 MEM32(ebx + 0x50) = eax; /* 0x2B08F15E: mov dword ptr [ebx + 0x50], eax */ 5941 eax = MEM32(eax + 0x28); /* 0x2B08F161: mov eax, dword ptr [eax + 0x28] */ 5942 PUSH32(esp, esi); /* 0x2B08F164: push esi */ 5943 PUSH32(esp, esi); /* 0x2B08F165: push esi */ 5944 ecx = eax; /* 0x2B08F166: mov ecx, eax */ 5945 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F168: mov byte ptr [ebp - 4], 6 */ 5946 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B08F16C: call dword ptr [0x2b0b564c] */ 5947 RECOMP_FLAGS_IN(); 5948 PUSH32(esp, 0xBCu); /* 0x2B08F172: push 0xbc */ 5949 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F177: call 0x2b0ab212 */ /* not lifted */ 5950 RECOMP_FLAGS_IN(); 5951 edi = eax; /* 0x2B08F17C: mov edi, eax */ 5952 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5953 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5954 esp = esp + 4; /* 0x2B08F17E: add esp, 4 */ 5955 _flag_k = FK_ADD; 5956 MEM32(ebp + (-0x20)) = edi; /* 0x2B08F181: mov dword ptr [ebp - 0x20], edi */ 5957 /* cmp edi, esi */ /* 0x2B08F184: cmp edi, esi */ 5958 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5960 _flag_k = FK_CMP; 5961 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B08F186: mov byte ptr [ebp - 4], 9 */ 5962 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F1A9; /* 0x2B08F18A: je 0x2b08f1a9 */ 5963 L_2B08F18C: 5964 edx = MEM32(ebx + 0x50); /* 0x2B08F18C: mov edx, dword ptr [ebx + 0x50] */ 5965 PUSH32(esp, edx); /* 0x2B08F18F: push edx */ 5966 eax = ebp + (-0x90); /* 0x2B08F190: lea eax, [ebp - 0x90] */ 5967 PUSH32(esp, eax); /* 0x2B08F196: push eax */ 5968 ecx = edi; /* 0x2B08F197: mov ecx, edi */ 5969 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B08F199: call dword ptr [0x2b0b5afc] */ 5970 RECOMP_FLAGS_IN(); 5971 MEM32(edi) = 0x2B0B645Cu; /* 0x2B08F19F: mov dword ptr [edi], 0x2b0b645c */ 5972 ecx = edi; /* 0x2B08F1A5: mov ecx, edi */ 5973 goto L_2B08F1AB; /* 0x2B08F1A7: jmp 0x2b08f1ab */ 5974 L_2B08F1A9: 5975 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5976 ecx = 0; /* 0x2B08F1A9: xor ecx, ecx */ 5977 _cf = 0; 5978 _flag_k = FK_TEST; 5979 L_2B08F1AB: 5980 eax = MEM32(ebp + (-0x10)); /* 0x2B08F1AB: mov eax, dword ptr [ebp - 0x10] */ 5981 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 5982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5983 eax = eax - MEM32(ebp + (-0x28)); /* 0x2B08F1AE: sub eax, dword ptr [ebp - 0x28] */ 5984 _flag_k = FK_CMP; 5985 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B08F1B1: cdq */ 5986 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5988 eax = eax - edx; /* 0x2B08F1B2: sub eax, edx */ 5989 _flag_k = FK_CMP; 5990 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B08F1B4: sar eax, 1 */ 5991 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5992 eax = (uint32_t)((int32_t)eax >> 1u); 5993 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5994 edi = 0; /* 0x2B08F1B6: xor edi, edi */ 5995 _cf = 0; 5996 _flag_k = FK_TEST; 5997 PUSH32(esp, eax); /* 0x2B08F1B8: push eax */ 5998 PUSH32(esp, edi); /* 0x2B08F1B9: push edi */ 5999 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F1BA: mov byte ptr [ebp - 4], 6 */ 6000 MEM32(ebx + 0x54) = ecx; /* 0x2B08F1BE: mov dword ptr [ebx + 0x54], ecx */ 6001 MEM32(ebp + (-0x1C)) = edi; /* 0x2B08F1C1: mov dword ptr [ebp - 0x1c], edi */ 6002 MEM32(ebp + (-0x18)) = eax; /* 0x2B08F1C4: mov dword ptr [ebp - 0x18], eax */ 6003 RECOMP_ICALL(MEM32(0x2B0B5A4C)); /* 0x2B08F1C7: call dword ptr [0x2b0b5a4c] */ 6004 RECOMP_FLAGS_IN(); 6005 ecx = MEM32(ebp + (-0x2C)); /* 0x2B08F1CD: mov ecx, dword ptr [ebp - 0x2c] */ 6006 edx = MEM32(ebp + (-0x30)); /* 0x2B08F1D0: mov edx, dword ptr [ebp - 0x30] */ 6007 eax = ecx + 0x4; /* 0x2B08F1D3: lea eax, [ecx + 4] */ 6008 MEM32(ebp + (-0x20)) = eax; /* 0x2B08F1D6: mov dword ptr [ebp - 0x20], eax */ 6009 MEM32(ebp + (-0x1C)) = eax; /* 0x2B08F1D9: mov dword ptr [ebp - 0x1c], eax */ 6010 eax = MEM32(ebp + (-0x10)); /* 0x2B08F1DC: mov eax, dword ptr [ebp - 0x10] */ 6011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6013 eax = eax - edx; /* 0x2B08F1DF: sub eax, edx */ 6014 _flag_k = FK_CMP; 6015 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B08F1E1: cdq */ 6016 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6018 eax = eax - edx; /* 0x2B08F1E2: sub eax, edx */ 6019 _flag_k = FK_CMP; 6020 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B08F1E4: sar eax, 1 */ 6021 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6022 eax = (uint32_t)((int32_t)eax >> 1u); 6023 PUSH32(esp, 0x50u); /* 0x2B08F1E6: push 0x50 */ 6024 MEM32(ebp + (-0x18)) = eax; /* 0x2B08F1E8: mov dword ptr [ebp - 0x18], eax */ 6025 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F1EB: call 0x2b0ab212 */ /* not lifted */ 6026 RECOMP_FLAGS_IN(); 6027 edi = eax; /* 0x2B08F1F0: mov edi, eax */ 6028 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6030 esp = esp + 4; /* 0x2B08F1F2: add esp, 4 */ 6031 _flag_k = FK_ADD; 6032 MEM32(ebp + (-0x38)) = edi; /* 0x2B08F1F5: mov dword ptr [ebp - 0x38], edi */ 6033 /* cmp edi, esi */ /* 0x2B08F1F8: cmp edi, esi */ 6034 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6036 _flag_k = FK_CMP; 6037 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B08F1FA: mov byte ptr [ebp - 4], 0xa */ 6038 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F22C; /* 0x2B08F1FE: je 0x2b08f22c */ 6039 L_2B08F200: 6040 edx = MEM32(ebx + 0x50); /* 0x2B08F200: mov edx, dword ptr [ebx + 0x50] */ 6041 eax = MEM32(ebp + (-0x18)); /* 0x2B08F203: mov eax, dword ptr [ebp - 0x18] */ 6042 ecx = MEM32(ebp + (-0x1C)); /* 0x2B08F206: mov ecx, dword ptr [ebp - 0x1c] */ 6043 PUSH32(esp, edx); /* 0x2B08F209: push edx */ 6044 edx = MEM32(ebx + 0x10); /* 0x2B08F20A: mov edx, dword ptr [ebx + 0x10] */ 6045 PUSH32(esp, esi); /* 0x2B08F20D: push esi */ 6046 PUSH32(esp, eax); /* 0x2B08F20E: push eax */ 6047 PUSH32(esp, ecx); /* 0x2B08F20F: push ecx */ 6048 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 6049 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6050 edx = edx + 2; /* 0x2B08F210: add edx, 2 */ 6051 _flag_k = FK_ADD; 6052 PUSH32(esp, edx); /* 0x2B08F213: push edx */ 6053 eax = ebp + (-0x50); /* 0x2B08F214: lea eax, [ebp - 0x50] */ 6054 PUSH32(esp, eax); /* 0x2B08F217: push eax */ 6055 PUSH32(esp, 1); /* 0x2B08F218: push 1 */ 6056 ecx = edi; /* 0x2B08F21A: mov ecx, edi */ 6057 RECOMP_ICALL(MEM32(0x2B0B59BC)); /* 0x2B08F21C: call dword ptr [0x2b0b59bc] */ 6058 RECOMP_FLAGS_IN(); 6059 MEM32(edi) = 0x2B0B6878u; /* 0x2B08F222: mov dword ptr [edi], 0x2b0b6878 */ 6060 ecx = edi; /* 0x2B08F228: mov ecx, edi */ 6061 goto L_2B08F22E; /* 0x2B08F22A: jmp 0x2b08f22e */ 6062 L_2B08F22C: 6063 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6064 ecx = 0; /* 0x2B08F22C: xor ecx, ecx */ 6065 _cf = 0; 6066 _flag_k = FK_TEST; 6067 L_2B08F22E: 6068 PUSH32(esp, 0x003CD2FFu); /* 0x2B08F22E: push 0x3cd2ff */ 6069 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F233: mov byte ptr [ebp - 4], 6 */ 6070 MEM32(ebx + 0x58) = ecx; /* 0x2B08F237: mov dword ptr [ebx + 0x58], ecx */ 6071 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B08F23A: call dword ptr [0x2b0b5858] */ 6072 RECOMP_FLAGS_IN(); 6073 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 6074 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08F240: or ecx, 0xffffffff */ 6075 _cf = 0; 6076 _flag_k = FK_TEST; 6077 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6078 eax = 0; /* 0x2B08F243: xor eax, eax */ 6079 _cf = 0; 6080 _flag_k = FK_TEST; 6081 edi = 0x2B0ED260u; /* 0x2B08F245: mov edi, 0x2b0ed260 */ 6082 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; } /* 0x2B08F24A: repne scasb al, byte ptr es:[edi] */ 6083 ecx = ~ecx; /* 0x2B08F24C: not ecx */ 6084 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6085 ecx = ecx - 1; /* 0x2B08F24E: dec ecx */ 6086 _flag_k = FK_DEC; 6087 edi = ecx; /* 0x2B08F24F: mov edi, ecx */ 6088 PUSH32(esp, 1); /* 0x2B08F251: push 1 */ 6089 PUSH32(esp, edi); /* 0x2B08F253: push edi */ 6090 ecx = ebp + (-0x50); /* 0x2B08F254: lea ecx, [ebp - 0x50] */ 6091 MEM32(ebp + (-0x38)) = edi; /* 0x2B08F257: mov dword ptr [ebp - 0x38], edi */ 6092 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08F25A: call dword ptr [0x2b0b5154] */ 6093 RECOMP_FLAGS_IN(); 6094 /* test LO8(eax), LO8(eax) */ /* 0x2B08F260: test al, al */ 6095 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6096 _cf = 0; 6097 _flag_k = FK_NARROW(FK_TEST, 24); 6098 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F28A; /* 0x2B08F262: je 0x2b08f28a */ 6099 L_2B08F264: 6100 ecx = edi; /* 0x2B08F264: mov ecx, edi */ 6101 edi = MEM32(ebp + (-0x4C)); /* 0x2B08F266: mov edi, dword ptr [ebp - 0x4c] */ 6102 edx = ecx; /* 0x2B08F269: mov edx, ecx */ 6103 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B08F26B: shr ecx, 2 */ 6104 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6105 ecx = ecx >> 2u; /* 0x2B08F26B: shr ecx, 2 */ 6106 esi = 0x2B0ED260u; /* 0x2B08F26E: mov esi, 0x2b0ed260 */ 6107 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08F273: 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; } 6108 ecx = edx; /* 0x2B08F275: mov ecx, edx */ 6109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6110 ecx = ecx & 3; /* 0x2B08F277: and ecx, 3 */ 6111 _cf = 0; 6112 _flag_k = FK_TEST; 6113 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B08F27A: 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; } 6114 ecx = MEM32(ebp + (-0x4C)); /* 0x2B08F27C: mov ecx, dword ptr [ebp - 0x4c] */ 6115 eax = edx; /* 0x2B08F27F: mov eax, edx */ 6116 MEM32(ebp + (-0x48)) = eax; /* 0x2B08F281: mov dword ptr [ebp - 0x48], eax */ 6117 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B08F284: mov byte ptr [ecx + eax], 0 */ 6118 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6119 esi = 0; /* 0x2B08F288: xor esi, esi */ 6120 _cf = 0; 6121 _flag_k = FK_TEST; 6122 L_2B08F28A: 6123 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F28A: push -1 */ 6124 PUSH32(esp, esi); /* 0x2B08F28C: push esi */ 6125 PUSH32(esp, 1); /* 0x2B08F28D: push 1 */ 6126 ecx = ebp + (-0x50); /* 0x2B08F28F: lea ecx, [ebp - 0x50] */ 6127 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B08F292: call dword ptr [0x2b0b59b8] */ 6128 RECOMP_FLAGS_IN(); 6129 edx = MEM32(ebp + (-0x2C)); /* 0x2B08F298: mov edx, dword ptr [ebp - 0x2c] */ 6130 ecx = MEM32(ebp + (-0x10)); /* 0x2B08F29B: mov ecx, dword ptr [ebp - 0x10] */ 6131 eax = eax + edx + 0x4; /* 0x2B08F29E: lea eax, [eax + edx + 4] */ 6132 MEM32(ebp + (-0x14)) = eax; /* 0x2B08F2A2: mov dword ptr [ebp - 0x14], eax */ 6133 eax = MEM32(ebp + (-0x30)); /* 0x2B08F2A5: mov eax, dword ptr [ebp - 0x30] */ 6134 /* cmp ecx, eax */ /* 0x2B08F2A8: cmp ecx, eax */ 6135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6137 _flag_k = FK_CMP; 6138 if (CMP_GE(_flag_a, _flag_b)) goto L_2B08F2B1; /* 0x2B08F2AA: jge 0x2b08f2b1 */ 6139 L_2B08F2AC: 6140 MEM32(ebp + (-0x10)) = eax; /* 0x2B08F2AC: mov dword ptr [ebp - 0x10], eax */ 6141 goto L_2B08F2B7; /* 0x2B08F2AF: jmp 0x2b08f2b7 */ 6142 L_2B08F2B1: 6143 ecx = MEM32(ebp + (-0x28)); /* 0x2B08F2B1: mov ecx, dword ptr [ebp - 0x28] */ 6144 MEM32(ebp + (-0x10)) = ecx; /* 0x2B08F2B4: mov dword ptr [ebp - 0x10], ecx */ 6145 L_2B08F2B7: 6146 PUSH32(esp, 0x50u); /* 0x2B08F2B7: push 0x50 */ 6147 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F2B9: call 0x2b0ab212 */ /* not lifted */ 6148 RECOMP_FLAGS_IN(); 6149 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6150 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6151 esp = esp + 4; /* 0x2B08F2BE: add esp, 4 */ 6152 _flag_k = FK_ADD; 6153 MEM32(ebp + (-0x38)) = eax; /* 0x2B08F2C1: mov dword ptr [ebp - 0x38], eax */ 6154 /* cmp eax, esi */ /* 0x2B08F2C4: cmp eax, esi */ 6155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 6156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6157 _flag_k = FK_CMP; 6158 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B08F2C6: mov byte ptr [ebp - 4], 0xb */ 6159 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F2F4; /* 0x2B08F2CA: je 0x2b08f2f4 */ 6160 L_2B08F2CC: 6161 edx = MEM32(ebx + 0x10); /* 0x2B08F2CC: mov edx, dword ptr [ebx + 0x10] */ 6162 PUSH32(esp, esi); /* 0x2B08F2CF: push esi */ 6163 PUSH32(esp, 0x3F800000u); /* 0x2B08F2D0: push 0x3f800000 */ 6164 PUSH32(esp, 0x3F800000u); /* 0x2B08F2D5: push 0x3f800000 */ 6165 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 6166 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6167 edx = edx + 2; /* 0x2B08F2DA: add edx, 2 */ 6168 _flag_k = FK_ADD; 6169 PUSH32(esp, edx); /* 0x2B08F2DD: push edx */ 6170 ecx = ebp + (-0x1C); /* 0x2B08F2DE: lea ecx, [ebp - 0x1c] */ 6171 PUSH32(esp, ecx); /* 0x2B08F2E1: push ecx */ 6172 edx = ebp + (-0x14); /* 0x2B08F2E2: lea edx, [ebp - 0x14] */ 6173 PUSH32(esp, edx); /* 0x2B08F2E5: push edx */ 6174 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F2E6: push -1 */ 6175 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F2E8: push -1 */ 6176 ecx = eax; /* 0x2B08F2EA: mov ecx, eax */ 6177 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B08F2EC: call dword ptr [0x2b0b5bd8] */ 6178 RECOMP_FLAGS_IN(); 6179 goto L_2B08F2F6; /* 0x2B08F2F2: jmp 0x2b08f2f6 */ 6180 L_2B08F2F4: 6181 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6182 eax = 0; /* 0x2B08F2F4: xor eax, eax */ 6183 _cf = 0; 6184 _flag_k = FK_TEST; 6185 L_2B08F2F6: 6186 PUSH32(esp, 1); /* 0x2B08F2F6: push 1 */ 6187 MEM32(ebx + 0x5C) = eax; /* 0x2B08F2F8: mov dword ptr [ebx + 0x5c], eax */ 6188 eax = MEM32(eax + 0x28); /* 0x2B08F2FB: mov eax, dword ptr [eax + 0x28] */ 6189 PUSH32(esp, esi); /* 0x2B08F2FE: push esi */ 6190 PUSH32(esp, esi); /* 0x2B08F2FF: push esi */ 6191 ecx = eax; /* 0x2B08F300: mov ecx, eax */ 6192 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F302: mov byte ptr [ebp - 4], 6 */ 6193 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B08F306: call dword ptr [0x2b0b564c] */ 6194 RECOMP_FLAGS_IN(); 6195 PUSH32(esp, 0xBCu); /* 0x2B08F30C: push 0xbc */ 6196 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F311: call 0x2b0ab212 */ /* not lifted */ 6197 RECOMP_FLAGS_IN(); 6198 edi = eax; /* 0x2B08F316: mov edi, eax */ 6199 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6201 esp = esp + 4; /* 0x2B08F318: add esp, 4 */ 6202 _flag_k = FK_ADD; 6203 MEM32(ebp + (-0x38)) = edi; /* 0x2B08F31B: mov dword ptr [ebp - 0x38], edi */ 6204 /* cmp edi, esi */ /* 0x2B08F31E: cmp edi, esi */ 6205 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6207 _flag_k = FK_CMP; 6208 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B08F320: mov byte ptr [ebp - 4], 0xc */ 6209 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F343; /* 0x2B08F324: je 0x2b08f343 */ 6210 L_2B08F326: 6211 eax = MEM32(ebx + 0x5C); /* 0x2B08F326: mov eax, dword ptr [ebx + 0x5c] */ 6212 PUSH32(esp, eax); /* 0x2B08F329: push eax */ 6213 ecx = ebp + (-0x90); /* 0x2B08F32A: lea ecx, [ebp - 0x90] */ 6214 PUSH32(esp, ecx); /* 0x2B08F330: push ecx */ 6215 ecx = edi; /* 0x2B08F331: mov ecx, edi */ 6216 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B08F333: call dword ptr [0x2b0b5afc] */ 6217 RECOMP_FLAGS_IN(); 6218 MEM32(edi) = 0x2B0B645Cu; /* 0x2B08F339: mov dword ptr [edi], 0x2b0b645c */ 6219 ecx = edi; /* 0x2B08F33F: mov ecx, edi */ 6220 goto L_2B08F345; /* 0x2B08F341: jmp 0x2b08f345 */ 6221 L_2B08F343: 6222 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6223 ecx = 0; /* 0x2B08F343: xor ecx, ecx */ 6224 _cf = 0; 6225 _flag_k = FK_TEST; 6226 L_2B08F345: 6227 eax = MEM32(ebp + (-0x10)); /* 0x2B08F345: mov eax, dword ptr [ebp - 0x10] */ 6228 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x28))); 6229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6230 eax = eax - MEM32(ebp + (-0x28)); /* 0x2B08F348: sub eax, dword ptr [ebp - 0x28] */ 6231 _flag_k = FK_CMP; 6232 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B08F34B: cdq */ 6233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6235 eax = eax - edx; /* 0x2B08F34C: sub eax, edx */ 6236 _flag_k = FK_CMP; 6237 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B08F34E: sar eax, 1 */ 6238 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6239 eax = (uint32_t)((int32_t)eax >> 1u); 6240 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6241 edi = 0; /* 0x2B08F350: xor edi, edi */ 6242 _cf = 0; 6243 _flag_k = FK_TEST; 6244 PUSH32(esp, eax); /* 0x2B08F352: push eax */ 6245 PUSH32(esp, edi); /* 0x2B08F353: push edi */ 6246 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F354: mov byte ptr [ebp - 4], 6 */ 6247 MEM32(ebx + 0x60) = ecx; /* 0x2B08F358: mov dword ptr [ebx + 0x60], ecx */ 6248 MEM32(ebp + (-0x1C)) = edi; /* 0x2B08F35B: mov dword ptr [ebp - 0x1c], edi */ 6249 MEM32(ebp + (-0x18)) = eax; /* 0x2B08F35E: mov dword ptr [ebp - 0x18], eax */ 6250 RECOMP_ICALL(MEM32(0x2B0B5A4C)); /* 0x2B08F361: call dword ptr [0x2b0b5a4c] */ 6251 RECOMP_FLAGS_IN(); 6252 edx = MEM32(ebp + (-0x20)); /* 0x2B08F367: mov edx, dword ptr [ebp - 0x20] */ 6253 eax = MEM32(ebp + (-0x10)); /* 0x2B08F36A: mov eax, dword ptr [ebp - 0x10] */ 6254 MEM32(ebp + (-0x1C)) = edx; /* 0x2B08F36D: mov dword ptr [ebp - 0x1c], edx */ 6255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x30))); 6256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6257 eax = eax - MEM32(ebp + (-0x30)); /* 0x2B08F370: sub eax, dword ptr [ebp - 0x30] */ 6258 _flag_k = FK_CMP; 6259 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B08F373: cdq */ 6260 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6262 eax = eax - edx; /* 0x2B08F374: sub eax, edx */ 6263 _flag_k = FK_CMP; 6264 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B08F376: sar eax, 1 */ 6265 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6266 eax = (uint32_t)((int32_t)eax >> 1u); 6267 PUSH32(esp, 0x50u); /* 0x2B08F378: push 0x50 */ 6268 MEM32(ebp + (-0x18)) = eax; /* 0x2B08F37A: mov dword ptr [ebp - 0x18], eax */ 6269 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F37D: call 0x2b0ab212 */ /* not lifted */ 6270 RECOMP_FLAGS_IN(); 6271 edi = eax; /* 0x2B08F382: mov edi, eax */ 6272 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6273 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6274 esp = esp + 4; /* 0x2B08F384: add esp, 4 */ 6275 _flag_k = FK_ADD; 6276 MEM32(ebp + (-0x20)) = edi; /* 0x2B08F387: mov dword ptr [ebp - 0x20], edi */ 6277 /* cmp edi, esi */ /* 0x2B08F38A: cmp edi, esi */ 6278 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6280 _flag_k = FK_CMP; 6281 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B08F38C: mov byte ptr [ebp - 4], 0xd */ 6282 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F3BE; /* 0x2B08F390: je 0x2b08f3be */ 6283 L_2B08F392: 6284 eax = MEM32(ebx + 0x5C); /* 0x2B08F392: mov eax, dword ptr [ebx + 0x5c] */ 6285 ecx = MEM32(ebp + (-0x18)); /* 0x2B08F395: mov ecx, dword ptr [ebp - 0x18] */ 6286 edx = MEM32(ebp + (-0x1C)); /* 0x2B08F398: mov edx, dword ptr [ebp - 0x1c] */ 6287 PUSH32(esp, eax); /* 0x2B08F39B: push eax */ 6288 eax = MEM32(ebx + 0x10); /* 0x2B08F39C: mov eax, dword ptr [ebx + 0x10] */ 6289 PUSH32(esp, esi); /* 0x2B08F39F: push esi */ 6290 PUSH32(esp, ecx); /* 0x2B08F3A0: push ecx */ 6291 PUSH32(esp, edx); /* 0x2B08F3A1: push edx */ 6292 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 6293 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6294 eax = eax + 2; /* 0x2B08F3A2: add eax, 2 */ 6295 _flag_k = FK_ADD; 6296 PUSH32(esp, eax); /* 0x2B08F3A5: push eax */ 6297 ecx = ebp + (-0x50); /* 0x2B08F3A6: lea ecx, [ebp - 0x50] */ 6298 PUSH32(esp, ecx); /* 0x2B08F3A9: push ecx */ 6299 PUSH32(esp, 1); /* 0x2B08F3AA: push 1 */ 6300 ecx = edi; /* 0x2B08F3AC: mov ecx, edi */ 6301 RECOMP_ICALL(MEM32(0x2B0B59BC)); /* 0x2B08F3AE: call dword ptr [0x2b0b59bc] */ 6302 RECOMP_FLAGS_IN(); 6303 MEM32(edi) = 0x2B0B6878u; /* 0x2B08F3B4: mov dword ptr [edi], 0x2b0b6878 */ 6304 ecx = edi; /* 0x2B08F3BA: mov ecx, edi */ 6305 goto L_2B08F3C0; /* 0x2B08F3BC: jmp 0x2b08f3c0 */ 6306 L_2B08F3BE: 6307 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6308 ecx = 0; /* 0x2B08F3BE: xor ecx, ecx */ 6309 _cf = 0; 6310 _flag_k = FK_TEST; 6311 L_2B08F3C0: 6312 PUSH32(esp, 0x003CD2FFu); /* 0x2B08F3C0: push 0x3cd2ff */ 6313 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F3C5: mov byte ptr [ebp - 4], 6 */ 6314 MEM32(ebx + 0x64) = ecx; /* 0x2B08F3C9: mov dword ptr [ebx + 0x64], ecx */ 6315 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B08F3CC: call dword ptr [0x2b0b5858] */ 6316 RECOMP_FLAGS_IN(); 6317 MEM32(ebp + (-0x90)) = esi; /* 0x2B08F3D2: mov dword ptr [ebp - 0x90], esi */ 6318 PUSH32(esp, 2); /* 0x2B08F3D8: push 2 */ 6319 MEM32(ebp + (-0x70)) = 0xEDu; /* 0x2B08F3DA: mov dword ptr [ebp - 0x70], 0xed */ 6320 MEM32(ebp + (-0x6C)) = 0xEEu; /* 0x2B08F3E1: mov dword ptr [ebp - 0x6c], 0xee */ 6321 ecx = 0xCu; /* 0x2B08F3E8: mov ecx, 0xc */ 6322 esi = ebp + (-0x90); /* 0x2B08F3ED: lea esi, [ebp - 0x90] */ 6323 edi = ebp + (-0xE0); /* 0x2B08F3F3: lea edi, [ebp - 0xe0] */ 6324 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08F3F9: 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; } 6325 esi = MEM32(0x2B0B5F80); /* 0x2B08F3FB: mov esi, dword ptr [0x2b0b5f80] */ 6326 edx = ebp + (-0x2C); /* 0x2B08F401: lea edx, [ebp - 0x2c] */ 6327 PUSH32(esp, 0xEDu); /* 0x2B08F404: push 0xed */ 6328 PUSH32(esp, edx); /* 0x2B08F409: push edx */ 6329 MEM32(ebp + (-0xC0)) = 0xEFu; /* 0x2B08F40A: mov dword ptr [ebp - 0xc0], 0xef */ 6330 MEM32(ebp + (-0xBC)) = 0xF0u; /* 0x2B08F414: mov dword ptr [ebp - 0xbc], 0xf0 */ 6331 RECOMP_ICALL(esi); /* 0x2B08F41E: call esi */ 6332 RECOMP_FLAGS_IN(); 6333 edi = MEM32(0x2B0B5F7C); /* 0x2B08F420: mov edi, dword ptr [0x2b0b5f7c] */ 6334 ecx = eax; /* 0x2B08F426: mov ecx, eax */ 6335 RECOMP_ICALL(edi); /* 0x2B08F428: call edi */ 6336 RECOMP_FLAGS_IN(); 6337 ecx = MEM32(eax); /* 0x2B08F42A: mov ecx, dword ptr [eax] */ 6338 MEM32(ebp + (-0x14)) = ecx; /* 0x2B08F42C: mov dword ptr [ebp - 0x14], ecx */ 6339 edx = MEM32(eax + 0x4); /* 0x2B08F42F: mov edx, dword ptr [eax + 4] */ 6340 eax = MEM32(ebp + (-0xC0)); /* 0x2B08F432: mov eax, dword ptr [ebp - 0xc0] */ 6341 PUSH32(esp, 2); /* 0x2B08F438: push 2 */ 6342 PUSH32(esp, eax); /* 0x2B08F43A: push eax */ 6343 ecx = ebp + (-0x2C); /* 0x2B08F43B: lea ecx, [ebp - 0x2c] */ 6344 PUSH32(esp, ecx); /* 0x2B08F43E: push ecx */ 6345 MEM32(ebp + (-0x10)) = edx; /* 0x2B08F43F: mov dword ptr [ebp - 0x10], edx */ 6346 RECOMP_ICALL(esi); /* 0x2B08F442: call esi */ 6347 RECOMP_FLAGS_IN(); 6348 ecx = eax; /* 0x2B08F444: mov ecx, eax */ 6349 RECOMP_ICALL(edi); /* 0x2B08F446: call edi */ 6350 RECOMP_FLAGS_IN(); 6351 edx = eax; /* 0x2B08F448: mov edx, eax */ 6352 eax = MEM32(edx); /* 0x2B08F44A: mov eax, dword ptr [edx] */ 6353 ecx = MEM32(edx + 0x4); /* 0x2B08F44C: mov ecx, dword ptr [edx + 4] */ 6354 edx = MEM32(ebp + (-0xD0)); /* 0x2B08F44F: mov edx, dword ptr [ebp - 0xd0] */ 6355 MEM32(ebp + (-0x28)) = ecx; /* 0x2B08F455: mov dword ptr [ebp - 0x28], ecx */ 6356 ecx = MEM32(ebp + (-0x14)); /* 0x2B08F458: mov ecx, dword ptr [ebp - 0x14] */ 6357 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 6358 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6359 edx = edx + ecx; /* 0x2B08F45B: add edx, ecx */ 6360 _flag_k = FK_ADD; 6361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 6362 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6363 ecx = ecx + eax; /* 0x2B08F45D: add ecx, eax */ 6364 _flag_k = FK_ADD; 6365 PUSH32(esp, 0x50u); /* 0x2B08F45F: push 0x50 */ 6366 MEM32(ebp + (-0xD0)) = edx; /* 0x2B08F461: mov dword ptr [ebp - 0xd0], edx */ 6367 MEM32(ebp + (-0x14)) = ecx; /* 0x2B08F467: mov dword ptr [ebp - 0x14], ecx */ 6368 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F46A: call 0x2b0ab212 */ /* not lifted */ 6369 RECOMP_FLAGS_IN(); 6370 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6371 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6372 esp = esp + 4; /* 0x2B08F46F: add esp, 4 */ 6373 _flag_k = FK_ADD; 6374 MEM32(ebp + (-0x20)) = eax; /* 0x2B08F472: mov dword ptr [ebp - 0x20], eax */ 6375 /* test eax, eax */ /* 0x2B08F475: test eax, eax */ 6376 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6377 _cf = 0; 6378 _flag_k = FK_TEST; 6379 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B08F477: mov byte ptr [ebp - 4], 0xe */ 6380 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F4A6; /* 0x2B08F47B: je 0x2b08f4a6 */ 6381 L_2B08F47D: 6382 edx = MEM32(ebx + 0x10); /* 0x2B08F47D: mov edx, dword ptr [ebx + 0x10] */ 6383 PUSH32(esp, 0); /* 0x2B08F480: push 0 */ 6384 PUSH32(esp, 0x3F800000u); /* 0x2B08F482: push 0x3f800000 */ 6385 PUSH32(esp, 0x3F800000u); /* 0x2B08F487: push 0x3f800000 */ 6386 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(3); 6387 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6388 edx = edx + 3; /* 0x2B08F48C: add edx, 3 */ 6389 _flag_k = FK_ADD; 6390 PUSH32(esp, edx); /* 0x2B08F48F: push edx */ 6391 ecx = ebp + (-0x1C); /* 0x2B08F490: lea ecx, [ebp - 0x1c] */ 6392 PUSH32(esp, ecx); /* 0x2B08F493: push ecx */ 6393 edx = ebp + (-0x14); /* 0x2B08F494: lea edx, [ebp - 0x14] */ 6394 PUSH32(esp, edx); /* 0x2B08F497: push edx */ 6395 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F498: push -1 */ 6396 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F49A: push -1 */ 6397 ecx = eax; /* 0x2B08F49C: mov ecx, eax */ 6398 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B08F49E: call dword ptr [0x2b0b5bd8] */ 6399 RECOMP_FLAGS_IN(); 6400 goto L_2B08F4A8; /* 0x2B08F4A4: jmp 0x2b08f4a8 */ 6401 L_2B08F4A6: 6402 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6403 eax = 0; /* 0x2B08F4A6: xor eax, eax */ 6404 _cf = 0; 6405 _flag_k = FK_TEST; 6406 L_2B08F4A8: 6407 PUSH32(esp, 1); /* 0x2B08F4A8: push 1 */ 6408 MEM32(ebx + 0x74) = eax; /* 0x2B08F4AA: mov dword ptr [ebx + 0x74], eax */ 6409 eax = MEM32(eax + 0x28); /* 0x2B08F4AD: mov eax, dword ptr [eax + 0x28] */ 6410 PUSH32(esp, 0); /* 0x2B08F4B0: push 0 */ 6411 PUSH32(esp, 0); /* 0x2B08F4B2: push 0 */ 6412 ecx = eax; /* 0x2B08F4B4: mov ecx, eax */ 6413 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F4B6: mov byte ptr [ebp - 4], 6 */ 6414 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B08F4BA: call dword ptr [0x2b0b564c] */ 6415 RECOMP_FLAGS_IN(); 6416 ecx = MEM32(ebx + 0x74); /* 0x2B08F4C0: mov ecx, dword ptr [ebx + 0x74] */ 6417 RECOMP_ICALL(MEM32(0x2B0B5BDC)); /* 0x2B08F4C3: call dword ptr [0x2b0b5bdc] */ 6418 RECOMP_FLAGS_IN(); 6419 PUSH32(esp, 0xBCu); /* 0x2B08F4C9: push 0xbc */ 6420 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F4CE: call 0x2b0ab212 */ /* not lifted */ 6421 RECOMP_FLAGS_IN(); 6422 esi = eax; /* 0x2B08F4D3: mov esi, eax */ 6423 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6424 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6425 esp = esp + 4; /* 0x2B08F4D5: add esp, 4 */ 6426 _flag_k = FK_ADD; 6427 MEM32(ebp + (-0x20)) = esi; /* 0x2B08F4D8: mov dword ptr [ebp - 0x20], esi */ 6428 /* test esi, esi */ /* 0x2B08F4DB: test esi, esi */ 6429 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 6430 _cf = 0; 6431 _flag_k = FK_TEST; 6432 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B08F4DD: mov byte ptr [ebp - 4], 0xf */ 6433 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F4FE; /* 0x2B08F4E1: je 0x2b08f4fe */ 6434 L_2B08F4E3: 6435 eax = MEM32(ebx + 0x74); /* 0x2B08F4E3: mov eax, dword ptr [ebx + 0x74] */ 6436 PUSH32(esp, eax); /* 0x2B08F4E6: push eax */ 6437 ecx = ebp + (-0x90); /* 0x2B08F4E7: lea ecx, [ebp - 0x90] */ 6438 PUSH32(esp, ecx); /* 0x2B08F4ED: push ecx */ 6439 ecx = esi; /* 0x2B08F4EE: mov ecx, esi */ 6440 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B08F4F0: call dword ptr [0x2b0b5afc] */ 6441 RECOMP_FLAGS_IN(); 6442 MEM32(esi) = 0x2B0B645Cu; /* 0x2B08F4F6: mov dword ptr [esi], 0x2b0b645c */ 6443 goto L_2B08F500; /* 0x2B08F4FC: jmp 0x2b08f500 */ 6444 L_2B08F4FE: 6445 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6446 esi = 0; /* 0x2B08F4FE: xor esi, esi */ 6447 _cf = 0; 6448 _flag_k = FK_TEST; 6449 L_2B08F500: 6450 edi = MEM32(0x2B0B5AF8); /* 0x2B08F500: mov edi, dword ptr [0x2b0b5af8] */ 6451 PUSH32(esp, ebx); /* 0x2B08F506: push ebx */ 6452 PUSH32(esp, 0x2B0906F0u); /* 0x2B08F507: push 0x2b0906f0 */ 6453 ecx = esi; /* 0x2B08F50C: mov ecx, esi */ 6454 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F50E: mov byte ptr [ebp - 4], 6 */ 6455 MEM32(ebx + 0x78) = esi; /* 0x2B08F512: mov dword ptr [ebx + 0x78], esi */ 6456 RECOMP_ICALL(edi); /* 0x2B08F515: call edi */ 6457 RECOMP_FLAGS_IN(); 6458 ecx = MEM32(ebx + 0x78); /* 0x2B08F517: mov ecx, dword ptr [ebx + 0x78] */ 6459 PUSH32(esp, 0x2B0ED240u); /* 0x2B08F51A: push 0x2b0ed240 */ 6460 RECOMP_ICALL(MEM32(0x2B0B5810)); /* 0x2B08F51F: call dword ptr [0x2b0b5810] */ 6461 RECOMP_FLAGS_IN(); 6462 PUSH32(esp, 0xBCu); /* 0x2B08F525: push 0xbc */ 6463 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F52A: call 0x2b0ab212 */ /* not lifted */ 6464 RECOMP_FLAGS_IN(); 6465 esi = eax; /* 0x2B08F52F: mov esi, eax */ 6466 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6467 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6468 esp = esp + 4; /* 0x2B08F531: add esp, 4 */ 6469 _flag_k = FK_ADD; 6470 MEM32(ebp + (-0x20)) = esi; /* 0x2B08F534: mov dword ptr [ebp - 0x20], esi */ 6471 /* test esi, esi */ /* 0x2B08F537: test esi, esi */ 6472 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 6473 _cf = 0; 6474 _flag_k = FK_TEST; 6475 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B08F539: mov byte ptr [ebp - 4], 0x10 */ 6476 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F55A; /* 0x2B08F53D: je 0x2b08f55a */ 6477 L_2B08F53F: 6478 edx = MEM32(ebx + 0x74); /* 0x2B08F53F: mov edx, dword ptr [ebx + 0x74] */ 6479 PUSH32(esp, edx); /* 0x2B08F542: push edx */ 6480 eax = ebp + (-0xE0); /* 0x2B08F543: lea eax, [ebp - 0xe0] */ 6481 PUSH32(esp, eax); /* 0x2B08F549: push eax */ 6482 ecx = esi; /* 0x2B08F54A: mov ecx, esi */ 6483 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B08F54C: call dword ptr [0x2b0b5afc] */ 6484 RECOMP_FLAGS_IN(); 6485 MEM32(esi) = 0x2B0B645Cu; /* 0x2B08F552: mov dword ptr [esi], 0x2b0b645c */ 6486 goto L_2B08F55C; /* 0x2B08F558: jmp 0x2b08f55c */ 6487 L_2B08F55A: 6488 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6489 esi = 0; /* 0x2B08F55A: xor esi, esi */ 6490 _cf = 0; 6491 _flag_k = FK_TEST; 6492 L_2B08F55C: 6493 PUSH32(esp, ebx); /* 0x2B08F55C: push ebx */ 6494 PUSH32(esp, 0x2B090710u); /* 0x2B08F55D: push 0x2b090710 */ 6495 ecx = esi; /* 0x2B08F562: mov ecx, esi */ 6496 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F564: mov byte ptr [ebp - 4], 6 */ 6497 MEM32(ebx + 0x7C) = esi; /* 0x2B08F568: mov dword ptr [ebx + 0x7c], esi */ 6498 RECOMP_ICALL(edi); /* 0x2B08F56B: call edi */ 6499 RECOMP_FLAGS_IN(); 6500 ecx = MEM32(ebx + 0x7C); /* 0x2B08F56D: mov ecx, dword ptr [ebx + 0x7c] */ 6501 PUSH32(esp, 0x2B0ED224u); /* 0x2B08F570: push 0x2b0ed224 */ 6502 RECOMP_ICALL(MEM32(0x2B0B5810)); /* 0x2B08F575: call dword ptr [0x2b0b5810] */ 6503 RECOMP_FLAGS_IN(); 6504 PUSH32(esp, 0xB4u); /* 0x2B08F57B: push 0xb4 */ 6505 RECOMP_ICALL(0x2B0AB212u); /* 0x2B08F580: call 0x2b0ab212 */ /* not lifted */ 6506 RECOMP_FLAGS_IN(); 6507 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6508 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6509 esp = esp + 4; /* 0x2B08F585: add esp, 4 */ 6510 _flag_k = FK_ADD; 6511 MEM32(ebp + (-0x20)) = eax; /* 0x2B08F588: mov dword ptr [ebp - 0x20], eax */ 6512 /* test eax, eax */ /* 0x2B08F58B: test eax, eax */ 6513 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6514 _cf = 0; 6515 _flag_k = FK_TEST; 6516 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B08F58D: mov byte ptr [ebp - 4], 0x11 */ 6517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F5BF; /* 0x2B08F591: je 0x2b08f5bf */ 6518 L_2B08F593: 6519 PUSH32(esp, 0); /* 0x2B08F593: push 0 */ 6520 PUSH32(esp, 0); /* 0x2B08F595: push 0 */ 6521 PUSH32(esp, 0); /* 0x2B08F597: push 0 */ 6522 PUSH32(esp, 0); /* 0x2B08F599: push 0 */ 6523 ecx = 0x40u; /* 0x2B08F59B: mov ecx, 0x40 */ 6524 MEM32(ebp + (-0x3C)) = ecx; /* 0x2B08F5A0: mov dword ptr [ebp - 0x3c], ecx */ 6525 MEM32(ebp + (-0x38)) = ecx; /* 0x2B08F5A3: mov dword ptr [ebp - 0x38], ecx */ 6526 ecx = MEM32(ebx + 0x10); /* 0x2B08F5A6: mov ecx, dword ptr [ebx + 0x10] */ 6527 PUSH32(esp, 0); /* 0x2B08F5A9: push 0 */ 6528 PUSH32(esp, 0); /* 0x2B08F5AB: push 0 */ 6529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 6530 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6531 ecx = ecx + 2; /* 0x2B08F5AD: add ecx, 2 */ 6532 _flag_k = FK_ADD; 6533 PUSH32(esp, ecx); /* 0x2B08F5B0: push ecx */ 6534 edx = ebp + (-0x3C); /* 0x2B08F5B1: lea edx, [ebp - 0x3c] */ 6535 PUSH32(esp, edx); /* 0x2B08F5B4: push edx */ 6536 ecx = eax; /* 0x2B08F5B5: mov ecx, eax */ 6537 RECOMP_ICALL(MEM32(0x2B0B5A04)); /* 0x2B08F5B7: call dword ptr [0x2b0b5a04] */ 6538 RECOMP_FLAGS_IN(); 6539 goto L_2B08F5C1; /* 0x2B08F5BD: jmp 0x2b08f5c1 */ 6540 L_2B08F5BF: 6541 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6542 eax = 0; /* 0x2B08F5BF: xor eax, eax */ 6543 _cf = 0; 6544 _flag_k = FK_TEST; 6545 L_2B08F5C1: 6546 PUSH32(esp, 0x0066CCFFu); /* 0x2B08F5C1: push 0x66ccff */ 6547 ecx = eax; /* 0x2B08F5C6: mov ecx, eax */ 6548 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08F5C8: mov byte ptr [ebp - 4], 6 */ 6549 MEM32(ebx + 0x70) = eax; /* 0x2B08F5CC: mov dword ptr [ebx + 0x70], eax */ 6550 RECOMP_ICALL(MEM32(0x2B0B57E0)); /* 0x2B08F5CF: call dword ptr [0x2b0b57e0] */ 6551 RECOMP_FLAGS_IN(); 6552 eax = MEM32(ebx + 0x70); /* 0x2B08F5D5: mov eax, dword ptr [ebx + 0x70] */ 6553 MEM32(eax + 0x2C) = 0x2B090690u; /* 0x2B08F5D8: mov dword ptr [eax + 0x2c], 0x2b090690 */ 6554 MEM32(eax + 0x30) = ebx; /* 0x2B08F5DF: mov dword ptr [eax + 0x30], ebx */ 6555 eax = MEM32(ebx + 0x50); /* 0x2B08F5E2: mov eax, dword ptr [ebx + 0x50] */ 6556 edx = MEM32(eax + 0x34); /* 0x2B08F5E5: mov edx, dword ptr [eax + 0x34] */ 6557 ecx = MEM32(ebx + 0x40); /* 0x2B08F5E8: mov ecx, dword ptr [ebx + 0x40] */ 6558 eax = MEM32(ecx + 0x34); /* 0x2B08F5EB: mov eax, dword ptr [ecx + 0x34] */ 6559 eax = edx + eax + 0x28; /* 0x2B08F5EE: lea eax, [edx + eax + 0x28] */ 6560 edx = MEM32(ebx + 0x38); /* 0x2B08F5F2: mov edx, dword ptr [ebx + 0x38] */ 6561 edx = MEM32(edx + 0x3C); /* 0x2B08F5F5: mov edx, dword ptr [edx + 0x3c] */ 6562 MEM32(edx + 0x6C) = eax; /* 0x2B08F5F8: mov dword ptr [edx + 0x6c], eax */ 6563 ecx = 0x96u; /* 0x2B08F5FB: mov ecx, 0x96 */ 6564 MEM32(edx + 0x70) = ecx; /* 0x2B08F600: mov dword ptr [edx + 0x70], ecx */ 6565 eax = ebp + (-0x58); /* 0x2B08F603: lea eax, [ebp - 0x58] */ 6566 PUSH32(esp, eax); /* 0x2B08F606: push eax */ 6567 ecx = ebx; /* 0x2B08F607: mov ecx, ebx */ 6568 MEM32(ebp + (-0x58)) = 0x190u; /* 0x2B08F609: mov dword ptr [ebp - 0x58], 0x190 */ 6569 MEM32(ebp + (-0x54)) = 0x12Cu; /* 0x2B08F610: mov dword ptr [ebp - 0x54], 0x12c */ 6570 RECOMP_ICALL(0x2B090210u); /* 0x2B08F617: call 0x2b090210 */ /* not lifted */ 6571 RECOMP_FLAGS_IN(); 6572 esi = MEM32(0x2B0B5690); /* 0x2B08F61C: mov esi, dword ptr [0x2b0b5690] */ 6573 RECOMP_ICALL(esi); /* 0x2B08F622: call esi */ 6574 RECOMP_FLAGS_IN(); 6575 ecx = eax; /* 0x2B08F624: mov ecx, eax */ 6576 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B08F626: call dword ptr [0x2b0b5688] */ 6577 RECOMP_FLAGS_IN(); 6578 edi = eax; /* 0x2B08F62C: mov edi, eax */ 6579 RECOMP_ICALL(esi); /* 0x2B08F62E: call esi */ 6580 RECOMP_FLAGS_IN(); 6581 ecx = eax; /* 0x2B08F630: mov ecx, eax */ 6582 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B08F632: call dword ptr [0x2b0b568c] */ 6583 RECOMP_FLAGS_IN(); 6584 ecx = eax; /* 0x2B08F638: mov ecx, eax */ 6585 eax = edi; /* 0x2B08F63A: mov eax, edi */ 6586 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x58))); 6587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6588 eax = eax - MEM32(ebp + (-0x58)); /* 0x2B08F63C: sub eax, dword ptr [ebp - 0x58] */ 6589 _flag_k = FK_CMP; 6590 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B08F63F: cdq */ 6591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6593 eax = eax - edx; /* 0x2B08F640: sub eax, edx */ 6594 _flag_k = FK_CMP; 6595 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B08F642: sar eax, 1 */ 6596 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6597 eax = (uint32_t)((int32_t)eax >> 1u); 6598 MEM32(ebp + (-0x60)) = eax; /* 0x2B08F644: mov dword ptr [ebp - 0x60], eax */ 6599 eax = ecx; /* 0x2B08F647: mov eax, ecx */ 6600 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x54))); 6601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6602 eax = eax - MEM32(ebp + (-0x54)); /* 0x2B08F649: sub eax, dword ptr [ebp - 0x54] */ 6603 _flag_k = FK_CMP; 6604 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B08F64C: cdq */ 6605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 6606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6607 eax = eax - edx; /* 0x2B08F64D: sub eax, edx */ 6608 _flag_k = FK_CMP; 6609 ecx = ebp + (-0x60); /* 0x2B08F64F: lea ecx, [ebp - 0x60] */ 6610 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B08F652: sar eax, 1 */ 6611 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6612 eax = (uint32_t)((int32_t)eax >> 1u); 6613 PUSH32(esp, ecx); /* 0x2B08F654: push ecx */ 6614 ecx = ebx; /* 0x2B08F655: mov ecx, ebx */ 6615 MEM32(ebp + (-0x5C)) = eax; /* 0x2B08F657: mov dword ptr [ebp - 0x5c], eax */ 6616 RECOMP_ICALL(0x2B0900A0u); /* 0x2B08F65A: call 0x2b0900a0 */ /* not lifted */ 6617 RECOMP_FLAGS_IN(); 6618 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6619 edi = 0; /* 0x2B08F65F: xor edi, edi */ 6620 _cf = 0; 6621 _flag_k = FK_TEST; 6622 PUSH32(esp, edi); /* 0x2B08F661: push edi */ 6623 ecx = ebx; /* 0x2B08F662: mov ecx, ebx */ 6624 RECOMP_ICALL(0x2B090730u); /* 0x2B08F664: call 0x2b090730 */ /* not lifted */ 6625 RECOMP_FLAGS_IN(); 6626 esi = MEM32(ebp + (-0x40)); /* 0x2B08F669: mov esi, dword ptr [ebp - 0x40] */ 6627 /* cmp esi, edi */ /* 0x2B08F66C: cmp esi, edi */ 6628 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6630 _flag_k = FK_CMP; 6631 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F6E4; /* 0x2B08F66E: je 0x2b08f6e4 */ 6632 L_2B08F670: 6633 edx = MEM32(esi + 0x2C); /* 0x2B08F670: mov edx, dword ptr [esi + 0x2c] */ 6634 eax = esi + 0x2C; /* 0x2B08F673: lea eax, [esi + 0x2c] */ 6635 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6636 edx = edx - 1; /* 0x2B08F676: dec edx */ 6637 _flag_k = FK_DEC; 6638 ecx = edx; /* 0x2B08F677: mov ecx, edx */ 6639 /* cmp ecx, edi */ /* 0x2B08F679: cmp ecx, edi */ 6640 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6642 _flag_k = FK_CMP; 6643 MEM32(eax) = edx; /* 0x2B08F67B: mov dword ptr [eax], edx */ 6644 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08F6E4; /* 0x2B08F67D: jne 0x2b08f6e4 */ 6645 L_2B08F67F: 6646 /* cmp esi, edi */ /* 0x2B08F67F: cmp esi, edi */ 6647 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6649 _flag_k = FK_CMP; 6650 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F6E4; /* 0x2B08F681: je 0x2b08f6e4 */ 6651 L_2B08F683: 6652 eax = MEM32(esi + 0x20); /* 0x2B08F683: mov eax, dword ptr [esi + 0x20] */ 6653 /* cmp eax, edi */ /* 0x2B08F686: cmp eax, edi */ 6654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6656 _flag_k = FK_CMP; 6657 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F6A6; /* 0x2B08F688: je 0x2b08f6a6 */ 6658 L_2B08F68A: 6659 ecx = eax + (-0x1); /* 0x2B08F68A: lea ecx, [eax - 1] */ 6660 SET_LO8(eax, MEM8(ecx)); /* 0x2B08F68D: mov al, byte ptr [ecx] */ 6661 /* test LO8(eax), LO8(eax) */ /* 0x2B08F68F: test al, al */ 6662 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6663 _cf = 0; 6664 _flag_k = FK_NARROW(FK_TEST, 24); 6665 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F69D; /* 0x2B08F691: je 0x2b08f69d */ 6666 L_2B08F693: 6667 /* cmp LO8(eax), 0xFFu */ /* 0x2B08F693: cmp al, 0xff */ 6668 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6670 _flag_k = FK_NARROW(FK_CMP, 24); 6671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F69D; /* 0x2B08F695: je 0x2b08f69d */ 6672 L_2B08F697: 6673 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6674 SET_LO8(eax, LO8(eax) - 1); /* 0x2B08F697: dec al */ 6675 _flag_k = FK_NARROW(FK_DEC, 24); 6676 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B08F699: mov byte ptr [ecx], al */ 6677 goto L_2B08F6A6; /* 0x2B08F69B: jmp 0x2b08f6a6 */ 6678 L_2B08F69D: 6679 PUSH32(esp, ecx); /* 0x2B08F69D: push ecx */ 6680 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F69E: call 0x2b0ab1ba */ /* not lifted */ 6681 RECOMP_FLAGS_IN(); 6682 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6683 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6684 esp = esp + 4; /* 0x2B08F6A3: add esp, 4 */ 6685 _flag_k = FK_ADD; 6686 L_2B08F6A6: 6687 MEM32(esi + 0x20) = edi; /* 0x2B08F6A6: mov dword ptr [esi + 0x20], edi */ 6688 MEM32(esi + 0x24) = edi; /* 0x2B08F6A9: mov dword ptr [esi + 0x24], edi */ 6689 MEM32(esi + 0x28) = edi; /* 0x2B08F6AC: mov dword ptr [esi + 0x28], edi */ 6690 eax = MEM32(esi + 0x10); /* 0x2B08F6AF: mov eax, dword ptr [esi + 0x10] */ 6691 /* cmp eax, edi */ /* 0x2B08F6B2: cmp eax, edi */ 6692 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6694 _flag_k = FK_CMP; 6695 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F6D2; /* 0x2B08F6B4: je 0x2b08f6d2 */ 6696 L_2B08F6B6: 6697 ecx = eax + (-0x1); /* 0x2B08F6B6: lea ecx, [eax - 1] */ 6698 SET_LO8(eax, MEM8(ecx)); /* 0x2B08F6B9: mov al, byte ptr [ecx] */ 6699 /* test LO8(eax), LO8(eax) */ /* 0x2B08F6BB: test al, al */ 6700 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6701 _cf = 0; 6702 _flag_k = FK_NARROW(FK_TEST, 24); 6703 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F6C9; /* 0x2B08F6BD: je 0x2b08f6c9 */ 6704 L_2B08F6BF: 6705 /* cmp LO8(eax), 0xFFu */ /* 0x2B08F6BF: cmp al, 0xff */ 6706 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6708 _flag_k = FK_NARROW(FK_CMP, 24); 6709 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F6C9; /* 0x2B08F6C1: je 0x2b08f6c9 */ 6710 L_2B08F6C3: 6711 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6712 SET_LO8(eax, LO8(eax) - 1); /* 0x2B08F6C3: dec al */ 6713 _flag_k = FK_NARROW(FK_DEC, 24); 6714 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B08F6C5: mov byte ptr [ecx], al */ 6715 goto L_2B08F6D2; /* 0x2B08F6C7: jmp 0x2b08f6d2 */ 6716 L_2B08F6C9: 6717 PUSH32(esp, ecx); /* 0x2B08F6C9: push ecx */ 6718 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F6CA: call 0x2b0ab1ba */ /* not lifted */ 6719 RECOMP_FLAGS_IN(); 6720 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6722 esp = esp + 4; /* 0x2B08F6CF: add esp, 4 */ 6723 _flag_k = FK_ADD; 6724 L_2B08F6D2: 6725 PUSH32(esp, esi); /* 0x2B08F6D2: push esi */ 6726 MEM32(esi + 0x10) = edi; /* 0x2B08F6D3: mov dword ptr [esi + 0x10], edi */ 6727 MEM32(esi + 0x14) = edi; /* 0x2B08F6D6: mov dword ptr [esi + 0x14], edi */ 6728 MEM32(esi + 0x18) = edi; /* 0x2B08F6D9: mov dword ptr [esi + 0x18], edi */ 6729 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F6DC: call 0x2b0ab1ba */ /* not lifted */ 6730 RECOMP_FLAGS_IN(); 6731 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6732 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6733 esp = esp + 4; /* 0x2B08F6E1: add esp, 4 */ 6734 _flag_k = FK_ADD; 6735 L_2B08F6E4: 6736 ecx = MEM32(ebp + (-0x4C)); /* 0x2B08F6E4: mov ecx, dword ptr [ebp - 0x4c] */ 6737 /* cmp ecx, edi */ /* 0x2B08F6E7: cmp ecx, edi */ 6738 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6740 _flag_k = FK_CMP; 6741 edi = POP32_VAL(esp); /* 0x2B08F6E9: pop edi */ 6742 esi = POP32_VAL(esp); /* 0x2B08F6EA: pop esi */ 6743 ebx = POP32_VAL(esp); /* 0x2B08F6EB: pop ebx */ 6744 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F718; /* 0x2B08F6EC: je 0x2b08f718 */ 6745 L_2B08F6EE: 6746 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B08F6EE: mov al, byte ptr [ecx - 1] */ 6747 /* test LO8(eax), LO8(eax) */ /* 0x2B08F6F1: test al, al */ 6748 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6749 _cf = 0; 6750 _flag_k = FK_NARROW(FK_TEST, 24); 6751 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F70E; /* 0x2B08F6F3: je 0x2b08f70e */ 6752 L_2B08F6F5: 6753 /* cmp LO8(eax), 0xFFu */ /* 0x2B08F6F5: cmp al, 0xff */ 6754 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6756 _flag_k = FK_NARROW(FK_CMP, 24); 6757 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F70E; /* 0x2B08F6F7: je 0x2b08f70e */ 6758 L_2B08F6F9: 6759 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6760 SET_LO8(eax, LO8(eax) - 1); /* 0x2B08F6F9: dec al */ 6761 _flag_k = FK_NARROW(FK_DEC, 24); 6762 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B08F6FB: mov byte ptr [ecx - 1], al */ 6763 SET_LO8(eax, 1); /* 0x2B08F6FE: mov al, 1 */ 6764 ecx = MEM32(ebp + (-0xC)); /* 0x2B08F700: mov ecx, dword ptr [ebp - 0xc] */ 6765 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08F703: mov dword ptr fs:[0], ecx */ 6766 esp = ebp; /* 0x2B08F70A: mov esp, ebp */ 6767 ebp = POP32_VAL(esp); /* 0x2B08F70C: pop ebp */ 6768 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08F70D: ret */ 6769 L_2B08F70E: 6770 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6771 ecx = ecx - 1; /* 0x2B08F70E: dec ecx */ 6772 _flag_k = FK_DEC; 6773 PUSH32(esp, ecx); /* 0x2B08F70F: push ecx */ 6774 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F710: call 0x2b0ab1ba */ /* not lifted */ 6775 RECOMP_FLAGS_IN(); 6776 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6777 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6778 esp = esp + 4; /* 0x2B08F715: add esp, 4 */ 6779 _flag_k = FK_ADD; 6780 L_2B08F718: 6781 ecx = MEM32(ebp + (-0xC)); /* 0x2B08F718: mov ecx, dword ptr [ebp - 0xc] */ 6782 SET_LO8(eax, 1); /* 0x2B08F71B: mov al, 1 */ 6783 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08F71D: mov dword ptr fs:[0], ecx */ 6784 esp = ebp; /* 0x2B08F724: mov esp, ebp */ 6785 ebp = POP32_VAL(esp); /* 0x2B08F726: pop ebp */ 6786 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08F727: ret */ 6787 RECOMP_REGS_OUT(); 6788 } 6789 6790 void sub_2B08F730(void) { 6791 int _fpu_cmp = 0; 6792 uint32_t _cf = 0; 6793 int _df = 1; 6794 uint32_t _flag_k = FK_NONE; 6795 uint32_t _flag_a = 0, _flag_b = 0; 6796 uint32_t _itail_tgt = 0; 6797 RECOMP_REGS_LOCALS 6798 RECOMP_ENTER(0x2B08F730u); 6799 6800 L_2B08F730: 6801 PUSH32(esp, ebp); /* 0x2B08F730: push ebp */ 6802 ebp = esp; /* 0x2B08F731: mov ebp, esp */ 6803 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F733: push -1 */ 6804 PUSH32(esp, 0x2B0B2A94u); /* 0x2B08F735: push 0x2b0b2a94 */ 6805 eax = MEM32(FS_BASE + (0)); /* 0x2B08F73A: mov eax, dword ptr fs:[0] */ 6806 PUSH32(esp, eax); /* 0x2B08F740: push eax */ 6807 MEM32(FS_BASE + (0)) = esp; /* 0x2B08F741: mov dword ptr fs:[0], esp */ 6808 PUSH32(esp, ecx); /* 0x2B08F748: push ecx */ 6809 PUSH32(esp, ebx); /* 0x2B08F749: push ebx */ 6810 PUSH32(esp, esi); /* 0x2B08F74A: push esi */ 6811 esi = ecx; /* 0x2B08F74B: mov esi, ecx */ 6812 PUSH32(esp, edi); /* 0x2B08F74D: push edi */ 6813 MEM32(ebp + (-0x10)) = esi; /* 0x2B08F74E: mov dword ptr [ebp - 0x10], esi */ 6814 eax = MEM32(esi + 0x54); /* 0x2B08F751: mov eax, dword ptr [esi + 0x54] */ 6815 /* test eax, eax */ /* 0x2B08F754: test eax, eax */ 6816 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6817 _cf = 0; 6818 _flag_k = FK_TEST; 6819 MEM32(ebp + (-0x4)) = 0; /* 0x2B08F756: mov dword ptr [ebp - 4], 0 */ 6820 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F789; /* 0x2B08F75D: je 0x2b08f789 */ 6821 L_2B08F75F: 6822 eax = MEM32(eax + 0x54); /* 0x2B08F75F: mov eax, dword ptr [eax + 0x54] */ 6823 /* cmp eax, 1 */ /* 0x2B08F762: cmp eax, 1 */ 6824 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6826 _flag_k = FK_CMP; 6827 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F789; /* 0x2B08F765: je 0x2b08f789 */ 6828 L_2B08F767: 6829 /* cmp eax, 3 */ /* 0x2B08F767: cmp eax, 3 */ 6830 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 6831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6832 _flag_k = FK_CMP; 6833 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F789; /* 0x2B08F76A: je 0x2b08f789 */ 6834 L_2B08F76C: 6835 /* cmp eax, 2 */ /* 0x2B08F76C: cmp eax, 2 */ 6836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 6837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6838 _flag_k = FK_CMP; 6839 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F776; /* 0x2B08F76F: je 0x2b08f776 */ 6840 L_2B08F771: 6841 /* cmp eax, 4 */ /* 0x2B08F771: cmp eax, 4 */ 6842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6844 _flag_k = FK_CMP; 6845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08F789; /* 0x2B08F774: jne 0x2b08f789 */ 6846 L_2B08F776: 6847 ecx = MEM32(0x2B0EF104); /* 0x2B08F776: mov ecx, dword ptr [0x2b0ef104] */ 6848 /* test ecx, ecx */ /* 0x2B08F77C: test ecx, ecx */ 6849 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6850 _cf = 0; 6851 _flag_k = FK_TEST; 6852 eax = MEM32(esi + 0x18); /* 0x2B08F77E: mov eax, dword ptr [esi + 0x18] */ 6853 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F789; /* 0x2B08F781: je 0x2b08f789 */ 6854 L_2B08F783: 6855 PUSH32(esp, eax); /* 0x2B08F783: push eax */ 6856 RECOMP_ICALL(0x2B08D2A0u); /* 0x2B08F784: call 0x2b08d2a0 */ /* not lifted */ 6857 RECOMP_FLAGS_IN(); 6858 L_2B08F789: 6859 eax = MEM32(esi + 0x60); /* 0x2B08F789: mov eax, dword ptr [esi + 0x60] */ 6860 /* test eax, eax */ /* 0x2B08F78C: test eax, eax */ 6861 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6862 _cf = 0; 6863 _flag_k = FK_TEST; 6864 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F7C2; /* 0x2B08F78E: je 0x2b08f7c2 */ 6865 L_2B08F790: 6866 eax = MEM32(eax + 0x54); /* 0x2B08F790: mov eax, dword ptr [eax + 0x54] */ 6867 /* cmp eax, 1 */ /* 0x2B08F793: cmp eax, 1 */ 6868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6870 _flag_k = FK_CMP; 6871 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F7C2; /* 0x2B08F796: je 0x2b08f7c2 */ 6872 L_2B08F798: 6873 /* cmp eax, 3 */ /* 0x2B08F798: cmp eax, 3 */ 6874 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 6875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6876 _flag_k = FK_CMP; 6877 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F7C2; /* 0x2B08F79B: je 0x2b08f7c2 */ 6878 L_2B08F79D: 6879 /* cmp eax, 2 */ /* 0x2B08F79D: cmp eax, 2 */ 6880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 6881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6882 _flag_k = FK_CMP; 6883 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F7A7; /* 0x2B08F7A0: je 0x2b08f7a7 */ 6884 L_2B08F7A2: 6885 /* cmp eax, 4 */ /* 0x2B08F7A2: cmp eax, 4 */ 6886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6888 _flag_k = FK_CMP; 6889 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08F7C2; /* 0x2B08F7A5: jne 0x2b08f7c2 */ 6890 L_2B08F7A7: 6891 PUSH32(esp, 0xF3u); /* 0x2B08F7A7: push 0xf3 */ 6892 PUSH32(esp, 0x29u); /* 0x2B08F7AC: push 0x29 */ 6893 PUSH32(esp, 2); /* 0x2B08F7AE: push 2 */ 6894 PUSH32(esp, 0x2B0ED298u); /* 0x2B08F7B0: push 0x2b0ed298 */ 6895 PUSH32(esp, 0x2B0ED28Cu); /* 0x2B08F7B5: push 0x2b0ed28c */ 6896 RECOMP_ICALL(0x2B089BF0u); /* 0x2B08F7BA: call 0x2b089bf0 */ /* not lifted */ 6897 RECOMP_FLAGS_IN(); 6898 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 6899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6900 esp = esp + 0x14u; /* 0x2B08F7BF: add esp, 0x14 */ 6901 _flag_k = FK_ADD; 6902 L_2B08F7C2: 6903 ecx = MEM32(esi + 0x6C); /* 0x2B08F7C2: mov ecx, dword ptr [esi + 0x6c] */ 6904 /* test ecx, ecx */ /* 0x2B08F7C5: test ecx, ecx */ 6905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6906 _cf = 0; 6907 _flag_k = FK_TEST; 6908 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F7CF; /* 0x2B08F7C7: je 0x2b08f7cf */ 6909 L_2B08F7C9: 6910 eax = MEM32(ecx); /* 0x2B08F7C9: mov eax, dword ptr [ecx] */ 6911 PUSH32(esp, 1); /* 0x2B08F7CB: push 1 */ 6912 RECOMP_ICALL(MEM32(eax)); /* 0x2B08F7CD: call dword ptr [eax] */ 6913 RECOMP_FLAGS_IN(); 6914 L_2B08F7CF: 6915 edi = MEM32(esi + 0x68); /* 0x2B08F7CF: mov edi, dword ptr [esi + 0x68] */ 6916 /* test edi, edi */ /* 0x2B08F7D2: test edi, edi */ 6917 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6918 _cf = 0; 6919 _flag_k = FK_TEST; 6920 ebx = MEM32(0x2B0B5BC4); /* 0x2B08F7D4: mov ebx, dword ptr [0x2b0b5bc4] */ 6921 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F7E9; /* 0x2B08F7DA: je 0x2b08f7e9 */ 6922 L_2B08F7DC: 6923 ecx = edi; /* 0x2B08F7DC: mov ecx, edi */ 6924 RECOMP_ICALL(ebx); /* 0x2B08F7DE: call ebx */ 6925 RECOMP_FLAGS_IN(); 6926 PUSH32(esp, edi); /* 0x2B08F7E0: push edi */ 6927 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F7E1: call 0x2b0ab1ba */ /* not lifted */ 6928 RECOMP_FLAGS_IN(); 6929 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6930 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6931 esp = esp + 4; /* 0x2B08F7E6: add esp, 4 */ 6932 _flag_k = FK_ADD; 6933 L_2B08F7E9: 6934 ecx = MEM32(esi + 0x54); /* 0x2B08F7E9: mov ecx, dword ptr [esi + 0x54] */ 6935 /* test ecx, ecx */ /* 0x2B08F7EC: test ecx, ecx */ 6936 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6937 _cf = 0; 6938 _flag_k = FK_TEST; 6939 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F7F6; /* 0x2B08F7EE: je 0x2b08f7f6 */ 6940 L_2B08F7F0: 6941 edx = MEM32(ecx); /* 0x2B08F7F0: mov edx, dword ptr [ecx] */ 6942 PUSH32(esp, 1); /* 0x2B08F7F2: push 1 */ 6943 RECOMP_ICALL(MEM32(edx)); /* 0x2B08F7F4: call dword ptr [edx] */ 6944 RECOMP_FLAGS_IN(); 6945 L_2B08F7F6: 6946 ecx = MEM32(esi + 0x58); /* 0x2B08F7F6: mov ecx, dword ptr [esi + 0x58] */ 6947 /* test ecx, ecx */ /* 0x2B08F7F9: test ecx, ecx */ 6948 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6949 _cf = 0; 6950 _flag_k = FK_TEST; 6951 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F803; /* 0x2B08F7FB: je 0x2b08f803 */ 6952 L_2B08F7FD: 6953 eax = MEM32(ecx); /* 0x2B08F7FD: mov eax, dword ptr [ecx] */ 6954 PUSH32(esp, 1); /* 0x2B08F7FF: push 1 */ 6955 RECOMP_ICALL(MEM32(eax)); /* 0x2B08F801: call dword ptr [eax] */ 6956 RECOMP_FLAGS_IN(); 6957 L_2B08F803: 6958 edi = MEM32(esi + 0x50); /* 0x2B08F803: mov edi, dword ptr [esi + 0x50] */ 6959 /* test edi, edi */ /* 0x2B08F806: test edi, edi */ 6960 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 6961 _cf = 0; 6962 _flag_k = FK_TEST; 6963 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F817; /* 0x2B08F808: je 0x2b08f817 */ 6964 L_2B08F80A: 6965 ecx = edi; /* 0x2B08F80A: mov ecx, edi */ 6966 RECOMP_ICALL(ebx); /* 0x2B08F80C: call ebx */ 6967 RECOMP_FLAGS_IN(); 6968 PUSH32(esp, edi); /* 0x2B08F80E: push edi */ 6969 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F80F: call 0x2b0ab1ba */ /* not lifted */ 6970 RECOMP_FLAGS_IN(); 6971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6973 esp = esp + 4; /* 0x2B08F814: add esp, 4 */ 6974 _flag_k = FK_ADD; 6975 L_2B08F817: 6976 ecx = MEM32(esi + 0x60); /* 0x2B08F817: mov ecx, dword ptr [esi + 0x60] */ 6977 /* test ecx, ecx */ /* 0x2B08F81A: test ecx, ecx */ 6978 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6979 _cf = 0; 6980 _flag_k = FK_TEST; 6981 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F824; /* 0x2B08F81C: je 0x2b08f824 */ 6982 L_2B08F81E: 6983 edx = MEM32(ecx); /* 0x2B08F81E: mov edx, dword ptr [ecx] */ 6984 PUSH32(esp, 1); /* 0x2B08F820: push 1 */ 6985 RECOMP_ICALL(MEM32(edx)); /* 0x2B08F822: call dword ptr [edx] */ 6986 RECOMP_FLAGS_IN(); 6987 L_2B08F824: 6988 ecx = MEM32(esi + 0x64); /* 0x2B08F824: mov ecx, dword ptr [esi + 0x64] */ 6989 /* test ecx, ecx */ /* 0x2B08F827: test ecx, ecx */ 6990 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6991 _cf = 0; 6992 _flag_k = FK_TEST; 6993 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F831; /* 0x2B08F829: je 0x2b08f831 */ 6994 L_2B08F82B: 6995 eax = MEM32(ecx); /* 0x2B08F82B: mov eax, dword ptr [ecx] */ 6996 PUSH32(esp, 1); /* 0x2B08F82D: push 1 */ 6997 RECOMP_ICALL(MEM32(eax)); /* 0x2B08F82F: call dword ptr [eax] */ 6998 RECOMP_FLAGS_IN(); 6999 L_2B08F831: 7000 edi = MEM32(esi + 0x5C); /* 0x2B08F831: mov edi, dword ptr [esi + 0x5c] */ 7001 /* test edi, edi */ /* 0x2B08F834: test edi, edi */ 7002 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7003 _cf = 0; 7004 _flag_k = FK_TEST; 7005 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F845; /* 0x2B08F836: je 0x2b08f845 */ 7006 L_2B08F838: 7007 ecx = edi; /* 0x2B08F838: mov ecx, edi */ 7008 RECOMP_ICALL(ebx); /* 0x2B08F83A: call ebx */ 7009 RECOMP_FLAGS_IN(); 7010 PUSH32(esp, edi); /* 0x2B08F83C: push edi */ 7011 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F83D: call 0x2b0ab1ba */ /* not lifted */ 7012 RECOMP_FLAGS_IN(); 7013 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7014 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7015 esp = esp + 4; /* 0x2B08F842: add esp, 4 */ 7016 _flag_k = FK_ADD; 7017 L_2B08F845: 7018 edi = MEM32(esi + 0x38); /* 0x2B08F845: mov edi, dword ptr [esi + 0x38] */ 7019 /* test edi, edi */ /* 0x2B08F848: test edi, edi */ 7020 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7021 _cf = 0; 7022 _flag_k = FK_TEST; 7023 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F85D; /* 0x2B08F84A: je 0x2b08f85d */ 7024 L_2B08F84C: 7025 ecx = edi; /* 0x2B08F84C: mov ecx, edi */ 7026 RECOMP_ICALL(MEM32(0x2B0B5A00)); /* 0x2B08F84E: call dword ptr [0x2b0b5a00] */ 7027 RECOMP_FLAGS_IN(); 7028 PUSH32(esp, edi); /* 0x2B08F854: push edi */ 7029 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F855: call 0x2b0ab1ba */ /* not lifted */ 7030 RECOMP_FLAGS_IN(); 7031 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7032 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7033 esp = esp + 4; /* 0x2B08F85A: add esp, 4 */ 7034 _flag_k = FK_ADD; 7035 L_2B08F85D: 7036 edi = MEM32(esi + 0x3C); /* 0x2B08F85D: mov edi, dword ptr [esi + 0x3c] */ 7037 /* test edi, edi */ /* 0x2B08F860: test edi, edi */ 7038 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7039 _cf = 0; 7040 _flag_k = FK_TEST; 7041 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F875; /* 0x2B08F862: je 0x2b08f875 */ 7042 L_2B08F864: 7043 ecx = edi; /* 0x2B08F864: mov ecx, edi */ 7044 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B08F866: call dword ptr [0x2b0b5b2c] */ 7045 RECOMP_FLAGS_IN(); 7046 PUSH32(esp, edi); /* 0x2B08F86C: push edi */ 7047 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F86D: call 0x2b0ab1ba */ /* not lifted */ 7048 RECOMP_FLAGS_IN(); 7049 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7051 esp = esp + 4; /* 0x2B08F872: add esp, 4 */ 7052 _flag_k = FK_ADD; 7053 L_2B08F875: 7054 ecx = MEM32(esi + 0x44); /* 0x2B08F875: mov ecx, dword ptr [esi + 0x44] */ 7055 /* test ecx, ecx */ /* 0x2B08F878: test ecx, ecx */ 7056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7057 _cf = 0; 7058 _flag_k = FK_TEST; 7059 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F882; /* 0x2B08F87A: je 0x2b08f882 */ 7060 L_2B08F87C: 7061 edx = MEM32(ecx); /* 0x2B08F87C: mov edx, dword ptr [ecx] */ 7062 PUSH32(esp, 1); /* 0x2B08F87E: push 1 */ 7063 RECOMP_ICALL(MEM32(edx)); /* 0x2B08F880: call dword ptr [edx] */ 7064 RECOMP_FLAGS_IN(); 7065 L_2B08F882: 7066 edi = MEM32(esi + 0x40); /* 0x2B08F882: mov edi, dword ptr [esi + 0x40] */ 7067 /* test edi, edi */ /* 0x2B08F885: test edi, edi */ 7068 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7069 _cf = 0; 7070 _flag_k = FK_TEST; 7071 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F896; /* 0x2B08F887: je 0x2b08f896 */ 7072 L_2B08F889: 7073 ecx = edi; /* 0x2B08F889: mov ecx, edi */ 7074 RECOMP_ICALL(ebx); /* 0x2B08F88B: call ebx */ 7075 RECOMP_FLAGS_IN(); 7076 PUSH32(esp, edi); /* 0x2B08F88D: push edi */ 7077 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F88E: call 0x2b0ab1ba */ /* not lifted */ 7078 RECOMP_FLAGS_IN(); 7079 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7080 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7081 esp = esp + 4; /* 0x2B08F893: add esp, 4 */ 7082 _flag_k = FK_ADD; 7083 L_2B08F896: 7084 ecx = MEM32(esi + 0x4C); /* 0x2B08F896: mov ecx, dword ptr [esi + 0x4c] */ 7085 /* test ecx, ecx */ /* 0x2B08F899: test ecx, ecx */ 7086 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7087 _cf = 0; 7088 _flag_k = FK_TEST; 7089 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8A3; /* 0x2B08F89B: je 0x2b08f8a3 */ 7090 L_2B08F89D: 7091 eax = MEM32(ecx); /* 0x2B08F89D: mov eax, dword ptr [ecx] */ 7092 PUSH32(esp, 1); /* 0x2B08F89F: push 1 */ 7093 RECOMP_ICALL(MEM32(eax)); /* 0x2B08F8A1: call dword ptr [eax] */ 7094 RECOMP_FLAGS_IN(); 7095 L_2B08F8A3: 7096 edi = MEM32(esi + 0x48); /* 0x2B08F8A3: mov edi, dword ptr [esi + 0x48] */ 7097 /* test edi, edi */ /* 0x2B08F8A6: test edi, edi */ 7098 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7099 _cf = 0; 7100 _flag_k = FK_TEST; 7101 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8B7; /* 0x2B08F8A8: je 0x2b08f8b7 */ 7102 L_2B08F8AA: 7103 ecx = edi; /* 0x2B08F8AA: mov ecx, edi */ 7104 RECOMP_ICALL(ebx); /* 0x2B08F8AC: call ebx */ 7105 RECOMP_FLAGS_IN(); 7106 PUSH32(esp, edi); /* 0x2B08F8AE: push edi */ 7107 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F8AF: call 0x2b0ab1ba */ /* not lifted */ 7108 RECOMP_FLAGS_IN(); 7109 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7110 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7111 esp = esp + 4; /* 0x2B08F8B4: add esp, 4 */ 7112 _flag_k = FK_ADD; 7113 L_2B08F8B7: 7114 ecx = MEM32(esi + 0x78); /* 0x2B08F8B7: mov ecx, dword ptr [esi + 0x78] */ 7115 /* test ecx, ecx */ /* 0x2B08F8BA: test ecx, ecx */ 7116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7117 _cf = 0; 7118 _flag_k = FK_TEST; 7119 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8C4; /* 0x2B08F8BC: je 0x2b08f8c4 */ 7120 L_2B08F8BE: 7121 edx = MEM32(ecx); /* 0x2B08F8BE: mov edx, dword ptr [ecx] */ 7122 PUSH32(esp, 1); /* 0x2B08F8C0: push 1 */ 7123 RECOMP_ICALL(MEM32(edx)); /* 0x2B08F8C2: call dword ptr [edx] */ 7124 RECOMP_FLAGS_IN(); 7125 L_2B08F8C4: 7126 ecx = MEM32(esi + 0x7C); /* 0x2B08F8C4: mov ecx, dword ptr [esi + 0x7c] */ 7127 /* test ecx, ecx */ /* 0x2B08F8C7: test ecx, ecx */ 7128 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7129 _cf = 0; 7130 _flag_k = FK_TEST; 7131 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8D1; /* 0x2B08F8C9: je 0x2b08f8d1 */ 7132 L_2B08F8CB: 7133 eax = MEM32(ecx); /* 0x2B08F8CB: mov eax, dword ptr [ecx] */ 7134 PUSH32(esp, 1); /* 0x2B08F8CD: push 1 */ 7135 RECOMP_ICALL(MEM32(eax)); /* 0x2B08F8CF: call dword ptr [eax] */ 7136 RECOMP_FLAGS_IN(); 7137 L_2B08F8D1: 7138 edi = MEM32(esi + 0x74); /* 0x2B08F8D1: mov edi, dword ptr [esi + 0x74] */ 7139 /* test edi, edi */ /* 0x2B08F8D4: test edi, edi */ 7140 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7141 _cf = 0; 7142 _flag_k = FK_TEST; 7143 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8E5; /* 0x2B08F8D6: je 0x2b08f8e5 */ 7144 L_2B08F8D8: 7145 ecx = edi; /* 0x2B08F8D8: mov ecx, edi */ 7146 RECOMP_ICALL(ebx); /* 0x2B08F8DA: call ebx */ 7147 RECOMP_FLAGS_IN(); 7148 PUSH32(esp, edi); /* 0x2B08F8DC: push edi */ 7149 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F8DD: call 0x2b0ab1ba */ /* not lifted */ 7150 RECOMP_FLAGS_IN(); 7151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7153 esp = esp + 4; /* 0x2B08F8E2: add esp, 4 */ 7154 _flag_k = FK_ADD; 7155 L_2B08F8E5: 7156 edi = MEM32(esi + 0x70); /* 0x2B08F8E5: mov edi, dword ptr [esi + 0x70] */ 7157 /* test edi, edi */ /* 0x2B08F8E8: test edi, edi */ 7158 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7159 _cf = 0; 7160 _flag_k = FK_TEST; 7161 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8FD; /* 0x2B08F8EA: je 0x2b08f8fd */ 7162 L_2B08F8EC: 7163 ecx = edi; /* 0x2B08F8EC: mov ecx, edi */ 7164 RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B08F8EE: call dword ptr [0x2b0b5a68] */ 7165 RECOMP_FLAGS_IN(); 7166 PUSH32(esp, edi); /* 0x2B08F8F4: push edi */ 7167 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F8F5: call 0x2b0ab1ba */ /* not lifted */ 7168 RECOMP_FLAGS_IN(); 7169 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7171 esp = esp + 4; /* 0x2B08F8FA: add esp, 4 */ 7172 _flag_k = FK_ADD; 7173 L_2B08F8FD: 7174 ecx = esi; /* 0x2B08F8FD: mov ecx, esi */ 7175 RECOMP_ICALL(0x2B090930u); /* 0x2B08F8FF: call 0x2b090930 */ /* not lifted */ 7176 RECOMP_FLAGS_IN(); 7177 edi = MEM32(esi + 0x2C); /* 0x2B08F904: mov edi, dword ptr [esi + 0x2c] */ 7178 ebx = MEM32(esi + 0x30); /* 0x2B08F907: mov ebx, dword ptr [esi + 0x30] */ 7179 /* cmp edi, ebx */ /* 0x2B08F90A: cmp edi, ebx */ 7180 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7182 _flag_k = FK_CMP; 7183 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B08F90C: mov dword ptr [ebp - 4], 0xffffffff */ 7184 MEM32(ebp + (-0x10)) = edi; /* 0x2B08F913: mov dword ptr [ebp - 0x10], edi */ 7185 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F951; /* 0x2B08F916: je 0x2b08f951 */ 7186 L_2B08F918: 7187 ecx = MEM32(edi + 0x10); /* 0x2B08F918: mov ecx, dword ptr [edi + 0x10] */ 7188 /* test ecx, ecx */ /* 0x2B08F91B: test ecx, ecx */ 7189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7190 _cf = 0; 7191 _flag_k = FK_TEST; 7192 MEM32(ebp + (-0x4)) = 1; /* 0x2B08F91D: mov dword ptr [ebp - 4], 1 */ 7193 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F936; /* 0x2B08F924: je 0x2b08f936 */ 7194 L_2B08F926: 7195 _flag_a = (uint32_t)(MEM32(ecx + 0x2C)); _flag_b = (uint32_t)(1); 7196 MEM32(ecx + 0x2C) = MEM32(ecx + 0x2C) - 1; /* 0x2B08F926: dec dword ptr [ecx + 0x2c] */ 7197 _flag_k = FK_DEC; 7198 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B08F936; /* 0x2B08F929: jne 0x2b08f936 */ 7199 L_2B08F92B: 7200 /* test ecx, ecx */ /* 0x2B08F92B: test ecx, ecx */ 7201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7202 _cf = 0; 7203 _flag_k = FK_TEST; 7204 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F936; /* 0x2B08F92D: je 0x2b08f936 */ 7205 L_2B08F92F: 7206 PUSH32(esp, 1); /* 0x2B08F92F: push 1 */ 7207 RECOMP_ICALL(0x2B007900u); /* 0x2B08F931: call 0x2b007900 */ /* not lifted */ 7208 RECOMP_FLAGS_IN(); 7209 L_2B08F936: 7210 PUSH32(esp, 1); /* 0x2B08F936: push 1 */ 7211 ecx = edi; /* 0x2B08F938: mov ecx, edi */ 7212 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B08F93A: mov dword ptr [ebp - 4], 0xffffffff */ 7213 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08F941: call dword ptr [0x2b0b514c] */ 7214 RECOMP_FLAGS_IN(); 7215 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 7216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7217 edi = edi + 0x14u; /* 0x2B08F947: add edi, 0x14 */ 7218 _flag_k = FK_ADD; 7219 /* cmp edi, ebx */ /* 0x2B08F94A: cmp edi, ebx */ 7220 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7222 _flag_k = FK_CMP; 7223 MEM32(ebp + (-0x10)) = edi; /* 0x2B08F94C: mov dword ptr [ebp - 0x10], edi */ 7224 RECOMP_BACKEDGE(); 7225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08F918; /* 0x2B08F94F: jne 0x2b08f918 */ 7226 L_2B08F951: 7227 ecx = MEM32(esi + 0x2C); /* 0x2B08F951: mov ecx, dword ptr [esi + 0x2c] */ 7228 PUSH32(esp, ecx); /* 0x2B08F954: push ecx */ 7229 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F955: call 0x2b0ab1ba */ /* not lifted */ 7230 RECOMP_FLAGS_IN(); 7231 ecx = MEM32(ebp + (-0xC)); /* 0x2B08F95A: mov ecx, dword ptr [ebp - 0xc] */ 7232 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7233 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7234 esp = esp + 4; /* 0x2B08F95D: add esp, 4 */ 7235 _flag_k = FK_ADD; 7236 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7237 eax = 0; /* 0x2B08F960: xor eax, eax */ 7238 _cf = 0; 7239 _flag_k = FK_TEST; 7240 edi = POP32_VAL(esp); /* 0x2B08F962: pop edi */ 7241 MEM32(esi + 0x2C) = eax; /* 0x2B08F963: mov dword ptr [esi + 0x2c], eax */ 7242 MEM32(esi + 0x30) = eax; /* 0x2B08F966: mov dword ptr [esi + 0x30], eax */ 7243 MEM32(esi + 0x34) = eax; /* 0x2B08F969: mov dword ptr [esi + 0x34], eax */ 7244 esi = POP32_VAL(esp); /* 0x2B08F96C: pop esi */ 7245 ebx = POP32_VAL(esp); /* 0x2B08F96D: pop ebx */ 7246 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08F96E: mov dword ptr fs:[0], ecx */ 7247 esp = ebp; /* 0x2B08F975: mov esp, ebp */ 7248 ebp = POP32_VAL(esp); /* 0x2B08F977: pop ebp */ 7249 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08F978: ret */ 7250 RECOMP_REGS_OUT(); 7251 } 7252 7253 void sub_2B08F8CD(void) { 7254 int _fpu_cmp = 0; 7255 uint32_t _cf = 0; 7256 int _df = 1; 7257 uint32_t _flag_k = FK_NONE; 7258 uint32_t _flag_a = 0, _flag_b = 0; 7259 uint32_t _itail_tgt = 0; 7260 RECOMP_REGS_LOCALS 7261 RECOMP_ENTER(0x2B08F8CDu); 7262 7263 L_2B08F8CD: 7264 PUSH32(esp, 1); /* 0x2B08F8CD: push 1 */ 7265 RECOMP_ICALL(MEM32(eax)); /* 0x2B08F8CF: call dword ptr [eax] */ 7266 RECOMP_FLAGS_IN(); 7267 edi = MEM32(esi + 0x74); /* 0x2B08F8D1: mov edi, dword ptr [esi + 0x74] */ 7268 /* test edi, edi */ /* 0x2B08F8D4: test edi, edi */ 7269 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7270 _cf = 0; 7271 _flag_k = FK_TEST; 7272 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8E5; /* 0x2B08F8D6: je 0x2b08f8e5 */ 7273 L_2B08F8D8: 7274 ecx = edi; /* 0x2B08F8D8: mov ecx, edi */ 7275 RECOMP_ICALL(ebx); /* 0x2B08F8DA: call ebx */ 7276 RECOMP_FLAGS_IN(); 7277 PUSH32(esp, edi); /* 0x2B08F8DC: push edi */ 7278 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F8DD: call 0x2b0ab1ba */ /* not lifted */ 7279 RECOMP_FLAGS_IN(); 7280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7282 esp = esp + 4; /* 0x2B08F8E2: add esp, 4 */ 7283 _flag_k = FK_ADD; 7284 L_2B08F8E5: 7285 edi = MEM32(esi + 0x70); /* 0x2B08F8E5: mov edi, dword ptr [esi + 0x70] */ 7286 /* test edi, edi */ /* 0x2B08F8E8: test edi, edi */ 7287 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7288 _cf = 0; 7289 _flag_k = FK_TEST; 7290 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F8FD; /* 0x2B08F8EA: je 0x2b08f8fd */ 7291 L_2B08F8EC: 7292 ecx = edi; /* 0x2B08F8EC: mov ecx, edi */ 7293 RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B08F8EE: call dword ptr [0x2b0b5a68] */ 7294 RECOMP_FLAGS_IN(); 7295 PUSH32(esp, edi); /* 0x2B08F8F4: push edi */ 7296 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F8F5: call 0x2b0ab1ba */ /* not lifted */ 7297 RECOMP_FLAGS_IN(); 7298 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7299 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7300 esp = esp + 4; /* 0x2B08F8FA: add esp, 4 */ 7301 _flag_k = FK_ADD; 7302 L_2B08F8FD: 7303 ecx = esi; /* 0x2B08F8FD: mov ecx, esi */ 7304 RECOMP_ICALL(0x2B090930u); /* 0x2B08F8FF: call 0x2b090930 */ /* not lifted */ 7305 RECOMP_FLAGS_IN(); 7306 edi = MEM32(esi + 0x2C); /* 0x2B08F904: mov edi, dword ptr [esi + 0x2c] */ 7307 ebx = MEM32(esi + 0x30); /* 0x2B08F907: mov ebx, dword ptr [esi + 0x30] */ 7308 /* cmp edi, ebx */ /* 0x2B08F90A: cmp edi, ebx */ 7309 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7311 _flag_k = FK_CMP; 7312 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B08F90C: mov dword ptr [ebp - 4], 0xffffffff */ 7313 MEM32(ebp + (-0x10)) = edi; /* 0x2B08F913: mov dword ptr [ebp - 0x10], edi */ 7314 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08F951; /* 0x2B08F916: je 0x2b08f951 */ 7315 L_2B08F918: 7316 ecx = MEM32(edi + 0x10); /* 0x2B08F918: mov ecx, dword ptr [edi + 0x10] */ 7317 /* test ecx, ecx */ /* 0x2B08F91B: test ecx, ecx */ 7318 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7319 _cf = 0; 7320 _flag_k = FK_TEST; 7321 MEM32(ebp + (-0x4)) = 1; /* 0x2B08F91D: mov dword ptr [ebp - 4], 1 */ 7322 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F936; /* 0x2B08F924: je 0x2b08f936 */ 7323 L_2B08F926: 7324 _flag_a = (uint32_t)(MEM32(ecx + 0x2C)); _flag_b = (uint32_t)(1); 7325 MEM32(ecx + 0x2C) = MEM32(ecx + 0x2C) - 1; /* 0x2B08F926: dec dword ptr [ecx + 0x2c] */ 7326 _flag_k = FK_DEC; 7327 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B08F936; /* 0x2B08F929: jne 0x2b08f936 */ 7328 L_2B08F92B: 7329 /* test ecx, ecx */ /* 0x2B08F92B: test ecx, ecx */ 7330 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7331 _cf = 0; 7332 _flag_k = FK_TEST; 7333 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08F936; /* 0x2B08F92D: je 0x2b08f936 */ 7334 L_2B08F92F: 7335 PUSH32(esp, 1); /* 0x2B08F92F: push 1 */ 7336 RECOMP_ICALL(0x2B007900u); /* 0x2B08F931: call 0x2b007900 */ /* not lifted */ 7337 RECOMP_FLAGS_IN(); 7338 L_2B08F936: 7339 PUSH32(esp, 1); /* 0x2B08F936: push 1 */ 7340 ecx = edi; /* 0x2B08F938: mov ecx, edi */ 7341 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B08F93A: mov dword ptr [ebp - 4], 0xffffffff */ 7342 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08F941: call dword ptr [0x2b0b514c] */ 7343 RECOMP_FLAGS_IN(); 7344 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 7345 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7346 edi = edi + 0x14u; /* 0x2B08F947: add edi, 0x14 */ 7347 _flag_k = FK_ADD; 7348 /* cmp edi, ebx */ /* 0x2B08F94A: cmp edi, ebx */ 7349 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 7350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7351 _flag_k = FK_CMP; 7352 MEM32(ebp + (-0x10)) = edi; /* 0x2B08F94C: mov dword ptr [ebp - 0x10], edi */ 7353 RECOMP_BACKEDGE(); 7354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08F918; /* 0x2B08F94F: jne 0x2b08f918 */ 7355 L_2B08F951: 7356 ecx = MEM32(esi + 0x2C); /* 0x2B08F951: mov ecx, dword ptr [esi + 0x2c] */ 7357 PUSH32(esp, ecx); /* 0x2B08F954: push ecx */ 7358 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08F955: call 0x2b0ab1ba */ /* not lifted */ 7359 RECOMP_FLAGS_IN(); 7360 ecx = MEM32(ebp + (-0xC)); /* 0x2B08F95A: mov ecx, dword ptr [ebp - 0xc] */ 7361 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7362 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7363 esp = esp + 4; /* 0x2B08F95D: add esp, 4 */ 7364 _flag_k = FK_ADD; 7365 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7366 eax = 0; /* 0x2B08F960: xor eax, eax */ 7367 _cf = 0; 7368 _flag_k = FK_TEST; 7369 edi = POP32_VAL(esp); /* 0x2B08F962: pop edi */ 7370 MEM32(esi + 0x2C) = eax; /* 0x2B08F963: mov dword ptr [esi + 0x2c], eax */ 7371 MEM32(esi + 0x30) = eax; /* 0x2B08F966: mov dword ptr [esi + 0x30], eax */ 7372 MEM32(esi + 0x34) = eax; /* 0x2B08F969: mov dword ptr [esi + 0x34], eax */ 7373 esi = POP32_VAL(esp); /* 0x2B08F96C: pop esi */ 7374 ebx = POP32_VAL(esp); /* 0x2B08F96D: pop ebx */ 7375 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08F96E: mov dword ptr fs:[0], ecx */ 7376 esp = ebp; /* 0x2B08F975: mov esp, ebp */ 7377 ebp = POP32_VAL(esp); /* 0x2B08F977: pop ebp */ 7378 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08F978: ret */ 7379 RECOMP_REGS_OUT(); 7380 } 7381 7382 void sub_2B08F980(void) { 7383 int _fpu_cmp = 0; 7384 uint32_t _cf = 0; 7385 int _df = 1; 7386 uint32_t _flag_k = FK_NONE; 7387 uint32_t _flag_a = 0, _flag_b = 0; 7388 uint32_t _itail_tgt = 0; 7389 RECOMP_REGS_LOCALS 7390 RECOMP_ENTER(0x2B08F980u); 7391 7392 L_2B08F980: 7393 PUSH32(esp, ebp); /* 0x2B08F980: push ebp */ 7394 ebp = esp; /* 0x2B08F981: mov ebp, esp */ 7395 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08F983: push -1 */ 7396 PUSH32(esp, 0x2B0B2ADEu); /* 0x2B08F985: push 0x2b0b2ade */ 7397 eax = MEM32(FS_BASE + (0)); /* 0x2B08F98A: mov eax, dword ptr fs:[0] */ 7398 PUSH32(esp, eax); /* 0x2B08F990: push eax */ 7399 MEM32(FS_BASE + (0)) = esp; /* 0x2B08F991: mov dword ptr fs:[0], esp */ 7400 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x50u); 7401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7402 esp = esp - 0x50u; /* 0x2B08F998: sub esp, 0x50 */ 7403 _flag_k = FK_CMP; 7404 eax = MEM32(ebp + 0x8); /* 0x2B08F99B: mov eax, dword ptr [ebp + 8] */ 7405 PUSH32(esp, ebx); /* 0x2B08F99E: push ebx */ 7406 PUSH32(esp, esi); /* 0x2B08F99F: push esi */ 7407 esi = ecx; /* 0x2B08F9A0: mov esi, ecx */ 7408 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B08F9A2: mov cl, byte ptr [ebp + 0xb] */ 7409 PUSH32(esp, edi); /* 0x2B08F9A5: push edi */ 7410 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(ecx)); /* 0x2B08F9A6: mov byte ptr [ebp - 0x34], cl */ 7411 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7412 ebx = 0; /* 0x2B08F9A9: xor ebx, ebx */ 7413 _cf = 0; 7414 _flag_k = FK_TEST; 7415 PUSH32(esp, ebx); /* 0x2B08F9AB: push ebx */ 7416 ecx = ebp + (-0x34); /* 0x2B08F9AC: lea ecx, [ebp - 0x34] */ 7417 MEM32(ebp + (-0x14)) = esi; /* 0x2B08F9AF: mov dword ptr [ebp - 0x14], esi */ 7418 MEM32(esi + 0x18) = eax; /* 0x2B08F9B2: mov dword ptr [esi + 0x18], eax */ 7419 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08F9B5: call dword ptr [0x2b0b514c] */ 7420 RECOMP_FLAGS_IN(); 7421 MEM32(ebp + (-0x4)) = ebx; /* 0x2B08F9BB: mov dword ptr [ebp - 4], ebx */ 7422 RECOMP_ICALL(MEM32(0x2B0B56D4)); /* 0x2B08F9BE: call dword ptr [0x2b0b56d4] */ 7423 RECOMP_FLAGS_IN(); 7424 edx = eax; /* 0x2B08F9C4: mov edx, eax */ 7425 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7426 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08F9C6: or ecx, 0xffffffff */ 7427 _cf = 0; 7428 _flag_k = FK_TEST; 7429 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7430 eax = 0; /* 0x2B08F9C9: xor eax, eax */ 7431 _cf = 0; 7432 _flag_k = FK_TEST; 7433 edi = edx; /* 0x2B08F9CB: mov edi, edx */ 7434 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; } /* 0x2B08F9CD: repne scasb al, byte ptr es:[edi] */ 7435 ecx = ~ecx; /* 0x2B08F9CF: not ecx */ 7436 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7437 ecx = ecx - 1; /* 0x2B08F9D1: dec ecx */ 7438 _flag_k = FK_DEC; 7439 PUSH32(esp, ecx); /* 0x2B08F9D2: push ecx */ 7440 PUSH32(esp, edx); /* 0x2B08F9D3: push edx */ 7441 ecx = ebp + (-0x34); /* 0x2B08F9D4: lea ecx, [ebp - 0x34] */ 7442 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B08F9D7: call dword ptr [0x2b0b5188] */ 7443 RECOMP_FLAGS_IN(); 7444 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7445 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08F9DD: or ecx, 0xffffffff */ 7446 _cf = 0; 7447 _flag_k = FK_TEST; 7448 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7449 eax = 0; /* 0x2B08F9E0: xor eax, eax */ 7450 _cf = 0; 7451 _flag_k = FK_TEST; 7452 edi = 0x2B0ED2C8u; /* 0x2B08F9E2: mov edi, 0x2b0ed2c8 */ 7453 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; } /* 0x2B08F9E7: repne scasb al, byte ptr es:[edi] */ 7454 ecx = ~ecx; /* 0x2B08F9E9: not ecx */ 7455 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7456 ecx = ecx - 1; /* 0x2B08F9EB: dec ecx */ 7457 _flag_k = FK_DEC; 7458 PUSH32(esp, ecx); /* 0x2B08F9EC: push ecx */ 7459 PUSH32(esp, 0x2B0ED2C8u); /* 0x2B08F9ED: push 0x2b0ed2c8 */ 7460 ecx = ebp + (-0x34); /* 0x2B08F9F2: lea ecx, [ebp - 0x34] */ 7461 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B08F9F5: call dword ptr [0x2b0b5188] */ 7462 RECOMP_FLAGS_IN(); 7463 eax = MEM32(esi + 0x18); /* 0x2B08F9FB: mov eax, dword ptr [esi + 0x18] */ 7464 edx = MEM32(0x2B0B513C); /* 0x2B08F9FE: mov edx, dword ptr [0x2b0b513c] */ 7465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x20u); 7466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7467 eax = eax + 0x20u; /* 0x2B08FA04: add eax, 0x20 */ 7468 _flag_k = FK_ADD; 7469 eax = MEM32(eax + 0x4); /* 0x2B08FA07: mov eax, dword ptr [eax + 4] */ 7470 /* cmp eax, ebx */ /* 0x2B08FA0A: cmp eax, ebx */ 7471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7473 _flag_k = FK_CMP; 7474 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FA10; /* 0x2B08FA0C: je 0x2b08fa10 */ 7475 L_2B08FA0E: 7476 edx = eax; /* 0x2B08FA0E: mov edx, eax */ 7477 L_2B08FA10: 7478 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 7479 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08FA10: or ecx, 0xffffffff */ 7480 _cf = 0; 7481 _flag_k = FK_TEST; 7482 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7483 eax = 0; /* 0x2B08FA13: xor eax, eax */ 7484 _cf = 0; 7485 _flag_k = FK_TEST; 7486 edi = edx; /* 0x2B08FA15: mov edi, edx */ 7487 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; } /* 0x2B08FA17: repne scasb al, byte ptr es:[edi] */ 7488 ecx = ~ecx; /* 0x2B08FA19: not ecx */ 7489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7490 ecx = ecx - 1; /* 0x2B08FA1B: dec ecx */ 7491 _flag_k = FK_DEC; 7492 PUSH32(esp, ecx); /* 0x2B08FA1C: push ecx */ 7493 PUSH32(esp, edx); /* 0x2B08FA1D: push edx */ 7494 ecx = ebp + (-0x34); /* 0x2B08FA1E: lea ecx, [ebp - 0x34] */ 7495 RECOMP_ICALL(MEM32(0x2B0B5188)); /* 0x2B08FA21: call dword ptr [0x2b0b5188] */ 7496 RECOMP_FLAGS_IN(); 7497 eax = MEM32(esi + 0x30); /* 0x2B08FA27: mov eax, dword ptr [esi + 0x30] */ 7498 ecx = MEM32(esi + 0x2C); /* 0x2B08FA2A: mov ecx, dword ptr [esi + 0x2c] */ 7499 edx = esi + 0x28; /* 0x2B08FA2D: lea edx, [esi + 0x28] */ 7500 PUSH32(esp, eax); /* 0x2B08FA30: push eax */ 7501 PUSH32(esp, ecx); /* 0x2B08FA31: push ecx */ 7502 ecx = edx; /* 0x2B08FA32: mov ecx, edx */ 7503 RECOMP_ICALL(0x2B0909C0u); /* 0x2B08FA34: call 0x2b0909c0 */ /* not lifted */ 7504 RECOMP_FLAGS_IN(); 7505 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B08FA39: mov dl, byte ptr [ebp + 0xb] */ 7506 PUSH32(esp, ebx); /* 0x2B08FA3C: push ebx */ 7507 ecx = ebp + (-0x5C); /* 0x2B08FA3D: lea ecx, [ebp - 0x5c] */ 7508 MEM8(ebp + (-0x5C)) = (uint8_t)(LO8(edx)); /* 0x2B08FA40: mov byte ptr [ebp - 0x5c], dl */ 7509 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08FA43: call dword ptr [0x2b0b514c] */ 7510 RECOMP_FLAGS_IN(); 7511 MEM32(ebp + (-0x4C)) = ebx; /* 0x2B08FA49: mov dword ptr [ebp - 0x4c], ebx */ 7512 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08FA4C: mov byte ptr [ebp - 4], 1 */ 7513 MEM32(ebp + (-0x10)) = ebx; /* 0x2B08FA50: mov dword ptr [ebp - 0x10], ebx */ 7514 L_2B08FA53: 7515 eax = ebp + 0xB; /* 0x2B08FA53: lea eax, [ebp + 0xb] */ 7516 PUSH32(esp, eax); /* 0x2B08FA56: push eax */ 7517 ecx = ebp + (-0x48); /* 0x2B08FA57: lea ecx, [ebp - 0x48] */ 7518 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B08FA5A: call dword ptr [0x2b0b5190] */ 7519 RECOMP_FLAGS_IN(); 7520 MEM32(ebp + (-0x38)) = ebx; /* 0x2B08FA60: mov dword ptr [ebp - 0x38], ebx */ 7521 ecx = ebp + (-0x10); /* 0x2B08FA63: lea ecx, [ebp - 0x10] */ 7522 PUSH32(esp, ecx); /* 0x2B08FA66: push ecx */ 7523 edx = ebp + (-0x34); /* 0x2B08FA67: lea edx, [ebp - 0x34] */ 7524 PUSH32(esp, edx); /* 0x2B08FA6A: push edx */ 7525 ecx = ebp + (-0x48); /* 0x2B08FA6B: lea ecx, [ebp - 0x48] */ 7526 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B08FA6E: mov byte ptr [ebp - 4], 2 */ 7527 RECOMP_ICALL(MEM32(0x2B0B5790)); /* 0x2B08FA72: call dword ptr [0x2b0b5790] */ 7528 RECOMP_FLAGS_IN(); 7529 /* cmp MEM32(ebp + (-0x10)), 0xFFFFFFFFu */ /* 0x2B08FA78: cmp dword ptr [ebp - 0x10], -1 */ 7530 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(0xFFFFFFFFu); 7531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7532 _flag_k = FK_CMP; 7533 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FBDE; /* 0x2B08FA7C: je 0x2b08fbde */ 7534 L_2B08FA82: 7535 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B08FA82: mov al, byte ptr [ebp + 0xb] */ 7536 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x2B08FA85: mov byte ptr [ebp - 0x24], al */ 7537 MEM32(ebp + (-0x20)) = ebx; /* 0x2B08FA88: mov dword ptr [ebp - 0x20], ebx */ 7538 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B08FA8B: mov dword ptr [ebp - 0x1c], ebx */ 7539 MEM32(ebp + (-0x18)) = ebx; /* 0x2B08FA8E: mov dword ptr [ebp - 0x18], ebx */ 7540 ecx = ebp + (-0x24); /* 0x2B08FA91: lea ecx, [ebp - 0x24] */ 7541 PUSH32(esp, ecx); /* 0x2B08FA94: push ecx */ 7542 PUSH32(esp, 0x2B0ED2C4u); /* 0x2B08FA95: push 0x2b0ed2c4 */ 7543 ecx = ebp + (-0x48); /* 0x2B08FA9A: lea ecx, [ebp - 0x48] */ 7544 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B08FA9D: mov byte ptr [ebp - 4], 4 */ 7545 RECOMP_ICALL(MEM32(0x2B0B57E4)); /* 0x2B08FAA1: call dword ptr [0x2b0b57e4] */ 7546 RECOMP_FLAGS_IN(); 7547 /* test LO8(eax), LO8(eax) */ /* 0x2B08FAA7: test al, al */ 7548 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7549 _cf = 0; 7550 _flag_k = FK_NARROW(FK_TEST, 24); 7551 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FB17; /* 0x2B08FAA9: je 0x2b08fb17 */ 7552 L_2B08FAAB: 7553 edx = MEM32(0x2B0B515C); /* 0x2B08FAAB: mov edx, dword ptr [0x2b0b515c] */ 7554 eax = MEM32(edx); /* 0x2B08FAB1: mov eax, dword ptr [edx] */ 7555 ecx = MEM32(ebp + (-0x20)); /* 0x2B08FAB3: mov ecx, dword ptr [ebp - 0x20] */ 7556 PUSH32(esp, eax); /* 0x2B08FAB6: push eax */ 7557 PUSH32(esp, ebx); /* 0x2B08FAB7: push ebx */ 7558 PUSH32(esp, ecx); /* 0x2B08FAB8: push ecx */ 7559 ecx = ebp + (-0x48); /* 0x2B08FAB9: lea ecx, [ebp - 0x48] */ 7560 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08FABC: call dword ptr [0x2b0b5158] */ 7561 RECOMP_FLAGS_IN(); 7562 ecx = MEM32(ebp + (-0x20)); /* 0x2B08FAC2: mov ecx, dword ptr [ebp - 0x20] */ 7563 /* cmp ecx, ebx */ /* 0x2B08FAC5: cmp ecx, ebx */ 7564 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7566 _flag_k = FK_CMP; 7567 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FB17; /* 0x2B08FAC7: je 0x2b08fb17 */ 7568 L_2B08FAC9: 7569 eax = MEM32(ebp + (-0x1C)); /* 0x2B08FAC9: mov eax, dword ptr [ebp - 0x1c] */ 7570 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7572 eax = eax - ecx; /* 0x2B08FACC: sub eax, ecx */ 7573 _flag_k = FK_CMP; 7574 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B08FACE: sar eax, 4 */ 7575 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7576 eax = (uint32_t)((int32_t)eax >> 4u); 7577 /* cmp eax, 1 */ /* 0x2B08FAD1: cmp eax, 1 */ 7578 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7580 _flag_k = FK_CMP; 7581 if (CMP_LE(_flag_a, _flag_b)) goto L_2B08FB17; /* 0x2B08FAD4: jle 0x2b08fb17 */ 7582 L_2B08FAD6: 7583 esi = 0x10u; /* 0x2B08FAD6: mov esi, 0x10 */ 7584 edi = eax + (-0x1); /* 0x2B08FADB: lea edi, [eax - 1] */ 7585 goto L_2B08FAE3; /* 0x2B08FADE: jmp 0x2b08fae3 */ 7586 L_2B08FAE0: 7587 ecx = MEM32(ebp + (-0x20)); /* 0x2B08FAE0: mov ecx, dword ptr [ebp - 0x20] */ 7588 L_2B08FAE3: 7589 eax = MEM32(esi + ecx + 0x8); /* 0x2B08FAE3: mov eax, dword ptr [esi + ecx + 8] */ 7590 ecx = MEM32(esi + ecx + 0x4); /* 0x2B08FAE7: mov ecx, dword ptr [esi + ecx + 4] */ 7591 /* cmp ecx, ebx */ /* 0x2B08FAEB: cmp ecx, ebx */ 7592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7594 _flag_k = FK_CMP; 7595 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FAF5; /* 0x2B08FAED: jne 0x2b08faf5 */ 7596 L_2B08FAEF: 7597 ecx = MEM32(0x2B0B513C); /* 0x2B08FAEF: mov ecx, dword ptr [0x2b0b513c] */ 7598 L_2B08FAF5: 7599 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7600 eax = eax - 1; /* 0x2B08FAF5: dec eax */ 7601 _flag_k = FK_DEC; 7602 PUSH32(esp, eax); /* 0x2B08FAF6: push eax */ 7603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7604 ecx = ecx + 1; /* 0x2B08FAF7: inc ecx */ 7605 _flag_k = FK_INC; 7606 PUSH32(esp, ecx); /* 0x2B08FAF8: push ecx */ 7607 PUSH32(esp, 0x8Du); /* 0x2B08FAF9: push 0x8d */ 7608 PUSH32(esp, 3); /* 0x2B08FAFE: push 3 */ 7609 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B08FB00: call dword ptr [0x2b0b53cc] */ 7610 RECOMP_FLAGS_IN(); 7611 ecx = eax; /* 0x2B08FB06: mov ecx, eax */ 7612 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B08FB08: call dword ptr [0x2b0b53c4] */ 7613 RECOMP_FLAGS_IN(); 7614 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 7615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7616 esi = esi + 0x10u; /* 0x2B08FB0E: add esi, 0x10 */ 7617 _flag_k = FK_ADD; 7618 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 7619 edi = edi - 1; /* 0x2B08FB11: dec edi */ 7620 _flag_k = FK_DEC; 7621 RECOMP_BACKEDGE(); 7622 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B08FAE0; /* 0x2B08FB12: jne 0x2b08fae0 */ 7623 L_2B08FB14: 7624 esi = MEM32(ebp + (-0x14)); /* 0x2B08FB14: mov esi, dword ptr [ebp - 0x14] */ 7625 L_2B08FB17: 7626 /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2B08FB17: cmp dword ptr [ebp - 0x10], ebx */ 7627 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx); 7628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7629 _flag_k = FK_CMP; 7630 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FB4F; /* 0x2B08FB1A: jne 0x2b08fb4f */ 7631 L_2B08FB1C: 7632 edx = MEM32(esi + 0x68); /* 0x2B08FB1C: mov edx, dword ptr [esi + 0x68] */ 7633 ecx = MEM32(edx + 0x28); /* 0x2B08FB1F: mov ecx, dword ptr [edx + 0x28] */ 7634 PUSH32(esp, 1); /* 0x2B08FB22: push 1 */ 7635 PUSH32(esp, ebx); /* 0x2B08FB24: push ebx */ 7636 PUSH32(esp, ebx); /* 0x2B08FB25: push ebx */ 7637 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B08FB26: call dword ptr [0x2b0b564c] */ 7638 RECOMP_FLAGS_IN(); 7639 ecx = MEM32(0x2B0B515C); /* 0x2B08FB2C: mov ecx, dword ptr [0x2b0b515c] */ 7640 edx = MEM32(ecx); /* 0x2B08FB32: mov edx, dword ptr [ecx] */ 7641 eax = MEM32(esi + 0x6C); /* 0x2B08FB34: mov eax, dword ptr [esi + 0x6c] */ 7642 PUSH32(esp, edx); /* 0x2B08FB37: push edx */ 7643 PUSH32(esp, ebx); /* 0x2B08FB38: push ebx */ 7644 ecx = ebp + (-0x48); /* 0x2B08FB39: lea ecx, [ebp - 0x48] */ 7645 PUSH32(esp, ecx); /* 0x2B08FB3C: push ecx */ 7646 ecx = eax + 0x14; /* 0x2B08FB3D: lea ecx, [eax + 0x14] */ 7647 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B08FB40: call dword ptr [0x2b0b5158] */ 7648 RECOMP_FLAGS_IN(); 7649 eax = MEM32(esi + 0x6C); /* 0x2B08FB46: mov eax, dword ptr [esi + 0x6c] */ 7650 MEM8(eax + 0x9) = (uint8_t)(1); /* 0x2B08FB49: mov byte ptr [eax + 9], 1 */ 7651 goto L_2B08FB61; /* 0x2B08FB4D: jmp 0x2b08fb61 */ 7652 L_2B08FB4F: 7653 eax = MEM32(esi + 0x30); /* 0x2B08FB4F: mov eax, dword ptr [esi + 0x30] */ 7654 edx = ebp + (-0x48); /* 0x2B08FB52: lea edx, [ebp - 0x48] */ 7655 PUSH32(esp, edx); /* 0x2B08FB55: push edx */ 7656 ecx = esi + 0x28; /* 0x2B08FB56: lea ecx, [esi + 0x28] */ 7657 PUSH32(esp, 1); /* 0x2B08FB59: push 1 */ 7658 PUSH32(esp, eax); /* 0x2B08FB5B: push eax */ 7659 RECOMP_ICALL(0x2B090A30u); /* 0x2B08FB5C: call 0x2b090a30 */ /* not lifted */ 7660 RECOMP_FLAGS_IN(); 7661 L_2B08FB61: 7662 edi = MEM32(ebp + (-0x1C)); /* 0x2B08FB61: mov edi, dword ptr [ebp - 0x1c] */ 7663 esi = MEM32(ebp + (-0x20)); /* 0x2B08FB64: mov esi, dword ptr [ebp - 0x20] */ 7664 /* cmp esi, edi */ /* 0x2B08FB67: cmp esi, edi */ 7665 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 7666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7667 _flag_k = FK_CMP; 7668 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B08FB69: mov byte ptr [ebp - 4], 2 */ 7669 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FB81; /* 0x2B08FB6D: je 0x2b08fb81 */ 7670 L_2B08FB6F: 7671 PUSH32(esp, ebx); /* 0x2B08FB6F: push ebx */ 7672 ecx = esi; /* 0x2B08FB70: mov ecx, esi */ 7673 RECOMP_ICALL(0x2B003E70u); /* 0x2B08FB72: call 0x2b003e70 */ /* not lifted */ 7674 RECOMP_FLAGS_IN(); 7675 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 7676 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7677 esi = esi + 0x10u; /* 0x2B08FB77: add esi, 0x10 */ 7678 _flag_k = FK_ADD; 7679 /* cmp esi, edi */ /* 0x2B08FB7A: cmp esi, edi */ 7680 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 7681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7682 _flag_k = FK_CMP; 7683 RECOMP_BACKEDGE(); 7684 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FB6F; /* 0x2B08FB7C: jne 0x2b08fb6f */ 7685 L_2B08FB7E: 7686 esi = MEM32(ebp + (-0x20)); /* 0x2B08FB7E: mov esi, dword ptr [ebp - 0x20] */ 7687 L_2B08FB81: 7688 PUSH32(esp, esi); /* 0x2B08FB81: push esi */ 7689 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08FB82: call 0x2b0ab1ba */ /* not lifted */ 7690 RECOMP_FLAGS_IN(); 7691 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7692 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7693 esp = esp + 4; /* 0x2B08FB87: add esp, 4 */ 7694 _flag_k = FK_ADD; 7695 MEM32(ebp + (-0x20)) = ebx; /* 0x2B08FB8A: mov dword ptr [ebp - 0x20], ebx */ 7696 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B08FB8D: mov dword ptr [ebp - 0x1c], ebx */ 7697 MEM32(ebp + (-0x18)) = ebx; /* 0x2B08FB90: mov dword ptr [ebp - 0x18], ebx */ 7698 eax = MEM32(ebp + (-0x38)); /* 0x2B08FB93: mov eax, dword ptr [ebp - 0x38] */ 7699 /* cmp eax, ebx */ /* 0x2B08FB96: cmp eax, ebx */ 7700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7702 _flag_k = FK_CMP; 7703 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B08FB98: mov byte ptr [ebp - 4], 5 */ 7704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FBBA; /* 0x2B08FB9C: je 0x2b08fbba */ 7705 L_2B08FB9E: 7706 esi = MEM32(eax + 0x2C); /* 0x2B08FB9E: mov esi, dword ptr [eax + 0x2c] */ 7707 ecx = eax; /* 0x2B08FBA1: mov ecx, eax */ 7708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 7709 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7710 eax = eax + 0x2Cu; /* 0x2B08FBA3: add eax, 0x2c */ 7711 _flag_k = FK_ADD; 7712 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 7713 esi = esi - 1; /* 0x2B08FBA6: dec esi */ 7714 _flag_k = FK_DEC; 7715 edx = esi; /* 0x2B08FBA7: mov edx, esi */ 7716 /* cmp edx, ebx */ /* 0x2B08FBA9: cmp edx, ebx */ 7717 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 7718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7719 _flag_k = FK_CMP; 7720 MEM32(eax) = esi; /* 0x2B08FBAB: mov dword ptr [eax], esi */ 7721 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FBBA; /* 0x2B08FBAD: jne 0x2b08fbba */ 7722 L_2B08FBAF: 7723 /* cmp ecx, ebx */ /* 0x2B08FBAF: cmp ecx, ebx */ 7724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7726 _flag_k = FK_CMP; 7727 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FBBA; /* 0x2B08FBB1: je 0x2b08fbba */ 7728 L_2B08FBB3: 7729 PUSH32(esp, 1); /* 0x2B08FBB3: push 1 */ 7730 RECOMP_ICALL(0x2B007900u); /* 0x2B08FBB5: call 0x2b007900 */ /* not lifted */ 7731 RECOMP_FLAGS_IN(); 7732 L_2B08FBBA: 7733 PUSH32(esp, 1); /* 0x2B08FBBA: push 1 */ 7734 ecx = ebp + (-0x48); /* 0x2B08FBBC: lea ecx, [ebp - 0x48] */ 7735 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08FBBF: mov byte ptr [ebp - 4], 1 */ 7736 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08FBC3: call dword ptr [0x2b0b514c] */ 7737 RECOMP_FLAGS_IN(); 7738 eax = MEM32(ebp + (-0x10)); /* 0x2B08FBC9: mov eax, dword ptr [ebp - 0x10] */ 7739 esi = MEM32(ebp + (-0x14)); /* 0x2B08FBCC: mov esi, dword ptr [ebp - 0x14] */ 7740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7741 eax = eax + 1; /* 0x2B08FBCF: inc eax */ 7742 _flag_k = FK_INC; 7743 /* cmp eax, 0x3Cu */ /* 0x2B08FBD0: cmp eax, 0x3c */ 7744 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x3Cu); 7745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7746 _flag_k = FK_CMP; 7747 MEM32(ebp + (-0x10)) = eax; /* 0x2B08FBD3: mov dword ptr [ebp - 0x10], eax */ 7748 RECOMP_BACKEDGE(); 7749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FA53; /* 0x2B08FBD6: jne 0x2b08fa53 */ 7750 L_2B08FBDC: 7751 goto L_2B08FBFD; /* 0x2B08FBDC: jmp 0x2b08fbfd */ 7752 L_2B08FBDE: 7753 ecx = MEM32(ebp + (-0x38)); /* 0x2B08FBDE: mov ecx, dword ptr [ebp - 0x38] */ 7754 /* cmp ecx, ebx */ /* 0x2B08FBE1: cmp ecx, ebx */ 7755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7757 _flag_k = FK_CMP; 7758 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B08FBE3: mov byte ptr [ebp - 4], 3 */ 7759 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FBEE; /* 0x2B08FBE7: je 0x2b08fbee */ 7760 L_2B08FBE9: 7761 RECOMP_ICALL(0x2B005B20u); /* 0x2B08FBE9: call 0x2b005b20 */ /* not lifted */ 7762 RECOMP_FLAGS_IN(); 7763 L_2B08FBEE: 7764 PUSH32(esp, 1); /* 0x2B08FBEE: push 1 */ 7765 ecx = ebp + (-0x48); /* 0x2B08FBF0: lea ecx, [ebp - 0x48] */ 7766 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B08FBF3: mov byte ptr [ebp - 4], 1 */ 7767 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08FBF7: call dword ptr [0x2b0b514c] */ 7768 RECOMP_FLAGS_IN(); 7769 L_2B08FBFD: 7770 ecx = esi; /* 0x2B08FBFD: mov ecx, esi */ 7771 MEM32(esi + 0x1C) = ebx; /* 0x2B08FBFF: mov dword ptr [esi + 0x1c], ebx */ 7772 RECOMP_ICALL(0x2B08FC90u); /* 0x2B08FC02: call 0x2b08fc90 */ /* not lifted */ 7773 RECOMP_FLAGS_IN(); 7774 eax = MEM32(ebp + (-0x4C)); /* 0x2B08FC07: mov eax, dword ptr [ebp - 0x4c] */ 7775 /* cmp eax, ebx */ /* 0x2B08FC0A: cmp eax, ebx */ 7776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 7777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7778 _flag_k = FK_CMP; 7779 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B08FC0C: mov byte ptr [ebp - 4], 6 */ 7780 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FC2E; /* 0x2B08FC10: je 0x2b08fc2e */ 7781 L_2B08FC12: 7782 esi = MEM32(eax + 0x2C); /* 0x2B08FC12: mov esi, dword ptr [eax + 0x2c] */ 7783 ecx = eax; /* 0x2B08FC15: mov ecx, eax */ 7784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 7785 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7786 eax = eax + 0x2Cu; /* 0x2B08FC17: add eax, 0x2c */ 7787 _flag_k = FK_ADD; 7788 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 7789 esi = esi - 1; /* 0x2B08FC1A: dec esi */ 7790 _flag_k = FK_DEC; 7791 edx = esi; /* 0x2B08FC1B: mov edx, esi */ 7792 /* cmp edx, ebx */ /* 0x2B08FC1D: cmp edx, ebx */ 7793 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 7794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7795 _flag_k = FK_CMP; 7796 MEM32(eax) = esi; /* 0x2B08FC1F: mov dword ptr [eax], esi */ 7797 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FC2E; /* 0x2B08FC21: jne 0x2b08fc2e */ 7798 L_2B08FC23: 7799 /* cmp ecx, ebx */ /* 0x2B08FC23: cmp ecx, ebx */ 7800 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7802 _flag_k = FK_CMP; 7803 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FC2E; /* 0x2B08FC25: je 0x2b08fc2e */ 7804 L_2B08FC27: 7805 PUSH32(esp, 1); /* 0x2B08FC27: push 1 */ 7806 RECOMP_ICALL(0x2B007900u); /* 0x2B08FC29: call 0x2b007900 */ /* not lifted */ 7807 RECOMP_FLAGS_IN(); 7808 L_2B08FC2E: 7809 PUSH32(esp, 1); /* 0x2B08FC2E: push 1 */ 7810 ecx = ebp + (-0x5C); /* 0x2B08FC30: lea ecx, [ebp - 0x5c] */ 7811 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B08FC33: mov byte ptr [ebp - 4], bl */ 7812 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08FC36: call dword ptr [0x2b0b514c] */ 7813 RECOMP_FLAGS_IN(); 7814 ecx = MEM32(ebp + (-0x30)); /* 0x2B08FC3C: mov ecx, dword ptr [ebp - 0x30] */ 7815 /* cmp ecx, ebx */ /* 0x2B08FC3F: cmp ecx, ebx */ 7816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7818 _flag_k = FK_CMP; 7819 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FC70; /* 0x2B08FC41: je 0x2b08fc70 */ 7820 L_2B08FC43: 7821 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B08FC43: mov al, byte ptr [ecx - 1] */ 7822 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B08FC46: cmp al, bl */ 7823 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7825 _flag_k = FK_NARROW(FK_CMP, 24); 7826 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FC66; /* 0x2B08FC48: je 0x2b08fc66 */ 7827 L_2B08FC4A: 7828 /* cmp LO8(eax), 0xFFu */ /* 0x2B08FC4A: cmp al, 0xff */ 7829 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7831 _flag_k = FK_NARROW(FK_CMP, 24); 7832 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FC66; /* 0x2B08FC4C: je 0x2b08fc66 */ 7833 L_2B08FC4E: 7834 edi = POP32_VAL(esp); /* 0x2B08FC4E: pop edi */ 7835 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7836 SET_LO8(eax, LO8(eax) - 1); /* 0x2B08FC4F: dec al */ 7837 _flag_k = FK_NARROW(FK_DEC, 24); 7838 esi = POP32_VAL(esp); /* 0x2B08FC51: pop esi */ 7839 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B08FC52: mov byte ptr [ecx - 1], al */ 7840 ebx = POP32_VAL(esp); /* 0x2B08FC55: pop ebx */ 7841 ecx = MEM32(ebp + (-0xC)); /* 0x2B08FC56: mov ecx, dword ptr [ebp - 0xc] */ 7842 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08FC59: mov dword ptr fs:[0], ecx */ 7843 esp = ebp; /* 0x2B08FC60: mov esp, ebp */ 7844 ebp = POP32_VAL(esp); /* 0x2B08FC62: pop ebp */ 7845 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B08FC63: ret 4 */ 7846 L_2B08FC66: 7847 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7848 ecx = ecx - 1; /* 0x2B08FC66: dec ecx */ 7849 _flag_k = FK_DEC; 7850 PUSH32(esp, ecx); /* 0x2B08FC67: push ecx */ 7851 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B08FC68: call 0x2b0ab1ba */ /* not lifted */ 7852 RECOMP_FLAGS_IN(); 7853 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7855 esp = esp + 4; /* 0x2B08FC6D: add esp, 4 */ 7856 _flag_k = FK_ADD; 7857 L_2B08FC70: 7858 ecx = MEM32(ebp + (-0xC)); /* 0x2B08FC70: mov ecx, dword ptr [ebp - 0xc] */ 7859 edi = POP32_VAL(esp); /* 0x2B08FC73: pop edi */ 7860 esi = POP32_VAL(esp); /* 0x2B08FC74: pop esi */ 7861 ebx = POP32_VAL(esp); /* 0x2B08FC75: pop ebx */ 7862 MEM32(FS_BASE + (0)) = ecx; /* 0x2B08FC76: mov dword ptr fs:[0], ecx */ 7863 esp = ebp; /* 0x2B08FC7D: mov esp, ebp */ 7864 ebp = POP32_VAL(esp); /* 0x2B08FC7F: pop ebp */ 7865 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B08FC80: ret 4 */ 7866 RECOMP_REGS_OUT(); 7867 } 7868 7869 void sub_2B08FC90(void) { 7870 int _fpu_cmp = 0; 7871 uint32_t _cf = 0; 7872 int _df = 1; 7873 uint32_t _flag_k = FK_NONE; 7874 uint32_t _flag_a = 0, _flag_b = 0; 7875 uint32_t _itail_tgt = 0; 7876 RECOMP_REGS_LOCALS 7877 RECOMP_ENTER(0x2B08FC90u); 7878 7879 L_2B08FC90: 7880 PUSH32(esp, ebx); /* 0x2B08FC90: push ebx */ 7881 ebx = MEM32(0x2B0B564C); /* 0x2B08FC91: mov ebx, dword ptr [0x2b0b564c] */ 7882 PUSH32(esp, esi); /* 0x2B08FC97: push esi */ 7883 esi = ecx; /* 0x2B08FC98: mov esi, ecx */ 7884 eax = MEM32(esi + 0x24); /* 0x2B08FC9A: mov eax, dword ptr [esi + 0x24] */ 7885 /* test eax, eax */ /* 0x2B08FC9D: test eax, eax */ 7886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7887 _cf = 0; 7888 _flag_k = FK_TEST; 7889 ecx = MEM32(esi + 0x7C); /* 0x2B08FC9F: mov ecx, dword ptr [esi + 0x7c] */ 7890 PUSH32(esp, edi); /* 0x2B08FCA2: push edi */ 7891 edi = MEM32(0x2B0B5B34); /* 0x2B08FCA3: mov edi, dword ptr [0x2b0b5b34] */ 7892 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08FCBD; /* 0x2B08FCA9: jne 0x2b08fcbd */ 7893 L_2B08FCAB: 7894 RECOMP_ICALL(edi); /* 0x2B08FCAB: call edi */ 7895 RECOMP_FLAGS_IN(); 7896 eax = MEM32(esi + 0x74); /* 0x2B08FCAD: mov eax, dword ptr [esi + 0x74] */ 7897 ecx = MEM32(eax + 0x28); /* 0x2B08FCB0: mov ecx, dword ptr [eax + 0x28] */ 7898 PUSH32(esp, 1); /* 0x2B08FCB3: push 1 */ 7899 PUSH32(esp, 0); /* 0x2B08FCB5: push 0 */ 7900 PUSH32(esp, 0); /* 0x2B08FCB7: push 0 */ 7901 RECOMP_ICALL(ebx); /* 0x2B08FCB9: call ebx */ 7902 RECOMP_FLAGS_IN(); 7903 goto L_2B08FCC3; /* 0x2B08FCBB: jmp 0x2b08fcc3 */ 7904 L_2B08FCBD: 7905 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B08FCBD: call dword ptr [0x2b0b5b3c] */ 7906 RECOMP_FLAGS_IN(); 7907 L_2B08FCC3: 7908 ecx = MEM32(esi + 0x20); /* 0x2B08FCC3: mov ecx, dword ptr [esi + 0x20] */ 7909 edx = MEM32(ecx + 0x8); /* 0x2B08FCC6: mov edx, dword ptr [ecx + 8] */ 7910 eax = MEM32(esi + 0x24); /* 0x2B08FCC9: mov eax, dword ptr [esi + 0x24] */ 7911 ecx = MEM32(esi + 0x78); /* 0x2B08FCCC: mov ecx, dword ptr [esi + 0x78] */ 7912 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 7913 edx = edx - 1; /* 0x2B08FCCF: dec edx */ 7914 _flag_k = FK_DEC; 7915 /* cmp eax, edx */ /* 0x2B08FCD0: cmp eax, edx */ 7916 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7918 _flag_k = FK_CMP; 7919 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FCF8; /* 0x2B08FCD2: jne 0x2b08fcf8 */ 7920 L_2B08FCD4: 7921 RECOMP_ICALL(edi); /* 0x2B08FCD4: call edi */ 7922 RECOMP_FLAGS_IN(); 7923 eax = MEM32(esi + 0x74); /* 0x2B08FCD6: mov eax, dword ptr [esi + 0x74] */ 7924 ecx = MEM32(eax + 0x28); /* 0x2B08FCD9: mov ecx, dword ptr [eax + 0x28] */ 7925 PUSH32(esp, 1); /* 0x2B08FCDC: push 1 */ 7926 PUSH32(esp, 0); /* 0x2B08FCDE: push 0 */ 7927 PUSH32(esp, 0); /* 0x2B08FCE0: push 0 */ 7928 RECOMP_ICALL(ebx); /* 0x2B08FCE2: call ebx */ 7929 RECOMP_FLAGS_IN(); 7930 ecx = MEM32(esi + 0x7C); /* 0x2B08FCE4: mov ecx, dword ptr [esi + 0x7c] */ 7931 edi = MEM32(0x2B0B5960); /* 0x2B08FCE7: mov edi, dword ptr [0x2b0b5960] */ 7932 RECOMP_ICALL(edi); /* 0x2B08FCED: call edi */ 7933 RECOMP_FLAGS_IN(); 7934 ecx = MEM32(esi + 0x78); /* 0x2B08FCEF: mov ecx, dword ptr [esi + 0x78] */ 7935 RECOMP_ICALL(edi); /* 0x2B08FCF2: call edi */ 7936 RECOMP_FLAGS_IN(); 7937 edi = POP32_VAL(esp); /* 0x2B08FCF4: pop edi */ 7938 esi = POP32_VAL(esp); /* 0x2B08FCF5: pop esi */ 7939 ebx = POP32_VAL(esp); /* 0x2B08FCF6: pop ebx */ 7940 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08FCF7: ret */ 7941 L_2B08FCF8: 7942 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B08FCF8: call dword ptr [0x2b0b5b3c] */ 7943 RECOMP_FLAGS_IN(); 7944 ecx = MEM32(esi + 0x7C); /* 0x2B08FCFE: mov ecx, dword ptr [esi + 0x7c] */ 7945 edi = MEM32(0x2B0B5960); /* 0x2B08FD01: mov edi, dword ptr [0x2b0b5960] */ 7946 RECOMP_ICALL(edi); /* 0x2B08FD07: call edi */ 7947 RECOMP_FLAGS_IN(); 7948 ecx = MEM32(esi + 0x78); /* 0x2B08FD09: mov ecx, dword ptr [esi + 0x78] */ 7949 RECOMP_ICALL(edi); /* 0x2B08FD0C: call edi */ 7950 RECOMP_FLAGS_IN(); 7951 edi = POP32_VAL(esp); /* 0x2B08FD0E: pop edi */ 7952 esi = POP32_VAL(esp); /* 0x2B08FD0F: pop esi */ 7953 ebx = POP32_VAL(esp); /* 0x2B08FD10: pop ebx */ 7954 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08FD11: ret */ 7955 RECOMP_REGS_OUT(); 7956 } 7957 7958 void sub_2B08FCC3(void) { 7959 int _fpu_cmp = 0; 7960 uint32_t _cf = 0; 7961 int _df = 1; 7962 uint32_t _flag_k = FK_NONE; 7963 uint32_t _flag_a = 0, _flag_b = 0; 7964 uint32_t _itail_tgt = 0; 7965 RECOMP_REGS_LOCALS 7966 RECOMP_ENTER(0x2B08FCC3u); 7967 7968 L_2B08FCC3: 7969 ecx = MEM32(esi + 0x20); /* 0x2B08FCC3: mov ecx, dword ptr [esi + 0x20] */ 7970 edx = MEM32(ecx + 0x8); /* 0x2B08FCC6: mov edx, dword ptr [ecx + 8] */ 7971 eax = MEM32(esi + 0x24); /* 0x2B08FCC9: mov eax, dword ptr [esi + 0x24] */ 7972 ecx = MEM32(esi + 0x78); /* 0x2B08FCCC: mov ecx, dword ptr [esi + 0x78] */ 7973 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 7974 edx = edx - 1; /* 0x2B08FCCF: dec edx */ 7975 _flag_k = FK_DEC; 7976 /* cmp eax, edx */ /* 0x2B08FCD0: cmp eax, edx */ 7977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7979 _flag_k = FK_CMP; 7980 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FCF8; /* 0x2B08FCD2: jne 0x2b08fcf8 */ 7981 L_2B08FCD4: 7982 RECOMP_ICALL(edi); /* 0x2B08FCD4: call edi */ 7983 RECOMP_FLAGS_IN(); 7984 eax = MEM32(esi + 0x74); /* 0x2B08FCD6: mov eax, dword ptr [esi + 0x74] */ 7985 ecx = MEM32(eax + 0x28); /* 0x2B08FCD9: mov ecx, dword ptr [eax + 0x28] */ 7986 PUSH32(esp, 1); /* 0x2B08FCDC: push 1 */ 7987 PUSH32(esp, 0); /* 0x2B08FCDE: push 0 */ 7988 PUSH32(esp, 0); /* 0x2B08FCE0: push 0 */ 7989 RECOMP_ICALL(ebx); /* 0x2B08FCE2: call ebx */ 7990 RECOMP_FLAGS_IN(); 7991 ecx = MEM32(esi + 0x7C); /* 0x2B08FCE4: mov ecx, dword ptr [esi + 0x7c] */ 7992 edi = MEM32(0x2B0B5960); /* 0x2B08FCE7: mov edi, dword ptr [0x2b0b5960] */ 7993 RECOMP_ICALL(edi); /* 0x2B08FCED: call edi */ 7994 RECOMP_FLAGS_IN(); 7995 ecx = MEM32(esi + 0x78); /* 0x2B08FCEF: mov ecx, dword ptr [esi + 0x78] */ 7996 RECOMP_ICALL(edi); /* 0x2B08FCF2: call edi */ 7997 RECOMP_FLAGS_IN(); 7998 edi = POP32_VAL(esp); /* 0x2B08FCF4: pop edi */ 7999 esi = POP32_VAL(esp); /* 0x2B08FCF5: pop esi */ 8000 ebx = POP32_VAL(esp); /* 0x2B08FCF6: pop ebx */ 8001 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08FCF7: ret */ 8002 L_2B08FCF8: 8003 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B08FCF8: call dword ptr [0x2b0b5b3c] */ 8004 RECOMP_FLAGS_IN(); 8005 ecx = MEM32(esi + 0x7C); /* 0x2B08FCFE: mov ecx, dword ptr [esi + 0x7c] */ 8006 edi = MEM32(0x2B0B5960); /* 0x2B08FD01: mov edi, dword ptr [0x2b0b5960] */ 8007 RECOMP_ICALL(edi); /* 0x2B08FD07: call edi */ 8008 RECOMP_FLAGS_IN(); 8009 ecx = MEM32(esi + 0x78); /* 0x2B08FD09: mov ecx, dword ptr [esi + 0x78] */ 8010 RECOMP_ICALL(edi); /* 0x2B08FD0C: call edi */ 8011 RECOMP_FLAGS_IN(); 8012 edi = POP32_VAL(esp); /* 0x2B08FD0E: pop edi */ 8013 esi = POP32_VAL(esp); /* 0x2B08FD0F: pop esi */ 8014 ebx = POP32_VAL(esp); /* 0x2B08FD10: pop ebx */ 8015 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08FD11: ret */ 8016 RECOMP_REGS_OUT(); 8017 } 8018 8019 void sub_2B08FD20(void) { 8020 int _fpu_cmp = 0; 8021 uint32_t _cf = 0; 8022 int _df = 1; 8023 uint32_t _flag_k = FK_NONE; 8024 uint32_t _flag_a = 0, _flag_b = 0; 8025 uint32_t _itail_tgt = 0; 8026 RECOMP_REGS_LOCALS 8027 RECOMP_ENTER(0x2B08FD20u); 8028 8029 L_2B08FD20: 8030 PUSH32(esp, ebx); /* 0x2B08FD20: push ebx */ 8031 PUSH32(esp, esi); /* 0x2B08FD21: push esi */ 8032 esi = ecx; /* 0x2B08FD22: mov esi, ecx */ 8033 SET_LO8(eax, MEM8(esi + 0x15)); /* 0x2B08FD24: mov al, byte ptr [esi + 0x15] */ 8034 /* test LO8(eax), LO8(eax) */ /* 0x2B08FD27: test al, al */ 8035 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8036 _cf = 0; 8037 _flag_k = FK_NARROW(FK_TEST, 24); 8038 PUSH32(esp, edi); /* 0x2B08FD29: push edi */ 8039 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FDA3; /* 0x2B08FD2A: je 0x2b08fda3 */ 8040 L_2B08FD2C: 8041 eax = MEM32(esi + 0x60); /* 0x2B08FD2C: mov eax, dword ptr [esi + 0x60] */ 8042 /* test eax, eax */ /* 0x2B08FD2F: test eax, eax */ 8043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8044 _cf = 0; 8045 _flag_k = FK_TEST; 8046 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FD6E; /* 0x2B08FD31: je 0x2b08fd6e */ 8047 L_2B08FD33: 8048 eax = MEM32(eax + 0x54); /* 0x2B08FD33: mov eax, dword ptr [eax + 0x54] */ 8049 edx = 1; /* 0x2B08FD36: mov edx, 1 */ 8050 /* cmp eax, edx */ /* 0x2B08FD3B: cmp eax, edx */ 8051 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8053 _flag_k = FK_CMP; 8054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FD6E; /* 0x2B08FD3D: je 0x2b08fd6e */ 8055 L_2B08FD3F: 8056 /* cmp eax, 3 */ /* 0x2B08FD3F: cmp eax, 3 */ 8057 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 8058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8059 _flag_k = FK_CMP; 8060 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FD6E; /* 0x2B08FD42: je 0x2b08fd6e */ 8061 L_2B08FD44: 8062 /* cmp eax, 2 */ /* 0x2B08FD44: cmp eax, 2 */ 8063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 8064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8065 _flag_k = FK_CMP; 8066 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FD4E; /* 0x2B08FD47: je 0x2b08fd4e */ 8067 L_2B08FD49: 8068 /* cmp eax, 4 */ /* 0x2B08FD49: cmp eax, 4 */ 8069 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8071 _flag_k = FK_CMP; 8072 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FD6E; /* 0x2B08FD4C: jne 0x2b08fd6e */ 8073 L_2B08FD4E: 8074 eax = MEM32(esi + 0x20); /* 0x2B08FD4E: mov eax, dword ptr [esi + 0x20] */ 8075 ecx = MEM32(eax + 0x4); /* 0x2B08FD51: mov ecx, dword ptr [eax + 4] */ 8076 eax = MEM32(ecx); /* 0x2B08FD54: mov eax, dword ptr [ecx] */ 8077 /* cmp eax, ecx */ /* 0x2B08FD56: cmp eax, ecx */ 8078 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8080 _flag_k = FK_CMP; 8081 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FD6E; /* 0x2B08FD58: je 0x2b08fd6e */ 8082 L_2B08FD5A: 8083 SET_LO8(ecx, MEM8(eax + 0x3C)); /* 0x2B08FD5A: mov cl, byte ptr [eax + 0x3c] */ 8084 /* test LO8(ecx), LO8(ecx) */ /* 0x2B08FD5D: test cl, cl */ 8085 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 8086 _cf = 0; 8087 _flag_k = FK_NARROW(FK_TEST, 24); 8088 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08FD64; /* 0x2B08FD5F: jne 0x2b08fd64 */ 8089 L_2B08FD61: 8090 MEM8(eax + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B08FD61: mov byte ptr [eax + 0x3c], dl */ 8091 L_2B08FD64: 8092 ecx = MEM32(esi + 0x20); /* 0x2B08FD64: mov ecx, dword ptr [esi + 0x20] */ 8093 eax = MEM32(eax); /* 0x2B08FD67: mov eax, dword ptr [eax] */ 8094 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B08FD69: cmp eax, dword ptr [ecx + 4] */ 8095 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 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_2B08FD5A; /* 0x2B08FD6C: jne 0x2b08fd5a */ 8100 L_2B08FD6E: 8101 edi = MEM32(esi + 0x20); /* 0x2B08FD6E: mov edi, dword ptr [esi + 0x20] */ 8102 ecx = MEM32(edi + 0x4); /* 0x2B08FD71: mov ecx, dword ptr [edi + 4] */ 8103 eax = MEM32(ecx); /* 0x2B08FD74: mov eax, dword ptr [ecx] */ 8104 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8105 edx = 0; /* 0x2B08FD76: xor edx, edx */ 8106 _cf = 0; 8107 _flag_k = FK_TEST; 8108 /* cmp eax, ecx */ /* 0x2B08FD78: cmp eax, ecx */ 8109 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8111 _flag_k = FK_CMP; 8112 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B08FDA3; /* 0x2B08FD7A: je 0x2b08fda3 */ 8113 L_2B08FD7C: 8114 SET_LO8(ebx, MEM8(eax + 0x3C)); /* 0x2B08FD7C: mov bl, byte ptr [eax + 0x3c] */ 8115 /* test LO8(ebx), LO8(ebx) */ /* 0x2B08FD7F: test bl, bl */ 8116 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8117 _cf = 0; 8118 _flag_k = FK_NARROW(FK_TEST, 24); 8119 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FD91; /* 0x2B08FD81: je 0x2b08fd91 */ 8120 L_2B08FD83: 8121 eax = MEM32(eax); /* 0x2B08FD83: mov eax, dword ptr [eax] */ 8122 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 8123 edx = edx + 1; /* 0x2B08FD85: inc edx */ 8124 _flag_k = FK_INC; 8125 /* cmp eax, ecx */ /* 0x2B08FD86: cmp eax, ecx */ 8126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8128 _flag_k = FK_CMP; 8129 RECOMP_BACKEDGE(); 8130 if (CMP_NE(_flag_a, _flag_b)) goto L_2B08FD7C; /* 0x2B08FD88: jne 0x2b08fd7c */ 8131 L_2B08FD8A: 8132 SET_LO8(eax, MEM8(esi + 0x15)); /* 0x2B08FD8A: mov al, byte ptr [esi + 0x15] */ 8133 edi = POP32_VAL(esp); /* 0x2B08FD8D: pop edi */ 8134 esi = POP32_VAL(esp); /* 0x2B08FD8E: pop esi */ 8135 ebx = POP32_VAL(esp); /* 0x2B08FD8F: pop ebx */ 8136 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08FD90: ret */ 8137 L_2B08FD91: 8138 eax = MEM32(edi + 0x8); /* 0x2B08FD91: mov eax, dword ptr [edi + 8] */ 8139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8141 eax = eax - edx; /* 0x2B08FD94: sub eax, edx */ 8142 _flag_k = FK_CMP; 8143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8144 eax = eax - 1; /* 0x2B08FD96: dec eax */ 8145 _flag_k = FK_DEC; 8146 PUSH32(esp, eax); /* 0x2B08FD97: push eax */ 8147 ecx = esi; /* 0x2B08FD98: mov ecx, esi */ 8148 RECOMP_ICALL(0x2B090730u); /* 0x2B08FD9A: call 0x2b090730 */ /* not lifted */ 8149 RECOMP_FLAGS_IN(); 8150 MEM8(esi + 0x15) = (uint8_t)(0); /* 0x2B08FD9F: mov byte ptr [esi + 0x15], 0 */ 8151 L_2B08FDA3: 8152 SET_LO8(eax, MEM8(esi + 0x15)); /* 0x2B08FDA3: mov al, byte ptr [esi + 0x15] */ 8153 edi = POP32_VAL(esp); /* 0x2B08FDA6: pop edi */ 8154 esi = POP32_VAL(esp); /* 0x2B08FDA7: pop esi */ 8155 ebx = POP32_VAL(esp); /* 0x2B08FDA8: pop ebx */ 8156 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B08FDA9: ret */ 8157 RECOMP_REGS_OUT(); 8158 } 8159 8160 void sub_2B08FDB0(void) { 8161 int _fpu_cmp = 0; 8162 uint32_t _cf = 0; 8163 int _df = 1; 8164 uint32_t _flag_k = FK_NONE; 8165 uint32_t _flag_a = 0, _flag_b = 0; 8166 uint32_t _itail_tgt = 0; 8167 RECOMP_REGS_LOCALS 8168 RECOMP_ENTER(0x2B08FDB0u); 8169 8170 L_2B08FDB0: 8171 PUSH32(esp, ebp); /* 0x2B08FDB0: push ebp */ 8172 ebp = esp; /* 0x2B08FDB1: mov ebp, esp */ 8173 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B08FDB3: push -1 */ 8174 PUSH32(esp, 0x2B0B2B02u); /* 0x2B08FDB5: push 0x2b0b2b02 */ 8175 eax = MEM32(FS_BASE + (0)); /* 0x2B08FDBA: mov eax, dword ptr fs:[0] */ 8176 PUSH32(esp, eax); /* 0x2B08FDC0: push eax */ 8177 MEM32(FS_BASE + (0)) = esp; /* 0x2B08FDC1: mov dword ptr fs:[0], esp */ 8178 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x50u); 8179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8180 esp = esp - 0x50u; /* 0x2B08FDC8: sub esp, 0x50 */ 8181 _flag_k = FK_CMP; 8182 PUSH32(esp, ebx); /* 0x2B08FDCB: push ebx */ 8183 ebx = ecx; /* 0x2B08FDCC: mov ebx, ecx */ 8184 edx = MEM32(ebx + 0x1C); /* 0x2B08FDCE: mov edx, dword ptr [ebx + 0x1c] */ 8185 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 8186 edx = edx + 1; /* 0x2B08FDD1: inc edx */ 8187 _flag_k = FK_INC; 8188 MEM32(ebx + 0x1C) = edx; /* 0x2B08FDD2: mov dword ptr [ebx + 0x1c], edx */ 8189 eax = MEM32(ebx + 0x2C); /* 0x2B08FDD5: mov eax, dword ptr [ebx + 0x2c] */ 8190 /* test eax, eax */ /* 0x2B08FDD8: test eax, eax */ 8191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8192 _cf = 0; 8193 _flag_k = FK_TEST; 8194 PUSH32(esp, esi); /* 0x2B08FDDA: push esi */ 8195 PUSH32(esp, edi); /* 0x2B08FDDB: push edi */ 8196 MEM32(ebp + (-0x20)) = ebx; /* 0x2B08FDDC: mov dword ptr [ebp - 0x20], ebx */ 8197 edi = edx; /* 0x2B08FDDF: mov edi, edx */ 8198 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08FDEA; /* 0x2B08FDE1: jne 0x2b08fdea */ 8199 L_2B08FDE3: 8200 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8201 esi = 0; /* 0x2B08FDE3: xor esi, esi */ 8202 _cf = 0; 8203 _flag_k = FK_TEST; 8204 MEM32(ebp + (-0x18)) = esi; /* 0x2B08FDE5: mov dword ptr [ebp - 0x18], esi */ 8205 goto L_2B08FE05; /* 0x2B08FDE8: jmp 0x2b08fe05 */ 8206 L_2B08FDEA: 8207 ecx = MEM32(ebx + 0x30); /* 0x2B08FDEA: mov ecx, dword ptr [ebx + 0x30] */ 8208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8210 ecx = ecx - eax; /* 0x2B08FDED: sub ecx, eax */ 8211 _flag_k = FK_CMP; 8212 eax = 0x66666667u; /* 0x2B08FDEF: mov eax, 0x66666667 */ 8213 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B08FDF4: imul ecx */ 8214 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 8215 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 8216 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B08FDF6: sar edx, 3 */ 8217 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8218 edx = (uint32_t)((int32_t)edx >> 3u); 8219 eax = edx; /* 0x2B08FDF9: mov eax, edx */ 8220 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B08FDFB: shr eax, 0x1f */ 8221 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8222 eax = eax >> 31u; /* 0x2B08FDFB: shr eax, 0x1f */ 8223 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8225 edx = edx + eax; /* 0x2B08FDFE: add edx, eax */ 8226 _flag_k = FK_ADD; 8227 MEM32(ebp + (-0x18)) = edx; /* 0x2B08FE00: mov dword ptr [ebp - 0x18], edx */ 8228 esi = edx; /* 0x2B08FE03: mov esi, edx */ 8229 L_2B08FE05: 8230 /* cmp edi, esi */ /* 0x2B08FE05: cmp edi, esi */ 8231 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8233 _flag_k = FK_CMP; 8234 if (CMP_G(_flag_a, _flag_b)) goto L_2B090083; /* 0x2B08FE07: jg 0x2b090083 */ 8235 L_2B08FE0D: 8236 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B08FE0D: mov cl, byte ptr [ebp - 0xd] */ 8237 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(ecx)); /* 0x2B08FE10: mov byte ptr [ebp - 0x34], cl */ 8238 PUSH32(esp, 0); /* 0x2B08FE13: push 0 */ 8239 ecx = ebp + (-0x34); /* 0x2B08FE15: lea ecx, [ebp - 0x34] */ 8240 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B08FE18: call dword ptr [0x2b0b514c] */ 8241 RECOMP_FLAGS_IN(); 8242 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8243 ecx = 0; /* 0x2B08FE1E: xor ecx, ecx */ 8244 _cf = 0; 8245 _flag_k = FK_TEST; 8246 MEM32(ebp + (-0x24)) = ecx; /* 0x2B08FE20: mov dword ptr [ebp - 0x24], ecx */ 8247 /* cmp MEM32(ebx + 0x1C), ecx */ /* 0x2B08FE23: cmp dword ptr [ebx + 0x1c], ecx */ 8248 _flag_a = (uint32_t)(MEM32(ebx + 0x1C)); _flag_b = (uint32_t)(ecx); 8249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8250 _flag_k = FK_CMP; 8251 eax = MEM32(ebx + 0x2C); /* 0x2B08FE26: mov eax, dword ptr [ebx + 0x2c] */ 8252 MEM32(ebp + (-0x4)) = ecx; /* 0x2B08FE29: mov dword ptr [ebp - 4], ecx */ 8253 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B08FE2C: mov dword ptr [ebp - 0x1c], ecx */ 8254 if (CMP_LE(_flag_a, _flag_b)) goto L_2B08FF9B; /* 0x2B08FE2F: jle 0x2b08ff9b */ 8255 L_2B08FE35: 8256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8257 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8258 eax = eax + 4; /* 0x2B08FE35: add eax, 4 */ 8259 _flag_k = FK_ADD; 8260 MEM32(ebp + (-0x14)) = eax; /* 0x2B08FE38: mov dword ptr [ebp - 0x14], eax */ 8261 L_2B08FE3B: 8262 edx = MEM32(0x2B0B515C); /* 0x2B08FE3B: mov edx, dword ptr [0x2b0b515c] */ 8263 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8264 eax = 0; /* 0x2B08FE41: xor eax, eax */ 8265 _cf = 0; 8266 _flag_k = FK_TEST; 8267 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8268 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08FE43: or ecx, 0xffffffff */ 8269 _cf = 0; 8270 _flag_k = FK_TEST; 8271 edi = 0x2B0ED2F8u; /* 0x2B08FE46: mov edi, 0x2b0ed2f8 */ 8272 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; } /* 0x2B08FE4B: repne scasb al, byte ptr es:[edi] */ 8273 eax = MEM32(edx); /* 0x2B08FE4D: mov eax, dword ptr [edx] */ 8274 edx = MEM32(ebp + (-0x2C)); /* 0x2B08FE4F: mov edx, dword ptr [ebp - 0x2c] */ 8275 ecx = ~ecx; /* 0x2B08FE52: not ecx */ 8276 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8277 ecx = ecx - 1; /* 0x2B08FE54: dec ecx */ 8278 _flag_k = FK_DEC; 8279 esi = ecx; /* 0x2B08FE55: mov esi, ecx */ 8280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 8281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8282 eax = eax - edx; /* 0x2B08FE57: sub eax, edx */ 8283 _flag_k = FK_CMP; 8284 /* cmp eax, esi */ /* 0x2B08FE59: cmp eax, esi */ 8285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8287 _flag_k = FK_CMP; 8288 if (CMP_A(_flag_a, _flag_b)) goto L_2B08FE63; /* 0x2B08FE5B: ja 0x2b08fe63 */ 8289 L_2B08FE5D: 8290 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B08FE5D: call dword ptr [0x2b0b51a8] */ 8291 RECOMP_FLAGS_IN(); 8292 L_2B08FE63: 8293 /* test esi, esi */ /* 0x2B08FE63: test esi, esi */ 8294 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8295 _cf = 0; 8296 _flag_k = FK_TEST; 8297 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FEA5; /* 0x2B08FE65: jbe 0x2b08fea5 */ 8298 L_2B08FE67: 8299 ecx = MEM32(ebp + (-0x2C)); /* 0x2B08FE67: mov ecx, dword ptr [ebp - 0x2c] */ 8300 ebx = ecx + esi; /* 0x2B08FE6A: lea ebx, [ecx + esi] */ 8301 PUSH32(esp, 0); /* 0x2B08FE6D: push 0 */ 8302 PUSH32(esp, ebx); /* 0x2B08FE6F: push ebx */ 8303 ecx = ebp + (-0x34); /* 0x2B08FE70: lea ecx, [ebp - 0x34] */ 8304 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08FE73: call dword ptr [0x2b0b5154] */ 8305 RECOMP_FLAGS_IN(); 8306 /* test LO8(eax), LO8(eax) */ /* 0x2B08FE79: test al, al */ 8307 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8308 _cf = 0; 8309 _flag_k = FK_NARROW(FK_TEST, 24); 8310 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FEA5; /* 0x2B08FE7B: je 0x2b08fea5 */ 8311 L_2B08FE7D: 8312 edx = MEM32(ebp + (-0x2C)); /* 0x2B08FE7D: mov edx, dword ptr [ebp - 0x2c] */ 8313 eax = MEM32(ebp + (-0x30)); /* 0x2B08FE80: mov eax, dword ptr [ebp - 0x30] */ 8314 ecx = esi; /* 0x2B08FE83: mov ecx, esi */ 8315 edi = eax + edx; /* 0x2B08FE85: lea edi, [eax + edx] */ 8316 edx = ecx; /* 0x2B08FE88: mov edx, ecx */ 8317 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B08FE8A: shr ecx, 2 */ 8318 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8319 ecx = ecx >> 2u; /* 0x2B08FE8A: shr ecx, 2 */ 8320 esi = 0x2B0ED2F8u; /* 0x2B08FE8D: mov esi, 0x2b0ed2f8 */ 8321 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08FE92: 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; } 8322 ecx = edx; /* 0x2B08FE94: mov ecx, edx */ 8323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8324 ecx = ecx & 3; /* 0x2B08FE96: and ecx, 3 */ 8325 _cf = 0; 8326 _flag_k = FK_TEST; 8327 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B08FE99: 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; } 8328 eax = MEM32(ebp + (-0x30)); /* 0x2B08FE9B: mov eax, dword ptr [ebp - 0x30] */ 8329 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B08FE9E: mov dword ptr [ebp - 0x2c], ebx */ 8330 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B08FEA1: mov byte ptr [eax + ebx], 0 */ 8331 L_2B08FEA5: 8332 ecx = MEM32(0x2B0B515C); /* 0x2B08FEA5: mov ecx, dword ptr [0x2b0b515c] */ 8333 eax = MEM32(ecx); /* 0x2B08FEAB: mov eax, dword ptr [ecx] */ 8334 edi = MEM32(ebp + (-0x14)); /* 0x2B08FEAD: mov edi, dword ptr [ebp - 0x14] */ 8335 ecx = MEM32(edi + 0x4); /* 0x2B08FEB0: mov ecx, dword ptr [edi + 4] */ 8336 esi = eax; /* 0x2B08FEB3: mov esi, eax */ 8337 /* cmp ecx, esi */ /* 0x2B08FEB5: cmp ecx, esi */ 8338 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 8339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8340 _flag_k = FK_CMP; 8341 if (CMP_AE(_flag_a, _flag_b)) goto L_2B08FEBB; /* 0x2B08FEB7: jae 0x2b08febb */ 8342 L_2B08FEB9: 8343 esi = ecx; /* 0x2B08FEB9: mov esi, ecx */ 8344 L_2B08FEBB: 8345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x2C))); 8346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8347 eax = eax - MEM32(ebp + (-0x2C)); /* 0x2B08FEBB: sub eax, dword ptr [ebp - 0x2c] */ 8348 _flag_k = FK_CMP; 8349 /* cmp eax, esi */ /* 0x2B08FEBE: cmp eax, esi */ 8350 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8352 _flag_k = FK_CMP; 8353 if (CMP_A(_flag_a, _flag_b)) goto L_2B08FEC8; /* 0x2B08FEC0: ja 0x2b08fec8 */ 8354 L_2B08FEC2: 8355 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B08FEC2: call dword ptr [0x2b0b51a8] */ 8356 RECOMP_FLAGS_IN(); 8357 L_2B08FEC8: 8358 /* test esi, esi */ /* 0x2B08FEC8: test esi, esi */ 8359 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8360 _cf = 0; 8361 _flag_k = FK_TEST; 8362 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FF12; /* 0x2B08FECA: jbe 0x2b08ff12 */ 8363 L_2B08FECC: 8364 edx = MEM32(ebp + (-0x2C)); /* 0x2B08FECC: mov edx, dword ptr [ebp - 0x2c] */ 8365 ebx = edx + esi; /* 0x2B08FECF: lea ebx, [edx + esi] */ 8366 PUSH32(esp, 0); /* 0x2B08FED2: push 0 */ 8367 PUSH32(esp, ebx); /* 0x2B08FED4: push ebx */ 8368 ecx = ebp + (-0x34); /* 0x2B08FED5: lea ecx, [ebp - 0x34] */ 8369 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08FED8: call dword ptr [0x2b0b5154] */ 8370 RECOMP_FLAGS_IN(); 8371 /* test LO8(eax), LO8(eax) */ /* 0x2B08FEDE: test al, al */ 8372 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8373 _cf = 0; 8374 _flag_k = FK_NARROW(FK_TEST, 24); 8375 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FF12; /* 0x2B08FEE0: je 0x2b08ff12 */ 8376 L_2B08FEE2: 8377 eax = MEM32(edi); /* 0x2B08FEE2: mov eax, dword ptr [edi] */ 8378 /* test eax, eax */ /* 0x2B08FEE4: test eax, eax */ 8379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8380 _cf = 0; 8381 _flag_k = FK_TEST; 8382 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B08FEED; /* 0x2B08FEE6: jne 0x2b08feed */ 8383 L_2B08FEE8: 8384 eax = MEM32(0x2B0B513C); /* 0x2B08FEE8: mov eax, dword ptr [0x2b0b513c] */ 8385 L_2B08FEED: 8386 ecx = MEM32(ebp + (-0x2C)); /* 0x2B08FEED: mov ecx, dword ptr [ebp - 0x2c] */ 8387 edx = MEM32(ebp + (-0x30)); /* 0x2B08FEF0: mov edx, dword ptr [ebp - 0x30] */ 8388 edi = edx + ecx; /* 0x2B08FEF3: lea edi, [edx + ecx] */ 8389 ecx = esi; /* 0x2B08FEF6: mov ecx, esi */ 8390 esi = eax; /* 0x2B08FEF8: mov esi, eax */ 8391 eax = ecx; /* 0x2B08FEFA: mov eax, ecx */ 8392 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B08FEFC: shr ecx, 2 */ 8393 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8394 ecx = ecx >> 2u; /* 0x2B08FEFC: shr ecx, 2 */ 8395 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08FEFF: 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; } 8396 ecx = eax; /* 0x2B08FF01: mov ecx, eax */ 8397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8398 ecx = ecx & 3; /* 0x2B08FF03: and ecx, 3 */ 8399 _cf = 0; 8400 _flag_k = FK_TEST; 8401 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B08FF06: 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; } 8402 PUSH32(esp, ebx); /* 0x2B08FF08: push ebx */ 8403 ecx = ebp + (-0x34); /* 0x2B08FF09: lea ecx, [ebp - 0x34] */ 8404 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B08FF0C: call dword ptr [0x2b0b5150] */ 8405 RECOMP_FLAGS_IN(); 8406 L_2B08FF12: 8407 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8408 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08FF12: or ecx, 0xffffffff */ 8409 _cf = 0; 8410 _flag_k = FK_TEST; 8411 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8412 eax = 0; /* 0x2B08FF15: xor eax, eax */ 8413 _cf = 0; 8414 _flag_k = FK_TEST; 8415 edi = 0x2B0E2BF8u; /* 0x2B08FF17: mov edi, 0x2b0e2bf8 */ 8416 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; } /* 0x2B08FF1C: repne scasb al, byte ptr es:[edi] */ 8417 ecx = ~ecx; /* 0x2B08FF1E: not ecx */ 8418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8419 ecx = ecx - 1; /* 0x2B08FF20: dec ecx */ 8420 _flag_k = FK_DEC; 8421 esi = ecx; /* 0x2B08FF21: mov esi, ecx */ 8422 ecx = MEM32(0x2B0B515C); /* 0x2B08FF23: mov ecx, dword ptr [0x2b0b515c] */ 8423 edx = MEM32(ecx); /* 0x2B08FF29: mov edx, dword ptr [ecx] */ 8424 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x2C))); 8425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8426 edx = edx - MEM32(ebp + (-0x2C)); /* 0x2B08FF2B: sub edx, dword ptr [ebp - 0x2c] */ 8427 _flag_k = FK_CMP; 8428 /* cmp edx, esi */ /* 0x2B08FF2E: cmp edx, esi */ 8429 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 8430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8431 _flag_k = FK_CMP; 8432 if (CMP_A(_flag_a, _flag_b)) goto L_2B08FF38; /* 0x2B08FF30: ja 0x2b08ff38 */ 8433 L_2B08FF32: 8434 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B08FF32: call dword ptr [0x2b0b51a8] */ 8435 RECOMP_FLAGS_IN(); 8436 L_2B08FF38: 8437 /* test esi, esi */ /* 0x2B08FF38: test esi, esi */ 8438 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8439 _cf = 0; 8440 _flag_k = FK_TEST; 8441 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FF7A; /* 0x2B08FF3A: jbe 0x2b08ff7a */ 8442 L_2B08FF3C: 8443 eax = MEM32(ebp + (-0x2C)); /* 0x2B08FF3C: mov eax, dword ptr [ebp - 0x2c] */ 8444 ebx = eax + esi; /* 0x2B08FF3F: lea ebx, [eax + esi] */ 8445 PUSH32(esp, 0); /* 0x2B08FF42: push 0 */ 8446 PUSH32(esp, ebx); /* 0x2B08FF44: push ebx */ 8447 ecx = ebp + (-0x34); /* 0x2B08FF45: lea ecx, [ebp - 0x34] */ 8448 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08FF48: call dword ptr [0x2b0b5154] */ 8449 RECOMP_FLAGS_IN(); 8450 /* test LO8(eax), LO8(eax) */ /* 0x2B08FF4E: test al, al */ 8451 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8452 _cf = 0; 8453 _flag_k = FK_NARROW(FK_TEST, 24); 8454 if (TEST_Z(_flag_a, _flag_b)) goto L_2B08FF7A; /* 0x2B08FF50: je 0x2b08ff7a */ 8455 L_2B08FF52: 8456 ecx = MEM32(ebp + (-0x2C)); /* 0x2B08FF52: mov ecx, dword ptr [ebp - 0x2c] */ 8457 edx = MEM32(ebp + (-0x30)); /* 0x2B08FF55: mov edx, dword ptr [ebp - 0x30] */ 8458 edi = edx + ecx; /* 0x2B08FF58: lea edi, [edx + ecx] */ 8459 ecx = esi; /* 0x2B08FF5B: mov ecx, esi */ 8460 eax = ecx; /* 0x2B08FF5D: mov eax, ecx */ 8461 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B08FF5F: shr ecx, 2 */ 8462 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8463 ecx = ecx >> 2u; /* 0x2B08FF5F: shr ecx, 2 */ 8464 esi = 0x2B0E2BF8u; /* 0x2B08FF62: mov esi, 0x2b0e2bf8 */ 8465 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B08FF67: 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; } 8466 ecx = eax; /* 0x2B08FF69: mov ecx, eax */ 8467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8468 ecx = ecx & 3; /* 0x2B08FF6B: and ecx, 3 */ 8469 _cf = 0; 8470 _flag_k = FK_TEST; 8471 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B08FF6E: 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; } 8472 ecx = MEM32(ebp + (-0x30)); /* 0x2B08FF70: mov ecx, dword ptr [ebp - 0x30] */ 8473 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B08FF73: mov dword ptr [ebp - 0x2c], ebx */ 8474 MEM8(ecx + ebx) = (uint8_t)(0); /* 0x2B08FF76: mov byte ptr [ecx + ebx], 0 */ 8475 L_2B08FF7A: 8476 eax = MEM32(ebp + (-0x1C)); /* 0x2B08FF7A: mov eax, dword ptr [ebp - 0x1c] */ 8477 edx = MEM32(ebp + (-0x14)); /* 0x2B08FF7D: mov edx, dword ptr [ebp - 0x14] */ 8478 ebx = MEM32(ebp + (-0x20)); /* 0x2B08FF80: mov ebx, dword ptr [ebp - 0x20] */ 8479 ecx = MEM32(ebx + 0x1C); /* 0x2B08FF83: mov ecx, dword ptr [ebx + 0x1c] */ 8480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8481 eax = eax + 1; /* 0x2B08FF86: inc eax */ 8482 _flag_k = FK_INC; 8483 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x14u); 8484 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8485 edx = edx + 0x14u; /* 0x2B08FF87: add edx, 0x14 */ 8486 _flag_k = FK_ADD; 8487 /* cmp eax, ecx */ /* 0x2B08FF8A: cmp eax, ecx */ 8488 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8490 _flag_k = FK_CMP; 8491 MEM32(ebp + (-0x1C)) = eax; /* 0x2B08FF8C: mov dword ptr [ebp - 0x1c], eax */ 8492 MEM32(ebp + (-0x14)) = edx; /* 0x2B08FF8F: mov dword ptr [ebp - 0x14], edx */ 8493 RECOMP_BACKEDGE(); 8494 if (CMP_L(_flag_a, _flag_b)) goto L_2B08FE3B; /* 0x2B08FF92: jl 0x2b08fe3b */ 8495 L_2B08FF98: 8496 esi = MEM32(ebp + (-0x18)); /* 0x2B08FF98: mov esi, dword ptr [ebp - 0x18] */ 8497 L_2B08FF9B: 8498 eax = MEM32(ebx + 0x1C); /* 0x2B08FF9B: mov eax, dword ptr [ebx + 0x1c] */ 8499 /* cmp eax, esi */ /* 0x2B08FF9E: cmp eax, esi */ 8500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 8501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8502 _flag_k = FK_CMP; 8503 if (CMP_GE(_flag_a, _flag_b)) goto L_2B09001C; /* 0x2B08FFA0: jge 0x2b09001c */ 8504 L_2B08FFA2: 8505 PUSH32(esp, esi); /* 0x2B08FFA2: push esi */ 8506 PUSH32(esp, eax); /* 0x2B08FFA3: push eax */ 8507 PUSH32(esp, 0x2B0ED2D4u); /* 0x2B08FFA4: push 0x2b0ed2d4 */ 8508 edx = ebp + (-0x5C); /* 0x2B08FFA9: lea edx, [ebp - 0x5c] */ 8509 PUSH32(esp, 0x28u); /* 0x2B08FFAC: push 0x28 */ 8510 PUSH32(esp, edx); /* 0x2B08FFAE: push edx */ 8511 RECOMP_ICALL(0x2B012180u); /* 0x2B08FFAF: call 0x2b012180 */ /* not lifted */ 8512 RECOMP_FLAGS_IN(); 8513 edx = MEM32(ebp + (-0x2C)); /* 0x2B08FFB4: mov edx, dword ptr [ebp - 0x2c] */ 8514 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 8515 ecx = ecx | 0xFFFFFFFFu; /* 0x2B08FFB7: or ecx, 0xffffffff */ 8516 _cf = 0; 8517 _flag_k = FK_TEST; 8518 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8519 eax = 0; /* 0x2B08FFBA: xor eax, eax */ 8520 _cf = 0; 8521 _flag_k = FK_TEST; 8522 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 8523 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8524 esp = esp + 0x14u; /* 0x2B08FFBC: add esp, 0x14 */ 8525 _flag_k = FK_ADD; 8526 edi = ebp + (-0x5C); /* 0x2B08FFBF: lea edi, [ebp - 0x5c] */ 8527 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; } /* 0x2B08FFC2: repne scasb al, byte ptr es:[edi] */ 8528 eax = MEM32(0x2B0B515C); /* 0x2B08FFC4: mov eax, dword ptr [0x2b0b515c] */ 8529 ecx = ~ecx; /* 0x2B08FFC9: not ecx */ 8530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8531 ecx = ecx - 1; /* 0x2B08FFCB: dec ecx */ 8532 _flag_k = FK_DEC; 8533 esi = ecx; /* 0x2B08FFCC: mov esi, ecx */ 8534 ecx = MEM32(eax); /* 0x2B08FFCE: mov ecx, dword ptr [eax] */ 8535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8537 ecx = ecx - edx; /* 0x2B08FFD0: sub ecx, edx */ 8538 _flag_k = FK_CMP; 8539 /* cmp ecx, esi */ /* 0x2B08FFD2: cmp ecx, esi */ 8540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 8541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8542 _flag_k = FK_CMP; 8543 if (CMP_A(_flag_a, _flag_b)) goto L_2B08FFDC; /* 0x2B08FFD4: ja 0x2b08ffdc */ 8544 L_2B08FFD6: 8545 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B08FFD6: call dword ptr [0x2b0b51a8] */ 8546 RECOMP_FLAGS_IN(); 8547 L_2B08FFDC: 8548 /* test esi, esi */ /* 0x2B08FFDC: test esi, esi */ 8549 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8550 _cf = 0; 8551 _flag_k = FK_TEST; 8552 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09001C; /* 0x2B08FFDE: jbe 0x2b09001c */ 8553 L_2B08FFE0: 8554 edx = MEM32(ebp + (-0x2C)); /* 0x2B08FFE0: mov edx, dword ptr [ebp - 0x2c] */ 8555 ebx = edx + esi; /* 0x2B08FFE3: lea ebx, [edx + esi] */ 8556 PUSH32(esp, 0); /* 0x2B08FFE6: push 0 */ 8557 PUSH32(esp, ebx); /* 0x2B08FFE8: push ebx */ 8558 ecx = ebp + (-0x34); /* 0x2B08FFE9: lea ecx, [ebp - 0x34] */ 8559 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B08FFEC: call dword ptr [0x2b0b5154] */ 8560 RECOMP_FLAGS_IN(); 8561 /* test LO8(eax), LO8(eax) */ /* 0x2B08FFF2: test al, al */ 8562 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8563 _cf = 0; 8564 _flag_k = FK_NARROW(FK_TEST, 24); 8565 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09001C; /* 0x2B08FFF4: je 0x2b09001c */ 8566 L_2B08FFF6: 8567 eax = MEM32(ebp + (-0x2C)); /* 0x2B08FFF6: mov eax, dword ptr [ebp - 0x2c] */ 8568 ecx = MEM32(ebp + (-0x30)); /* 0x2B08FFF9: mov ecx, dword ptr [ebp - 0x30] */ 8569 edi = ecx + eax; /* 0x2B08FFFC: lea edi, [ecx + eax] */ 8570 ecx = esi; /* 0x2B08FFFF: mov ecx, esi */ 8571 edx = ecx; /* 0x2B090001: mov edx, ecx */ 8572 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B090003: shr ecx, 2 */ 8573 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8574 ecx = ecx >> 2u; /* 0x2B090003: shr ecx, 2 */ 8575 esi = ebp + (-0x5C); /* 0x2B090006: lea esi, [ebp - 0x5c] */ 8576 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B090009: 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; } 8577 ecx = edx; /* 0x2B09000B: mov ecx, edx */ 8578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 8579 ecx = ecx & 3; /* 0x2B09000D: and ecx, 3 */ 8580 _cf = 0; 8581 _flag_k = FK_TEST; 8582 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B090010: 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; } 8583 eax = MEM32(ebp + (-0x30)); /* 0x2B090012: mov eax, dword ptr [ebp - 0x30] */ 8584 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B090015: mov dword ptr [ebp - 0x2c], ebx */ 8585 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B090018: mov byte ptr [eax + ebx], 0 */ 8586 L_2B09001C: 8587 esi = MEM32(ebp + (-0x20)); /* 0x2B09001C: mov esi, dword ptr [ebp - 0x20] */ 8588 ecx = ebp + (-0x34); /* 0x2B09001F: lea ecx, [ebp - 0x34] */ 8589 PUSH32(esp, ecx); /* 0x2B090022: push ecx */ 8590 ecx = MEM32(esi + 0x70); /* 0x2B090023: mov ecx, dword ptr [esi + 0x70] */ 8591 RECOMP_ICALL(MEM32(0x2B0B59D4)); /* 0x2B090026: call dword ptr [0x2b0b59d4] */ 8592 RECOMP_FLAGS_IN(); 8593 ecx = MEM32(esi + 0x70); /* 0x2B09002C: mov ecx, dword ptr [esi + 0x70] */ 8594 PUSH32(esp, 1); /* 0x2B09002F: push 1 */ 8595 PUSH32(esp, 1); /* 0x2B090031: push 1 */ 8596 PUSH32(esp, 0xFFFE7961u); /* 0x2B090033: push 0xfffe7961 */ 8597 RECOMP_ICALL(MEM32(0x2B0B57E8)); /* 0x2B090038: call dword ptr [0x2b0b57e8] */ 8598 RECOMP_FLAGS_IN(); 8599 eax = MEM32(ebp + (-0x24)); /* 0x2B09003E: mov eax, dword ptr [ebp - 0x24] */ 8600 /* test eax, eax */ /* 0x2B090041: test eax, eax */ 8601 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8602 _cf = 0; 8603 _flag_k = FK_TEST; 8604 MEM32(ebp + (-0x4)) = 1; /* 0x2B090043: mov dword ptr [ebp - 4], 1 */ 8605 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090071; /* 0x2B09004A: je 0x2b090071 */ 8606 L_2B09004C: 8607 edx = MEM32(eax + 0x2C); /* 0x2B09004C: mov edx, dword ptr [eax + 0x2c] */ 8608 esi = eax; /* 0x2B09004F: mov esi, eax */ 8609 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 8610 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8611 eax = eax + 0x2Cu; /* 0x2B090051: add eax, 0x2c */ 8612 _flag_k = FK_ADD; 8613 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 8614 edx = edx - 1; /* 0x2B090054: dec edx */ 8615 _flag_k = FK_DEC; 8616 ecx = edx; /* 0x2B090055: mov ecx, edx */ 8617 /* test ecx, ecx */ /* 0x2B090057: test ecx, ecx */ 8618 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8619 _cf = 0; 8620 _flag_k = FK_TEST; 8621 MEM32(eax) = edx; /* 0x2B090059: mov dword ptr [eax], edx */ 8622 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090071; /* 0x2B09005B: jne 0x2b090071 */ 8623 L_2B09005D: 8624 /* test esi, esi */ /* 0x2B09005D: test esi, esi */ 8625 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8626 _cf = 0; 8627 _flag_k = FK_TEST; 8628 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090071; /* 0x2B09005F: je 0x2b090071 */ 8629 L_2B090061: 8630 ecx = esi; /* 0x2B090061: mov ecx, esi */ 8631 RECOMP_ICALL(0x2B005B40u); /* 0x2B090063: call 0x2b005b40 */ /* not lifted */ 8632 RECOMP_FLAGS_IN(); 8633 PUSH32(esp, esi); /* 0x2B090068: push esi */ 8634 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B090069: call 0x2b0ab1ba */ /* not lifted */ 8635 RECOMP_FLAGS_IN(); 8636 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8637 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8638 esp = esp + 4; /* 0x2B09006E: add esp, 4 */ 8639 _flag_k = FK_ADD; 8640 L_2B090071: 8641 PUSH32(esp, 1); /* 0x2B090071: push 1 */ 8642 ecx = ebp + (-0x34); /* 0x2B090073: lea ecx, [ebp - 0x34] */ 8643 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B090076: mov dword ptr [ebp - 4], 0xffffffff */ 8644 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09007D: call dword ptr [0x2b0b514c] */ 8645 RECOMP_FLAGS_IN(); 8646 L_2B090083: 8647 ecx = MEM32(ebp + (-0xC)); /* 0x2B090083: mov ecx, dword ptr [ebp - 0xc] */ 8648 edi = POP32_VAL(esp); /* 0x2B090086: pop edi */ 8649 esi = POP32_VAL(esp); /* 0x2B090087: pop esi */ 8650 ebx = POP32_VAL(esp); /* 0x2B090088: pop ebx */ 8651 MEM32(FS_BASE + (0)) = ecx; /* 0x2B090089: mov dword ptr fs:[0], ecx */ 8652 esp = ebp; /* 0x2B090090: mov esp, ebp */ 8653 ebp = POP32_VAL(esp); /* 0x2B090092: pop ebp */ 8654 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090093: ret */ 8655 RECOMP_REGS_OUT(); 8656 } 8657 8658 void sub_2B0900A0(void) { 8659 int _fpu_cmp = 0; 8660 uint32_t _cf = 0; 8661 int _df = 1; 8662 uint32_t _flag_k = FK_NONE; 8663 uint32_t _flag_a = 0, _flag_b = 0; 8664 uint32_t _itail_tgt = 0; 8665 RECOMP_REGS_LOCALS 8666 RECOMP_ENTER(0x2B0900A0u); 8667 8668 L_2B0900A0: 8669 PUSH32(esp, ebp); /* 0x2B0900A0: push ebp */ 8670 ebp = esp; /* 0x2B0900A1: mov ebp, esp */ 8671 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 8672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8673 esp = esp - 0x20u; /* 0x2B0900A3: sub esp, 0x20 */ 8674 _flag_k = FK_CMP; 8675 eax = MEM32(ebp + 0x8); /* 0x2B0900A6: mov eax, dword ptr [ebp + 8] */ 8676 PUSH32(esp, ebx); /* 0x2B0900A9: push ebx */ 8677 PUSH32(esp, esi); /* 0x2B0900AA: push esi */ 8678 esi = ecx; /* 0x2B0900AB: mov esi, ecx */ 8679 ecx = MEM32(eax); /* 0x2B0900AD: mov ecx, dword ptr [eax] */ 8680 MEM32(esi) = ecx; /* 0x2B0900AF: mov dword ptr [esi], ecx */ 8681 SET_LO8(ecx, MEM8(esi + 0x14)); /* 0x2B0900B1: mov cl, byte ptr [esi + 0x14] */ 8682 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0900B4: test cl, cl */ 8683 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 8684 _cf = 0; 8685 _flag_k = FK_NARROW(FK_TEST, 24); 8686 edx = MEM32(eax + 0x4); /* 0x2B0900B6: mov edx, dword ptr [eax + 4] */ 8687 MEM32(esi + 0x4) = edx; /* 0x2B0900B9: mov dword ptr [esi + 4], edx */ 8688 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0901FE; /* 0x2B0900BC: je 0x2b0901fe */ 8689 L_2B0900C2: 8690 ecx = MEM32(esi + 0x38); /* 0x2B0900C2: mov ecx, dword ptr [esi + 0x38] */ 8691 PUSH32(esp, edi); /* 0x2B0900C5: push edi */ 8692 PUSH32(esp, eax); /* 0x2B0900C6: push eax */ 8693 RECOMP_ICALL(MEM32(0x2B0B59EC)); /* 0x2B0900C7: call dword ptr [0x2b0b59ec] */ 8694 RECOMP_FLAGS_IN(); 8695 ecx = MEM32(esi + 0x38); /* 0x2B0900CD: mov ecx, dword ptr [esi + 0x38] */ 8696 eax = ebp + (-0x18); /* 0x2B0900D0: lea eax, [ebp - 0x18] */ 8697 PUSH32(esp, eax); /* 0x2B0900D3: push eax */ 8698 RECOMP_ICALL(MEM32(0x2B0B59F0)); /* 0x2B0900D4: call dword ptr [0x2b0b59f0] */ 8699 RECOMP_FLAGS_IN(); 8700 ecx = MEM32(eax); /* 0x2B0900DA: mov ecx, dword ptr [eax] */ 8701 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0900DC: mov dword ptr [ebp - 0x10], ecx */ 8702 edx = MEM32(eax + 0x4); /* 0x2B0900DF: mov edx, dword ptr [eax + 4] */ 8703 ecx = MEM32(esi + 0x3C); /* 0x2B0900E2: mov ecx, dword ptr [esi + 0x3c] */ 8704 eax = ebp + (-0x10); /* 0x2B0900E5: lea eax, [ebp - 0x10] */ 8705 PUSH32(esp, eax); /* 0x2B0900E8: push eax */ 8706 MEM32(ebp + (-0xC)) = edx; /* 0x2B0900E9: mov dword ptr [ebp - 0xc], edx */ 8707 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B0900EC: call dword ptr [0x2b0b5b00] */ 8708 RECOMP_FLAGS_IN(); 8709 ecx = MEM32(ebp + (-0x10)); /* 0x2B0900F2: mov ecx, dword ptr [ebp - 0x10] */ 8710 edx = MEM32(ebp + (-0xC)); /* 0x2B0900F5: mov edx, dword ptr [ebp - 0xc] */ 8711 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 8712 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8713 ecx = ecx + 2; /* 0x2B0900F8: add ecx, 2 */ 8714 _flag_k = FK_ADD; 8715 eax = ebp + (-0x8); /* 0x2B0900FB: lea eax, [ebp - 8] */ 8716 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0900FE: mov dword ptr [ebp - 8], ecx */ 8717 ecx = MEM32(esi + 0x70); /* 0x2B090101: mov ecx, dword ptr [esi + 0x70] */ 8718 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 8719 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8720 edx = edx + 2; /* 0x2B090104: add edx, 2 */ 8721 _flag_k = FK_ADD; 8722 PUSH32(esp, eax); /* 0x2B090107: push eax */ 8723 MEM32(ebp + (-0x4)) = edx; /* 0x2B090108: mov dword ptr [ebp - 4], edx */ 8724 RECOMP_ICALL(MEM32(0x2B0B5A08)); /* 0x2B09010B: call dword ptr [0x2b0b5a08] */ 8725 RECOMP_FLAGS_IN(); 8726 ecx = ebp + (-0x18); /* 0x2B090111: lea ecx, [ebp - 0x18] */ 8727 PUSH32(esp, ecx); /* 0x2B090114: push ecx */ 8728 ecx = MEM32(esi + 0x38); /* 0x2B090115: mov ecx, dword ptr [esi + 0x38] */ 8729 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B090118: call dword ptr [0x2b0b59fc] */ 8730 RECOMP_FLAGS_IN(); 8731 ecx = MEM32(esi + 0x40); /* 0x2B09011E: mov ecx, dword ptr [esi + 0x40] */ 8732 edx = eax; /* 0x2B090121: mov edx, eax */ 8733 eax = MEM32(edx); /* 0x2B090123: mov eax, dword ptr [edx] */ 8734 edi = MEM32(edx + 0x4); /* 0x2B090125: mov edi, dword ptr [edx + 4] */ 8735 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x34)); 8736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8737 eax = eax - MEM32(ecx + 0x34); /* 0x2B090128: sub eax, dword ptr [ecx + 0x34] */ 8738 _flag_k = FK_CMP; 8739 edx = MEM32(ebp + (-0x10)); /* 0x2B09012B: mov edx, dword ptr [ebp - 0x10] */ 8740 eax = eax + edx + (-0xA); /* 0x2B09012E: lea eax, [eax + edx - 0xa] */ 8741 MEM32(ebp + (-0x8)) = eax; /* 0x2B090132: mov dword ptr [ebp - 8], eax */ 8742 ebx = MEM32(ecx + 0x38); /* 0x2B090135: mov ebx, dword ptr [ecx + 0x38] */ 8743 eax = MEM32(ebp + (-0xC)); /* 0x2B090138: mov eax, dword ptr [ebp - 0xc] */ 8744 edx = edi; /* 0x2B09013B: mov edx, edi */ 8745 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 8746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8747 edx = edx - ebx; /* 0x2B09013D: sub edx, ebx */ 8748 _flag_k = FK_CMP; 8749 ebx = MEM32(0x2B0B5BB8); /* 0x2B09013F: mov ebx, dword ptr [0x2b0b5bb8] */ 8750 edx = edx + eax + (-0xA); /* 0x2B090145: lea edx, [edx + eax - 0xa] */ 8751 eax = ebp + (-0x8); /* 0x2B090149: lea eax, [ebp - 8] */ 8752 PUSH32(esp, eax); /* 0x2B09014C: push eax */ 8753 MEM32(ebp + (-0x4)) = edx; /* 0x2B09014D: mov dword ptr [ebp - 4], edx */ 8754 RECOMP_ICALL(ebx); /* 0x2B090150: call ebx */ 8755 RECOMP_FLAGS_IN(); 8756 ecx = MEM32(esi + 0x48); /* 0x2B090152: mov ecx, dword ptr [esi + 0x48] */ 8757 eax = MEM32(ecx + 0x34); /* 0x2B090155: mov eax, dword ptr [ecx + 0x34] */ 8758 edx = MEM32(esi + 0x8); /* 0x2B090158: mov edx, dword ptr [esi + 8] */ 8759 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8761 edx = edx - eax; /* 0x2B09015B: sub edx, eax */ 8762 _flag_k = FK_CMP; 8763 eax = MEM32(ebp + 0x8); /* 0x2B09015D: mov eax, dword ptr [ebp + 8] */ 8764 eax = MEM32(eax); /* 0x2B090160: mov eax, dword ptr [eax] */ 8765 edx = edx + eax + (-0x3); /* 0x2B090162: lea edx, [edx + eax - 3] */ 8766 eax = MEM32(ebp + 0x8); /* 0x2B090166: mov eax, dword ptr [ebp + 8] */ 8767 MEM32(ebp + (-0x8)) = edx; /* 0x2B090169: mov dword ptr [ebp - 8], edx */ 8768 edx = MEM32(eax + 0x4); /* 0x2B09016C: mov edx, dword ptr [eax + 4] */ 8769 eax = ebp + (-0x8); /* 0x2B09016F: lea eax, [ebp - 8] */ 8770 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 8771 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8772 edx = edx + 2; /* 0x2B090172: add edx, 2 */ 8773 _flag_k = FK_ADD; 8774 PUSH32(esp, eax); /* 0x2B090175: push eax */ 8775 MEM32(ebp + (-0x4)) = edx; /* 0x2B090176: mov dword ptr [ebp - 4], edx */ 8776 RECOMP_ICALL(ebx); /* 0x2B090179: call ebx */ 8777 RECOMP_FLAGS_IN(); 8778 ecx = MEM32(esi + 0x74); /* 0x2B09017B: mov ecx, dword ptr [esi + 0x74] */ 8779 edx = MEM32(ecx + 0x34); /* 0x2B09017E: mov edx, dword ptr [ecx + 0x34] */ 8780 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(edx); 8781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8782 MEM32(ebp + (-0x8)) = MEM32(ebp + (-0x8)) - edx; /* 0x2B090181: sub dword ptr [ebp - 8], edx */ 8783 _flag_k = FK_CMP; 8784 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(1); 8785 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) - 1; /* 0x2B090184: dec dword ptr [ebp - 4] */ 8786 _flag_k = FK_DEC; 8787 eax = ebp + (-0x8); /* 0x2B090187: lea eax, [ebp - 8] */ 8788 PUSH32(esp, eax); /* 0x2B09018A: push eax */ 8789 RECOMP_ICALL(ebx); /* 0x2B09018B: call ebx */ 8790 RECOMP_FLAGS_IN(); 8791 ecx = MEM32(ebp + (-0x10)); /* 0x2B09018D: mov ecx, dword ptr [ebp - 0x10] */ 8792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 8793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8794 ecx = ecx + 0xAu; /* 0x2B090190: add ecx, 0xa */ 8795 _flag_k = FK_ADD; 8796 MEM32(ebp + (-0x8)) = ecx; /* 0x2B090193: mov dword ptr [ebp - 8], ecx */ 8797 ecx = MEM32(esi + 0x50); /* 0x2B090196: mov ecx, dword ptr [esi + 0x50] */ 8798 eax = MEM32(ecx + 0x38); /* 0x2B090199: mov eax, dword ptr [ecx + 0x38] */ 8799 edx = edi; /* 0x2B09019C: mov edx, edi */ 8800 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8802 edx = edx - eax; /* 0x2B09019E: sub edx, eax */ 8803 _flag_k = FK_CMP; 8804 eax = MEM32(esi + 0x5C); /* 0x2B0901A0: mov eax, dword ptr [esi + 0x5c] */ 8805 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x38)); 8806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8807 edx = edx - MEM32(eax + 0x38); /* 0x2B0901A3: sub edx, dword ptr [eax + 0x38] */ 8808 _flag_k = FK_CMP; 8809 eax = MEM32(ebp + (-0xC)); /* 0x2B0901A6: mov eax, dword ptr [ebp - 0xc] */ 8810 edx = edx + eax + (-0xE); /* 0x2B0901A9: lea edx, [edx + eax - 0xe] */ 8811 eax = ebp + (-0x8); /* 0x2B0901AD: lea eax, [ebp - 8] */ 8812 PUSH32(esp, eax); /* 0x2B0901B0: push eax */ 8813 MEM32(ebp + (-0x4)) = edx; /* 0x2B0901B1: mov dword ptr [ebp - 4], edx */ 8814 RECOMP_ICALL(ebx); /* 0x2B0901B4: call ebx */ 8815 RECOMP_FLAGS_IN(); 8816 ecx = MEM32(ebp + (-0x10)); /* 0x2B0901B6: mov ecx, dword ptr [ebp - 0x10] */ 8817 edx = MEM32(ebp + (-0xC)); /* 0x2B0901B9: mov edx, dword ptr [ebp - 0xc] */ 8818 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xAu); 8819 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8820 ecx = ecx + 0xAu; /* 0x2B0901BC: add ecx, 0xa */ 8821 _flag_k = FK_ADD; 8822 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0901BF: mov dword ptr [ebp - 8], ecx */ 8823 ecx = MEM32(esi + 0x5C); /* 0x2B0901C2: mov ecx, dword ptr [esi + 0x5c] */ 8824 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ecx + 0x38)); 8825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8826 edi = edi - MEM32(ecx + 0x38); /* 0x2B0901C5: sub edi, dword ptr [ecx + 0x38] */ 8827 _flag_k = FK_CMP; 8828 eax = edi + edx + (-0xA); /* 0x2B0901C8: lea eax, [edi + edx - 0xa] */ 8829 edx = ebp + (-0x8); /* 0x2B0901CC: lea edx, [ebp - 8] */ 8830 PUSH32(esp, edx); /* 0x2B0901CF: push edx */ 8831 MEM32(ebp + (-0x4)) = eax; /* 0x2B0901D0: mov dword ptr [ebp - 4], eax */ 8832 RECOMP_ICALL(ebx); /* 0x2B0901D3: call ebx */ 8833 RECOMP_FLAGS_IN(); 8834 eax = MEM32(esi + 0x68); /* 0x2B0901D5: mov eax, dword ptr [esi + 0x68] */ 8835 /* test eax, eax */ /* 0x2B0901D8: test eax, eax */ 8836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8837 _cf = 0; 8838 _flag_k = FK_TEST; 8839 edi = POP32_VAL(esp); /* 0x2B0901DA: pop edi */ 8840 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0901FE; /* 0x2B0901DB: je 0x2b0901fe */ 8841 L_2B0901DD: 8842 ecx = MEM32(esi + 0x38); /* 0x2B0901DD: mov ecx, dword ptr [esi + 0x38] */ 8843 eax = ebp + (-0x20); /* 0x2B0901E0: lea eax, [ebp - 0x20] */ 8844 PUSH32(esp, eax); /* 0x2B0901E3: push eax */ 8845 RECOMP_ICALL(MEM32(0x2B0B57EC)); /* 0x2B0901E4: call dword ptr [0x2b0b57ec] */ 8846 RECOMP_FLAGS_IN(); 8847 ecx = MEM32(eax); /* 0x2B0901EA: mov ecx, dword ptr [eax] */ 8848 MEM32(ebp + (-0x18)) = ecx; /* 0x2B0901EC: mov dword ptr [ebp - 0x18], ecx */ 8849 edx = MEM32(eax + 0x4); /* 0x2B0901EF: mov edx, dword ptr [eax + 4] */ 8850 ecx = MEM32(esi + 0x68); /* 0x2B0901F2: mov ecx, dword ptr [esi + 0x68] */ 8851 eax = ebp + (-0x18); /* 0x2B0901F5: lea eax, [ebp - 0x18] */ 8852 PUSH32(esp, eax); /* 0x2B0901F8: push eax */ 8853 MEM32(ebp + (-0x14)) = edx; /* 0x2B0901F9: mov dword ptr [ebp - 0x14], edx */ 8854 RECOMP_ICALL(ebx); /* 0x2B0901FC: call ebx */ 8855 RECOMP_FLAGS_IN(); 8856 L_2B0901FE: 8857 esi = POP32_VAL(esp); /* 0x2B0901FE: pop esi */ 8858 ebx = POP32_VAL(esp); /* 0x2B0901FF: pop ebx */ 8859 esp = ebp; /* 0x2B090200: mov esp, ebp */ 8860 ebp = POP32_VAL(esp); /* 0x2B090202: pop ebp */ 8861 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B090203: ret 4 */ 8862 RECOMP_REGS_OUT(); 8863 } 8864 8865 void sub_2B090210(void) { 8866 int _fpu_cmp = 0; 8867 uint32_t _cf = 0; 8868 int _df = 1; 8869 uint32_t _flag_k = FK_NONE; 8870 uint32_t _flag_a = 0, _flag_b = 0; 8871 uint32_t _itail_tgt = 0; 8872 RECOMP_REGS_LOCALS 8873 RECOMP_ENTER(0x2B090210u); 8874 8875 L_2B090210: 8876 PUSH32(esp, ebp); /* 0x2B090210: push ebp */ 8877 ebp = esp; /* 0x2B090211: mov ebp, esp */ 8878 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B090213: push -1 */ 8879 PUSH32(esp, 0x2B0B2B44u); /* 0x2B090215: push 0x2b0b2b44 */ 8880 eax = MEM32(FS_BASE + (0)); /* 0x2B09021A: mov eax, dword ptr fs:[0] */ 8881 PUSH32(esp, eax); /* 0x2B090220: push eax */ 8882 MEM32(FS_BASE + (0)) = esp; /* 0x2B090221: mov dword ptr fs:[0], esp */ 8883 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 8884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8885 esp = esp - 0x44u; /* 0x2B090228: sub esp, 0x44 */ 8886 _flag_k = FK_CMP; 8887 eax = MEM32(ebp + 0x8); /* 0x2B09022B: mov eax, dword ptr [ebp + 8] */ 8888 PUSH32(esp, esi); /* 0x2B09022E: push esi */ 8889 esi = ecx; /* 0x2B09022F: mov esi, ecx */ 8890 ecx = MEM32(eax); /* 0x2B090231: mov ecx, dword ptr [eax] */ 8891 MEM32(esi + 0x8) = ecx; /* 0x2B090233: mov dword ptr [esi + 8], ecx */ 8892 SET_LO8(ecx, MEM8(esi + 0x14)); /* 0x2B090236: mov cl, byte ptr [esi + 0x14] */ 8893 /* test LO8(ecx), LO8(ecx) */ /* 0x2B090239: test cl, cl */ 8894 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 8895 _cf = 0; 8896 _flag_k = FK_NARROW(FK_TEST, 24); 8897 edx = MEM32(eax + 0x4); /* 0x2B09023B: mov edx, dword ptr [eax + 4] */ 8898 MEM32(esi + 0xC) = edx; /* 0x2B09023E: mov dword ptr [esi + 0xc], edx */ 8899 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09048D; /* 0x2B090241: je 0x2b09048d */ 8900 L_2B090247: 8901 ecx = MEM32(esi + 0x38); /* 0x2B090247: mov ecx, dword ptr [esi + 0x38] */ 8902 PUSH32(esp, ebx); /* 0x2B09024A: push ebx */ 8903 PUSH32(esp, edi); /* 0x2B09024B: push edi */ 8904 PUSH32(esp, eax); /* 0x2B09024C: push eax */ 8905 RECOMP_ICALL(MEM32(0x2B0B59F8)); /* 0x2B09024D: call dword ptr [0x2b0b59f8] */ 8906 RECOMP_FLAGS_IN(); 8907 ecx = MEM32(esi + 0x38); /* 0x2B090253: mov ecx, dword ptr [esi + 0x38] */ 8908 eax = ebp + (-0x34); /* 0x2B090256: lea eax, [ebp - 0x34] */ 8909 PUSH32(esp, eax); /* 0x2B090259: push eax */ 8910 RECOMP_ICALL(MEM32(0x2B0B59FC)); /* 0x2B09025A: call dword ptr [0x2b0b59fc] */ 8911 RECOMP_FLAGS_IN(); 8912 ecx = MEM32(eax); /* 0x2B090260: mov ecx, dword ptr [eax] */ 8913 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B090262: mov dword ptr [ebp - 0x1c], ecx */ 8914 edx = MEM32(eax + 0x4); /* 0x2B090265: mov edx, dword ptr [eax + 4] */ 8915 ecx = MEM32(esi + 0x3C); /* 0x2B090268: mov ecx, dword ptr [esi + 0x3c] */ 8916 eax = ebp + (-0x1C); /* 0x2B09026B: lea eax, [ebp - 0x1c] */ 8917 PUSH32(esp, eax); /* 0x2B09026E: push eax */ 8918 MEM32(ebp + (-0x18)) = edx; /* 0x2B09026F: mov dword ptr [ebp - 0x18], edx */ 8919 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B090272: call dword ptr [0x2b0b5b04] */ 8920 RECOMP_FLAGS_IN(); 8921 ecx = MEM32(ebp + (-0x18)); /* 0x2B090278: mov ecx, dword ptr [ebp - 0x18] */ 8922 eax = MEM32(ebp + (-0x1C)); /* 0x2B09027B: mov eax, dword ptr [ebp - 0x1c] */ 8923 MEM32(ebp + (-0x28)) = ecx; /* 0x2B09027E: mov dword ptr [ebp - 0x28], ecx */ 8924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xFFFFFFCEu); 8925 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8926 ecx = ecx + 0xFFFFFFCEu; /* 0x2B090281: add ecx, -0x32 */ 8927 _flag_k = FK_ADD; 8928 MEM32(ebp + (-0x28)) = ecx; /* 0x2B090284: mov dword ptr [ebp - 0x28], ecx */ 8929 ecx = ebp + (-0x2C); /* 0x2B090287: lea ecx, [ebp - 0x2c] */ 8930 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8932 eax = eax - 4; /* 0x2B09028A: sub eax, 4 */ 8933 _flag_k = FK_CMP; 8934 PUSH32(esp, ecx); /* 0x2B09028D: push ecx */ 8935 ecx = MEM32(esi + 0x70); /* 0x2B09028E: mov ecx, dword ptr [esi + 0x70] */ 8936 MEM32(ebp + (-0x2C)) = eax; /* 0x2B090291: mov dword ptr [ebp - 0x2c], eax */ 8937 RECOMP_ICALL(MEM32(0x2B0B57D4)); /* 0x2B090294: call dword ptr [0x2b0b57d4] */ 8938 RECOMP_FLAGS_IN(); 8939 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B09029A: mov dl, byte ptr [ebp + 0xb] */ 8940 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8941 ebx = 0; /* 0x2B09029D: xor ebx, ebx */ 8942 _cf = 0; 8943 _flag_k = FK_TEST; 8944 PUSH32(esp, ebx); /* 0x2B09029F: push ebx */ 8945 ecx = ebp + (-0x50); /* 0x2B0902A0: lea ecx, [ebp - 0x50] */ 8946 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(edx)); /* 0x2B0902A3: mov byte ptr [ebp - 0x50], dl */ 8947 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0902A6: call dword ptr [0x2b0b514c] */ 8948 RECOMP_FLAGS_IN(); 8949 MEM32(ebp + (-0x40)) = ebx; /* 0x2B0902AC: mov dword ptr [ebp - 0x40], ebx */ 8950 eax = MEM32(esi + 0x6C); /* 0x2B0902AF: mov eax, dword ptr [esi + 0x6c] */ 8951 /* cmp eax, ebx */ /* 0x2B0902B2: cmp eax, ebx */ 8952 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 8953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8954 _flag_k = FK_CMP; 8955 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0902B4: mov dword ptr [ebp - 4], ebx */ 8956 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0902D0; /* 0x2B0902B7: je 0x2b0902d0 */ 8957 L_2B0902B9: 8958 ecx = MEM32(0x2B0B515C); /* 0x2B0902B9: mov ecx, dword ptr [0x2b0b515c] */ 8959 edx = MEM32(ecx); /* 0x2B0902BF: mov edx, dword ptr [ecx] */ 8960 PUSH32(esp, edx); /* 0x2B0902C1: push edx */ 8961 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 8962 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8963 eax = eax + 0x14u; /* 0x2B0902C2: add eax, 0x14 */ 8964 _flag_k = FK_ADD; 8965 PUSH32(esp, ebx); /* 0x2B0902C5: push ebx */ 8966 PUSH32(esp, eax); /* 0x2B0902C6: push eax */ 8967 ecx = ebp + (-0x50); /* 0x2B0902C7: lea ecx, [ebp - 0x50] */ 8968 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B0902CA: call dword ptr [0x2b0b5158] */ 8969 RECOMP_FLAGS_IN(); 8970 L_2B0902D0: 8971 ecx = MEM32(esi + 0x6C); /* 0x2B0902D0: mov ecx, dword ptr [esi + 0x6c] */ 8972 /* cmp ecx, ebx */ /* 0x2B0902D3: cmp ecx, ebx */ 8973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 8974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8975 _flag_k = FK_CMP; 8976 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0902DD; /* 0x2B0902D5: je 0x2b0902dd */ 8977 L_2B0902D7: 8978 eax = MEM32(ecx); /* 0x2B0902D7: mov eax, dword ptr [ecx] */ 8979 PUSH32(esp, 1); /* 0x2B0902D9: push 1 */ 8980 RECOMP_ICALL(MEM32(eax)); /* 0x2B0902DB: call dword ptr [eax] */ 8981 RECOMP_FLAGS_IN(); 8982 L_2B0902DD: 8983 edi = MEM32(esi + 0x68); /* 0x2B0902DD: mov edi, dword ptr [esi + 0x68] */ 8984 /* cmp edi, ebx */ /* 0x2B0902E0: cmp edi, ebx */ 8985 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 8986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8987 _flag_k = FK_CMP; 8988 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0902F5; /* 0x2B0902E2: je 0x2b0902f5 */ 8989 L_2B0902E4: 8990 ecx = edi; /* 0x2B0902E4: mov ecx, edi */ 8991 RECOMP_ICALL(MEM32(0x2B0B5BC4)); /* 0x2B0902E6: call dword ptr [0x2b0b5bc4] */ 8992 RECOMP_FLAGS_IN(); 8993 PUSH32(esp, edi); /* 0x2B0902EC: push edi */ 8994 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0902ED: call 0x2b0ab1ba */ /* not lifted */ 8995 RECOMP_FLAGS_IN(); 8996 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8997 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8998 esp = esp + 4; /* 0x2B0902F2: add esp, 4 */ 8999 _flag_k = FK_ADD; 9000 L_2B0902F5: 9001 ecx = ebp + (-0x3C); /* 0x2B0902F5: lea ecx, [ebp - 0x3c] */ 9002 PUSH32(esp, ecx); /* 0x2B0902F8: push ecx */ 9003 ecx = MEM32(esi + 0x38); /* 0x2B0902F9: mov ecx, dword ptr [esi + 0x38] */ 9004 RECOMP_ICALL(MEM32(0x2B0B57F0)); /* 0x2B0902FC: call dword ptr [0x2b0b57f0] */ 9005 RECOMP_FLAGS_IN(); 9006 edx = MEM32(eax); /* 0x2B090302: mov edx, dword ptr [eax] */ 9007 MEM32(ebp + (-0x24)) = edx; /* 0x2B090304: mov dword ptr [ebp - 0x24], edx */ 9008 eax = MEM32(eax + 0x4); /* 0x2B090307: mov eax, dword ptr [eax + 4] */ 9009 PUSH32(esp, 0x50u); /* 0x2B09030A: push 0x50 */ 9010 MEM32(ebp + (-0x20)) = eax; /* 0x2B09030C: mov dword ptr [ebp - 0x20], eax */ 9011 MEM32(ebp + (-0x14)) = ebx; /* 0x2B09030F: mov dword ptr [ebp - 0x14], ebx */ 9012 MEM32(ebp + (-0x10)) = ebx; /* 0x2B090312: mov dword ptr [ebp - 0x10], ebx */ 9013 RECOMP_ICALL(0x2B0AB212u); /* 0x2B090315: call 0x2b0ab212 */ /* not lifted */ 9014 RECOMP_FLAGS_IN(); 9015 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9016 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9017 esp = esp + 4; /* 0x2B09031A: add esp, 4 */ 9018 _flag_k = FK_ADD; 9019 MEM32(ebp + 0x8) = eax; /* 0x2B09031D: mov dword ptr [ebp + 8], eax */ 9020 /* cmp eax, ebx */ /* 0x2B090320: cmp eax, ebx */ 9021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9023 _flag_k = FK_CMP; 9024 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B090322: mov byte ptr [ebp - 4], 1 */ 9025 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090350; /* 0x2B090326: je 0x2b090350 */ 9026 L_2B090328: 9027 ecx = MEM32(esi + 0x10); /* 0x2B090328: mov ecx, dword ptr [esi + 0x10] */ 9028 PUSH32(esp, ebx); /* 0x2B09032B: push ebx */ 9029 PUSH32(esp, 0x3F800000u); /* 0x2B09032C: push 0x3f800000 */ 9030 PUSH32(esp, 0x3F800000u); /* 0x2B090331: push 0x3f800000 */ 9031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 9032 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9033 ecx = ecx + 2; /* 0x2B090336: add ecx, 2 */ 9034 _flag_k = FK_ADD; 9035 PUSH32(esp, ecx); /* 0x2B090339: push ecx */ 9036 edx = ebp + (-0x14); /* 0x2B09033A: lea edx, [ebp - 0x14] */ 9037 PUSH32(esp, edx); /* 0x2B09033D: push edx */ 9038 ecx = ebp + (-0x24); /* 0x2B09033E: lea ecx, [ebp - 0x24] */ 9039 PUSH32(esp, ecx); /* 0x2B090341: push ecx */ 9040 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B090342: push -1 */ 9041 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B090344: push -1 */ 9042 ecx = eax; /* 0x2B090346: mov ecx, eax */ 9043 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B090348: call dword ptr [0x2b0b5bd8] */ 9044 RECOMP_FLAGS_IN(); 9045 goto L_2B090352; /* 0x2B09034E: jmp 0x2b090352 */ 9046 L_2B090350: 9047 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9048 eax = 0; /* 0x2B090350: xor eax, eax */ 9049 _cf = 0; 9050 _flag_k = FK_TEST; 9051 L_2B090352: 9052 PUSH32(esp, 1); /* 0x2B090352: push 1 */ 9053 MEM32(esi + 0x68) = eax; /* 0x2B090354: mov dword ptr [esi + 0x68], eax */ 9054 eax = MEM32(eax + 0x28); /* 0x2B090357: mov eax, dword ptr [eax + 0x28] */ 9055 PUSH32(esp, ebx); /* 0x2B09035A: push ebx */ 9056 PUSH32(esp, ebx); /* 0x2B09035B: push ebx */ 9057 ecx = eax; /* 0x2B09035C: mov ecx, eax */ 9058 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B09035E: mov byte ptr [ebp - 4], 0 */ 9059 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B090362: call dword ptr [0x2b0b564c] */ 9060 RECOMP_FLAGS_IN(); 9061 edi = MEM32(ebp + (-0x10)); /* 0x2B090368: mov edi, dword ptr [ebp - 0x10] */ 9062 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(3); 9063 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9064 edi = edi + 3; /* 0x2B09036B: add edi, 3 */ 9065 _flag_k = FK_ADD; 9066 PUSH32(esp, 0x50u); /* 0x2B09036E: push 0x50 */ 9067 MEM32(ebp + (-0x10)) = edi; /* 0x2B090370: mov dword ptr [ebp - 0x10], edi */ 9068 RECOMP_ICALL(0x2B0AB212u); /* 0x2B090373: call 0x2b0ab212 */ /* not lifted */ 9069 RECOMP_FLAGS_IN(); 9070 edi = eax; /* 0x2B090378: mov edi, eax */ 9071 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9072 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9073 esp = esp + 4; /* 0x2B09037A: add esp, 4 */ 9074 _flag_k = FK_ADD; 9075 MEM32(ebp + 0x8) = edi; /* 0x2B09037D: mov dword ptr [ebp + 8], edi */ 9076 /* cmp edi, ebx */ /* 0x2B090380: cmp edi, ebx */ 9077 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 9078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9079 _flag_k = FK_CMP; 9080 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B090382: mov byte ptr [ebp - 4], 2 */ 9081 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0903B8; /* 0x2B090386: je 0x2b0903b8 */ 9082 L_2B090388: 9083 edx = MEM32(esi + 0x68); /* 0x2B090388: mov edx, dword ptr [esi + 0x68] */ 9084 eax = MEM32(ebp + (-0x10)); /* 0x2B09038B: mov eax, dword ptr [ebp - 0x10] */ 9085 ecx = MEM32(ebp + (-0x14)); /* 0x2B09038E: mov ecx, dword ptr [ebp - 0x14] */ 9086 PUSH32(esp, edx); /* 0x2B090391: push edx */ 9087 edx = MEM32(esi + 0x10); /* 0x2B090392: mov edx, dword ptr [esi + 0x10] */ 9088 PUSH32(esp, 0x800u); /* 0x2B090395: push 0x800 */ 9089 PUSH32(esp, eax); /* 0x2B09039A: push eax */ 9090 PUSH32(esp, ecx); /* 0x2B09039B: push ecx */ 9091 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(2); 9092 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9093 edx = edx + 2; /* 0x2B09039C: add edx, 2 */ 9094 _flag_k = FK_ADD; 9095 PUSH32(esp, edx); /* 0x2B09039F: push edx */ 9096 eax = ebp + (-0x50); /* 0x2B0903A0: lea eax, [ebp - 0x50] */ 9097 PUSH32(esp, eax); /* 0x2B0903A3: push eax */ 9098 PUSH32(esp, 2); /* 0x2B0903A4: push 2 */ 9099 ecx = edi; /* 0x2B0903A6: mov ecx, edi */ 9100 RECOMP_ICALL(MEM32(0x2B0B59BC)); /* 0x2B0903A8: call dword ptr [0x2b0b59bc] */ 9101 RECOMP_FLAGS_IN(); 9102 MEM32(edi) = 0x2B0B6878u; /* 0x2B0903AE: mov dword ptr [edi], 0x2b0b6878 */ 9103 ecx = edi; /* 0x2B0903B4: mov ecx, edi */ 9104 goto L_2B0903BA; /* 0x2B0903B6: jmp 0x2b0903ba */ 9105 L_2B0903B8: 9106 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9107 ecx = 0; /* 0x2B0903B8: xor ecx, ecx */ 9108 _cf = 0; 9109 _flag_k = FK_TEST; 9110 L_2B0903BA: 9111 PUSH32(esp, 0x003CD2FFu); /* 0x2B0903BA: push 0x3cd2ff */ 9112 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0903BF: mov byte ptr [ebp - 4], 0 */ 9113 MEM32(esi + 0x6C) = ecx; /* 0x2B0903C3: mov dword ptr [esi + 0x6c], ecx */ 9114 RECOMP_ICALL(MEM32(0x2B0B5858)); /* 0x2B0903C6: call dword ptr [0x2b0b5858] */ 9115 RECOMP_FLAGS_IN(); 9116 eax = MEM32(esi + 0x6C); /* 0x2B0903CC: mov eax, dword ptr [esi + 0x6c] */ 9117 eax = MEM32(eax + 0x34); /* 0x2B0903CF: mov eax, dword ptr [eax + 0x34] */ 9118 edi = MEM32(ebp + (-0x24)); /* 0x2B0903D2: mov edi, dword ptr [ebp - 0x24] */ 9119 ebx = MEM32(ebp + (-0x20)); /* 0x2B0903D5: mov ebx, dword ptr [ebp - 0x20] */ 9120 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9121 ecx = 0; /* 0x2B0903D8: xor ecx, ecx */ 9122 _cf = 0; 9123 _flag_k = FK_TEST; 9124 MEM32(eax) = ecx; /* 0x2B0903DA: mov dword ptr [eax], ecx */ 9125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9126 edx = 0; /* 0x2B0903DC: xor edx, edx */ 9127 _cf = 0; 9128 _flag_k = FK_TEST; 9129 MEM32(eax + 0x4) = edx; /* 0x2B0903DE: mov dword ptr [eax + 4], edx */ 9130 MEM32(eax + 0x8) = edi; /* 0x2B0903E1: mov dword ptr [eax + 8], edi */ 9131 PUSH32(esp, esi); /* 0x2B0903E4: push esi */ 9132 ecx = esi; /* 0x2B0903E5: mov ecx, esi */ 9133 MEM32(eax + 0xC) = ebx; /* 0x2B0903E7: mov dword ptr [eax + 0xc], ebx */ 9134 RECOMP_ICALL(0x2B0900A0u); /* 0x2B0903EA: call 0x2b0900a0 */ /* not lifted */ 9135 RECOMP_FLAGS_IN(); 9136 esi = MEM32(ebp + (-0x40)); /* 0x2B0903EF: mov esi, dword ptr [ebp - 0x40] */ 9137 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9138 edi = 0; /* 0x2B0903F2: xor edi, edi */ 9139 _cf = 0; 9140 _flag_k = FK_TEST; 9141 /* cmp esi, edi */ /* 0x2B0903F4: cmp esi, edi */ 9142 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9144 _flag_k = FK_CMP; 9145 MEM32(ebp + (-0x4)) = 3; /* 0x2B0903F6: mov dword ptr [ebp - 4], 3 */ 9146 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090459; /* 0x2B0903FD: je 0x2b090459 */ 9147 L_2B0903FF: 9148 edx = MEM32(esi + 0x2C); /* 0x2B0903FF: mov edx, dword ptr [esi + 0x2c] */ 9149 eax = esi + 0x2C; /* 0x2B090402: lea eax, [esi + 0x2c] */ 9150 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9151 edx = edx - 1; /* 0x2B090405: dec edx */ 9152 _flag_k = FK_DEC; 9153 ecx = edx; /* 0x2B090406: mov ecx, edx */ 9154 /* cmp ecx, edi */ /* 0x2B090408: cmp ecx, edi */ 9155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9157 _flag_k = FK_CMP; 9158 MEM32(eax) = edx; /* 0x2B09040A: mov dword ptr [eax], edx */ 9159 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090459; /* 0x2B09040C: jne 0x2b090459 */ 9160 L_2B09040E: 9161 /* cmp esi, edi */ /* 0x2B09040E: cmp esi, edi */ 9162 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9164 _flag_k = FK_CMP; 9165 MEM32(ebp + 0x8) = esi; /* 0x2B090410: mov dword ptr [ebp + 8], esi */ 9166 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090459; /* 0x2B090413: je 0x2b090459 */ 9167 L_2B090415: 9168 PUSH32(esp, 1); /* 0x2B090415: push 1 */ 9169 ecx = esi + 0x1C; /* 0x2B090417: lea ecx, [esi + 0x1c] */ 9170 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B09041A: mov byte ptr [ebp - 4], 4 */ 9171 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B09041E: call dword ptr [0x2b0b514c] */ 9172 RECOMP_FLAGS_IN(); 9173 eax = MEM32(esi + 0x10); /* 0x2B090424: mov eax, dword ptr [esi + 0x10] */ 9174 /* cmp eax, edi */ /* 0x2B090427: cmp eax, edi */ 9175 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 9176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9177 _flag_k = FK_CMP; 9178 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090447; /* 0x2B090429: je 0x2b090447 */ 9179 L_2B09042B: 9180 ecx = eax + (-0x1); /* 0x2B09042B: lea ecx, [eax - 1] */ 9181 SET_LO8(eax, MEM8(ecx)); /* 0x2B09042E: mov al, byte ptr [ecx] */ 9182 /* test LO8(eax), LO8(eax) */ /* 0x2B090430: test al, al */ 9183 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9184 _cf = 0; 9185 _flag_k = FK_NARROW(FK_TEST, 24); 9186 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09043E; /* 0x2B090432: je 0x2b09043e */ 9187 L_2B090434: 9188 /* cmp LO8(eax), 0xFFu */ /* 0x2B090434: cmp al, 0xff */ 9189 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 9190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9191 _flag_k = FK_NARROW(FK_CMP, 24); 9192 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09043E; /* 0x2B090436: je 0x2b09043e */ 9193 L_2B090438: 9194 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 9195 SET_LO8(eax, LO8(eax) - 1); /* 0x2B090438: dec al */ 9196 _flag_k = FK_NARROW(FK_DEC, 24); 9197 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B09043A: mov byte ptr [ecx], al */ 9198 goto L_2B090447; /* 0x2B09043C: jmp 0x2b090447 */ 9199 L_2B09043E: 9200 PUSH32(esp, ecx); /* 0x2B09043E: push ecx */ 9201 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09043F: call 0x2b0ab1ba */ /* not lifted */ 9202 RECOMP_FLAGS_IN(); 9203 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9204 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9205 esp = esp + 4; /* 0x2B090444: add esp, 4 */ 9206 _flag_k = FK_ADD; 9207 L_2B090447: 9208 PUSH32(esp, esi); /* 0x2B090447: push esi */ 9209 MEM32(esi + 0x10) = edi; /* 0x2B090448: mov dword ptr [esi + 0x10], edi */ 9210 MEM32(esi + 0x14) = edi; /* 0x2B09044B: mov dword ptr [esi + 0x14], edi */ 9211 MEM32(esi + 0x18) = edi; /* 0x2B09044E: mov dword ptr [esi + 0x18], edi */ 9212 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B090451: call 0x2b0ab1ba */ /* not lifted */ 9213 RECOMP_FLAGS_IN(); 9214 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9216 esp = esp + 4; /* 0x2B090456: add esp, 4 */ 9217 _flag_k = FK_ADD; 9218 L_2B090459: 9219 ecx = MEM32(ebp + (-0x4C)); /* 0x2B090459: mov ecx, dword ptr [ebp - 0x4c] */ 9220 /* cmp ecx, edi */ /* 0x2B09045C: cmp ecx, edi */ 9221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 9222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9223 _flag_k = FK_CMP; 9224 edi = POP32_VAL(esp); /* 0x2B09045E: pop edi */ 9225 ebx = POP32_VAL(esp); /* 0x2B09045F: pop ebx */ 9226 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09048D; /* 0x2B090460: je 0x2b09048d */ 9227 L_2B090462: 9228 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B090462: mov al, byte ptr [ecx - 1] */ 9229 /* test LO8(eax), LO8(eax) */ /* 0x2B090465: test al, al */ 9230 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9231 _cf = 0; 9232 _flag_k = FK_NARROW(FK_TEST, 24); 9233 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090483; /* 0x2B090467: je 0x2b090483 */ 9234 L_2B090469: 9235 /* cmp LO8(eax), 0xFFu */ /* 0x2B090469: cmp al, 0xff */ 9236 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 9237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9238 _flag_k = FK_NARROW(FK_CMP, 24); 9239 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090483; /* 0x2B09046B: je 0x2b090483 */ 9240 L_2B09046D: 9241 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 9242 SET_LO8(eax, LO8(eax) - 1); /* 0x2B09046D: dec al */ 9243 _flag_k = FK_NARROW(FK_DEC, 24); 9244 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B09046F: mov byte ptr [ecx - 1], al */ 9245 esi = POP32_VAL(esp); /* 0x2B090472: pop esi */ 9246 ecx = MEM32(ebp + (-0xC)); /* 0x2B090473: mov ecx, dword ptr [ebp - 0xc] */ 9247 MEM32(FS_BASE + (0)) = ecx; /* 0x2B090476: mov dword ptr fs:[0], ecx */ 9248 esp = ebp; /* 0x2B09047D: mov esp, ebp */ 9249 ebp = POP32_VAL(esp); /* 0x2B09047F: pop ebp */ 9250 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B090480: ret 4 */ 9251 L_2B090483: 9252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9253 ecx = ecx - 1; /* 0x2B090483: dec ecx */ 9254 _flag_k = FK_DEC; 9255 PUSH32(esp, ecx); /* 0x2B090484: push ecx */ 9256 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B090485: call 0x2b0ab1ba */ /* not lifted */ 9257 RECOMP_FLAGS_IN(); 9258 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9260 esp = esp + 4; /* 0x2B09048A: add esp, 4 */ 9261 _flag_k = FK_ADD; 9262 L_2B09048D: 9263 ecx = MEM32(ebp + (-0xC)); /* 0x2B09048D: mov ecx, dword ptr [ebp - 0xc] */ 9264 esi = POP32_VAL(esp); /* 0x2B090490: pop esi */ 9265 MEM32(FS_BASE + (0)) = ecx; /* 0x2B090491: mov dword ptr fs:[0], ecx */ 9266 esp = ebp; /* 0x2B090498: mov esp, ebp */ 9267 ebp = POP32_VAL(esp); /* 0x2B09049A: pop ebp */ 9268 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09049B: ret 4 */ 9269 RECOMP_REGS_OUT(); 9270 } 9271 9272 void sub_2B0904A0(void) { 9273 int _fpu_cmp = 0; 9274 uint32_t _cf = 0; 9275 int _df = 1; 9276 uint32_t _flag_k = FK_NONE; 9277 uint32_t _flag_a = 0, _flag_b = 0; 9278 uint32_t _itail_tgt = 0; 9279 RECOMP_REGS_LOCALS 9280 RECOMP_ENTER(0x2B0904A0u); 9281 9282 L_2B0904A0: 9283 PUSH32(esp, ebx); /* 0x2B0904A0: push ebx */ 9284 PUSH32(esp, esi); /* 0x2B0904A1: push esi */ 9285 esi = ecx; /* 0x2B0904A2: mov esi, ecx */ 9286 SET_LO8(eax, MEM8(esi + 0x14)); /* 0x2B0904A4: mov al, byte ptr [esi + 0x14] */ 9287 /* test LO8(eax), LO8(eax) */ /* 0x2B0904A7: test al, al */ 9288 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9289 _cf = 0; 9290 _flag_k = FK_NARROW(FK_TEST, 24); 9291 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090514; /* 0x2B0904A9: je 0x2b090514 */ 9292 L_2B0904AB: 9293 ecx = MEM32(esi + 0x38); /* 0x2B0904AB: mov ecx, dword ptr [esi + 0x38] */ 9294 PUSH32(esp, edi); /* 0x2B0904AE: push edi */ 9295 RECOMP_ICALL(MEM32(0x2B0B5A0C)); /* 0x2B0904AF: call dword ptr [0x2b0b5a0c] */ 9296 RECOMP_FLAGS_IN(); 9297 ecx = MEM32(esi + 0x3C); /* 0x2B0904B5: mov ecx, dword ptr [esi + 0x3c] */ 9298 RECOMP_ICALL(MEM32(0x2B0B5B40)); /* 0x2B0904B8: call dword ptr [0x2b0b5b40] */ 9299 RECOMP_FLAGS_IN(); 9300 ecx = MEM32(esi + 0x40); /* 0x2B0904BE: mov ecx, dword ptr [esi + 0x40] */ 9301 ebx = MEM32(0x2B0B5BB4); /* 0x2B0904C1: mov ebx, dword ptr [0x2b0b5bb4] */ 9302 RECOMP_ICALL(ebx); /* 0x2B0904C7: call ebx */ 9303 RECOMP_FLAGS_IN(); 9304 ecx = MEM32(esi + 0x44); /* 0x2B0904C9: mov ecx, dword ptr [esi + 0x44] */ 9305 edi = MEM32(0x2B0B5B3C); /* 0x2B0904CC: mov edi, dword ptr [0x2b0b5b3c] */ 9306 RECOMP_ICALL(edi); /* 0x2B0904D2: call edi */ 9307 RECOMP_FLAGS_IN(); 9308 ecx = MEM32(esi + 0x48); /* 0x2B0904D4: mov ecx, dword ptr [esi + 0x48] */ 9309 RECOMP_ICALL(ebx); /* 0x2B0904D7: call ebx */ 9310 RECOMP_FLAGS_IN(); 9311 ecx = MEM32(esi + 0x4C); /* 0x2B0904D9: mov ecx, dword ptr [esi + 0x4c] */ 9312 RECOMP_ICALL(edi); /* 0x2B0904DC: call edi */ 9313 RECOMP_FLAGS_IN(); 9314 ecx = MEM32(esi + 0x50); /* 0x2B0904DE: mov ecx, dword ptr [esi + 0x50] */ 9315 RECOMP_ICALL(ebx); /* 0x2B0904E1: call ebx */ 9316 RECOMP_FLAGS_IN(); 9317 ecx = MEM32(esi + 0x54); /* 0x2B0904E3: mov ecx, dword ptr [esi + 0x54] */ 9318 RECOMP_ICALL(edi); /* 0x2B0904E6: call edi */ 9319 RECOMP_FLAGS_IN(); 9320 ecx = MEM32(esi + 0x60); /* 0x2B0904E8: mov ecx, dword ptr [esi + 0x60] */ 9321 RECOMP_ICALL(edi); /* 0x2B0904EB: call edi */ 9322 RECOMP_FLAGS_IN(); 9323 ecx = MEM32(esi + 0x5C); /* 0x2B0904ED: mov ecx, dword ptr [esi + 0x5c] */ 9324 RECOMP_ICALL(ebx); /* 0x2B0904F0: call ebx */ 9325 RECOMP_FLAGS_IN(); 9326 ecx = MEM32(esi + 0x70); /* 0x2B0904F2: mov ecx, dword ptr [esi + 0x70] */ 9327 RECOMP_ICALL(MEM32(0x2B0B5A1C)); /* 0x2B0904F5: call dword ptr [0x2b0b5a1c] */ 9328 RECOMP_FLAGS_IN(); 9329 ecx = MEM32(esi + 0x78); /* 0x2B0904FB: mov ecx, dword ptr [esi + 0x78] */ 9330 RECOMP_ICALL(edi); /* 0x2B0904FE: call edi */ 9331 RECOMP_FLAGS_IN(); 9332 ecx = MEM32(esi + 0x7C); /* 0x2B090500: mov ecx, dword ptr [esi + 0x7c] */ 9333 RECOMP_ICALL(edi); /* 0x2B090503: call edi */ 9334 RECOMP_FLAGS_IN(); 9335 ecx = MEM32(esi + 0x74); /* 0x2B090505: mov ecx, dword ptr [esi + 0x74] */ 9336 RECOMP_ICALL(ebx); /* 0x2B090508: call ebx */ 9337 RECOMP_FLAGS_IN(); 9338 ecx = MEM32(esi + 0x68); /* 0x2B09050A: mov ecx, dword ptr [esi + 0x68] */ 9339 /* test ecx, ecx */ /* 0x2B09050D: test ecx, ecx */ 9340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9341 _cf = 0; 9342 _flag_k = FK_TEST; 9343 edi = POP32_VAL(esp); /* 0x2B09050F: pop edi */ 9344 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090514; /* 0x2B090510: je 0x2b090514 */ 9345 L_2B090512: 9346 RECOMP_ICALL(ebx); /* 0x2B090512: call ebx */ 9347 RECOMP_FLAGS_IN(); 9348 L_2B090514: 9349 esi = POP32_VAL(esp); /* 0x2B090514: pop esi */ 9350 ebx = POP32_VAL(esp); /* 0x2B090515: pop ebx */ 9351 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090516: ret */ 9352 RECOMP_REGS_OUT(); 9353 } 9354 9355 void sub_2B090520(void) { 9356 int _fpu_cmp = 0; 9357 uint32_t _cf = 0; 9358 int _df = 1; 9359 uint32_t _flag_k = FK_NONE; 9360 uint32_t _flag_a = 0, _flag_b = 0; 9361 uint32_t _itail_tgt = 0; 9362 RECOMP_REGS_LOCALS 9363 RECOMP_ENTER(0x2B090520u); 9364 9365 L_2B090520: 9366 PUSH32(esp, esi); /* 0x2B090520: push esi */ 9367 esi = ecx; /* 0x2B090521: mov esi, ecx */ 9368 SET_LO8(eax, MEM8(esi + 0x14)); /* 0x2B090523: mov al, byte ptr [esi + 0x14] */ 9369 /* test LO8(eax), LO8(eax) */ /* 0x2B090526: test al, al */ 9370 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9371 _cf = 0; 9372 _flag_k = FK_NARROW(FK_TEST, 24); 9373 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090599; /* 0x2B090528: je 0x2b090599 */ 9374 L_2B09052A: 9375 ecx = MEM32(esi + 0x38); /* 0x2B09052A: mov ecx, dword ptr [esi + 0x38] */ 9376 PUSH32(esp, ebx); /* 0x2B09052D: push ebx */ 9377 PUSH32(esp, edi); /* 0x2B09052E: push edi */ 9378 RECOMP_ICALL(MEM32(0x2B0B5A10)); /* 0x2B09052F: call dword ptr [0x2b0b5a10] */ 9379 RECOMP_FLAGS_IN(); 9380 ecx = MEM32(esi + 0x3C); /* 0x2B090535: mov ecx, dword ptr [esi + 0x3c] */ 9381 RECOMP_ICALL(MEM32(0x2B0B5B38)); /* 0x2B090538: call dword ptr [0x2b0b5b38] */ 9382 RECOMP_FLAGS_IN(); 9383 ecx = MEM32(esi + 0x40); /* 0x2B09053E: mov ecx, dword ptr [esi + 0x40] */ 9384 ebx = MEM32(0x2B0B5BAC); /* 0x2B090541: mov ebx, dword ptr [0x2b0b5bac] */ 9385 RECOMP_ICALL(ebx); /* 0x2B090547: call ebx */ 9386 RECOMP_FLAGS_IN(); 9387 ecx = MEM32(esi + 0x44); /* 0x2B090549: mov ecx, dword ptr [esi + 0x44] */ 9388 edi = MEM32(0x2B0B5B34); /* 0x2B09054C: mov edi, dword ptr [0x2b0b5b34] */ 9389 RECOMP_ICALL(edi); /* 0x2B090552: call edi */ 9390 RECOMP_FLAGS_IN(); 9391 ecx = MEM32(esi + 0x48); /* 0x2B090554: mov ecx, dword ptr [esi + 0x48] */ 9392 RECOMP_ICALL(ebx); /* 0x2B090557: call ebx */ 9393 RECOMP_FLAGS_IN(); 9394 ecx = MEM32(esi + 0x4C); /* 0x2B090559: mov ecx, dword ptr [esi + 0x4c] */ 9395 RECOMP_ICALL(edi); /* 0x2B09055C: call edi */ 9396 RECOMP_FLAGS_IN(); 9397 ecx = MEM32(esi + 0x50); /* 0x2B09055E: mov ecx, dword ptr [esi + 0x50] */ 9398 RECOMP_ICALL(ebx); /* 0x2B090561: call ebx */ 9399 RECOMP_FLAGS_IN(); 9400 ecx = MEM32(esi + 0x54); /* 0x2B090563: mov ecx, dword ptr [esi + 0x54] */ 9401 RECOMP_ICALL(edi); /* 0x2B090566: call edi */ 9402 RECOMP_FLAGS_IN(); 9403 ecx = MEM32(esi + 0x60); /* 0x2B090568: mov ecx, dword ptr [esi + 0x60] */ 9404 RECOMP_ICALL(edi); /* 0x2B09056B: call edi */ 9405 RECOMP_FLAGS_IN(); 9406 ecx = MEM32(esi + 0x5C); /* 0x2B09056D: mov ecx, dword ptr [esi + 0x5c] */ 9407 RECOMP_ICALL(ebx); /* 0x2B090570: call ebx */ 9408 RECOMP_FLAGS_IN(); 9409 ecx = MEM32(esi + 0x70); /* 0x2B090572: mov ecx, dword ptr [esi + 0x70] */ 9410 RECOMP_ICALL(MEM32(0x2B0B5A20)); /* 0x2B090575: call dword ptr [0x2b0b5a20] */ 9411 RECOMP_FLAGS_IN(); 9412 ecx = MEM32(esi + 0x78); /* 0x2B09057B: mov ecx, dword ptr [esi + 0x78] */ 9413 RECOMP_ICALL(edi); /* 0x2B09057E: call edi */ 9414 RECOMP_FLAGS_IN(); 9415 ecx = MEM32(esi + 0x7C); /* 0x2B090580: mov ecx, dword ptr [esi + 0x7c] */ 9416 RECOMP_ICALL(edi); /* 0x2B090583: call edi */ 9417 RECOMP_FLAGS_IN(); 9418 ecx = MEM32(esi + 0x74); /* 0x2B090585: mov ecx, dword ptr [esi + 0x74] */ 9419 RECOMP_ICALL(ebx); /* 0x2B090588: call ebx */ 9420 RECOMP_FLAGS_IN(); 9421 ecx = MEM32(esi + 0x68); /* 0x2B09058A: mov ecx, dword ptr [esi + 0x68] */ 9422 /* test ecx, ecx */ /* 0x2B09058D: test ecx, ecx */ 9423 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9424 _cf = 0; 9425 _flag_k = FK_TEST; 9426 edi = POP32_VAL(esp); /* 0x2B09058F: pop edi */ 9427 ebx = POP32_VAL(esp); /* 0x2B090590: pop ebx */ 9428 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090599; /* 0x2B090591: je 0x2b090599 */ 9429 L_2B090593: 9430 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B090593: call dword ptr [0x2b0b5bb4] */ 9431 RECOMP_FLAGS_IN(); 9432 L_2B090599: 9433 esi = POP32_VAL(esp); /* 0x2B090599: pop esi */ 9434 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09059A: ret */ 9435 RECOMP_REGS_OUT(); 9436 } 9437 9438 void sub_2B0905A0(void) { 9439 int _fpu_cmp = 0; 9440 uint32_t _cf = 0; 9441 int _df = 1; 9442 uint32_t _flag_k = FK_NONE; 9443 uint32_t _flag_a = 0, _flag_b = 0; 9444 uint32_t _itail_tgt = 0; 9445 RECOMP_REGS_LOCALS 9446 RECOMP_ENTER(0x2B0905A0u); 9447 9448 L_2B0905A0: 9449 PUSH32(esp, ebp); /* 0x2B0905A0: push ebp */ 9450 ebp = esp; /* 0x2B0905A1: mov ebp, esp */ 9451 PUSH32(esp, ebx); /* 0x2B0905A3: push ebx */ 9452 PUSH32(esp, esi); /* 0x2B0905A4: push esi */ 9453 esi = ecx; /* 0x2B0905A5: mov esi, ecx */ 9454 SET_LO8(eax, MEM8(esi + 0x14)); /* 0x2B0905A7: mov al, byte ptr [esi + 0x14] */ 9455 /* test LO8(eax), LO8(eax) */ /* 0x2B0905AA: test al, al */ 9456 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9457 _cf = 0; 9458 _flag_k = FK_NARROW(FK_TEST, 24); 9459 PUSH32(esp, edi); /* 0x2B0905AC: push edi */ 9460 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0905FE; /* 0x2B0905AD: je 0x2b0905fe */ 9461 L_2B0905AF: 9462 edi = MEM32(ebp + 0x8); /* 0x2B0905AF: mov edi, dword ptr [ebp + 8] */ 9463 ecx = MEM32(esi + 0x38); /* 0x2B0905B2: mov ecx, dword ptr [esi + 0x38] */ 9464 PUSH32(esp, edi); /* 0x2B0905B5: push edi */ 9465 RECOMP_ICALL(MEM32(0x2B0B57DC)); /* 0x2B0905B6: call dword ptr [0x2b0b57dc] */ 9466 RECOMP_FLAGS_IN(); 9467 ecx = MEM32(esi + 0x3C); /* 0x2B0905BC: mov ecx, dword ptr [esi + 0x3c] */ 9468 PUSH32(esp, edi); /* 0x2B0905BF: push edi */ 9469 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B0905C0: call dword ptr [0x2b0b5b08] */ 9470 RECOMP_FLAGS_IN(); 9471 ecx = MEM32(esi + 0x40); /* 0x2B0905C6: mov ecx, dword ptr [esi + 0x40] */ 9472 ebx = MEM32(0x2B0B5BE0); /* 0x2B0905C9: mov ebx, dword ptr [0x2b0b5be0] */ 9473 PUSH32(esp, edi); /* 0x2B0905CF: push edi */ 9474 RECOMP_ICALL(ebx); /* 0x2B0905D0: call ebx */ 9475 RECOMP_FLAGS_IN(); 9476 ecx = MEM32(esi + 0x48); /* 0x2B0905D2: mov ecx, dword ptr [esi + 0x48] */ 9477 PUSH32(esp, edi); /* 0x2B0905D5: push edi */ 9478 RECOMP_ICALL(ebx); /* 0x2B0905D6: call ebx */ 9479 RECOMP_FLAGS_IN(); 9480 ecx = MEM32(esi + 0x50); /* 0x2B0905D8: mov ecx, dword ptr [esi + 0x50] */ 9481 PUSH32(esp, edi); /* 0x2B0905DB: push edi */ 9482 RECOMP_ICALL(ebx); /* 0x2B0905DC: call ebx */ 9483 RECOMP_FLAGS_IN(); 9484 ecx = MEM32(esi + 0x5C); /* 0x2B0905DE: mov ecx, dword ptr [esi + 0x5c] */ 9485 PUSH32(esp, edi); /* 0x2B0905E1: push edi */ 9486 RECOMP_ICALL(ebx); /* 0x2B0905E2: call ebx */ 9487 RECOMP_FLAGS_IN(); 9488 ecx = MEM32(esi + 0x70); /* 0x2B0905E4: mov ecx, dword ptr [esi + 0x70] */ 9489 PUSH32(esp, edi); /* 0x2B0905E7: push edi */ 9490 RECOMP_ICALL(MEM32(0x2B0B57D8)); /* 0x2B0905E8: call dword ptr [0x2b0b57d8] */ 9491 RECOMP_FLAGS_IN(); 9492 ecx = MEM32(esi + 0x74); /* 0x2B0905EE: mov ecx, dword ptr [esi + 0x74] */ 9493 PUSH32(esp, edi); /* 0x2B0905F1: push edi */ 9494 RECOMP_ICALL(ebx); /* 0x2B0905F2: call ebx */ 9495 RECOMP_FLAGS_IN(); 9496 ecx = MEM32(esi + 0x68); /* 0x2B0905F4: mov ecx, dword ptr [esi + 0x68] */ 9497 /* test ecx, ecx */ /* 0x2B0905F7: test ecx, ecx */ 9498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9499 _cf = 0; 9500 _flag_k = FK_TEST; 9501 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0905FE; /* 0x2B0905F9: je 0x2b0905fe */ 9502 L_2B0905FB: 9503 PUSH32(esp, edi); /* 0x2B0905FB: push edi */ 9504 RECOMP_ICALL(ebx); /* 0x2B0905FC: call ebx */ 9505 RECOMP_FLAGS_IN(); 9506 L_2B0905FE: 9507 edi = POP32_VAL(esp); /* 0x2B0905FE: pop edi */ 9508 esi = POP32_VAL(esp); /* 0x2B0905FF: pop esi */ 9509 ebx = POP32_VAL(esp); /* 0x2B090600: pop ebx */ 9510 ebp = POP32_VAL(esp); /* 0x2B090601: pop ebp */ 9511 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B090602: ret 4 */ 9512 RECOMP_REGS_OUT(); 9513 } 9514 9515 void sub_2B090610(void) { 9516 int _fpu_cmp = 0; 9517 uint32_t _cf = 0; 9518 int _df = 1; 9519 uint32_t _flag_k = FK_NONE; 9520 uint32_t _flag_a = 0, _flag_b = 0; 9521 uint32_t _itail_tgt = 0; 9522 RECOMP_REGS_LOCALS 9523 RECOMP_ENTER(0x2B090610u); 9524 9525 L_2B090610: 9526 PUSH32(esp, ebp); /* 0x2B090610: push ebp */ 9527 ebp = esp; /* 0x2B090611: mov ebp, esp */ 9528 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9530 esp = esp - 8; /* 0x2B090613: sub esp, 8 */ 9531 _flag_k = FK_CMP; 9532 ecx = MEM32(ebp + 0x8); /* 0x2B090616: mov ecx, dword ptr [ebp + 8] */ 9533 /* test ecx, ecx */ /* 0x2B090619: test ecx, ecx */ 9534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9535 _cf = 0; 9536 _flag_k = FK_TEST; 9537 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09063B; /* 0x2B09061B: je 0x2b09063b */ 9538 L_2B09061D: 9539 eax = MEM32(ecx); /* 0x2B09061D: mov eax, dword ptr [ecx] */ 9540 edx = MEM32(ecx + 0x4); /* 0x2B09061F: mov edx, dword ptr [ecx + 4] */ 9541 PUSH32(esp, esi); /* 0x2B090622: push esi */ 9542 esi = MEM32(ebp + 0xC); /* 0x2B090623: mov esi, dword ptr [ebp + 0xc] */ 9543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi)); 9544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9545 eax = eax + MEM32(esi); /* 0x2B090626: add eax, dword ptr [esi] */ 9546 _flag_k = FK_ADD; 9547 MEM32(ebp + (-0x8)) = eax; /* 0x2B090628: mov dword ptr [ebp - 8], eax */ 9548 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9550 edx = edx + MEM32(esi + 0x4); /* 0x2B09062B: add edx, dword ptr [esi + 4] */ 9551 _flag_k = FK_ADD; 9552 eax = ebp + (-0x8); /* 0x2B09062E: lea eax, [ebp - 8] */ 9553 PUSH32(esp, eax); /* 0x2B090631: push eax */ 9554 MEM32(ebp + (-0x4)) = edx; /* 0x2B090632: mov dword ptr [ebp - 4], edx */ 9555 RECOMP_ICALL(0x2B0900A0u); /* 0x2B090635: call 0x2b0900a0 */ /* not lifted */ 9556 RECOMP_FLAGS_IN(); 9557 esi = POP32_VAL(esp); /* 0x2B09063A: pop esi */ 9558 L_2B09063B: 9559 esp = ebp; /* 0x2B09063B: mov esp, ebp */ 9560 ebp = POP32_VAL(esp); /* 0x2B09063D: pop ebp */ 9561 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09063E: ret */ 9562 RECOMP_REGS_OUT(); 9563 } 9564 9565 void sub_2B090640(void) { 9566 int _fpu_cmp = 0; 9567 uint32_t _cf = 0; 9568 int _df = 1; 9569 uint32_t _flag_k = FK_NONE; 9570 uint32_t _flag_a = 0, _flag_b = 0; 9571 uint32_t _itail_tgt = 0; 9572 RECOMP_REGS_LOCALS 9573 RECOMP_ENTER(0x2B090640u); 9574 9575 L_2B090640: 9576 PUSH32(esp, ebp); /* 0x2B090640: push ebp */ 9577 ebp = esp; /* 0x2B090641: mov ebp, esp */ 9578 eax = MEM32(ebp + 0x8); /* 0x2B090643: mov eax, dword ptr [ebp + 8] */ 9579 /* test eax, eax */ /* 0x2B090646: test eax, eax */ 9580 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9581 _cf = 0; 9582 _flag_k = FK_TEST; 9583 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090668; /* 0x2B090648: je 0x2b090668 */ 9584 L_2B09064A: 9585 PUSH32(esp, 0x41200000u); /* 0x2B09064A: push 0x41200000 */ 9586 PUSH32(esp, 0xF5u); /* 0x2B09064F: push 0xf5 */ 9587 PUSH32(esp, 1); /* 0x2B090654: push 1 */ 9588 MEM8(eax + 0x15) = (uint8_t)(1); /* 0x2B090656: mov byte ptr [eax + 0x15], 1 */ 9589 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B09065A: call dword ptr [0x2b0b53cc] */ 9590 RECOMP_FLAGS_IN(); 9591 ecx = eax; /* 0x2B090660: mov ecx, eax */ 9592 RECOMP_ICALL(MEM32(0x2B0B5398)); /* 0x2B090662: call dword ptr [0x2b0b5398] */ 9593 RECOMP_FLAGS_IN(); 9594 L_2B090668: 9595 ebp = POP32_VAL(esp); /* 0x2B090668: pop ebp */ 9596 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090669: ret */ 9597 RECOMP_REGS_OUT(); 9598 } 9599 9600 void sub_2B090670(void) { 9601 int _fpu_cmp = 0; 9602 uint32_t _cf = 0; 9603 int _df = 1; 9604 uint32_t _flag_k = FK_NONE; 9605 uint32_t _flag_a = 0, _flag_b = 0; 9606 uint32_t _itail_tgt = 0; 9607 RECOMP_REGS_LOCALS 9608 RECOMP_ENTER(0x2B090670u); 9609 9610 L_2B090670: 9611 PUSH32(esp, ebp); /* 0x2B090670: push ebp */ 9612 ebp = esp; /* 0x2B090671: mov ebp, esp */ 9613 ecx = MEM32(ebp + 0x8); /* 0x2B090673: mov ecx, dword ptr [ebp + 8] */ 9614 /* test ecx, ecx */ /* 0x2B090676: test ecx, ecx */ 9615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9616 _cf = 0; 9617 _flag_k = FK_TEST; 9618 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09068A; /* 0x2B090678: je 0x2b09068a */ 9619 L_2B09067A: 9620 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B09067A: mov al, byte ptr [ebp + 0x10] */ 9621 /* test LO8(eax), LO8(eax) */ /* 0x2B09067D: test al, al */ 9622 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9623 _cf = 0; 9624 _flag_k = FK_NARROW(FK_TEST, 24); 9625 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B09068A; /* 0x2B09067F: jne 0x2b09068a */ 9626 L_2B090681: 9627 eax = MEM32(ebp + 0xC); /* 0x2B090681: mov eax, dword ptr [ebp + 0xc] */ 9628 PUSH32(esp, eax); /* 0x2B090684: push eax */ 9629 RECOMP_ICALL(0x2B090210u); /* 0x2B090685: call 0x2b090210 */ /* not lifted */ 9630 RECOMP_FLAGS_IN(); 9631 L_2B09068A: 9632 ebp = POP32_VAL(esp); /* 0x2B09068A: pop ebp */ 9633 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09068B: ret */ 9634 RECOMP_REGS_OUT(); 9635 } 9636 9637 void sub_2B090690(void) { 9638 int _fpu_cmp = 0; 9639 uint32_t _cf = 0; 9640 int _df = 1; 9641 uint32_t _flag_k = FK_NONE; 9642 uint32_t _flag_a = 0, _flag_b = 0; 9643 uint32_t _itail_tgt = 0; 9644 RECOMP_REGS_LOCALS 9645 RECOMP_ENTER(0x2B090690u); 9646 9647 L_2B090690: 9648 PUSH32(esp, ebp); /* 0x2B090690: push ebp */ 9649 ebp = esp; /* 0x2B090691: mov ebp, esp */ 9650 PUSH32(esp, esi); /* 0x2B090693: push esi */ 9651 PUSH32(esp, edi); /* 0x2B090694: push edi */ 9652 edi = MEM32(ebp + 0x8); /* 0x2B090695: mov edi, dword ptr [ebp + 8] */ 9653 /* test edi, edi */ /* 0x2B090698: test edi, edi */ 9654 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9655 _cf = 0; 9656 _flag_k = FK_TEST; 9657 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0906E3; /* 0x2B09069A: je 0x2b0906e3 */ 9658 L_2B09069C: 9659 esi = MEM32(ebp + 0xC); /* 0x2B09069C: mov esi, dword ptr [ebp + 0xc] */ 9660 PUSH32(esp, 0x2B0ED308u); /* 0x2B09069F: push 0x2b0ed308 */ 9661 PUSH32(esp, esi); /* 0x2B0906A4: push esi */ 9662 RECOMP_ICALL(MEM32(0x2B0B517C)); /* 0x2B0906A5: call dword ptr [0x2b0b517c] */ 9663 RECOMP_FLAGS_IN(); 9664 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9665 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9666 esp = esp + 8; /* 0x2B0906AB: add esp, 8 */ 9667 _flag_k = FK_ADD; 9668 /* test LO8(eax), LO8(eax) */ /* 0x2B0906AE: test al, al */ 9669 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9670 _cf = 0; 9671 _flag_k = FK_NARROW(FK_TEST, 24); 9672 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0906BD; /* 0x2B0906B0: je 0x2b0906bd */ 9673 L_2B0906B2: 9674 ecx = edi; /* 0x2B0906B2: mov ecx, edi */ 9675 RECOMP_ICALL(0x2B08FDB0u); /* 0x2B0906B4: call 0x2b08fdb0 */ /* not lifted */ 9676 RECOMP_FLAGS_IN(); 9677 edi = POP32_VAL(esp); /* 0x2B0906B9: pop edi */ 9678 esi = POP32_VAL(esp); /* 0x2B0906BA: pop esi */ 9679 ebp = POP32_VAL(esp); /* 0x2B0906BB: pop ebp */ 9680 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0906BC: ret */ 9681 L_2B0906BD: 9682 eax = MEM32(esi + 0x4); /* 0x2B0906BD: mov eax, dword ptr [esi + 4] */ 9683 /* test eax, eax */ /* 0x2B0906C0: test eax, eax */ 9684 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9685 _cf = 0; 9686 _flag_k = FK_TEST; 9687 ecx = MEM32(esi + 0x8); /* 0x2B0906C2: mov ecx, dword ptr [esi + 8] */ 9688 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0906CC; /* 0x2B0906C5: jne 0x2b0906cc */ 9689 L_2B0906C7: 9690 eax = MEM32(0x2B0B513C); /* 0x2B0906C7: mov eax, dword ptr [0x2b0b513c] */ 9691 L_2B0906CC: 9692 PUSH32(esp, ecx); /* 0x2B0906CC: push ecx */ 9693 PUSH32(esp, eax); /* 0x2B0906CD: push eax */ 9694 PUSH32(esp, 0x8Du); /* 0x2B0906CE: push 0x8d */ 9695 PUSH32(esp, 3); /* 0x2B0906D3: push 3 */ 9696 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0906D5: call dword ptr [0x2b0b53cc] */ 9697 RECOMP_FLAGS_IN(); 9698 ecx = eax; /* 0x2B0906DB: mov ecx, eax */ 9699 RECOMP_ICALL(MEM32(0x2B0B53C4)); /* 0x2B0906DD: call dword ptr [0x2b0b53c4] */ 9700 RECOMP_FLAGS_IN(); 9701 L_2B0906E3: 9702 edi = POP32_VAL(esp); /* 0x2B0906E3: pop edi */ 9703 esi = POP32_VAL(esp); /* 0x2B0906E4: pop esi */ 9704 ebp = POP32_VAL(esp); /* 0x2B0906E5: pop ebp */ 9705 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0906E6: ret */ 9706 RECOMP_REGS_OUT(); 9707 } 9708 9709 void sub_2B0906F0(void) { 9710 int _fpu_cmp = 0; 9711 uint32_t _cf = 0; 9712 int _df = 1; 9713 uint32_t _flag_k = FK_NONE; 9714 uint32_t _flag_a = 0, _flag_b = 0; 9715 uint32_t _itail_tgt = 0; 9716 RECOMP_REGS_LOCALS 9717 RECOMP_ENTER(0x2B0906F0u); 9718 9719 L_2B0906F0: 9720 PUSH32(esp, ebp); /* 0x2B0906F0: push ebp */ 9721 ebp = esp; /* 0x2B0906F1: mov ebp, esp */ 9722 ecx = MEM32(ebp + 0x8); /* 0x2B0906F3: mov ecx, dword ptr [ebp + 8] */ 9723 /* test ecx, ecx */ /* 0x2B0906F6: test ecx, ecx */ 9724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9725 _cf = 0; 9726 _flag_k = FK_TEST; 9727 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090704; /* 0x2B0906F8: je 0x2b090704 */ 9728 L_2B0906FA: 9729 eax = MEM32(ecx + 0x24); /* 0x2B0906FA: mov eax, dword ptr [ecx + 0x24] */ 9730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9731 eax = eax + 1; /* 0x2B0906FD: inc eax */ 9732 _flag_k = FK_INC; 9733 PUSH32(esp, eax); /* 0x2B0906FE: push eax */ 9734 RECOMP_ICALL(0x2B090730u); /* 0x2B0906FF: call 0x2b090730 */ /* not lifted */ 9735 RECOMP_FLAGS_IN(); 9736 L_2B090704: 9737 ebp = POP32_VAL(esp); /* 0x2B090704: pop ebp */ 9738 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090705: ret */ 9739 RECOMP_REGS_OUT(); 9740 } 9741 9742 void sub_2B090710(void) { 9743 int _fpu_cmp = 0; 9744 uint32_t _cf = 0; 9745 int _df = 1; 9746 uint32_t _flag_k = FK_NONE; 9747 uint32_t _flag_a = 0, _flag_b = 0; 9748 uint32_t _itail_tgt = 0; 9749 RECOMP_REGS_LOCALS 9750 RECOMP_ENTER(0x2B090710u); 9751 9752 L_2B090710: 9753 PUSH32(esp, ebp); /* 0x2B090710: push ebp */ 9754 ebp = esp; /* 0x2B090711: mov ebp, esp */ 9755 ecx = MEM32(ebp + 0x8); /* 0x2B090713: mov ecx, dword ptr [ebp + 8] */ 9756 /* test ecx, ecx */ /* 0x2B090716: test ecx, ecx */ 9757 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9758 _cf = 0; 9759 _flag_k = FK_TEST; 9760 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090724; /* 0x2B090718: je 0x2b090724 */ 9761 L_2B09071A: 9762 eax = MEM32(ecx + 0x24); /* 0x2B09071A: mov eax, dword ptr [ecx + 0x24] */ 9763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9764 eax = eax - 1; /* 0x2B09071D: dec eax */ 9765 _flag_k = FK_DEC; 9766 PUSH32(esp, eax); /* 0x2B09071E: push eax */ 9767 RECOMP_ICALL(0x2B090730u); /* 0x2B09071F: call 0x2b090730 */ /* not lifted */ 9768 RECOMP_FLAGS_IN(); 9769 L_2B090724: 9770 ebp = POP32_VAL(esp); /* 0x2B090724: pop ebp */ 9771 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090725: ret */ 9772 RECOMP_REGS_OUT(); 9773 } 9774 9775 void sub_2B090730(void) { 9776 int _fpu_cmp = 0; 9777 uint32_t _cf = 0; 9778 int _df = 1; 9779 uint32_t _flag_k = FK_NONE; 9780 uint32_t _flag_a = 0, _flag_b = 0; 9781 uint32_t _itail_tgt = 0; 9782 RECOMP_REGS_LOCALS 9783 RECOMP_ENTER(0x2B090730u); 9784 9785 L_2B090730: 9786 PUSH32(esp, ebp); /* 0x2B090730: push ebp */ 9787 ebp = esp; /* 0x2B090731: mov ebp, esp */ 9788 PUSH32(esp, esi); /* 0x2B090733: push esi */ 9789 PUSH32(esp, edi); /* 0x2B090734: push edi */ 9790 esi = ecx; /* 0x2B090735: mov esi, ecx */ 9791 RECOMP_ICALL(0x2B090930u); /* 0x2B090737: call 0x2b090930 */ /* not lifted */ 9792 RECOMP_FLAGS_IN(); 9793 PUSH32(esp, 0x41200000u); /* 0x2B09073C: push 0x41200000 */ 9794 PUSH32(esp, 0xF5u); /* 0x2B090741: push 0xf5 */ 9795 PUSH32(esp, 1); /* 0x2B090746: push 1 */ 9796 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B090748: call dword ptr [0x2b0b53cc] */ 9797 RECOMP_FLAGS_IN(); 9798 ecx = eax; /* 0x2B09074E: mov ecx, eax */ 9799 RECOMP_ICALL(MEM32(0x2B0B5398)); /* 0x2B090750: call dword ptr [0x2b0b5398] */ 9800 RECOMP_FLAGS_IN(); 9801 eax = MEM32(esi + 0x20); /* 0x2B090756: mov eax, dword ptr [esi + 0x20] */ 9802 ecx = MEM32(eax + 0x8); /* 0x2B090759: mov ecx, dword ptr [eax + 8] */ 9803 /* test ecx, ecx */ /* 0x2B09075C: test ecx, ecx */ 9804 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9805 _cf = 0; 9806 _flag_k = FK_TEST; 9807 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0907F3; /* 0x2B09075E: je 0x2b0907f3 */ 9808 L_2B090764: 9809 edi = MEM32(ebp + 0x8); /* 0x2B090764: mov edi, dword ptr [ebp + 8] */ 9810 /* cmp MEM32(esi + 0x24), edi */ /* 0x2B090767: cmp dword ptr [esi + 0x24], edi */ 9811 _flag_a = (uint32_t)(MEM32(esi + 0x24)); _flag_b = (uint32_t)(edi); 9812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9813 _flag_k = FK_CMP; 9814 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0907F3; /* 0x2B09076A: je 0x2b0907f3 */ 9815 L_2B090770: 9816 /* test edi, edi */ /* 0x2B090770: test edi, edi */ 9817 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9818 _cf = 0; 9819 _flag_k = FK_TEST; 9820 if (TEST_S(_flag_a, _flag_b)) goto L_2B0907F3; /* 0x2B090772: jl 0x2b0907f3 */ 9821 L_2B090774: 9822 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 9823 ecx = ecx - 1; /* 0x2B090774: dec ecx */ 9824 _flag_k = FK_DEC; 9825 /* cmp edi, ecx */ /* 0x2B090775: cmp edi, ecx */ 9826 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 9827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9828 _flag_k = FK_CMP; 9829 if (CMP_A(_flag_a, _flag_b)) goto L_2B0907F3; /* 0x2B090777: ja 0x2b0907f3 */ 9830 L_2B090779: 9831 MEM32(esi + 0x24) = edi; /* 0x2B090779: mov dword ptr [esi + 0x24], edi */ 9832 eax = MEM32(eax + 0x4); /* 0x2B09077C: mov eax, dword ptr [eax + 4] */ 9833 ecx = MEM32(eax); /* 0x2B09077F: mov ecx, dword ptr [eax] */ 9834 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9835 edx = 0; /* 0x2B090781: xor edx, edx */ 9836 _cf = 0; 9837 _flag_k = FK_TEST; 9838 /* cmp eax, ecx */ /* 0x2B090783: cmp eax, ecx */ 9839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9841 _flag_k = FK_CMP; 9842 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0907F3; /* 0x2B090785: je 0x2b0907f3 */ 9843 L_2B090787: 9844 /* cmp edx, edi */ /* 0x2B090787: cmp edx, edi */ 9845 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 9846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9847 _flag_k = FK_CMP; 9848 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090799; /* 0x2B090789: je 0x2b090799 */ 9849 L_2B09078B: 9850 eax = MEM32(eax + 0x4); /* 0x2B09078B: mov eax, dword ptr [eax + 4] */ 9851 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9852 edx = edx + 1; /* 0x2B09078E: inc edx */ 9853 _flag_k = FK_INC; 9854 /* cmp eax, ecx */ /* 0x2B09078F: cmp eax, ecx */ 9855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9857 _flag_k = FK_CMP; 9858 RECOMP_BACKEDGE(); 9859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090787; /* 0x2B090791: jne 0x2b090787 */ 9860 L_2B090793: 9861 edi = POP32_VAL(esp); /* 0x2B090793: pop edi */ 9862 esi = POP32_VAL(esp); /* 0x2B090794: pop esi */ 9863 ebp = POP32_VAL(esp); /* 0x2B090795: pop ebp */ 9864 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B090796: ret 4 */ 9865 L_2B090799: 9866 edi = MEM32(eax + 0x4); /* 0x2B090799: mov edi, dword ptr [eax + 4] */ 9867 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 9868 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9869 edi = edi + 8; /* 0x2B09079C: add edi, 8 */ 9870 _flag_k = FK_ADD; 9871 PUSH32(esp, edi); /* 0x2B09079F: push edi */ 9872 ecx = esi; /* 0x2B0907A0: mov ecx, esi */ 9873 RECOMP_ICALL(0x2B08F980u); /* 0x2B0907A2: call 0x2b08f980 */ /* not lifted */ 9874 RECOMP_FLAGS_IN(); 9875 SET_LO8(eax, MEM8(edi + 0x34)); /* 0x2B0907A7: mov al, byte ptr [edi + 0x34] */ 9876 /* test LO8(eax), LO8(eax) */ /* 0x2B0907AA: test al, al */ 9877 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9878 _cf = 0; 9879 _flag_k = FK_NARROW(FK_TEST, 24); 9880 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0907D3; /* 0x2B0907AC: je 0x2b0907d3 */ 9881 L_2B0907AE: 9882 eax = MEM32(esi + 0x2C); /* 0x2B0907AE: mov eax, dword ptr [esi + 0x2c] */ 9883 /* test eax, eax */ /* 0x2B0907B1: test eax, eax */ 9884 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9885 _cf = 0; 9886 _flag_k = FK_TEST; 9887 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0907B9; /* 0x2B0907B3: jne 0x2b0907b9 */ 9888 L_2B0907B5: 9889 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9890 edx = 0; /* 0x2B0907B5: xor edx, edx */ 9891 _cf = 0; 9892 _flag_k = FK_TEST; 9893 goto L_2B0907CF; /* 0x2B0907B7: jmp 0x2b0907cf */ 9894 L_2B0907B9: 9895 ecx = MEM32(esi + 0x30); /* 0x2B0907B9: mov ecx, dword ptr [esi + 0x30] */ 9896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9898 ecx = ecx - eax; /* 0x2B0907BC: sub ecx, eax */ 9899 _flag_k = FK_CMP; 9900 eax = 0x66666667u; /* 0x2B0907BE: mov eax, 0x66666667 */ 9901 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B0907C3: imul ecx */ 9902 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 9903 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 9904 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B0907C5: sar edx, 3 */ 9905 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9906 edx = (uint32_t)((int32_t)edx >> 3u); 9907 eax = edx; /* 0x2B0907C8: mov eax, edx */ 9908 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B0907CA: shr eax, 0x1f */ 9909 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9910 eax = eax >> 31u; /* 0x2B0907CA: shr eax, 0x1f */ 9911 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9913 edx = edx + eax; /* 0x2B0907CD: add edx, eax */ 9914 _flag_k = FK_ADD; 9915 L_2B0907CF: 9916 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 9917 edx = edx - 1; /* 0x2B0907CF: dec edx */ 9918 _flag_k = FK_DEC; 9919 MEM32(esi + 0x1C) = edx; /* 0x2B0907D0: mov dword ptr [esi + 0x1c], edx */ 9920 L_2B0907D3: 9921 ecx = esi; /* 0x2B0907D3: mov ecx, esi */ 9922 RECOMP_ICALL(0x2B08FDB0u); /* 0x2B0907D5: call 0x2b08fdb0 */ /* not lifted */ 9923 RECOMP_FLAGS_IN(); 9924 SET_LO8(eax, MEM8(edi + 0x30)); /* 0x2B0907DA: mov al, byte ptr [edi + 0x30] */ 9925 /* test LO8(eax), LO8(eax) */ /* 0x2B0907DD: test al, al */ 9926 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9927 _cf = 0; 9928 _flag_k = FK_NARROW(FK_TEST, 24); 9929 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0907EF; /* 0x2B0907DF: je 0x2b0907ef */ 9930 L_2B0907E1: 9931 SET_LO8(eax, MEM8(edi + 0x34)); /* 0x2B0907E1: mov al, byte ptr [edi + 0x34] */ 9932 /* test LO8(eax), LO8(eax) */ /* 0x2B0907E4: test al, al */ 9933 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9934 _cf = 0; 9935 _flag_k = FK_NARROW(FK_TEST, 24); 9936 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0907EF; /* 0x2B0907E6: jne 0x2b0907ef */ 9937 L_2B0907E8: 9938 ecx = esi; /* 0x2B0907E8: mov ecx, esi */ 9939 RECOMP_ICALL(0x2B090800u); /* 0x2B0907EA: call 0x2b090800 */ /* not lifted */ 9940 RECOMP_FLAGS_IN(); 9941 L_2B0907EF: 9942 MEM8(edi + 0x34) = (uint8_t)(1); /* 0x2B0907EF: mov byte ptr [edi + 0x34], 1 */ 9943 L_2B0907F3: 9944 edi = POP32_VAL(esp); /* 0x2B0907F3: pop edi */ 9945 esi = POP32_VAL(esp); /* 0x2B0907F4: pop esi */ 9946 ebp = POP32_VAL(esp); /* 0x2B0907F5: pop ebp */ 9947 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0907F6: ret 4 */ 9948 RECOMP_REGS_OUT(); 9949 } 9950 9951 void sub_2B090800(void) { 9952 int _fpu_cmp = 0; 9953 uint32_t _cf = 0; 9954 int _df = 1; 9955 uint32_t _flag_k = FK_NONE; 9956 uint32_t _flag_a = 0, _flag_b = 0; 9957 uint32_t _itail_tgt = 0; 9958 RECOMP_REGS_LOCALS 9959 RECOMP_ENTER(0x2B090800u); 9960 9961 L_2B090800: 9962 PUSH32(esp, ebp); /* 0x2B090800: push ebp */ 9963 ebp = esp; /* 0x2B090801: mov ebp, esp */ 9964 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B090803: push -1 */ 9965 PUSH32(esp, 0x2B0B2B66u); /* 0x2B090805: push 0x2b0b2b66 */ 9966 eax = MEM32(FS_BASE + (0)); /* 0x2B09080A: mov eax, dword ptr fs:[0] */ 9967 PUSH32(esp, eax); /* 0x2B090810: push eax */ 9968 MEM32(FS_BASE + (0)) = esp; /* 0x2B090811: mov dword ptr fs:[0], esp */ 9969 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 9970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9971 esp = esp - 0xCu; /* 0x2B090818: sub esp, 0xc */ 9972 _flag_k = FK_CMP; 9973 PUSH32(esp, ebx); /* 0x2B09081B: push ebx */ 9974 PUSH32(esp, esi); /* 0x2B09081C: push esi */ 9975 PUSH32(esp, edi); /* 0x2B09081D: push edi */ 9976 esi = ecx; /* 0x2B09081E: mov esi, ecx */ 9977 RECOMP_ICALL(0x2B090930u); /* 0x2B090820: call 0x2b090930 */ /* not lifted */ 9978 RECOMP_FLAGS_IN(); 9979 edi = MEM32(0x2B0B5690); /* 0x2B090825: mov edi, dword ptr [0x2b0b5690] */ 9980 RECOMP_ICALL(edi); /* 0x2B09082B: call edi */ 9981 RECOMP_FLAGS_IN(); 9982 ecx = eax; /* 0x2B09082D: mov ecx, eax */ 9983 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B09082F: call dword ptr [0x2b0b5688] */ 9984 RECOMP_FLAGS_IN(); 9985 ebx = eax; /* 0x2B090835: mov ebx, eax */ 9986 RECOMP_ICALL(edi); /* 0x2B090837: call edi */ 9987 RECOMP_FLAGS_IN(); 9988 ecx = eax; /* 0x2B090839: mov ecx, eax */ 9989 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B09083B: call dword ptr [0x2b0b568c] */ 9990 RECOMP_FLAGS_IN(); 9991 PUSH32(esp, 0x14u); /* 0x2B090841: push 0x14 */ 9992 MEM32(ebp + (-0x18)) = ebx; /* 0x2B090843: mov dword ptr [ebp - 0x18], ebx */ 9993 MEM32(ebp + (-0x14)) = eax; /* 0x2B090846: mov dword ptr [ebp - 0x14], eax */ 9994 RECOMP_ICALL(0x2B0AB212u); /* 0x2B090849: call 0x2b0ab212 */ /* not lifted */ 9995 RECOMP_FLAGS_IN(); 9996 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9997 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9998 esp = esp + 4; /* 0x2B09084E: add esp, 4 */ 9999 _flag_k = FK_ADD; 10000 MEM32(ebp + (-0x10)) = eax; /* 0x2B090851: mov dword ptr [ebp - 0x10], eax */ 10001 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10002 ebx = 0; /* 0x2B090854: xor ebx, ebx */ 10003 _cf = 0; 10004 _flag_k = FK_TEST; 10005 /* cmp eax, ebx */ /* 0x2B090856: cmp eax, ebx */ 10006 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10008 _flag_k = FK_CMP; 10009 MEM32(ebp + (-0x4)) = ebx; /* 0x2B090858: mov dword ptr [ebp - 4], ebx */ 10010 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09086E; /* 0x2B09085B: je 0x2b09086e */ 10011 L_2B09085D: 10012 ecx = MEM32(esi + 0x10); /* 0x2B09085D: mov ecx, dword ptr [esi + 0x10] */ 10013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(2); 10014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10015 ecx = ecx - 2; /* 0x2B090860: sub ecx, 2 */ 10016 _flag_k = FK_CMP; 10017 PUSH32(esp, ecx); /* 0x2B090863: push ecx */ 10018 ecx = eax; /* 0x2B090864: mov ecx, eax */ 10019 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B090866: call dword ptr [0x2b0b5b10] */ 10020 RECOMP_FLAGS_IN(); 10021 goto L_2B090870; /* 0x2B09086C: jmp 0x2b090870 */ 10022 L_2B09086E: 10023 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10024 eax = 0; /* 0x2B09086E: xor eax, eax */ 10025 _cf = 0; 10026 _flag_k = FK_TEST; 10027 L_2B090870: 10028 PUSH32(esp, ebx); /* 0x2B090870: push ebx */ 10029 ecx = eax; /* 0x2B090871: mov ecx, eax */ 10030 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B090873: mov dword ptr [ebp - 4], 0xffffffff */ 10031 MEM32(esi + 0x80) = eax; /* 0x2B09087A: mov dword ptr [esi + 0x80], eax */ 10032 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B090880: call dword ptr [0x2b0b5b0c] */ 10033 RECOMP_FLAGS_IN(); 10034 ecx = MEM32(esi + 0x80); /* 0x2B090886: mov ecx, dword ptr [esi + 0x80] */ 10035 PUSH32(esp, 0x80u); /* 0x2B09088C: push 0x80 */ 10036 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B090891: call dword ptr [0x2b0b5b08] */ 10037 RECOMP_FLAGS_IN(); 10038 ecx = MEM32(esi + 0x80); /* 0x2B090897: mov ecx, dword ptr [esi + 0x80] */ 10039 edx = ebp + (-0x18); /* 0x2B09089D: lea edx, [ebp - 0x18] */ 10040 PUSH32(esp, edx); /* 0x2B0908A0: push edx */ 10041 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B0908A1: call dword ptr [0x2b0b5b04] */ 10042 RECOMP_FLAGS_IN(); 10043 PUSH32(esp, 0x9Cu); /* 0x2B0908A7: push 0x9c */ 10044 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0908AC: call 0x2b0ab212 */ /* not lifted */ 10045 RECOMP_FLAGS_IN(); 10046 edi = eax; /* 0x2B0908B1: mov edi, eax */ 10047 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10048 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10049 esp = esp + 4; /* 0x2B0908B3: add esp, 4 */ 10050 _flag_k = FK_ADD; 10051 MEM32(ebp + (-0x10)) = edi; /* 0x2B0908B6: mov dword ptr [ebp - 0x10], edi */ 10052 /* cmp edi, ebx */ /* 0x2B0908B9: cmp edi, ebx */ 10053 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 10054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10055 _flag_k = FK_CMP; 10056 MEM32(ebp + (-0x4)) = 1; /* 0x2B0908BB: mov dword ptr [ebp - 4], 1 */ 10057 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0908EE; /* 0x2B0908C2: je 0x2b0908ee */ 10058 L_2B0908C4: 10059 eax = MEM32(esi + 0x10); /* 0x2B0908C4: mov eax, dword ptr [esi + 0x10] */ 10060 ecx = MEM32(ebp + (-0x14)); /* 0x2B0908C7: mov ecx, dword ptr [ebp - 0x14] */ 10061 edx = MEM32(ebp + (-0x18)); /* 0x2B0908CA: mov edx, dword ptr [ebp - 0x18] */ 10062 PUSH32(esp, ebx); /* 0x2B0908CD: push ebx */ 10063 PUSH32(esp, 4); /* 0x2B0908CE: push 4 */ 10064 PUSH32(esp, ebx); /* 0x2B0908D0: push ebx */ 10065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 10066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10067 eax = eax - 2; /* 0x2B0908D1: sub eax, 2 */ 10068 _flag_k = FK_CMP; 10069 PUSH32(esp, eax); /* 0x2B0908D4: push eax */ 10070 PUSH32(esp, ebx); /* 0x2B0908D5: push ebx */ 10071 PUSH32(esp, ebx); /* 0x2B0908D6: push ebx */ 10072 PUSH32(esp, ebx); /* 0x2B0908D7: push ebx */ 10073 PUSH32(esp, ecx); /* 0x2B0908D8: push ecx */ 10074 PUSH32(esp, edx); /* 0x2B0908D9: push edx */ 10075 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10076 eax = 0; /* 0x2B0908DA: xor eax, eax */ 10077 _cf = 0; 10078 _flag_k = FK_TEST; 10079 PUSH32(esp, eax); /* 0x2B0908DC: push eax */ 10080 PUSH32(esp, ebx); /* 0x2B0908DD: push ebx */ 10081 ecx = edi; /* 0x2B0908DE: mov ecx, edi */ 10082 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B0908E0: call dword ptr [0x2b0b5af0] */ 10083 RECOMP_FLAGS_IN(); 10084 MEM32(edi) = 0x2B0B642Cu; /* 0x2B0908E6: mov dword ptr [edi], 0x2b0b642c */ 10085 goto L_2B0908F0; /* 0x2B0908EC: jmp 0x2b0908f0 */ 10086 L_2B0908EE: 10087 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10088 edi = 0; /* 0x2B0908EE: xor edi, edi */ 10089 _cf = 0; 10090 _flag_k = FK_TEST; 10091 L_2B0908F0: 10092 PUSH32(esp, 0xF6u); /* 0x2B0908F0: push 0xf6 */ 10093 PUSH32(esp, 9); /* 0x2B0908F5: push 9 */ 10094 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0908F7: mov dword ptr [ebp - 4], 0xffffffff */ 10095 MEM32(esi + 0x84) = edi; /* 0x2B0908FE: mov dword ptr [esi + 0x84], edi */ 10096 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B090904: call dword ptr [0x2b0b53cc] */ 10097 RECOMP_FLAGS_IN(); 10098 ecx = eax; /* 0x2B09090A: mov ecx, eax */ 10099 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B09090C: call dword ptr [0x2b0b53c8] */ 10100 RECOMP_FLAGS_IN(); 10101 ecx = MEM32(ebp + (-0xC)); /* 0x2B090912: mov ecx, dword ptr [ebp - 0xc] */ 10102 edi = POP32_VAL(esp); /* 0x2B090915: pop edi */ 10103 esi = POP32_VAL(esp); /* 0x2B090916: pop esi */ 10104 ebx = POP32_VAL(esp); /* 0x2B090917: pop ebx */ 10105 MEM32(FS_BASE + (0)) = ecx; /* 0x2B090918: mov dword ptr fs:[0], ecx */ 10106 esp = ebp; /* 0x2B09091F: mov esp, ebp */ 10107 ebp = POP32_VAL(esp); /* 0x2B090921: pop ebp */ 10108 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090922: ret */ 10109 RECOMP_REGS_OUT(); 10110 } 10111 10112 void sub_2B090930(void) { 10113 int _fpu_cmp = 0; 10114 uint32_t _cf = 0; 10115 int _df = 1; 10116 uint32_t _flag_k = FK_NONE; 10117 uint32_t _flag_a = 0, _flag_b = 0; 10118 uint32_t _itail_tgt = 0; 10119 RECOMP_REGS_LOCALS 10120 RECOMP_ENTER(0x2B090930u); 10121 10122 L_2B090930: 10123 PUSH32(esp, ebx); /* 0x2B090930: push ebx */ 10124 PUSH32(esp, esi); /* 0x2B090931: push esi */ 10125 esi = ecx; /* 0x2B090932: mov esi, ecx */ 10126 PUSH32(esp, edi); /* 0x2B090934: push edi */ 10127 edi = MEM32(esi + 0x80); /* 0x2B090935: mov edi, dword ptr [esi + 0x80] */ 10128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10129 ebx = 0; /* 0x2B09093B: xor ebx, ebx */ 10130 _cf = 0; 10131 _flag_k = FK_TEST; 10132 /* cmp edi, ebx */ /* 0x2B09093D: cmp edi, ebx */ 10133 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 10134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10135 _flag_k = FK_CMP; 10136 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090952; /* 0x2B09093F: je 0x2b090952 */ 10137 L_2B090941: 10138 ecx = edi; /* 0x2B090941: mov ecx, edi */ 10139 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B090943: call dword ptr [0x2b0b5b2c] */ 10140 RECOMP_FLAGS_IN(); 10141 PUSH32(esp, edi); /* 0x2B090949: push edi */ 10142 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09094A: call 0x2b0ab1ba */ /* not lifted */ 10143 RECOMP_FLAGS_IN(); 10144 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10145 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10146 esp = esp + 4; /* 0x2B09094F: add esp, 4 */ 10147 _flag_k = FK_ADD; 10148 L_2B090952: 10149 ecx = MEM32(esi + 0x84); /* 0x2B090952: mov ecx, dword ptr [esi + 0x84] */ 10150 /* cmp ecx, ebx */ /* 0x2B090958: cmp ecx, ebx */ 10151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10153 _flag_k = FK_CMP; 10154 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090962; /* 0x2B09095A: je 0x2b090962 */ 10155 L_2B09095C: 10156 eax = MEM32(ecx); /* 0x2B09095C: mov eax, dword ptr [ecx] */ 10157 PUSH32(esp, 1); /* 0x2B09095E: push 1 */ 10158 RECOMP_ICALL(MEM32(eax)); /* 0x2B090960: call dword ptr [eax] */ 10159 RECOMP_FLAGS_IN(); 10160 L_2B090962: 10161 edi = POP32_VAL(esp); /* 0x2B090962: pop edi */ 10162 MEM32(esi + 0x84) = ebx; /* 0x2B090963: mov dword ptr [esi + 0x84], ebx */ 10163 MEM32(esi + 0x80) = ebx; /* 0x2B090969: mov dword ptr [esi + 0x80], ebx */ 10164 esi = POP32_VAL(esp); /* 0x2B09096F: pop esi */ 10165 ebx = POP32_VAL(esp); /* 0x2B090970: pop ebx */ 10166 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090971: ret */ 10167 RECOMP_REGS_OUT(); 10168 } 10169 10170 void sub_2B090980(void) { 10171 int _fpu_cmp = 0; 10172 uint32_t _cf = 0; 10173 int _df = 1; 10174 uint32_t _flag_k = FK_NONE; 10175 uint32_t _flag_a = 0, _flag_b = 0; 10176 uint32_t _itail_tgt = 0; 10177 RECOMP_REGS_LOCALS 10178 RECOMP_ENTER(0x2B090980u); 10179 10180 L_2B090980: 10181 PUSH32(esp, ebx); /* 0x2B090980: push ebx */ 10182 PUSH32(esp, esi); /* 0x2B090981: push esi */ 10183 PUSH32(esp, edi); /* 0x2B090982: push edi */ 10184 edi = ecx; /* 0x2B090983: mov edi, ecx */ 10185 ebx = MEM32(edi + 0x8); /* 0x2B090985: mov ebx, dword ptr [edi + 8] */ 10186 esi = MEM32(edi + 0x4); /* 0x2B090988: mov esi, dword ptr [edi + 4] */ 10187 /* cmp esi, ebx */ /* 0x2B09098B: cmp esi, ebx */ 10188 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 10189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10190 _flag_k = FK_CMP; 10191 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09099E; /* 0x2B09098D: je 0x2b09099e */ 10192 L_2B09098F: 10193 ecx = esi; /* 0x2B09098F: mov ecx, esi */ 10194 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B090991: call dword ptr [0x2b0b5b8c] */ 10195 RECOMP_FLAGS_IN(); 10196 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10197 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10198 esi = esi + 0x14u; /* 0x2B090997: add esi, 0x14 */ 10199 _flag_k = FK_ADD; 10200 /* cmp esi, ebx */ /* 0x2B09099A: cmp esi, ebx */ 10201 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 10202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10203 _flag_k = FK_CMP; 10204 RECOMP_BACKEDGE(); 10205 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09098F; /* 0x2B09099C: jne 0x2b09098f */ 10206 L_2B09099E: 10207 eax = MEM32(edi + 0x4); /* 0x2B09099E: mov eax, dword ptr [edi + 4] */ 10208 PUSH32(esp, eax); /* 0x2B0909A1: push eax */ 10209 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0909A2: call 0x2b0ab1ba */ /* not lifted */ 10210 RECOMP_FLAGS_IN(); 10211 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10212 eax = 0; /* 0x2B0909A7: xor eax, eax */ 10213 _cf = 0; 10214 _flag_k = FK_TEST; 10215 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10217 esp = esp + 4; /* 0x2B0909A9: add esp, 4 */ 10218 _flag_k = FK_ADD; 10219 MEM32(edi + 0x4) = eax; /* 0x2B0909AC: mov dword ptr [edi + 4], eax */ 10220 MEM32(edi + 0x8) = eax; /* 0x2B0909AF: mov dword ptr [edi + 8], eax */ 10221 MEM32(edi + 0xC) = eax; /* 0x2B0909B2: mov dword ptr [edi + 0xc], eax */ 10222 edi = POP32_VAL(esp); /* 0x2B0909B5: pop edi */ 10223 esi = POP32_VAL(esp); /* 0x2B0909B6: pop esi */ 10224 ebx = POP32_VAL(esp); /* 0x2B0909B7: pop ebx */ 10225 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0909B8: ret */ 10226 RECOMP_REGS_OUT(); 10227 } 10228 10229 void sub_2B0909C0(void) { 10230 int _fpu_cmp = 0; 10231 uint32_t _cf = 0; 10232 int _df = 1; 10233 uint32_t _flag_k = FK_NONE; 10234 uint32_t _flag_a = 0, _flag_b = 0; 10235 uint32_t _itail_tgt = 0; 10236 RECOMP_REGS_LOCALS 10237 RECOMP_ENTER(0x2B0909C0u); 10238 10239 L_2B0909C0: 10240 PUSH32(esp, ebp); /* 0x2B0909C0: push ebp */ 10241 ebp = esp; /* 0x2B0909C1: mov ebp, esp */ 10242 PUSH32(esp, ecx); /* 0x2B0909C3: push ecx */ 10243 PUSH32(esp, ebx); /* 0x2B0909C4: push ebx */ 10244 ebx = MEM32(ecx + 0x8); /* 0x2B0909C5: mov ebx, dword ptr [ecx + 8] */ 10245 PUSH32(esp, esi); /* 0x2B0909C8: push esi */ 10246 esi = MEM32(ebp + 0x8); /* 0x2B0909C9: mov esi, dword ptr [ebp + 8] */ 10247 PUSH32(esp, edi); /* 0x2B0909CC: push edi */ 10248 edi = MEM32(ebp + 0xC); /* 0x2B0909CD: mov edi, dword ptr [ebp + 0xc] */ 10249 /* cmp edi, ebx */ /* 0x2B0909D0: cmp edi, ebx */ 10250 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 10251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10252 _flag_k = FK_CMP; 10253 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0909D2: mov dword ptr [ebp - 4], ecx */ 10254 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0909ED; /* 0x2B0909D5: je 0x2b0909ed */ 10255 L_2B0909D7: 10256 PUSH32(esp, edi); /* 0x2B0909D7: push edi */ 10257 ecx = esi; /* 0x2B0909D8: mov ecx, esi */ 10258 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B0909DA: call dword ptr [0x2b0b5a8c] */ 10259 RECOMP_FLAGS_IN(); 10260 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 10261 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10262 edi = edi + 0x14u; /* 0x2B0909E0: add edi, 0x14 */ 10263 _flag_k = FK_ADD; 10264 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10265 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10266 esi = esi + 0x14u; /* 0x2B0909E3: add esi, 0x14 */ 10267 _flag_k = FK_ADD; 10268 /* cmp edi, ebx */ /* 0x2B0909E6: cmp edi, ebx */ 10269 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 10270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10271 _flag_k = FK_CMP; 10272 RECOMP_BACKEDGE(); 10273 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0909D7; /* 0x2B0909E8: jne 0x2b0909d7 */ 10274 L_2B0909EA: 10275 ecx = MEM32(ebp + (-0x4)); /* 0x2B0909EA: mov ecx, dword ptr [ebp - 4] */ 10276 L_2B0909ED: 10277 ebx = MEM32(ecx + 0x8); /* 0x2B0909ED: mov ebx, dword ptr [ecx + 8] */ 10278 /* cmp esi, ebx */ /* 0x2B0909F0: cmp esi, ebx */ 10279 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 10280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10281 _flag_k = FK_CMP; 10282 edi = esi; /* 0x2B0909F2: mov edi, esi */ 10283 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090A17; /* 0x2B0909F4: je 0x2b090a17 */ 10284 L_2B0909F6: 10285 ecx = edi; /* 0x2B0909F6: mov ecx, edi */ 10286 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B0909F8: call dword ptr [0x2b0b5b8c] */ 10287 RECOMP_FLAGS_IN(); 10288 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 10289 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10290 edi = edi + 0x14u; /* 0x2B0909FE: add edi, 0x14 */ 10291 _flag_k = FK_ADD; 10292 /* cmp edi, ebx */ /* 0x2B090A01: cmp edi, ebx */ 10293 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 10294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10295 _flag_k = FK_CMP; 10296 RECOMP_BACKEDGE(); 10297 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0909F6; /* 0x2B090A03: jne 0x2b0909f6 */ 10298 L_2B090A05: 10299 eax = MEM32(ebp + (-0x4)); /* 0x2B090A05: mov eax, dword ptr [ebp - 4] */ 10300 edi = POP32_VAL(esp); /* 0x2B090A08: pop edi */ 10301 MEM32(eax + 0x8) = esi; /* 0x2B090A09: mov dword ptr [eax + 8], esi */ 10302 eax = MEM32(ebp + 0x8); /* 0x2B090A0C: mov eax, dword ptr [ebp + 8] */ 10303 esi = POP32_VAL(esp); /* 0x2B090A0F: pop esi */ 10304 ebx = POP32_VAL(esp); /* 0x2B090A10: pop ebx */ 10305 esp = ebp; /* 0x2B090A11: mov esp, ebp */ 10306 ebp = POP32_VAL(esp); /* 0x2B090A13: pop ebp */ 10307 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B090A14: ret 8 */ 10308 L_2B090A17: 10309 eax = MEM32(ebp + 0x8); /* 0x2B090A17: mov eax, dword ptr [ebp + 8] */ 10310 edi = POP32_VAL(esp); /* 0x2B090A1A: pop edi */ 10311 MEM32(ecx + 0x8) = esi; /* 0x2B090A1B: mov dword ptr [ecx + 8], esi */ 10312 esi = POP32_VAL(esp); /* 0x2B090A1E: pop esi */ 10313 ebx = POP32_VAL(esp); /* 0x2B090A1F: pop ebx */ 10314 esp = ebp; /* 0x2B090A20: mov esp, ebp */ 10315 ebp = POP32_VAL(esp); /* 0x2B090A22: pop ebp */ 10316 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B090A23: ret 8 */ 10317 RECOMP_REGS_OUT(); 10318 } 10319 10320 void sub_2B090A30(void) { 10321 int _fpu_cmp = 0; 10322 uint32_t _cf = 0; 10323 int _df = 1; 10324 uint32_t _flag_k = FK_NONE; 10325 uint32_t _flag_a = 0, _flag_b = 0; 10326 uint32_t _itail_tgt = 0; 10327 RECOMP_REGS_LOCALS 10328 RECOMP_ENTER(0x2B090A30u); 10329 10330 L_2B090A30: 10331 PUSH32(esp, ebp); /* 0x2B090A30: push ebp */ 10332 ebp = esp; /* 0x2B090A31: mov ebp, esp */ 10333 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 10334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10335 esp = esp - 0x10u; /* 0x2B090A33: sub esp, 0x10 */ 10336 _flag_k = FK_CMP; 10337 edx = MEM32(ecx + 0xC); /* 0x2B090A36: mov edx, dword ptr [ecx + 0xc] */ 10338 PUSH32(esp, ebx); /* 0x2B090A39: push ebx */ 10339 PUSH32(esp, esi); /* 0x2B090A3A: push esi */ 10340 esi = MEM32(ecx + 0x8); /* 0x2B090A3B: mov esi, dword ptr [ecx + 8] */ 10341 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 10342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10343 edx = edx - esi; /* 0x2B090A3E: sub edx, esi */ 10344 _flag_k = FK_CMP; 10345 eax = 0x66666667u; /* 0x2B090A40: mov eax, 0x66666667 */ 10346 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B090A45: imul edx */ 10347 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10348 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10349 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B090A47: sar edx, 3 */ 10350 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10351 edx = (uint32_t)((int32_t)edx >> 3u); 10352 eax = edx; /* 0x2B090A4A: mov eax, edx */ 10353 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B090A4C: shr eax, 0x1f */ 10354 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10355 eax = eax >> 31u; /* 0x2B090A4C: shr eax, 0x1f */ 10356 PUSH32(esp, edi); /* 0x2B090A4F: push edi */ 10357 edi = MEM32(ebp + 0xC); /* 0x2B090A50: mov edi, dword ptr [ebp + 0xc] */ 10358 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10359 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10360 edx = edx + eax; /* 0x2B090A53: add edx, eax */ 10361 _flag_k = FK_ADD; 10362 /* cmp edx, edi */ /* 0x2B090A55: cmp edx, edi */ 10363 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 10364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10365 _flag_k = FK_CMP; 10366 MEM32(ebp + (-0x4)) = ecx; /* 0x2B090A57: mov dword ptr [ebp - 4], ecx */ 10367 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090BD0; /* 0x2B090A5A: jae 0x2b090bd0 */ 10368 L_2B090A60: 10369 ecx = MEM32(ecx + 0x4); /* 0x2B090A60: mov ecx, dword ptr [ecx + 4] */ 10370 /* test ecx, ecx */ /* 0x2B090A63: test ecx, ecx */ 10371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10372 _cf = 0; 10373 _flag_k = FK_TEST; 10374 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090A82; /* 0x2B090A65: je 0x2b090a82 */ 10375 L_2B090A67: 10376 edx = esi; /* 0x2B090A67: mov edx, esi */ 10377 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 10378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10379 edx = edx - ecx; /* 0x2B090A69: sub edx, ecx */ 10380 _flag_k = FK_CMP; 10381 eax = 0x66666667u; /* 0x2B090A6B: mov eax, 0x66666667 */ 10382 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B090A70: imul edx */ 10383 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10384 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10385 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B090A72: sar edx, 3 */ 10386 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10387 edx = (uint32_t)((int32_t)edx >> 3u); 10388 eax = edx; /* 0x2B090A75: mov eax, edx */ 10389 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B090A77: shr eax, 0x1f */ 10390 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10391 eax = eax >> 31u; /* 0x2B090A77: shr eax, 0x1f */ 10392 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10393 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10394 edx = edx + eax; /* 0x2B090A7A: add edx, eax */ 10395 _flag_k = FK_ADD; 10396 /* cmp edi, edx */ /* 0x2B090A7C: cmp edi, edx */ 10397 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10399 _flag_k = FK_CMP; 10400 ebx = edx; /* 0x2B090A7E: mov ebx, edx */ 10401 if (CMP_B(_flag_a, _flag_b)) goto L_2B090A84; /* 0x2B090A80: jb 0x2b090a84 */ 10402 L_2B090A82: 10403 ebx = edi; /* 0x2B090A82: mov ebx, edi */ 10404 L_2B090A84: 10405 /* test ecx, ecx */ /* 0x2B090A84: test ecx, ecx */ 10406 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10407 _cf = 0; 10408 _flag_k = FK_TEST; 10409 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090A8C; /* 0x2B090A86: jne 0x2b090a8c */ 10410 L_2B090A88: 10411 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10412 edx = 0; /* 0x2B090A88: xor edx, edx */ 10413 _cf = 0; 10414 _flag_k = FK_TEST; 10415 goto L_2B090A9F; /* 0x2B090A8A: jmp 0x2b090a9f */ 10416 L_2B090A8C: 10417 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 10418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10419 esi = esi - ecx; /* 0x2B090A8C: sub esi, ecx */ 10420 _flag_k = FK_CMP; 10421 eax = 0x66666667u; /* 0x2B090A8E: mov eax, 0x66666667 */ 10422 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(esi); /* 0x2B090A93: imul esi */ 10423 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10424 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10425 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B090A95: sar edx, 3 */ 10426 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10427 edx = (uint32_t)((int32_t)edx >> 3u); 10428 ecx = edx; /* 0x2B090A98: mov ecx, edx */ 10429 if (31u) _cf = (((ecx) >> 30) & 1u); /* 0x2B090A9A: shr ecx, 0x1f */ 10430 if (31u) { _flag_a = recomp_flags_pack((ecx >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10431 ecx = ecx >> 31u; /* 0x2B090A9A: shr ecx, 0x1f */ 10432 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 10433 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10434 edx = edx + ecx; /* 0x2B090A9D: add edx, ecx */ 10435 _flag_k = FK_ADD; 10436 L_2B090A9F: 10437 eax = edx + ebx; /* 0x2B090A9F: lea eax, [edx + ebx] */ 10438 /* test eax, eax */ /* 0x2B090AA2: test eax, eax */ 10439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10440 _cf = 0; 10441 _flag_k = FK_TEST; 10442 MEM32(ebp + (-0xC)) = eax; /* 0x2B090AA4: mov dword ptr [ebp - 0xc], eax */ 10443 if (TEST_NS(_flag_a, _flag_b)) goto L_2B090AAB; /* 0x2B090AA7: jge 0x2b090aab */ 10444 L_2B090AA9: 10445 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10446 eax = 0; /* 0x2B090AA9: xor eax, eax */ 10447 _cf = 0; 10448 _flag_k = FK_TEST; 10449 L_2B090AAB: 10450 edx = eax + eax * 4; /* 0x2B090AAB: lea edx, [eax + eax*4] */ 10451 if (2u) _cf = (((edx) >> 30) & 1u); /* 0x2B090AAE: shl edx, 2 */ 10452 if (2u) { _flag_a = recomp_flags_pack((edx << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10453 edx = edx << 2u; /* 0x2B090AAE: shl edx, 2 */ 10454 PUSH32(esp, edx); /* 0x2B090AB1: push edx */ 10455 RECOMP_ICALL(0x2B0AB212u); /* 0x2B090AB2: call 0x2b0ab212 */ /* not lifted */ 10456 RECOMP_FLAGS_IN(); 10457 ebx = MEM32(ebp + (-0x4)); /* 0x2B090AB7: mov ebx, dword ptr [ebp - 4] */ 10458 esi = MEM32(ebx + 0x4); /* 0x2B090ABA: mov esi, dword ptr [ebx + 4] */ 10459 MEM32(ebp + (-0x10)) = eax; /* 0x2B090ABD: mov dword ptr [ebp - 0x10], eax */ 10460 MEM32(ebp + 0xC) = eax; /* 0x2B090AC0: mov dword ptr [ebp + 0xc], eax */ 10461 eax = MEM32(ebp + 0x8); /* 0x2B090AC3: mov eax, dword ptr [ebp + 8] */ 10462 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10463 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10464 esp = esp + 4; /* 0x2B090AC6: add esp, 4 */ 10465 _flag_k = FK_ADD; 10466 /* cmp esi, eax */ /* 0x2B090AC9: cmp esi, eax */ 10467 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10469 _flag_k = FK_CMP; 10470 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090AED; /* 0x2B090ACB: je 0x2b090aed */ 10471 L_2B090ACD: 10472 eax = MEM32(ebp + 0xC); /* 0x2B090ACD: mov eax, dword ptr [ebp + 0xc] */ 10473 PUSH32(esp, esi); /* 0x2B090AD0: push esi */ 10474 PUSH32(esp, eax); /* 0x2B090AD1: push eax */ 10475 RECOMP_ICALL(0x2B08E930u); /* 0x2B090AD2: call 0x2b08e930 */ /* not lifted */ 10476 RECOMP_FLAGS_IN(); 10477 edx = MEM32(ebp + 0xC); /* 0x2B090AD7: mov edx, dword ptr [ebp + 0xc] */ 10478 eax = MEM32(ebp + 0x8); /* 0x2B090ADA: mov eax, dword ptr [ebp + 8] */ 10479 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x14u); 10480 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10481 edx = edx + 0x14u; /* 0x2B090ADD: add edx, 0x14 */ 10482 _flag_k = FK_ADD; 10483 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10484 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10485 esi = esi + 0x14u; /* 0x2B090AE0: add esi, 0x14 */ 10486 _flag_k = FK_ADD; 10487 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10488 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10489 esp = esp + 8; /* 0x2B090AE3: add esp, 8 */ 10490 _flag_k = FK_ADD; 10491 /* cmp esi, eax */ /* 0x2B090AE6: cmp esi, eax */ 10492 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10494 _flag_k = FK_CMP; 10495 MEM32(ebp + 0xC) = edx; /* 0x2B090AE8: mov dword ptr [ebp + 0xc], edx */ 10496 RECOMP_BACKEDGE(); 10497 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090ACD; /* 0x2B090AEB: jne 0x2b090acd */ 10498 L_2B090AED: 10499 /* test edi, edi */ /* 0x2B090AED: test edi, edi */ 10500 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10501 _cf = 0; 10502 _flag_k = FK_TEST; 10503 esi = MEM32(ebp + 0xC); /* 0x2B090AEF: mov esi, dword ptr [ebp + 0xc] */ 10504 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090B10; /* 0x2B090AF2: jbe 0x2b090b10 */ 10505 L_2B090AF4: 10506 MEM32(ebp + (-0x8)) = edi; /* 0x2B090AF4: mov dword ptr [ebp - 8], edi */ 10507 L_2B090AF7: 10508 ecx = MEM32(ebp + 0x10); /* 0x2B090AF7: mov ecx, dword ptr [ebp + 0x10] */ 10509 PUSH32(esp, ecx); /* 0x2B090AFA: push ecx */ 10510 PUSH32(esp, esi); /* 0x2B090AFB: push esi */ 10511 RECOMP_ICALL(0x2B08E930u); /* 0x2B090AFC: call 0x2b08e930 */ /* not lifted */ 10512 RECOMP_FLAGS_IN(); 10513 eax = MEM32(ebp + (-0x8)); /* 0x2B090B01: mov eax, dword ptr [ebp - 8] */ 10514 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10515 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10516 esp = esp + 8; /* 0x2B090B04: add esp, 8 */ 10517 _flag_k = FK_ADD; 10518 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10520 esi = esi + 0x14u; /* 0x2B090B07: add esi, 0x14 */ 10521 _flag_k = FK_ADD; 10522 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10523 eax = eax - 1; /* 0x2B090B0A: dec eax */ 10524 _flag_k = FK_DEC; 10525 MEM32(ebp + (-0x8)) = eax; /* 0x2B090B0B: mov dword ptr [ebp - 8], eax */ 10526 RECOMP_BACKEDGE(); 10527 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B090AF7; /* 0x2B090B0E: jne 0x2b090af7 */ 10528 L_2B090B10: 10529 eax = MEM32(ebp + 0xC); /* 0x2B090B10: mov eax, dword ptr [ebp + 0xc] */ 10530 esi = MEM32(ebp + 0x8); /* 0x2B090B13: mov esi, dword ptr [ebp + 8] */ 10531 edx = edi + edi * 4; /* 0x2B090B16: lea edx, [edi + edi*4] */ 10532 ecx = eax + edx * 4; /* 0x2B090B19: lea ecx, [eax + edx*4] */ 10533 eax = MEM32(ebx + 0x8); /* 0x2B090B1C: mov eax, dword ptr [ebx + 8] */ 10534 /* cmp esi, eax */ /* 0x2B090B1F: cmp esi, eax */ 10535 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10537 _flag_k = FK_CMP; 10538 MEM32(ebp + 0x10) = eax; /* 0x2B090B21: mov dword ptr [ebp + 0x10], eax */ 10539 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090B49; /* 0x2B090B24: je 0x2b090b49 */ 10540 L_2B090B26: 10541 MEM32(ebp + 0x8) = ecx; /* 0x2B090B26: mov dword ptr [ebp + 8], ecx */ 10542 L_2B090B29: 10543 ecx = MEM32(ebp + 0x8); /* 0x2B090B29: mov ecx, dword ptr [ebp + 8] */ 10544 PUSH32(esp, esi); /* 0x2B090B2C: push esi */ 10545 PUSH32(esp, ecx); /* 0x2B090B2D: push ecx */ 10546 RECOMP_ICALL(0x2B08E930u); /* 0x2B090B2E: call 0x2b08e930 */ /* not lifted */ 10547 RECOMP_FLAGS_IN(); 10548 ecx = MEM32(ebp + 0x8); /* 0x2B090B33: mov ecx, dword ptr [ebp + 8] */ 10549 eax = MEM32(ebp + 0x10); /* 0x2B090B36: mov eax, dword ptr [ebp + 0x10] */ 10550 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10551 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10552 esi = esi + 0x14u; /* 0x2B090B39: add esi, 0x14 */ 10553 _flag_k = FK_ADD; 10554 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x14u); 10555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10556 ecx = ecx + 0x14u; /* 0x2B090B3C: add ecx, 0x14 */ 10557 _flag_k = FK_ADD; 10558 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10559 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10560 esp = esp + 8; /* 0x2B090B3F: add esp, 8 */ 10561 _flag_k = FK_ADD; 10562 /* cmp esi, eax */ /* 0x2B090B42: cmp esi, eax */ 10563 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10565 _flag_k = FK_CMP; 10566 MEM32(ebp + 0x8) = ecx; /* 0x2B090B44: mov dword ptr [ebp + 8], ecx */ 10567 RECOMP_BACKEDGE(); 10568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090B29; /* 0x2B090B47: jne 0x2b090b29 */ 10569 L_2B090B49: 10570 eax = MEM32(ebx + 0x8); /* 0x2B090B49: mov eax, dword ptr [ebx + 8] */ 10571 esi = MEM32(ebx + 0x4); /* 0x2B090B4C: mov esi, dword ptr [ebx + 4] */ 10572 /* cmp esi, eax */ /* 0x2B090B4F: cmp esi, eax */ 10573 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10575 _flag_k = FK_CMP; 10576 MEM32(ebp + 0x8) = eax; /* 0x2B090B51: mov dword ptr [ebp + 8], eax */ 10577 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090B68; /* 0x2B090B54: je 0x2b090b68 */ 10578 L_2B090B56: 10579 ecx = esi; /* 0x2B090B56: mov ecx, esi */ 10580 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B090B58: call dword ptr [0x2b0b5b8c] */ 10581 RECOMP_FLAGS_IN(); 10582 eax = MEM32(ebp + 0x8); /* 0x2B090B5E: mov eax, dword ptr [ebp + 8] */ 10583 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10584 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10585 esi = esi + 0x14u; /* 0x2B090B61: add esi, 0x14 */ 10586 _flag_k = FK_ADD; 10587 /* cmp esi, eax */ /* 0x2B090B64: cmp esi, eax */ 10588 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10590 _flag_k = FK_CMP; 10591 RECOMP_BACKEDGE(); 10592 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090B56; /* 0x2B090B66: jne 0x2b090b56 */ 10593 L_2B090B68: 10594 edx = MEM32(ebx + 0x4); /* 0x2B090B68: mov edx, dword ptr [ebx + 4] */ 10595 PUSH32(esp, edx); /* 0x2B090B6B: push edx */ 10596 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B090B6C: call 0x2b0ab1ba */ /* not lifted */ 10597 RECOMP_FLAGS_IN(); 10598 eax = MEM32(ebp + (-0xC)); /* 0x2B090B71: mov eax, dword ptr [ebp - 0xc] */ 10599 esi = MEM32(ebp + (-0x10)); /* 0x2B090B74: mov esi, dword ptr [ebp - 0x10] */ 10600 eax = eax + eax * 4; /* 0x2B090B77: lea eax, [eax + eax*4] */ 10601 ecx = esi + eax * 4; /* 0x2B090B7A: lea ecx, [esi + eax*4] */ 10602 eax = MEM32(ebx + 0x4); /* 0x2B090B7D: mov eax, dword ptr [ebx + 4] */ 10603 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10604 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10605 esp = esp + 4; /* 0x2B090B80: add esp, 4 */ 10606 _flag_k = FK_ADD; 10607 /* test eax, eax */ /* 0x2B090B83: test eax, eax */ 10608 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10609 _cf = 0; 10610 _flag_k = FK_TEST; 10611 MEM32(ebx + 0xC) = ecx; /* 0x2B090B85: mov dword ptr [ebx + 0xc], ecx */ 10612 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090BA3; /* 0x2B090B88: jne 0x2b090ba3 */ 10613 L_2B090B8A: 10614 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10615 edx = 0; /* 0x2B090B8A: xor edx, edx */ 10616 _cf = 0; 10617 _flag_k = FK_TEST; 10618 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10619 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10620 edi = edi + edx; /* 0x2B090B8C: add edi, edx */ 10621 _flag_k = FK_ADD; 10622 ecx = edi + edi * 4; /* 0x2B090B8E: lea ecx, [edi + edi*4] */ 10623 edi = POP32_VAL(esp); /* 0x2B090B91: pop edi */ 10624 edx = esi + ecx * 4; /* 0x2B090B92: lea edx, [esi + ecx*4] */ 10625 MEM32(ebx + 0x4) = esi; /* 0x2B090B95: mov dword ptr [ebx + 4], esi */ 10626 esi = POP32_VAL(esp); /* 0x2B090B98: pop esi */ 10627 MEM32(ebx + 0x8) = edx; /* 0x2B090B99: mov dword ptr [ebx + 8], edx */ 10628 ebx = POP32_VAL(esp); /* 0x2B090B9C: pop ebx */ 10629 esp = ebp; /* 0x2B090B9D: mov esp, ebp */ 10630 ebp = POP32_VAL(esp); /* 0x2B090B9F: pop ebp */ 10631 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B090BA0: ret 0xc */ 10632 L_2B090BA3: 10633 ecx = MEM32(ebx + 0x8); /* 0x2B090BA3: mov ecx, dword ptr [ebx + 8] */ 10634 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10636 ecx = ecx - eax; /* 0x2B090BA6: sub ecx, eax */ 10637 _flag_k = FK_CMP; 10638 eax = 0x66666667u; /* 0x2B090BA8: mov eax, 0x66666667 */ 10639 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(ecx); /* 0x2B090BAD: imul ecx */ 10640 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10641 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10642 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B090BAF: sar edx, 3 */ 10643 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10644 edx = (uint32_t)((int32_t)edx >> 3u); 10645 eax = edx; /* 0x2B090BB2: mov eax, edx */ 10646 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B090BB4: shr eax, 0x1f */ 10647 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10648 eax = eax >> 31u; /* 0x2B090BB4: shr eax, 0x1f */ 10649 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10651 edx = edx + eax; /* 0x2B090BB7: add edx, eax */ 10652 _flag_k = FK_ADD; 10653 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10654 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10655 edi = edi + edx; /* 0x2B090BB9: add edi, edx */ 10656 _flag_k = FK_ADD; 10657 ecx = edi + edi * 4; /* 0x2B090BBB: lea ecx, [edi + edi*4] */ 10658 edi = POP32_VAL(esp); /* 0x2B090BBE: pop edi */ 10659 edx = esi + ecx * 4; /* 0x2B090BBF: lea edx, [esi + ecx*4] */ 10660 MEM32(ebx + 0x4) = esi; /* 0x2B090BC2: mov dword ptr [ebx + 4], esi */ 10661 esi = POP32_VAL(esp); /* 0x2B090BC5: pop esi */ 10662 MEM32(ebx + 0x8) = edx; /* 0x2B090BC6: mov dword ptr [ebx + 8], edx */ 10663 ebx = POP32_VAL(esp); /* 0x2B090BC9: pop ebx */ 10664 esp = ebp; /* 0x2B090BCA: mov esp, ebp */ 10665 ebp = POP32_VAL(esp); /* 0x2B090BCC: pop ebp */ 10666 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B090BCD: ret 0xc */ 10667 L_2B090BD0: 10668 ebx = MEM32(ebp + 0x8); /* 0x2B090BD0: mov ebx, dword ptr [ebp + 8] */ 10669 edx = esi; /* 0x2B090BD3: mov edx, esi */ 10670 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 10671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10672 edx = edx - ebx; /* 0x2B090BD5: sub edx, ebx */ 10673 _flag_k = FK_CMP; 10674 eax = 0x66666667u; /* 0x2B090BD7: mov eax, 0x66666667 */ 10675 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B090BDC: imul edx */ 10676 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10677 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10678 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B090BDE: sar edx, 3 */ 10679 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10680 edx = (uint32_t)((int32_t)edx >> 3u); 10681 eax = edx; /* 0x2B090BE1: mov eax, edx */ 10682 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B090BE3: shr eax, 0x1f */ 10683 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10684 eax = eax >> 31u; /* 0x2B090BE3: shr eax, 0x1f */ 10685 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10686 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10687 edx = edx + eax; /* 0x2B090BE6: add edx, eax */ 10688 _flag_k = FK_ADD; 10689 /* cmp edx, edi */ /* 0x2B090BE8: cmp edx, edi */ 10690 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 10691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10692 _flag_k = FK_CMP; 10693 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090C99; /* 0x2B090BEA: jae 0x2b090c99 */ 10694 L_2B090BF0: 10695 eax = edi + edi * 4; /* 0x2B090BF0: lea eax, [edi + edi*4] */ 10696 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B090BF3: shl eax, 2 */ 10697 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10698 eax = eax << 2u; /* 0x2B090BF3: shl eax, 2 */ 10699 MEM32(ebp + 0x8) = eax; /* 0x2B090BF6: mov dword ptr [ebp + 8], eax */ 10700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10702 eax = eax + ebx; /* 0x2B090BF9: add eax, ebx */ 10703 _flag_k = FK_ADD; 10704 /* cmp ebx, esi */ /* 0x2B090BFB: cmp ebx, esi */ 10705 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 10706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10707 _flag_k = FK_CMP; 10708 MEM32(ebp + 0xC) = ebx; /* 0x2B090BFD: mov dword ptr [ebp + 0xc], ebx */ 10709 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090C2E; /* 0x2B090C00: je 0x2b090c2e */ 10710 L_2B090C02: 10711 MEM32(ebp + (-0x8)) = eax; /* 0x2B090C02: mov dword ptr [ebp - 8], eax */ 10712 L_2B090C05: 10713 ecx = MEM32(ebp + 0xC); /* 0x2B090C05: mov ecx, dword ptr [ebp + 0xc] */ 10714 edx = MEM32(ebp + (-0x8)); /* 0x2B090C08: mov edx, dword ptr [ebp - 8] */ 10715 PUSH32(esp, ecx); /* 0x2B090C0B: push ecx */ 10716 PUSH32(esp, edx); /* 0x2B090C0C: push edx */ 10717 RECOMP_ICALL(0x2B08E930u); /* 0x2B090C0D: call 0x2b08e930 */ /* not lifted */ 10718 RECOMP_FLAGS_IN(); 10719 eax = MEM32(ebp + 0xC); /* 0x2B090C12: mov eax, dword ptr [ebp + 0xc] */ 10720 edx = MEM32(ebp + (-0x8)); /* 0x2B090C15: mov edx, dword ptr [ebp - 8] */ 10721 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x14u); 10722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10723 eax = eax + 0x14u; /* 0x2B090C18: add eax, 0x14 */ 10724 _flag_k = FK_ADD; 10725 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x14u); 10726 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10727 edx = edx + 0x14u; /* 0x2B090C1B: add edx, 0x14 */ 10728 _flag_k = FK_ADD; 10729 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10730 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10731 esp = esp + 8; /* 0x2B090C1E: add esp, 8 */ 10732 _flag_k = FK_ADD; 10733 /* cmp eax, esi */ /* 0x2B090C21: cmp eax, esi */ 10734 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 10735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10736 _flag_k = FK_CMP; 10737 MEM32(ebp + 0xC) = eax; /* 0x2B090C23: mov dword ptr [ebp + 0xc], eax */ 10738 MEM32(ebp + (-0x8)) = edx; /* 0x2B090C26: mov dword ptr [ebp - 8], edx */ 10739 RECOMP_BACKEDGE(); 10740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090C05; /* 0x2B090C29: jne 0x2b090c05 */ 10741 L_2B090C2B: 10742 ecx = MEM32(ebp + (-0x4)); /* 0x2B090C2B: mov ecx, dword ptr [ebp - 4] */ 10743 L_2B090C2E: 10744 esi = MEM32(ecx + 0x8); /* 0x2B090C2E: mov esi, dword ptr [ecx + 8] */ 10745 edx = esi; /* 0x2B090C31: mov edx, esi */ 10746 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 10747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10748 edx = edx - ebx; /* 0x2B090C33: sub edx, ebx */ 10749 _flag_k = FK_CMP; 10750 eax = 0x66666667u; /* 0x2B090C35: mov eax, 0x66666667 */ 10751 { int64_t _r = (int64_t)(int32_t)eax * (int32_t)(edx); /* 0x2B090C3A: imul edx */ 10752 eax = (uint32_t)_r; edx = (uint32_t)(_r >> 32); uint32_t _ov = _r != (int32_t)_r; 10753 _flag_k = FK_EFLAGS; _flag_a = _ov ? 0x801u : 0u; _flag_b = 0; _cf = _ov; } 10754 if (3u) _cf = (((edx) >> 2) & 1u); /* 0x2B090C3C: sar edx, 3 */ 10755 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10756 edx = (uint32_t)((int32_t)edx >> 3u); 10757 eax = edx; /* 0x2B090C3F: mov eax, edx */ 10758 if (31u) _cf = (((eax) >> 30) & 1u); /* 0x2B090C41: shr eax, 0x1f */ 10759 if (31u) { _flag_a = recomp_flags_pack((eax >> 31u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10760 eax = eax >> 31u; /* 0x2B090C41: shr eax, 0x1f */ 10761 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10763 edx = edx + eax; /* 0x2B090C44: add edx, eax */ 10764 _flag_k = FK_ADD; 10765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 10766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10767 edi = edi - edx; /* 0x2B090C46: sub edi, edx */ 10768 _flag_k = FK_CMP; 10769 eax = edi; /* 0x2B090C48: mov eax, edi */ 10770 edi = MEM32(ebp + 0x10); /* 0x2B090C4A: mov edi, dword ptr [ebp + 0x10] */ 10771 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B090C6B; /* 0x2B090C4D: je 0x2b090c6b */ 10772 L_2B090C4F: 10773 MEM32(ebp + 0x10) = eax; /* 0x2B090C4F: mov dword ptr [ebp + 0x10], eax */ 10774 L_2B090C52: 10775 PUSH32(esp, edi); /* 0x2B090C52: push edi */ 10776 PUSH32(esp, esi); /* 0x2B090C53: push esi */ 10777 RECOMP_ICALL(0x2B08E930u); /* 0x2B090C54: call 0x2b08e930 */ /* not lifted */ 10778 RECOMP_FLAGS_IN(); 10779 eax = MEM32(ebp + 0x10); /* 0x2B090C59: mov eax, dword ptr [ebp + 0x10] */ 10780 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10781 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10782 esp = esp + 8; /* 0x2B090C5C: add esp, 8 */ 10783 _flag_k = FK_ADD; 10784 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10785 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10786 esi = esi + 0x14u; /* 0x2B090C5F: add esi, 0x14 */ 10787 _flag_k = FK_ADD; 10788 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10789 eax = eax - 1; /* 0x2B090C62: dec eax */ 10790 _flag_k = FK_DEC; 10791 MEM32(ebp + 0x10) = eax; /* 0x2B090C63: mov dword ptr [ebp + 0x10], eax */ 10792 RECOMP_BACKEDGE(); 10793 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B090C52; /* 0x2B090C66: jne 0x2b090c52 */ 10794 L_2B090C68: 10795 ecx = MEM32(ebp + (-0x4)); /* 0x2B090C68: mov ecx, dword ptr [ebp - 4] */ 10796 L_2B090C6B: 10797 esi = MEM32(ecx + 0x8); /* 0x2B090C6B: mov esi, dword ptr [ecx + 8] */ 10798 /* cmp ebx, esi */ /* 0x2B090C6E: cmp ebx, esi */ 10799 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 10800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10801 _flag_k = FK_CMP; 10802 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090C85; /* 0x2B090C70: je 0x2b090c85 */ 10803 L_2B090C72: 10804 PUSH32(esp, edi); /* 0x2B090C72: push edi */ 10805 ecx = ebx; /* 0x2B090C73: mov ecx, ebx */ 10806 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B090C75: call dword ptr [0x2b0b5a8c] */ 10807 RECOMP_FLAGS_IN(); 10808 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x14u); 10809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10810 ebx = ebx + 0x14u; /* 0x2B090C7B: add ebx, 0x14 */ 10811 _flag_k = FK_ADD; 10812 /* cmp ebx, esi */ /* 0x2B090C7E: cmp ebx, esi */ 10813 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 10814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10815 _flag_k = FK_CMP; 10816 RECOMP_BACKEDGE(); 10817 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090C72; /* 0x2B090C80: jne 0x2b090c72 */ 10818 L_2B090C82: 10819 ecx = MEM32(ebp + (-0x4)); /* 0x2B090C82: mov ecx, dword ptr [ebp - 4] */ 10820 L_2B090C85: 10821 eax = MEM32(ecx + 0x8); /* 0x2B090C85: mov eax, dword ptr [ecx + 8] */ 10822 edx = MEM32(ebp + 0x8); /* 0x2B090C88: mov edx, dword ptr [ebp + 8] */ 10823 edi = POP32_VAL(esp); /* 0x2B090C8B: pop edi */ 10824 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 10825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10826 eax = eax + edx; /* 0x2B090C8C: add eax, edx */ 10827 _flag_k = FK_ADD; 10828 esi = POP32_VAL(esp); /* 0x2B090C8E: pop esi */ 10829 MEM32(ecx + 0x8) = eax; /* 0x2B090C8F: mov dword ptr [ecx + 8], eax */ 10830 ebx = POP32_VAL(esp); /* 0x2B090C92: pop ebx */ 10831 esp = ebp; /* 0x2B090C93: mov esp, ebp */ 10832 ebp = POP32_VAL(esp); /* 0x2B090C95: pop ebp */ 10833 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B090C96: ret 0xc */ 10834 L_2B090C99: 10835 /* test edi, edi */ /* 0x2B090C99: test edi, edi */ 10836 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10837 _cf = 0; 10838 _flag_k = FK_TEST; 10839 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090D1B; /* 0x2B090C9B: jbe 0x2b090d1b */ 10840 L_2B090C9D: 10841 eax = edi + edi * 4; /* 0x2B090C9D: lea eax, [edi + edi*4] */ 10842 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B090CA0: shl eax, 2 */ 10843 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10844 eax = eax << 2u; /* 0x2B090CA0: shl eax, 2 */ 10845 edi = esi; /* 0x2B090CA3: mov edi, esi */ 10846 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10848 edi = edi - eax; /* 0x2B090CA5: sub edi, eax */ 10849 _flag_k = FK_CMP; 10850 /* cmp edi, esi */ /* 0x2B090CA7: cmp edi, esi */ 10851 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10853 _flag_k = FK_CMP; 10854 MEM32(ebp + 0xC) = esi; /* 0x2B090CA9: mov dword ptr [ebp + 0xc], esi */ 10855 MEM32(ebp + 0x8) = eax; /* 0x2B090CAC: mov dword ptr [ebp + 8], eax */ 10856 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090CD4; /* 0x2B090CAF: je 0x2b090cd4 */ 10857 L_2B090CB1: 10858 eax = MEM32(ebp + 0xC); /* 0x2B090CB1: mov eax, dword ptr [ebp + 0xc] */ 10859 PUSH32(esp, edi); /* 0x2B090CB4: push edi */ 10860 PUSH32(esp, eax); /* 0x2B090CB5: push eax */ 10861 RECOMP_ICALL(0x2B08E930u); /* 0x2B090CB6: call 0x2b08e930 */ /* not lifted */ 10862 RECOMP_FLAGS_IN(); 10863 edx = MEM32(ebp + 0xC); /* 0x2B090CBB: mov edx, dword ptr [ebp + 0xc] */ 10864 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x14u); 10865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10866 edx = edx + 0x14u; /* 0x2B090CBE: add edx, 0x14 */ 10867 _flag_k = FK_ADD; 10868 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 10869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10870 edi = edi + 0x14u; /* 0x2B090CC1: add edi, 0x14 */ 10871 _flag_k = FK_ADD; 10872 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10873 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10874 esp = esp + 8; /* 0x2B090CC4: add esp, 8 */ 10875 _flag_k = FK_ADD; 10876 /* cmp edi, esi */ /* 0x2B090CC7: cmp edi, esi */ 10877 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 10878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10879 _flag_k = FK_CMP; 10880 MEM32(ebp + 0xC) = edx; /* 0x2B090CC9: mov dword ptr [ebp + 0xc], edx */ 10881 RECOMP_BACKEDGE(); 10882 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090CB1; /* 0x2B090CCC: jne 0x2b090cb1 */ 10883 L_2B090CCE: 10884 ecx = MEM32(ebp + (-0x4)); /* 0x2B090CCE: mov ecx, dword ptr [ebp - 4] */ 10885 eax = MEM32(ebp + 0x8); /* 0x2B090CD1: mov eax, dword ptr [ebp + 8] */ 10886 L_2B090CD4: 10887 edi = MEM32(ecx + 0x8); /* 0x2B090CD4: mov edi, dword ptr [ecx + 8] */ 10888 esi = edi; /* 0x2B090CD7: mov esi, edi */ 10889 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10891 esi = esi - eax; /* 0x2B090CD9: sub esi, eax */ 10892 _flag_k = FK_CMP; 10893 /* cmp ebx, esi */ /* 0x2B090CDB: cmp ebx, esi */ 10894 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 10895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10896 _flag_k = FK_CMP; 10897 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090CF8; /* 0x2B090CDD: je 0x2b090cf8 */ 10898 L_2B090CDF: 10899 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 10900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10901 esi = esi - 0x14u; /* 0x2B090CDF: sub esi, 0x14 */ 10902 _flag_k = FK_CMP; 10903 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 10904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10905 edi = edi - 0x14u; /* 0x2B090CE2: sub edi, 0x14 */ 10906 _flag_k = FK_CMP; 10907 PUSH32(esp, esi); /* 0x2B090CE5: push esi */ 10908 ecx = edi; /* 0x2B090CE6: mov ecx, edi */ 10909 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B090CE8: call dword ptr [0x2b0b5a8c] */ 10910 RECOMP_FLAGS_IN(); 10911 /* cmp esi, ebx */ /* 0x2B090CEE: cmp esi, ebx */ 10912 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 10913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10914 _flag_k = FK_CMP; 10915 RECOMP_BACKEDGE(); 10916 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090CDF; /* 0x2B090CF0: jne 0x2b090cdf */ 10917 L_2B090CF2: 10918 ecx = MEM32(ebp + (-0x4)); /* 0x2B090CF2: mov ecx, dword ptr [ebp - 4] */ 10919 eax = MEM32(ebp + 0x8); /* 0x2B090CF5: mov eax, dword ptr [ebp + 8] */ 10920 L_2B090CF8: 10921 esi = eax + ebx; /* 0x2B090CF8: lea esi, [eax + ebx] */ 10922 /* cmp ebx, esi */ /* 0x2B090CFB: cmp ebx, esi */ 10923 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 10924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10925 _flag_k = FK_CMP; 10926 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090D18; /* 0x2B090CFD: je 0x2b090d18 */ 10927 L_2B090CFF: 10928 edi = MEM32(ebp + 0x10); /* 0x2B090CFF: mov edi, dword ptr [ebp + 0x10] */ 10929 L_2B090D02: 10930 PUSH32(esp, edi); /* 0x2B090D02: push edi */ 10931 ecx = ebx; /* 0x2B090D03: mov ecx, ebx */ 10932 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B090D05: call dword ptr [0x2b0b5a8c] */ 10933 RECOMP_FLAGS_IN(); 10934 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x14u); 10935 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10936 ebx = ebx + 0x14u; /* 0x2B090D0B: add ebx, 0x14 */ 10937 _flag_k = FK_ADD; 10938 /* cmp ebx, esi */ /* 0x2B090D0E: cmp ebx, esi */ 10939 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 10940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10941 _flag_k = FK_CMP; 10942 RECOMP_BACKEDGE(); 10943 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090D02; /* 0x2B090D10: jne 0x2b090d02 */ 10944 L_2B090D12: 10945 ecx = MEM32(ebp + (-0x4)); /* 0x2B090D12: mov ecx, dword ptr [ebp - 4] */ 10946 eax = MEM32(ebp + 0x8); /* 0x2B090D15: mov eax, dword ptr [ebp + 8] */ 10947 L_2B090D18: 10948 _flag_a = (uint32_t)(MEM32(ecx + 0x8)); _flag_b = (uint32_t)(eax); 10949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10950 MEM32(ecx + 0x8) = MEM32(ecx + 0x8) + eax; /* 0x2B090D18: add dword ptr [ecx + 8], eax */ 10951 _flag_k = FK_ADD; 10952 L_2B090D1B: 10953 edi = POP32_VAL(esp); /* 0x2B090D1B: pop edi */ 10954 esi = POP32_VAL(esp); /* 0x2B090D1C: pop esi */ 10955 ebx = POP32_VAL(esp); /* 0x2B090D1D: pop ebx */ 10956 esp = ebp; /* 0x2B090D1E: mov esp, ebp */ 10957 ebp = POP32_VAL(esp); /* 0x2B090D20: pop ebp */ 10958 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B090D21: ret 0xc */ 10959 RECOMP_REGS_OUT(); 10960 } 10961 10962 void sub_2B090D30(void) { 10963 int _fpu_cmp = 0; 10964 uint32_t _cf = 0; 10965 int _df = 1; 10966 uint32_t _flag_k = FK_NONE; 10967 uint32_t _flag_a = 0, _flag_b = 0; 10968 uint32_t _itail_tgt = 0; 10969 RECOMP_REGS_LOCALS 10970 RECOMP_ENTER(0x2B090D30u); 10971 10972 L_2B090D30: 10973 PUSH32(esp, ebp); /* 0x2B090D30: push ebp */ 10974 ebp = esp; /* 0x2B090D31: mov ebp, esp */ 10975 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B090D33: push -1 */ 10976 PUSH32(esp, 0x2B0B2B7Bu); /* 0x2B090D35: push 0x2b0b2b7b */ 10977 eax = MEM32(FS_BASE + (0)); /* 0x2B090D3A: mov eax, dword ptr fs:[0] */ 10978 PUSH32(esp, eax); /* 0x2B090D40: push eax */ 10979 MEM32(FS_BASE + (0)) = esp; /* 0x2B090D41: mov dword ptr fs:[0], esp */ 10980 PUSH32(esp, ecx); /* 0x2B090D48: push ecx */ 10981 eax = MEM32(0x2B0EF114); /* 0x2B090D49: mov eax, dword ptr [0x2b0ef114] */ 10982 /* test eax, eax */ /* 0x2B090D4E: test eax, eax */ 10983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10984 _cf = 0; 10985 _flag_k = FK_TEST; 10986 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090D8B; /* 0x2B090D50: jne 0x2b090d8b */ 10987 L_2B090D52: 10988 PUSH32(esp, 4); /* 0x2B090D52: push 4 */ 10989 RECOMP_ICALL(0x2B0AB212u); /* 0x2B090D54: call 0x2b0ab212 */ /* not lifted */ 10990 RECOMP_FLAGS_IN(); 10991 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10992 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10993 esp = esp + 4; /* 0x2B090D59: add esp, 4 */ 10994 _flag_k = FK_ADD; 10995 MEM32(ebp + (-0x10)) = eax; /* 0x2B090D5C: mov dword ptr [ebp - 0x10], eax */ 10996 /* test eax, eax */ /* 0x2B090D5F: test eax, eax */ 10997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10998 _cf = 0; 10999 _flag_k = FK_TEST; 11000 MEM32(ebp + (-0x4)) = 0; /* 0x2B090D61: mov dword ptr [ebp - 4], 0 */ 11001 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090D84; /* 0x2B090D68: je 0x2b090d84 */ 11002 L_2B090D6A: 11003 ecx = eax; /* 0x2B090D6A: mov ecx, eax */ 11004 RECOMP_ICALL(0x2B0913A0u); /* 0x2B090D6C: call 0x2b0913a0 */ /* not lifted */ 11005 RECOMP_FLAGS_IN(); 11006 MEM32(0x2B0EF114) = eax; /* 0x2B090D71: mov dword ptr [0x2b0ef114], eax */ 11007 ecx = MEM32(ebp + (-0xC)); /* 0x2B090D76: mov ecx, dword ptr [ebp - 0xc] */ 11008 MEM32(FS_BASE + (0)) = ecx; /* 0x2B090D79: mov dword ptr fs:[0], ecx */ 11009 esp = ebp; /* 0x2B090D80: mov esp, ebp */ 11010 ebp = POP32_VAL(esp); /* 0x2B090D82: pop ebp */ 11011 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090D83: ret */ 11012 L_2B090D84: 11013 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11014 eax = 0; /* 0x2B090D84: xor eax, eax */ 11015 _cf = 0; 11016 _flag_k = FK_TEST; 11017 MEM32(0x2B0EF114) = eax; /* 0x2B090D86: mov dword ptr [0x2b0ef114], eax */ 11018 L_2B090D8B: 11019 ecx = MEM32(ebp + (-0xC)); /* 0x2B090D8B: mov ecx, dword ptr [ebp - 0xc] */ 11020 MEM32(FS_BASE + (0)) = ecx; /* 0x2B090D8E: mov dword ptr fs:[0], ecx */ 11021 esp = ebp; /* 0x2B090D95: mov esp, ebp */ 11022 ebp = POP32_VAL(esp); /* 0x2B090D97: pop ebp */ 11023 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090D98: ret */ 11024 RECOMP_REGS_OUT(); 11025 } 11026 11027 void sub_2B090DA0(void) { 11028 int _fpu_cmp = 0; 11029 uint32_t _cf = 0; 11030 int _df = 1; 11031 uint32_t _flag_k = FK_NONE; 11032 uint32_t _flag_a = 0, _flag_b = 0; 11033 uint32_t _itail_tgt = 0; 11034 RECOMP_REGS_LOCALS 11035 RECOMP_ENTER(0x2B090DA0u); 11036 11037 L_2B090DA0: 11038 eax = MEM32(0x2B0EF114); /* 0x2B090DA0: mov eax, dword ptr [0x2b0ef114] */ 11039 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090DA5: ret */ 11040 RECOMP_REGS_OUT(); 11041 } 11042 11043 void sub_2B090DB0(void) { 11044 int _fpu_cmp = 0; 11045 uint32_t _cf = 0; 11046 int _df = 1; 11047 uint32_t _flag_k = FK_NONE; 11048 uint32_t _flag_a = 0, _flag_b = 0; 11049 uint32_t _itail_tgt = 0; 11050 RECOMP_REGS_LOCALS 11051 RECOMP_ENTER(0x2B090DB0u); 11052 11053 L_2B090DB0: 11054 PUSH32(esp, ebp); /* 0x2B090DB0: push ebp */ 11055 ebp = esp; /* 0x2B090DB1: mov ebp, esp */ 11056 eax = ecx; /* 0x2B090DB3: mov eax, ecx */ 11057 ecx = MEM32(ebp + 0x8); /* 0x2B090DB5: mov ecx, dword ptr [ebp + 8] */ 11058 edx = MEM32(ecx); /* 0x2B090DB8: mov edx, dword ptr [ecx] */ 11059 MEM32(eax) = edx; /* 0x2B090DBA: mov dword ptr [eax], edx */ 11060 ebp = POP32_VAL(esp); /* 0x2B090DBC: pop ebp */ 11061 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B090DBD: ret 4 */ 11062 RECOMP_REGS_OUT(); 11063 } 11064 11065 void sub_2B090DC0(void) { 11066 int _fpu_cmp = 0; 11067 uint32_t _cf = 0; 11068 int _df = 1; 11069 uint32_t _flag_k = FK_NONE; 11070 uint32_t _flag_a = 0, _flag_b = 0; 11071 uint32_t _itail_tgt = 0; 11072 RECOMP_REGS_LOCALS 11073 RECOMP_ENTER(0x2B090DC0u); 11074 11075 L_2B090DC0: 11076 SET_LO8(eax, MEM8(ecx + 0xA5)); /* 0x2B090DC0: mov al, byte ptr [ecx + 0xa5] */ 11077 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B090DC6: ret */ 11078 RECOMP_REGS_OUT(); 11079 } 11080 11081 void sub_2B090DD0(void) { 11082 int _fpu_cmp = 0; 11083 uint32_t _cf = 0; 11084 int _df = 1; 11085 uint32_t _flag_k = FK_NONE; 11086 uint32_t _flag_a = 0, _flag_b = 0; 11087 uint32_t _itail_tgt = 0; 11088 RECOMP_REGS_LOCALS 11089 RECOMP_ENTER(0x2B090DD0u); 11090 11091 L_2B090DD0: 11092 PUSH32(esp, ebp); /* 0x2B090DD0: push ebp */ 11093 ebp = esp; /* 0x2B090DD1: mov ebp, esp */ 11094 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B090DD3: push -1 */ 11095 PUSH32(esp, 0x2B0B2BB9u); /* 0x2B090DD5: push 0x2b0b2bb9 */ 11096 eax = MEM32(FS_BASE + (0)); /* 0x2B090DDA: mov eax, dword ptr fs:[0] */ 11097 PUSH32(esp, eax); /* 0x2B090DE0: push eax */ 11098 MEM32(FS_BASE + (0)) = esp; /* 0x2B090DE1: mov dword ptr fs:[0], esp */ 11099 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x1Cu); 11100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11101 esp = esp - 0x1Cu; /* 0x2B090DE8: sub esp, 0x1c */ 11102 _flag_k = FK_CMP; 11103 PUSH32(esp, ebx); /* 0x2B090DEB: push ebx */ 11104 PUSH32(esp, esi); /* 0x2B090DEC: push esi */ 11105 esi = MEM32(ebp + 0x8); /* 0x2B090DED: mov esi, dword ptr [ebp + 8] */ 11106 eax = MEM32(esi); /* 0x2B090DF0: mov eax, dword ptr [esi] */ 11107 PUSH32(esp, edi); /* 0x2B090DF2: push edi */ 11108 edi = ecx; /* 0x2B090DF3: mov edi, ecx */ 11109 MEM32(edi) = eax; /* 0x2B090DF5: mov dword ptr [edi], eax */ 11110 ecx = MEM32(esi + 0x4); /* 0x2B090DF7: mov ecx, dword ptr [esi + 4] */ 11111 MEM32(edi + 0x4) = ecx; /* 0x2B090DFA: mov dword ptr [edi + 4], ecx */ 11112 edx = MEM32(esi + 0x8); /* 0x2B090DFD: mov edx, dword ptr [esi + 8] */ 11113 MEM32(edi + 0x8) = edx; /* 0x2B090E00: mov dword ptr [edi + 8], edx */ 11114 eax = MEM32(esi + 0xC); /* 0x2B090E03: mov eax, dword ptr [esi + 0xc] */ 11115 MEM32(edi + 0xC) = eax; /* 0x2B090E06: mov dword ptr [edi + 0xc], eax */ 11116 ecx = MEM32(esi + 0x10); /* 0x2B090E09: mov ecx, dword ptr [esi + 0x10] */ 11117 MEM32(edi + 0x10) = ecx; /* 0x2B090E0C: mov dword ptr [edi + 0x10], ecx */ 11118 edx = MEM32(esi + 0x14); /* 0x2B090E0F: mov edx, dword ptr [esi + 0x14] */ 11119 MEM32(edi + 0x14) = edx; /* 0x2B090E12: mov dword ptr [edi + 0x14], edx */ 11120 eax = MEM32(esi + 0x18); /* 0x2B090E15: mov eax, dword ptr [esi + 0x18] */ 11121 MEM32(edi + 0x18) = eax; /* 0x2B090E18: mov dword ptr [edi + 0x18], eax */ 11122 ecx = MEM32(esi + 0x1C); /* 0x2B090E1B: mov ecx, dword ptr [esi + 0x1c] */ 11123 MEM32(edi + 0x1C) = ecx; /* 0x2B090E1E: mov dword ptr [edi + 0x1c], ecx */ 11124 edx = MEM32(esi + 0x20); /* 0x2B090E21: mov edx, dword ptr [esi + 0x20] */ 11125 MEM32(edi + 0x20) = edx; /* 0x2B090E24: mov dword ptr [edi + 0x20], edx */ 11126 eax = MEM32(esi + 0x24); /* 0x2B090E27: mov eax, dword ptr [esi + 0x24] */ 11127 MEM32(edi + 0x24) = eax; /* 0x2B090E2A: mov dword ptr [edi + 0x24], eax */ 11128 ecx = MEM32(esi + 0x28); /* 0x2B090E2D: mov ecx, dword ptr [esi + 0x28] */ 11129 MEM32(edi + 0x28) = ecx; /* 0x2B090E30: mov dword ptr [edi + 0x28], ecx */ 11130 edx = MEM32(esi + 0x2C); /* 0x2B090E33: mov edx, dword ptr [esi + 0x2c] */ 11131 MEM32(edi + 0x2C) = edx; /* 0x2B090E36: mov dword ptr [edi + 0x2c], edx */ 11132 eax = MEM32(esi + 0x30); /* 0x2B090E39: mov eax, dword ptr [esi + 0x30] */ 11133 MEM32(edi + 0x30) = eax; /* 0x2B090E3C: mov dword ptr [edi + 0x30], eax */ 11134 ecx = MEM32(esi + 0x34); /* 0x2B090E3F: mov ecx, dword ptr [esi + 0x34] */ 11135 MEM32(edi + 0x34) = ecx; /* 0x2B090E42: mov dword ptr [edi + 0x34], ecx */ 11136 edx = MEM32(esi + 0x38); /* 0x2B090E45: mov edx, dword ptr [esi + 0x38] */ 11137 eax = esi + 0x3C; /* 0x2B090E48: lea eax, [esi + 0x3c] */ 11138 ecx = edi + 0x3C; /* 0x2B090E4B: lea ecx, [edi + 0x3c] */ 11139 /* cmp ecx, eax */ /* 0x2B090E4E: cmp ecx, eax */ 11140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11142 _flag_k = FK_CMP; 11143 MEM32(ebp + (-0x1C)) = edi; /* 0x2B090E50: mov dword ptr [ebp - 0x1c], edi */ 11144 MEM32(edi + 0x38) = edx; /* 0x2B090E53: mov dword ptr [edi + 0x38], edx */ 11145 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090E62; /* 0x2B090E56: je 0x2b090e62 */ 11146 L_2B090E58: 11147 edx = MEM32(eax); /* 0x2B090E58: mov edx, dword ptr [eax] */ 11148 MEM32(ecx) = edx; /* 0x2B090E5A: mov dword ptr [ecx], edx */ 11149 eax = MEM32(eax + 0x4); /* 0x2B090E5C: mov eax, dword ptr [eax + 4] */ 11150 MEM32(ecx + 0x4) = eax; /* 0x2B090E5F: mov dword ptr [ecx + 4], eax */ 11151 L_2B090E62: 11152 ebx = MEM32(0x2B0B5B6C); /* 0x2B090E62: mov ebx, dword ptr [0x2b0b5b6c] */ 11153 ecx = esi + 0x44; /* 0x2B090E68: lea ecx, [esi + 0x44] */ 11154 PUSH32(esp, ecx); /* 0x2B090E6B: push ecx */ 11155 ecx = edi + 0x44; /* 0x2B090E6C: lea ecx, [edi + 0x44] */ 11156 RECOMP_ICALL(ebx); /* 0x2B090E6F: call ebx */ 11157 RECOMP_FLAGS_IN(); 11158 edx = esi + 0x58; /* 0x2B090E71: lea edx, [esi + 0x58] */ 11159 PUSH32(esp, edx); /* 0x2B090E74: push edx */ 11160 ecx = edi + 0x58; /* 0x2B090E75: lea ecx, [edi + 0x58] */ 11161 MEM32(ebp + (-0x4)) = 0; /* 0x2B090E78: mov dword ptr [ebp - 4], 0 */ 11162 RECOMP_ICALL(ebx); /* 0x2B090E7F: call ebx */ 11163 RECOMP_FLAGS_IN(); 11164 SET_LO8(eax, MEM8(esi + 0x6C)); /* 0x2B090E81: mov al, byte ptr [esi + 0x6c] */ 11165 MEM8(edi + 0x6C) = (uint8_t)(LO8(eax)); /* 0x2B090E84: mov byte ptr [edi + 0x6c], al */ 11166 ecx = MEM32(esi + 0x70); /* 0x2B090E87: mov ecx, dword ptr [esi + 0x70] */ 11167 /* test ecx, ecx */ /* 0x2B090E8A: test ecx, ecx */ 11168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11169 _cf = 0; 11170 _flag_k = FK_TEST; 11171 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B090E8C: mov byte ptr [ebp - 4], 1 */ 11172 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090E96; /* 0x2B090E90: jne 0x2b090e96 */ 11173 L_2B090E92: 11174 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11175 eax = 0; /* 0x2B090E92: xor eax, eax */ 11176 _cf = 0; 11177 _flag_k = FK_TEST; 11178 goto L_2B090E9E; /* 0x2B090E94: jmp 0x2b090e9e */ 11179 L_2B090E96: 11180 eax = MEM32(esi + 0x74); /* 0x2B090E96: mov eax, dword ptr [esi + 0x74] */ 11181 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11183 eax = eax - ecx; /* 0x2B090E99: sub eax, ecx */ 11184 _flag_k = FK_CMP; 11185 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B090E9B: sar eax, 4 */ 11186 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11187 eax = (uint32_t)((int32_t)eax >> 4u); 11188 L_2B090E9E: 11189 /* test eax, eax */ /* 0x2B090E9E: test eax, eax */ 11190 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11191 _cf = 0; 11192 _flag_k = FK_TEST; 11193 if (TEST_NS(_flag_a, _flag_b)) goto L_2B090EA4; /* 0x2B090EA0: jge 0x2b090ea4 */ 11194 L_2B090EA2: 11195 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11196 eax = 0; /* 0x2B090EA2: xor eax, eax */ 11197 _cf = 0; 11198 _flag_k = FK_TEST; 11199 L_2B090EA4: 11200 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B090EA4: shl eax, 4 */ 11201 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11202 eax = eax << 4u; /* 0x2B090EA4: shl eax, 4 */ 11203 PUSH32(esp, eax); /* 0x2B090EA7: push eax */ 11204 RECOMP_ICALL(0x2B0AB212u); /* 0x2B090EA8: call 0x2b0ab212 */ /* not lifted */ 11205 RECOMP_FLAGS_IN(); 11206 MEM32(edi + 0x70) = eax; /* 0x2B090EAD: mov dword ptr [edi + 0x70], eax */ 11207 edx = MEM32(esi + 0x74); /* 0x2B090EB0: mov edx, dword ptr [esi + 0x74] */ 11208 ecx = MEM32(esi + 0x70); /* 0x2B090EB3: mov ecx, dword ptr [esi + 0x70] */ 11209 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11211 esp = esp + 4; /* 0x2B090EB6: add esp, 4 */ 11212 _flag_k = FK_ADD; 11213 /* cmp ecx, edx */ /* 0x2B090EB9: cmp ecx, edx */ 11214 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11216 _flag_k = FK_CMP; 11217 ebx = eax; /* 0x2B090EBB: mov ebx, eax */ 11218 MEM32(ebp + (-0x24)) = edx; /* 0x2B090EBD: mov dword ptr [ebp - 0x24], edx */ 11219 MEM32(ebp + (-0x20)) = ebx; /* 0x2B090EC0: mov dword ptr [ebp - 0x20], ebx */ 11220 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090FD9; /* 0x2B090EC3: je 0x2b090fd9 */ 11221 L_2B090EC9: 11222 eax = ecx + 0x4; /* 0x2B090EC9: lea eax, [ecx + 4] */ 11223 MEM32(ebp + (-0x10)) = eax; /* 0x2B090ECC: mov dword ptr [ebp - 0x10], eax */ 11224 L_2B090ECF: 11225 MEM32(ebp + (-0x28)) = ebx; /* 0x2B090ECF: mov dword ptr [ebp - 0x28], ebx */ 11226 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11227 ecx = 0; /* 0x2B090ED2: xor ecx, ecx */ 11228 _cf = 0; 11229 _flag_k = FK_TEST; 11230 /* cmp ebx, ecx */ /* 0x2B090ED4: cmp ebx, ecx */ 11231 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11233 _flag_k = FK_CMP; 11234 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B090ED6: mov byte ptr [ebp - 4], 2 */ 11235 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090FBB; /* 0x2B090EDA: je 0x2b090fbb */ 11236 L_2B090EE0: 11237 SET_LO8(edx, MEM8(eax + (-0x4))); /* 0x2B090EE0: mov dl, byte ptr [eax - 4] */ 11238 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B090EE3: mov byte ptr [ebx], dl */ 11239 MEM32(ebx + 0x4) = ecx; /* 0x2B090EE5: mov dword ptr [ebx + 4], ecx */ 11240 MEM32(ebx + 0x8) = ecx; /* 0x2B090EE8: mov dword ptr [ebx + 8], ecx */ 11241 MEM32(ebx + 0xC) = ecx; /* 0x2B090EEB: mov dword ptr [ebx + 0xc], ecx */ 11242 ecx = MEM32(0x2B0B515C); /* 0x2B090EEE: mov ecx, dword ptr [0x2b0b515c] */ 11243 edx = MEM32(ecx); /* 0x2B090EF4: mov edx, dword ptr [ecx] */ 11244 ecx = MEM32(eax + 0x4); /* 0x2B090EF6: mov ecx, dword ptr [eax + 4] */ 11245 /* cmp edx, ecx */ /* 0x2B090EF9: cmp edx, ecx */ 11246 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 11247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11248 _flag_k = FK_CMP; 11249 MEM32(ebp + (-0x18)) = edx; /* 0x2B090EFB: mov dword ptr [ebp - 0x18], edx */ 11250 MEM32(ebp + (-0x14)) = ecx; /* 0x2B090EFE: mov dword ptr [ebp - 0x14], ecx */ 11251 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F08; /* 0x2B090F01: jae 0x2b090f08 */ 11252 L_2B090F03: 11253 MEM32(ebp + (-0x14)) = edx; /* 0x2B090F03: mov dword ptr [ebp - 0x14], edx */ 11254 ecx = edx; /* 0x2B090F06: mov ecx, edx */ 11255 L_2B090F08: 11256 edx = eax + (-0x4); /* 0x2B090F08: lea edx, [eax - 4] */ 11257 /* cmp ebx, edx */ /* 0x2B090F0B: cmp ebx, edx */ 11258 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 11259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11260 _flag_k = FK_CMP; 11261 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F2D; /* 0x2B090F0D: jne 0x2b090f2d */ 11262 L_2B090F0F: 11263 eax = MEM32(ebp + (-0x18)); /* 0x2B090F0F: mov eax, dword ptr [ebp - 0x18] */ 11264 PUSH32(esp, eax); /* 0x2B090F12: push eax */ 11265 PUSH32(esp, ecx); /* 0x2B090F13: push ecx */ 11266 ecx = ebx; /* 0x2B090F14: mov ecx, ebx */ 11267 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F16: call dword ptr [0x2b0b51ac] */ 11268 RECOMP_FLAGS_IN(); 11269 PUSH32(esp, 0); /* 0x2B090F1C: push 0 */ 11270 PUSH32(esp, 0); /* 0x2B090F1E: push 0 */ 11271 ecx = ebx; /* 0x2B090F20: mov ecx, ebx */ 11272 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F22: call dword ptr [0x2b0b51ac] */ 11273 RECOMP_FLAGS_IN(); 11274 goto L_2B090FB8; /* 0x2B090F28: jmp 0x2b090fb8 */ 11275 L_2B090F2D: 11276 /* test ecx, ecx */ /* 0x2B090F2D: test ecx, ecx */ 11277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11278 _cf = 0; 11279 _flag_k = FK_TEST; 11280 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F2F: jbe 0x2b090f73 */ 11281 L_2B090F31: 11282 /* cmp ecx, MEM32(eax + 0x4) */ /* 0x2B090F31: cmp ecx, dword ptr [eax + 4] */ 11283 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 11284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11285 _flag_k = FK_CMP; 11286 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F34: jne 0x2b090f73 */ 11287 L_2B090F36: 11288 eax = MEM32(eax); /* 0x2B090F36: mov eax, dword ptr [eax] */ 11289 /* test eax, eax */ /* 0x2B090F38: test eax, eax */ 11290 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11291 _cf = 0; 11292 _flag_k = FK_TEST; 11293 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F41; /* 0x2B090F3A: jne 0x2b090f41 */ 11294 L_2B090F3C: 11295 eax = MEM32(0x2B0B513C); /* 0x2B090F3C: mov eax, dword ptr [0x2b0b513c] */ 11296 L_2B090F41: 11297 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B090F41: cmp byte ptr [eax - 1], 0xfe */ 11298 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 11299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11300 _flag_k = FK_NARROW(FK_CMP, 24); 11301 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F45: jae 0x2b090f73 */ 11302 L_2B090F47: 11303 PUSH32(esp, 1); /* 0x2B090F47: push 1 */ 11304 ecx = ebx; /* 0x2B090F49: mov ecx, ebx */ 11305 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B090F4B: call dword ptr [0x2b0b514c] */ 11306 RECOMP_FLAGS_IN(); 11307 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F51: mov ecx, dword ptr [ebp - 0x10] */ 11308 eax = MEM32(ecx); /* 0x2B090F54: mov eax, dword ptr [ecx] */ 11309 /* test eax, eax */ /* 0x2B090F56: test eax, eax */ 11310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11311 _cf = 0; 11312 _flag_k = FK_TEST; 11313 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F5F; /* 0x2B090F58: jne 0x2b090f5f */ 11314 L_2B090F5A: 11315 eax = MEM32(0x2B0B513C); /* 0x2B090F5A: mov eax, dword ptr [0x2b0b513c] */ 11316 L_2B090F5F: 11317 MEM32(ebx + 0x4) = eax; /* 0x2B090F5F: mov dword ptr [ebx + 4], eax */ 11318 edx = MEM32(ecx + 0x4); /* 0x2B090F62: mov edx, dword ptr [ecx + 4] */ 11319 MEM32(ebx + 0x8) = edx; /* 0x2B090F65: mov dword ptr [ebx + 8], edx */ 11320 ecx = MEM32(ecx + 0x8); /* 0x2B090F68: mov ecx, dword ptr [ecx + 8] */ 11321 MEM32(ebx + 0xC) = ecx; /* 0x2B090F6B: mov dword ptr [ebx + 0xc], ecx */ 11322 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 11323 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B090F6E: inc byte ptr [eax - 1] */ 11324 _flag_k = FK_NARROW(FK_INC, 24); 11325 goto L_2B090FB8; /* 0x2B090F71: jmp 0x2b090fb8 */ 11326 L_2B090F73: 11327 PUSH32(esp, 1); /* 0x2B090F73: push 1 */ 11328 PUSH32(esp, ecx); /* 0x2B090F75: push ecx */ 11329 ecx = ebx; /* 0x2B090F76: mov ecx, ebx */ 11330 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B090F78: call dword ptr [0x2b0b5154] */ 11331 RECOMP_FLAGS_IN(); 11332 /* test LO8(eax), LO8(eax) */ /* 0x2B090F7E: test al, al */ 11333 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11334 _cf = 0; 11335 _flag_k = FK_NARROW(FK_TEST, 24); 11336 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090FB8; /* 0x2B090F80: je 0x2b090fb8 */ 11337 L_2B090F82: 11338 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F82: mov ecx, dword ptr [ebp - 0x10] */ 11339 esi = MEM32(ecx); /* 0x2B090F85: mov esi, dword ptr [ecx] */ 11340 /* test esi, esi */ /* 0x2B090F87: test esi, esi */ 11341 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11342 _cf = 0; 11343 _flag_k = FK_TEST; 11344 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F91; /* 0x2B090F89: jne 0x2b090f91 */ 11345 L_2B090F8B: 11346 esi = MEM32(0x2B0B513C); /* 0x2B090F8B: mov esi, dword ptr [0x2b0b513c] */ 11347 L_2B090F91: 11348 ecx = MEM32(ebp + (-0x14)); /* 0x2B090F91: mov ecx, dword ptr [ebp - 0x14] */ 11349 edi = MEM32(ebx + 0x4); /* 0x2B090F94: mov edi, dword ptr [ebx + 4] */ 11350 edx = ecx; /* 0x2B090F97: mov edx, ecx */ 11351 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B090F99: shr ecx, 2 */ 11352 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11353 ecx = ecx >> 2u; /* 0x2B090F99: shr ecx, 2 */ 11354 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B090F9C: 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; } 11355 ecx = edx; /* 0x2B090F9E: mov ecx, edx */ 11356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11357 ecx = ecx & 3; /* 0x2B090FA0: and ecx, 3 */ 11358 _cf = 0; 11359 _flag_k = FK_TEST; 11360 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B090FA3: 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; } 11361 eax = MEM32(ebx + 0x4); /* 0x2B090FA5: mov eax, dword ptr [ebx + 4] */ 11362 esi = MEM32(ebp + 0x8); /* 0x2B090FA8: mov esi, dword ptr [ebp + 8] */ 11363 edi = MEM32(ebp + (-0x1C)); /* 0x2B090FAB: mov edi, dword ptr [ebp - 0x1c] */ 11364 ecx = edx; /* 0x2B090FAE: mov ecx, edx */ 11365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11367 eax = eax + ecx; /* 0x2B090FB0: add eax, ecx */ 11368 _flag_k = FK_ADD; 11369 MEM32(ebx + 0x8) = ecx; /* 0x2B090FB2: mov dword ptr [ebx + 8], ecx */ 11370 MEM8(eax) = (uint8_t)(0); /* 0x2B090FB5: mov byte ptr [eax], 0 */ 11371 L_2B090FB8: 11372 eax = MEM32(ebp + (-0x10)); /* 0x2B090FB8: mov eax, dword ptr [ebp - 0x10] */ 11373 L_2B090FBB: 11374 edx = MEM32(ebp + (-0x24)); /* 0x2B090FBB: mov edx, dword ptr [ebp - 0x24] */ 11375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 11376 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11377 eax = eax + 0x10u; /* 0x2B090FBE: add eax, 0x10 */ 11378 _flag_k = FK_ADD; 11379 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 11380 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11381 ebx = ebx + 0x10u; /* 0x2B090FC1: add ebx, 0x10 */ 11382 _flag_k = FK_ADD; 11383 ecx = eax + (-0x4); /* 0x2B090FC4: lea ecx, [eax - 4] */ 11384 /* cmp ecx, edx */ /* 0x2B090FC7: cmp ecx, edx */ 11385 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11387 _flag_k = FK_CMP; 11388 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B090FC9: mov byte ptr [ebp - 4], 1 */ 11389 MEM32(ebp + (-0x20)) = ebx; /* 0x2B090FCD: mov dword ptr [ebp - 0x20], ebx */ 11390 MEM32(ebp + (-0x10)) = eax; /* 0x2B090FD0: mov dword ptr [ebp - 0x10], eax */ 11391 RECOMP_BACKEDGE(); 11392 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090ECF; /* 0x2B090FD3: jne 0x2b090ecf */ 11393 L_2B090FD9: 11394 MEM32(edi + 0x74) = ebx; /* 0x2B090FD9: mov dword ptr [edi + 0x74], ebx */ 11395 MEM32(edi + 0x78) = ebx; /* 0x2B090FDC: mov dword ptr [edi + 0x78], ebx */ 11396 edx = MEM32(esi + 0x7C); /* 0x2B090FDF: mov edx, dword ptr [esi + 0x7c] */ 11397 MEM32(edi + 0x7C) = edx; /* 0x2B090FE2: mov dword ptr [edi + 0x7c], edx */ 11398 eax = MEM32(esi + 0x80); /* 0x2B090FE5: mov eax, dword ptr [esi + 0x80] */ 11399 MEM32(edi + 0x80) = eax; /* 0x2B090FEB: mov dword ptr [edi + 0x80], eax */ 11400 ecx = MEM32(esi + 0x84); /* 0x2B090FF1: mov ecx, dword ptr [esi + 0x84] */ 11401 MEM32(edi + 0x84) = ecx; /* 0x2B090FF7: mov dword ptr [edi + 0x84], ecx */ 11402 edx = MEM32(esi + 0x88); /* 0x2B090FFD: mov edx, dword ptr [esi + 0x88] */ 11403 MEM32(edi + 0x88) = edx; /* 0x2B091003: mov dword ptr [edi + 0x88], edx */ 11404 eax = MEM32(esi + 0x8C); /* 0x2B091009: mov eax, dword ptr [esi + 0x8c] */ 11405 MEM32(edi + 0x8C) = eax; /* 0x2B09100F: mov dword ptr [edi + 0x8c], eax */ 11406 ecx = MEM32(esi + 0x90); /* 0x2B091015: mov ecx, dword ptr [esi + 0x90] */ 11407 MEM32(edi + 0x90) = ecx; /* 0x2B09101B: mov dword ptr [edi + 0x90], ecx */ 11408 edx = MEM32(esi + 0x94); /* 0x2B091021: mov edx, dword ptr [esi + 0x94] */ 11409 MEM32(edi + 0x94) = edx; /* 0x2B091027: mov dword ptr [edi + 0x94], edx */ 11410 eax = MEM32(esi + 0x98); /* 0x2B09102D: mov eax, dword ptr [esi + 0x98] */ 11411 MEM32(edi + 0x98) = eax; /* 0x2B091033: mov dword ptr [edi + 0x98], eax */ 11412 ecx = MEM32(esi + 0x9C); /* 0x2B091039: mov ecx, dword ptr [esi + 0x9c] */ 11413 MEM32(edi + 0x9C) = ecx; /* 0x2B09103F: mov dword ptr [edi + 0x9c], ecx */ 11414 edx = MEM32(esi + 0xA0); /* 0x2B091045: mov edx, dword ptr [esi + 0xa0] */ 11415 MEM32(edi + 0xA0) = edx; /* 0x2B09104B: mov dword ptr [edi + 0xa0], edx */ 11416 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B091051: mov al, byte ptr [esi + 0xa4] */ 11417 MEM8(edi + 0xA4) = (uint8_t)(LO8(eax)); /* 0x2B091057: mov byte ptr [edi + 0xa4], al */ 11418 SET_LO8(ecx, MEM8(esi + 0xA5)); /* 0x2B09105D: mov cl, byte ptr [esi + 0xa5] */ 11419 MEM8(edi + 0xA5) = (uint8_t)(LO8(ecx)); /* 0x2B091063: mov byte ptr [edi + 0xa5], cl */ 11420 SET_LO8(edx, MEM8(esi + 0xA6)); /* 0x2B091069: mov dl, byte ptr [esi + 0xa6] */ 11421 ecx = MEM32(ebp + (-0xC)); /* 0x2B09106F: mov ecx, dword ptr [ebp - 0xc] */ 11422 MEM8(edi + 0xA6) = (uint8_t)(LO8(edx)); /* 0x2B091072: mov byte ptr [edi + 0xa6], dl */ 11423 eax = edi; /* 0x2B091078: mov eax, edi */ 11424 edi = POP32_VAL(esp); /* 0x2B09107A: pop edi */ 11425 esi = POP32_VAL(esp); /* 0x2B09107B: pop esi */ 11426 ebx = POP32_VAL(esp); /* 0x2B09107C: pop ebx */ 11427 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09107D: mov dword ptr fs:[0], ecx */ 11428 esp = ebp; /* 0x2B091084: mov esp, ebp */ 11429 ebp = POP32_VAL(esp); /* 0x2B091086: pop ebp */ 11430 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B091087: ret 4 */ 11431 RECOMP_REGS_OUT(); 11432 } 11433 11434 void sub_2B090ECF(void) { 11435 int _fpu_cmp = 0; 11436 uint32_t _cf = 0; 11437 int _df = 1; 11438 uint32_t _flag_k = FK_NONE; 11439 uint32_t _flag_a = 0, _flag_b = 0; 11440 uint32_t _itail_tgt = 0; 11441 RECOMP_REGS_LOCALS 11442 RECOMP_ENTER(0x2B090ECFu); 11443 11444 L_2B090ECF: 11445 MEM32(ebp + (-0x28)) = ebx; /* 0x2B090ECF: mov dword ptr [ebp - 0x28], ebx */ 11446 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11447 ecx = 0; /* 0x2B090ED2: xor ecx, ecx */ 11448 _cf = 0; 11449 _flag_k = FK_TEST; 11450 /* cmp ebx, ecx */ /* 0x2B090ED4: cmp ebx, ecx */ 11451 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11453 _flag_k = FK_CMP; 11454 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B090ED6: mov byte ptr [ebp - 4], 2 */ 11455 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090FBB; /* 0x2B090EDA: je 0x2b090fbb */ 11456 L_2B090EE0: 11457 SET_LO8(edx, MEM8(eax + (-0x4))); /* 0x2B090EE0: mov dl, byte ptr [eax - 4] */ 11458 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B090EE3: mov byte ptr [ebx], dl */ 11459 MEM32(ebx + 0x4) = ecx; /* 0x2B090EE5: mov dword ptr [ebx + 4], ecx */ 11460 MEM32(ebx + 0x8) = ecx; /* 0x2B090EE8: mov dword ptr [ebx + 8], ecx */ 11461 MEM32(ebx + 0xC) = ecx; /* 0x2B090EEB: mov dword ptr [ebx + 0xc], ecx */ 11462 ecx = MEM32(0x2B0B515C); /* 0x2B090EEE: mov ecx, dword ptr [0x2b0b515c] */ 11463 edx = MEM32(ecx); /* 0x2B090EF4: mov edx, dword ptr [ecx] */ 11464 ecx = MEM32(eax + 0x4); /* 0x2B090EF6: mov ecx, dword ptr [eax + 4] */ 11465 /* cmp edx, ecx */ /* 0x2B090EF9: cmp edx, ecx */ 11466 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 11467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11468 _flag_k = FK_CMP; 11469 MEM32(ebp + (-0x18)) = edx; /* 0x2B090EFB: mov dword ptr [ebp - 0x18], edx */ 11470 MEM32(ebp + (-0x14)) = ecx; /* 0x2B090EFE: mov dword ptr [ebp - 0x14], ecx */ 11471 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F08; /* 0x2B090F01: jae 0x2b090f08 */ 11472 L_2B090F03: 11473 MEM32(ebp + (-0x14)) = edx; /* 0x2B090F03: mov dword ptr [ebp - 0x14], edx */ 11474 ecx = edx; /* 0x2B090F06: mov ecx, edx */ 11475 L_2B090F08: 11476 edx = eax + (-0x4); /* 0x2B090F08: lea edx, [eax - 4] */ 11477 /* cmp ebx, edx */ /* 0x2B090F0B: cmp ebx, edx */ 11478 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 11479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11480 _flag_k = FK_CMP; 11481 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F2D; /* 0x2B090F0D: jne 0x2b090f2d */ 11482 L_2B090F0F: 11483 eax = MEM32(ebp + (-0x18)); /* 0x2B090F0F: mov eax, dword ptr [ebp - 0x18] */ 11484 PUSH32(esp, eax); /* 0x2B090F12: push eax */ 11485 PUSH32(esp, ecx); /* 0x2B090F13: push ecx */ 11486 ecx = ebx; /* 0x2B090F14: mov ecx, ebx */ 11487 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F16: call dword ptr [0x2b0b51ac] */ 11488 RECOMP_FLAGS_IN(); 11489 PUSH32(esp, 0); /* 0x2B090F1C: push 0 */ 11490 PUSH32(esp, 0); /* 0x2B090F1E: push 0 */ 11491 ecx = ebx; /* 0x2B090F20: mov ecx, ebx */ 11492 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F22: call dword ptr [0x2b0b51ac] */ 11493 RECOMP_FLAGS_IN(); 11494 goto L_2B090FB8; /* 0x2B090F28: jmp 0x2b090fb8 */ 11495 L_2B090F2D: 11496 /* test ecx, ecx */ /* 0x2B090F2D: test ecx, ecx */ 11497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11498 _cf = 0; 11499 _flag_k = FK_TEST; 11500 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F2F: jbe 0x2b090f73 */ 11501 L_2B090F31: 11502 /* cmp ecx, MEM32(eax + 0x4) */ /* 0x2B090F31: cmp ecx, dword ptr [eax + 4] */ 11503 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 11504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11505 _flag_k = FK_CMP; 11506 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F34: jne 0x2b090f73 */ 11507 L_2B090F36: 11508 eax = MEM32(eax); /* 0x2B090F36: mov eax, dword ptr [eax] */ 11509 /* test eax, eax */ /* 0x2B090F38: test eax, eax */ 11510 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11511 _cf = 0; 11512 _flag_k = FK_TEST; 11513 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F41; /* 0x2B090F3A: jne 0x2b090f41 */ 11514 L_2B090F3C: 11515 eax = MEM32(0x2B0B513C); /* 0x2B090F3C: mov eax, dword ptr [0x2b0b513c] */ 11516 L_2B090F41: 11517 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B090F41: cmp byte ptr [eax - 1], 0xfe */ 11518 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 11519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11520 _flag_k = FK_NARROW(FK_CMP, 24); 11521 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F45: jae 0x2b090f73 */ 11522 L_2B090F47: 11523 PUSH32(esp, 1); /* 0x2B090F47: push 1 */ 11524 ecx = ebx; /* 0x2B090F49: mov ecx, ebx */ 11525 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B090F4B: call dword ptr [0x2b0b514c] */ 11526 RECOMP_FLAGS_IN(); 11527 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F51: mov ecx, dword ptr [ebp - 0x10] */ 11528 eax = MEM32(ecx); /* 0x2B090F54: mov eax, dword ptr [ecx] */ 11529 /* test eax, eax */ /* 0x2B090F56: test eax, eax */ 11530 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11531 _cf = 0; 11532 _flag_k = FK_TEST; 11533 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F5F; /* 0x2B090F58: jne 0x2b090f5f */ 11534 L_2B090F5A: 11535 eax = MEM32(0x2B0B513C); /* 0x2B090F5A: mov eax, dword ptr [0x2b0b513c] */ 11536 L_2B090F5F: 11537 MEM32(ebx + 0x4) = eax; /* 0x2B090F5F: mov dword ptr [ebx + 4], eax */ 11538 edx = MEM32(ecx + 0x4); /* 0x2B090F62: mov edx, dword ptr [ecx + 4] */ 11539 MEM32(ebx + 0x8) = edx; /* 0x2B090F65: mov dword ptr [ebx + 8], edx */ 11540 ecx = MEM32(ecx + 0x8); /* 0x2B090F68: mov ecx, dword ptr [ecx + 8] */ 11541 MEM32(ebx + 0xC) = ecx; /* 0x2B090F6B: mov dword ptr [ebx + 0xc], ecx */ 11542 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 11543 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B090F6E: inc byte ptr [eax - 1] */ 11544 _flag_k = FK_NARROW(FK_INC, 24); 11545 goto L_2B090FB8; /* 0x2B090F71: jmp 0x2b090fb8 */ 11546 L_2B090F73: 11547 PUSH32(esp, 1); /* 0x2B090F73: push 1 */ 11548 PUSH32(esp, ecx); /* 0x2B090F75: push ecx */ 11549 ecx = ebx; /* 0x2B090F76: mov ecx, ebx */ 11550 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B090F78: call dword ptr [0x2b0b5154] */ 11551 RECOMP_FLAGS_IN(); 11552 /* test LO8(eax), LO8(eax) */ /* 0x2B090F7E: test al, al */ 11553 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11554 _cf = 0; 11555 _flag_k = FK_NARROW(FK_TEST, 24); 11556 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090FB8; /* 0x2B090F80: je 0x2b090fb8 */ 11557 L_2B090F82: 11558 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F82: mov ecx, dword ptr [ebp - 0x10] */ 11559 esi = MEM32(ecx); /* 0x2B090F85: mov esi, dword ptr [ecx] */ 11560 /* test esi, esi */ /* 0x2B090F87: test esi, esi */ 11561 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11562 _cf = 0; 11563 _flag_k = FK_TEST; 11564 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F91; /* 0x2B090F89: jne 0x2b090f91 */ 11565 L_2B090F8B: 11566 esi = MEM32(0x2B0B513C); /* 0x2B090F8B: mov esi, dword ptr [0x2b0b513c] */ 11567 L_2B090F91: 11568 ecx = MEM32(ebp + (-0x14)); /* 0x2B090F91: mov ecx, dword ptr [ebp - 0x14] */ 11569 edi = MEM32(ebx + 0x4); /* 0x2B090F94: mov edi, dword ptr [ebx + 4] */ 11570 edx = ecx; /* 0x2B090F97: mov edx, ecx */ 11571 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B090F99: shr ecx, 2 */ 11572 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11573 ecx = ecx >> 2u; /* 0x2B090F99: shr ecx, 2 */ 11574 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B090F9C: 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; } 11575 ecx = edx; /* 0x2B090F9E: mov ecx, edx */ 11576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11577 ecx = ecx & 3; /* 0x2B090FA0: and ecx, 3 */ 11578 _cf = 0; 11579 _flag_k = FK_TEST; 11580 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B090FA3: 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; } 11581 eax = MEM32(ebx + 0x4); /* 0x2B090FA5: mov eax, dword ptr [ebx + 4] */ 11582 esi = MEM32(ebp + 0x8); /* 0x2B090FA8: mov esi, dword ptr [ebp + 8] */ 11583 edi = MEM32(ebp + (-0x1C)); /* 0x2B090FAB: mov edi, dword ptr [ebp - 0x1c] */ 11584 ecx = edx; /* 0x2B090FAE: mov ecx, edx */ 11585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11586 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11587 eax = eax + ecx; /* 0x2B090FB0: add eax, ecx */ 11588 _flag_k = FK_ADD; 11589 MEM32(ebx + 0x8) = ecx; /* 0x2B090FB2: mov dword ptr [ebx + 8], ecx */ 11590 MEM8(eax) = (uint8_t)(0); /* 0x2B090FB5: mov byte ptr [eax], 0 */ 11591 L_2B090FB8: 11592 eax = MEM32(ebp + (-0x10)); /* 0x2B090FB8: mov eax, dword ptr [ebp - 0x10] */ 11593 L_2B090FBB: 11594 edx = MEM32(ebp + (-0x24)); /* 0x2B090FBB: mov edx, dword ptr [ebp - 0x24] */ 11595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 11596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11597 eax = eax + 0x10u; /* 0x2B090FBE: add eax, 0x10 */ 11598 _flag_k = FK_ADD; 11599 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 11600 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11601 ebx = ebx + 0x10u; /* 0x2B090FC1: add ebx, 0x10 */ 11602 _flag_k = FK_ADD; 11603 ecx = eax + (-0x4); /* 0x2B090FC4: lea ecx, [eax - 4] */ 11604 /* cmp ecx, edx */ /* 0x2B090FC7: cmp ecx, edx */ 11605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11607 _flag_k = FK_CMP; 11608 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B090FC9: mov byte ptr [ebp - 4], 1 */ 11609 MEM32(ebp + (-0x20)) = ebx; /* 0x2B090FCD: mov dword ptr [ebp - 0x20], ebx */ 11610 MEM32(ebp + (-0x10)) = eax; /* 0x2B090FD0: mov dword ptr [ebp - 0x10], eax */ 11611 RECOMP_BACKEDGE(); 11612 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090ECF; /* 0x2B090FD3: jne 0x2b090ecf */ 11613 L_2B090FD9: 11614 MEM32(edi + 0x74) = ebx; /* 0x2B090FD9: mov dword ptr [edi + 0x74], ebx */ 11615 MEM32(edi + 0x78) = ebx; /* 0x2B090FDC: mov dword ptr [edi + 0x78], ebx */ 11616 edx = MEM32(esi + 0x7C); /* 0x2B090FDF: mov edx, dword ptr [esi + 0x7c] */ 11617 MEM32(edi + 0x7C) = edx; /* 0x2B090FE2: mov dword ptr [edi + 0x7c], edx */ 11618 eax = MEM32(esi + 0x80); /* 0x2B090FE5: mov eax, dword ptr [esi + 0x80] */ 11619 MEM32(edi + 0x80) = eax; /* 0x2B090FEB: mov dword ptr [edi + 0x80], eax */ 11620 ecx = MEM32(esi + 0x84); /* 0x2B090FF1: mov ecx, dword ptr [esi + 0x84] */ 11621 MEM32(edi + 0x84) = ecx; /* 0x2B090FF7: mov dword ptr [edi + 0x84], ecx */ 11622 edx = MEM32(esi + 0x88); /* 0x2B090FFD: mov edx, dword ptr [esi + 0x88] */ 11623 MEM32(edi + 0x88) = edx; /* 0x2B091003: mov dword ptr [edi + 0x88], edx */ 11624 eax = MEM32(esi + 0x8C); /* 0x2B091009: mov eax, dword ptr [esi + 0x8c] */ 11625 MEM32(edi + 0x8C) = eax; /* 0x2B09100F: mov dword ptr [edi + 0x8c], eax */ 11626 ecx = MEM32(esi + 0x90); /* 0x2B091015: mov ecx, dword ptr [esi + 0x90] */ 11627 MEM32(edi + 0x90) = ecx; /* 0x2B09101B: mov dword ptr [edi + 0x90], ecx */ 11628 edx = MEM32(esi + 0x94); /* 0x2B091021: mov edx, dword ptr [esi + 0x94] */ 11629 MEM32(edi + 0x94) = edx; /* 0x2B091027: mov dword ptr [edi + 0x94], edx */ 11630 eax = MEM32(esi + 0x98); /* 0x2B09102D: mov eax, dword ptr [esi + 0x98] */ 11631 MEM32(edi + 0x98) = eax; /* 0x2B091033: mov dword ptr [edi + 0x98], eax */ 11632 ecx = MEM32(esi + 0x9C); /* 0x2B091039: mov ecx, dword ptr [esi + 0x9c] */ 11633 MEM32(edi + 0x9C) = ecx; /* 0x2B09103F: mov dword ptr [edi + 0x9c], ecx */ 11634 edx = MEM32(esi + 0xA0); /* 0x2B091045: mov edx, dword ptr [esi + 0xa0] */ 11635 MEM32(edi + 0xA0) = edx; /* 0x2B09104B: mov dword ptr [edi + 0xa0], edx */ 11636 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B091051: mov al, byte ptr [esi + 0xa4] */ 11637 MEM8(edi + 0xA4) = (uint8_t)(LO8(eax)); /* 0x2B091057: mov byte ptr [edi + 0xa4], al */ 11638 SET_LO8(ecx, MEM8(esi + 0xA5)); /* 0x2B09105D: mov cl, byte ptr [esi + 0xa5] */ 11639 MEM8(edi + 0xA5) = (uint8_t)(LO8(ecx)); /* 0x2B091063: mov byte ptr [edi + 0xa5], cl */ 11640 SET_LO8(edx, MEM8(esi + 0xA6)); /* 0x2B091069: mov dl, byte ptr [esi + 0xa6] */ 11641 ecx = MEM32(ebp + (-0xC)); /* 0x2B09106F: mov ecx, dword ptr [ebp - 0xc] */ 11642 MEM8(edi + 0xA6) = (uint8_t)(LO8(edx)); /* 0x2B091072: mov byte ptr [edi + 0xa6], dl */ 11643 eax = edi; /* 0x2B091078: mov eax, edi */ 11644 edi = POP32_VAL(esp); /* 0x2B09107A: pop edi */ 11645 esi = POP32_VAL(esp); /* 0x2B09107B: pop esi */ 11646 ebx = POP32_VAL(esp); /* 0x2B09107C: pop ebx */ 11647 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09107D: mov dword ptr fs:[0], ecx */ 11648 esp = ebp; /* 0x2B091084: mov esp, ebp */ 11649 ebp = POP32_VAL(esp); /* 0x2B091086: pop ebp */ 11650 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B091087: ret 4 */ 11651 RECOMP_REGS_OUT(); 11652 } 11653 11654 void sub_2B090FB8(void) { 11655 int _fpu_cmp = 0; 11656 uint32_t _cf = 0; 11657 int _df = 1; 11658 uint32_t _flag_k = FK_NONE; 11659 uint32_t _flag_a = 0, _flag_b = 0; 11660 uint32_t _itail_tgt = 0; 11661 RECOMP_REGS_LOCALS 11662 RECOMP_ENTER(0x2B090FB8u); 11663 11664 goto L_2B090FB8; 11665 L_2B090ECF: 11666 MEM32(ebp + (-0x28)) = ebx; /* 0x2B090ECF: mov dword ptr [ebp - 0x28], ebx */ 11667 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11668 ecx = 0; /* 0x2B090ED2: xor ecx, ecx */ 11669 _cf = 0; 11670 _flag_k = FK_TEST; 11671 /* cmp ebx, ecx */ /* 0x2B090ED4: cmp ebx, ecx */ 11672 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11674 _flag_k = FK_CMP; 11675 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B090ED6: mov byte ptr [ebp - 4], 2 */ 11676 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090FBB; /* 0x2B090EDA: je 0x2b090fbb */ 11677 L_2B090EE0: 11678 SET_LO8(edx, MEM8(eax + (-0x4))); /* 0x2B090EE0: mov dl, byte ptr [eax - 4] */ 11679 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B090EE3: mov byte ptr [ebx], dl */ 11680 MEM32(ebx + 0x4) = ecx; /* 0x2B090EE5: mov dword ptr [ebx + 4], ecx */ 11681 MEM32(ebx + 0x8) = ecx; /* 0x2B090EE8: mov dword ptr [ebx + 8], ecx */ 11682 MEM32(ebx + 0xC) = ecx; /* 0x2B090EEB: mov dword ptr [ebx + 0xc], ecx */ 11683 ecx = MEM32(0x2B0B515C); /* 0x2B090EEE: mov ecx, dword ptr [0x2b0b515c] */ 11684 edx = MEM32(ecx); /* 0x2B090EF4: mov edx, dword ptr [ecx] */ 11685 ecx = MEM32(eax + 0x4); /* 0x2B090EF6: mov ecx, dword ptr [eax + 4] */ 11686 /* cmp edx, ecx */ /* 0x2B090EF9: cmp edx, ecx */ 11687 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 11688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11689 _flag_k = FK_CMP; 11690 MEM32(ebp + (-0x18)) = edx; /* 0x2B090EFB: mov dword ptr [ebp - 0x18], edx */ 11691 MEM32(ebp + (-0x14)) = ecx; /* 0x2B090EFE: mov dword ptr [ebp - 0x14], ecx */ 11692 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F08; /* 0x2B090F01: jae 0x2b090f08 */ 11693 L_2B090F03: 11694 MEM32(ebp + (-0x14)) = edx; /* 0x2B090F03: mov dword ptr [ebp - 0x14], edx */ 11695 ecx = edx; /* 0x2B090F06: mov ecx, edx */ 11696 L_2B090F08: 11697 edx = eax + (-0x4); /* 0x2B090F08: lea edx, [eax - 4] */ 11698 /* cmp ebx, edx */ /* 0x2B090F0B: cmp ebx, edx */ 11699 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 11700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11701 _flag_k = FK_CMP; 11702 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F2D; /* 0x2B090F0D: jne 0x2b090f2d */ 11703 L_2B090F0F: 11704 eax = MEM32(ebp + (-0x18)); /* 0x2B090F0F: mov eax, dword ptr [ebp - 0x18] */ 11705 PUSH32(esp, eax); /* 0x2B090F12: push eax */ 11706 PUSH32(esp, ecx); /* 0x2B090F13: push ecx */ 11707 ecx = ebx; /* 0x2B090F14: mov ecx, ebx */ 11708 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F16: call dword ptr [0x2b0b51ac] */ 11709 RECOMP_FLAGS_IN(); 11710 PUSH32(esp, 0); /* 0x2B090F1C: push 0 */ 11711 PUSH32(esp, 0); /* 0x2B090F1E: push 0 */ 11712 ecx = ebx; /* 0x2B090F20: mov ecx, ebx */ 11713 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F22: call dword ptr [0x2b0b51ac] */ 11714 RECOMP_FLAGS_IN(); 11715 goto L_2B090FB8; /* 0x2B090F28: jmp 0x2b090fb8 */ 11716 L_2B090F2D: 11717 /* test ecx, ecx */ /* 0x2B090F2D: test ecx, ecx */ 11718 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11719 _cf = 0; 11720 _flag_k = FK_TEST; 11721 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F2F: jbe 0x2b090f73 */ 11722 L_2B090F31: 11723 /* cmp ecx, MEM32(eax + 0x4) */ /* 0x2B090F31: cmp ecx, dword ptr [eax + 4] */ 11724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 11725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11726 _flag_k = FK_CMP; 11727 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F34: jne 0x2b090f73 */ 11728 L_2B090F36: 11729 eax = MEM32(eax); /* 0x2B090F36: mov eax, dword ptr [eax] */ 11730 /* test eax, eax */ /* 0x2B090F38: test eax, eax */ 11731 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11732 _cf = 0; 11733 _flag_k = FK_TEST; 11734 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F41; /* 0x2B090F3A: jne 0x2b090f41 */ 11735 L_2B090F3C: 11736 eax = MEM32(0x2B0B513C); /* 0x2B090F3C: mov eax, dword ptr [0x2b0b513c] */ 11737 L_2B090F41: 11738 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B090F41: cmp byte ptr [eax - 1], 0xfe */ 11739 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 11740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11741 _flag_k = FK_NARROW(FK_CMP, 24); 11742 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F45: jae 0x2b090f73 */ 11743 L_2B090F47: 11744 PUSH32(esp, 1); /* 0x2B090F47: push 1 */ 11745 ecx = ebx; /* 0x2B090F49: mov ecx, ebx */ 11746 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B090F4B: call dword ptr [0x2b0b514c] */ 11747 RECOMP_FLAGS_IN(); 11748 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F51: mov ecx, dword ptr [ebp - 0x10] */ 11749 eax = MEM32(ecx); /* 0x2B090F54: mov eax, dword ptr [ecx] */ 11750 /* test eax, eax */ /* 0x2B090F56: test eax, eax */ 11751 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11752 _cf = 0; 11753 _flag_k = FK_TEST; 11754 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F5F; /* 0x2B090F58: jne 0x2b090f5f */ 11755 L_2B090F5A: 11756 eax = MEM32(0x2B0B513C); /* 0x2B090F5A: mov eax, dword ptr [0x2b0b513c] */ 11757 L_2B090F5F: 11758 MEM32(ebx + 0x4) = eax; /* 0x2B090F5F: mov dword ptr [ebx + 4], eax */ 11759 edx = MEM32(ecx + 0x4); /* 0x2B090F62: mov edx, dword ptr [ecx + 4] */ 11760 MEM32(ebx + 0x8) = edx; /* 0x2B090F65: mov dword ptr [ebx + 8], edx */ 11761 ecx = MEM32(ecx + 0x8); /* 0x2B090F68: mov ecx, dword ptr [ecx + 8] */ 11762 MEM32(ebx + 0xC) = ecx; /* 0x2B090F6B: mov dword ptr [ebx + 0xc], ecx */ 11763 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 11764 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B090F6E: inc byte ptr [eax - 1] */ 11765 _flag_k = FK_NARROW(FK_INC, 24); 11766 goto L_2B090FB8; /* 0x2B090F71: jmp 0x2b090fb8 */ 11767 L_2B090F73: 11768 PUSH32(esp, 1); /* 0x2B090F73: push 1 */ 11769 PUSH32(esp, ecx); /* 0x2B090F75: push ecx */ 11770 ecx = ebx; /* 0x2B090F76: mov ecx, ebx */ 11771 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B090F78: call dword ptr [0x2b0b5154] */ 11772 RECOMP_FLAGS_IN(); 11773 /* test LO8(eax), LO8(eax) */ /* 0x2B090F7E: test al, al */ 11774 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11775 _cf = 0; 11776 _flag_k = FK_NARROW(FK_TEST, 24); 11777 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090FB8; /* 0x2B090F80: je 0x2b090fb8 */ 11778 L_2B090F82: 11779 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F82: mov ecx, dword ptr [ebp - 0x10] */ 11780 esi = MEM32(ecx); /* 0x2B090F85: mov esi, dword ptr [ecx] */ 11781 /* test esi, esi */ /* 0x2B090F87: test esi, esi */ 11782 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 11783 _cf = 0; 11784 _flag_k = FK_TEST; 11785 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F91; /* 0x2B090F89: jne 0x2b090f91 */ 11786 L_2B090F8B: 11787 esi = MEM32(0x2B0B513C); /* 0x2B090F8B: mov esi, dword ptr [0x2b0b513c] */ 11788 L_2B090F91: 11789 ecx = MEM32(ebp + (-0x14)); /* 0x2B090F91: mov ecx, dword ptr [ebp - 0x14] */ 11790 edi = MEM32(ebx + 0x4); /* 0x2B090F94: mov edi, dword ptr [ebx + 4] */ 11791 edx = ecx; /* 0x2B090F97: mov edx, ecx */ 11792 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B090F99: shr ecx, 2 */ 11793 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11794 ecx = ecx >> 2u; /* 0x2B090F99: shr ecx, 2 */ 11795 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B090F9C: 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; } 11796 ecx = edx; /* 0x2B090F9E: mov ecx, edx */ 11797 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11798 ecx = ecx & 3; /* 0x2B090FA0: and ecx, 3 */ 11799 _cf = 0; 11800 _flag_k = FK_TEST; 11801 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B090FA3: 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; } 11802 eax = MEM32(ebx + 0x4); /* 0x2B090FA5: mov eax, dword ptr [ebx + 4] */ 11803 esi = MEM32(ebp + 0x8); /* 0x2B090FA8: mov esi, dword ptr [ebp + 8] */ 11804 edi = MEM32(ebp + (-0x1C)); /* 0x2B090FAB: mov edi, dword ptr [ebp - 0x1c] */ 11805 ecx = edx; /* 0x2B090FAE: mov ecx, edx */ 11806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11807 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11808 eax = eax + ecx; /* 0x2B090FB0: add eax, ecx */ 11809 _flag_k = FK_ADD; 11810 MEM32(ebx + 0x8) = ecx; /* 0x2B090FB2: mov dword ptr [ebx + 8], ecx */ 11811 MEM8(eax) = (uint8_t)(0); /* 0x2B090FB5: mov byte ptr [eax], 0 */ 11812 L_2B090FB8: 11813 eax = MEM32(ebp + (-0x10)); /* 0x2B090FB8: mov eax, dword ptr [ebp - 0x10] */ 11814 L_2B090FBB: 11815 edx = MEM32(ebp + (-0x24)); /* 0x2B090FBB: mov edx, dword ptr [ebp - 0x24] */ 11816 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 11817 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11818 eax = eax + 0x10u; /* 0x2B090FBE: add eax, 0x10 */ 11819 _flag_k = FK_ADD; 11820 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 11821 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11822 ebx = ebx + 0x10u; /* 0x2B090FC1: add ebx, 0x10 */ 11823 _flag_k = FK_ADD; 11824 ecx = eax + (-0x4); /* 0x2B090FC4: lea ecx, [eax - 4] */ 11825 /* cmp ecx, edx */ /* 0x2B090FC7: cmp ecx, edx */ 11826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11828 _flag_k = FK_CMP; 11829 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B090FC9: mov byte ptr [ebp - 4], 1 */ 11830 MEM32(ebp + (-0x20)) = ebx; /* 0x2B090FCD: mov dword ptr [ebp - 0x20], ebx */ 11831 MEM32(ebp + (-0x10)) = eax; /* 0x2B090FD0: mov dword ptr [ebp - 0x10], eax */ 11832 RECOMP_BACKEDGE(); 11833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090ECF; /* 0x2B090FD3: jne 0x2b090ecf */ 11834 L_2B090FD9: 11835 MEM32(edi + 0x74) = ebx; /* 0x2B090FD9: mov dword ptr [edi + 0x74], ebx */ 11836 MEM32(edi + 0x78) = ebx; /* 0x2B090FDC: mov dword ptr [edi + 0x78], ebx */ 11837 edx = MEM32(esi + 0x7C); /* 0x2B090FDF: mov edx, dword ptr [esi + 0x7c] */ 11838 MEM32(edi + 0x7C) = edx; /* 0x2B090FE2: mov dword ptr [edi + 0x7c], edx */ 11839 eax = MEM32(esi + 0x80); /* 0x2B090FE5: mov eax, dword ptr [esi + 0x80] */ 11840 MEM32(edi + 0x80) = eax; /* 0x2B090FEB: mov dword ptr [edi + 0x80], eax */ 11841 ecx = MEM32(esi + 0x84); /* 0x2B090FF1: mov ecx, dword ptr [esi + 0x84] */ 11842 MEM32(edi + 0x84) = ecx; /* 0x2B090FF7: mov dword ptr [edi + 0x84], ecx */ 11843 edx = MEM32(esi + 0x88); /* 0x2B090FFD: mov edx, dword ptr [esi + 0x88] */ 11844 MEM32(edi + 0x88) = edx; /* 0x2B091003: mov dword ptr [edi + 0x88], edx */ 11845 eax = MEM32(esi + 0x8C); /* 0x2B091009: mov eax, dword ptr [esi + 0x8c] */ 11846 MEM32(edi + 0x8C) = eax; /* 0x2B09100F: mov dword ptr [edi + 0x8c], eax */ 11847 ecx = MEM32(esi + 0x90); /* 0x2B091015: mov ecx, dword ptr [esi + 0x90] */ 11848 MEM32(edi + 0x90) = ecx; /* 0x2B09101B: mov dword ptr [edi + 0x90], ecx */ 11849 edx = MEM32(esi + 0x94); /* 0x2B091021: mov edx, dword ptr [esi + 0x94] */ 11850 MEM32(edi + 0x94) = edx; /* 0x2B091027: mov dword ptr [edi + 0x94], edx */ 11851 eax = MEM32(esi + 0x98); /* 0x2B09102D: mov eax, dword ptr [esi + 0x98] */ 11852 MEM32(edi + 0x98) = eax; /* 0x2B091033: mov dword ptr [edi + 0x98], eax */ 11853 ecx = MEM32(esi + 0x9C); /* 0x2B091039: mov ecx, dword ptr [esi + 0x9c] */ 11854 MEM32(edi + 0x9C) = ecx; /* 0x2B09103F: mov dword ptr [edi + 0x9c], ecx */ 11855 edx = MEM32(esi + 0xA0); /* 0x2B091045: mov edx, dword ptr [esi + 0xa0] */ 11856 MEM32(edi + 0xA0) = edx; /* 0x2B09104B: mov dword ptr [edi + 0xa0], edx */ 11857 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B091051: mov al, byte ptr [esi + 0xa4] */ 11858 MEM8(edi + 0xA4) = (uint8_t)(LO8(eax)); /* 0x2B091057: mov byte ptr [edi + 0xa4], al */ 11859 SET_LO8(ecx, MEM8(esi + 0xA5)); /* 0x2B09105D: mov cl, byte ptr [esi + 0xa5] */ 11860 MEM8(edi + 0xA5) = (uint8_t)(LO8(ecx)); /* 0x2B091063: mov byte ptr [edi + 0xa5], cl */ 11861 SET_LO8(edx, MEM8(esi + 0xA6)); /* 0x2B091069: mov dl, byte ptr [esi + 0xa6] */ 11862 ecx = MEM32(ebp + (-0xC)); /* 0x2B09106F: mov ecx, dword ptr [ebp - 0xc] */ 11863 MEM8(edi + 0xA6) = (uint8_t)(LO8(edx)); /* 0x2B091072: mov byte ptr [edi + 0xa6], dl */ 11864 eax = edi; /* 0x2B091078: mov eax, edi */ 11865 edi = POP32_VAL(esp); /* 0x2B09107A: pop edi */ 11866 esi = POP32_VAL(esp); /* 0x2B09107B: pop esi */ 11867 ebx = POP32_VAL(esp); /* 0x2B09107C: pop ebx */ 11868 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09107D: mov dword ptr fs:[0], ecx */ 11869 esp = ebp; /* 0x2B091084: mov esp, ebp */ 11870 ebp = POP32_VAL(esp); /* 0x2B091086: pop ebp */ 11871 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B091087: ret 4 */ 11872 RECOMP_REGS_OUT(); 11873 } 11874 11875 void sub_2B090FBB(void) { 11876 int _fpu_cmp = 0; 11877 uint32_t _cf = 0; 11878 int _df = 1; 11879 uint32_t _flag_k = FK_NONE; 11880 uint32_t _flag_a = 0, _flag_b = 0; 11881 uint32_t _itail_tgt = 0; 11882 RECOMP_REGS_LOCALS 11883 RECOMP_ENTER(0x2B090FBBu); 11884 11885 goto L_2B090FBB; 11886 L_2B090ECF: 11887 MEM32(ebp + (-0x28)) = ebx; /* 0x2B090ECF: mov dword ptr [ebp - 0x28], ebx */ 11888 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11889 ecx = 0; /* 0x2B090ED2: xor ecx, ecx */ 11890 _cf = 0; 11891 _flag_k = FK_TEST; 11892 /* cmp ebx, ecx */ /* 0x2B090ED4: cmp ebx, ecx */ 11893 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11895 _flag_k = FK_CMP; 11896 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B090ED6: mov byte ptr [ebp - 4], 2 */ 11897 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B090FBB; /* 0x2B090EDA: je 0x2b090fbb */ 11898 L_2B090EE0: 11899 SET_LO8(edx, MEM8(eax + (-0x4))); /* 0x2B090EE0: mov dl, byte ptr [eax - 4] */ 11900 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B090EE3: mov byte ptr [ebx], dl */ 11901 MEM32(ebx + 0x4) = ecx; /* 0x2B090EE5: mov dword ptr [ebx + 4], ecx */ 11902 MEM32(ebx + 0x8) = ecx; /* 0x2B090EE8: mov dword ptr [ebx + 8], ecx */ 11903 MEM32(ebx + 0xC) = ecx; /* 0x2B090EEB: mov dword ptr [ebx + 0xc], ecx */ 11904 ecx = MEM32(0x2B0B515C); /* 0x2B090EEE: mov ecx, dword ptr [0x2b0b515c] */ 11905 edx = MEM32(ecx); /* 0x2B090EF4: mov edx, dword ptr [ecx] */ 11906 ecx = MEM32(eax + 0x4); /* 0x2B090EF6: mov ecx, dword ptr [eax + 4] */ 11907 /* cmp edx, ecx */ /* 0x2B090EF9: cmp edx, ecx */ 11908 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 11909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11910 _flag_k = FK_CMP; 11911 MEM32(ebp + (-0x18)) = edx; /* 0x2B090EFB: mov dword ptr [ebp - 0x18], edx */ 11912 MEM32(ebp + (-0x14)) = ecx; /* 0x2B090EFE: mov dword ptr [ebp - 0x14], ecx */ 11913 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F08; /* 0x2B090F01: jae 0x2b090f08 */ 11914 L_2B090F03: 11915 MEM32(ebp + (-0x14)) = edx; /* 0x2B090F03: mov dword ptr [ebp - 0x14], edx */ 11916 ecx = edx; /* 0x2B090F06: mov ecx, edx */ 11917 L_2B090F08: 11918 edx = eax + (-0x4); /* 0x2B090F08: lea edx, [eax - 4] */ 11919 /* cmp ebx, edx */ /* 0x2B090F0B: cmp ebx, edx */ 11920 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 11921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11922 _flag_k = FK_CMP; 11923 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F2D; /* 0x2B090F0D: jne 0x2b090f2d */ 11924 L_2B090F0F: 11925 eax = MEM32(ebp + (-0x18)); /* 0x2B090F0F: mov eax, dword ptr [ebp - 0x18] */ 11926 PUSH32(esp, eax); /* 0x2B090F12: push eax */ 11927 PUSH32(esp, ecx); /* 0x2B090F13: push ecx */ 11928 ecx = ebx; /* 0x2B090F14: mov ecx, ebx */ 11929 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F16: call dword ptr [0x2b0b51ac] */ 11930 RECOMP_FLAGS_IN(); 11931 PUSH32(esp, 0); /* 0x2B090F1C: push 0 */ 11932 PUSH32(esp, 0); /* 0x2B090F1E: push 0 */ 11933 ecx = ebx; /* 0x2B090F20: mov ecx, ebx */ 11934 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B090F22: call dword ptr [0x2b0b51ac] */ 11935 RECOMP_FLAGS_IN(); 11936 goto L_2B090FB8; /* 0x2B090F28: jmp 0x2b090fb8 */ 11937 L_2B090F2D: 11938 /* test ecx, ecx */ /* 0x2B090F2D: test ecx, ecx */ 11939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11940 _cf = 0; 11941 _flag_k = FK_TEST; 11942 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F2F: jbe 0x2b090f73 */ 11943 L_2B090F31: 11944 /* cmp ecx, MEM32(eax + 0x4) */ /* 0x2B090F31: cmp ecx, dword ptr [eax + 4] */ 11945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x4)); 11946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11947 _flag_k = FK_CMP; 11948 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F34: jne 0x2b090f73 */ 11949 L_2B090F36: 11950 eax = MEM32(eax); /* 0x2B090F36: mov eax, dword ptr [eax] */ 11951 /* test eax, eax */ /* 0x2B090F38: test eax, eax */ 11952 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11953 _cf = 0; 11954 _flag_k = FK_TEST; 11955 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F41; /* 0x2B090F3A: jne 0x2b090f41 */ 11956 L_2B090F3C: 11957 eax = MEM32(0x2B0B513C); /* 0x2B090F3C: mov eax, dword ptr [0x2b0b513c] */ 11958 L_2B090F41: 11959 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B090F41: cmp byte ptr [eax - 1], 0xfe */ 11960 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 11961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11962 _flag_k = FK_NARROW(FK_CMP, 24); 11963 if (CMP_AE(_flag_a, _flag_b)) goto L_2B090F73; /* 0x2B090F45: jae 0x2b090f73 */ 11964 L_2B090F47: 11965 PUSH32(esp, 1); /* 0x2B090F47: push 1 */ 11966 ecx = ebx; /* 0x2B090F49: mov ecx, ebx */ 11967 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B090F4B: call dword ptr [0x2b0b514c] */ 11968 RECOMP_FLAGS_IN(); 11969 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F51: mov ecx, dword ptr [ebp - 0x10] */ 11970 eax = MEM32(ecx); /* 0x2B090F54: mov eax, dword ptr [ecx] */ 11971 /* test eax, eax */ /* 0x2B090F56: test eax, eax */ 11972 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11973 _cf = 0; 11974 _flag_k = FK_TEST; 11975 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F5F; /* 0x2B090F58: jne 0x2b090f5f */ 11976 L_2B090F5A: 11977 eax = MEM32(0x2B0B513C); /* 0x2B090F5A: mov eax, dword ptr [0x2b0b513c] */ 11978 L_2B090F5F: 11979 MEM32(ebx + 0x4) = eax; /* 0x2B090F5F: mov dword ptr [ebx + 4], eax */ 11980 edx = MEM32(ecx + 0x4); /* 0x2B090F62: mov edx, dword ptr [ecx + 4] */ 11981 MEM32(ebx + 0x8) = edx; /* 0x2B090F65: mov dword ptr [ebx + 8], edx */ 11982 ecx = MEM32(ecx + 0x8); /* 0x2B090F68: mov ecx, dword ptr [ecx + 8] */ 11983 MEM32(ebx + 0xC) = ecx; /* 0x2B090F6B: mov dword ptr [ebx + 0xc], ecx */ 11984 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 11985 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B090F6E: inc byte ptr [eax - 1] */ 11986 _flag_k = FK_NARROW(FK_INC, 24); 11987 goto L_2B090FB8; /* 0x2B090F71: jmp 0x2b090fb8 */ 11988 L_2B090F73: 11989 PUSH32(esp, 1); /* 0x2B090F73: push 1 */ 11990 PUSH32(esp, ecx); /* 0x2B090F75: push ecx */ 11991 ecx = ebx; /* 0x2B090F76: mov ecx, ebx */ 11992 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B090F78: call dword ptr [0x2b0b5154] */ 11993 RECOMP_FLAGS_IN(); 11994 /* test LO8(eax), LO8(eax) */ /* 0x2B090F7E: test al, al */ 11995 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11996 _cf = 0; 11997 _flag_k = FK_NARROW(FK_TEST, 24); 11998 if (TEST_Z(_flag_a, _flag_b)) goto L_2B090FB8; /* 0x2B090F80: je 0x2b090fb8 */ 11999 L_2B090F82: 12000 ecx = MEM32(ebp + (-0x10)); /* 0x2B090F82: mov ecx, dword ptr [ebp - 0x10] */ 12001 esi = MEM32(ecx); /* 0x2B090F85: mov esi, dword ptr [ecx] */ 12002 /* test esi, esi */ /* 0x2B090F87: test esi, esi */ 12003 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12004 _cf = 0; 12005 _flag_k = FK_TEST; 12006 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B090F91; /* 0x2B090F89: jne 0x2b090f91 */ 12007 L_2B090F8B: 12008 esi = MEM32(0x2B0B513C); /* 0x2B090F8B: mov esi, dword ptr [0x2b0b513c] */ 12009 L_2B090F91: 12010 ecx = MEM32(ebp + (-0x14)); /* 0x2B090F91: mov ecx, dword ptr [ebp - 0x14] */ 12011 edi = MEM32(ebx + 0x4); /* 0x2B090F94: mov edi, dword ptr [ebx + 4] */ 12012 edx = ecx; /* 0x2B090F97: mov edx, ecx */ 12013 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B090F99: shr ecx, 2 */ 12014 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12015 ecx = ecx >> 2u; /* 0x2B090F99: shr ecx, 2 */ 12016 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B090F9C: 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; } 12017 ecx = edx; /* 0x2B090F9E: mov ecx, edx */ 12018 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12019 ecx = ecx & 3; /* 0x2B090FA0: and ecx, 3 */ 12020 _cf = 0; 12021 _flag_k = FK_TEST; 12022 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B090FA3: 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; } 12023 eax = MEM32(ebx + 0x4); /* 0x2B090FA5: mov eax, dword ptr [ebx + 4] */ 12024 esi = MEM32(ebp + 0x8); /* 0x2B090FA8: mov esi, dword ptr [ebp + 8] */ 12025 edi = MEM32(ebp + (-0x1C)); /* 0x2B090FAB: mov edi, dword ptr [ebp - 0x1c] */ 12026 ecx = edx; /* 0x2B090FAE: mov ecx, edx */ 12027 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12028 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12029 eax = eax + ecx; /* 0x2B090FB0: add eax, ecx */ 12030 _flag_k = FK_ADD; 12031 MEM32(ebx + 0x8) = ecx; /* 0x2B090FB2: mov dword ptr [ebx + 8], ecx */ 12032 MEM8(eax) = (uint8_t)(0); /* 0x2B090FB5: mov byte ptr [eax], 0 */ 12033 L_2B090FB8: 12034 eax = MEM32(ebp + (-0x10)); /* 0x2B090FB8: mov eax, dword ptr [ebp - 0x10] */ 12035 L_2B090FBB: 12036 edx = MEM32(ebp + (-0x24)); /* 0x2B090FBB: mov edx, dword ptr [ebp - 0x24] */ 12037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12038 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12039 eax = eax + 0x10u; /* 0x2B090FBE: add eax, 0x10 */ 12040 _flag_k = FK_ADD; 12041 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 12042 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12043 ebx = ebx + 0x10u; /* 0x2B090FC1: add ebx, 0x10 */ 12044 _flag_k = FK_ADD; 12045 ecx = eax + (-0x4); /* 0x2B090FC4: lea ecx, [eax - 4] */ 12046 /* cmp ecx, edx */ /* 0x2B090FC7: cmp ecx, edx */ 12047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12049 _flag_k = FK_CMP; 12050 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B090FC9: mov byte ptr [ebp - 4], 1 */ 12051 MEM32(ebp + (-0x20)) = ebx; /* 0x2B090FCD: mov dword ptr [ebp - 0x20], ebx */ 12052 MEM32(ebp + (-0x10)) = eax; /* 0x2B090FD0: mov dword ptr [ebp - 0x10], eax */ 12053 RECOMP_BACKEDGE(); 12054 if (CMP_NE(_flag_a, _flag_b)) goto L_2B090ECF; /* 0x2B090FD3: jne 0x2b090ecf */ 12055 L_2B090FD9: 12056 MEM32(edi + 0x74) = ebx; /* 0x2B090FD9: mov dword ptr [edi + 0x74], ebx */ 12057 MEM32(edi + 0x78) = ebx; /* 0x2B090FDC: mov dword ptr [edi + 0x78], ebx */ 12058 edx = MEM32(esi + 0x7C); /* 0x2B090FDF: mov edx, dword ptr [esi + 0x7c] */ 12059 MEM32(edi + 0x7C) = edx; /* 0x2B090FE2: mov dword ptr [edi + 0x7c], edx */ 12060 eax = MEM32(esi + 0x80); /* 0x2B090FE5: mov eax, dword ptr [esi + 0x80] */ 12061 MEM32(edi + 0x80) = eax; /* 0x2B090FEB: mov dword ptr [edi + 0x80], eax */ 12062 ecx = MEM32(esi + 0x84); /* 0x2B090FF1: mov ecx, dword ptr [esi + 0x84] */ 12063 MEM32(edi + 0x84) = ecx; /* 0x2B090FF7: mov dword ptr [edi + 0x84], ecx */ 12064 edx = MEM32(esi + 0x88); /* 0x2B090FFD: mov edx, dword ptr [esi + 0x88] */ 12065 MEM32(edi + 0x88) = edx; /* 0x2B091003: mov dword ptr [edi + 0x88], edx */ 12066 eax = MEM32(esi + 0x8C); /* 0x2B091009: mov eax, dword ptr [esi + 0x8c] */ 12067 MEM32(edi + 0x8C) = eax; /* 0x2B09100F: mov dword ptr [edi + 0x8c], eax */ 12068 ecx = MEM32(esi + 0x90); /* 0x2B091015: mov ecx, dword ptr [esi + 0x90] */ 12069 MEM32(edi + 0x90) = ecx; /* 0x2B09101B: mov dword ptr [edi + 0x90], ecx */ 12070 edx = MEM32(esi + 0x94); /* 0x2B091021: mov edx, dword ptr [esi + 0x94] */ 12071 MEM32(edi + 0x94) = edx; /* 0x2B091027: mov dword ptr [edi + 0x94], edx */ 12072 eax = MEM32(esi + 0x98); /* 0x2B09102D: mov eax, dword ptr [esi + 0x98] */ 12073 MEM32(edi + 0x98) = eax; /* 0x2B091033: mov dword ptr [edi + 0x98], eax */ 12074 ecx = MEM32(esi + 0x9C); /* 0x2B091039: mov ecx, dword ptr [esi + 0x9c] */ 12075 MEM32(edi + 0x9C) = ecx; /* 0x2B09103F: mov dword ptr [edi + 0x9c], ecx */ 12076 edx = MEM32(esi + 0xA0); /* 0x2B091045: mov edx, dword ptr [esi + 0xa0] */ 12077 MEM32(edi + 0xA0) = edx; /* 0x2B09104B: mov dword ptr [edi + 0xa0], edx */ 12078 SET_LO8(eax, MEM8(esi + 0xA4)); /* 0x2B091051: mov al, byte ptr [esi + 0xa4] */ 12079 MEM8(edi + 0xA4) = (uint8_t)(LO8(eax)); /* 0x2B091057: mov byte ptr [edi + 0xa4], al */ 12080 SET_LO8(ecx, MEM8(esi + 0xA5)); /* 0x2B09105D: mov cl, byte ptr [esi + 0xa5] */ 12081 MEM8(edi + 0xA5) = (uint8_t)(LO8(ecx)); /* 0x2B091063: mov byte ptr [edi + 0xa5], cl */ 12082 SET_LO8(edx, MEM8(esi + 0xA6)); /* 0x2B091069: mov dl, byte ptr [esi + 0xa6] */ 12083 ecx = MEM32(ebp + (-0xC)); /* 0x2B09106F: mov ecx, dword ptr [ebp - 0xc] */ 12084 MEM8(edi + 0xA6) = (uint8_t)(LO8(edx)); /* 0x2B091072: mov byte ptr [edi + 0xa6], dl */ 12085 eax = edi; /* 0x2B091078: mov eax, edi */ 12086 edi = POP32_VAL(esp); /* 0x2B09107A: pop edi */ 12087 esi = POP32_VAL(esp); /* 0x2B09107B: pop esi */ 12088 ebx = POP32_VAL(esp); /* 0x2B09107C: pop ebx */ 12089 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09107D: mov dword ptr fs:[0], ecx */ 12090 esp = ebp; /* 0x2B091084: mov esp, ebp */ 12091 ebp = POP32_VAL(esp); /* 0x2B091086: pop ebp */ 12092 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B091087: ret 4 */ 12093 RECOMP_REGS_OUT(); 12094 } 12095 12096 void sub_2B091090(void) { 12097 int _fpu_cmp = 0; 12098 uint32_t _cf = 0; 12099 int _df = 1; 12100 uint32_t _flag_k = FK_NONE; 12101 uint32_t _flag_a = 0, _flag_b = 0; 12102 uint32_t _itail_tgt = 0; 12103 RECOMP_REGS_LOCALS 12104 RECOMP_ENTER(0x2B091090u); 12105 12106 L_2B091090: 12107 PUSH32(esp, ebp); /* 0x2B091090: push ebp */ 12108 ebp = esp; /* 0x2B091091: mov ebp, esp */ 12109 PUSH32(esp, ecx); /* 0x2B091093: push ecx */ 12110 PUSH32(esp, ebx); /* 0x2B091094: push ebx */ 12111 PUSH32(esp, esi); /* 0x2B091095: push esi */ 12112 esi = ecx; /* 0x2B091096: mov esi, ecx */ 12113 PUSH32(esp, edi); /* 0x2B091098: push edi */ 12114 edi = MEM32(ebp + 0x8); /* 0x2B091099: mov edi, dword ptr [ebp + 8] */ 12115 eax = MEM32(edi); /* 0x2B09109C: mov eax, dword ptr [edi] */ 12116 MEM32(esi) = eax; /* 0x2B09109E: mov dword ptr [esi], eax */ 12117 ecx = MEM32(edi + 0x4); /* 0x2B0910A0: mov ecx, dword ptr [edi + 4] */ 12118 MEM32(esi + 0x4) = ecx; /* 0x2B0910A3: mov dword ptr [esi + 4], ecx */ 12119 edx = MEM32(edi + 0x8); /* 0x2B0910A6: mov edx, dword ptr [edi + 8] */ 12120 MEM32(esi + 0x8) = edx; /* 0x2B0910A9: mov dword ptr [esi + 8], edx */ 12121 eax = MEM32(edi + 0xC); /* 0x2B0910AC: mov eax, dword ptr [edi + 0xc] */ 12122 MEM32(esi + 0xC) = eax; /* 0x2B0910AF: mov dword ptr [esi + 0xc], eax */ 12123 ecx = MEM32(edi + 0x10); /* 0x2B0910B2: mov ecx, dword ptr [edi + 0x10] */ 12124 MEM32(esi + 0x10) = ecx; /* 0x2B0910B5: mov dword ptr [esi + 0x10], ecx */ 12125 edx = MEM32(edi + 0x14); /* 0x2B0910B8: mov edx, dword ptr [edi + 0x14] */ 12126 MEM32(esi + 0x14) = edx; /* 0x2B0910BB: mov dword ptr [esi + 0x14], edx */ 12127 eax = MEM32(edi + 0x18); /* 0x2B0910BE: mov eax, dword ptr [edi + 0x18] */ 12128 MEM32(esi + 0x18) = eax; /* 0x2B0910C1: mov dword ptr [esi + 0x18], eax */ 12129 ecx = MEM32(edi + 0x1C); /* 0x2B0910C4: mov ecx, dword ptr [edi + 0x1c] */ 12130 MEM32(esi + 0x1C) = ecx; /* 0x2B0910C7: mov dword ptr [esi + 0x1c], ecx */ 12131 edx = MEM32(edi + 0x20); /* 0x2B0910CA: mov edx, dword ptr [edi + 0x20] */ 12132 MEM32(esi + 0x20) = edx; /* 0x2B0910CD: mov dword ptr [esi + 0x20], edx */ 12133 eax = MEM32(edi + 0x24); /* 0x2B0910D0: mov eax, dword ptr [edi + 0x24] */ 12134 ebx = MEM32(0x2B0B5A8C); /* 0x2B0910D3: mov ebx, dword ptr [0x2b0b5a8c] */ 12135 MEM32(esi + 0x24) = eax; /* 0x2B0910D9: mov dword ptr [esi + 0x24], eax */ 12136 ecx = MEM32(edi + 0x28); /* 0x2B0910DC: mov ecx, dword ptr [edi + 0x28] */ 12137 MEM32(esi + 0x28) = ecx; /* 0x2B0910DF: mov dword ptr [esi + 0x28], ecx */ 12138 edx = MEM32(edi + 0x2C); /* 0x2B0910E2: mov edx, dword ptr [edi + 0x2c] */ 12139 MEM32(esi + 0x2C) = edx; /* 0x2B0910E5: mov dword ptr [esi + 0x2c], edx */ 12140 eax = MEM32(edi + 0x30); /* 0x2B0910E8: mov eax, dword ptr [edi + 0x30] */ 12141 MEM32(esi + 0x30) = eax; /* 0x2B0910EB: mov dword ptr [esi + 0x30], eax */ 12142 ecx = MEM32(edi + 0x34); /* 0x2B0910EE: mov ecx, dword ptr [edi + 0x34] */ 12143 MEM32(esi + 0x34) = ecx; /* 0x2B0910F1: mov dword ptr [esi + 0x34], ecx */ 12144 edx = MEM32(edi + 0x38); /* 0x2B0910F4: mov edx, dword ptr [edi + 0x38] */ 12145 MEM32(esi + 0x38) = edx; /* 0x2B0910F7: mov dword ptr [esi + 0x38], edx */ 12146 eax = MEM32(edi + 0x3C); /* 0x2B0910FA: mov eax, dword ptr [edi + 0x3c] */ 12147 MEM32(esi + 0x3C) = eax; /* 0x2B0910FD: mov dword ptr [esi + 0x3c], eax */ 12148 ecx = MEM32(edi + 0x40); /* 0x2B091100: mov ecx, dword ptr [edi + 0x40] */ 12149 edx = edi + 0x44; /* 0x2B091103: lea edx, [edi + 0x44] */ 12150 MEM32(esi + 0x40) = ecx; /* 0x2B091106: mov dword ptr [esi + 0x40], ecx */ 12151 PUSH32(esp, edx); /* 0x2B091109: push edx */ 12152 ecx = esi + 0x44; /* 0x2B09110A: lea ecx, [esi + 0x44] */ 12153 RECOMP_ICALL(ebx); /* 0x2B09110D: call ebx */ 12154 RECOMP_FLAGS_IN(); 12155 eax = edi + 0x58; /* 0x2B09110F: lea eax, [edi + 0x58] */ 12156 PUSH32(esp, eax); /* 0x2B091112: push eax */ 12157 ecx = esi + 0x58; /* 0x2B091113: lea ecx, [esi + 0x58] */ 12158 RECOMP_ICALL(ebx); /* 0x2B091116: call ebx */ 12159 RECOMP_FLAGS_IN(); 12160 eax = edi + 0x6C; /* 0x2B091118: lea eax, [edi + 0x6c] */ 12161 ecx = esi + 0x6C; /* 0x2B09111B: lea ecx, [esi + 0x6c] */ 12162 /* cmp ecx, eax */ /* 0x2B09111E: cmp ecx, eax */ 12163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12165 _flag_k = FK_CMP; 12166 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0912FF; /* 0x2B091120: je 0x2b0912ff */ 12167 L_2B091126: 12168 ebx = MEM32(eax + 0x4); /* 0x2B091126: mov ebx, dword ptr [eax + 4] */ 12169 /* test ebx, ebx */ /* 0x2B091129: test ebx, ebx */ 12170 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 12171 _cf = 0; 12172 _flag_k = FK_TEST; 12173 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B091131; /* 0x2B09112B: jne 0x2b091131 */ 12174 L_2B09112D: 12175 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12176 edx = 0; /* 0x2B09112D: xor edx, edx */ 12177 _cf = 0; 12178 _flag_k = FK_TEST; 12179 goto L_2B091139; /* 0x2B09112F: jmp 0x2b091139 */ 12180 L_2B091131: 12181 edx = MEM32(eax + 0x8); /* 0x2B091131: mov edx, dword ptr [eax + 8] */ 12182 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 12183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12184 edx = edx - ebx; /* 0x2B091134: sub edx, ebx */ 12185 _flag_k = FK_CMP; 12186 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B091136: sar edx, 4 */ 12187 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12188 edx = (uint32_t)((int32_t)edx >> 4u); 12189 L_2B091139: 12190 ecx = MEM32(ecx + 0x4); /* 0x2B091139: mov ecx, dword ptr [ecx + 4] */ 12191 /* test ecx, ecx */ /* 0x2B09113C: test ecx, ecx */ 12192 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12193 _cf = 0; 12194 _flag_k = FK_TEST; 12195 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B091144; /* 0x2B09113E: jne 0x2b091144 */ 12196 L_2B091140: 12197 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12198 eax = 0; /* 0x2B091140: xor eax, eax */ 12199 _cf = 0; 12200 _flag_k = FK_TEST; 12201 goto L_2B09114C; /* 0x2B091142: jmp 0x2b09114c */ 12202 L_2B091144: 12203 eax = MEM32(esi + 0x74); /* 0x2B091144: mov eax, dword ptr [esi + 0x74] */ 12204 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12206 eax = eax - ecx; /* 0x2B091147: sub eax, ecx */ 12207 _flag_k = FK_CMP; 12208 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B091149: sar eax, 4 */ 12209 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12210 eax = (uint32_t)((int32_t)eax >> 4u); 12211 L_2B09114C: 12212 /* cmp edx, eax */ /* 0x2B09114C: cmp edx, eax */ 12213 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12215 _flag_k = FK_CMP; 12216 if (CMP_A(_flag_a, _flag_b)) goto L_2B0911D8; /* 0x2B09114E: ja 0x2b0911d8 */ 12217 L_2B091154: 12218 eax = MEM32(edi + 0x74); /* 0x2B091154: mov eax, dword ptr [edi + 0x74] */ 12219 /* cmp ebx, eax */ /* 0x2B091157: cmp ebx, eax */ 12220 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12222 _flag_k = FK_CMP; 12223 MEM32(ebp + (-0x4)) = eax; /* 0x2B091159: mov dword ptr [ebp - 4], eax */ 12224 MEM32(ebp + 0x8) = ecx; /* 0x2B09115C: mov dword ptr [ebp + 8], ecx */ 12225 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091188; /* 0x2B09115F: je 0x2b091188 */ 12226 L_2B091161: 12227 edx = MEM32(0x2B0B515C); /* 0x2B091161: mov edx, dword ptr [0x2b0b515c] */ 12228 eax = MEM32(edx); /* 0x2B091167: mov eax, dword ptr [edx] */ 12229 PUSH32(esp, eax); /* 0x2B091169: push eax */ 12230 PUSH32(esp, 0); /* 0x2B09116A: push 0 */ 12231 PUSH32(esp, ebx); /* 0x2B09116C: push ebx */ 12232 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B09116D: call dword ptr [0x2b0b5158] */ 12233 RECOMP_FLAGS_IN(); 12234 edx = MEM32(ebp + 0x8); /* 0x2B091173: mov edx, dword ptr [ebp + 8] */ 12235 eax = MEM32(ebp + (-0x4)); /* 0x2B091176: mov eax, dword ptr [ebp - 4] */ 12236 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 12237 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12238 edx = edx + 0x10u; /* 0x2B091179: add edx, 0x10 */ 12239 _flag_k = FK_ADD; 12240 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 12241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12242 ebx = ebx + 0x10u; /* 0x2B09117C: add ebx, 0x10 */ 12243 _flag_k = FK_ADD; 12244 /* cmp ebx, eax */ /* 0x2B09117F: cmp ebx, eax */ 12245 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12247 _flag_k = FK_CMP; 12248 MEM32(ebp + 0x8) = edx; /* 0x2B091181: mov dword ptr [ebp + 8], edx */ 12249 ecx = edx; /* 0x2B091184: mov ecx, edx */ 12250 RECOMP_BACKEDGE(); 12251 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091161; /* 0x2B091186: jne 0x2b091161 */ 12252 L_2B091188: 12253 eax = MEM32(esi + 0x74); /* 0x2B091188: mov eax, dword ptr [esi + 0x74] */ 12254 /* cmp ecx, eax */ /* 0x2B09118B: cmp ecx, eax */ 12255 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12257 _flag_k = FK_CMP; 12258 MEM32(ebp + 0x8) = eax; /* 0x2B09118D: mov dword ptr [ebp + 8], eax */ 12259 ebx = ecx; /* 0x2B091190: mov ebx, ecx */ 12260 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0911A7; /* 0x2B091192: je 0x2b0911a7 */ 12261 L_2B091194: 12262 PUSH32(esp, 0); /* 0x2B091194: push 0 */ 12263 ecx = ebx; /* 0x2B091196: mov ecx, ebx */ 12264 RECOMP_ICALL(0x2B003E70u); /* 0x2B091198: call 0x2b003e70 */ /* not lifted */ 12265 RECOMP_FLAGS_IN(); 12266 eax = MEM32(ebp + 0x8); /* 0x2B09119D: mov eax, dword ptr [ebp + 8] */ 12267 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 12268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12269 ebx = ebx + 0x10u; /* 0x2B0911A0: add ebx, 0x10 */ 12270 _flag_k = FK_ADD; 12271 /* cmp ebx, eax */ /* 0x2B0911A3: cmp ebx, eax */ 12272 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12274 _flag_k = FK_CMP; 12275 RECOMP_BACKEDGE(); 12276 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091194; /* 0x2B0911A5: jne 0x2b091194 */ 12277 L_2B0911A7: 12278 ecx = MEM32(edi + 0x70); /* 0x2B0911A7: mov ecx, dword ptr [edi + 0x70] */ 12279 /* test ecx, ecx */ /* 0x2B0911AA: test ecx, ecx */ 12280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12281 _cf = 0; 12282 _flag_k = FK_TEST; 12283 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0911C0; /* 0x2B0911AC: jne 0x2b0911c0 */ 12284 L_2B0911AE: 12285 ecx = MEM32(esi + 0x70); /* 0x2B0911AE: mov ecx, dword ptr [esi + 0x70] */ 12286 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12287 eax = 0; /* 0x2B0911B1: xor eax, eax */ 12288 _cf = 0; 12289 _flag_k = FK_TEST; 12290 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B0911B3: shl eax, 4 */ 12291 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12292 eax = eax << 4u; /* 0x2B0911B3: shl eax, 4 */ 12293 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12294 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12295 eax = eax + ecx; /* 0x2B0911B6: add eax, ecx */ 12296 _flag_k = FK_ADD; 12297 MEM32(esi + 0x74) = eax; /* 0x2B0911B8: mov dword ptr [esi + 0x74], eax */ 12298 goto L_2B0912FF; /* 0x2B0911BB: jmp 0x2b0912ff */ 12299 L_2B0911C0: 12300 eax = MEM32(edi + 0x74); /* 0x2B0911C0: mov eax, dword ptr [edi + 0x74] */ 12301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12303 eax = eax - ecx; /* 0x2B0911C3: sub eax, ecx */ 12304 _flag_k = FK_CMP; 12305 ecx = MEM32(esi + 0x70); /* 0x2B0911C5: mov ecx, dword ptr [esi + 0x70] */ 12306 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B0911C8: sar eax, 4 */ 12307 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12308 eax = (uint32_t)((int32_t)eax >> 4u); 12309 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B0911CB: shl eax, 4 */ 12310 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12311 eax = eax << 4u; /* 0x2B0911CB: shl eax, 4 */ 12312 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12313 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12314 eax = eax + ecx; /* 0x2B0911CE: add eax, ecx */ 12315 _flag_k = FK_ADD; 12316 MEM32(esi + 0x74) = eax; /* 0x2B0911D0: mov dword ptr [esi + 0x74], eax */ 12317 goto L_2B0912FF; /* 0x2B0911D3: jmp 0x2b0912ff */ 12318 L_2B0911D8: 12319 /* test ebx, ebx */ /* 0x2B0911D8: test ebx, ebx */ 12320 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 12321 _cf = 0; 12322 _flag_k = FK_TEST; 12323 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0911E0; /* 0x2B0911DA: jne 0x2b0911e0 */ 12324 L_2B0911DC: 12325 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12326 edx = 0; /* 0x2B0911DC: xor edx, edx */ 12327 _cf = 0; 12328 _flag_k = FK_TEST; 12329 goto L_2B0911E8; /* 0x2B0911DE: jmp 0x2b0911e8 */ 12330 L_2B0911E0: 12331 edx = MEM32(edi + 0x74); /* 0x2B0911E0: mov edx, dword ptr [edi + 0x74] */ 12332 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 12333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12334 edx = edx - ebx; /* 0x2B0911E3: sub edx, ebx */ 12335 _flag_k = FK_CMP; 12336 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B0911E5: sar edx, 4 */ 12337 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12338 edx = (uint32_t)((int32_t)edx >> 4u); 12339 L_2B0911E8: 12340 /* test ecx, ecx */ /* 0x2B0911E8: test ecx, ecx */ 12341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12342 _cf = 0; 12343 _flag_k = FK_TEST; 12344 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0911F0; /* 0x2B0911EA: jne 0x2b0911f0 */ 12345 L_2B0911EC: 12346 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12347 eax = 0; /* 0x2B0911EC: xor eax, eax */ 12348 _cf = 0; 12349 _flag_k = FK_TEST; 12350 goto L_2B0911F8; /* 0x2B0911EE: jmp 0x2b0911f8 */ 12351 L_2B0911F0: 12352 eax = MEM32(esi + 0x78); /* 0x2B0911F0: mov eax, dword ptr [esi + 0x78] */ 12353 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12355 eax = eax - ecx; /* 0x2B0911F3: sub eax, ecx */ 12356 _flag_k = FK_CMP; 12357 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B0911F5: sar eax, 4 */ 12358 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12359 eax = (uint32_t)((int32_t)eax >> 4u); 12360 L_2B0911F8: 12361 /* cmp edx, eax */ /* 0x2B0911F8: cmp edx, eax */ 12362 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12364 _flag_k = FK_CMP; 12365 if (CMP_A(_flag_a, _flag_b)) goto L_2B091293; /* 0x2B0911FA: ja 0x2b091293 */ 12366 L_2B091200: 12367 /* test ecx, ecx */ /* 0x2B091200: test ecx, ecx */ 12368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12369 _cf = 0; 12370 _flag_k = FK_TEST; 12371 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B091208; /* 0x2B091202: jne 0x2b091208 */ 12372 L_2B091204: 12373 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12374 eax = 0; /* 0x2B091204: xor eax, eax */ 12375 _cf = 0; 12376 _flag_k = FK_TEST; 12377 goto L_2B091210; /* 0x2B091206: jmp 0x2b091210 */ 12378 L_2B091208: 12379 eax = MEM32(esi + 0x74); /* 0x2B091208: mov eax, dword ptr [esi + 0x74] */ 12380 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12382 eax = eax - ecx; /* 0x2B09120B: sub eax, ecx */ 12383 _flag_k = FK_CMP; 12384 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B09120D: sar eax, 4 */ 12385 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12386 eax = (uint32_t)((int32_t)eax >> 4u); 12387 L_2B091210: 12388 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B091210: shl eax, 4 */ 12389 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12390 eax = eax << 4u; /* 0x2B091210: shl eax, 4 */ 12391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12392 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12393 eax = eax + ebx; /* 0x2B091213: add eax, ebx */ 12394 _flag_k = FK_ADD; 12395 /* cmp ebx, eax */ /* 0x2B091215: cmp ebx, eax */ 12396 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12398 _flag_k = FK_CMP; 12399 MEM32(ebp + (-0x4)) = eax; /* 0x2B091217: mov dword ptr [ebp - 4], eax */ 12400 MEM32(ebp + 0x8) = ecx; /* 0x2B09121A: mov dword ptr [ebp + 8], ecx */ 12401 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091247; /* 0x2B09121D: je 0x2b091247 */ 12402 L_2B09121F: 12403 ecx = MEM32(0x2B0B515C); /* 0x2B09121F: mov ecx, dword ptr [0x2b0b515c] */ 12404 edx = MEM32(ecx); /* 0x2B091225: mov edx, dword ptr [ecx] */ 12405 ecx = MEM32(ebp + 0x8); /* 0x2B091227: mov ecx, dword ptr [ebp + 8] */ 12406 PUSH32(esp, edx); /* 0x2B09122A: push edx */ 12407 PUSH32(esp, 0); /* 0x2B09122B: push 0 */ 12408 PUSH32(esp, ebx); /* 0x2B09122D: push ebx */ 12409 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B09122E: call dword ptr [0x2b0b5158] */ 12410 RECOMP_FLAGS_IN(); 12411 edx = MEM32(ebp + 0x8); /* 0x2B091234: mov edx, dword ptr [ebp + 8] */ 12412 eax = MEM32(ebp + (-0x4)); /* 0x2B091237: mov eax, dword ptr [ebp - 4] */ 12413 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 12414 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12415 edx = edx + 0x10u; /* 0x2B09123A: add edx, 0x10 */ 12416 _flag_k = FK_ADD; 12417 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 12418 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12419 ebx = ebx + 0x10u; /* 0x2B09123D: add ebx, 0x10 */ 12420 _flag_k = FK_ADD; 12421 /* cmp ebx, eax */ /* 0x2B091240: cmp ebx, eax */ 12422 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12424 _flag_k = FK_CMP; 12425 MEM32(ebp + 0x8) = edx; /* 0x2B091242: mov dword ptr [ebp + 8], edx */ 12426 RECOMP_BACKEDGE(); 12427 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09121F; /* 0x2B091245: jne 0x2b09121f */ 12428 L_2B091247: 12429 ecx = MEM32(edi + 0x74); /* 0x2B091247: mov ecx, dword ptr [edi + 0x74] */ 12430 /* cmp eax, ecx */ /* 0x2B09124A: cmp eax, ecx */ 12431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12433 _flag_k = FK_CMP; 12434 edx = MEM32(esi + 0x74); /* 0x2B09124C: mov edx, dword ptr [esi + 0x74] */ 12435 MEM32(ebp + (-0x4)) = ecx; /* 0x2B09124F: mov dword ptr [ebp - 4], ecx */ 12436 MEM32(ebp + 0x8) = edx; /* 0x2B091252: mov dword ptr [ebp + 8], edx */ 12437 ebx = eax; /* 0x2B091255: mov ebx, eax */ 12438 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091279; /* 0x2B091257: je 0x2b091279 */ 12439 L_2B091259: 12440 eax = MEM32(ebp + 0x8); /* 0x2B091259: mov eax, dword ptr [ebp + 8] */ 12441 PUSH32(esp, ebx); /* 0x2B09125C: push ebx */ 12442 PUSH32(esp, eax); /* 0x2B09125D: push eax */ 12443 RECOMP_ICALL(0x2B003B80u); /* 0x2B09125E: call 0x2b003b80 */ /* not lifted */ 12444 RECOMP_FLAGS_IN(); 12445 edx = MEM32(ebp + 0x8); /* 0x2B091263: mov edx, dword ptr [ebp + 8] */ 12446 eax = MEM32(ebp + (-0x4)); /* 0x2B091266: mov eax, dword ptr [ebp - 4] */ 12447 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 12448 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12449 edx = edx + 0x10u; /* 0x2B091269: add edx, 0x10 */ 12450 _flag_k = FK_ADD; 12451 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 12452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12453 ebx = ebx + 0x10u; /* 0x2B09126C: add ebx, 0x10 */ 12454 _flag_k = FK_ADD; 12455 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12457 esp = esp + 8; /* 0x2B09126F: add esp, 8 */ 12458 _flag_k = FK_ADD; 12459 /* cmp ebx, eax */ /* 0x2B091272: cmp ebx, eax */ 12460 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12462 _flag_k = FK_CMP; 12463 MEM32(ebp + 0x8) = edx; /* 0x2B091274: mov dword ptr [ebp + 8], edx */ 12464 RECOMP_BACKEDGE(); 12465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091259; /* 0x2B091277: jne 0x2b091259 */ 12466 L_2B091279: 12467 ecx = MEM32(edi + 0x70); /* 0x2B091279: mov ecx, dword ptr [edi + 0x70] */ 12468 /* test ecx, ecx */ /* 0x2B09127C: test ecx, ecx */ 12469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12470 _cf = 0; 12471 _flag_k = FK_TEST; 12472 RECOMP_BACKEDGE(); 12473 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0911C0; /* 0x2B09127E: jne 0x2b0911c0 */ 12474 L_2B091284: 12475 ecx = MEM32(esi + 0x70); /* 0x2B091284: mov ecx, dword ptr [esi + 0x70] */ 12476 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12477 eax = 0; /* 0x2B091287: xor eax, eax */ 12478 _cf = 0; 12479 _flag_k = FK_TEST; 12480 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B091289: shl eax, 4 */ 12481 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12482 eax = eax << 4u; /* 0x2B091289: shl eax, 4 */ 12483 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12484 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12485 eax = eax + ecx; /* 0x2B09128C: add eax, ecx */ 12486 _flag_k = FK_ADD; 12487 MEM32(esi + 0x74) = eax; /* 0x2B09128E: mov dword ptr [esi + 0x74], eax */ 12488 goto L_2B0912FF; /* 0x2B091291: jmp 0x2b0912ff */ 12489 L_2B091293: 12490 eax = MEM32(esi + 0x74); /* 0x2B091293: mov eax, dword ptr [esi + 0x74] */ 12491 ebx = ecx; /* 0x2B091296: mov ebx, ecx */ 12492 /* cmp ebx, eax */ /* 0x2B091298: cmp ebx, eax */ 12493 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12495 _flag_k = FK_CMP; 12496 MEM32(ebp + 0x8) = eax; /* 0x2B09129A: mov dword ptr [ebp + 8], eax */ 12497 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0912B2; /* 0x2B09129D: je 0x2b0912b2 */ 12498 L_2B09129F: 12499 PUSH32(esp, 0); /* 0x2B09129F: push 0 */ 12500 ecx = ebx; /* 0x2B0912A1: mov ecx, ebx */ 12501 RECOMP_ICALL(0x2B003E70u); /* 0x2B0912A3: call 0x2b003e70 */ /* not lifted */ 12502 RECOMP_FLAGS_IN(); 12503 eax = MEM32(ebp + 0x8); /* 0x2B0912A8: mov eax, dword ptr [ebp + 8] */ 12504 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 12505 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12506 ebx = ebx + 0x10u; /* 0x2B0912AB: add ebx, 0x10 */ 12507 _flag_k = FK_ADD; 12508 /* cmp ebx, eax */ /* 0x2B0912AE: cmp ebx, eax */ 12509 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12511 _flag_k = FK_CMP; 12512 RECOMP_BACKEDGE(); 12513 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09129F; /* 0x2B0912B0: jne 0x2b09129f */ 12514 L_2B0912B2: 12515 ecx = MEM32(esi + 0x70); /* 0x2B0912B2: mov ecx, dword ptr [esi + 0x70] */ 12516 ebx = esi + 0x6C; /* 0x2B0912B5: lea ebx, [esi + 0x6c] */ 12517 PUSH32(esp, ecx); /* 0x2B0912B8: push ecx */ 12518 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0912B9: call 0x2b0ab1ba */ /* not lifted */ 12519 RECOMP_FLAGS_IN(); 12520 ecx = MEM32(edi + 0x70); /* 0x2B0912BE: mov ecx, dword ptr [edi + 0x70] */ 12521 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12523 esp = esp + 4; /* 0x2B0912C1: add esp, 4 */ 12524 _flag_k = FK_ADD; 12525 /* test ecx, ecx */ /* 0x2B0912C4: test ecx, ecx */ 12526 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12527 _cf = 0; 12528 _flag_k = FK_TEST; 12529 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0912CC; /* 0x2B0912C6: jne 0x2b0912cc */ 12530 L_2B0912C8: 12531 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12532 eax = 0; /* 0x2B0912C8: xor eax, eax */ 12533 _cf = 0; 12534 _flag_k = FK_TEST; 12535 goto L_2B0912D4; /* 0x2B0912CA: jmp 0x2b0912d4 */ 12536 L_2B0912CC: 12537 eax = MEM32(edi + 0x74); /* 0x2B0912CC: mov eax, dword ptr [edi + 0x74] */ 12538 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12540 eax = eax - ecx; /* 0x2B0912CF: sub eax, ecx */ 12541 _flag_k = FK_CMP; 12542 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B0912D1: sar eax, 4 */ 12543 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12544 eax = (uint32_t)((int32_t)eax >> 4u); 12545 L_2B0912D4: 12546 /* test eax, eax */ /* 0x2B0912D4: test eax, eax */ 12547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12548 _cf = 0; 12549 _flag_k = FK_TEST; 12550 if (TEST_NS(_flag_a, _flag_b)) goto L_2B0912DA; /* 0x2B0912D6: jge 0x2b0912da */ 12551 L_2B0912D8: 12552 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12553 eax = 0; /* 0x2B0912D8: xor eax, eax */ 12554 _cf = 0; 12555 _flag_k = FK_TEST; 12556 L_2B0912DA: 12557 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B0912DA: shl eax, 4 */ 12558 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12559 eax = eax << 4u; /* 0x2B0912DA: shl eax, 4 */ 12560 PUSH32(esp, eax); /* 0x2B0912DD: push eax */ 12561 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0912DE: call 0x2b0ab212 */ /* not lifted */ 12562 RECOMP_FLAGS_IN(); 12563 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12564 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12565 esp = esp + 4; /* 0x2B0912E3: add esp, 4 */ 12566 _flag_k = FK_ADD; 12567 MEM32(ebx + 0x4) = eax; /* 0x2B0912E6: mov dword ptr [ebx + 4], eax */ 12568 ecx = MEM32(edi + 0x74); /* 0x2B0912E9: mov ecx, dword ptr [edi + 0x74] */ 12569 edx = MEM32(edi + 0x70); /* 0x2B0912EC: mov edx, dword ptr [edi + 0x70] */ 12570 PUSH32(esp, eax); /* 0x2B0912EF: push eax */ 12571 PUSH32(esp, ecx); /* 0x2B0912F0: push ecx */ 12572 PUSH32(esp, edx); /* 0x2B0912F1: push edx */ 12573 ecx = ebx; /* 0x2B0912F2: mov ecx, ebx */ 12574 RECOMP_ICALL(0x2B003030u); /* 0x2B0912F4: call 0x2b003030 */ /* not lifted */ 12575 RECOMP_FLAGS_IN(); 12576 MEM32(ebx + 0x8) = eax; /* 0x2B0912F9: mov dword ptr [ebx + 8], eax */ 12577 MEM32(ebx + 0xC) = eax; /* 0x2B0912FC: mov dword ptr [ebx + 0xc], eax */ 12578 L_2B0912FF: 12579 edx = MEM32(edi + 0x7C); /* 0x2B0912FF: mov edx, dword ptr [edi + 0x7c] */ 12580 MEM32(esi + 0x7C) = edx; /* 0x2B091302: mov dword ptr [esi + 0x7c], edx */ 12581 eax = MEM32(edi + 0x80); /* 0x2B091305: mov eax, dword ptr [edi + 0x80] */ 12582 MEM32(esi + 0x80) = eax; /* 0x2B09130B: mov dword ptr [esi + 0x80], eax */ 12583 ecx = MEM32(edi + 0x84); /* 0x2B091311: mov ecx, dword ptr [edi + 0x84] */ 12584 MEM32(esi + 0x84) = ecx; /* 0x2B091317: mov dword ptr [esi + 0x84], ecx */ 12585 edx = MEM32(edi + 0x88); /* 0x2B09131D: mov edx, dword ptr [edi + 0x88] */ 12586 MEM32(esi + 0x88) = edx; /* 0x2B091323: mov dword ptr [esi + 0x88], edx */ 12587 eax = MEM32(edi + 0x8C); /* 0x2B091329: mov eax, dword ptr [edi + 0x8c] */ 12588 MEM32(esi + 0x8C) = eax; /* 0x2B09132F: mov dword ptr [esi + 0x8c], eax */ 12589 ecx = MEM32(edi + 0x90); /* 0x2B091335: mov ecx, dword ptr [edi + 0x90] */ 12590 MEM32(esi + 0x90) = ecx; /* 0x2B09133B: mov dword ptr [esi + 0x90], ecx */ 12591 edx = MEM32(edi + 0x94); /* 0x2B091341: mov edx, dword ptr [edi + 0x94] */ 12592 MEM32(esi + 0x94) = edx; /* 0x2B091347: mov dword ptr [esi + 0x94], edx */ 12593 eax = MEM32(edi + 0x98); /* 0x2B09134D: mov eax, dword ptr [edi + 0x98] */ 12594 MEM32(esi + 0x98) = eax; /* 0x2B091353: mov dword ptr [esi + 0x98], eax */ 12595 ecx = MEM32(edi + 0x9C); /* 0x2B091359: mov ecx, dword ptr [edi + 0x9c] */ 12596 MEM32(esi + 0x9C) = ecx; /* 0x2B09135F: mov dword ptr [esi + 0x9c], ecx */ 12597 edx = MEM32(edi + 0xA0); /* 0x2B091365: mov edx, dword ptr [edi + 0xa0] */ 12598 MEM32(esi + 0xA0) = edx; /* 0x2B09136B: mov dword ptr [esi + 0xa0], edx */ 12599 SET_LO8(eax, MEM8(edi + 0xA4)); /* 0x2B091371: mov al, byte ptr [edi + 0xa4] */ 12600 MEM8(esi + 0xA4) = (uint8_t)(LO8(eax)); /* 0x2B091377: mov byte ptr [esi + 0xa4], al */ 12601 SET_LO8(ecx, MEM8(edi + 0xA5)); /* 0x2B09137D: mov cl, byte ptr [edi + 0xa5] */ 12602 MEM8(esi + 0xA5) = (uint8_t)(LO8(ecx)); /* 0x2B091383: mov byte ptr [esi + 0xa5], cl */ 12603 SET_LO8(edx, MEM8(edi + 0xA6)); /* 0x2B091389: mov dl, byte ptr [edi + 0xa6] */ 12604 edi = POP32_VAL(esp); /* 0x2B09138F: pop edi */ 12605 MEM8(esi + 0xA6) = (uint8_t)(LO8(edx)); /* 0x2B091390: mov byte ptr [esi + 0xa6], dl */ 12606 eax = esi; /* 0x2B091396: mov eax, esi */ 12607 esi = POP32_VAL(esp); /* 0x2B091398: pop esi */ 12608 ebx = POP32_VAL(esp); /* 0x2B091399: pop ebx */ 12609 esp = ebp; /* 0x2B09139A: mov esp, ebp */ 12610 ebp = POP32_VAL(esp); /* 0x2B09139C: pop ebp */ 12611 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09139D: ret 4 */ 12612 RECOMP_REGS_OUT(); 12613 } 12614 12615 void sub_2B0912FF(void) { 12616 int _fpu_cmp = 0; 12617 uint32_t _cf = 0; 12618 int _df = 1; 12619 uint32_t _flag_k = FK_NONE; 12620 uint32_t _flag_a = 0, _flag_b = 0; 12621 uint32_t _itail_tgt = 0; 12622 RECOMP_REGS_LOCALS 12623 RECOMP_ENTER(0x2B0912FFu); 12624 12625 L_2B0912FF: 12626 edx = MEM32(edi + 0x7C); /* 0x2B0912FF: mov edx, dword ptr [edi + 0x7c] */ 12627 MEM32(esi + 0x7C) = edx; /* 0x2B091302: mov dword ptr [esi + 0x7c], edx */ 12628 eax = MEM32(edi + 0x80); /* 0x2B091305: mov eax, dword ptr [edi + 0x80] */ 12629 MEM32(esi + 0x80) = eax; /* 0x2B09130B: mov dword ptr [esi + 0x80], eax */ 12630 ecx = MEM32(edi + 0x84); /* 0x2B091311: mov ecx, dword ptr [edi + 0x84] */ 12631 MEM32(esi + 0x84) = ecx; /* 0x2B091317: mov dword ptr [esi + 0x84], ecx */ 12632 edx = MEM32(edi + 0x88); /* 0x2B09131D: mov edx, dword ptr [edi + 0x88] */ 12633 MEM32(esi + 0x88) = edx; /* 0x2B091323: mov dword ptr [esi + 0x88], edx */ 12634 eax = MEM32(edi + 0x8C); /* 0x2B091329: mov eax, dword ptr [edi + 0x8c] */ 12635 MEM32(esi + 0x8C) = eax; /* 0x2B09132F: mov dword ptr [esi + 0x8c], eax */ 12636 ecx = MEM32(edi + 0x90); /* 0x2B091335: mov ecx, dword ptr [edi + 0x90] */ 12637 MEM32(esi + 0x90) = ecx; /* 0x2B09133B: mov dword ptr [esi + 0x90], ecx */ 12638 edx = MEM32(edi + 0x94); /* 0x2B091341: mov edx, dword ptr [edi + 0x94] */ 12639 MEM32(esi + 0x94) = edx; /* 0x2B091347: mov dword ptr [esi + 0x94], edx */ 12640 eax = MEM32(edi + 0x98); /* 0x2B09134D: mov eax, dword ptr [edi + 0x98] */ 12641 MEM32(esi + 0x98) = eax; /* 0x2B091353: mov dword ptr [esi + 0x98], eax */ 12642 ecx = MEM32(edi + 0x9C); /* 0x2B091359: mov ecx, dword ptr [edi + 0x9c] */ 12643 MEM32(esi + 0x9C) = ecx; /* 0x2B09135F: mov dword ptr [esi + 0x9c], ecx */ 12644 edx = MEM32(edi + 0xA0); /* 0x2B091365: mov edx, dword ptr [edi + 0xa0] */ 12645 MEM32(esi + 0xA0) = edx; /* 0x2B09136B: mov dword ptr [esi + 0xa0], edx */ 12646 SET_LO8(eax, MEM8(edi + 0xA4)); /* 0x2B091371: mov al, byte ptr [edi + 0xa4] */ 12647 MEM8(esi + 0xA4) = (uint8_t)(LO8(eax)); /* 0x2B091377: mov byte ptr [esi + 0xa4], al */ 12648 SET_LO8(ecx, MEM8(edi + 0xA5)); /* 0x2B09137D: mov cl, byte ptr [edi + 0xa5] */ 12649 MEM8(esi + 0xA5) = (uint8_t)(LO8(ecx)); /* 0x2B091383: mov byte ptr [esi + 0xa5], cl */ 12650 SET_LO8(edx, MEM8(edi + 0xA6)); /* 0x2B091389: mov dl, byte ptr [edi + 0xa6] */ 12651 edi = POP32_VAL(esp); /* 0x2B09138F: pop edi */ 12652 MEM8(esi + 0xA6) = (uint8_t)(LO8(edx)); /* 0x2B091390: mov byte ptr [esi + 0xa6], dl */ 12653 eax = esi; /* 0x2B091396: mov eax, esi */ 12654 esi = POP32_VAL(esp); /* 0x2B091398: pop esi */ 12655 ebx = POP32_VAL(esp); /* 0x2B091399: pop ebx */ 12656 esp = ebp; /* 0x2B09139A: mov esp, ebp */ 12657 ebp = POP32_VAL(esp); /* 0x2B09139C: pop ebp */ 12658 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09139D: ret 4 */ 12659 RECOMP_REGS_OUT(); 12660 } 12661 12662 void sub_2B0913A0(void) { 12663 int _fpu_cmp = 0; 12664 uint32_t _cf = 0; 12665 int _df = 1; 12666 uint32_t _flag_k = FK_NONE; 12667 uint32_t _flag_a = 0, _flag_b = 0; 12668 uint32_t _itail_tgt = 0; 12669 RECOMP_REGS_LOCALS 12670 RECOMP_ENTER(0x2B0913A0u); 12671 12672 L_2B0913A0: 12673 PUSH32(esp, ebx); /* 0x2B0913A0: push ebx */ 12674 PUSH32(esp, esi); /* 0x2B0913A1: push esi */ 12675 esi = MEM32(0x2B0B53CC); /* 0x2B0913A2: mov esi, dword ptr [0x2b0b53cc] */ 12676 ebx = ecx; /* 0x2B0913A8: mov ebx, ecx */ 12677 PUSH32(esp, edi); /* 0x2B0913AA: push edi */ 12678 MEM32(0x2B0EF114) = ebx; /* 0x2B0913AB: mov dword ptr [0x2b0ef114], ebx */ 12679 RECOMP_ICALL(esi); /* 0x2B0913B1: call esi */ 12680 RECOMP_FLAGS_IN(); 12681 ecx = eax; /* 0x2B0913B3: mov ecx, eax */ 12682 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B0913B5: call dword ptr [0x2b0b5374] */ 12683 RECOMP_FLAGS_IN(); 12684 PUSH32(esp, 0); /* 0x2B0913BB: push 0 */ 12685 PUSH32(esp, 0x25u); /* 0x2B0913BD: push 0x25 */ 12686 PUSH32(esp, 1); /* 0x2B0913BF: push 1 */ 12687 RECOMP_ICALL(esi); /* 0x2B0913C1: call esi */ 12688 RECOMP_FLAGS_IN(); 12689 ecx = eax; /* 0x2B0913C3: mov ecx, eax */ 12690 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B0913C5: call dword ptr [0x2b0b5378] */ 12691 RECOMP_FLAGS_IN(); 12692 PUSH32(esp, 0x2B0914E0u); /* 0x2B0913CB: push 0x2b0914e0 */ 12693 RECOMP_ICALL(esi); /* 0x2B0913D0: call esi */ 12694 RECOMP_FLAGS_IN(); 12695 ecx = eax; /* 0x2B0913D2: mov ecx, eax */ 12696 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B0913D4: call dword ptr [0x2b0b537c] */ 12697 RECOMP_FLAGS_IN(); 12698 PUSH32(esp, 0x2B001520u); /* 0x2B0913DA: push 0x2b001520 */ 12699 PUSH32(esp, 5); /* 0x2B0913DF: push 5 */ 12700 RECOMP_ICALL(esi); /* 0x2B0913E1: call esi */ 12701 RECOMP_FLAGS_IN(); 12702 edi = MEM32(0x2B0B5324); /* 0x2B0913E3: mov edi, dword ptr [0x2b0b5324] */ 12703 ecx = eax; /* 0x2B0913E9: mov ecx, eax */ 12704 RECOMP_ICALL(edi); /* 0x2B0913EB: call edi */ 12705 RECOMP_FLAGS_IN(); 12706 PUSH32(esp, 0x2B0914D0u); /* 0x2B0913ED: push 0x2b0914d0 */ 12707 PUSH32(esp, 6); /* 0x2B0913F2: push 6 */ 12708 RECOMP_ICALL(esi); /* 0x2B0913F4: call esi */ 12709 RECOMP_FLAGS_IN(); 12710 ecx = eax; /* 0x2B0913F6: mov ecx, eax */ 12711 RECOMP_ICALL(edi); /* 0x2B0913F8: call edi */ 12712 RECOMP_FLAGS_IN(); 12713 PUSH32(esp, 0x2B091520u); /* 0x2B0913FA: push 0x2b091520 */ 12714 PUSH32(esp, 0xCEu); /* 0x2B0913FF: push 0xce */ 12715 RECOMP_ICALL(esi); /* 0x2B091404: call esi */ 12716 RECOMP_FLAGS_IN(); 12717 ecx = eax; /* 0x2B091406: mov ecx, eax */ 12718 RECOMP_ICALL(edi); /* 0x2B091408: call edi */ 12719 RECOMP_FLAGS_IN(); 12720 PUSH32(esp, 0x2B091630u); /* 0x2B09140A: push 0x2b091630 */ 12721 PUSH32(esp, 0xCFu); /* 0x2B09140F: push 0xcf */ 12722 RECOMP_ICALL(esi); /* 0x2B091414: call esi */ 12723 RECOMP_FLAGS_IN(); 12724 ecx = eax; /* 0x2B091416: mov ecx, eax */ 12725 RECOMP_ICALL(edi); /* 0x2B091418: call edi */ 12726 RECOMP_FLAGS_IN(); 12727 PUSH32(esp, 0x2B091980u); /* 0x2B09141A: push 0x2b091980 */ 12728 PUSH32(esp, 0xD0u); /* 0x2B09141F: push 0xd0 */ 12729 RECOMP_ICALL(esi); /* 0x2B091424: call esi */ 12730 RECOMP_FLAGS_IN(); 12731 ecx = eax; /* 0x2B091426: mov ecx, eax */ 12732 RECOMP_ICALL(edi); /* 0x2B091428: call edi */ 12733 RECOMP_FLAGS_IN(); 12734 PUSH32(esp, 0x2B0919A0u); /* 0x2B09142A: push 0x2b0919a0 */ 12735 PUSH32(esp, 0xD1u); /* 0x2B09142F: push 0xd1 */ 12736 RECOMP_ICALL(esi); /* 0x2B091434: call esi */ 12737 RECOMP_FLAGS_IN(); 12738 ecx = eax; /* 0x2B091436: mov ecx, eax */ 12739 RECOMP_ICALL(edi); /* 0x2B091438: call edi */ 12740 RECOMP_FLAGS_IN(); 12741 PUSH32(esp, 0x2B091C60u); /* 0x2B09143A: push 0x2b091c60 */ 12742 PUSH32(esp, 0xD2u); /* 0x2B09143F: push 0xd2 */ 12743 RECOMP_ICALL(esi); /* 0x2B091444: call esi */ 12744 RECOMP_FLAGS_IN(); 12745 ecx = eax; /* 0x2B091446: mov ecx, eax */ 12746 RECOMP_ICALL(edi); /* 0x2B091448: call edi */ 12747 RECOMP_FLAGS_IN(); 12748 PUSH32(esp, 0x2B091B00u); /* 0x2B09144A: push 0x2b091b00 */ 12749 PUSH32(esp, 0xD3u); /* 0x2B09144F: push 0xd3 */ 12750 RECOMP_ICALL(esi); /* 0x2B091454: call esi */ 12751 RECOMP_FLAGS_IN(); 12752 ecx = eax; /* 0x2B091456: mov ecx, eax */ 12753 RECOMP_ICALL(edi); /* 0x2B091458: call edi */ 12754 RECOMP_FLAGS_IN(); 12755 PUSH32(esp, 0x2B091DF0u); /* 0x2B09145A: push 0x2b091df0 */ 12756 PUSH32(esp, 0xD4u); /* 0x2B09145F: push 0xd4 */ 12757 RECOMP_ICALL(esi); /* 0x2B091464: call esi */ 12758 RECOMP_FLAGS_IN(); 12759 ecx = eax; /* 0x2B091466: mov ecx, eax */ 12760 RECOMP_ICALL(edi); /* 0x2B091468: call edi */ 12761 RECOMP_FLAGS_IN(); 12762 PUSH32(esp, 0x2B091E10u); /* 0x2B09146A: push 0x2b091e10 */ 12763 PUSH32(esp, 0x8Fu); /* 0x2B09146F: push 0x8f */ 12764 RECOMP_ICALL(esi); /* 0x2B091474: call esi */ 12765 RECOMP_FLAGS_IN(); 12766 ecx = eax; /* 0x2B091476: mov ecx, eax */ 12767 RECOMP_ICALL(edi); /* 0x2B091478: call edi */ 12768 RECOMP_FLAGS_IN(); 12769 PUSH32(esp, 0x2B091E70u); /* 0x2B09147A: push 0x2b091e70 */ 12770 PUSH32(esp, 0xD5u); /* 0x2B09147F: push 0xd5 */ 12771 RECOMP_ICALL(esi); /* 0x2B091484: call esi */ 12772 RECOMP_FLAGS_IN(); 12773 ecx = eax; /* 0x2B091486: mov ecx, eax */ 12774 RECOMP_ICALL(edi); /* 0x2B091488: call edi */ 12775 RECOMP_FLAGS_IN(); 12776 PUSH32(esp, 0x2B091F60u); /* 0x2B09148A: push 0x2b091f60 */ 12777 PUSH32(esp, 0xD6u); /* 0x2B09148F: push 0xd6 */ 12778 RECOMP_ICALL(esi); /* 0x2B091494: call esi */ 12779 RECOMP_FLAGS_IN(); 12780 ecx = eax; /* 0x2B091496: mov ecx, eax */ 12781 RECOMP_ICALL(edi); /* 0x2B091498: call edi */ 12782 RECOMP_FLAGS_IN(); 12783 PUSH32(esp, 0x2B091F90u); /* 0x2B09149A: push 0x2b091f90 */ 12784 PUSH32(esp, 0x9Cu); /* 0x2B09149F: push 0x9c */ 12785 RECOMP_ICALL(esi); /* 0x2B0914A4: call esi */ 12786 RECOMP_FLAGS_IN(); 12787 ecx = eax; /* 0x2B0914A6: mov ecx, eax */ 12788 RECOMP_ICALL(edi); /* 0x2B0914A8: call edi */ 12789 RECOMP_FLAGS_IN(); 12790 edi = POP32_VAL(esp); /* 0x2B0914AA: pop edi */ 12791 esi = POP32_VAL(esp); /* 0x2B0914AB: pop esi */ 12792 MEM32(ebx) = 0; /* 0x2B0914AC: mov dword ptr [ebx], 0 */ 12793 eax = ebx; /* 0x2B0914B2: mov eax, ebx */ 12794 ebx = POP32_VAL(esp); /* 0x2B0914B4: pop ebx */ 12795 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0914B5: ret */ 12796 RECOMP_REGS_OUT(); 12797 } 12798 12799 void sub_2B0914C0(void) { 12800 int _fpu_cmp = 0; 12801 uint32_t _cf = 0; 12802 int _df = 1; 12803 uint32_t _flag_k = FK_NONE; 12804 uint32_t _flag_a = 0, _flag_b = 0; 12805 uint32_t _itail_tgt = 0; 12806 RECOMP_REGS_LOCALS 12807 RECOMP_ENTER(0x2B0914C0u); 12808 12809 L_2B0914C0: 12810 MEM32(0x2B0EF114) = 0; /* 0x2B0914C0: mov dword ptr [0x2b0ef114], 0 */ 12811 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0914CA: ret */ 12812 RECOMP_REGS_OUT(); 12813 } 12814 12815 void sub_2B0914D0(void) { 12816 int _fpu_cmp = 0; 12817 uint32_t _cf = 0; 12818 int _df = 1; 12819 uint32_t _flag_k = FK_NONE; 12820 uint32_t _flag_a = 0, _flag_b = 0; 12821 uint32_t _itail_tgt = 0; 12822 RECOMP_REGS_LOCALS 12823 RECOMP_ENTER(0x2B0914D0u); 12824 12825 L_2B0914D0: 12826 goto L_2B091600; /* 0x2B0914D0: jmp 0x2b091600 */ 12827 L_2B091600: 12828 eax = MEM32(0x2B0EF114); /* 0x2B091600: mov eax, dword ptr [0x2b0ef114] */ 12829 PUSH32(esp, esi); /* 0x2B091605: push esi */ 12830 esi = MEM32(eax); /* 0x2B091606: mov esi, dword ptr [eax] */ 12831 /* test esi, esi */ /* 0x2B091608: test esi, esi */ 12832 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12833 _cf = 0; 12834 _flag_k = FK_TEST; 12835 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091621; /* 0x2B09160A: je 0x2b091621 */ 12836 L_2B09160C: 12837 ecx = esi; /* 0x2B09160C: mov ecx, esi */ 12838 RECOMP_ICALL(0x2B0936F0u); /* 0x2B09160E: call 0x2b0936f0 */ /* not lifted */ 12839 RECOMP_FLAGS_IN(); 12840 PUSH32(esp, esi); /* 0x2B091613: push esi */ 12841 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091614: call 0x2b0ab1ba */ /* not lifted */ 12842 RECOMP_FLAGS_IN(); 12843 eax = MEM32(0x2B0EF114); /* 0x2B091619: mov eax, dword ptr [0x2b0ef114] */ 12844 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12845 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12846 esp = esp + 4; /* 0x2B09161E: add esp, 4 */ 12847 _flag_k = FK_ADD; 12848 L_2B091621: 12849 MEM32(eax) = 0; /* 0x2B091621: mov dword ptr [eax], 0 */ 12850 esi = POP32_VAL(esp); /* 0x2B091627: pop esi */ 12851 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091628: ret */ 12852 RECOMP_REGS_OUT(); 12853 } 12854 12855 void sub_2B0914E0(void) { 12856 int _fpu_cmp = 0; 12857 uint32_t _cf = 0; 12858 int _df = 1; 12859 uint32_t _flag_k = FK_NONE; 12860 uint32_t _flag_a = 0, _flag_b = 0; 12861 uint32_t _itail_tgt = 0; 12862 RECOMP_REGS_LOCALS 12863 RECOMP_ENTER(0x2B0914E0u); 12864 12865 L_2B0914E0: 12866 eax = MEM32(0x2B0EF114); /* 0x2B0914E0: mov eax, dword ptr [0x2b0ef114] */ 12867 ecx = MEM32(eax); /* 0x2B0914E5: mov ecx, dword ptr [eax] */ 12868 /* test ecx, ecx */ /* 0x2B0914E7: test ecx, ecx */ 12869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12870 _cf = 0; 12871 _flag_k = FK_TEST; 12872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091510; /* 0x2B0914E9: je 0x2b091510 */ 12873 L_2B0914EB: 12874 RECOMP_ICALL(0x2B093C90u); /* 0x2B0914EB: call 0x2b093c90 */ /* not lifted */ 12875 RECOMP_FLAGS_IN(); 12876 /* test LO8(eax), LO8(eax) */ /* 0x2B0914F0: test al, al */ 12877 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12878 _cf = 0; 12879 _flag_k = FK_NARROW(FK_TEST, 24); 12880 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0914F9; /* 0x2B0914F2: je 0x2b0914f9 */ 12881 L_2B0914F4: 12882 goto L_2B091600; /* 0x2B0914F4: jmp 0x2b091600 */ 12883 L_2B0914F9: 12884 ecx = MEM32(0x2B0EF114); /* 0x2B0914F9: mov ecx, dword ptr [0x2b0ef114] */ 12885 ecx = MEM32(ecx); /* 0x2B0914FF: mov ecx, dword ptr [ecx] */ 12886 SET_LO8(eax, MEM8(ecx + 0xA5)); /* 0x2B091501: mov al, byte ptr [ecx + 0xa5] */ 12887 /* test LO8(eax), LO8(eax) */ /* 0x2B091507: test al, al */ 12888 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12889 _cf = 0; 12890 _flag_k = FK_NARROW(FK_TEST, 24); 12891 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091510; /* 0x2B091509: je 0x2b091510 */ 12892 L_2B09150B: 12893 goto L_2B094580; /* 0x2B09150B: jmp 0x2b094580 */ 12894 L_2B091510: 12895 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091510: ret */ 12896 L_2B091600: 12897 eax = MEM32(0x2B0EF114); /* 0x2B091600: mov eax, dword ptr [0x2b0ef114] */ 12898 PUSH32(esp, esi); /* 0x2B091605: push esi */ 12899 esi = MEM32(eax); /* 0x2B091606: mov esi, dword ptr [eax] */ 12900 /* test esi, esi */ /* 0x2B091608: test esi, esi */ 12901 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12902 _cf = 0; 12903 _flag_k = FK_TEST; 12904 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091621; /* 0x2B09160A: je 0x2b091621 */ 12905 L_2B09160C: 12906 ecx = esi; /* 0x2B09160C: mov ecx, esi */ 12907 RECOMP_ICALL(0x2B0936F0u); /* 0x2B09160E: call 0x2b0936f0 */ /* not lifted */ 12908 RECOMP_FLAGS_IN(); 12909 PUSH32(esp, esi); /* 0x2B091613: push esi */ 12910 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091614: call 0x2b0ab1ba */ /* not lifted */ 12911 RECOMP_FLAGS_IN(); 12912 eax = MEM32(0x2B0EF114); /* 0x2B091619: mov eax, dword ptr [0x2b0ef114] */ 12913 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12914 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12915 esp = esp + 4; /* 0x2B09161E: add esp, 4 */ 12916 _flag_k = FK_ADD; 12917 L_2B091621: 12918 MEM32(eax) = 0; /* 0x2B091621: mov dword ptr [eax], 0 */ 12919 esi = POP32_VAL(esp); /* 0x2B091627: pop esi */ 12920 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091628: ret */ 12921 L_2B094580: 12922 PUSH32(esp, esi); /* 0x2B094580: push esi */ 12923 PUSH32(esp, edi); /* 0x2B094581: push edi */ 12924 edi = ecx; /* 0x2B094582: mov edi, ecx */ 12925 esi = MEM32(edi + 0x38); /* 0x2B094584: mov esi, dword ptr [edi + 0x38] */ 12926 /* test esi, esi */ /* 0x2B094587: test esi, esi */ 12927 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12928 _cf = 0; 12929 _flag_k = FK_TEST; 12930 MEM8(edi + 0xA5) = (uint8_t)(0); /* 0x2B094589: mov byte ptr [edi + 0xa5], 0 */ 12931 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0945A9; /* 0x2B094590: je 0x2b0945a9 */ 12932 L_2B094592: 12933 ecx = esi; /* 0x2B094592: mov ecx, esi */ 12934 RECOMP_ICALL(0x2B093A60u); /* 0x2B094594: call 0x2b093a60 */ /* not lifted */ 12935 RECOMP_FLAGS_IN(); 12936 PUSH32(esp, esi); /* 0x2B094599: push esi */ 12937 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09459A: call 0x2b0ab1ba */ /* not lifted */ 12938 RECOMP_FLAGS_IN(); 12939 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12941 esp = esp + 4; /* 0x2B09459F: add esp, 4 */ 12942 _flag_k = FK_ADD; 12943 MEM32(edi + 0x38) = 0; /* 0x2B0945A2: mov dword ptr [edi + 0x38], 0 */ 12944 L_2B0945A9: 12945 edi = POP32_VAL(esp); /* 0x2B0945A9: pop edi */ 12946 esi = POP32_VAL(esp); /* 0x2B0945AA: pop esi */ 12947 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0945AB: ret */ 12948 RECOMP_REGS_OUT(); 12949 } 12950 12951 void sub_2B091520(void) { 12952 int _fpu_cmp = 0; 12953 uint32_t _cf = 0; 12954 int _df = 1; 12955 uint32_t _flag_k = FK_NONE; 12956 uint32_t _flag_a = 0, _flag_b = 0; 12957 uint32_t _itail_tgt = 0; 12958 RECOMP_REGS_LOCALS 12959 RECOMP_ENTER(0x2B091520u); 12960 12961 L_2B091520: 12962 PUSH32(esp, ebp); /* 0x2B091520: push ebp */ 12963 ebp = esp; /* 0x2B091521: mov ebp, esp */ 12964 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091523: push -1 */ 12965 PUSH32(esp, 0x2B0B2BDBu); /* 0x2B091525: push 0x2b0b2bdb */ 12966 eax = MEM32(FS_BASE + (0)); /* 0x2B09152A: mov eax, dword ptr fs:[0] */ 12967 PUSH32(esp, eax); /* 0x2B091530: push eax */ 12968 MEM32(FS_BASE + (0)) = esp; /* 0x2B091531: mov dword ptr fs:[0], esp */ 12969 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 12970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12971 esp = esp - 0x10u; /* 0x2B091538: sub esp, 0x10 */ 12972 _flag_k = FK_CMP; 12973 PUSH32(esp, esi); /* 0x2B09153B: push esi */ 12974 esi = MEM32(0x2B0B53CC); /* 0x2B09153C: mov esi, dword ptr [0x2b0b53cc] */ 12975 eax = ebp + (-0x1C); /* 0x2B091542: lea eax, [ebp - 0x1c] */ 12976 PUSH32(esp, eax); /* 0x2B091545: push eax */ 12977 MEM32(ebp + (-0x1C)) = 0; /* 0x2B091546: mov dword ptr [ebp - 0x1c], 0 */ 12978 MEM32(ebp + (-0x18)) = 0; /* 0x2B09154D: mov dword ptr [ebp - 0x18], 0 */ 12979 RECOMP_ICALL(esi); /* 0x2B091554: call esi */ 12980 RECOMP_FLAGS_IN(); 12981 ecx = eax; /* 0x2B091556: mov ecx, eax */ 12982 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B091558: call dword ptr [0x2b0b53ac] */ 12983 RECOMP_FLAGS_IN(); 12984 ecx = ebp + (-0xD); /* 0x2B09155E: lea ecx, [ebp - 0xd] */ 12985 PUSH32(esp, ecx); /* 0x2B091561: push ecx */ 12986 edx = ebp + (-0xE); /* 0x2B091562: lea edx, [ebp - 0xe] */ 12987 PUSH32(esp, edx); /* 0x2B091565: push edx */ 12988 RECOMP_ICALL(esi); /* 0x2B091566: call esi */ 12989 RECOMP_FLAGS_IN(); 12990 ecx = eax; /* 0x2B091568: mov ecx, eax */ 12991 RECOMP_ICALL(MEM32(0x2B0B5328)); /* 0x2B09156A: call dword ptr [0x2b0b5328] */ 12992 RECOMP_FLAGS_IN(); 12993 eax = MEM32(0x2B0EF114); /* 0x2B091570: mov eax, dword ptr [0x2b0ef114] */ 12994 esi = MEM32(eax); /* 0x2B091575: mov esi, dword ptr [eax] */ 12995 /* test esi, esi */ /* 0x2B091577: test esi, esi */ 12996 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12997 _cf = 0; 12998 _flag_k = FK_TEST; 12999 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09158B; /* 0x2B091579: je 0x2b09158b */ 13000 L_2B09157B: 13001 ecx = esi; /* 0x2B09157B: mov ecx, esi */ 13002 RECOMP_ICALL(0x2B0936F0u); /* 0x2B09157D: call 0x2b0936f0 */ /* not lifted */ 13003 RECOMP_FLAGS_IN(); 13004 PUSH32(esp, esi); /* 0x2B091582: push esi */ 13005 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091583: call 0x2b0ab1ba */ /* not lifted */ 13006 RECOMP_FLAGS_IN(); 13007 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13008 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13009 esp = esp + 4; /* 0x2B091588: add esp, 4 */ 13010 _flag_k = FK_ADD; 13011 L_2B09158B: 13012 PUSH32(esp, 0xA8u); /* 0x2B09158B: push 0xa8 */ 13013 RECOMP_ICALL(0x2B0AB212u); /* 0x2B091590: call 0x2b0ab212 */ /* not lifted */ 13014 RECOMP_FLAGS_IN(); 13015 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13016 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13017 esp = esp + 4; /* 0x2B091595: add esp, 4 */ 13018 _flag_k = FK_ADD; 13019 MEM32(ebp + (-0x14)) = eax; /* 0x2B091598: mov dword ptr [ebp - 0x14], eax */ 13020 /* test eax, eax */ /* 0x2B09159B: test eax, eax */ 13021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13022 _cf = 0; 13023 _flag_k = FK_TEST; 13024 MEM32(ebp + (-0x4)) = 0; /* 0x2B09159D: mov dword ptr [ebp - 4], 0 */ 13025 esi = POP32_VAL(esp); /* 0x2B0915A4: pop esi */ 13026 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0915DA; /* 0x2B0915A5: je 0x2b0915da */ 13027 L_2B0915A7: 13028 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B0915A7: mov cl, byte ptr [ebp - 0xd] */ 13029 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0915AA: test cl, cl */ 13030 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13031 _cf = 0; 13032 _flag_k = FK_NARROW(FK_TEST, 24); 13033 SET_LO8(ecx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0915AC: setne cl */ 13034 PUSH32(esp, ecx); /* 0x2B0915AF: push ecx */ 13035 SET_LO8(ecx, MEM8(ebp + (-0xE))); /* 0x2B0915B0: mov cl, byte ptr [ebp - 0xe] */ 13036 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0915B3: test cl, cl */ 13037 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13038 _cf = 0; 13039 _flag_k = FK_NARROW(FK_TEST, 24); 13040 SET_LO8(edx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0915B5: setne dl */ 13041 ecx = ebp + (-0x1C); /* 0x2B0915B8: lea ecx, [ebp - 0x1c] */ 13042 PUSH32(esp, edx); /* 0x2B0915BB: push edx */ 13043 PUSH32(esp, ecx); /* 0x2B0915BC: push ecx */ 13044 ecx = eax; /* 0x2B0915BD: mov ecx, eax */ 13045 RECOMP_ICALL(0x2B092D90u); /* 0x2B0915BF: call 0x2b092d90 */ /* not lifted */ 13046 RECOMP_FLAGS_IN(); 13047 edx = MEM32(0x2B0EF114); /* 0x2B0915C4: mov edx, dword ptr [0x2b0ef114] */ 13048 MEM32(edx) = eax; /* 0x2B0915CA: mov dword ptr [edx], eax */ 13049 ecx = MEM32(ebp + (-0xC)); /* 0x2B0915CC: mov ecx, dword ptr [ebp - 0xc] */ 13050 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0915CF: mov dword ptr fs:[0], ecx */ 13051 esp = ebp; /* 0x2B0915D6: mov esp, ebp */ 13052 ebp = POP32_VAL(esp); /* 0x2B0915D8: pop ebp */ 13053 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0915D9: ret */ 13054 L_2B0915DA: 13055 ecx = MEM32(0x2B0EF114); /* 0x2B0915DA: mov ecx, dword ptr [0x2b0ef114] */ 13056 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13057 eax = 0; /* 0x2B0915E0: xor eax, eax */ 13058 _cf = 0; 13059 _flag_k = FK_TEST; 13060 MEM32(ecx) = eax; /* 0x2B0915E2: mov dword ptr [ecx], eax */ 13061 ecx = MEM32(ebp + (-0xC)); /* 0x2B0915E4: mov ecx, dword ptr [ebp - 0xc] */ 13062 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0915E7: mov dword ptr fs:[0], ecx */ 13063 esp = ebp; /* 0x2B0915EE: mov esp, ebp */ 13064 ebp = POP32_VAL(esp); /* 0x2B0915F0: pop ebp */ 13065 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0915F1: ret */ 13066 RECOMP_REGS_OUT(); 13067 } 13068 13069 void sub_2B091554(void) { 13070 int _fpu_cmp = 0; 13071 uint32_t _cf = 0; 13072 int _df = 1; 13073 uint32_t _flag_k = FK_NONE; 13074 uint32_t _flag_a = 0, _flag_b = 0; 13075 uint32_t _itail_tgt = 0; 13076 RECOMP_REGS_LOCALS 13077 RECOMP_ENTER(0x2B091554u); 13078 13079 L_2B091554: 13080 RECOMP_ICALL(esi); /* 0x2B091554: call esi */ 13081 RECOMP_FLAGS_IN(); 13082 ecx = eax; /* 0x2B091556: mov ecx, eax */ 13083 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B091558: call dword ptr [0x2b0b53ac] */ 13084 RECOMP_FLAGS_IN(); 13085 ecx = ebp + (-0xD); /* 0x2B09155E: lea ecx, [ebp - 0xd] */ 13086 PUSH32(esp, ecx); /* 0x2B091561: push ecx */ 13087 edx = ebp + (-0xE); /* 0x2B091562: lea edx, [ebp - 0xe] */ 13088 PUSH32(esp, edx); /* 0x2B091565: push edx */ 13089 RECOMP_ICALL(esi); /* 0x2B091566: call esi */ 13090 RECOMP_FLAGS_IN(); 13091 ecx = eax; /* 0x2B091568: mov ecx, eax */ 13092 RECOMP_ICALL(MEM32(0x2B0B5328)); /* 0x2B09156A: call dword ptr [0x2b0b5328] */ 13093 RECOMP_FLAGS_IN(); 13094 eax = MEM32(0x2B0EF114); /* 0x2B091570: mov eax, dword ptr [0x2b0ef114] */ 13095 esi = MEM32(eax); /* 0x2B091575: mov esi, dword ptr [eax] */ 13096 /* test esi, esi */ /* 0x2B091577: test esi, esi */ 13097 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13098 _cf = 0; 13099 _flag_k = FK_TEST; 13100 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09158B; /* 0x2B091579: je 0x2b09158b */ 13101 L_2B09157B: 13102 ecx = esi; /* 0x2B09157B: mov ecx, esi */ 13103 RECOMP_ICALL(0x2B0936F0u); /* 0x2B09157D: call 0x2b0936f0 */ /* not lifted */ 13104 RECOMP_FLAGS_IN(); 13105 PUSH32(esp, esi); /* 0x2B091582: push esi */ 13106 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091583: call 0x2b0ab1ba */ /* not lifted */ 13107 RECOMP_FLAGS_IN(); 13108 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13109 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13110 esp = esp + 4; /* 0x2B091588: add esp, 4 */ 13111 _flag_k = FK_ADD; 13112 L_2B09158B: 13113 PUSH32(esp, 0xA8u); /* 0x2B09158B: push 0xa8 */ 13114 RECOMP_ICALL(0x2B0AB212u); /* 0x2B091590: call 0x2b0ab212 */ /* not lifted */ 13115 RECOMP_FLAGS_IN(); 13116 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13117 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13118 esp = esp + 4; /* 0x2B091595: add esp, 4 */ 13119 _flag_k = FK_ADD; 13120 MEM32(ebp + (-0x14)) = eax; /* 0x2B091598: mov dword ptr [ebp - 0x14], eax */ 13121 /* test eax, eax */ /* 0x2B09159B: test eax, eax */ 13122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13123 _cf = 0; 13124 _flag_k = FK_TEST; 13125 MEM32(ebp + (-0x4)) = 0; /* 0x2B09159D: mov dword ptr [ebp - 4], 0 */ 13126 esi = POP32_VAL(esp); /* 0x2B0915A4: pop esi */ 13127 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0915DA; /* 0x2B0915A5: je 0x2b0915da */ 13128 L_2B0915A7: 13129 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B0915A7: mov cl, byte ptr [ebp - 0xd] */ 13130 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0915AA: test cl, cl */ 13131 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13132 _cf = 0; 13133 _flag_k = FK_NARROW(FK_TEST, 24); 13134 SET_LO8(ecx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0915AC: setne cl */ 13135 PUSH32(esp, ecx); /* 0x2B0915AF: push ecx */ 13136 SET_LO8(ecx, MEM8(ebp + (-0xE))); /* 0x2B0915B0: mov cl, byte ptr [ebp - 0xe] */ 13137 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0915B3: test cl, cl */ 13138 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 13139 _cf = 0; 13140 _flag_k = FK_NARROW(FK_TEST, 24); 13141 SET_LO8(edx, (TEST_NZ(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0915B5: setne dl */ 13142 ecx = ebp + (-0x1C); /* 0x2B0915B8: lea ecx, [ebp - 0x1c] */ 13143 PUSH32(esp, edx); /* 0x2B0915BB: push edx */ 13144 PUSH32(esp, ecx); /* 0x2B0915BC: push ecx */ 13145 ecx = eax; /* 0x2B0915BD: mov ecx, eax */ 13146 RECOMP_ICALL(0x2B092D90u); /* 0x2B0915BF: call 0x2b092d90 */ /* not lifted */ 13147 RECOMP_FLAGS_IN(); 13148 edx = MEM32(0x2B0EF114); /* 0x2B0915C4: mov edx, dword ptr [0x2b0ef114] */ 13149 MEM32(edx) = eax; /* 0x2B0915CA: mov dword ptr [edx], eax */ 13150 ecx = MEM32(ebp + (-0xC)); /* 0x2B0915CC: mov ecx, dword ptr [ebp - 0xc] */ 13151 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0915CF: mov dword ptr fs:[0], ecx */ 13152 esp = ebp; /* 0x2B0915D6: mov esp, ebp */ 13153 ebp = POP32_VAL(esp); /* 0x2B0915D8: pop ebp */ 13154 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0915D9: ret */ 13155 L_2B0915DA: 13156 ecx = MEM32(0x2B0EF114); /* 0x2B0915DA: mov ecx, dword ptr [0x2b0ef114] */ 13157 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13158 eax = 0; /* 0x2B0915E0: xor eax, eax */ 13159 _cf = 0; 13160 _flag_k = FK_TEST; 13161 MEM32(ecx) = eax; /* 0x2B0915E2: mov dword ptr [ecx], eax */ 13162 ecx = MEM32(ebp + (-0xC)); /* 0x2B0915E4: mov ecx, dword ptr [ebp - 0xc] */ 13163 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0915E7: mov dword ptr fs:[0], ecx */ 13164 esp = ebp; /* 0x2B0915EE: mov esp, ebp */ 13165 ebp = POP32_VAL(esp); /* 0x2B0915F0: pop ebp */ 13166 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0915F1: ret */ 13167 RECOMP_REGS_OUT(); 13168 } 13169 13170 void sub_2B091600(void) { 13171 int _fpu_cmp = 0; 13172 uint32_t _cf = 0; 13173 int _df = 1; 13174 uint32_t _flag_k = FK_NONE; 13175 uint32_t _flag_a = 0, _flag_b = 0; 13176 uint32_t _itail_tgt = 0; 13177 RECOMP_REGS_LOCALS 13178 RECOMP_ENTER(0x2B091600u); 13179 13180 L_2B091600: 13181 eax = MEM32(0x2B0EF114); /* 0x2B091600: mov eax, dword ptr [0x2b0ef114] */ 13182 PUSH32(esp, esi); /* 0x2B091605: push esi */ 13183 esi = MEM32(eax); /* 0x2B091606: mov esi, dword ptr [eax] */ 13184 /* test esi, esi */ /* 0x2B091608: test esi, esi */ 13185 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 13186 _cf = 0; 13187 _flag_k = FK_TEST; 13188 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091621; /* 0x2B09160A: je 0x2b091621 */ 13189 L_2B09160C: 13190 ecx = esi; /* 0x2B09160C: mov ecx, esi */ 13191 RECOMP_ICALL(0x2B0936F0u); /* 0x2B09160E: call 0x2b0936f0 */ /* not lifted */ 13192 RECOMP_FLAGS_IN(); 13193 PUSH32(esp, esi); /* 0x2B091613: push esi */ 13194 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091614: call 0x2b0ab1ba */ /* not lifted */ 13195 RECOMP_FLAGS_IN(); 13196 eax = MEM32(0x2B0EF114); /* 0x2B091619: mov eax, dword ptr [0x2b0ef114] */ 13197 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13198 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13199 esp = esp + 4; /* 0x2B09161E: add esp, 4 */ 13200 _flag_k = FK_ADD; 13201 L_2B091621: 13202 MEM32(eax) = 0; /* 0x2B091621: mov dword ptr [eax], 0 */ 13203 esi = POP32_VAL(esp); /* 0x2B091627: pop esi */ 13204 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091628: ret */ 13205 RECOMP_REGS_OUT(); 13206 } 13207 13208 void sub_2B091630(void) { 13209 int _fpu_cmp = 0; 13210 uint32_t _cf = 0; 13211 int _df = 1; 13212 uint32_t _flag_k = FK_NONE; 13213 uint32_t _flag_a = 0, _flag_b = 0; 13214 uint32_t _itail_tgt = 0; 13215 RECOMP_REGS_LOCALS 13216 RECOMP_ENTER(0x2B091630u); 13217 13218 L_2B091630: 13219 PUSH32(esp, ebp); /* 0x2B091630: push ebp */ 13220 ebp = esp; /* 0x2B091631: mov ebp, esp */ 13221 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091633: push -1 */ 13222 PUSH32(esp, 0x2B0B2C11u); /* 0x2B091635: push 0x2b0b2c11 */ 13223 eax = MEM32(FS_BASE + (0)); /* 0x2B09163A: mov eax, dword ptr fs:[0] */ 13224 PUSH32(esp, eax); /* 0x2B091640: push eax */ 13225 MEM32(FS_BASE + (0)) = esp; /* 0x2B091641: mov dword ptr fs:[0], esp */ 13226 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x5Cu); 13227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13228 esp = esp - 0x5Cu; /* 0x2B091648: sub esp, 0x5c */ 13229 _flag_k = FK_CMP; 13230 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B09164B: mov al, byte ptr [ebp - 0xd] */ 13231 PUSH32(esp, ebx); /* 0x2B09164E: push ebx */ 13232 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13233 ebx = 0; /* 0x2B09164F: xor ebx, ebx */ 13234 _cf = 0; 13235 _flag_k = FK_TEST; 13236 PUSH32(esp, esi); /* 0x2B091651: push esi */ 13237 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(eax)); /* 0x2B091652: mov byte ptr [ebp - 0x28], al */ 13238 MEM32(ebp + (-0x24)) = ebx; /* 0x2B091655: mov dword ptr [ebp - 0x24], ebx */ 13239 MEM32(ebp + (-0x20)) = ebx; /* 0x2B091658: mov dword ptr [ebp - 0x20], ebx */ 13240 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B09165B: mov dword ptr [ebp - 0x1c], ebx */ 13241 esi = MEM32(0x2B0B53CC); /* 0x2B09165E: mov esi, dword ptr [0x2b0b53cc] */ 13242 ecx = ebp + (-0x14); /* 0x2B091664: lea ecx, [ebp - 0x14] */ 13243 PUSH32(esp, ecx); /* 0x2B091667: push ecx */ 13244 MEM32(ebp + (-0x4)) = ebx; /* 0x2B091668: mov dword ptr [ebp - 4], ebx */ 13245 RECOMP_ICALL(esi); /* 0x2B09166B: call esi */ 13246 RECOMP_FLAGS_IN(); 13247 ecx = eax; /* 0x2B09166D: mov ecx, eax */ 13248 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B09166F: call dword ptr [0x2b0b53a8] */ 13249 RECOMP_FLAGS_IN(); 13250 RECOMP_ICALL(esi); /* 0x2B091675: call esi */ 13251 RECOMP_FLAGS_IN(); 13252 ecx = eax; /* 0x2B091677: mov ecx, eax */ 13253 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B091679: call dword ptr [0x2b0b53a4] */ 13254 RECOMP_FLAGS_IN(); 13255 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B09167F: push -1 */ 13256 ecx = ebp + (-0x68); /* 0x2B091681: lea ecx, [ebp - 0x68] */ 13257 esi = eax; /* 0x2B091684: mov esi, eax */ 13258 RECOMP_ICALL(MEM32(0x2B0B5448)); /* 0x2B091686: call dword ptr [0x2b0b5448] */ 13259 RECOMP_FLAGS_IN(); 13260 edx = MEM32(ebp + (-0x14)); /* 0x2B09168C: mov edx, dword ptr [ebp - 0x14] */ 13261 PUSH32(esp, edx); /* 0x2B09168F: push edx */ 13262 PUSH32(esp, esi); /* 0x2B091690: push esi */ 13263 ecx = ebp + (-0x68); /* 0x2B091691: lea ecx, [ebp - 0x68] */ 13264 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B091694: mov byte ptr [ebp - 4], 1 */ 13265 RECOMP_ICALL(MEM32(0x2B0B545C)); /* 0x2B091698: call dword ptr [0x2b0b545c] */ 13266 RECOMP_FLAGS_IN(); 13267 PUSH32(esp, ebx); /* 0x2B09169E: push ebx */ 13268 eax = ebp + (-0x18); /* 0x2B09169F: lea eax, [ebp - 0x18] */ 13269 PUSH32(esp, eax); /* 0x2B0916A2: push eax */ 13270 PUSH32(esp, 0x2B0ED33Cu); /* 0x2B0916A3: push 0x2b0ed33c */ 13271 ecx = ebp + (-0x68); /* 0x2B0916A8: lea ecx, [ebp - 0x68] */ 13272 RECOMP_ICALL(MEM32(0x2B0B544C)); /* 0x2B0916AB: call dword ptr [0x2b0b544c] */ 13273 RECOMP_FLAGS_IN(); 13274 /* cmp eax, ebx */ /* 0x2B0916B1: cmp eax, ebx */ 13275 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13277 _flag_k = FK_CMP; 13278 esi = MEM32(ebp + (-0x18)); /* 0x2B0916B3: mov esi, dword ptr [ebp - 0x18] */ 13279 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0916BB; /* 0x2B0916B6: je 0x2b0916bb */ 13280 L_2B0916B8: 13281 esi = MEM32(ebp + (-0x18)); /* 0x2B0916B8: mov esi, dword ptr [ebp - 0x18] */ 13282 L_2B0916BB: 13283 PUSH32(esp, ebx); /* 0x2B0916BB: push ebx */ 13284 ecx = ebp + (-0x28); /* 0x2B0916BC: lea ecx, [ebp - 0x28] */ 13285 PUSH32(esp, ecx); /* 0x2B0916BF: push ecx */ 13286 PUSH32(esp, 0x2B0ED334u); /* 0x2B0916C0: push 0x2b0ed334 */ 13287 ecx = ebp + (-0x68); /* 0x2B0916C5: lea ecx, [ebp - 0x68] */ 13288 RECOMP_ICALL(MEM32(0x2B0B5450)); /* 0x2B0916C8: call dword ptr [0x2b0b5450] */ 13289 RECOMP_FLAGS_IN(); 13290 edx = MEM32(0x2B0EF114); /* 0x2B0916CE: mov edx, dword ptr [0x2b0ef114] */ 13291 ecx = MEM32(edx); /* 0x2B0916D4: mov ecx, dword ptr [edx] */ 13292 /* cmp ecx, ebx */ /* 0x2B0916D6: cmp ecx, ebx */ 13293 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13295 _flag_k = FK_CMP; 13296 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0916E4; /* 0x2B0916D8: je 0x2b0916e4 */ 13297 L_2B0916DA: 13298 PUSH32(esp, esi); /* 0x2B0916DA: push esi */ 13299 eax = ebp + (-0x28); /* 0x2B0916DB: lea eax, [ebp - 0x28] */ 13300 PUSH32(esp, eax); /* 0x2B0916DE: push eax */ 13301 RECOMP_ICALL(0x2B093B80u); /* 0x2B0916DF: call 0x2b093b80 */ /* not lifted */ 13302 RECOMP_FLAGS_IN(); 13303 L_2B0916E4: 13304 MEM32(ebp + (-0x68)) = 0x2B0B71A8u; /* 0x2B0916E4: mov dword ptr [ebp - 0x68], 0x2b0b71a8 */ 13305 ecx = ebp + (-0x68); /* 0x2B0916EB: lea ecx, [ebp - 0x68] */ 13306 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B0916EE: mov byte ptr [ebp - 4], 3 */ 13307 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B0916F2: call dword ptr [0x2b0b5454] */ 13308 RECOMP_FLAGS_IN(); 13309 ecx = MEM32(ebp + (-0x34)); /* 0x2B0916F8: mov ecx, dword ptr [ebp - 0x34] */ 13310 PUSH32(esp, ecx); /* 0x2B0916FB: push ecx */ 13311 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0916FC: call 0x2b0ab1ba */ /* not lifted */ 13312 RECOMP_FLAGS_IN(); 13313 eax = MEM32(ebp + (-0x60)); /* 0x2B091701: mov eax, dword ptr [ebp - 0x60] */ 13314 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13315 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13316 esp = esp + 4; /* 0x2B091704: add esp, 4 */ 13317 _flag_k = FK_ADD; 13318 MEM32(ebp + (-0x34)) = ebx; /* 0x2B091707: mov dword ptr [ebp - 0x34], ebx */ 13319 MEM32(ebp + (-0x30)) = ebx; /* 0x2B09170A: mov dword ptr [ebp - 0x30], ebx */ 13320 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B09170D: mov dword ptr [ebp - 0x2c], ebx */ 13321 ecx = MEM32(eax); /* 0x2B091710: mov ecx, dword ptr [eax] */ 13322 PUSH32(esp, eax); /* 0x2B091712: push eax */ 13323 PUSH32(esp, ecx); /* 0x2B091713: push ecx */ 13324 edx = ebp + (-0x18); /* 0x2B091714: lea edx, [ebp - 0x18] */ 13325 PUSH32(esp, edx); /* 0x2B091717: push edx */ 13326 ecx = ebp + (-0x64); /* 0x2B091718: lea ecx, [ebp - 0x64] */ 13327 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B09171B: mov byte ptr [ebp - 4], bl */ 13328 RECOMP_ICALL(0x2B0920A0u); /* 0x2B09171E: call 0x2b0920a0 */ /* not lifted */ 13329 RECOMP_FLAGS_IN(); 13330 eax = MEM32(ebp + (-0x60)); /* 0x2B091723: mov eax, dword ptr [ebp - 0x60] */ 13331 PUSH32(esp, eax); /* 0x2B091726: push eax */ 13332 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091727: call 0x2b0ab1ba */ /* not lifted */ 13333 RECOMP_FLAGS_IN(); 13334 ecx = MEM32(ebp + (-0x5C)); /* 0x2B09172C: mov ecx, dword ptr [ebp - 0x5c] */ 13335 PUSH32(esp, ecx); /* 0x2B09172F: push ecx */ 13336 MEM32(ebp + (-0x60)) = ebx; /* 0x2B091730: mov dword ptr [ebp - 0x60], ebx */ 13337 MEM32(ebp + (-0x54)) = ebx; /* 0x2B091733: mov dword ptr [ebp - 0x54], ebx */ 13338 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091736: call 0x2b0ab1ba */ /* not lifted */ 13339 RECOMP_FLAGS_IN(); 13340 ecx = MEM32(ebp + (-0x24)); /* 0x2B09173B: mov ecx, dword ptr [ebp - 0x24] */ 13341 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13343 esp = esp + 8; /* 0x2B09173E: add esp, 8 */ 13344 _flag_k = FK_ADD; 13345 /* cmp ecx, ebx */ /* 0x2B091741: cmp ecx, ebx */ 13346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13348 _flag_k = FK_CMP; 13349 MEM32(ebp + (-0x5C)) = ebx; /* 0x2B091743: mov dword ptr [ebp - 0x5c], ebx */ 13350 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091772; /* 0x2B091746: je 0x2b091772 */ 13351 L_2B091748: 13352 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B091748: mov al, byte ptr [ecx - 1] */ 13353 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B09174B: cmp al, bl */ 13354 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13356 _flag_k = FK_NARROW(FK_CMP, 24); 13357 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091768; /* 0x2B09174D: je 0x2b091768 */ 13358 L_2B09174F: 13359 /* cmp LO8(eax), 0xFFu */ /* 0x2B09174F: cmp al, 0xff */ 13360 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13362 _flag_k = FK_NARROW(FK_CMP, 24); 13363 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091768; /* 0x2B091751: je 0x2b091768 */ 13364 L_2B091753: 13365 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13366 SET_LO8(eax, LO8(eax) - 1); /* 0x2B091753: dec al */ 13367 _flag_k = FK_NARROW(FK_DEC, 24); 13368 esi = POP32_VAL(esp); /* 0x2B091755: pop esi */ 13369 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B091756: mov byte ptr [ecx - 1], al */ 13370 ebx = POP32_VAL(esp); /* 0x2B091759: pop ebx */ 13371 ecx = MEM32(ebp + (-0xC)); /* 0x2B09175A: mov ecx, dword ptr [ebp - 0xc] */ 13372 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09175D: mov dword ptr fs:[0], ecx */ 13373 esp = ebp; /* 0x2B091764: mov esp, ebp */ 13374 ebp = POP32_VAL(esp); /* 0x2B091766: pop ebp */ 13375 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091767: ret */ 13376 L_2B091768: 13377 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13378 ecx = ecx - 1; /* 0x2B091768: dec ecx */ 13379 _flag_k = FK_DEC; 13380 PUSH32(esp, ecx); /* 0x2B091769: push ecx */ 13381 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09176A: call 0x2b0ab1ba */ /* not lifted */ 13382 RECOMP_FLAGS_IN(); 13383 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13384 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13385 esp = esp + 4; /* 0x2B09176F: add esp, 4 */ 13386 _flag_k = FK_ADD; 13387 L_2B091772: 13388 ecx = MEM32(ebp + (-0xC)); /* 0x2B091772: mov ecx, dword ptr [ebp - 0xc] */ 13389 esi = POP32_VAL(esp); /* 0x2B091775: pop esi */ 13390 ebx = POP32_VAL(esp); /* 0x2B091776: pop ebx */ 13391 MEM32(FS_BASE + (0)) = ecx; /* 0x2B091777: mov dword ptr fs:[0], ecx */ 13392 esp = ebp; /* 0x2B09177E: mov esp, ebp */ 13393 ebp = POP32_VAL(esp); /* 0x2B091780: pop ebp */ 13394 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091781: ret */ 13395 RECOMP_REGS_OUT(); 13396 } 13397 13398 void sub_2B091790(void) { 13399 int _fpu_cmp = 0; 13400 uint32_t _cf = 0; 13401 int _df = 1; 13402 uint32_t _flag_k = FK_NONE; 13403 uint32_t _flag_a = 0, _flag_b = 0; 13404 uint32_t _itail_tgt = 0; 13405 RECOMP_REGS_LOCALS 13406 RECOMP_ENTER(0x2B091790u); 13407 13408 L_2B091790: 13409 PUSH32(esp, ebp); /* 0x2B091790: push ebp */ 13410 ebp = esp; /* 0x2B091791: mov ebp, esp */ 13411 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091793: push -1 */ 13412 PUSH32(esp, 0x2B0B2C36u); /* 0x2B091795: push 0x2b0b2c36 */ 13413 eax = MEM32(FS_BASE + (0)); /* 0x2B09179A: mov eax, dword ptr fs:[0] */ 13414 PUSH32(esp, eax); /* 0x2B0917A0: push eax */ 13415 MEM32(FS_BASE + (0)) = esp; /* 0x2B0917A1: mov dword ptr fs:[0], esp */ 13416 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13418 esp = esp - 8; /* 0x2B0917A8: sub esp, 8 */ 13419 _flag_k = FK_CMP; 13420 PUSH32(esp, ebx); /* 0x2B0917AB: push ebx */ 13421 PUSH32(esp, esi); /* 0x2B0917AC: push esi */ 13422 esi = ecx; /* 0x2B0917AD: mov esi, ecx */ 13423 PUSH32(esp, edi); /* 0x2B0917AF: push edi */ 13424 MEM32(ebp + (-0x10)) = esi; /* 0x2B0917B0: mov dword ptr [ebp - 0x10], esi */ 13425 MEM32(esi) = 0x2B0B71A8u; /* 0x2B0917B3: mov dword ptr [esi], 0x2b0b71a8 */ 13426 MEM32(ebp + (-0x4)) = 1; /* 0x2B0917B9: mov dword ptr [ebp - 4], 1 */ 13427 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B0917C0: call dword ptr [0x2b0b5454] */ 13428 RECOMP_FLAGS_IN(); 13429 eax = MEM32(esi + 0x34); /* 0x2B0917C6: mov eax, dword ptr [esi + 0x34] */ 13430 PUSH32(esp, eax); /* 0x2B0917C9: push eax */ 13431 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917CA: mov dword ptr [ebp - 0x10], eax */ 13432 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0917CD: call 0x2b0ab1ba */ /* not lifted */ 13433 RECOMP_FLAGS_IN(); 13434 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13435 ebx = 0; /* 0x2B0917D2: xor ebx, ebx */ 13436 _cf = 0; 13437 _flag_k = FK_TEST; 13438 MEM32(esi + 0x34) = ebx; /* 0x2B0917D4: mov dword ptr [esi + 0x34], ebx */ 13439 MEM32(esi + 0x38) = ebx; /* 0x2B0917D7: mov dword ptr [esi + 0x38], ebx */ 13440 MEM32(esi + 0x3C) = ebx; /* 0x2B0917DA: mov dword ptr [esi + 0x3c], ebx */ 13441 edi = MEM32(esi + 0x8); /* 0x2B0917DD: mov edi, dword ptr [esi + 8] */ 13442 ecx = MEM32(esi + 0x14); /* 0x2B0917E0: mov ecx, dword ptr [esi + 0x14] */ 13443 eax = MEM32(edi); /* 0x2B0917E3: mov eax, dword ptr [edi] */ 13444 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 13445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13446 esi = esi + 4; /* 0x2B0917E5: add esi, 4 */ 13447 _flag_k = FK_ADD; 13448 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13449 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13450 esp = esp + 4; /* 0x2B0917E8: add esp, 4 */ 13451 _flag_k = FK_ADD; 13452 /* cmp ecx, ebx */ /* 0x2B0917EB: cmp ecx, ebx */ 13453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13455 _flag_k = FK_CMP; 13456 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0917ED: mov dword ptr [ebp - 4], 0xffffffff */ 13457 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917F4: mov dword ptr [ebp - 0x10], eax */ 13458 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917F7: je 0x2b091827 */ 13459 L_2B0917F9: 13460 ecx = eax; /* 0x2B0917F9: mov ecx, eax */ 13461 /* cmp eax, ecx */ /* 0x2B0917FB: cmp eax, ecx */ 13462 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13464 _flag_k = FK_CMP; 13465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917FD: jne 0x2b091827 */ 13466 L_2B0917FF: 13467 /* cmp edi, edi */ /* 0x2B0917FF: cmp edi, edi */ 13468 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13470 _flag_k = FK_CMP; 13471 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B091801: jne 0x2b091827 */ 13472 L_2B091803: 13473 eax = MEM32(edi + 0x4); /* 0x2B091803: mov eax, dword ptr [edi + 4] */ 13474 PUSH32(esp, eax); /* 0x2B091806: push eax */ 13475 ecx = esi; /* 0x2B091807: mov ecx, esi */ 13476 RECOMP_ICALL(0x2B092520u); /* 0x2B091809: call 0x2b092520 */ /* not lifted */ 13477 RECOMP_FLAGS_IN(); 13478 ecx = MEM32(esi + 0x4); /* 0x2B09180E: mov ecx, dword ptr [esi + 4] */ 13479 edx = MEM32(esi + 0x8); /* 0x2B091811: mov edx, dword ptr [esi + 8] */ 13480 MEM32(ecx + 0x4) = edx; /* 0x2B091814: mov dword ptr [ecx + 4], edx */ 13481 eax = MEM32(esi + 0x4); /* 0x2B091817: mov eax, dword ptr [esi + 4] */ 13482 MEM32(esi + 0x10) = ebx; /* 0x2B09181A: mov dword ptr [esi + 0x10], ebx */ 13483 MEM32(eax) = eax; /* 0x2B09181D: mov dword ptr [eax], eax */ 13484 eax = MEM32(esi + 0x4); /* 0x2B09181F: mov eax, dword ptr [esi + 4] */ 13485 MEM32(eax + 0x8) = eax; /* 0x2B091822: mov dword ptr [eax + 8], eax */ 13486 goto L_2B09184A; /* 0x2B091825: jmp 0x2b09184a */ 13487 L_2B091827: 13488 /* cmp eax, edi */ /* 0x2B091827: cmp eax, edi */ 13489 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13491 _flag_k = FK_CMP; 13492 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09184A; /* 0x2B091829: je 0x2b09184a */ 13493 L_2B09182B: 13494 ecx = ebp + (-0x10); /* 0x2B09182B: lea ecx, [ebp - 0x10] */ 13495 ebx = eax; /* 0x2B09182E: mov ebx, eax */ 13496 RECOMP_ICALL(0x2B02A660u); /* 0x2B091830: call 0x2b02a660 */ /* not lifted */ 13497 RECOMP_FLAGS_IN(); 13498 PUSH32(esp, ebx); /* 0x2B091835: push ebx */ 13499 eax = ebp + (-0x14); /* 0x2B091836: lea eax, [ebp - 0x14] */ 13500 PUSH32(esp, eax); /* 0x2B091839: push eax */ 13501 ecx = esi; /* 0x2B09183A: mov ecx, esi */ 13502 RECOMP_ICALL(0x2B092150u); /* 0x2B09183C: call 0x2b092150 */ /* not lifted */ 13503 RECOMP_FLAGS_IN(); 13504 eax = MEM32(ebp + (-0x10)); /* 0x2B091841: mov eax, dword ptr [ebp - 0x10] */ 13505 /* cmp eax, edi */ /* 0x2B091844: cmp eax, edi */ 13506 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13508 _flag_k = FK_CMP; 13509 RECOMP_BACKEDGE(); 13510 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09182B; /* 0x2B091846: jne 0x2b09182b */ 13511 L_2B091848: 13512 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13513 ebx = 0; /* 0x2B091848: xor ebx, ebx */ 13514 _cf = 0; 13515 _flag_k = FK_TEST; 13516 L_2B09184A: 13517 ecx = MEM32(esi + 0x4); /* 0x2B09184A: mov ecx, dword ptr [esi + 4] */ 13518 PUSH32(esp, ecx); /* 0x2B09184D: push ecx */ 13519 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09184E: call 0x2b0ab1ba */ /* not lifted */ 13520 RECOMP_FLAGS_IN(); 13521 edx = MEM32(esi + 0x8); /* 0x2B091853: mov edx, dword ptr [esi + 8] */ 13522 PUSH32(esp, edx); /* 0x2B091856: push edx */ 13523 MEM32(esi + 0x4) = ebx; /* 0x2B091857: mov dword ptr [esi + 4], ebx */ 13524 MEM32(esi + 0x10) = ebx; /* 0x2B09185A: mov dword ptr [esi + 0x10], ebx */ 13525 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09185D: call 0x2b0ab1ba */ /* not lifted */ 13526 RECOMP_FLAGS_IN(); 13527 ecx = MEM32(ebp + (-0xC)); /* 0x2B091862: mov ecx, dword ptr [ebp - 0xc] */ 13528 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13529 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13530 esp = esp + 8; /* 0x2B091865: add esp, 8 */ 13531 _flag_k = FK_ADD; 13532 MEM32(esi + 0x8) = ebx; /* 0x2B091868: mov dword ptr [esi + 8], ebx */ 13533 edi = POP32_VAL(esp); /* 0x2B09186B: pop edi */ 13534 esi = POP32_VAL(esp); /* 0x2B09186C: pop esi */ 13535 ebx = POP32_VAL(esp); /* 0x2B09186D: pop ebx */ 13536 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09186E: mov dword ptr fs:[0], ecx */ 13537 esp = ebp; /* 0x2B091875: mov esp, ebp */ 13538 ebp = POP32_VAL(esp); /* 0x2B091877: pop ebp */ 13539 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091878: ret */ 13540 RECOMP_REGS_OUT(); 13541 } 13542 13543 void sub_2B09184A(void) { 13544 int _fpu_cmp = 0; 13545 uint32_t _cf = 0; 13546 int _df = 1; 13547 uint32_t _flag_k = FK_NONE; 13548 uint32_t _flag_a = 0, _flag_b = 0; 13549 uint32_t _itail_tgt = 0; 13550 RECOMP_REGS_LOCALS 13551 RECOMP_ENTER(0x2B09184Au); 13552 13553 L_2B09184A: 13554 ecx = MEM32(esi + 0x4); /* 0x2B09184A: mov ecx, dword ptr [esi + 4] */ 13555 PUSH32(esp, ecx); /* 0x2B09184D: push ecx */ 13556 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09184E: call 0x2b0ab1ba */ /* not lifted */ 13557 RECOMP_FLAGS_IN(); 13558 edx = MEM32(esi + 0x8); /* 0x2B091853: mov edx, dword ptr [esi + 8] */ 13559 PUSH32(esp, edx); /* 0x2B091856: push edx */ 13560 MEM32(esi + 0x4) = ebx; /* 0x2B091857: mov dword ptr [esi + 4], ebx */ 13561 MEM32(esi + 0x10) = ebx; /* 0x2B09185A: mov dword ptr [esi + 0x10], ebx */ 13562 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09185D: call 0x2b0ab1ba */ /* not lifted */ 13563 RECOMP_FLAGS_IN(); 13564 ecx = MEM32(ebp + (-0xC)); /* 0x2B091862: mov ecx, dword ptr [ebp - 0xc] */ 13565 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13567 esp = esp + 8; /* 0x2B091865: add esp, 8 */ 13568 _flag_k = FK_ADD; 13569 MEM32(esi + 0x8) = ebx; /* 0x2B091868: mov dword ptr [esi + 8], ebx */ 13570 edi = POP32_VAL(esp); /* 0x2B09186B: pop edi */ 13571 esi = POP32_VAL(esp); /* 0x2B09186C: pop esi */ 13572 ebx = POP32_VAL(esp); /* 0x2B09186D: pop ebx */ 13573 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09186E: mov dword ptr fs:[0], ecx */ 13574 esp = ebp; /* 0x2B091875: mov esp, ebp */ 13575 ebp = POP32_VAL(esp); /* 0x2B091877: pop ebp */ 13576 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091878: ret */ 13577 RECOMP_REGS_OUT(); 13578 } 13579 13580 void sub_2B091880(void) { 13581 int _fpu_cmp = 0; 13582 uint32_t _cf = 0; 13583 int _df = 1; 13584 uint32_t _flag_k = FK_NONE; 13585 uint32_t _flag_a = 0, _flag_b = 0; 13586 uint32_t _itail_tgt = 0; 13587 RECOMP_REGS_LOCALS 13588 RECOMP_ENTER(0x2B091880u); 13589 13590 L_2B091880: 13591 PUSH32(esp, ebp); /* 0x2B091880: push ebp */ 13592 ebp = esp; /* 0x2B091881: mov ebp, esp */ 13593 PUSH32(esp, esi); /* 0x2B091883: push esi */ 13594 esi = ecx; /* 0x2B091884: mov esi, ecx */ 13595 RECOMP_ICALL(0x2B091790u); /* 0x2B091886: call 0x2b091790 */ /* not lifted */ 13596 RECOMP_FLAGS_IN(); 13597 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B09188B: test byte ptr [ebp + 8], 1 */ 13598 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 13599 _cf = 0; 13600 _flag_k = FK_NARROW(FK_TEST, 24); 13601 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09189A; /* 0x2B09188F: je 0x2b09189a */ 13602 L_2B091891: 13603 PUSH32(esp, esi); /* 0x2B091891: push esi */ 13604 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091892: call 0x2b0ab1ba */ /* not lifted */ 13605 RECOMP_FLAGS_IN(); 13606 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13608 esp = esp + 4; /* 0x2B091897: add esp, 4 */ 13609 _flag_k = FK_ADD; 13610 L_2B09189A: 13611 eax = esi; /* 0x2B09189A: mov eax, esi */ 13612 esi = POP32_VAL(esp); /* 0x2B09189C: pop esi */ 13613 ebp = POP32_VAL(esp); /* 0x2B09189D: pop ebp */ 13614 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B09189E: ret 4 */ 13615 RECOMP_REGS_OUT(); 13616 } 13617 13618 void sub_2B0918B0(void) { 13619 int _fpu_cmp = 0; 13620 uint32_t _cf = 0; 13621 int _df = 1; 13622 uint32_t _flag_k = FK_NONE; 13623 uint32_t _flag_a = 0, _flag_b = 0; 13624 uint32_t _itail_tgt = 0; 13625 RECOMP_REGS_LOCALS 13626 RECOMP_ENTER(0x2B0918B0u); 13627 13628 L_2B0918B0: 13629 PUSH32(esp, ebp); /* 0x2B0918B0: push ebp */ 13630 ebp = esp; /* 0x2B0918B1: mov ebp, esp */ 13631 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13633 esp = esp - 8; /* 0x2B0918B3: sub esp, 8 */ 13634 _flag_k = FK_CMP; 13635 PUSH32(esp, ebx); /* 0x2B0918B6: push ebx */ 13636 PUSH32(esp, esi); /* 0x2B0918B7: push esi */ 13637 esi = ecx; /* 0x2B0918B8: mov esi, ecx */ 13638 ecx = MEM32(esi + 0x10); /* 0x2B0918BA: mov ecx, dword ptr [esi + 0x10] */ 13639 /* test ecx, ecx */ /* 0x2B0918BD: test ecx, ecx */ 13640 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13641 _cf = 0; 13642 _flag_k = FK_TEST; 13643 PUSH32(esp, edi); /* 0x2B0918BF: push edi */ 13644 edi = MEM32(esi + 0x4); /* 0x2B0918C0: mov edi, dword ptr [esi + 4] */ 13645 eax = MEM32(edi); /* 0x2B0918C3: mov eax, dword ptr [edi] */ 13646 MEM32(ebp + (-0x4)) = eax; /* 0x2B0918C5: mov dword ptr [ebp - 4], eax */ 13647 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918C8: je 0x2b09192f */ 13648 L_2B0918CA: 13649 ecx = eax; /* 0x2B0918CA: mov ecx, eax */ 13650 /* cmp eax, ecx */ /* 0x2B0918CC: cmp eax, ecx */ 13651 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13653 _flag_k = FK_CMP; 13654 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918CE: jne 0x2b09192f */ 13655 L_2B0918D0: 13656 /* cmp edi, edi */ /* 0x2B0918D0: cmp edi, edi */ 13657 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13659 _flag_k = FK_CMP; 13660 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918D2: jne 0x2b09192f */ 13661 L_2B0918D4: 13662 ebx = MEM32(edi + 0x4); /* 0x2B0918D4: mov ebx, dword ptr [edi + 4] */ 13663 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0918D7: cmp ebx, dword ptr [esi + 8] */ 13664 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13666 _flag_k = FK_CMP; 13667 edi = ebx; /* 0x2B0918DA: mov edi, ebx */ 13668 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091907; /* 0x2B0918DC: je 0x2b091907 */ 13669 L_2B0918DE: 13670 eax = MEM32(edi + 0x8); /* 0x2B0918DE: mov eax, dword ptr [edi + 8] */ 13671 PUSH32(esp, eax); /* 0x2B0918E1: push eax */ 13672 ecx = esi; /* 0x2B0918E2: mov ecx, esi */ 13673 RECOMP_ICALL(0x2B092520u); /* 0x2B0918E4: call 0x2b092520 */ /* not lifted */ 13674 RECOMP_FLAGS_IN(); 13675 edi = MEM32(edi); /* 0x2B0918E9: mov edi, dword ptr [edi] */ 13676 PUSH32(esp, 0); /* 0x2B0918EB: push 0 */ 13677 ecx = ebx + 0xC; /* 0x2B0918ED: lea ecx, [ebx + 0xc] */ 13678 RECOMP_ICALL(0x2B092570u); /* 0x2B0918F0: call 0x2b092570 */ /* not lifted */ 13679 RECOMP_FLAGS_IN(); 13680 PUSH32(esp, ebx); /* 0x2B0918F5: push ebx */ 13681 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0918F6: call 0x2b0ab1ba */ /* not lifted */ 13682 RECOMP_FLAGS_IN(); 13683 eax = MEM32(esi + 0x8); /* 0x2B0918FB: mov eax, dword ptr [esi + 8] */ 13684 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13685 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13686 esp = esp + 4; /* 0x2B0918FE: add esp, 4 */ 13687 _flag_k = FK_ADD; 13688 /* cmp edi, eax */ /* 0x2B091901: cmp edi, eax */ 13689 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13691 _flag_k = FK_CMP; 13692 ebx = edi; /* 0x2B091903: mov ebx, edi */ 13693 RECOMP_BACKEDGE(); 13694 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0918DE; /* 0x2B091905: jne 0x2b0918de */ 13695 L_2B091907: 13696 ecx = MEM32(esi + 0x4); /* 0x2B091907: mov ecx, dword ptr [esi + 4] */ 13697 edx = MEM32(esi + 0x8); /* 0x2B09190A: mov edx, dword ptr [esi + 8] */ 13698 MEM32(ecx + 0x4) = edx; /* 0x2B09190D: mov dword ptr [ecx + 4], edx */ 13699 eax = MEM32(esi + 0x4); /* 0x2B091910: mov eax, dword ptr [esi + 4] */ 13700 MEM32(esi + 0x10) = 0; /* 0x2B091913: mov dword ptr [esi + 0x10], 0 */ 13701 MEM32(eax) = eax; /* 0x2B09191A: mov dword ptr [eax], eax */ 13702 eax = MEM32(esi + 0x4); /* 0x2B09191C: mov eax, dword ptr [esi + 4] */ 13703 MEM32(eax + 0x8) = eax; /* 0x2B09191F: mov dword ptr [eax + 8], eax */ 13704 eax = ebp + (-0x8); /* 0x2B091922: lea eax, [ebp - 8] */ 13705 PUSH32(esp, eax); /* 0x2B091925: push eax */ 13706 ecx = esi; /* 0x2B091926: mov ecx, esi */ 13707 RECOMP_ICALL(0x2B018B60u); /* 0x2B091928: call 0x2b018b60 */ /* not lifted */ 13708 RECOMP_FLAGS_IN(); 13709 goto L_2B091950; /* 0x2B09192D: jmp 0x2b091950 */ 13710 L_2B09192F: 13711 /* cmp eax, edi */ /* 0x2B09192F: cmp eax, edi */ 13712 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13714 _flag_k = FK_CMP; 13715 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091950; /* 0x2B091931: je 0x2b091950 */ 13716 L_2B091933: 13717 ecx = ebp + (-0x4); /* 0x2B091933: lea ecx, [ebp - 4] */ 13718 ebx = eax; /* 0x2B091936: mov ebx, eax */ 13719 RECOMP_ICALL(0x2B02A660u); /* 0x2B091938: call 0x2b02a660 */ /* not lifted */ 13720 RECOMP_FLAGS_IN(); 13721 PUSH32(esp, ebx); /* 0x2B09193D: push ebx */ 13722 ecx = ebp + (-0x8); /* 0x2B09193E: lea ecx, [ebp - 8] */ 13723 PUSH32(esp, ecx); /* 0x2B091941: push ecx */ 13724 ecx = esi; /* 0x2B091942: mov ecx, esi */ 13725 RECOMP_ICALL(0x2B092150u); /* 0x2B091944: call 0x2b092150 */ /* not lifted */ 13726 RECOMP_FLAGS_IN(); 13727 eax = MEM32(ebp + (-0x4)); /* 0x2B091949: mov eax, dword ptr [ebp - 4] */ 13728 /* cmp eax, edi */ /* 0x2B09194C: cmp eax, edi */ 13729 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13731 _flag_k = FK_CMP; 13732 RECOMP_BACKEDGE(); 13733 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091933; /* 0x2B09194E: jne 0x2b091933 */ 13734 L_2B091950: 13735 edx = MEM32(esi + 0x4); /* 0x2B091950: mov edx, dword ptr [esi + 4] */ 13736 PUSH32(esp, edx); /* 0x2B091953: push edx */ 13737 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091954: call 0x2b0ab1ba */ /* not lifted */ 13738 RECOMP_FLAGS_IN(); 13739 eax = MEM32(esi + 0x8); /* 0x2B091959: mov eax, dword ptr [esi + 8] */ 13740 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13741 edi = 0; /* 0x2B09195C: xor edi, edi */ 13742 _cf = 0; 13743 _flag_k = FK_TEST; 13744 PUSH32(esp, eax); /* 0x2B09195E: push eax */ 13745 MEM32(esi + 0x4) = edi; /* 0x2B09195F: mov dword ptr [esi + 4], edi */ 13746 MEM32(esi + 0x10) = edi; /* 0x2B091962: mov dword ptr [esi + 0x10], edi */ 13747 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091965: call 0x2b0ab1ba */ /* not lifted */ 13748 RECOMP_FLAGS_IN(); 13749 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13750 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13751 esp = esp + 8; /* 0x2B09196A: add esp, 8 */ 13752 _flag_k = FK_ADD; 13753 MEM32(esi + 0x8) = edi; /* 0x2B09196D: mov dword ptr [esi + 8], edi */ 13754 edi = POP32_VAL(esp); /* 0x2B091970: pop edi */ 13755 esi = POP32_VAL(esp); /* 0x2B091971: pop esi */ 13756 ebx = POP32_VAL(esp); /* 0x2B091972: pop ebx */ 13757 esp = ebp; /* 0x2B091973: mov esp, ebp */ 13758 ebp = POP32_VAL(esp); /* 0x2B091975: pop ebp */ 13759 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091976: ret */ 13760 RECOMP_REGS_OUT(); 13761 } 13762 13763 void sub_2B091950(void) { 13764 int _fpu_cmp = 0; 13765 uint32_t _cf = 0; 13766 int _df = 1; 13767 uint32_t _flag_k = FK_NONE; 13768 uint32_t _flag_a = 0, _flag_b = 0; 13769 uint32_t _itail_tgt = 0; 13770 RECOMP_REGS_LOCALS 13771 RECOMP_ENTER(0x2B091950u); 13772 13773 L_2B091950: 13774 edx = MEM32(esi + 0x4); /* 0x2B091950: mov edx, dword ptr [esi + 4] */ 13775 PUSH32(esp, edx); /* 0x2B091953: push edx */ 13776 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091954: call 0x2b0ab1ba */ /* not lifted */ 13777 RECOMP_FLAGS_IN(); 13778 eax = MEM32(esi + 0x8); /* 0x2B091959: mov eax, dword ptr [esi + 8] */ 13779 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13780 edi = 0; /* 0x2B09195C: xor edi, edi */ 13781 _cf = 0; 13782 _flag_k = FK_TEST; 13783 PUSH32(esp, eax); /* 0x2B09195E: push eax */ 13784 MEM32(esi + 0x4) = edi; /* 0x2B09195F: mov dword ptr [esi + 4], edi */ 13785 MEM32(esi + 0x10) = edi; /* 0x2B091962: mov dword ptr [esi + 0x10], edi */ 13786 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091965: call 0x2b0ab1ba */ /* not lifted */ 13787 RECOMP_FLAGS_IN(); 13788 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13790 esp = esp + 8; /* 0x2B09196A: add esp, 8 */ 13791 _flag_k = FK_ADD; 13792 MEM32(esi + 0x8) = edi; /* 0x2B09196D: mov dword ptr [esi + 8], edi */ 13793 edi = POP32_VAL(esp); /* 0x2B091970: pop edi */ 13794 esi = POP32_VAL(esp); /* 0x2B091971: pop esi */ 13795 ebx = POP32_VAL(esp); /* 0x2B091972: pop ebx */ 13796 esp = ebp; /* 0x2B091973: mov esp, ebp */ 13797 ebp = POP32_VAL(esp); /* 0x2B091975: pop ebp */ 13798 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091976: ret */ 13799 RECOMP_REGS_OUT(); 13800 } 13801 13802 void sub_2B091980(void) { 13803 int _fpu_cmp = 0; 13804 uint32_t _cf = 0; 13805 int _df = 1; 13806 uint32_t _flag_k = FK_NONE; 13807 uint32_t _flag_a = 0, _flag_b = 0; 13808 uint32_t _itail_tgt = 0; 13809 RECOMP_REGS_LOCALS 13810 RECOMP_ENTER(0x2B091980u); 13811 13812 L_2B091980: 13813 eax = MEM32(0x2B0EF114); /* 0x2B091980: mov eax, dword ptr [0x2b0ef114] */ 13814 ecx = MEM32(eax); /* 0x2B091985: mov ecx, dword ptr [eax] */ 13815 /* test ecx, ecx */ /* 0x2B091987: test ecx, ecx */ 13816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13817 _cf = 0; 13818 _flag_k = FK_TEST; 13819 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091990; /* 0x2B091989: je 0x2b091990 */ 13820 L_2B09198B: 13821 goto L_2B093C70; /* 0x2B09198B: jmp 0x2b093c70 */ 13822 L_2B091990: 13823 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091990: ret */ 13824 L_2B093C70: 13825 eax = MEM32(ecx + 0x38); /* 0x2B093C70: mov eax, dword ptr [ecx + 0x38] */ 13826 /* test eax, eax */ /* 0x2B093C73: test eax, eax */ 13827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13828 _cf = 0; 13829 _flag_k = FK_TEST; 13830 if (TEST_Z(_flag_a, _flag_b)) goto L_2B093C7C; /* 0x2B093C75: je 0x2b093c7c */ 13831 L_2B093C77: 13832 goto L_2B095BF0; /* 0x2B093C77: jmp 0x2b095bf0 */ 13833 L_2B093C7C: 13834 MEM32(ecx + 0x88) = 0; /* 0x2B093C7C: mov dword ptr [ecx + 0x88], 0 */ 13835 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B093C86: ret */ 13836 L_2B095BF0: 13837 PUSH32(esp, ebp); /* 0x2B095BF0: push ebp */ 13838 ebp = esp; /* 0x2B095BF1: mov ebp, esp */ 13839 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13841 esp = esp - 8; /* 0x2B095BF3: sub esp, 8 */ 13842 _flag_k = FK_CMP; 13843 PUSH32(esp, esi); /* 0x2B095BF6: push esi */ 13844 esi = ecx; /* 0x2B095BF7: mov esi, ecx */ 13845 MEM32(esi + 0x80) = 3; /* 0x2B095BF9: mov dword ptr [esi + 0x80], 3 */ 13846 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B095C03: call dword ptr [0x2b0b5b64] */ 13847 RECOMP_FLAGS_IN(); 13848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 13849 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13850 eax = eax + 0xD4u; /* 0x2B095C09: add eax, 0xd4 */ 13851 _flag_k = FK_ADD; 13852 ecx = ebp + (-0x8); /* 0x2B095C0E: lea ecx, [ebp - 8] */ 13853 /* cmp ecx, eax */ /* 0x2B095C11: cmp ecx, eax */ 13854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 13855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13856 _flag_k = FK_CMP; 13857 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B095C20; /* 0x2B095C13: je 0x2b095c20 */ 13858 L_2B095C15: 13859 edx = MEM32(eax); /* 0x2B095C15: mov edx, dword ptr [eax] */ 13860 MEM32(ebp + (-0x8)) = edx; /* 0x2B095C17: mov dword ptr [ebp - 8], edx */ 13861 eax = MEM32(eax + 0x4); /* 0x2B095C1A: mov eax, dword ptr [eax + 4] */ 13862 MEM32(ebp + (-0x4)) = eax; /* 0x2B095C1D: mov dword ptr [ebp - 4], eax */ 13863 L_2B095C20: 13864 PUSH32(esp, 0); /* 0x2B095C20: push 0 */ 13865 PUSH32(esp, 0); /* 0x2B095C22: push 0 */ 13866 ecx = esi + 0x3C; /* 0x2B095C24: lea ecx, [esi + 0x3c] */ 13867 PUSH32(esp, ecx); /* 0x2B095C27: push ecx */ 13868 edx = ebp + (-0x8); /* 0x2B095C28: lea edx, [ebp - 8] */ 13869 PUSH32(esp, edx); /* 0x2B095C2B: push edx */ 13870 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B095C2C: call dword ptr [0x2b0b5d6c] */ 13871 RECOMP_FLAGS_IN(); 13872 ecx = eax; /* 0x2B095C32: mov ecx, eax */ 13873 RECOMP_ICALL(MEM32(0x2B0B5CEC)); /* 0x2B095C34: call dword ptr [0x2b0b5cec] */ 13874 RECOMP_FLAGS_IN(); 13875 MEM8(esi + 0xA5) = (uint8_t)(1); /* 0x2B095C3A: mov byte ptr [esi + 0xa5], 1 */ 13876 esi = POP32_VAL(esp); /* 0x2B095C41: pop esi */ 13877 esp = ebp; /* 0x2B095C42: mov esp, ebp */ 13878 ebp = POP32_VAL(esp); /* 0x2B095C44: pop ebp */ 13879 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B095C45: ret */ 13880 RECOMP_REGS_OUT(); 13881 } 13882 13883 void sub_2B0919A0(void) { 13884 int _fpu_cmp = 0; 13885 uint32_t _cf = 0; 13886 int _df = 1; 13887 uint32_t _flag_k = FK_NONE; 13888 uint32_t _flag_a = 0, _flag_b = 0; 13889 uint32_t _itail_tgt = 0; 13890 RECOMP_REGS_LOCALS 13891 RECOMP_ENTER(0x2B0919A0u); 13892 13893 L_2B0919A0: 13894 PUSH32(esp, ebp); /* 0x2B0919A0: push ebp */ 13895 ebp = esp; /* 0x2B0919A1: mov ebp, esp */ 13896 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0919A3: push -1 */ 13897 PUSH32(esp, 0x2B0B2C61u); /* 0x2B0919A5: push 0x2b0b2c61 */ 13898 eax = MEM32(FS_BASE + (0)); /* 0x2B0919AA: mov eax, dword ptr fs:[0] */ 13899 PUSH32(esp, eax); /* 0x2B0919B0: push eax */ 13900 MEM32(FS_BASE + (0)) = esp; /* 0x2B0919B1: mov dword ptr fs:[0], esp */ 13901 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x5Cu); 13902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13903 esp = esp - 0x5Cu; /* 0x2B0919B8: sub esp, 0x5c */ 13904 _flag_k = FK_CMP; 13905 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B0919BB: mov al, byte ptr [ebp - 0xd] */ 13906 PUSH32(esp, ebx); /* 0x2B0919BE: push ebx */ 13907 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13908 ebx = 0; /* 0x2B0919BF: xor ebx, ebx */ 13909 _cf = 0; 13910 _flag_k = FK_TEST; 13911 PUSH32(esp, esi); /* 0x2B0919C1: push esi */ 13912 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(eax)); /* 0x2B0919C2: mov byte ptr [ebp - 0x28], al */ 13913 MEM32(ebp + (-0x24)) = ebx; /* 0x2B0919C5: mov dword ptr [ebp - 0x24], ebx */ 13914 MEM32(ebp + (-0x20)) = ebx; /* 0x2B0919C8: mov dword ptr [ebp - 0x20], ebx */ 13915 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B0919CB: mov dword ptr [ebp - 0x1c], ebx */ 13916 esi = MEM32(0x2B0B53CC); /* 0x2B0919CE: mov esi, dword ptr [0x2b0b53cc] */ 13917 ecx = ebp + (-0x14); /* 0x2B0919D4: lea ecx, [ebp - 0x14] */ 13918 PUSH32(esp, ecx); /* 0x2B0919D7: push ecx */ 13919 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0919D8: mov dword ptr [ebp - 4], ebx */ 13920 RECOMP_ICALL(esi); /* 0x2B0919DB: call esi */ 13921 RECOMP_FLAGS_IN(); 13922 ecx = eax; /* 0x2B0919DD: mov ecx, eax */ 13923 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B0919DF: call dword ptr [0x2b0b53a8] */ 13924 RECOMP_FLAGS_IN(); 13925 RECOMP_ICALL(esi); /* 0x2B0919E5: call esi */ 13926 RECOMP_FLAGS_IN(); 13927 ecx = eax; /* 0x2B0919E7: mov ecx, eax */ 13928 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B0919E9: call dword ptr [0x2b0b53a4] */ 13929 RECOMP_FLAGS_IN(); 13930 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0919EF: push -1 */ 13931 ecx = ebp + (-0x68); /* 0x2B0919F1: lea ecx, [ebp - 0x68] */ 13932 esi = eax; /* 0x2B0919F4: mov esi, eax */ 13933 RECOMP_ICALL(MEM32(0x2B0B5448)); /* 0x2B0919F6: call dword ptr [0x2b0b5448] */ 13934 RECOMP_FLAGS_IN(); 13935 edx = MEM32(ebp + (-0x14)); /* 0x2B0919FC: mov edx, dword ptr [ebp - 0x14] */ 13936 PUSH32(esp, edx); /* 0x2B0919FF: push edx */ 13937 PUSH32(esp, esi); /* 0x2B091A00: push esi */ 13938 ecx = ebp + (-0x68); /* 0x2B091A01: lea ecx, [ebp - 0x68] */ 13939 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B091A04: mov byte ptr [ebp - 4], 1 */ 13940 RECOMP_ICALL(MEM32(0x2B0B545C)); /* 0x2B091A08: call dword ptr [0x2b0b545c] */ 13941 RECOMP_FLAGS_IN(); 13942 PUSH32(esp, ebx); /* 0x2B091A0E: push ebx */ 13943 eax = ebp + (-0x18); /* 0x2B091A0F: lea eax, [ebp - 0x18] */ 13944 PUSH32(esp, eax); /* 0x2B091A12: push eax */ 13945 PUSH32(esp, 0x2B0ED344u); /* 0x2B091A13: push 0x2b0ed344 */ 13946 ecx = ebp + (-0x68); /* 0x2B091A18: lea ecx, [ebp - 0x68] */ 13947 RECOMP_ICALL(MEM32(0x2B0B544C)); /* 0x2B091A1B: call dword ptr [0x2b0b544c] */ 13948 RECOMP_FLAGS_IN(); 13949 /* cmp eax, ebx */ /* 0x2B091A21: cmp eax, ebx */ 13950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13952 _flag_k = FK_CMP; 13953 esi = MEM32(ebp + (-0x18)); /* 0x2B091A23: mov esi, dword ptr [ebp - 0x18] */ 13954 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091A2B; /* 0x2B091A26: je 0x2b091a2b */ 13955 L_2B091A28: 13956 esi = MEM32(ebp + (-0x18)); /* 0x2B091A28: mov esi, dword ptr [ebp - 0x18] */ 13957 L_2B091A2B: 13958 PUSH32(esp, ebx); /* 0x2B091A2B: push ebx */ 13959 ecx = ebp + (-0x28); /* 0x2B091A2C: lea ecx, [ebp - 0x28] */ 13960 PUSH32(esp, ecx); /* 0x2B091A2F: push ecx */ 13961 PUSH32(esp, 0x2B0ED334u); /* 0x2B091A30: push 0x2b0ed334 */ 13962 ecx = ebp + (-0x68); /* 0x2B091A35: lea ecx, [ebp - 0x68] */ 13963 RECOMP_ICALL(MEM32(0x2B0B5450)); /* 0x2B091A38: call dword ptr [0x2b0b5450] */ 13964 RECOMP_FLAGS_IN(); 13965 edx = MEM32(0x2B0EF114); /* 0x2B091A3E: mov edx, dword ptr [0x2b0ef114] */ 13966 ecx = MEM32(edx); /* 0x2B091A44: mov ecx, dword ptr [edx] */ 13967 /* cmp ecx, ebx */ /* 0x2B091A46: cmp ecx, ebx */ 13968 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13970 _flag_k = FK_CMP; 13971 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091A54; /* 0x2B091A48: je 0x2b091a54 */ 13972 L_2B091A4A: 13973 PUSH32(esp, esi); /* 0x2B091A4A: push esi */ 13974 eax = ebp + (-0x28); /* 0x2B091A4B: lea eax, [ebp - 0x28] */ 13975 PUSH32(esp, eax); /* 0x2B091A4E: push eax */ 13976 RECOMP_ICALL(0x2B0945B0u); /* 0x2B091A4F: call 0x2b0945b0 */ /* not lifted */ 13977 RECOMP_FLAGS_IN(); 13978 L_2B091A54: 13979 MEM32(ebp + (-0x68)) = 0x2B0B71A8u; /* 0x2B091A54: mov dword ptr [ebp - 0x68], 0x2b0b71a8 */ 13980 ecx = ebp + (-0x68); /* 0x2B091A5B: lea ecx, [ebp - 0x68] */ 13981 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B091A5E: mov byte ptr [ebp - 4], 3 */ 13982 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B091A62: call dword ptr [0x2b0b5454] */ 13983 RECOMP_FLAGS_IN(); 13984 ecx = MEM32(ebp + (-0x34)); /* 0x2B091A68: mov ecx, dword ptr [ebp - 0x34] */ 13985 PUSH32(esp, ecx); /* 0x2B091A6B: push ecx */ 13986 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091A6C: call 0x2b0ab1ba */ /* not lifted */ 13987 RECOMP_FLAGS_IN(); 13988 eax = MEM32(ebp + (-0x60)); /* 0x2B091A71: mov eax, dword ptr [ebp - 0x60] */ 13989 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13990 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13991 esp = esp + 4; /* 0x2B091A74: add esp, 4 */ 13992 _flag_k = FK_ADD; 13993 MEM32(ebp + (-0x34)) = ebx; /* 0x2B091A77: mov dword ptr [ebp - 0x34], ebx */ 13994 MEM32(ebp + (-0x30)) = ebx; /* 0x2B091A7A: mov dword ptr [ebp - 0x30], ebx */ 13995 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B091A7D: mov dword ptr [ebp - 0x2c], ebx */ 13996 ecx = MEM32(eax); /* 0x2B091A80: mov ecx, dword ptr [eax] */ 13997 PUSH32(esp, eax); /* 0x2B091A82: push eax */ 13998 PUSH32(esp, ecx); /* 0x2B091A83: push ecx */ 13999 edx = ebp + (-0x18); /* 0x2B091A84: lea edx, [ebp - 0x18] */ 14000 PUSH32(esp, edx); /* 0x2B091A87: push edx */ 14001 ecx = ebp + (-0x64); /* 0x2B091A88: lea ecx, [ebp - 0x64] */ 14002 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B091A8B: mov byte ptr [ebp - 4], bl */ 14003 RECOMP_ICALL(0x2B0920A0u); /* 0x2B091A8E: call 0x2b0920a0 */ /* not lifted */ 14004 RECOMP_FLAGS_IN(); 14005 eax = MEM32(ebp + (-0x60)); /* 0x2B091A93: mov eax, dword ptr [ebp - 0x60] */ 14006 PUSH32(esp, eax); /* 0x2B091A96: push eax */ 14007 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091A97: call 0x2b0ab1ba */ /* not lifted */ 14008 RECOMP_FLAGS_IN(); 14009 ecx = MEM32(ebp + (-0x5C)); /* 0x2B091A9C: mov ecx, dword ptr [ebp - 0x5c] */ 14010 PUSH32(esp, ecx); /* 0x2B091A9F: push ecx */ 14011 MEM32(ebp + (-0x60)) = ebx; /* 0x2B091AA0: mov dword ptr [ebp - 0x60], ebx */ 14012 MEM32(ebp + (-0x54)) = ebx; /* 0x2B091AA3: mov dword ptr [ebp - 0x54], ebx */ 14013 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091AA6: call 0x2b0ab1ba */ /* not lifted */ 14014 RECOMP_FLAGS_IN(); 14015 ecx = MEM32(ebp + (-0x24)); /* 0x2B091AAB: mov ecx, dword ptr [ebp - 0x24] */ 14016 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14017 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14018 esp = esp + 8; /* 0x2B091AAE: add esp, 8 */ 14019 _flag_k = FK_ADD; 14020 /* cmp ecx, ebx */ /* 0x2B091AB1: cmp ecx, ebx */ 14021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 14022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14023 _flag_k = FK_CMP; 14024 MEM32(ebp + (-0x5C)) = ebx; /* 0x2B091AB3: mov dword ptr [ebp - 0x5c], ebx */ 14025 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091AE2; /* 0x2B091AB6: je 0x2b091ae2 */ 14026 L_2B091AB8: 14027 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B091AB8: mov al, byte ptr [ecx - 1] */ 14028 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B091ABB: cmp al, bl */ 14029 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14031 _flag_k = FK_NARROW(FK_CMP, 24); 14032 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091AD8; /* 0x2B091ABD: je 0x2b091ad8 */ 14033 L_2B091ABF: 14034 /* cmp LO8(eax), 0xFFu */ /* 0x2B091ABF: cmp al, 0xff */ 14035 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 14036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14037 _flag_k = FK_NARROW(FK_CMP, 24); 14038 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091AD8; /* 0x2B091AC1: je 0x2b091ad8 */ 14039 L_2B091AC3: 14040 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 14041 SET_LO8(eax, LO8(eax) - 1); /* 0x2B091AC3: dec al */ 14042 _flag_k = FK_NARROW(FK_DEC, 24); 14043 esi = POP32_VAL(esp); /* 0x2B091AC5: pop esi */ 14044 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B091AC6: mov byte ptr [ecx - 1], al */ 14045 ebx = POP32_VAL(esp); /* 0x2B091AC9: pop ebx */ 14046 ecx = MEM32(ebp + (-0xC)); /* 0x2B091ACA: mov ecx, dword ptr [ebp - 0xc] */ 14047 MEM32(FS_BASE + (0)) = ecx; /* 0x2B091ACD: mov dword ptr fs:[0], ecx */ 14048 esp = ebp; /* 0x2B091AD4: mov esp, ebp */ 14049 ebp = POP32_VAL(esp); /* 0x2B091AD6: pop ebp */ 14050 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091AD7: ret */ 14051 L_2B091AD8: 14052 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14053 ecx = ecx - 1; /* 0x2B091AD8: dec ecx */ 14054 _flag_k = FK_DEC; 14055 PUSH32(esp, ecx); /* 0x2B091AD9: push ecx */ 14056 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091ADA: call 0x2b0ab1ba */ /* not lifted */ 14057 RECOMP_FLAGS_IN(); 14058 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14059 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14060 esp = esp + 4; /* 0x2B091ADF: add esp, 4 */ 14061 _flag_k = FK_ADD; 14062 L_2B091AE2: 14063 ecx = MEM32(ebp + (-0xC)); /* 0x2B091AE2: mov ecx, dword ptr [ebp - 0xc] */ 14064 esi = POP32_VAL(esp); /* 0x2B091AE5: pop esi */ 14065 ebx = POP32_VAL(esp); /* 0x2B091AE6: pop ebx */ 14066 MEM32(FS_BASE + (0)) = ecx; /* 0x2B091AE7: mov dword ptr fs:[0], ecx */ 14067 esp = ebp; /* 0x2B091AEE: mov esp, ebp */ 14068 ebp = POP32_VAL(esp); /* 0x2B091AF0: pop ebp */ 14069 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091AF1: ret */ 14070 RECOMP_REGS_OUT(); 14071 } 14072 14073 void sub_2B091B00(void) { 14074 int _fpu_cmp = 0; 14075 uint32_t _cf = 0; 14076 int _df = 1; 14077 uint32_t _flag_k = FK_NONE; 14078 uint32_t _flag_a = 0, _flag_b = 0; 14079 uint32_t _itail_tgt = 0; 14080 RECOMP_REGS_LOCALS 14081 RECOMP_ENTER(0x2B091B00u); 14082 14083 L_2B091B00: 14084 PUSH32(esp, ebp); /* 0x2B091B00: push ebp */ 14085 ebp = esp; /* 0x2B091B01: mov ebp, esp */ 14086 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091B03: push -1 */ 14087 PUSH32(esp, 0x2B0B2C91u); /* 0x2B091B05: push 0x2b0b2c91 */ 14088 eax = MEM32(FS_BASE + (0)); /* 0x2B091B0A: mov eax, dword ptr fs:[0] */ 14089 PUSH32(esp, eax); /* 0x2B091B10: push eax */ 14090 MEM32(FS_BASE + (0)) = esp; /* 0x2B091B11: mov dword ptr fs:[0], esp */ 14091 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x5Cu); 14092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14093 esp = esp - 0x5Cu; /* 0x2B091B18: sub esp, 0x5c */ 14094 _flag_k = FK_CMP; 14095 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B091B1B: mov al, byte ptr [ebp - 0xd] */ 14096 PUSH32(esp, ebx); /* 0x2B091B1E: push ebx */ 14097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14098 ebx = 0; /* 0x2B091B1F: xor ebx, ebx */ 14099 _cf = 0; 14100 _flag_k = FK_TEST; 14101 PUSH32(esp, esi); /* 0x2B091B21: push esi */ 14102 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(eax)); /* 0x2B091B22: mov byte ptr [ebp - 0x28], al */ 14103 MEM32(ebp + (-0x24)) = ebx; /* 0x2B091B25: mov dword ptr [ebp - 0x24], ebx */ 14104 MEM32(ebp + (-0x20)) = ebx; /* 0x2B091B28: mov dword ptr [ebp - 0x20], ebx */ 14105 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B091B2B: mov dword ptr [ebp - 0x1c], ebx */ 14106 esi = MEM32(0x2B0B53CC); /* 0x2B091B2E: mov esi, dword ptr [0x2b0b53cc] */ 14107 ecx = ebp + (-0x14); /* 0x2B091B34: lea ecx, [ebp - 0x14] */ 14108 PUSH32(esp, ecx); /* 0x2B091B37: push ecx */ 14109 MEM32(ebp + (-0x4)) = ebx; /* 0x2B091B38: mov dword ptr [ebp - 4], ebx */ 14110 RECOMP_ICALL(esi); /* 0x2B091B3B: call esi */ 14111 RECOMP_FLAGS_IN(); 14112 ecx = eax; /* 0x2B091B3D: mov ecx, eax */ 14113 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B091B3F: call dword ptr [0x2b0b53a8] */ 14114 RECOMP_FLAGS_IN(); 14115 RECOMP_ICALL(esi); /* 0x2B091B45: call esi */ 14116 RECOMP_FLAGS_IN(); 14117 ecx = eax; /* 0x2B091B47: mov ecx, eax */ 14118 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B091B49: call dword ptr [0x2b0b53a4] */ 14119 RECOMP_FLAGS_IN(); 14120 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091B4F: push -1 */ 14121 ecx = ebp + (-0x68); /* 0x2B091B51: lea ecx, [ebp - 0x68] */ 14122 esi = eax; /* 0x2B091B54: mov esi, eax */ 14123 RECOMP_ICALL(MEM32(0x2B0B5448)); /* 0x2B091B56: call dword ptr [0x2b0b5448] */ 14124 RECOMP_FLAGS_IN(); 14125 edx = MEM32(ebp + (-0x14)); /* 0x2B091B5C: mov edx, dword ptr [ebp - 0x14] */ 14126 PUSH32(esp, edx); /* 0x2B091B5F: push edx */ 14127 PUSH32(esp, esi); /* 0x2B091B60: push esi */ 14128 ecx = ebp + (-0x68); /* 0x2B091B61: lea ecx, [ebp - 0x68] */ 14129 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B091B64: mov byte ptr [ebp - 4], 1 */ 14130 RECOMP_ICALL(MEM32(0x2B0B545C)); /* 0x2B091B68: call dword ptr [0x2b0b545c] */ 14131 RECOMP_FLAGS_IN(); 14132 PUSH32(esp, ebx); /* 0x2B091B6E: push ebx */ 14133 eax = ebp + (-0x18); /* 0x2B091B6F: lea eax, [ebp - 0x18] */ 14134 PUSH32(esp, eax); /* 0x2B091B72: push eax */ 14135 PUSH32(esp, 0x2B0ED34Cu); /* 0x2B091B73: push 0x2b0ed34c */ 14136 ecx = ebp + (-0x68); /* 0x2B091B78: lea ecx, [ebp - 0x68] */ 14137 RECOMP_ICALL(MEM32(0x2B0B544C)); /* 0x2B091B7B: call dword ptr [0x2b0b544c] */ 14138 RECOMP_FLAGS_IN(); 14139 /* cmp eax, ebx */ /* 0x2B091B81: cmp eax, ebx */ 14140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 14141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14142 _flag_k = FK_CMP; 14143 esi = MEM32(ebp + (-0x18)); /* 0x2B091B83: mov esi, dword ptr [ebp - 0x18] */ 14144 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091B8B; /* 0x2B091B86: je 0x2b091b8b */ 14145 L_2B091B88: 14146 esi = MEM32(ebp + (-0x18)); /* 0x2B091B88: mov esi, dword ptr [ebp - 0x18] */ 14147 L_2B091B8B: 14148 PUSH32(esp, ebx); /* 0x2B091B8B: push ebx */ 14149 ecx = ebp + (-0x28); /* 0x2B091B8C: lea ecx, [ebp - 0x28] */ 14150 PUSH32(esp, ecx); /* 0x2B091B8F: push ecx */ 14151 PUSH32(esp, 0x2B0ED334u); /* 0x2B091B90: push 0x2b0ed334 */ 14152 ecx = ebp + (-0x68); /* 0x2B091B95: lea ecx, [ebp - 0x68] */ 14153 RECOMP_ICALL(MEM32(0x2B0B5450)); /* 0x2B091B98: call dword ptr [0x2b0b5450] */ 14154 RECOMP_FLAGS_IN(); 14155 edx = MEM32(0x2B0EF114); /* 0x2B091B9E: mov edx, dword ptr [0x2b0ef114] */ 14156 ecx = MEM32(edx); /* 0x2B091BA4: mov ecx, dword ptr [edx] */ 14157 /* cmp ecx, ebx */ /* 0x2B091BA6: cmp ecx, ebx */ 14158 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 14159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14160 _flag_k = FK_CMP; 14161 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091BB4; /* 0x2B091BA8: je 0x2b091bb4 */ 14162 L_2B091BAA: 14163 PUSH32(esp, esi); /* 0x2B091BAA: push esi */ 14164 eax = ebp + (-0x28); /* 0x2B091BAB: lea eax, [ebp - 0x28] */ 14165 PUSH32(esp, eax); /* 0x2B091BAE: push eax */ 14166 RECOMP_ICALL(0x2B094DE0u); /* 0x2B091BAF: call 0x2b094de0 */ /* not lifted */ 14167 RECOMP_FLAGS_IN(); 14168 L_2B091BB4: 14169 MEM32(ebp + (-0x68)) = 0x2B0B71A8u; /* 0x2B091BB4: mov dword ptr [ebp - 0x68], 0x2b0b71a8 */ 14170 ecx = ebp + (-0x68); /* 0x2B091BBB: lea ecx, [ebp - 0x68] */ 14171 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B091BBE: mov byte ptr [ebp - 4], 3 */ 14172 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B091BC2: call dword ptr [0x2b0b5454] */ 14173 RECOMP_FLAGS_IN(); 14174 ecx = MEM32(ebp + (-0x34)); /* 0x2B091BC8: mov ecx, dword ptr [ebp - 0x34] */ 14175 PUSH32(esp, ecx); /* 0x2B091BCB: push ecx */ 14176 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091BCC: call 0x2b0ab1ba */ /* not lifted */ 14177 RECOMP_FLAGS_IN(); 14178 eax = MEM32(ebp + (-0x60)); /* 0x2B091BD1: mov eax, dword ptr [ebp - 0x60] */ 14179 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14180 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14181 esp = esp + 4; /* 0x2B091BD4: add esp, 4 */ 14182 _flag_k = FK_ADD; 14183 MEM32(ebp + (-0x34)) = ebx; /* 0x2B091BD7: mov dword ptr [ebp - 0x34], ebx */ 14184 MEM32(ebp + (-0x30)) = ebx; /* 0x2B091BDA: mov dword ptr [ebp - 0x30], ebx */ 14185 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B091BDD: mov dword ptr [ebp - 0x2c], ebx */ 14186 ecx = MEM32(eax); /* 0x2B091BE0: mov ecx, dword ptr [eax] */ 14187 PUSH32(esp, eax); /* 0x2B091BE2: push eax */ 14188 PUSH32(esp, ecx); /* 0x2B091BE3: push ecx */ 14189 edx = ebp + (-0x18); /* 0x2B091BE4: lea edx, [ebp - 0x18] */ 14190 PUSH32(esp, edx); /* 0x2B091BE7: push edx */ 14191 ecx = ebp + (-0x64); /* 0x2B091BE8: lea ecx, [ebp - 0x64] */ 14192 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B091BEB: mov byte ptr [ebp - 4], bl */ 14193 RECOMP_ICALL(0x2B0920A0u); /* 0x2B091BEE: call 0x2b0920a0 */ /* not lifted */ 14194 RECOMP_FLAGS_IN(); 14195 eax = MEM32(ebp + (-0x60)); /* 0x2B091BF3: mov eax, dword ptr [ebp - 0x60] */ 14196 PUSH32(esp, eax); /* 0x2B091BF6: push eax */ 14197 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091BF7: call 0x2b0ab1ba */ /* not lifted */ 14198 RECOMP_FLAGS_IN(); 14199 ecx = MEM32(ebp + (-0x5C)); /* 0x2B091BFC: mov ecx, dword ptr [ebp - 0x5c] */ 14200 PUSH32(esp, ecx); /* 0x2B091BFF: push ecx */ 14201 MEM32(ebp + (-0x60)) = ebx; /* 0x2B091C00: mov dword ptr [ebp - 0x60], ebx */ 14202 MEM32(ebp + (-0x54)) = ebx; /* 0x2B091C03: mov dword ptr [ebp - 0x54], ebx */ 14203 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091C06: call 0x2b0ab1ba */ /* not lifted */ 14204 RECOMP_FLAGS_IN(); 14205 ecx = MEM32(ebp + (-0x24)); /* 0x2B091C0B: mov ecx, dword ptr [ebp - 0x24] */ 14206 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14207 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14208 esp = esp + 8; /* 0x2B091C0E: add esp, 8 */ 14209 _flag_k = FK_ADD; 14210 /* cmp ecx, ebx */ /* 0x2B091C11: cmp ecx, ebx */ 14211 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 14212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14213 _flag_k = FK_CMP; 14214 MEM32(ebp + (-0x5C)) = ebx; /* 0x2B091C13: mov dword ptr [ebp - 0x5c], ebx */ 14215 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091C42; /* 0x2B091C16: je 0x2b091c42 */ 14216 L_2B091C18: 14217 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B091C18: mov al, byte ptr [ecx - 1] */ 14218 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B091C1B: cmp al, bl */ 14219 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14221 _flag_k = FK_NARROW(FK_CMP, 24); 14222 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091C38; /* 0x2B091C1D: je 0x2b091c38 */ 14223 L_2B091C1F: 14224 /* cmp LO8(eax), 0xFFu */ /* 0x2B091C1F: cmp al, 0xff */ 14225 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 14226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14227 _flag_k = FK_NARROW(FK_CMP, 24); 14228 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091C38; /* 0x2B091C21: je 0x2b091c38 */ 14229 L_2B091C23: 14230 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 14231 SET_LO8(eax, LO8(eax) - 1); /* 0x2B091C23: dec al */ 14232 _flag_k = FK_NARROW(FK_DEC, 24); 14233 esi = POP32_VAL(esp); /* 0x2B091C25: pop esi */ 14234 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B091C26: mov byte ptr [ecx - 1], al */ 14235 ebx = POP32_VAL(esp); /* 0x2B091C29: pop ebx */ 14236 ecx = MEM32(ebp + (-0xC)); /* 0x2B091C2A: mov ecx, dword ptr [ebp - 0xc] */ 14237 MEM32(FS_BASE + (0)) = ecx; /* 0x2B091C2D: mov dword ptr fs:[0], ecx */ 14238 esp = ebp; /* 0x2B091C34: mov esp, ebp */ 14239 ebp = POP32_VAL(esp); /* 0x2B091C36: pop ebp */ 14240 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091C37: ret */ 14241 L_2B091C38: 14242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14243 ecx = ecx - 1; /* 0x2B091C38: dec ecx */ 14244 _flag_k = FK_DEC; 14245 PUSH32(esp, ecx); /* 0x2B091C39: push ecx */ 14246 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091C3A: call 0x2b0ab1ba */ /* not lifted */ 14247 RECOMP_FLAGS_IN(); 14248 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14249 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14250 esp = esp + 4; /* 0x2B091C3F: add esp, 4 */ 14251 _flag_k = FK_ADD; 14252 L_2B091C42: 14253 ecx = MEM32(ebp + (-0xC)); /* 0x2B091C42: mov ecx, dword ptr [ebp - 0xc] */ 14254 esi = POP32_VAL(esp); /* 0x2B091C45: pop esi */ 14255 ebx = POP32_VAL(esp); /* 0x2B091C46: pop ebx */ 14256 MEM32(FS_BASE + (0)) = ecx; /* 0x2B091C47: mov dword ptr fs:[0], ecx */ 14257 esp = ebp; /* 0x2B091C4E: mov esp, ebp */ 14258 ebp = POP32_VAL(esp); /* 0x2B091C50: pop ebp */ 14259 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091C51: ret */ 14260 RECOMP_REGS_OUT(); 14261 } 14262 14263 void sub_2B091C60(void) { 14264 int _fpu_cmp = 0; 14265 uint32_t _cf = 0; 14266 int _df = 1; 14267 uint32_t _flag_k = FK_NONE; 14268 uint32_t _flag_a = 0, _flag_b = 0; 14269 uint32_t _itail_tgt = 0; 14270 RECOMP_REGS_LOCALS 14271 RECOMP_ENTER(0x2B091C60u); 14272 14273 L_2B091C60: 14274 PUSH32(esp, ebp); /* 0x2B091C60: push ebp */ 14275 ebp = esp; /* 0x2B091C61: mov ebp, esp */ 14276 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091C63: push -1 */ 14277 PUSH32(esp, 0x2B0B2CC9u); /* 0x2B091C65: push 0x2b0b2cc9 */ 14278 eax = MEM32(FS_BASE + (0)); /* 0x2B091C6A: mov eax, dword ptr fs:[0] */ 14279 PUSH32(esp, eax); /* 0x2B091C70: push eax */ 14280 MEM32(FS_BASE + (0)) = esp; /* 0x2B091C71: mov dword ptr fs:[0], esp */ 14281 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x6Cu); 14282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14283 esp = esp - 0x6Cu; /* 0x2B091C78: sub esp, 0x6c */ 14284 _flag_k = FK_CMP; 14285 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B091C7B: mov al, byte ptr [ebp - 0xd] */ 14286 PUSH32(esp, ebx); /* 0x2B091C7E: push ebx */ 14287 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14288 ebx = 0; /* 0x2B091C7F: xor ebx, ebx */ 14289 _cf = 0; 14290 _flag_k = FK_TEST; 14291 PUSH32(esp, esi); /* 0x2B091C81: push esi */ 14292 PUSH32(esp, edi); /* 0x2B091C82: push edi */ 14293 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x2B091C83: mov byte ptr [ebp - 0x38], al */ 14294 MEM32(ebp + (-0x34)) = ebx; /* 0x2B091C86: mov dword ptr [ebp - 0x34], ebx */ 14295 MEM32(ebp + (-0x30)) = ebx; /* 0x2B091C89: mov dword ptr [ebp - 0x30], ebx */ 14296 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B091C8C: mov dword ptr [ebp - 0x2c], ebx */ 14297 esi = MEM32(0x2B0B53CC); /* 0x2B091C8F: mov esi, dword ptr [0x2b0b53cc] */ 14298 ecx = ebp + (-0x18); /* 0x2B091C95: lea ecx, [ebp - 0x18] */ 14299 PUSH32(esp, ecx); /* 0x2B091C98: push ecx */ 14300 MEM32(ebp + (-0x4)) = ebx; /* 0x2B091C99: mov dword ptr [ebp - 4], ebx */ 14301 RECOMP_ICALL(esi); /* 0x2B091C9C: call esi */ 14302 RECOMP_FLAGS_IN(); 14303 ecx = eax; /* 0x2B091C9E: mov ecx, eax */ 14304 RECOMP_ICALL(MEM32(0x2B0B53A8)); /* 0x2B091CA0: call dword ptr [0x2b0b53a8] */ 14305 RECOMP_FLAGS_IN(); 14306 RECOMP_ICALL(esi); /* 0x2B091CA6: call esi */ 14307 RECOMP_FLAGS_IN(); 14308 ecx = eax; /* 0x2B091CA8: mov ecx, eax */ 14309 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B091CAA: call dword ptr [0x2b0b53a4] */ 14310 RECOMP_FLAGS_IN(); 14311 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091CB0: push -1 */ 14312 ecx = ebp + (-0x78); /* 0x2B091CB2: lea ecx, [ebp - 0x78] */ 14313 esi = eax; /* 0x2B091CB5: mov esi, eax */ 14314 RECOMP_ICALL(MEM32(0x2B0B5448)); /* 0x2B091CB7: call dword ptr [0x2b0b5448] */ 14315 RECOMP_FLAGS_IN(); 14316 edx = MEM32(ebp + (-0x18)); /* 0x2B091CBD: mov edx, dword ptr [ebp - 0x18] */ 14317 PUSH32(esp, edx); /* 0x2B091CC0: push edx */ 14318 PUSH32(esp, esi); /* 0x2B091CC1: push esi */ 14319 ecx = ebp + (-0x78); /* 0x2B091CC2: lea ecx, [ebp - 0x78] */ 14320 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B091CC5: mov byte ptr [ebp - 4], 1 */ 14321 RECOMP_ICALL(MEM32(0x2B0B545C)); /* 0x2B091CC9: call dword ptr [0x2b0b545c] */ 14322 RECOMP_FLAGS_IN(); 14323 PUSH32(esp, ebx); /* 0x2B091CCF: push ebx */ 14324 eax = ebp + (-0x14); /* 0x2B091CD0: lea eax, [ebp - 0x14] */ 14325 PUSH32(esp, eax); /* 0x2B091CD3: push eax */ 14326 PUSH32(esp, 0x2B0ED364u); /* 0x2B091CD4: push 0x2b0ed364 */ 14327 ecx = ebp + (-0x78); /* 0x2B091CD9: lea ecx, [ebp - 0x78] */ 14328 RECOMP_ICALL(MEM32(0x2B0B544C)); /* 0x2B091CDC: call dword ptr [0x2b0b544c] */ 14329 RECOMP_FLAGS_IN(); 14330 /* cmp eax, ebx */ /* 0x2B091CE2: cmp eax, ebx */ 14331 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 14332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14333 _flag_k = FK_CMP; 14334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091CEC; /* 0x2B091CE4: jne 0x2b091cec */ 14335 L_2B091CE6: 14336 ecx = MEM32(ebp + (-0x14)); /* 0x2B091CE6: mov ecx, dword ptr [ebp - 0x14] */ 14337 MEM32(ebp + (-0x14)) = ecx; /* 0x2B091CE9: mov dword ptr [ebp - 0x14], ecx */ 14338 L_2B091CEC: 14339 eax = MEM32(ebp + (-0x14)); /* 0x2B091CEC: mov eax, dword ptr [ebp - 0x14] */ 14340 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14341 esi = 0; /* 0x2B091CEF: xor esi, esi */ 14342 _cf = 0; 14343 _flag_k = FK_TEST; 14344 /* cmp eax, ebx */ /* 0x2B091CF1: cmp eax, ebx */ 14345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 14346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14347 _flag_k = FK_CMP; 14348 if (CMP_LE(_flag_a, _flag_b)) goto L_2B091D67; /* 0x2B091CF3: jle 0x2b091d67 */ 14349 L_2B091CF5: 14350 edi = MEM32(0x2B0B5450); /* 0x2B091CF5: mov edi, dword ptr [0x2b0b5450] */ 14351 L_2B091CFB: 14352 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B091CFB: mov dl, byte ptr [ebp - 0xd] */ 14353 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(edx)); /* 0x2B091CFE: mov byte ptr [ebp - 0x28], dl */ 14354 MEM32(ebp + (-0x24)) = ebx; /* 0x2B091D01: mov dword ptr [ebp - 0x24], ebx */ 14355 MEM32(ebp + (-0x20)) = ebx; /* 0x2B091D04: mov dword ptr [ebp - 0x20], ebx */ 14356 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B091D07: mov dword ptr [ebp - 0x1c], ebx */ 14357 PUSH32(esp, esi); /* 0x2B091D0A: push esi */ 14358 eax = ebp + (-0x28); /* 0x2B091D0B: lea eax, [ebp - 0x28] */ 14359 PUSH32(esp, eax); /* 0x2B091D0E: push eax */ 14360 PUSH32(esp, 0x2B0ED35Cu); /* 0x2B091D0F: push 0x2b0ed35c */ 14361 ecx = ebp + (-0x78); /* 0x2B091D14: lea ecx, [ebp - 0x78] */ 14362 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B091D17: mov byte ptr [ebp - 4], 2 */ 14363 RECOMP_ICALL(edi); /* 0x2B091D1B: call edi */ 14364 RECOMP_FLAGS_IN(); 14365 edx = MEM32(ebp + (-0x30)); /* 0x2B091D1D: mov edx, dword ptr [ebp - 0x30] */ 14366 ecx = ebp + (-0x28); /* 0x2B091D20: lea ecx, [ebp - 0x28] */ 14367 PUSH32(esp, ecx); /* 0x2B091D23: push ecx */ 14368 PUSH32(esp, 1); /* 0x2B091D24: push 1 */ 14369 PUSH32(esp, edx); /* 0x2B091D26: push edx */ 14370 ecx = ebp + (-0x38); /* 0x2B091D27: lea ecx, [ebp - 0x38] */ 14371 RECOMP_ICALL(0x2B003320u); /* 0x2B091D2A: call 0x2b003320 */ /* not lifted */ 14372 RECOMP_FLAGS_IN(); 14373 eax = MEM32(ebp + (-0x24)); /* 0x2B091D2F: mov eax, dword ptr [ebp - 0x24] */ 14374 /* cmp eax, ebx */ /* 0x2B091D32: cmp eax, ebx */ 14375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 14376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14377 _flag_k = FK_CMP; 14378 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B091D34: mov byte ptr [ebp - 4], 1 */ 14379 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091D56; /* 0x2B091D38: je 0x2b091d56 */ 14380 L_2B091D3A: 14381 ecx = eax + (-0x1); /* 0x2B091D3A: lea ecx, [eax - 1] */ 14382 SET_LO8(eax, MEM8(ecx)); /* 0x2B091D3D: mov al, byte ptr [ecx] */ 14383 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B091D3F: cmp al, bl */ 14384 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14386 _flag_k = FK_NARROW(FK_CMP, 24); 14387 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091D4D; /* 0x2B091D41: je 0x2b091d4d */ 14388 L_2B091D43: 14389 /* cmp LO8(eax), 0xFFu */ /* 0x2B091D43: cmp al, 0xff */ 14390 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 14391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14392 _flag_k = FK_NARROW(FK_CMP, 24); 14393 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091D4D; /* 0x2B091D45: je 0x2b091d4d */ 14394 L_2B091D47: 14395 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 14396 SET_LO8(eax, LO8(eax) - 1); /* 0x2B091D47: dec al */ 14397 _flag_k = FK_NARROW(FK_DEC, 24); 14398 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B091D49: mov byte ptr [ecx], al */ 14399 goto L_2B091D56; /* 0x2B091D4B: jmp 0x2b091d56 */ 14400 L_2B091D4D: 14401 PUSH32(esp, ecx); /* 0x2B091D4D: push ecx */ 14402 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091D4E: call 0x2b0ab1ba */ /* not lifted */ 14403 RECOMP_FLAGS_IN(); 14404 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14406 esp = esp + 4; /* 0x2B091D53: add esp, 4 */ 14407 _flag_k = FK_ADD; 14408 L_2B091D56: 14409 eax = MEM32(ebp + (-0x14)); /* 0x2B091D56: mov eax, dword ptr [ebp - 0x14] */ 14410 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 14411 esi = esi + 1; /* 0x2B091D59: inc esi */ 14412 _flag_k = FK_INC; 14413 /* cmp esi, eax */ /* 0x2B091D5A: cmp esi, eax */ 14414 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 14415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14416 _flag_k = FK_CMP; 14417 MEM32(ebp + (-0x24)) = ebx; /* 0x2B091D5C: mov dword ptr [ebp - 0x24], ebx */ 14418 MEM32(ebp + (-0x20)) = ebx; /* 0x2B091D5F: mov dword ptr [ebp - 0x20], ebx */ 14419 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B091D62: mov dword ptr [ebp - 0x1c], ebx */ 14420 RECOMP_BACKEDGE(); 14421 if (CMP_L(_flag_a, _flag_b)) goto L_2B091CFB; /* 0x2B091D65: jl 0x2b091cfb */ 14422 L_2B091D67: 14423 eax = MEM32(0x2B0EF114); /* 0x2B091D67: mov eax, dword ptr [0x2b0ef114] */ 14424 ecx = MEM32(eax); /* 0x2B091D6C: mov ecx, dword ptr [eax] */ 14425 /* cmp ecx, ebx */ /* 0x2B091D6E: cmp ecx, ebx */ 14426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 14427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14428 _flag_k = FK_CMP; 14429 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091D7B; /* 0x2B091D70: je 0x2b091d7b */ 14430 L_2B091D72: 14431 edx = ebp + (-0x38); /* 0x2B091D72: lea edx, [ebp - 0x38] */ 14432 PUSH32(esp, edx); /* 0x2B091D75: push edx */ 14433 RECOMP_ICALL(0x2B094A30u); /* 0x2B091D76: call 0x2b094a30 */ /* not lifted */ 14434 RECOMP_FLAGS_IN(); 14435 L_2B091D7B: 14436 MEM32(ebp + (-0x78)) = 0x2B0B71A8u; /* 0x2B091D7B: mov dword ptr [ebp - 0x78], 0x2b0b71a8 */ 14437 ecx = ebp + (-0x78); /* 0x2B091D82: lea ecx, [ebp - 0x78] */ 14438 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B091D85: mov byte ptr [ebp - 4], 4 */ 14439 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B091D89: call dword ptr [0x2b0b5454] */ 14440 RECOMP_FLAGS_IN(); 14441 eax = MEM32(ebp + (-0x44)); /* 0x2B091D8F: mov eax, dword ptr [ebp - 0x44] */ 14442 PUSH32(esp, eax); /* 0x2B091D92: push eax */ 14443 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091D93: call 0x2b0ab1ba */ /* not lifted */ 14444 RECOMP_FLAGS_IN(); 14445 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14446 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14447 esp = esp + 4; /* 0x2B091D98: add esp, 4 */ 14448 _flag_k = FK_ADD; 14449 ecx = ebp + (-0x74); /* 0x2B091D9B: lea ecx, [ebp - 0x74] */ 14450 MEM32(ebp + (-0x44)) = ebx; /* 0x2B091D9E: mov dword ptr [ebp - 0x44], ebx */ 14451 MEM32(ebp + (-0x40)) = ebx; /* 0x2B091DA1: mov dword ptr [ebp - 0x40], ebx */ 14452 MEM32(ebp + (-0x3C)) = ebx; /* 0x2B091DA4: mov dword ptr [ebp - 0x3c], ebx */ 14453 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B091DA7: mov byte ptr [ebp - 4], bl */ 14454 RECOMP_ICALL(0x2B091FE0u); /* 0x2B091DAA: call 0x2b091fe0 */ /* not lifted */ 14455 RECOMP_FLAGS_IN(); 14456 edi = MEM32(ebp + (-0x30)); /* 0x2B091DAF: mov edi, dword ptr [ebp - 0x30] */ 14457 esi = MEM32(ebp + (-0x34)); /* 0x2B091DB2: mov esi, dword ptr [ebp - 0x34] */ 14458 /* cmp esi, edi */ /* 0x2B091DB5: cmp esi, edi */ 14459 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14461 _flag_k = FK_CMP; 14462 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B091DB7: mov dword ptr [ebp - 4], 0xffffffff */ 14463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091DD4; /* 0x2B091DBE: je 0x2b091dd4 */ 14464 L_2B091DC0: 14465 PUSH32(esp, 1); /* 0x2B091DC0: push 1 */ 14466 ecx = esi; /* 0x2B091DC2: mov ecx, esi */ 14467 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B091DC4: call dword ptr [0x2b0b514c] */ 14468 RECOMP_FLAGS_IN(); 14469 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 14470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14471 esi = esi + 0x10u; /* 0x2B091DCA: add esi, 0x10 */ 14472 _flag_k = FK_ADD; 14473 /* cmp esi, edi */ /* 0x2B091DCD: cmp esi, edi */ 14474 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14476 _flag_k = FK_CMP; 14477 RECOMP_BACKEDGE(); 14478 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091DC0; /* 0x2B091DCF: jne 0x2b091dc0 */ 14479 L_2B091DD1: 14480 esi = MEM32(ebp + (-0x34)); /* 0x2B091DD1: mov esi, dword ptr [ebp - 0x34] */ 14481 L_2B091DD4: 14482 PUSH32(esp, esi); /* 0x2B091DD4: push esi */ 14483 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091DD5: call 0x2b0ab1ba */ /* not lifted */ 14484 RECOMP_FLAGS_IN(); 14485 ecx = MEM32(ebp + (-0xC)); /* 0x2B091DDA: mov ecx, dword ptr [ebp - 0xc] */ 14486 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14488 esp = esp + 4; /* 0x2B091DDD: add esp, 4 */ 14489 _flag_k = FK_ADD; 14490 edi = POP32_VAL(esp); /* 0x2B091DE0: pop edi */ 14491 esi = POP32_VAL(esp); /* 0x2B091DE1: pop esi */ 14492 ebx = POP32_VAL(esp); /* 0x2B091DE2: pop ebx */ 14493 MEM32(FS_BASE + (0)) = ecx; /* 0x2B091DE3: mov dword ptr fs:[0], ecx */ 14494 esp = ebp; /* 0x2B091DEA: mov esp, ebp */ 14495 ebp = POP32_VAL(esp); /* 0x2B091DEC: pop ebp */ 14496 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091DED: ret */ 14497 RECOMP_REGS_OUT(); 14498 } 14499 14500 void sub_2B091DF0(void) { 14501 int _fpu_cmp = 0; 14502 uint32_t _cf = 0; 14503 int _df = 1; 14504 uint32_t _flag_k = FK_NONE; 14505 uint32_t _flag_a = 0, _flag_b = 0; 14506 uint32_t _itail_tgt = 0; 14507 RECOMP_REGS_LOCALS 14508 RECOMP_ENTER(0x2B091DF0u); 14509 14510 L_2B091DF0: 14511 eax = MEM32(0x2B0EF114); /* 0x2B091DF0: mov eax, dword ptr [0x2b0ef114] */ 14512 ecx = MEM32(eax); /* 0x2B091DF5: mov ecx, dword ptr [eax] */ 14513 /* test ecx, ecx */ /* 0x2B091DF7: test ecx, ecx */ 14514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14515 _cf = 0; 14516 _flag_k = FK_TEST; 14517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091E00; /* 0x2B091DF9: je 0x2b091e00 */ 14518 L_2B091DFB: 14519 goto L_2B094CE0; /* 0x2B091DFB: jmp 0x2b094ce0 */ 14520 L_2B091E00: 14521 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091E00: ret */ 14522 L_2B094580: 14523 PUSH32(esp, esi); /* 0x2B094580: push esi */ 14524 PUSH32(esp, edi); /* 0x2B094581: push edi */ 14525 edi = ecx; /* 0x2B094582: mov edi, ecx */ 14526 esi = MEM32(edi + 0x38); /* 0x2B094584: mov esi, dword ptr [edi + 0x38] */ 14527 /* test esi, esi */ /* 0x2B094587: test esi, esi */ 14528 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14529 _cf = 0; 14530 _flag_k = FK_TEST; 14531 MEM8(edi + 0xA5) = (uint8_t)(0); /* 0x2B094589: mov byte ptr [edi + 0xa5], 0 */ 14532 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0945A9; /* 0x2B094590: je 0x2b0945a9 */ 14533 L_2B094592: 14534 ecx = esi; /* 0x2B094592: mov ecx, esi */ 14535 RECOMP_ICALL(0x2B093A60u); /* 0x2B094594: call 0x2b093a60 */ /* not lifted */ 14536 RECOMP_FLAGS_IN(); 14537 PUSH32(esp, esi); /* 0x2B094599: push esi */ 14538 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09459A: call 0x2b0ab1ba */ /* not lifted */ 14539 RECOMP_FLAGS_IN(); 14540 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14541 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14542 esp = esp + 4; /* 0x2B09459F: add esp, 4 */ 14543 _flag_k = FK_ADD; 14544 MEM32(edi + 0x38) = 0; /* 0x2B0945A2: mov dword ptr [edi + 0x38], 0 */ 14545 L_2B0945A9: 14546 edi = POP32_VAL(esp); /* 0x2B0945A9: pop edi */ 14547 esi = POP32_VAL(esp); /* 0x2B0945AA: pop esi */ 14548 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0945AB: ret */ 14549 L_2B094CE0: 14550 MEM32(ecx + 0x80) = 3; /* 0x2B094CE0: mov dword ptr [ecx + 0x80], 3 */ 14551 RECOMP_BACKEDGE(); 14552 goto L_2B094580; /* 0x2B094CEA: jmp 0x2b094580 */ 14553 { RECOMP_REGS_OUT(); return; } /* end of function */ 14554 RECOMP_REGS_OUT(); 14555 } 14556 14557 void sub_2B091E10(void) { 14558 int _fpu_cmp = 0; 14559 uint32_t _cf = 0; 14560 int _df = 1; 14561 uint32_t _flag_k = FK_NONE; 14562 uint32_t _flag_a = 0, _flag_b = 0; 14563 uint32_t _itail_tgt = 0; 14564 RECOMP_REGS_LOCALS 14565 RECOMP_ENTER(0x2B091E10u); 14566 14567 L_2B091E10: 14568 PUSH32(esp, ebp); /* 0x2B091E10: push ebp */ 14569 ebp = esp; /* 0x2B091E11: mov ebp, esp */ 14570 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 14571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14572 esp = esp - 0x10u; /* 0x2B091E13: sub esp, 0x10 */ 14573 _flag_k = FK_CMP; 14574 eax = ebp + (-0x8); /* 0x2B091E16: lea eax, [ebp - 8] */ 14575 PUSH32(esp, eax); /* 0x2B091E19: push eax */ 14576 MEM32(ebp + (-0x8)) = 0; /* 0x2B091E1A: mov dword ptr [ebp - 8], 0 */ 14577 MEM32(ebp + (-0x4)) = 0; /* 0x2B091E21: mov dword ptr [ebp - 4], 0 */ 14578 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B091E28: call dword ptr [0x2b0b53cc] */ 14579 RECOMP_FLAGS_IN(); 14580 ecx = eax; /* 0x2B091E2E: mov ecx, eax */ 14581 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B091E30: call dword ptr [0x2b0b53ac] */ 14582 RECOMP_FLAGS_IN(); 14583 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B091E36: call dword ptr [0x2b0b596c] */ 14584 RECOMP_FLAGS_IN(); 14585 ecx = MEM32(eax + 0x14); /* 0x2B091E3C: mov ecx, dword ptr [eax + 0x14] */ 14586 MEM32(ebp + (-0x10)) = ecx; /* 0x2B091E3F: mov dword ptr [ebp - 0x10], ecx */ 14587 edx = MEM32(eax + 0x18); /* 0x2B091E42: mov edx, dword ptr [eax + 0x18] */ 14588 MEM32(ebp + (-0xC)) = edx; /* 0x2B091E45: mov dword ptr [ebp - 0xc], edx */ 14589 RECOMP_ICALL(MEM32(0x2B0B596C)); /* 0x2B091E48: call dword ptr [0x2b0b596c] */ 14590 RECOMP_FLAGS_IN(); 14591 eax = MEM32(0x2B0EF114); /* 0x2B091E4E: mov eax, dword ptr [0x2b0ef114] */ 14592 ecx = MEM32(eax); /* 0x2B091E53: mov ecx, dword ptr [eax] */ 14593 /* test ecx, ecx */ /* 0x2B091E55: test ecx, ecx */ 14594 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14595 _cf = 0; 14596 _flag_k = FK_TEST; 14597 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091E66; /* 0x2B091E57: je 0x2b091e66 */ 14598 L_2B091E59: 14599 edx = ebp + (-0x8); /* 0x2B091E59: lea edx, [ebp - 8] */ 14600 PUSH32(esp, edx); /* 0x2B091E5C: push edx */ 14601 eax = ebp + (-0x10); /* 0x2B091E5D: lea eax, [ebp - 0x10] */ 14602 PUSH32(esp, eax); /* 0x2B091E60: push eax */ 14603 RECOMP_ICALL(0x2B095190u); /* 0x2B091E61: call 0x2b095190 */ /* not lifted */ 14604 RECOMP_FLAGS_IN(); 14605 L_2B091E66: 14606 esp = ebp; /* 0x2B091E66: mov esp, ebp */ 14607 ebp = POP32_VAL(esp); /* 0x2B091E68: pop ebp */ 14608 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091E69: ret */ 14609 RECOMP_REGS_OUT(); 14610 } 14611 14612 void sub_2B091E70(void) { 14613 int _fpu_cmp = 0; 14614 uint32_t _cf = 0; 14615 int _df = 1; 14616 uint32_t _flag_k = FK_NONE; 14617 uint32_t _flag_a = 0, _flag_b = 0; 14618 uint32_t _itail_tgt = 0; 14619 RECOMP_REGS_LOCALS 14620 RECOMP_ENTER(0x2B091E70u); 14621 14622 L_2B091E70: 14623 PUSH32(esp, ebp); /* 0x2B091E70: push ebp */ 14624 ebp = esp; /* 0x2B091E71: mov ebp, esp */ 14625 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 14626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14627 esp = esp - 0x24u; /* 0x2B091E73: sub esp, 0x24 */ 14628 _flag_k = FK_CMP; 14629 PUSH32(esp, esi); /* 0x2B091E76: push esi */ 14630 esi = MEM32(0x2B0B53CC); /* 0x2B091E77: mov esi, dword ptr [0x2b0b53cc] */ 14631 eax = ebp + (-0x4); /* 0x2B091E7D: lea eax, [ebp - 4] */ 14632 PUSH32(esp, eax); /* 0x2B091E80: push eax */ 14633 MEM32(ebp + (-0xC)) = 0; /* 0x2B091E81: mov dword ptr [ebp - 0xc], 0 */ 14634 MEM32(ebp + (-0x8)) = 0; /* 0x2B091E88: mov dword ptr [ebp - 8], 0 */ 14635 RECOMP_ICALL(esi); /* 0x2B091E8F: call esi */ 14636 RECOMP_FLAGS_IN(); 14637 ecx = eax; /* 0x2B091E91: mov ecx, eax */ 14638 RECOMP_ICALL(MEM32(0x2B0B53A0)); /* 0x2B091E93: call dword ptr [0x2b0b53a0] */ 14639 RECOMP_FLAGS_IN(); 14640 ecx = ebp + (-0xC); /* 0x2B091E99: lea ecx, [ebp - 0xc] */ 14641 PUSH32(esp, ecx); /* 0x2B091E9C: push ecx */ 14642 RECOMP_ICALL(esi); /* 0x2B091E9D: call esi */ 14643 RECOMP_FLAGS_IN(); 14644 ecx = eax; /* 0x2B091E9F: mov ecx, eax */ 14645 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B091EA1: call dword ptr [0x2b0b53ac] */ 14646 RECOMP_FLAGS_IN(); 14647 eax = MEM32(ebp + (-0xC)); /* 0x2B091EA7: mov eax, dword ptr [ebp - 0xc] */ 14648 /* test eax, eax */ /* 0x2B091EAA: test eax, eax */ 14649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14650 _cf = 0; 14651 _flag_k = FK_TEST; 14652 MEM32(ebp + (-0x18)) = 0; /* 0x2B091EAC: mov dword ptr [ebp - 0x18], 0 */ 14653 MEM32(ebp + (-0x14)) = 0; /* 0x2B091EB3: mov dword ptr [ebp - 0x14], 0 */ 14654 MEM32(ebp + (-0x10)) = 0; /* 0x2B091EBA: mov dword ptr [ebp - 0x10], 0 */ 14655 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B091ECA; /* 0x2B091EC1: jne 0x2b091eca */ 14656 L_2B091EC3: 14657 eax = MEM32(ebp + (-0x8)); /* 0x2B091EC3: mov eax, dword ptr [ebp - 8] */ 14658 /* test eax, eax */ /* 0x2B091EC6: test eax, eax */ 14659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14660 _cf = 0; 14661 _flag_k = FK_TEST; 14662 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091EE0; /* 0x2B091EC8: je 0x2b091ee0 */ 14663 L_2B091ECA: 14664 edx = ebp + (-0x18); /* 0x2B091ECA: lea edx, [ebp - 0x18] */ 14665 PUSH32(esp, edx); /* 0x2B091ECD: push edx */ 14666 eax = ebp + (-0xC); /* 0x2B091ECE: lea eax, [ebp - 0xc] */ 14667 PUSH32(esp, eax); /* 0x2B091ED1: push eax */ 14668 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B091ED2: call dword ptr [0x2b0b5d6c] */ 14669 RECOMP_FLAGS_IN(); 14670 ecx = eax; /* 0x2B091ED8: mov ecx, eax */ 14671 RECOMP_ICALL(MEM32(0x2B0B5DD8)); /* 0x2B091EDA: call dword ptr [0x2b0b5dd8] */ 14672 RECOMP_FLAGS_IN(); 14673 L_2B091EE0: 14674 ecx = MEM32(ebp + (-0x4)); /* 0x2B091EE0: mov ecx, dword ptr [ebp - 4] */ 14675 eax = MEM32(ecx + 0x4); /* 0x2B091EE3: mov eax, dword ptr [ecx + 4] */ 14676 /* test eax, eax */ /* 0x2B091EE6: test eax, eax */ 14677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14678 _cf = 0; 14679 _flag_k = FK_TEST; 14680 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B091EEF; /* 0x2B091EE8: jne 0x2b091eef */ 14681 L_2B091EEA: 14682 eax = MEM32(0x2B0B513C); /* 0x2B091EEA: mov eax, dword ptr [0x2b0b513c] */ 14683 L_2B091EEF: 14684 PUSH32(esp, eax); /* 0x2B091EEF: push eax */ 14685 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B091EF0: call dword ptr [0x2b0b60bc] */ 14686 RECOMP_FLAGS_IN(); 14687 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14689 esp = esp - 8; /* 0x2B091EF6: sub esp, 8 */ 14690 _flag_k = FK_CMP; 14691 edx = esp; /* 0x2B091EF9: mov edx, esp */ 14692 PUSH32(esp, 0); /* 0x2B091EFB: push 0 */ 14693 PUSH32(esp, 1); /* 0x2B091EFD: push 1 */ 14694 PUSH32(esp, 0x64u); /* 0x2B091EFF: push 0x64 */ 14695 PUSH32(esp, 0); /* 0x2B091F01: push 0 */ 14696 PUSH32(esp, 0); /* 0x2B091F03: push 0 */ 14697 MEM32(ebp + (-0x24)) = 0; /* 0x2B091F05: mov dword ptr [ebp - 0x24], 0 */ 14698 ecx = MEM32(ebp + (-0x24)); /* 0x2B091F0C: mov ecx, dword ptr [ebp - 0x24] */ 14699 MEM32(edx) = ecx; /* 0x2B091F0F: mov dword ptr [edx], ecx */ 14700 PUSH32(esp, 0x3F800000u); /* 0x2B091F11: push 0x3f800000 */ 14701 MEM32(ebp + (-0x20)) = 0; /* 0x2B091F16: mov dword ptr [ebp - 0x20], 0 */ 14702 ecx = MEM32(ebp + (-0x20)); /* 0x2B091F1D: mov ecx, dword ptr [ebp - 0x20] */ 14703 MEM32(edx + 0x4) = ecx; /* 0x2B091F20: mov dword ptr [edx + 4], ecx */ 14704 PUSH32(esp, 0); /* 0x2B091F23: push 0 */ 14705 MEM32(ebp + (-0x1C)) = 0; /* 0x2B091F25: mov dword ptr [ebp - 0x1c], 0 */ 14706 ecx = MEM32(ebp + (-0x1C)); /* 0x2B091F2C: mov ecx, dword ptr [ebp - 0x1c] */ 14707 MEM32(edx + 0x8) = ecx; /* 0x2B091F2F: mov dword ptr [edx + 8], ecx */ 14708 ecx = MEM32(ebp + (-0x18)); /* 0x2B091F32: mov ecx, dword ptr [ebp - 0x18] */ 14709 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 14710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14711 esp = esp - 0xCu; /* 0x2B091F35: sub esp, 0xc */ 14712 _flag_k = FK_CMP; 14713 edx = esp; /* 0x2B091F38: mov edx, esp */ 14714 MEM32(edx) = ecx; /* 0x2B091F3A: mov dword ptr [edx], ecx */ 14715 ecx = MEM32(ebp + (-0x14)); /* 0x2B091F3C: mov ecx, dword ptr [ebp - 0x14] */ 14716 MEM32(edx + 0x4) = ecx; /* 0x2B091F3F: mov dword ptr [edx + 4], ecx */ 14717 ecx = MEM32(ebp + (-0x10)); /* 0x2B091F42: mov ecx, dword ptr [ebp - 0x10] */ 14718 PUSH32(esp, eax); /* 0x2B091F45: push eax */ 14719 MEM32(edx + 0x8) = ecx; /* 0x2B091F46: mov dword ptr [edx + 8], ecx */ 14720 RECOMP_ICALL(MEM32(0x2B0B607C)); /* 0x2B091F49: call dword ptr [0x2b0b607c] */ 14721 RECOMP_FLAGS_IN(); 14722 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 14723 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14724 esp = esp + 0x38u; /* 0x2B091F4F: add esp, 0x38 */ 14725 _flag_k = FK_ADD; 14726 esi = POP32_VAL(esp); /* 0x2B091F52: pop esi */ 14727 esp = ebp; /* 0x2B091F53: mov esp, ebp */ 14728 ebp = POP32_VAL(esp); /* 0x2B091F55: pop ebp */ 14729 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091F56: ret */ 14730 RECOMP_REGS_OUT(); 14731 } 14732 14733 void sub_2B091EB3(void) { 14734 int _fpu_cmp = 0; 14735 uint32_t _cf = 0; 14736 int _df = 1; 14737 uint32_t _flag_k = FK_NONE; 14738 uint32_t _flag_a = 0, _flag_b = 0; 14739 uint32_t _itail_tgt = 0; 14740 RECOMP_REGS_LOCALS 14741 RECOMP_ENTER(0x2B091EB3u); 14742 14743 L_2B091EB3: 14744 MEM32(ebp + (-0x14)) = 0; /* 0x2B091EB3: mov dword ptr [ebp - 0x14], 0 */ 14745 MEM32(ebp + (-0x10)) = 0; /* 0x2B091EBA: mov dword ptr [ebp - 0x10], 0 */ 14746 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B091ECA; /* 0x2B091EC1: jne 0x2b091eca */ 14747 L_2B091EC3: 14748 eax = MEM32(ebp + (-0x8)); /* 0x2B091EC3: mov eax, dword ptr [ebp - 8] */ 14749 /* test eax, eax */ /* 0x2B091EC6: test eax, eax */ 14750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14751 _cf = 0; 14752 _flag_k = FK_TEST; 14753 if (TEST_Z(_flag_a, _flag_b)) goto L_2B091EE0; /* 0x2B091EC8: je 0x2b091ee0 */ 14754 L_2B091ECA: 14755 edx = ebp + (-0x18); /* 0x2B091ECA: lea edx, [ebp - 0x18] */ 14756 PUSH32(esp, edx); /* 0x2B091ECD: push edx */ 14757 eax = ebp + (-0xC); /* 0x2B091ECE: lea eax, [ebp - 0xc] */ 14758 PUSH32(esp, eax); /* 0x2B091ED1: push eax */ 14759 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B091ED2: call dword ptr [0x2b0b5d6c] */ 14760 RECOMP_FLAGS_IN(); 14761 ecx = eax; /* 0x2B091ED8: mov ecx, eax */ 14762 RECOMP_ICALL(MEM32(0x2B0B5DD8)); /* 0x2B091EDA: call dword ptr [0x2b0b5dd8] */ 14763 RECOMP_FLAGS_IN(); 14764 L_2B091EE0: 14765 ecx = MEM32(ebp + (-0x4)); /* 0x2B091EE0: mov ecx, dword ptr [ebp - 4] */ 14766 eax = MEM32(ecx + 0x4); /* 0x2B091EE3: mov eax, dword ptr [ecx + 4] */ 14767 /* test eax, eax */ /* 0x2B091EE6: test eax, eax */ 14768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14769 _cf = 0; 14770 _flag_k = FK_TEST; 14771 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B091EEF; /* 0x2B091EE8: jne 0x2b091eef */ 14772 L_2B091EEA: 14773 eax = MEM32(0x2B0B513C); /* 0x2B091EEA: mov eax, dword ptr [0x2b0b513c] */ 14774 L_2B091EEF: 14775 PUSH32(esp, eax); /* 0x2B091EEF: push eax */ 14776 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B091EF0: call dword ptr [0x2b0b60bc] */ 14777 RECOMP_FLAGS_IN(); 14778 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14780 esp = esp - 8; /* 0x2B091EF6: sub esp, 8 */ 14781 _flag_k = FK_CMP; 14782 edx = esp; /* 0x2B091EF9: mov edx, esp */ 14783 PUSH32(esp, 0); /* 0x2B091EFB: push 0 */ 14784 PUSH32(esp, 1); /* 0x2B091EFD: push 1 */ 14785 PUSH32(esp, 0x64u); /* 0x2B091EFF: push 0x64 */ 14786 PUSH32(esp, 0); /* 0x2B091F01: push 0 */ 14787 PUSH32(esp, 0); /* 0x2B091F03: push 0 */ 14788 MEM32(ebp + (-0x24)) = 0; /* 0x2B091F05: mov dword ptr [ebp - 0x24], 0 */ 14789 ecx = MEM32(ebp + (-0x24)); /* 0x2B091F0C: mov ecx, dword ptr [ebp - 0x24] */ 14790 MEM32(edx) = ecx; /* 0x2B091F0F: mov dword ptr [edx], ecx */ 14791 PUSH32(esp, 0x3F800000u); /* 0x2B091F11: push 0x3f800000 */ 14792 MEM32(ebp + (-0x20)) = 0; /* 0x2B091F16: mov dword ptr [ebp - 0x20], 0 */ 14793 ecx = MEM32(ebp + (-0x20)); /* 0x2B091F1D: mov ecx, dword ptr [ebp - 0x20] */ 14794 MEM32(edx + 0x4) = ecx; /* 0x2B091F20: mov dword ptr [edx + 4], ecx */ 14795 PUSH32(esp, 0); /* 0x2B091F23: push 0 */ 14796 MEM32(ebp + (-0x1C)) = 0; /* 0x2B091F25: mov dword ptr [ebp - 0x1c], 0 */ 14797 ecx = MEM32(ebp + (-0x1C)); /* 0x2B091F2C: mov ecx, dword ptr [ebp - 0x1c] */ 14798 MEM32(edx + 0x8) = ecx; /* 0x2B091F2F: mov dword ptr [edx + 8], ecx */ 14799 ecx = MEM32(ebp + (-0x18)); /* 0x2B091F32: mov ecx, dword ptr [ebp - 0x18] */ 14800 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 14801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14802 esp = esp - 0xCu; /* 0x2B091F35: sub esp, 0xc */ 14803 _flag_k = FK_CMP; 14804 edx = esp; /* 0x2B091F38: mov edx, esp */ 14805 MEM32(edx) = ecx; /* 0x2B091F3A: mov dword ptr [edx], ecx */ 14806 ecx = MEM32(ebp + (-0x14)); /* 0x2B091F3C: mov ecx, dword ptr [ebp - 0x14] */ 14807 MEM32(edx + 0x4) = ecx; /* 0x2B091F3F: mov dword ptr [edx + 4], ecx */ 14808 ecx = MEM32(ebp + (-0x10)); /* 0x2B091F42: mov ecx, dword ptr [ebp - 0x10] */ 14809 PUSH32(esp, eax); /* 0x2B091F45: push eax */ 14810 MEM32(edx + 0x8) = ecx; /* 0x2B091F46: mov dword ptr [edx + 8], ecx */ 14811 RECOMP_ICALL(MEM32(0x2B0B607C)); /* 0x2B091F49: call dword ptr [0x2b0b607c] */ 14812 RECOMP_FLAGS_IN(); 14813 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 14814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14815 esp = esp + 0x38u; /* 0x2B091F4F: add esp, 0x38 */ 14816 _flag_k = FK_ADD; 14817 esi = POP32_VAL(esp); /* 0x2B091F52: pop esi */ 14818 esp = ebp; /* 0x2B091F53: mov esp, ebp */ 14819 ebp = POP32_VAL(esp); /* 0x2B091F55: pop ebp */ 14820 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091F56: ret */ 14821 RECOMP_REGS_OUT(); 14822 } 14823 14824 void sub_2B091F60(void) { 14825 int _fpu_cmp = 0; 14826 uint32_t _cf = 0; 14827 int _df = 1; 14828 uint32_t _flag_k = FK_NONE; 14829 uint32_t _flag_a = 0, _flag_b = 0; 14830 uint32_t _itail_tgt = 0; 14831 RECOMP_REGS_LOCALS 14832 RECOMP_ENTER(0x2B091F60u); 14833 14834 L_2B091F60: 14835 eax = MEM32(0x2B0EF114); /* 0x2B091F60: mov eax, dword ptr [0x2b0ef114] */ 14836 /* cmp MEM32(eax), 0 */ /* 0x2B091F65: cmp dword ptr [eax], 0 */ 14837 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0); 14838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14839 _flag_k = FK_CMP; 14840 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091F86; /* 0x2B091F68: je 0x2b091f86 */ 14841 L_2B091F6A: 14842 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B091F6A: call dword ptr [0x2b0b53cc] */ 14843 RECOMP_FLAGS_IN(); 14844 ecx = eax; /* 0x2B091F70: mov ecx, eax */ 14845 RECOMP_ICALL(MEM32(0x2B0B53A4)); /* 0x2B091F72: call dword ptr [0x2b0b53a4] */ 14846 RECOMP_FLAGS_IN(); 14847 ecx = MEM32(0x2B0EF114); /* 0x2B091F78: mov ecx, dword ptr [0x2b0ef114] */ 14848 ecx = MEM32(ecx); /* 0x2B091F7E: mov ecx, dword ptr [ecx] */ 14849 PUSH32(esp, eax); /* 0x2B091F80: push eax */ 14850 RECOMP_ICALL(0x2B095A10u); /* 0x2B091F81: call 0x2b095a10 */ /* not lifted */ 14851 RECOMP_FLAGS_IN(); 14852 L_2B091F86: 14853 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091F86: ret */ 14854 RECOMP_REGS_OUT(); 14855 } 14856 14857 void sub_2B091F90(void) { 14858 int _fpu_cmp = 0; 14859 uint32_t _cf = 0; 14860 int _df = 1; 14861 uint32_t _flag_k = FK_NONE; 14862 uint32_t _flag_a = 0, _flag_b = 0; 14863 uint32_t _itail_tgt = 0; 14864 RECOMP_REGS_LOCALS 14865 RECOMP_ENTER(0x2B091F90u); 14866 14867 L_2B091F90: 14868 PUSH32(esp, ebp); /* 0x2B091F90: push ebp */ 14869 ebp = esp; /* 0x2B091F91: mov ebp, esp */ 14870 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14872 esp = esp - 8; /* 0x2B091F93: sub esp, 8 */ 14873 _flag_k = FK_CMP; 14874 eax = MEM32(0x2B0EF114); /* 0x2B091F96: mov eax, dword ptr [0x2b0ef114] */ 14875 /* cmp MEM32(eax), 0 */ /* 0x2B091F9B: cmp dword ptr [eax], 0 */ 14876 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0); 14877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14878 _flag_k = FK_CMP; 14879 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091FD8; /* 0x2B091F9E: je 0x2b091fd8 */ 14880 L_2B091FA0: 14881 PUSH32(esp, esi); /* 0x2B091FA0: push esi */ 14882 esi = MEM32(0x2B0B5B64); /* 0x2B091FA1: mov esi, dword ptr [0x2b0b5b64] */ 14883 PUSH32(esp, edi); /* 0x2B091FA7: push edi */ 14884 RECOMP_ICALL(esi); /* 0x2B091FA8: call esi */ 14885 RECOMP_FLAGS_IN(); 14886 edi = MEM32(eax + 0x110); /* 0x2B091FAA: mov edi, dword ptr [eax + 0x110] */ 14887 RECOMP_ICALL(esi); /* 0x2B091FB0: call esi */ 14888 RECOMP_FLAGS_IN(); 14889 ecx = MEM32(eax + 0x108); /* 0x2B091FB2: mov ecx, dword ptr [eax + 0x108] */ 14890 MEM32(ebp + (-0x8)) = ecx; /* 0x2B091FB8: mov dword ptr [ebp - 8], ecx */ 14891 edx = MEM32(eax + 0x10C); /* 0x2B091FBB: mov edx, dword ptr [eax + 0x10c] */ 14892 ecx = MEM32(0x2B0EF114); /* 0x2B091FC1: mov ecx, dword ptr [0x2b0ef114] */ 14893 PUSH32(esp, edi); /* 0x2B091FC7: push edi */ 14894 eax = ebp + (-0x8); /* 0x2B091FC8: lea eax, [ebp - 8] */ 14895 MEM32(ebp + (-0x4)) = edx; /* 0x2B091FCB: mov dword ptr [ebp - 4], edx */ 14896 ecx = MEM32(ecx); /* 0x2B091FCE: mov ecx, dword ptr [ecx] */ 14897 PUSH32(esp, eax); /* 0x2B091FD0: push eax */ 14898 RECOMP_ICALL(0x2B095C50u); /* 0x2B091FD1: call 0x2b095c50 */ /* not lifted */ 14899 RECOMP_FLAGS_IN(); 14900 edi = POP32_VAL(esp); /* 0x2B091FD6: pop edi */ 14901 esi = POP32_VAL(esp); /* 0x2B091FD7: pop esi */ 14902 L_2B091FD8: 14903 esp = ebp; /* 0x2B091FD8: mov esp, ebp */ 14904 ebp = POP32_VAL(esp); /* 0x2B091FDA: pop ebp */ 14905 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091FDB: ret */ 14906 RECOMP_REGS_OUT(); 14907 } 14908 14909 void sub_2B091FE0(void) { 14910 int _fpu_cmp = 0; 14911 uint32_t _cf = 0; 14912 int _df = 1; 14913 uint32_t _flag_k = FK_NONE; 14914 uint32_t _flag_a = 0, _flag_b = 0; 14915 uint32_t _itail_tgt = 0; 14916 RECOMP_REGS_LOCALS 14917 RECOMP_ENTER(0x2B091FE0u); 14918 14919 L_2B091FE0: 14920 PUSH32(esp, ebp); /* 0x2B091FE0: push ebp */ 14921 ebp = esp; /* 0x2B091FE1: mov ebp, esp */ 14922 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14924 esp = esp - 8; /* 0x2B091FE3: sub esp, 8 */ 14925 _flag_k = FK_CMP; 14926 PUSH32(esp, ebx); /* 0x2B091FE6: push ebx */ 14927 PUSH32(esp, esi); /* 0x2B091FE7: push esi */ 14928 esi = ecx; /* 0x2B091FE8: mov esi, ecx */ 14929 ecx = MEM32(esi + 0x10); /* 0x2B091FEA: mov ecx, dword ptr [esi + 0x10] */ 14930 /* test ecx, ecx */ /* 0x2B091FED: test ecx, ecx */ 14931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14932 _cf = 0; 14933 _flag_k = FK_TEST; 14934 PUSH32(esp, edi); /* 0x2B091FEF: push edi */ 14935 edi = MEM32(esi + 0x4); /* 0x2B091FF0: mov edi, dword ptr [esi + 4] */ 14936 eax = MEM32(edi); /* 0x2B091FF3: mov eax, dword ptr [edi] */ 14937 MEM32(ebp + (-0x4)) = eax; /* 0x2B091FF5: mov dword ptr [ebp - 4], eax */ 14938 if (TEST_Z(_flag_a, _flag_b)) goto L_2B092054; /* 0x2B091FF8: je 0x2b092054 */ 14939 L_2B091FFA: 14940 ecx = eax; /* 0x2B091FFA: mov ecx, eax */ 14941 /* cmp eax, ecx */ /* 0x2B091FFC: cmp eax, ecx */ 14942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14944 _flag_k = FK_CMP; 14945 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092054; /* 0x2B091FFE: jne 0x2b092054 */ 14946 L_2B092000: 14947 /* cmp edi, edi */ /* 0x2B092000: cmp edi, edi */ 14948 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14950 _flag_k = FK_CMP; 14951 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092054; /* 0x2B092002: jne 0x2b092054 */ 14952 L_2B092004: 14953 ebx = MEM32(edi + 0x4); /* 0x2B092004: mov ebx, dword ptr [edi + 4] */ 14954 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B092007: cmp ebx, dword ptr [esi + 8] */ 14955 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14957 _flag_k = FK_CMP; 14958 edi = ebx; /* 0x2B09200A: mov edi, ebx */ 14959 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092037; /* 0x2B09200C: je 0x2b092037 */ 14960 L_2B09200E: 14961 eax = MEM32(edi + 0x8); /* 0x2B09200E: mov eax, dword ptr [edi + 8] */ 14962 PUSH32(esp, eax); /* 0x2B092011: push eax */ 14963 ecx = esi; /* 0x2B092012: mov ecx, esi */ 14964 RECOMP_ICALL(0x2B092520u); /* 0x2B092014: call 0x2b092520 */ /* not lifted */ 14965 RECOMP_FLAGS_IN(); 14966 edi = MEM32(edi); /* 0x2B092019: mov edi, dword ptr [edi] */ 14967 PUSH32(esp, 0); /* 0x2B09201B: push 0 */ 14968 ecx = ebx + 0xC; /* 0x2B09201D: lea ecx, [ebx + 0xc] */ 14969 RECOMP_ICALL(0x2B092570u); /* 0x2B092020: call 0x2b092570 */ /* not lifted */ 14970 RECOMP_FLAGS_IN(); 14971 PUSH32(esp, ebx); /* 0x2B092025: push ebx */ 14972 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092026: call 0x2b0ab1ba */ /* not lifted */ 14973 RECOMP_FLAGS_IN(); 14974 eax = MEM32(esi + 0x8); /* 0x2B09202B: mov eax, dword ptr [esi + 8] */ 14975 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14976 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14977 esp = esp + 4; /* 0x2B09202E: add esp, 4 */ 14978 _flag_k = FK_ADD; 14979 /* cmp edi, eax */ /* 0x2B092031: cmp edi, eax */ 14980 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 14981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14982 _flag_k = FK_CMP; 14983 ebx = edi; /* 0x2B092033: mov ebx, edi */ 14984 RECOMP_BACKEDGE(); 14985 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09200E; /* 0x2B092035: jne 0x2b09200e */ 14986 L_2B092037: 14987 ecx = MEM32(esi + 0x4); /* 0x2B092037: mov ecx, dword ptr [esi + 4] */ 14988 edx = MEM32(esi + 0x8); /* 0x2B09203A: mov edx, dword ptr [esi + 8] */ 14989 MEM32(ecx + 0x4) = edx; /* 0x2B09203D: mov dword ptr [ecx + 4], edx */ 14990 eax = MEM32(esi + 0x4); /* 0x2B092040: mov eax, dword ptr [esi + 4] */ 14991 MEM32(esi + 0x10) = 0; /* 0x2B092043: mov dword ptr [esi + 0x10], 0 */ 14992 MEM32(eax) = eax; /* 0x2B09204A: mov dword ptr [eax], eax */ 14993 eax = MEM32(esi + 0x4); /* 0x2B09204C: mov eax, dword ptr [esi + 4] */ 14994 MEM32(eax + 0x8) = eax; /* 0x2B09204F: mov dword ptr [eax + 8], eax */ 14995 goto L_2B092075; /* 0x2B092052: jmp 0x2b092075 */ 14996 L_2B092054: 14997 /* cmp eax, edi */ /* 0x2B092054: cmp eax, edi */ 14998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15000 _flag_k = FK_CMP; 15001 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092075; /* 0x2B092056: je 0x2b092075 */ 15002 L_2B092058: 15003 ecx = ebp + (-0x4); /* 0x2B092058: lea ecx, [ebp - 4] */ 15004 ebx = eax; /* 0x2B09205B: mov ebx, eax */ 15005 RECOMP_ICALL(0x2B02A660u); /* 0x2B09205D: call 0x2b02a660 */ /* not lifted */ 15006 RECOMP_FLAGS_IN(); 15007 PUSH32(esp, ebx); /* 0x2B092062: push ebx */ 15008 eax = ebp + (-0x8); /* 0x2B092063: lea eax, [ebp - 8] */ 15009 PUSH32(esp, eax); /* 0x2B092066: push eax */ 15010 ecx = esi; /* 0x2B092067: mov ecx, esi */ 15011 RECOMP_ICALL(0x2B092150u); /* 0x2B092069: call 0x2b092150 */ /* not lifted */ 15012 RECOMP_FLAGS_IN(); 15013 eax = MEM32(ebp + (-0x4)); /* 0x2B09206E: mov eax, dword ptr [ebp - 4] */ 15014 /* cmp eax, edi */ /* 0x2B092071: cmp eax, edi */ 15015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15017 _flag_k = FK_CMP; 15018 RECOMP_BACKEDGE(); 15019 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092058; /* 0x2B092073: jne 0x2b092058 */ 15020 L_2B092075: 15021 ecx = MEM32(esi + 0x4); /* 0x2B092075: mov ecx, dword ptr [esi + 4] */ 15022 PUSH32(esp, ecx); /* 0x2B092078: push ecx */ 15023 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B092079: call 0x2b0ab1ba */ /* not lifted */ 15024 RECOMP_FLAGS_IN(); 15025 edx = MEM32(esi + 0x8); /* 0x2B09207E: mov edx, dword ptr [esi + 8] */ 15026 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15027 edi = 0; /* 0x2B092081: xor edi, edi */ 15028 _cf = 0; 15029 _flag_k = FK_TEST; 15030 PUSH32(esp, edx); /* 0x2B092083: push edx */ 15031 MEM32(esi + 0x4) = edi; /* 0x2B092084: mov dword ptr [esi + 4], edi */ 15032 MEM32(esi + 0x10) = edi; /* 0x2B092087: mov dword ptr [esi + 0x10], edi */ 15033 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09208A: call 0x2b0ab1ba */ /* not lifted */ 15034 RECOMP_FLAGS_IN(); 15035 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15036 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15037 esp = esp + 8; /* 0x2B09208F: add esp, 8 */ 15038 _flag_k = FK_ADD; 15039 MEM32(esi + 0x8) = edi; /* 0x2B092092: mov dword ptr [esi + 8], edi */ 15040 edi = POP32_VAL(esp); /* 0x2B092095: pop edi */ 15041 esi = POP32_VAL(esp); /* 0x2B092096: pop esi */ 15042 ebx = POP32_VAL(esp); /* 0x2B092097: pop ebx */ 15043 esp = ebp; /* 0x2B092098: mov esp, ebp */ 15044 ebp = POP32_VAL(esp); /* 0x2B09209A: pop ebp */ 15045 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B09209B: ret */ 15046 RECOMP_REGS_OUT(); 15047 } 15048 15049 void sub_2B0920A0(void) { 15050 int _fpu_cmp = 0; 15051 uint32_t _cf = 0; 15052 int _df = 1; 15053 uint32_t _flag_k = FK_NONE; 15054 uint32_t _flag_a = 0, _flag_b = 0; 15055 uint32_t _itail_tgt = 0; 15056 RECOMP_REGS_LOCALS 15057 RECOMP_ENTER(0x2B0920A0u); 15058 15059 L_2B0920A0: 15060 PUSH32(esp, ebp); /* 0x2B0920A0: push ebp */ 15061 ebp = esp; /* 0x2B0920A1: mov ebp, esp */ 15062 PUSH32(esp, ebx); /* 0x2B0920A3: push ebx */ 15063 ebx = MEM32(ebp + 0x10); /* 0x2B0920A4: mov ebx, dword ptr [ebp + 0x10] */ 15064 PUSH32(esp, esi); /* 0x2B0920A7: push esi */ 15065 esi = ecx; /* 0x2B0920A8: mov esi, ecx */ 15066 eax = MEM32(esi + 0x10); /* 0x2B0920AA: mov eax, dword ptr [esi + 0x10] */ 15067 /* test eax, eax */ /* 0x2B0920AD: test eax, eax */ 15068 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15069 _cf = 0; 15070 _flag_k = FK_TEST; 15071 ecx = MEM32(ebp + 0xC); /* 0x2B0920AF: mov ecx, dword ptr [ebp + 0xc] */ 15072 PUSH32(esp, edi); /* 0x2B0920B2: push edi */ 15073 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09211D; /* 0x2B0920B3: je 0x2b09211d */ 15074 L_2B0920B5: 15075 eax = MEM32(esi + 0x4); /* 0x2B0920B5: mov eax, dword ptr [esi + 4] */ 15076 /* cmp ecx, MEM32(eax) */ /* 0x2B0920B8: cmp ecx, dword ptr [eax] */ 15077 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 15078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15079 _flag_k = FK_CMP; 15080 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09211D; /* 0x2B0920BA: jne 0x2b09211d */ 15081 L_2B0920BC: 15082 /* cmp ebx, eax */ /* 0x2B0920BC: cmp ebx, eax */ 15083 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 15084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15085 _flag_k = FK_CMP; 15086 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09211D; /* 0x2B0920BE: jne 0x2b09211d */ 15087 L_2B0920C0: 15088 ebx = MEM32(eax + 0x4); /* 0x2B0920C0: mov ebx, dword ptr [eax + 4] */ 15089 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0920C3: cmp ebx, dword ptr [esi + 8] */ 15090 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15092 _flag_k = FK_CMP; 15093 edi = ebx; /* 0x2B0920C6: mov edi, ebx */ 15094 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0920F1; /* 0x2B0920C8: je 0x2b0920f1 */ 15095 L_2B0920CA: 15096 eax = MEM32(edi + 0x8); /* 0x2B0920CA: mov eax, dword ptr [edi + 8] */ 15097 PUSH32(esp, eax); /* 0x2B0920CD: push eax */ 15098 ecx = esi; /* 0x2B0920CE: mov ecx, esi */ 15099 RECOMP_ICALL(0x2B092520u); /* 0x2B0920D0: call 0x2b092520 */ /* not lifted */ 15100 RECOMP_FLAGS_IN(); 15101 edi = MEM32(edi); /* 0x2B0920D5: mov edi, dword ptr [edi] */ 15102 ecx = ebx + 0xC; /* 0x2B0920D7: lea ecx, [ebx + 0xc] */ 15103 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0920DA: call 0x2b0925a0 */ /* not lifted */ 15104 RECOMP_FLAGS_IN(); 15105 PUSH32(esp, ebx); /* 0x2B0920DF: push ebx */ 15106 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0920E0: call 0x2b0ab1ba */ /* not lifted */ 15107 RECOMP_FLAGS_IN(); 15108 eax = MEM32(esi + 0x8); /* 0x2B0920E5: mov eax, dword ptr [esi + 8] */ 15109 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15110 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15111 esp = esp + 4; /* 0x2B0920E8: add esp, 4 */ 15112 _flag_k = FK_ADD; 15113 /* cmp edi, eax */ /* 0x2B0920EB: cmp edi, eax */ 15114 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 15115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15116 _flag_k = FK_CMP; 15117 ebx = edi; /* 0x2B0920ED: mov ebx, edi */ 15118 RECOMP_BACKEDGE(); 15119 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0920CA; /* 0x2B0920EF: jne 0x2b0920ca */ 15120 L_2B0920F1: 15121 ecx = MEM32(esi + 0x4); /* 0x2B0920F1: mov ecx, dword ptr [esi + 4] */ 15122 edx = MEM32(esi + 0x8); /* 0x2B0920F4: mov edx, dword ptr [esi + 8] */ 15123 MEM32(ecx + 0x4) = edx; /* 0x2B0920F7: mov dword ptr [ecx + 4], edx */ 15124 eax = MEM32(esi + 0x4); /* 0x2B0920FA: mov eax, dword ptr [esi + 4] */ 15125 MEM32(esi + 0x10) = 0; /* 0x2B0920FD: mov dword ptr [esi + 0x10], 0 */ 15126 MEM32(eax) = eax; /* 0x2B092104: mov dword ptr [eax], eax */ 15127 eax = MEM32(esi + 0x4); /* 0x2B092106: mov eax, dword ptr [esi + 4] */ 15128 MEM32(eax + 0x8) = eax; /* 0x2B092109: mov dword ptr [eax + 8], eax */ 15129 eax = MEM32(esi + 0x4); /* 0x2B09210C: mov eax, dword ptr [esi + 4] */ 15130 ecx = MEM32(eax); /* 0x2B09210F: mov ecx, dword ptr [eax] */ 15131 eax = MEM32(ebp + 0x8); /* 0x2B092111: mov eax, dword ptr [ebp + 8] */ 15132 edi = POP32_VAL(esp); /* 0x2B092114: pop edi */ 15133 esi = POP32_VAL(esp); /* 0x2B092115: pop esi */ 15134 MEM32(eax) = ecx; /* 0x2B092116: mov dword ptr [eax], ecx */ 15135 ebx = POP32_VAL(esp); /* 0x2B092118: pop ebx */ 15136 ebp = POP32_VAL(esp); /* 0x2B092119: pop ebp */ 15137 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B09211A: ret 0xc */ 15138 L_2B09211D: 15139 /* cmp ecx, ebx */ /* 0x2B09211D: cmp ecx, ebx */ 15140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 15141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15142 _flag_k = FK_CMP; 15143 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09213E; /* 0x2B09211F: je 0x2b09213e */ 15144 L_2B092121: 15145 edi = ecx; /* 0x2B092121: mov edi, ecx */ 15146 ecx = ebp + 0xC; /* 0x2B092123: lea ecx, [ebp + 0xc] */ 15147 RECOMP_ICALL(0x2B02A660u); /* 0x2B092126: call 0x2b02a660 */ /* not lifted */ 15148 RECOMP_FLAGS_IN(); 15149 PUSH32(esp, edi); /* 0x2B09212B: push edi */ 15150 ecx = ebp + 0x10; /* 0x2B09212C: lea ecx, [ebp + 0x10] */ 15151 PUSH32(esp, ecx); /* 0x2B09212F: push ecx */ 15152 ecx = esi; /* 0x2B092130: mov ecx, esi */ 15153 RECOMP_ICALL(0x2B092150u); /* 0x2B092132: call 0x2b092150 */ /* not lifted */ 15154 RECOMP_FLAGS_IN(); 15155 ecx = MEM32(ebp + 0xC); /* 0x2B092137: mov ecx, dword ptr [ebp + 0xc] */ 15156 /* cmp ecx, ebx */ /* 0x2B09213A: cmp ecx, ebx */ 15157 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 15158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15159 _flag_k = FK_CMP; 15160 RECOMP_BACKEDGE(); 15161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092121; /* 0x2B09213C: jne 0x2b092121 */ 15162 L_2B09213E: 15163 eax = MEM32(ebp + 0x8); /* 0x2B09213E: mov eax, dword ptr [ebp + 8] */ 15164 edi = POP32_VAL(esp); /* 0x2B092141: pop edi */ 15165 esi = POP32_VAL(esp); /* 0x2B092142: pop esi */ 15166 MEM32(eax) = ecx; /* 0x2B092143: mov dword ptr [eax], ecx */ 15167 ebx = POP32_VAL(esp); /* 0x2B092145: pop ebx */ 15168 ebp = POP32_VAL(esp); /* 0x2B092146: pop ebp */ 15169 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B092147: ret 0xc */ 15170 RECOMP_REGS_OUT(); 15171 } 15172 15173 void sub_2B092150(void) { 15174 int _fpu_cmp = 0; 15175 uint32_t _cf = 0; 15176 int _df = 1; 15177 uint32_t _flag_k = FK_NONE; 15178 uint32_t _flag_a = 0, _flag_b = 0; 15179 uint32_t _itail_tgt = 0; 15180 RECOMP_REGS_LOCALS 15181 RECOMP_ENTER(0x2B092150u); 15182 15183 L_2B092150: 15184 PUSH32(esp, ebp); /* 0x2B092150: push ebp */ 15185 ebp = esp; /* 0x2B092151: mov ebp, esp */ 15186 PUSH32(esp, ecx); /* 0x2B092153: push ecx */ 15187 PUSH32(esp, ebx); /* 0x2B092154: push ebx */ 15188 PUSH32(esp, esi); /* 0x2B092155: push esi */ 15189 esi = MEM32(ebp + 0xC); /* 0x2B092156: mov esi, dword ptr [ebp + 0xc] */ 15190 PUSH32(esp, edi); /* 0x2B092159: push edi */ 15191 edi = ecx; /* 0x2B09215A: mov edi, ecx */ 15192 ecx = ebp + 0xC; /* 0x2B09215C: lea ecx, [ebp + 0xc] */ 15193 RECOMP_ICALL(0x2B02A660u); /* 0x2B09215F: call 0x2b02a660 */ /* not lifted */ 15194 RECOMP_FLAGS_IN(); 15195 edx = MEM32(esi); /* 0x2B092164: mov edx, dword ptr [esi] */ 15196 eax = MEM32(edi + 0x8); /* 0x2B092166: mov eax, dword ptr [edi + 8] */ 15197 /* cmp edx, eax */ /* 0x2B092169: cmp edx, eax */ 15198 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 15199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15200 _flag_k = FK_CMP; 15201 MEM32(ebp + (-0x4)) = esi; /* 0x2B09216B: mov dword ptr [ebp - 4], esi */ 15202 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092190; /* 0x2B09216E: jne 0x2b092190 */ 15203 L_2B092170: 15204 eax = MEM32(esi + 0x8); /* 0x2B092170: mov eax, dword ptr [esi + 8] */ 15205 L_2B092173: 15206 ecx = MEM32(ebp + (-0x4)); /* 0x2B092173: mov ecx, dword ptr [ebp - 4] */ 15207 edx = MEM32(ecx + 0x4); /* 0x2B092176: mov edx, dword ptr [ecx + 4] */ 15208 MEM32(eax + 0x4) = edx; /* 0x2B092179: mov dword ptr [eax + 4], edx */ 15209 ecx = MEM32(edi + 0x4); /* 0x2B09217C: mov ecx, dword ptr [edi + 4] */ 15210 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B09217F: cmp dword ptr [ecx + 4], esi */ 15211 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 15212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15213 _flag_k = FK_CMP; 15214 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092213; /* 0x2B092182: jne 0x2b092213 */ 15215 L_2B092188: 15216 MEM32(ecx + 0x4) = eax; /* 0x2B092188: mov dword ptr [ecx + 4], eax */ 15217 goto L_2B092221; /* 0x2B09218B: jmp 0x2b092221 */ 15218 L_2B092190: 15219 ecx = MEM32(esi + 0x8); /* 0x2B092190: mov ecx, dword ptr [esi + 8] */ 15220 /* cmp ecx, eax */ /* 0x2B092193: cmp ecx, eax */ 15221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 15222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15223 _flag_k = FK_CMP; 15224 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09219B; /* 0x2B092195: jne 0x2b09219b */ 15225 L_2B092197: 15226 eax = edx; /* 0x2B092197: mov eax, edx */ 15227 RECOMP_BACKEDGE(); 15228 goto L_2B092173; /* 0x2B092199: jmp 0x2b092173 */ 15229 L_2B09219B: 15230 eax = MEM32(ecx); /* 0x2B09219B: mov eax, dword ptr [ecx] */ 15231 SET_LO8(ebx, MEM8(eax + 0x3D)); /* 0x2B09219D: mov bl, byte ptr [eax + 0x3d] */ 15232 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0921A0: test bl, bl */ 15233 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15234 _cf = 0; 15235 _flag_k = FK_NARROW(FK_TEST, 24); 15236 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0921AF; /* 0x2B0921A2: jne 0x2b0921af */ 15237 L_2B0921A4: 15238 ecx = eax; /* 0x2B0921A4: mov ecx, eax */ 15239 eax = MEM32(ecx); /* 0x2B0921A6: mov eax, dword ptr [ecx] */ 15240 SET_LO8(ebx, MEM8(eax + 0x3D)); /* 0x2B0921A8: mov bl, byte ptr [eax + 0x3d] */ 15241 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0921AB: test bl, bl */ 15242 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15243 _cf = 0; 15244 _flag_k = FK_NARROW(FK_TEST, 24); 15245 RECOMP_BACKEDGE(); 15246 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0921A4; /* 0x2B0921AD: je 0x2b0921a4 */ 15247 L_2B0921AF: 15248 /* cmp ecx, esi */ /* 0x2B0921AF: cmp ecx, esi */ 15249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 15250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15251 _flag_k = FK_CMP; 15252 eax = MEM32(ecx + 0x8); /* 0x2B0921B1: mov eax, dword ptr [ecx + 8] */ 15253 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0921B4: mov dword ptr [ebp - 4], ecx */ 15254 RECOMP_BACKEDGE(); 15255 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092173; /* 0x2B0921B7: je 0x2b092173 */ 15256 L_2B0921B9: 15257 MEM32(edx + 0x4) = ecx; /* 0x2B0921B9: mov dword ptr [edx + 4], ecx */ 15258 edx = MEM32(esi); /* 0x2B0921BC: mov edx, dword ptr [esi] */ 15259 MEM32(ecx) = edx; /* 0x2B0921BE: mov dword ptr [ecx], edx */ 15260 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0921C0: cmp ecx, dword ptr [esi + 8] */ 15261 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15263 _flag_k = FK_CMP; 15264 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0921CA; /* 0x2B0921C3: jne 0x2b0921ca */ 15265 L_2B0921C5: 15266 MEM32(eax + 0x4) = ecx; /* 0x2B0921C5: mov dword ptr [eax + 4], ecx */ 15267 goto L_2B0921E1; /* 0x2B0921C8: jmp 0x2b0921e1 */ 15268 L_2B0921CA: 15269 edx = MEM32(ecx + 0x4); /* 0x2B0921CA: mov edx, dword ptr [ecx + 4] */ 15270 MEM32(eax + 0x4) = edx; /* 0x2B0921CD: mov dword ptr [eax + 4], edx */ 15271 edx = MEM32(ecx + 0x4); /* 0x2B0921D0: mov edx, dword ptr [ecx + 4] */ 15272 MEM32(edx) = eax; /* 0x2B0921D3: mov dword ptr [edx], eax */ 15273 edx = MEM32(esi + 0x8); /* 0x2B0921D5: mov edx, dword ptr [esi + 8] */ 15274 MEM32(ecx + 0x8) = edx; /* 0x2B0921D8: mov dword ptr [ecx + 8], edx */ 15275 edx = MEM32(esi + 0x8); /* 0x2B0921DB: mov edx, dword ptr [esi + 8] */ 15276 MEM32(edx + 0x4) = ecx; /* 0x2B0921DE: mov dword ptr [edx + 4], ecx */ 15277 L_2B0921E1: 15278 edx = MEM32(edi + 0x4); /* 0x2B0921E1: mov edx, dword ptr [edi + 4] */ 15279 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B0921E4: cmp dword ptr [edx + 4], esi */ 15280 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 15281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15282 _flag_k = FK_CMP; 15283 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0921EE; /* 0x2B0921E7: jne 0x2b0921ee */ 15284 L_2B0921E9: 15285 MEM32(edx + 0x4) = ecx; /* 0x2B0921E9: mov dword ptr [edx + 4], ecx */ 15286 goto L_2B0921FC; /* 0x2B0921EC: jmp 0x2b0921fc */ 15287 L_2B0921EE: 15288 edx = MEM32(esi + 0x4); /* 0x2B0921EE: mov edx, dword ptr [esi + 4] */ 15289 /* cmp MEM32(edx), esi */ /* 0x2B0921F1: cmp dword ptr [edx], esi */ 15290 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 15291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15292 _flag_k = FK_CMP; 15293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0921F9; /* 0x2B0921F3: jne 0x2b0921f9 */ 15294 L_2B0921F5: 15295 MEM32(edx) = ecx; /* 0x2B0921F5: mov dword ptr [edx], ecx */ 15296 goto L_2B0921FC; /* 0x2B0921F7: jmp 0x2b0921fc */ 15297 L_2B0921F9: 15298 MEM32(edx + 0x8) = ecx; /* 0x2B0921F9: mov dword ptr [edx + 8], ecx */ 15299 L_2B0921FC: 15300 edx = MEM32(esi + 0x4); /* 0x2B0921FC: mov edx, dword ptr [esi + 4] */ 15301 MEM32(ecx + 0x4) = edx; /* 0x2B0921FF: mov dword ptr [ecx + 4], edx */ 15302 SET_LO8(ebx, MEM8(esi + 0x3C)); /* 0x2B092202: mov bl, byte ptr [esi + 0x3c] */ 15303 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092205: mov dl, byte ptr [ecx + 0x3c] */ 15304 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B092208: mov byte ptr [ecx + 0x3c], bl */ 15305 MEM8(esi + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B09220B: mov byte ptr [esi + 0x3c], dl */ 15306 MEM32(ebp + (-0x4)) = esi; /* 0x2B09220E: mov dword ptr [ebp - 4], esi */ 15307 goto L_2B092278; /* 0x2B092211: jmp 0x2b092278 */ 15308 L_2B092213: 15309 ecx = MEM32(esi + 0x4); /* 0x2B092213: mov ecx, dword ptr [esi + 4] */ 15310 /* cmp MEM32(ecx), esi */ /* 0x2B092216: cmp dword ptr [ecx], esi */ 15311 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 15312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15313 _flag_k = FK_CMP; 15314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09221E; /* 0x2B092218: jne 0x2b09221e */ 15315 L_2B09221A: 15316 MEM32(ecx) = eax; /* 0x2B09221A: mov dword ptr [ecx], eax */ 15317 goto L_2B092221; /* 0x2B09221C: jmp 0x2b092221 */ 15318 L_2B09221E: 15319 MEM32(ecx + 0x8) = eax; /* 0x2B09221E: mov dword ptr [ecx + 8], eax */ 15320 L_2B092221: 15321 ebx = MEM32(edi + 0x4); /* 0x2B092221: mov ebx, dword ptr [edi + 4] */ 15322 /* cmp MEM32(ebx), esi */ /* 0x2B092224: cmp dword ptr [ebx], esi */ 15323 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 15324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15325 _flag_k = FK_CMP; 15326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09224B; /* 0x2B092226: jne 0x2b09224b */ 15327 L_2B092228: 15328 ecx = MEM32(esi + 0x8); /* 0x2B092228: mov ecx, dword ptr [esi + 8] */ 15329 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B09222B: cmp ecx, dword ptr [edi + 8] */ 15330 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15332 _flag_k = FK_CMP; 15333 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092235; /* 0x2B09222E: jne 0x2b092235 */ 15334 L_2B092230: 15335 edx = MEM32(esi + 0x4); /* 0x2B092230: mov edx, dword ptr [esi + 4] */ 15336 goto L_2B092249; /* 0x2B092233: jmp 0x2b092249 */ 15337 L_2B092235: 15338 ecx = MEM32(eax); /* 0x2B092235: mov ecx, dword ptr [eax] */ 15339 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B092237: cmp byte ptr [ecx + 0x3d], 0 */ 15340 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15342 _flag_k = FK_NARROW(FK_CMP, 24); 15343 edx = eax; /* 0x2B09223B: mov edx, eax */ 15344 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092249; /* 0x2B09223D: jne 0x2b092249 */ 15345 L_2B09223F: 15346 edx = ecx; /* 0x2B09223F: mov edx, ecx */ 15347 ecx = MEM32(edx); /* 0x2B092241: mov ecx, dword ptr [edx] */ 15348 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B092243: cmp byte ptr [ecx + 0x3d], 0 */ 15349 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15351 _flag_k = FK_NARROW(FK_CMP, 24); 15352 RECOMP_BACKEDGE(); 15353 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09223F; /* 0x2B092247: je 0x2b09223f */ 15354 L_2B092249: 15355 MEM32(ebx) = edx; /* 0x2B092249: mov dword ptr [ebx], edx */ 15356 L_2B09224B: 15357 ebx = MEM32(edi + 0x4); /* 0x2B09224B: mov ebx, dword ptr [edi + 4] */ 15358 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B09224E: cmp dword ptr [ebx + 8], esi */ 15359 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 15360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15361 _flag_k = FK_CMP; 15362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092278; /* 0x2B092251: jne 0x2b092278 */ 15363 L_2B092253: 15364 ecx = MEM32(esi); /* 0x2B092253: mov ecx, dword ptr [esi] */ 15365 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B092255: cmp ecx, dword ptr [edi + 8] */ 15366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15368 _flag_k = FK_CMP; 15369 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09225F; /* 0x2B092258: jne 0x2b09225f */ 15370 L_2B09225A: 15371 edx = MEM32(esi + 0x4); /* 0x2B09225A: mov edx, dword ptr [esi + 4] */ 15372 goto L_2B092275; /* 0x2B09225D: jmp 0x2b092275 */ 15373 L_2B09225F: 15374 ecx = MEM32(eax + 0x8); /* 0x2B09225F: mov ecx, dword ptr [eax + 8] */ 15375 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B092262: cmp byte ptr [ecx + 0x3d], 0 */ 15376 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15378 _flag_k = FK_NARROW(FK_CMP, 24); 15379 edx = eax; /* 0x2B092266: mov edx, eax */ 15380 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092275; /* 0x2B092268: jne 0x2b092275 */ 15381 L_2B09226A: 15382 edx = ecx; /* 0x2B09226A: mov edx, ecx */ 15383 ecx = MEM32(edx + 0x8); /* 0x2B09226C: mov ecx, dword ptr [edx + 8] */ 15384 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B09226F: cmp byte ptr [ecx + 0x3d], 0 */ 15385 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15387 _flag_k = FK_NARROW(FK_CMP, 24); 15388 RECOMP_BACKEDGE(); 15389 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09226A; /* 0x2B092273: je 0x2b09226a */ 15390 L_2B092275: 15391 MEM32(ebx + 0x8) = edx; /* 0x2B092275: mov dword ptr [ebx + 8], edx */ 15392 L_2B092278: 15393 esi = MEM32(ebp + (-0x4)); /* 0x2B092278: mov esi, dword ptr [ebp - 4] */ 15394 SET_LO8(ecx, MEM8(esi + 0x3C)); /* 0x2B09227B: mov cl, byte ptr [esi + 0x3c] */ 15395 SET_LO8(ebx, 1); /* 0x2B09227E: mov bl, 1 */ 15396 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B092280: cmp cl, bl */ 15397 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15399 _flag_k = FK_NARROW(FK_CMP, 24); 15400 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E8; /* 0x2B092282: jne 0x2b0924e8 */ 15401 L_2B092288: 15402 ecx = MEM32(edi + 0x4); /* 0x2B092288: mov ecx, dword ptr [edi + 4] */ 15403 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B09228B: cmp eax, dword ptr [ecx + 4] */ 15404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15406 _flag_k = FK_CMP; 15407 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B09228E: je 0x2b0924e2 */ 15408 L_2B092294: 15409 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 15410 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15412 _flag_k = FK_NARROW(FK_CMP, 24); 15413 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 15414 L_2B09229D: 15415 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 15416 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 15417 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 15418 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 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_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 15422 L_2B0922A6: 15423 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 15424 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 15425 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 15426 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15427 _cf = 0; 15428 _flag_k = FK_NARROW(FK_TEST, 24); 15429 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 15430 L_2B0922B0: 15431 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 15432 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 15433 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 15434 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 15435 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 15436 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 15437 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 15438 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 15439 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 15440 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15442 _flag_k = FK_CMP; 15443 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 15444 L_2B0922CC: 15445 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 15446 L_2B0922CF: 15447 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 15448 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 15449 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 15450 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 15451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15453 _flag_k = FK_CMP; 15454 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 15455 L_2B0922DD: 15456 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 15457 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 15458 L_2B0922E2: 15459 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 15460 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 15461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15463 _flag_k = FK_CMP; 15464 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 15465 L_2B0922E9: 15466 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 15467 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 15468 L_2B0922ED: 15469 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 15470 L_2B0922F0: 15471 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 15472 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 15473 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 15474 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 15475 L_2B0922FB: 15476 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 15477 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 15478 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15480 _flag_k = FK_NARROW(FK_CMP, 24); 15481 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 15482 L_2B092306: 15483 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 15484 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 15485 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15487 _flag_k = FK_NARROW(FK_CMP, 24); 15488 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 15489 L_2B092312: 15490 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 15491 L_2B092314: 15492 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 15493 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 15494 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15495 _cf = 0; 15496 _flag_k = FK_NARROW(FK_TEST, 24); 15497 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 15498 L_2B09231B: 15499 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 15500 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 15501 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 15502 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 15503 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 15504 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 15505 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 15506 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 15507 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 15508 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15510 _flag_k = FK_CMP; 15511 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 15512 L_2B092337: 15513 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 15514 L_2B09233A: 15515 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 15516 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 15517 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 15518 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 15519 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15521 _flag_k = FK_CMP; 15522 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 15523 L_2B092348: 15524 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 15525 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 15526 L_2B09234D: 15527 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 15528 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 15529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15531 _flag_k = FK_CMP; 15532 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 15533 L_2B092355: 15534 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 15535 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 15536 L_2B09235A: 15537 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 15538 L_2B09235C: 15539 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 15540 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 15541 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 15542 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 15543 L_2B092367: 15544 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 15545 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 15546 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15548 _flag_k = FK_NARROW(FK_CMP, 24); 15549 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 15550 L_2B092373: 15551 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 15552 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 15553 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15555 _flag_k = FK_NARROW(FK_CMP, 24); 15556 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 15557 L_2B09237E: 15558 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 15559 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 15560 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 15561 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 15562 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15564 _flag_k = FK_CMP; 15565 RECOMP_BACKEDGE(); 15566 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 15567 L_2B092391: 15568 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 15569 L_2B092396: 15570 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 15571 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 15572 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15574 _flag_k = FK_NARROW(FK_CMP, 24); 15575 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 15576 L_2B09239E: 15577 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 15578 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 15579 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 15580 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 15581 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 15582 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 15583 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 15584 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 15585 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15587 _flag_k = FK_CMP; 15588 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 15589 L_2B0923B6: 15590 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 15591 L_2B0923B9: 15592 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 15593 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 15594 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 15595 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 15596 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15598 _flag_k = FK_CMP; 15599 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 15600 L_2B0923C7: 15601 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 15602 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 15603 L_2B0923CC: 15604 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 15605 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 15606 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15608 _flag_k = FK_CMP; 15609 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 15610 L_2B0923D4: 15611 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 15612 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 15613 L_2B0923D9: 15614 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 15615 L_2B0923DB: 15616 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 15617 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 15618 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 15619 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 15620 L_2B0923E7: 15621 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 15622 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 15623 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 15624 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 15625 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 15626 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 15627 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 15628 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 15629 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 15630 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 15631 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 15632 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 15633 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 15634 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15636 _flag_k = FK_CMP; 15637 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 15638 L_2B09240E: 15639 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 15640 L_2B092411: 15641 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 15642 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 15643 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 15644 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 15645 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15647 _flag_k = FK_CMP; 15648 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 15649 L_2B09241F: 15650 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 15651 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 15652 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 15653 L_2B092429: 15654 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 15655 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 15656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15658 _flag_k = FK_CMP; 15659 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 15660 L_2B092430: 15661 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 15662 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 15663 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 15664 L_2B092439: 15665 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 15666 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 15667 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 15668 L_2B092443: 15669 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 15670 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 15671 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15673 _flag_k = FK_NARROW(FK_CMP, 24); 15674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 15675 L_2B09244A: 15676 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 15677 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 15678 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 15679 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 15680 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 15681 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 15682 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 15683 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 15684 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15686 _flag_k = FK_CMP; 15687 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 15688 L_2B092463: 15689 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 15690 L_2B092466: 15691 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 15692 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 15693 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 15694 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 15695 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15697 _flag_k = FK_CMP; 15698 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 15699 L_2B092474: 15700 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 15701 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 15702 L_2B092479: 15703 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 15704 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 15705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15707 _flag_k = FK_CMP; 15708 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 15709 L_2B092480: 15710 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 15711 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 15712 L_2B092484: 15713 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 15714 L_2B092487: 15715 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 15716 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 15717 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 15718 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 15719 L_2B092491: 15720 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 15721 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 15722 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 15723 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 15724 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 15725 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 15726 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 15727 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 15728 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 15729 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 15730 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 15731 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 15732 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 15733 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15735 _flag_k = FK_CMP; 15736 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 15737 L_2B0924B7: 15738 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 15739 L_2B0924BA: 15740 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 15741 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 15742 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 15743 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 15744 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15746 _flag_k = FK_CMP; 15747 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 15748 L_2B0924C8: 15749 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 15750 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 15751 L_2B0924CD: 15752 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 15753 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 15754 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15756 _flag_k = FK_CMP; 15757 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 15758 L_2B0924D5: 15759 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 15760 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 15761 L_2B0924DA: 15762 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 15763 L_2B0924DC: 15764 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 15765 L_2B0924DF: 15766 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 15767 L_2B0924E2: 15768 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 15769 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 15770 L_2B0924E8: 15771 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 15772 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 15773 RECOMP_FLAGS_IN(); 15774 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 15775 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 15776 RECOMP_FLAGS_IN(); 15777 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 15778 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 15779 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15780 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15781 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 15782 _flag_k = FK_ADD; 15783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15784 eax = eax - 1; /* 0x2B0924FF: dec eax */ 15785 _flag_k = FK_DEC; 15786 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 15787 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 15788 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 15789 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 15790 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 15791 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 15792 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 15793 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 15794 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 15795 RECOMP_REGS_OUT(); 15796 } 15797 15798 void sub_2B092221(void) { 15799 int _fpu_cmp = 0; 15800 uint32_t _cf = 0; 15801 int _df = 1; 15802 uint32_t _flag_k = FK_NONE; 15803 uint32_t _flag_a = 0, _flag_b = 0; 15804 uint32_t _itail_tgt = 0; 15805 RECOMP_REGS_LOCALS 15806 RECOMP_ENTER(0x2B092221u); 15807 15808 L_2B092221: 15809 ebx = MEM32(edi + 0x4); /* 0x2B092221: mov ebx, dword ptr [edi + 4] */ 15810 /* cmp MEM32(ebx), esi */ /* 0x2B092224: cmp dword ptr [ebx], esi */ 15811 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 15812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15813 _flag_k = FK_CMP; 15814 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09224B; /* 0x2B092226: jne 0x2b09224b */ 15815 L_2B092228: 15816 ecx = MEM32(esi + 0x8); /* 0x2B092228: mov ecx, dword ptr [esi + 8] */ 15817 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B09222B: cmp ecx, dword ptr [edi + 8] */ 15818 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15820 _flag_k = FK_CMP; 15821 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092235; /* 0x2B09222E: jne 0x2b092235 */ 15822 L_2B092230: 15823 edx = MEM32(esi + 0x4); /* 0x2B092230: mov edx, dword ptr [esi + 4] */ 15824 goto L_2B092249; /* 0x2B092233: jmp 0x2b092249 */ 15825 L_2B092235: 15826 ecx = MEM32(eax); /* 0x2B092235: mov ecx, dword ptr [eax] */ 15827 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B092237: cmp byte ptr [ecx + 0x3d], 0 */ 15828 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15830 _flag_k = FK_NARROW(FK_CMP, 24); 15831 edx = eax; /* 0x2B09223B: mov edx, eax */ 15832 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092249; /* 0x2B09223D: jne 0x2b092249 */ 15833 L_2B09223F: 15834 edx = ecx; /* 0x2B09223F: mov edx, ecx */ 15835 ecx = MEM32(edx); /* 0x2B092241: mov ecx, dword ptr [edx] */ 15836 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B092243: cmp byte ptr [ecx + 0x3d], 0 */ 15837 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15839 _flag_k = FK_NARROW(FK_CMP, 24); 15840 RECOMP_BACKEDGE(); 15841 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09223F; /* 0x2B092247: je 0x2b09223f */ 15842 L_2B092249: 15843 MEM32(ebx) = edx; /* 0x2B092249: mov dword ptr [ebx], edx */ 15844 L_2B09224B: 15845 ebx = MEM32(edi + 0x4); /* 0x2B09224B: mov ebx, dword ptr [edi + 4] */ 15846 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B09224E: cmp dword ptr [ebx + 8], esi */ 15847 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 15848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15849 _flag_k = FK_CMP; 15850 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092278; /* 0x2B092251: jne 0x2b092278 */ 15851 L_2B092253: 15852 ecx = MEM32(esi); /* 0x2B092253: mov ecx, dword ptr [esi] */ 15853 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B092255: cmp ecx, dword ptr [edi + 8] */ 15854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15856 _flag_k = FK_CMP; 15857 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09225F; /* 0x2B092258: jne 0x2b09225f */ 15858 L_2B09225A: 15859 edx = MEM32(esi + 0x4); /* 0x2B09225A: mov edx, dword ptr [esi + 4] */ 15860 goto L_2B092275; /* 0x2B09225D: jmp 0x2b092275 */ 15861 L_2B09225F: 15862 ecx = MEM32(eax + 0x8); /* 0x2B09225F: mov ecx, dword ptr [eax + 8] */ 15863 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B092262: cmp byte ptr [ecx + 0x3d], 0 */ 15864 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15866 _flag_k = FK_NARROW(FK_CMP, 24); 15867 edx = eax; /* 0x2B092266: mov edx, eax */ 15868 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092275; /* 0x2B092268: jne 0x2b092275 */ 15869 L_2B09226A: 15870 edx = ecx; /* 0x2B09226A: mov edx, ecx */ 15871 ecx = MEM32(edx + 0x8); /* 0x2B09226C: mov ecx, dword ptr [edx + 8] */ 15872 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B09226F: cmp byte ptr [ecx + 0x3d], 0 */ 15873 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 15874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15875 _flag_k = FK_NARROW(FK_CMP, 24); 15876 RECOMP_BACKEDGE(); 15877 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09226A; /* 0x2B092273: je 0x2b09226a */ 15878 L_2B092275: 15879 MEM32(ebx + 0x8) = edx; /* 0x2B092275: mov dword ptr [ebx + 8], edx */ 15880 L_2B092278: 15881 esi = MEM32(ebp + (-0x4)); /* 0x2B092278: mov esi, dword ptr [ebp - 4] */ 15882 SET_LO8(ecx, MEM8(esi + 0x3C)); /* 0x2B09227B: mov cl, byte ptr [esi + 0x3c] */ 15883 SET_LO8(ebx, 1); /* 0x2B09227E: mov bl, 1 */ 15884 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B092280: cmp cl, bl */ 15885 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15887 _flag_k = FK_NARROW(FK_CMP, 24); 15888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E8; /* 0x2B092282: jne 0x2b0924e8 */ 15889 L_2B092288: 15890 ecx = MEM32(edi + 0x4); /* 0x2B092288: mov ecx, dword ptr [edi + 4] */ 15891 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B09228B: cmp eax, dword ptr [ecx + 4] */ 15892 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15894 _flag_k = FK_CMP; 15895 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B09228E: je 0x2b0924e2 */ 15896 L_2B092294: 15897 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 15898 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15900 _flag_k = FK_NARROW(FK_CMP, 24); 15901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 15902 L_2B09229D: 15903 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 15904 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 15905 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 15906 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15908 _flag_k = FK_CMP; 15909 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 15910 L_2B0922A6: 15911 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 15912 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 15913 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 15914 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15915 _cf = 0; 15916 _flag_k = FK_NARROW(FK_TEST, 24); 15917 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 15918 L_2B0922B0: 15919 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 15920 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 15921 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 15922 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 15923 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 15924 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 15925 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 15926 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 15927 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 15928 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15930 _flag_k = FK_CMP; 15931 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 15932 L_2B0922CC: 15933 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 15934 L_2B0922CF: 15935 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 15936 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 15937 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 15938 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 15939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15941 _flag_k = FK_CMP; 15942 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 15943 L_2B0922DD: 15944 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 15945 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 15946 L_2B0922E2: 15947 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 15948 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 15949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15951 _flag_k = FK_CMP; 15952 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 15953 L_2B0922E9: 15954 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 15955 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 15956 L_2B0922ED: 15957 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 15958 L_2B0922F0: 15959 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 15960 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 15961 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 15962 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 15963 L_2B0922FB: 15964 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 15965 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 15966 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15968 _flag_k = FK_NARROW(FK_CMP, 24); 15969 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 15970 L_2B092306: 15971 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 15972 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 15973 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15975 _flag_k = FK_NARROW(FK_CMP, 24); 15976 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 15977 L_2B092312: 15978 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 15979 L_2B092314: 15980 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 15981 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 15982 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15983 _cf = 0; 15984 _flag_k = FK_NARROW(FK_TEST, 24); 15985 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 15986 L_2B09231B: 15987 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 15988 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 15989 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 15990 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 15991 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 15992 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 15993 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 15994 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 15995 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 15996 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15998 _flag_k = FK_CMP; 15999 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 16000 L_2B092337: 16001 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 16002 L_2B09233A: 16003 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 16004 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 16005 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 16006 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 16007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16009 _flag_k = FK_CMP; 16010 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 16011 L_2B092348: 16012 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 16013 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 16014 L_2B09234D: 16015 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 16016 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 16017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16019 _flag_k = FK_CMP; 16020 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 16021 L_2B092355: 16022 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 16023 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 16024 L_2B09235A: 16025 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 16026 L_2B09235C: 16027 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 16028 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 16029 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 16030 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 16031 L_2B092367: 16032 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 16033 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 16034 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16036 _flag_k = FK_NARROW(FK_CMP, 24); 16037 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 16038 L_2B092373: 16039 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 16040 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 16041 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16043 _flag_k = FK_NARROW(FK_CMP, 24); 16044 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 16045 L_2B09237E: 16046 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 16047 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 16048 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 16049 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 16050 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16052 _flag_k = FK_CMP; 16053 RECOMP_BACKEDGE(); 16054 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 16055 L_2B092391: 16056 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 16057 L_2B092396: 16058 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 16059 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 16060 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16062 _flag_k = FK_NARROW(FK_CMP, 24); 16063 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 16064 L_2B09239E: 16065 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 16066 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 16067 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 16068 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 16069 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 16070 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 16071 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 16072 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 16073 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16075 _flag_k = FK_CMP; 16076 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 16077 L_2B0923B6: 16078 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 16079 L_2B0923B9: 16080 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 16081 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 16082 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 16083 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 16084 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16085 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16086 _flag_k = FK_CMP; 16087 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 16088 L_2B0923C7: 16089 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 16090 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 16091 L_2B0923CC: 16092 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 16093 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 16094 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16096 _flag_k = FK_CMP; 16097 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 16098 L_2B0923D4: 16099 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 16100 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 16101 L_2B0923D9: 16102 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 16103 L_2B0923DB: 16104 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 16105 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 16106 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 16107 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 16108 L_2B0923E7: 16109 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 16110 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 16111 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 16112 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 16113 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 16114 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 16115 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 16116 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 16117 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 16118 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 16119 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 16120 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 16121 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 16122 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16124 _flag_k = FK_CMP; 16125 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 16126 L_2B09240E: 16127 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 16128 L_2B092411: 16129 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 16130 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 16131 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 16132 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 16133 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16135 _flag_k = FK_CMP; 16136 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 16137 L_2B09241F: 16138 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 16139 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 16140 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 16141 L_2B092429: 16142 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 16143 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 16144 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16146 _flag_k = FK_CMP; 16147 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 16148 L_2B092430: 16149 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 16150 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 16151 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 16152 L_2B092439: 16153 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 16154 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 16155 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 16156 L_2B092443: 16157 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 16158 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 16159 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16161 _flag_k = FK_NARROW(FK_CMP, 24); 16162 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 16163 L_2B09244A: 16164 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 16165 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 16166 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 16167 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 16168 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 16169 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 16170 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 16171 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 16172 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16174 _flag_k = FK_CMP; 16175 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 16176 L_2B092463: 16177 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 16178 L_2B092466: 16179 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 16180 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 16181 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 16182 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 16183 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16185 _flag_k = FK_CMP; 16186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 16187 L_2B092474: 16188 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 16189 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 16190 L_2B092479: 16191 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 16192 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 16193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16195 _flag_k = FK_CMP; 16196 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 16197 L_2B092480: 16198 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 16199 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 16200 L_2B092484: 16201 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 16202 L_2B092487: 16203 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 16204 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 16205 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 16206 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 16207 L_2B092491: 16208 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 16209 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 16210 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 16211 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 16212 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 16213 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 16214 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 16215 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 16216 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 16217 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 16218 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 16219 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 16220 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 16221 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16223 _flag_k = FK_CMP; 16224 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 16225 L_2B0924B7: 16226 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 16227 L_2B0924BA: 16228 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 16229 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 16230 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 16231 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 16232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16234 _flag_k = FK_CMP; 16235 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 16236 L_2B0924C8: 16237 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 16238 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 16239 L_2B0924CD: 16240 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 16241 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 16242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16244 _flag_k = FK_CMP; 16245 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 16246 L_2B0924D5: 16247 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 16248 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 16249 L_2B0924DA: 16250 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 16251 L_2B0924DC: 16252 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 16253 L_2B0924DF: 16254 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 16255 L_2B0924E2: 16256 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 16257 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 16258 L_2B0924E8: 16259 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 16260 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 16261 RECOMP_FLAGS_IN(); 16262 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 16263 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 16264 RECOMP_FLAGS_IN(); 16265 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 16266 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 16267 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16269 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 16270 _flag_k = FK_ADD; 16271 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16272 eax = eax - 1; /* 0x2B0924FF: dec eax */ 16273 _flag_k = FK_DEC; 16274 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 16275 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 16276 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 16277 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 16278 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 16279 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 16280 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 16281 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 16282 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 16283 RECOMP_REGS_OUT(); 16284 } 16285 16286 void sub_2B092249(void) { 16287 int _fpu_cmp = 0; 16288 uint32_t _cf = 0; 16289 int _df = 1; 16290 uint32_t _flag_k = FK_NONE; 16291 uint32_t _flag_a = 0, _flag_b = 0; 16292 uint32_t _itail_tgt = 0; 16293 RECOMP_REGS_LOCALS 16294 RECOMP_ENTER(0x2B092249u); 16295 16296 L_2B092249: 16297 MEM32(ebx) = edx; /* 0x2B092249: mov dword ptr [ebx], edx */ 16298 ebx = MEM32(edi + 0x4); /* 0x2B09224B: mov ebx, dword ptr [edi + 4] */ 16299 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B09224E: cmp dword ptr [ebx + 8], esi */ 16300 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 16301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16302 _flag_k = FK_CMP; 16303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092278; /* 0x2B092251: jne 0x2b092278 */ 16304 L_2B092253: 16305 ecx = MEM32(esi); /* 0x2B092253: mov ecx, dword ptr [esi] */ 16306 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B092255: cmp ecx, dword ptr [edi + 8] */ 16307 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16309 _flag_k = FK_CMP; 16310 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09225F; /* 0x2B092258: jne 0x2b09225f */ 16311 L_2B09225A: 16312 edx = MEM32(esi + 0x4); /* 0x2B09225A: mov edx, dword ptr [esi + 4] */ 16313 goto L_2B092275; /* 0x2B09225D: jmp 0x2b092275 */ 16314 L_2B09225F: 16315 ecx = MEM32(eax + 0x8); /* 0x2B09225F: mov ecx, dword ptr [eax + 8] */ 16316 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B092262: cmp byte ptr [ecx + 0x3d], 0 */ 16317 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 16318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16319 _flag_k = FK_NARROW(FK_CMP, 24); 16320 edx = eax; /* 0x2B092266: mov edx, eax */ 16321 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092275; /* 0x2B092268: jne 0x2b092275 */ 16322 L_2B09226A: 16323 edx = ecx; /* 0x2B09226A: mov edx, ecx */ 16324 ecx = MEM32(edx + 0x8); /* 0x2B09226C: mov ecx, dword ptr [edx + 8] */ 16325 /* cmp MEM8(ecx + 0x3D), 0 */ /* 0x2B09226F: cmp byte ptr [ecx + 0x3d], 0 */ 16326 _flag_a = (uint32_t)(MEM8(ecx + 0x3D)) << 24; _flag_b = (uint32_t)(0) << 24; 16327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16328 _flag_k = FK_NARROW(FK_CMP, 24); 16329 RECOMP_BACKEDGE(); 16330 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09226A; /* 0x2B092273: je 0x2b09226a */ 16331 L_2B092275: 16332 MEM32(ebx + 0x8) = edx; /* 0x2B092275: mov dword ptr [ebx + 8], edx */ 16333 L_2B092278: 16334 esi = MEM32(ebp + (-0x4)); /* 0x2B092278: mov esi, dword ptr [ebp - 4] */ 16335 SET_LO8(ecx, MEM8(esi + 0x3C)); /* 0x2B09227B: mov cl, byte ptr [esi + 0x3c] */ 16336 SET_LO8(ebx, 1); /* 0x2B09227E: mov bl, 1 */ 16337 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B092280: cmp cl, bl */ 16338 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16340 _flag_k = FK_NARROW(FK_CMP, 24); 16341 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E8; /* 0x2B092282: jne 0x2b0924e8 */ 16342 L_2B092288: 16343 ecx = MEM32(edi + 0x4); /* 0x2B092288: mov ecx, dword ptr [edi + 4] */ 16344 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B09228B: cmp eax, dword ptr [ecx + 4] */ 16345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16347 _flag_k = FK_CMP; 16348 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B09228E: je 0x2b0924e2 */ 16349 L_2B092294: 16350 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 16351 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16353 _flag_k = FK_NARROW(FK_CMP, 24); 16354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 16355 L_2B09229D: 16356 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 16357 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 16358 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 16359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16361 _flag_k = FK_CMP; 16362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 16363 L_2B0922A6: 16364 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 16365 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 16366 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 16367 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16368 _cf = 0; 16369 _flag_k = FK_NARROW(FK_TEST, 24); 16370 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 16371 L_2B0922B0: 16372 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 16373 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 16374 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 16375 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 16376 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 16377 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 16378 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 16379 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 16380 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 16381 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16383 _flag_k = FK_CMP; 16384 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 16385 L_2B0922CC: 16386 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 16387 L_2B0922CF: 16388 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 16389 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 16390 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 16391 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 16392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16394 _flag_k = FK_CMP; 16395 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 16396 L_2B0922DD: 16397 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 16398 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 16399 L_2B0922E2: 16400 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 16401 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 16402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16404 _flag_k = FK_CMP; 16405 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 16406 L_2B0922E9: 16407 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 16408 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 16409 L_2B0922ED: 16410 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 16411 L_2B0922F0: 16412 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 16413 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 16414 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 16415 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 16416 L_2B0922FB: 16417 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 16418 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 16419 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16421 _flag_k = FK_NARROW(FK_CMP, 24); 16422 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 16423 L_2B092306: 16424 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 16425 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 16426 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16428 _flag_k = FK_NARROW(FK_CMP, 24); 16429 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 16430 L_2B092312: 16431 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 16432 L_2B092314: 16433 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 16434 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 16435 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16436 _cf = 0; 16437 _flag_k = FK_NARROW(FK_TEST, 24); 16438 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 16439 L_2B09231B: 16440 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 16441 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 16442 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 16443 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 16444 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 16445 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 16446 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 16447 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 16448 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 16449 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16451 _flag_k = FK_CMP; 16452 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 16453 L_2B092337: 16454 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 16455 L_2B09233A: 16456 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 16457 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 16458 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 16459 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 16460 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16462 _flag_k = FK_CMP; 16463 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 16464 L_2B092348: 16465 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 16466 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 16467 L_2B09234D: 16468 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 16469 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 16470 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16472 _flag_k = FK_CMP; 16473 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 16474 L_2B092355: 16475 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 16476 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 16477 L_2B09235A: 16478 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 16479 L_2B09235C: 16480 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 16481 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 16482 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 16483 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 16484 L_2B092367: 16485 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 16486 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 16487 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16489 _flag_k = FK_NARROW(FK_CMP, 24); 16490 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 16491 L_2B092373: 16492 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 16493 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 16494 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16496 _flag_k = FK_NARROW(FK_CMP, 24); 16497 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 16498 L_2B09237E: 16499 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 16500 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 16501 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 16502 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 16503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16505 _flag_k = FK_CMP; 16506 RECOMP_BACKEDGE(); 16507 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 16508 L_2B092391: 16509 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 16510 L_2B092396: 16511 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 16512 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 16513 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16515 _flag_k = FK_NARROW(FK_CMP, 24); 16516 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 16517 L_2B09239E: 16518 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 16519 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 16520 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 16521 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 16522 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 16523 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 16524 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 16525 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 16526 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16528 _flag_k = FK_CMP; 16529 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 16530 L_2B0923B6: 16531 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 16532 L_2B0923B9: 16533 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 16534 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 16535 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 16536 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 16537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16539 _flag_k = FK_CMP; 16540 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 16541 L_2B0923C7: 16542 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 16543 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 16544 L_2B0923CC: 16545 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 16546 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 16547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16549 _flag_k = FK_CMP; 16550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 16551 L_2B0923D4: 16552 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 16553 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 16554 L_2B0923D9: 16555 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 16556 L_2B0923DB: 16557 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 16558 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 16559 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 16560 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 16561 L_2B0923E7: 16562 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 16563 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 16564 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 16565 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 16566 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 16567 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 16568 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 16569 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 16570 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 16571 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 16572 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 16573 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 16574 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 16575 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16577 _flag_k = FK_CMP; 16578 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 16579 L_2B09240E: 16580 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 16581 L_2B092411: 16582 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 16583 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 16584 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 16585 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 16586 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16588 _flag_k = FK_CMP; 16589 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 16590 L_2B09241F: 16591 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 16592 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 16593 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 16594 L_2B092429: 16595 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 16596 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 16597 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16599 _flag_k = FK_CMP; 16600 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 16601 L_2B092430: 16602 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 16603 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 16604 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 16605 L_2B092439: 16606 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 16607 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 16608 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 16609 L_2B092443: 16610 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 16611 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 16612 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16614 _flag_k = FK_NARROW(FK_CMP, 24); 16615 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 16616 L_2B09244A: 16617 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 16618 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 16619 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 16620 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 16621 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 16622 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 16623 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 16624 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 16625 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16627 _flag_k = FK_CMP; 16628 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 16629 L_2B092463: 16630 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 16631 L_2B092466: 16632 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 16633 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 16634 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 16635 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 16636 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16638 _flag_k = FK_CMP; 16639 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 16640 L_2B092474: 16641 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 16642 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 16643 L_2B092479: 16644 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 16645 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 16646 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16648 _flag_k = FK_CMP; 16649 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 16650 L_2B092480: 16651 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 16652 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 16653 L_2B092484: 16654 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 16655 L_2B092487: 16656 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 16657 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 16658 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 16659 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 16660 L_2B092491: 16661 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 16662 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 16663 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 16664 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 16665 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 16666 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 16667 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 16668 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 16669 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 16670 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 16671 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 16672 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 16673 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 16674 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16676 _flag_k = FK_CMP; 16677 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 16678 L_2B0924B7: 16679 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 16680 L_2B0924BA: 16681 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 16682 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 16683 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 16684 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 16685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 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_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 16689 L_2B0924C8: 16690 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 16691 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 16692 L_2B0924CD: 16693 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 16694 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 16695 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16697 _flag_k = FK_CMP; 16698 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 16699 L_2B0924D5: 16700 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 16701 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 16702 L_2B0924DA: 16703 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 16704 L_2B0924DC: 16705 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 16706 L_2B0924DF: 16707 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 16708 L_2B0924E2: 16709 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 16710 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 16711 L_2B0924E8: 16712 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 16713 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 16714 RECOMP_FLAGS_IN(); 16715 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 16716 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 16717 RECOMP_FLAGS_IN(); 16718 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 16719 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 16720 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16722 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 16723 _flag_k = FK_ADD; 16724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16725 eax = eax - 1; /* 0x2B0924FF: dec eax */ 16726 _flag_k = FK_DEC; 16727 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 16728 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 16729 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 16730 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 16731 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 16732 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 16733 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 16734 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 16735 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 16736 RECOMP_REGS_OUT(); 16737 } 16738 16739 void sub_2B092275(void) { 16740 int _fpu_cmp = 0; 16741 uint32_t _cf = 0; 16742 int _df = 1; 16743 uint32_t _flag_k = FK_NONE; 16744 uint32_t _flag_a = 0, _flag_b = 0; 16745 uint32_t _itail_tgt = 0; 16746 RECOMP_REGS_LOCALS 16747 RECOMP_ENTER(0x2B092275u); 16748 16749 L_2B092275: 16750 MEM32(ebx + 0x8) = edx; /* 0x2B092275: mov dword ptr [ebx + 8], edx */ 16751 esi = MEM32(ebp + (-0x4)); /* 0x2B092278: mov esi, dword ptr [ebp - 4] */ 16752 SET_LO8(ecx, MEM8(esi + 0x3C)); /* 0x2B09227B: mov cl, byte ptr [esi + 0x3c] */ 16753 SET_LO8(ebx, 1); /* 0x2B09227E: mov bl, 1 */ 16754 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B092280: cmp cl, bl */ 16755 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16757 _flag_k = FK_NARROW(FK_CMP, 24); 16758 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E8; /* 0x2B092282: jne 0x2b0924e8 */ 16759 L_2B092288: 16760 ecx = MEM32(edi + 0x4); /* 0x2B092288: mov ecx, dword ptr [edi + 4] */ 16761 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B09228B: cmp eax, dword ptr [ecx + 4] */ 16762 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 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_2B0924E2; /* 0x2B09228E: je 0x2b0924e2 */ 16766 L_2B092294: 16767 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 16768 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16770 _flag_k = FK_NARROW(FK_CMP, 24); 16771 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 16772 L_2B09229D: 16773 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 16774 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 16775 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 16776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16778 _flag_k = FK_CMP; 16779 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 16780 L_2B0922A6: 16781 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 16782 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 16783 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 16784 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16785 _cf = 0; 16786 _flag_k = FK_NARROW(FK_TEST, 24); 16787 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 16788 L_2B0922B0: 16789 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 16790 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 16791 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 16792 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 16793 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 16794 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 16795 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 16796 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 16797 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 16798 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16800 _flag_k = FK_CMP; 16801 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 16802 L_2B0922CC: 16803 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 16804 L_2B0922CF: 16805 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 16806 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 16807 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 16808 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 16809 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16811 _flag_k = FK_CMP; 16812 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 16813 L_2B0922DD: 16814 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 16815 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 16816 L_2B0922E2: 16817 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 16818 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 16819 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16821 _flag_k = FK_CMP; 16822 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 16823 L_2B0922E9: 16824 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 16825 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 16826 L_2B0922ED: 16827 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 16828 L_2B0922F0: 16829 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 16830 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 16831 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 16832 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 16833 L_2B0922FB: 16834 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 16835 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 16836 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16838 _flag_k = FK_NARROW(FK_CMP, 24); 16839 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 16840 L_2B092306: 16841 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 16842 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 16843 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16845 _flag_k = FK_NARROW(FK_CMP, 24); 16846 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 16847 L_2B092312: 16848 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 16849 L_2B092314: 16850 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 16851 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 16852 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16853 _cf = 0; 16854 _flag_k = FK_NARROW(FK_TEST, 24); 16855 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 16856 L_2B09231B: 16857 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 16858 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 16859 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 16860 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 16861 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 16862 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 16863 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 16864 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 16865 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 16866 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16868 _flag_k = FK_CMP; 16869 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 16870 L_2B092337: 16871 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 16872 L_2B09233A: 16873 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 16874 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 16875 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 16876 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 16877 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16879 _flag_k = FK_CMP; 16880 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 16881 L_2B092348: 16882 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 16883 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 16884 L_2B09234D: 16885 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 16886 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 16887 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16889 _flag_k = FK_CMP; 16890 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 16891 L_2B092355: 16892 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 16893 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 16894 L_2B09235A: 16895 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 16896 L_2B09235C: 16897 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 16898 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 16899 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 16900 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 16901 L_2B092367: 16902 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 16903 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 16904 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16906 _flag_k = FK_NARROW(FK_CMP, 24); 16907 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 16908 L_2B092373: 16909 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 16910 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 16911 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16913 _flag_k = FK_NARROW(FK_CMP, 24); 16914 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 16915 L_2B09237E: 16916 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 16917 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 16918 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 16919 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 16920 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16922 _flag_k = FK_CMP; 16923 RECOMP_BACKEDGE(); 16924 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 16925 L_2B092391: 16926 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 16927 L_2B092396: 16928 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 16929 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 16930 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16932 _flag_k = FK_NARROW(FK_CMP, 24); 16933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 16934 L_2B09239E: 16935 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 16936 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 16937 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 16938 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 16939 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 16940 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 16941 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 16942 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 16943 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16945 _flag_k = FK_CMP; 16946 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 16947 L_2B0923B6: 16948 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 16949 L_2B0923B9: 16950 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 16951 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 16952 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 16953 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 16954 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16956 _flag_k = FK_CMP; 16957 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 16958 L_2B0923C7: 16959 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 16960 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 16961 L_2B0923CC: 16962 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 16963 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 16964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16966 _flag_k = FK_CMP; 16967 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 16968 L_2B0923D4: 16969 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 16970 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 16971 L_2B0923D9: 16972 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 16973 L_2B0923DB: 16974 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 16975 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 16976 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 16977 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 16978 L_2B0923E7: 16979 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 16980 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 16981 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 16982 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 16983 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 16984 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 16985 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 16986 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 16987 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 16988 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 16989 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 16990 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 16991 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 16992 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16994 _flag_k = FK_CMP; 16995 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 16996 L_2B09240E: 16997 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 16998 L_2B092411: 16999 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 17000 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 17001 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 17002 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 17003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17005 _flag_k = FK_CMP; 17006 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 17007 L_2B09241F: 17008 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 17009 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 17010 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 17011 L_2B092429: 17012 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 17013 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 17014 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17016 _flag_k = FK_CMP; 17017 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 17018 L_2B092430: 17019 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 17020 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 17021 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 17022 L_2B092439: 17023 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 17024 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 17025 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 17026 L_2B092443: 17027 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 17028 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 17029 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17031 _flag_k = FK_NARROW(FK_CMP, 24); 17032 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 17033 L_2B09244A: 17034 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 17035 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 17036 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 17037 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 17038 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 17039 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 17040 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 17041 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 17042 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17044 _flag_k = FK_CMP; 17045 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 17046 L_2B092463: 17047 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 17048 L_2B092466: 17049 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 17050 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 17051 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 17052 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 17053 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17055 _flag_k = FK_CMP; 17056 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 17057 L_2B092474: 17058 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 17059 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 17060 L_2B092479: 17061 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 17062 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 17063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17065 _flag_k = FK_CMP; 17066 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 17067 L_2B092480: 17068 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 17069 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 17070 L_2B092484: 17071 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 17072 L_2B092487: 17073 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 17074 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 17075 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 17076 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 17077 L_2B092491: 17078 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 17079 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 17080 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 17081 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 17082 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 17083 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 17084 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 17085 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 17086 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 17087 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 17088 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 17089 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 17090 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 17091 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17093 _flag_k = FK_CMP; 17094 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 17095 L_2B0924B7: 17096 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 17097 L_2B0924BA: 17098 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 17099 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 17100 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 17101 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 17102 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17104 _flag_k = FK_CMP; 17105 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 17106 L_2B0924C8: 17107 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 17108 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 17109 L_2B0924CD: 17110 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 17111 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 17112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17114 _flag_k = FK_CMP; 17115 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 17116 L_2B0924D5: 17117 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 17118 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 17119 L_2B0924DA: 17120 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 17121 L_2B0924DC: 17122 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 17123 L_2B0924DF: 17124 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 17125 L_2B0924E2: 17126 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 17127 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 17128 L_2B0924E8: 17129 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 17130 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 17131 RECOMP_FLAGS_IN(); 17132 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 17133 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 17134 RECOMP_FLAGS_IN(); 17135 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 17136 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 17137 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17139 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 17140 _flag_k = FK_ADD; 17141 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17142 eax = eax - 1; /* 0x2B0924FF: dec eax */ 17143 _flag_k = FK_DEC; 17144 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 17145 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 17146 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 17147 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 17148 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 17149 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 17150 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 17151 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 17152 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 17153 RECOMP_REGS_OUT(); 17154 } 17155 17156 void sub_2B092294(void) { 17157 int _fpu_cmp = 0; 17158 uint32_t _cf = 0; 17159 int _df = 1; 17160 uint32_t _flag_k = FK_NONE; 17161 uint32_t _flag_a = 0, _flag_b = 0; 17162 uint32_t _itail_tgt = 0; 17163 RECOMP_REGS_LOCALS 17164 RECOMP_ENTER(0x2B092294u); 17165 17166 L_2B092294: 17167 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 17168 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17170 _flag_k = FK_NARROW(FK_CMP, 24); 17171 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 17172 L_2B09229D: 17173 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 17174 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 17175 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 17176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17178 _flag_k = FK_CMP; 17179 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 17180 L_2B0922A6: 17181 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 17182 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 17183 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 17184 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17185 _cf = 0; 17186 _flag_k = FK_NARROW(FK_TEST, 24); 17187 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 17188 L_2B0922B0: 17189 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 17190 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 17191 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 17192 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 17193 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 17194 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 17195 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 17196 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 17197 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 17198 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17200 _flag_k = FK_CMP; 17201 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 17202 L_2B0922CC: 17203 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 17204 L_2B0922CF: 17205 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 17206 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 17207 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 17208 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 17209 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17210 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17211 _flag_k = FK_CMP; 17212 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 17213 L_2B0922DD: 17214 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 17215 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 17216 L_2B0922E2: 17217 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 17218 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 17219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17221 _flag_k = FK_CMP; 17222 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 17223 L_2B0922E9: 17224 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 17225 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 17226 L_2B0922ED: 17227 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 17228 L_2B0922F0: 17229 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 17230 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 17231 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 17232 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 17233 L_2B0922FB: 17234 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 17235 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 17236 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17238 _flag_k = FK_NARROW(FK_CMP, 24); 17239 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 17240 L_2B092306: 17241 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 17242 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 17243 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17245 _flag_k = FK_NARROW(FK_CMP, 24); 17246 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 17247 L_2B092312: 17248 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 17249 L_2B092314: 17250 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 17251 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 17252 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17253 _cf = 0; 17254 _flag_k = FK_NARROW(FK_TEST, 24); 17255 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 17256 L_2B09231B: 17257 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 17258 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 17259 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 17260 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 17261 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 17262 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 17263 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 17264 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 17265 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 17266 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17268 _flag_k = FK_CMP; 17269 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 17270 L_2B092337: 17271 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 17272 L_2B09233A: 17273 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 17274 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 17275 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 17276 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 17277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17279 _flag_k = FK_CMP; 17280 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 17281 L_2B092348: 17282 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 17283 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 17284 L_2B09234D: 17285 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 17286 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 17287 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17289 _flag_k = FK_CMP; 17290 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 17291 L_2B092355: 17292 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 17293 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 17294 L_2B09235A: 17295 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 17296 L_2B09235C: 17297 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 17298 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 17299 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 17300 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 17301 L_2B092367: 17302 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 17303 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 17304 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17306 _flag_k = FK_NARROW(FK_CMP, 24); 17307 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 17308 L_2B092373: 17309 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 17310 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 17311 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17313 _flag_k = FK_NARROW(FK_CMP, 24); 17314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 17315 L_2B09237E: 17316 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 17317 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 17318 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 17319 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 17320 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17322 _flag_k = FK_CMP; 17323 RECOMP_BACKEDGE(); 17324 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 17325 L_2B092391: 17326 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 17327 L_2B092396: 17328 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 17329 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 17330 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17332 _flag_k = FK_NARROW(FK_CMP, 24); 17333 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 17334 L_2B09239E: 17335 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 17336 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 17337 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 17338 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 17339 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 17340 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 17341 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 17342 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 17343 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17345 _flag_k = FK_CMP; 17346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 17347 L_2B0923B6: 17348 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 17349 L_2B0923B9: 17350 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 17351 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 17352 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 17353 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 17354 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17356 _flag_k = FK_CMP; 17357 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 17358 L_2B0923C7: 17359 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 17360 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 17361 L_2B0923CC: 17362 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 17363 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 17364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17366 _flag_k = FK_CMP; 17367 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 17368 L_2B0923D4: 17369 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 17370 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 17371 L_2B0923D9: 17372 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 17373 L_2B0923DB: 17374 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 17375 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 17376 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 17377 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 17378 L_2B0923E7: 17379 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 17380 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 17381 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 17382 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 17383 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 17384 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 17385 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 17386 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 17387 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 17388 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 17389 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 17390 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 17391 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 17392 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17394 _flag_k = FK_CMP; 17395 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 17396 L_2B09240E: 17397 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 17398 L_2B092411: 17399 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 17400 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 17401 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 17402 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 17403 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17405 _flag_k = FK_CMP; 17406 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 17407 L_2B09241F: 17408 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 17409 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 17410 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 17411 L_2B092429: 17412 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 17413 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 17414 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17416 _flag_k = FK_CMP; 17417 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 17418 L_2B092430: 17419 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 17420 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 17421 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 17422 L_2B092439: 17423 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 17424 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 17425 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 17426 L_2B092443: 17427 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 17428 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 17429 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17431 _flag_k = FK_NARROW(FK_CMP, 24); 17432 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 17433 L_2B09244A: 17434 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 17435 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 17436 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 17437 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 17438 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 17439 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 17440 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 17441 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 17442 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17444 _flag_k = FK_CMP; 17445 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 17446 L_2B092463: 17447 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 17448 L_2B092466: 17449 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 17450 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 17451 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 17452 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 17453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17455 _flag_k = FK_CMP; 17456 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 17457 L_2B092474: 17458 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 17459 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 17460 L_2B092479: 17461 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 17462 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 17463 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17465 _flag_k = FK_CMP; 17466 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 17467 L_2B092480: 17468 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 17469 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 17470 L_2B092484: 17471 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 17472 L_2B092487: 17473 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 17474 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 17475 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 17476 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 17477 L_2B092491: 17478 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 17479 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 17480 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 17481 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 17482 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 17483 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 17484 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 17485 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 17486 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 17487 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 17488 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 17489 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 17490 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 17491 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17493 _flag_k = FK_CMP; 17494 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 17495 L_2B0924B7: 17496 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 17497 L_2B0924BA: 17498 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 17499 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 17500 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 17501 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 17502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17504 _flag_k = FK_CMP; 17505 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 17506 L_2B0924C8: 17507 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 17508 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 17509 L_2B0924CD: 17510 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 17511 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 17512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17514 _flag_k = FK_CMP; 17515 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 17516 L_2B0924D5: 17517 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 17518 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 17519 L_2B0924DA: 17520 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 17521 L_2B0924DC: 17522 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 17523 L_2B0924DF: 17524 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 17525 L_2B0924E2: 17526 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 17527 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 17528 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 17529 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 17530 RECOMP_FLAGS_IN(); 17531 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 17532 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 17533 RECOMP_FLAGS_IN(); 17534 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 17535 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 17536 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17537 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17538 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 17539 _flag_k = FK_ADD; 17540 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17541 eax = eax - 1; /* 0x2B0924FF: dec eax */ 17542 _flag_k = FK_DEC; 17543 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 17544 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 17545 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 17546 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 17547 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 17548 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 17549 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 17550 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 17551 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 17552 RECOMP_REGS_OUT(); 17553 } 17554 17555 void sub_2B0922F0(void) { 17556 int _fpu_cmp = 0; 17557 uint32_t _cf = 0; 17558 int _df = 1; 17559 uint32_t _flag_k = FK_NONE; 17560 uint32_t _flag_a = 0, _flag_b = 0; 17561 uint32_t _itail_tgt = 0; 17562 RECOMP_REGS_LOCALS 17563 RECOMP_ENTER(0x2B0922F0u); 17564 17565 goto L_2B0922F0; 17566 L_2B092294: 17567 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 17568 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17570 _flag_k = FK_NARROW(FK_CMP, 24); 17571 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 17572 L_2B09229D: 17573 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 17574 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 17575 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 17576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17578 _flag_k = FK_CMP; 17579 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 17580 L_2B0922A6: 17581 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 17582 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 17583 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 17584 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17585 _cf = 0; 17586 _flag_k = FK_NARROW(FK_TEST, 24); 17587 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 17588 L_2B0922B0: 17589 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 17590 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 17591 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 17592 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 17593 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 17594 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 17595 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 17596 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 17597 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 17598 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17600 _flag_k = FK_CMP; 17601 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 17602 L_2B0922CC: 17603 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 17604 L_2B0922CF: 17605 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 17606 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 17607 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 17608 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 17609 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17611 _flag_k = FK_CMP; 17612 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 17613 L_2B0922DD: 17614 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 17615 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 17616 L_2B0922E2: 17617 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 17618 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 17619 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17621 _flag_k = FK_CMP; 17622 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 17623 L_2B0922E9: 17624 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 17625 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 17626 L_2B0922ED: 17627 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 17628 L_2B0922F0: 17629 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 17630 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 17631 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 17632 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 17633 L_2B0922FB: 17634 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 17635 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 17636 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17638 _flag_k = FK_NARROW(FK_CMP, 24); 17639 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 17640 L_2B092306: 17641 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 17642 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 17643 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17645 _flag_k = FK_NARROW(FK_CMP, 24); 17646 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 17647 L_2B092312: 17648 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 17649 L_2B092314: 17650 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 17651 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 17652 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17653 _cf = 0; 17654 _flag_k = FK_NARROW(FK_TEST, 24); 17655 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 17656 L_2B09231B: 17657 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 17658 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 17659 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 17660 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 17661 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 17662 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 17663 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 17664 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 17665 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 17666 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17668 _flag_k = FK_CMP; 17669 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 17670 L_2B092337: 17671 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 17672 L_2B09233A: 17673 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 17674 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 17675 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 17676 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 17677 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17679 _flag_k = FK_CMP; 17680 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 17681 L_2B092348: 17682 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 17683 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 17684 L_2B09234D: 17685 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 17686 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 17687 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17689 _flag_k = FK_CMP; 17690 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 17691 L_2B092355: 17692 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 17693 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 17694 L_2B09235A: 17695 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 17696 L_2B09235C: 17697 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 17698 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 17699 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 17700 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 17701 L_2B092367: 17702 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 17703 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 17704 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17706 _flag_k = FK_NARROW(FK_CMP, 24); 17707 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 17708 L_2B092373: 17709 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 17710 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 17711 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17713 _flag_k = FK_NARROW(FK_CMP, 24); 17714 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 17715 L_2B09237E: 17716 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 17717 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 17718 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 17719 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 17720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17722 _flag_k = FK_CMP; 17723 RECOMP_BACKEDGE(); 17724 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 17725 L_2B092391: 17726 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 17727 L_2B092396: 17728 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 17729 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 17730 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17732 _flag_k = FK_NARROW(FK_CMP, 24); 17733 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 17734 L_2B09239E: 17735 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 17736 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 17737 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 17738 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 17739 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 17740 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 17741 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 17742 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 17743 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17745 _flag_k = FK_CMP; 17746 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 17747 L_2B0923B6: 17748 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 17749 L_2B0923B9: 17750 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 17751 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 17752 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 17753 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 17754 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17756 _flag_k = FK_CMP; 17757 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 17758 L_2B0923C7: 17759 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 17760 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 17761 L_2B0923CC: 17762 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 17763 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 17764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17766 _flag_k = FK_CMP; 17767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 17768 L_2B0923D4: 17769 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 17770 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 17771 L_2B0923D9: 17772 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 17773 L_2B0923DB: 17774 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 17775 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 17776 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 17777 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 17778 L_2B0923E7: 17779 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 17780 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 17781 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 17782 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 17783 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 17784 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 17785 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 17786 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 17787 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 17788 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 17789 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 17790 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 17791 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 17792 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17794 _flag_k = FK_CMP; 17795 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 17796 L_2B09240E: 17797 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 17798 L_2B092411: 17799 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 17800 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 17801 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 17802 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 17803 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17805 _flag_k = FK_CMP; 17806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 17807 L_2B09241F: 17808 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 17809 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 17810 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 17811 L_2B092429: 17812 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 17813 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 17814 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17816 _flag_k = FK_CMP; 17817 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 17818 L_2B092430: 17819 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 17820 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 17821 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 17822 L_2B092439: 17823 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 17824 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 17825 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 17826 L_2B092443: 17827 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 17828 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 17829 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17831 _flag_k = FK_NARROW(FK_CMP, 24); 17832 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 17833 L_2B09244A: 17834 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 17835 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 17836 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 17837 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 17838 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 17839 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 17840 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 17841 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 17842 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17844 _flag_k = FK_CMP; 17845 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 17846 L_2B092463: 17847 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 17848 L_2B092466: 17849 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 17850 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 17851 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 17852 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 17853 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17855 _flag_k = FK_CMP; 17856 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 17857 L_2B092474: 17858 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 17859 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 17860 L_2B092479: 17861 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 17862 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 17863 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17865 _flag_k = FK_CMP; 17866 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 17867 L_2B092480: 17868 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 17869 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 17870 L_2B092484: 17871 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 17872 L_2B092487: 17873 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 17874 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 17875 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 17876 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 17877 L_2B092491: 17878 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 17879 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 17880 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 17881 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 17882 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 17883 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 17884 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 17885 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 17886 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 17887 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 17888 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 17889 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 17890 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 17891 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17893 _flag_k = FK_CMP; 17894 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 17895 L_2B0924B7: 17896 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 17897 L_2B0924BA: 17898 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 17899 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 17900 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 17901 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 17902 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17904 _flag_k = FK_CMP; 17905 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 17906 L_2B0924C8: 17907 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 17908 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 17909 L_2B0924CD: 17910 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 17911 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 17912 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17914 _flag_k = FK_CMP; 17915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 17916 L_2B0924D5: 17917 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 17918 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 17919 L_2B0924DA: 17920 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 17921 L_2B0924DC: 17922 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 17923 L_2B0924DF: 17924 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 17925 L_2B0924E2: 17926 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 17927 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 17928 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 17929 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 17930 RECOMP_FLAGS_IN(); 17931 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 17932 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 17933 RECOMP_FLAGS_IN(); 17934 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 17935 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 17936 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17937 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17938 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 17939 _flag_k = FK_ADD; 17940 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17941 eax = eax - 1; /* 0x2B0924FF: dec eax */ 17942 _flag_k = FK_DEC; 17943 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 17944 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 17945 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 17946 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 17947 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 17948 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 17949 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 17950 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 17951 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 17952 RECOMP_REGS_OUT(); 17953 } 17954 17955 void sub_2B0922FB(void) { 17956 int _fpu_cmp = 0; 17957 uint32_t _cf = 0; 17958 int _df = 1; 17959 uint32_t _flag_k = FK_NONE; 17960 uint32_t _flag_a = 0, _flag_b = 0; 17961 uint32_t _itail_tgt = 0; 17962 RECOMP_REGS_LOCALS 17963 RECOMP_ENTER(0x2B0922FBu); 17964 17965 goto L_2B0922FB; 17966 L_2B092294: 17967 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B092294: cmp byte ptr [eax + 0x3c], bl */ 17968 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17970 _flag_k = FK_NARROW(FK_CMP, 24); 17971 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924E2; /* 0x2B092297: jne 0x2b0924e2 */ 17972 L_2B09229D: 17973 edx = MEM32(eax + 0x4); /* 0x2B09229D: mov edx, dword ptr [eax + 4] */ 17974 ecx = MEM32(edx); /* 0x2B0922A0: mov ecx, dword ptr [edx] */ 17975 /* cmp eax, ecx */ /* 0x2B0922A2: cmp eax, ecx */ 17976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17978 _flag_k = FK_CMP; 17979 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092314; /* 0x2B0922A4: jne 0x2b092314 */ 17980 L_2B0922A6: 17981 ecx = MEM32(edx + 0x8); /* 0x2B0922A6: mov ecx, dword ptr [edx + 8] */ 17982 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0922A9: mov dl, byte ptr [ecx + 0x3c] */ 17983 /* test LO8(edx), LO8(edx) */ /* 0x2B0922AC: test dl, dl */ 17984 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17985 _cf = 0; 17986 _flag_k = FK_NARROW(FK_TEST, 24); 17987 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0922FB; /* 0x2B0922AE: jne 0x2b0922fb */ 17988 L_2B0922B0: 17989 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0922B0: mov byte ptr [ecx + 0x3c], bl */ 17990 edx = MEM32(eax + 0x4); /* 0x2B0922B3: mov edx, dword ptr [eax + 4] */ 17991 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0922B6: mov byte ptr [edx + 0x3c], 0 */ 17992 ecx = MEM32(eax + 0x4); /* 0x2B0922BA: mov ecx, dword ptr [eax + 4] */ 17993 edx = MEM32(ecx + 0x8); /* 0x2B0922BD: mov edx, dword ptr [ecx + 8] */ 17994 esi = MEM32(edx); /* 0x2B0922C0: mov esi, dword ptr [edx] */ 17995 MEM32(ecx + 0x8) = esi; /* 0x2B0922C2: mov dword ptr [ecx + 8], esi */ 17996 esi = MEM32(edx); /* 0x2B0922C5: mov esi, dword ptr [edx] */ 17997 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0922C7: cmp esi, dword ptr [edi + 8] */ 17998 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18000 _flag_k = FK_CMP; 18001 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0922CF; /* 0x2B0922CA: je 0x2b0922cf */ 18002 L_2B0922CC: 18003 MEM32(esi + 0x4) = ecx; /* 0x2B0922CC: mov dword ptr [esi + 4], ecx */ 18004 L_2B0922CF: 18005 esi = MEM32(ecx + 0x4); /* 0x2B0922CF: mov esi, dword ptr [ecx + 4] */ 18006 MEM32(edx + 0x4) = esi; /* 0x2B0922D2: mov dword ptr [edx + 4], esi */ 18007 esi = MEM32(edi + 0x4); /* 0x2B0922D5: mov esi, dword ptr [edi + 4] */ 18008 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0922D8: cmp ecx, dword ptr [esi + 4] */ 18009 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18011 _flag_k = FK_CMP; 18012 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922E2; /* 0x2B0922DB: jne 0x2b0922e2 */ 18013 L_2B0922DD: 18014 MEM32(esi + 0x4) = edx; /* 0x2B0922DD: mov dword ptr [esi + 4], edx */ 18015 goto L_2B0922F0; /* 0x2B0922E0: jmp 0x2b0922f0 */ 18016 L_2B0922E2: 18017 esi = MEM32(ecx + 0x4); /* 0x2B0922E2: mov esi, dword ptr [ecx + 4] */ 18018 /* cmp ecx, MEM32(esi) */ /* 0x2B0922E5: cmp ecx, dword ptr [esi] */ 18019 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18021 _flag_k = FK_CMP; 18022 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0922ED; /* 0x2B0922E7: jne 0x2b0922ed */ 18023 L_2B0922E9: 18024 MEM32(esi) = edx; /* 0x2B0922E9: mov dword ptr [esi], edx */ 18025 goto L_2B0922F0; /* 0x2B0922EB: jmp 0x2b0922f0 */ 18026 L_2B0922ED: 18027 MEM32(esi + 0x8) = edx; /* 0x2B0922ED: mov dword ptr [esi + 8], edx */ 18028 L_2B0922F0: 18029 MEM32(edx) = ecx; /* 0x2B0922F0: mov dword ptr [edx], ecx */ 18030 MEM32(ecx + 0x4) = edx; /* 0x2B0922F2: mov dword ptr [ecx + 4], edx */ 18031 ecx = MEM32(eax + 0x4); /* 0x2B0922F5: mov ecx, dword ptr [eax + 4] */ 18032 ecx = MEM32(ecx + 0x8); /* 0x2B0922F8: mov ecx, dword ptr [ecx + 8] */ 18033 L_2B0922FB: 18034 edx = MEM32(ecx); /* 0x2B0922FB: mov edx, dword ptr [ecx] */ 18035 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0922FD: cmp byte ptr [edx + 0x3c], bl */ 18036 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18038 _flag_k = FK_NARROW(FK_CMP, 24); 18039 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B092300: jne 0x2b092396 */ 18040 L_2B092306: 18041 edx = MEM32(ecx + 0x8); /* 0x2B092306: mov edx, dword ptr [ecx + 8] */ 18042 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092309: cmp byte ptr [edx + 0x3c], bl */ 18043 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18045 _flag_k = FK_NARROW(FK_CMP, 24); 18046 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092396; /* 0x2B09230C: jne 0x2b092396 */ 18047 L_2B092312: 18048 goto L_2B09237E; /* 0x2B092312: jmp 0x2b09237e */ 18049 L_2B092314: 18050 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B092314: mov dl, byte ptr [ecx + 0x3c] */ 18051 /* test LO8(edx), LO8(edx) */ /* 0x2B092317: test dl, dl */ 18052 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18053 _cf = 0; 18054 _flag_k = FK_NARROW(FK_TEST, 24); 18055 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B092367; /* 0x2B092319: jne 0x2b092367 */ 18056 L_2B09231B: 18057 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09231B: mov byte ptr [ecx + 0x3c], bl */ 18058 ecx = MEM32(eax + 0x4); /* 0x2B09231E: mov ecx, dword ptr [eax + 4] */ 18059 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092321: mov byte ptr [ecx + 0x3c], 0 */ 18060 ecx = MEM32(eax + 0x4); /* 0x2B092325: mov ecx, dword ptr [eax + 4] */ 18061 edx = MEM32(ecx); /* 0x2B092328: mov edx, dword ptr [ecx] */ 18062 esi = MEM32(edx + 0x8); /* 0x2B09232A: mov esi, dword ptr [edx + 8] */ 18063 MEM32(ecx) = esi; /* 0x2B09232D: mov dword ptr [ecx], esi */ 18064 esi = MEM32(edx + 0x8); /* 0x2B09232F: mov esi, dword ptr [edx + 8] */ 18065 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092332: cmp esi, dword ptr [edi + 8] */ 18066 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18068 _flag_k = FK_CMP; 18069 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09233A; /* 0x2B092335: je 0x2b09233a */ 18070 L_2B092337: 18071 MEM32(esi + 0x4) = ecx; /* 0x2B092337: mov dword ptr [esi + 4], ecx */ 18072 L_2B09233A: 18073 esi = MEM32(ecx + 0x4); /* 0x2B09233A: mov esi, dword ptr [ecx + 4] */ 18074 MEM32(edx + 0x4) = esi; /* 0x2B09233D: mov dword ptr [edx + 4], esi */ 18075 esi = MEM32(edi + 0x4); /* 0x2B092340: mov esi, dword ptr [edi + 4] */ 18076 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B092343: cmp ecx, dword ptr [esi + 4] */ 18077 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18079 _flag_k = FK_CMP; 18080 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09234D; /* 0x2B092346: jne 0x2b09234d */ 18081 L_2B092348: 18082 MEM32(esi + 0x4) = edx; /* 0x2B092348: mov dword ptr [esi + 4], edx */ 18083 goto L_2B09235C; /* 0x2B09234B: jmp 0x2b09235c */ 18084 L_2B09234D: 18085 esi = MEM32(ecx + 0x4); /* 0x2B09234D: mov esi, dword ptr [ecx + 4] */ 18086 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B092350: cmp ecx, dword ptr [esi + 8] */ 18087 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18089 _flag_k = FK_CMP; 18090 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09235A; /* 0x2B092353: jne 0x2b09235a */ 18091 L_2B092355: 18092 MEM32(esi + 0x8) = edx; /* 0x2B092355: mov dword ptr [esi + 8], edx */ 18093 goto L_2B09235C; /* 0x2B092358: jmp 0x2b09235c */ 18094 L_2B09235A: 18095 MEM32(esi) = edx; /* 0x2B09235A: mov dword ptr [esi], edx */ 18096 L_2B09235C: 18097 MEM32(edx + 0x8) = ecx; /* 0x2B09235C: mov dword ptr [edx + 8], ecx */ 18098 MEM32(ecx + 0x4) = edx; /* 0x2B09235F: mov dword ptr [ecx + 4], edx */ 18099 edx = MEM32(eax + 0x4); /* 0x2B092362: mov edx, dword ptr [eax + 4] */ 18100 ecx = MEM32(edx); /* 0x2B092365: mov ecx, dword ptr [edx] */ 18101 L_2B092367: 18102 edx = MEM32(ecx + 0x8); /* 0x2B092367: mov edx, dword ptr [ecx + 8] */ 18103 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B09236A: cmp byte ptr [edx + 0x3c], bl */ 18104 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18106 _flag_k = FK_NARROW(FK_CMP, 24); 18107 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B09236D: jne 0x2b092443 */ 18108 L_2B092373: 18109 edx = MEM32(ecx); /* 0x2B092373: mov edx, dword ptr [ecx] */ 18110 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092375: cmp byte ptr [edx + 0x3c], bl */ 18111 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18113 _flag_k = FK_NARROW(FK_CMP, 24); 18114 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092443; /* 0x2B092378: jne 0x2b092443 */ 18115 L_2B09237E: 18116 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B09237E: mov byte ptr [ecx + 0x3c], 0 */ 18117 ecx = MEM32(edi + 0x4); /* 0x2B092382: mov ecx, dword ptr [edi + 4] */ 18118 eax = MEM32(eax + 0x4); /* 0x2B092385: mov eax, dword ptr [eax + 4] */ 18119 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B092388: cmp eax, dword ptr [ecx + 4] */ 18120 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 18121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18122 _flag_k = FK_CMP; 18123 RECOMP_BACKEDGE(); 18124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092294; /* 0x2B09238B: jne 0x2b092294 */ 18125 L_2B092391: 18126 goto L_2B0924E2; /* 0x2B092391: jmp 0x2b0924e2 */ 18127 L_2B092396: 18128 edx = MEM32(ecx + 0x8); /* 0x2B092396: mov edx, dword ptr [ecx + 8] */ 18129 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092399: cmp byte ptr [edx + 0x3c], bl */ 18130 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18132 _flag_k = FK_NARROW(FK_CMP, 24); 18133 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923E7; /* 0x2B09239C: jne 0x2b0923e7 */ 18134 L_2B09239E: 18135 edx = MEM32(ecx); /* 0x2B09239E: mov edx, dword ptr [ecx] */ 18136 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923A0: mov byte ptr [edx + 0x3c], bl */ 18137 edx = MEM32(ecx); /* 0x2B0923A3: mov edx, dword ptr [ecx] */ 18138 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0923A5: mov byte ptr [ecx + 0x3c], 0 */ 18139 esi = MEM32(edx + 0x8); /* 0x2B0923A9: mov esi, dword ptr [edx + 8] */ 18140 MEM32(ecx) = esi; /* 0x2B0923AC: mov dword ptr [ecx], esi */ 18141 esi = MEM32(edx + 0x8); /* 0x2B0923AE: mov esi, dword ptr [edx + 8] */ 18142 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0923B1: cmp esi, dword ptr [edi + 8] */ 18143 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18145 _flag_k = FK_CMP; 18146 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0923B9; /* 0x2B0923B4: je 0x2b0923b9 */ 18147 L_2B0923B6: 18148 MEM32(esi + 0x4) = ecx; /* 0x2B0923B6: mov dword ptr [esi + 4], ecx */ 18149 L_2B0923B9: 18150 esi = MEM32(ecx + 0x4); /* 0x2B0923B9: mov esi, dword ptr [ecx + 4] */ 18151 MEM32(edx + 0x4) = esi; /* 0x2B0923BC: mov dword ptr [edx + 4], esi */ 18152 esi = MEM32(edi + 0x4); /* 0x2B0923BF: mov esi, dword ptr [edi + 4] */ 18153 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0923C2: cmp ecx, dword ptr [esi + 4] */ 18154 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18156 _flag_k = FK_CMP; 18157 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923CC; /* 0x2B0923C5: jne 0x2b0923cc */ 18158 L_2B0923C7: 18159 MEM32(esi + 0x4) = edx; /* 0x2B0923C7: mov dword ptr [esi + 4], edx */ 18160 goto L_2B0923DB; /* 0x2B0923CA: jmp 0x2b0923db */ 18161 L_2B0923CC: 18162 esi = MEM32(ecx + 0x4); /* 0x2B0923CC: mov esi, dword ptr [ecx + 4] */ 18163 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0923CF: cmp ecx, dword ptr [esi + 8] */ 18164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18166 _flag_k = FK_CMP; 18167 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0923D9; /* 0x2B0923D2: jne 0x2b0923d9 */ 18168 L_2B0923D4: 18169 MEM32(esi + 0x8) = edx; /* 0x2B0923D4: mov dword ptr [esi + 8], edx */ 18170 goto L_2B0923DB; /* 0x2B0923D7: jmp 0x2b0923db */ 18171 L_2B0923D9: 18172 MEM32(esi) = edx; /* 0x2B0923D9: mov dword ptr [esi], edx */ 18173 L_2B0923DB: 18174 MEM32(edx + 0x8) = ecx; /* 0x2B0923DB: mov dword ptr [edx + 8], ecx */ 18175 MEM32(ecx + 0x4) = edx; /* 0x2B0923DE: mov dword ptr [ecx + 4], edx */ 18176 ecx = MEM32(eax + 0x4); /* 0x2B0923E1: mov ecx, dword ptr [eax + 4] */ 18177 ecx = MEM32(ecx + 0x8); /* 0x2B0923E4: mov ecx, dword ptr [ecx + 8] */ 18178 L_2B0923E7: 18179 edx = MEM32(eax + 0x4); /* 0x2B0923E7: mov edx, dword ptr [eax + 4] */ 18180 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0923EA: mov dl, byte ptr [edx + 0x3c] */ 18181 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0923ED: mov byte ptr [ecx + 0x3c], dl */ 18182 edx = MEM32(eax + 0x4); /* 0x2B0923F0: mov edx, dword ptr [eax + 4] */ 18183 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F3: mov byte ptr [edx + 0x3c], bl */ 18184 ecx = MEM32(ecx + 0x8); /* 0x2B0923F6: mov ecx, dword ptr [ecx + 8] */ 18185 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0923F9: mov byte ptr [ecx + 0x3c], bl */ 18186 ecx = MEM32(eax + 0x4); /* 0x2B0923FC: mov ecx, dword ptr [eax + 4] */ 18187 edx = MEM32(ecx + 0x8); /* 0x2B0923FF: mov edx, dword ptr [ecx + 8] */ 18188 esi = MEM32(edx); /* 0x2B092402: mov esi, dword ptr [edx] */ 18189 MEM32(ecx + 0x8) = esi; /* 0x2B092404: mov dword ptr [ecx + 8], esi */ 18190 esi = MEM32(edx); /* 0x2B092407: mov esi, dword ptr [edx] */ 18191 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B092409: cmp esi, dword ptr [edi + 8] */ 18192 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18194 _flag_k = FK_CMP; 18195 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092411; /* 0x2B09240C: je 0x2b092411 */ 18196 L_2B09240E: 18197 MEM32(esi + 0x4) = ecx; /* 0x2B09240E: mov dword ptr [esi + 4], ecx */ 18198 L_2B092411: 18199 esi = MEM32(ecx + 0x4); /* 0x2B092411: mov esi, dword ptr [ecx + 4] */ 18200 MEM32(edx + 0x4) = esi; /* 0x2B092414: mov dword ptr [edx + 4], esi */ 18201 esi = MEM32(edi + 0x4); /* 0x2B092417: mov esi, dword ptr [edi + 4] */ 18202 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09241A: cmp ecx, dword ptr [esi + 4] */ 18203 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18205 _flag_k = FK_CMP; 18206 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092429; /* 0x2B09241D: jne 0x2b092429 */ 18207 L_2B09241F: 18208 MEM32(esi + 0x4) = edx; /* 0x2B09241F: mov dword ptr [esi + 4], edx */ 18209 MEM32(edx) = ecx; /* 0x2B092422: mov dword ptr [edx], ecx */ 18210 goto L_2B0924DF; /* 0x2B092424: jmp 0x2b0924df */ 18211 L_2B092429: 18212 esi = MEM32(ecx + 0x4); /* 0x2B092429: mov esi, dword ptr [ecx + 4] */ 18213 /* cmp ecx, MEM32(esi) */ /* 0x2B09242C: cmp ecx, dword ptr [esi] */ 18214 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18216 _flag_k = FK_CMP; 18217 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092439; /* 0x2B09242E: jne 0x2b092439 */ 18218 L_2B092430: 18219 MEM32(esi) = edx; /* 0x2B092430: mov dword ptr [esi], edx */ 18220 MEM32(edx) = ecx; /* 0x2B092432: mov dword ptr [edx], ecx */ 18221 goto L_2B0924DF; /* 0x2B092434: jmp 0x2b0924df */ 18222 L_2B092439: 18223 MEM32(esi + 0x8) = edx; /* 0x2B092439: mov dword ptr [esi + 8], edx */ 18224 MEM32(edx) = ecx; /* 0x2B09243C: mov dword ptr [edx], ecx */ 18225 goto L_2B0924DF; /* 0x2B09243E: jmp 0x2b0924df */ 18226 L_2B092443: 18227 edx = MEM32(ecx); /* 0x2B092443: mov edx, dword ptr [ecx] */ 18228 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B092445: cmp byte ptr [edx + 0x3c], bl */ 18229 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18231 _flag_k = FK_NARROW(FK_CMP, 24); 18232 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092491; /* 0x2B092448: jne 0x2b092491 */ 18233 L_2B09244A: 18234 edx = MEM32(ecx + 0x8); /* 0x2B09244A: mov edx, dword ptr [ecx + 8] */ 18235 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09244D: mov byte ptr [edx + 0x3c], bl */ 18236 edx = MEM32(ecx + 0x8); /* 0x2B092450: mov edx, dword ptr [ecx + 8] */ 18237 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B092453: mov byte ptr [ecx + 0x3c], 0 */ 18238 esi = MEM32(edx); /* 0x2B092457: mov esi, dword ptr [edx] */ 18239 MEM32(ecx + 0x8) = esi; /* 0x2B092459: mov dword ptr [ecx + 8], esi */ 18240 esi = MEM32(edx); /* 0x2B09245C: mov esi, dword ptr [edx] */ 18241 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B09245E: cmp esi, dword ptr [edi + 8] */ 18242 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18244 _flag_k = FK_CMP; 18245 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B092466; /* 0x2B092461: je 0x2b092466 */ 18246 L_2B092463: 18247 MEM32(esi + 0x4) = ecx; /* 0x2B092463: mov dword ptr [esi + 4], ecx */ 18248 L_2B092466: 18249 esi = MEM32(ecx + 0x4); /* 0x2B092466: mov esi, dword ptr [ecx + 4] */ 18250 MEM32(edx + 0x4) = esi; /* 0x2B092469: mov dword ptr [edx + 4], esi */ 18251 esi = MEM32(edi + 0x4); /* 0x2B09246C: mov esi, dword ptr [edi + 4] */ 18252 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B09246F: cmp ecx, dword ptr [esi + 4] */ 18253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18255 _flag_k = FK_CMP; 18256 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092479; /* 0x2B092472: jne 0x2b092479 */ 18257 L_2B092474: 18258 MEM32(esi + 0x4) = edx; /* 0x2B092474: mov dword ptr [esi + 4], edx */ 18259 goto L_2B092487; /* 0x2B092477: jmp 0x2b092487 */ 18260 L_2B092479: 18261 esi = MEM32(ecx + 0x4); /* 0x2B092479: mov esi, dword ptr [ecx + 4] */ 18262 /* cmp ecx, MEM32(esi) */ /* 0x2B09247C: cmp ecx, dword ptr [esi] */ 18263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18265 _flag_k = FK_CMP; 18266 if (CMP_NE(_flag_a, _flag_b)) goto L_2B092484; /* 0x2B09247E: jne 0x2b092484 */ 18267 L_2B092480: 18268 MEM32(esi) = edx; /* 0x2B092480: mov dword ptr [esi], edx */ 18269 goto L_2B092487; /* 0x2B092482: jmp 0x2b092487 */ 18270 L_2B092484: 18271 MEM32(esi + 0x8) = edx; /* 0x2B092484: mov dword ptr [esi + 8], edx */ 18272 L_2B092487: 18273 MEM32(edx) = ecx; /* 0x2B092487: mov dword ptr [edx], ecx */ 18274 MEM32(ecx + 0x4) = edx; /* 0x2B092489: mov dword ptr [ecx + 4], edx */ 18275 ecx = MEM32(eax + 0x4); /* 0x2B09248C: mov ecx, dword ptr [eax + 4] */ 18276 ecx = MEM32(ecx); /* 0x2B09248F: mov ecx, dword ptr [ecx] */ 18277 L_2B092491: 18278 edx = MEM32(eax + 0x4); /* 0x2B092491: mov edx, dword ptr [eax + 4] */ 18279 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B092494: mov dl, byte ptr [edx + 0x3c] */ 18280 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B092497: mov byte ptr [ecx + 0x3c], dl */ 18281 edx = MEM32(eax + 0x4); /* 0x2B09249A: mov edx, dword ptr [eax + 4] */ 18282 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B09249D: mov byte ptr [edx + 0x3c], bl */ 18283 ecx = MEM32(ecx); /* 0x2B0924A0: mov ecx, dword ptr [ecx] */ 18284 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924A2: mov byte ptr [ecx + 0x3c], bl */ 18285 ecx = MEM32(eax + 0x4); /* 0x2B0924A5: mov ecx, dword ptr [eax + 4] */ 18286 edx = MEM32(ecx); /* 0x2B0924A8: mov edx, dword ptr [ecx] */ 18287 esi = MEM32(edx + 0x8); /* 0x2B0924AA: mov esi, dword ptr [edx + 8] */ 18288 MEM32(ecx) = esi; /* 0x2B0924AD: mov dword ptr [ecx], esi */ 18289 esi = MEM32(edx + 0x8); /* 0x2B0924AF: mov esi, dword ptr [edx + 8] */ 18290 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0924B2: cmp esi, dword ptr [edi + 8] */ 18291 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18293 _flag_k = FK_CMP; 18294 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0924BA; /* 0x2B0924B5: je 0x2b0924ba */ 18295 L_2B0924B7: 18296 MEM32(esi + 0x4) = ecx; /* 0x2B0924B7: mov dword ptr [esi + 4], ecx */ 18297 L_2B0924BA: 18298 esi = MEM32(ecx + 0x4); /* 0x2B0924BA: mov esi, dword ptr [ecx + 4] */ 18299 MEM32(edx + 0x4) = esi; /* 0x2B0924BD: mov dword ptr [edx + 4], esi */ 18300 esi = MEM32(edi + 0x4); /* 0x2B0924C0: mov esi, dword ptr [edi + 4] */ 18301 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0924C3: cmp ecx, dword ptr [esi + 4] */ 18302 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18304 _flag_k = FK_CMP; 18305 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924CD; /* 0x2B0924C6: jne 0x2b0924cd */ 18306 L_2B0924C8: 18307 MEM32(esi + 0x4) = edx; /* 0x2B0924C8: mov dword ptr [esi + 4], edx */ 18308 goto L_2B0924DC; /* 0x2B0924CB: jmp 0x2b0924dc */ 18309 L_2B0924CD: 18310 esi = MEM32(ecx + 0x4); /* 0x2B0924CD: mov esi, dword ptr [ecx + 4] */ 18311 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0924D0: cmp ecx, dword ptr [esi + 8] */ 18312 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18314 _flag_k = FK_CMP; 18315 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0924DA; /* 0x2B0924D3: jne 0x2b0924da */ 18316 L_2B0924D5: 18317 MEM32(esi + 0x8) = edx; /* 0x2B0924D5: mov dword ptr [esi + 8], edx */ 18318 goto L_2B0924DC; /* 0x2B0924D8: jmp 0x2b0924dc */ 18319 L_2B0924DA: 18320 MEM32(esi) = edx; /* 0x2B0924DA: mov dword ptr [esi], edx */ 18321 L_2B0924DC: 18322 MEM32(edx + 0x8) = ecx; /* 0x2B0924DC: mov dword ptr [edx + 8], ecx */ 18323 L_2B0924DF: 18324 MEM32(ecx + 0x4) = edx; /* 0x2B0924DF: mov dword ptr [ecx + 4], edx */ 18325 L_2B0924E2: 18326 esi = MEM32(ebp + (-0x4)); /* 0x2B0924E2: mov esi, dword ptr [ebp - 4] */ 18327 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0924E5: mov byte ptr [eax + 0x3c], bl */ 18328 ecx = esi + 0xC; /* 0x2B0924E8: lea ecx, [esi + 0xc] */ 18329 RECOMP_ICALL(0x2B0925A0u); /* 0x2B0924EB: call 0x2b0925a0 */ /* not lifted */ 18330 RECOMP_FLAGS_IN(); 18331 PUSH32(esp, esi); /* 0x2B0924F0: push esi */ 18332 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0924F1: call 0x2b0ab1ba */ /* not lifted */ 18333 RECOMP_FLAGS_IN(); 18334 eax = MEM32(edi + 0x10); /* 0x2B0924F6: mov eax, dword ptr [edi + 0x10] */ 18335 edx = MEM32(ebp + 0xC); /* 0x2B0924F9: mov edx, dword ptr [ebp + 0xc] */ 18336 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18337 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18338 esp = esp + 4; /* 0x2B0924FC: add esp, 4 */ 18339 _flag_k = FK_ADD; 18340 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18341 eax = eax - 1; /* 0x2B0924FF: dec eax */ 18342 _flag_k = FK_DEC; 18343 MEM32(edi + 0x10) = eax; /* 0x2B092500: mov dword ptr [edi + 0x10], eax */ 18344 eax = MEM32(ebp + 0x8); /* 0x2B092503: mov eax, dword ptr [ebp + 8] */ 18345 edi = POP32_VAL(esp); /* 0x2B092506: pop edi */ 18346 esi = POP32_VAL(esp); /* 0x2B092507: pop esi */ 18347 MEM32(eax) = edx; /* 0x2B092508: mov dword ptr [eax], edx */ 18348 ebx = POP32_VAL(esp); /* 0x2B09250A: pop ebx */ 18349 esp = ebp; /* 0x2B09250B: mov esp, ebp */ 18350 ebp = POP32_VAL(esp); /* 0x2B09250D: pop ebp */ 18351 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B09250E: ret 8 */ 18352 RECOMP_REGS_OUT(); 18353 }