client/game/ddr.dll/lifted-0007.c (1239483B)
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_2B01D2A0(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(0x2B01D2A0u); 17 18 L_2B01D2A0: 19 PUSH32(esp, ebp); /* 0x2B01D2A0: push ebp */ 20 ebp = esp; /* 0x2B01D2A1: mov ebp, esp */ 21 ecx = MEM32(ecx + 0x68); /* 0x2B01D2A3: mov ecx, dword ptr [ecx + 0x68] */ 22 PUSH32(esp, esi); /* 0x2B01D2A6: push esi */ 23 esi = MEM32(ebp + 0x8); /* 0x2B01D2A7: mov esi, dword ptr [ebp + 8] */ 24 PUSH32(esp, esi); /* 0x2B01D2AA: push esi */ 25 RECOMP_ICALL(0x2B02AEE0u); /* 0x2B01D2AB: call 0x2b02aee0 */ /* not lifted */ 26 RECOMP_FLAGS_IN(); 27 eax = MEM32(0x2B0B6048); /* 0x2B01D2B0: mov eax, dword ptr [0x2b0b6048] */ 28 ecx = MEM32(eax); /* 0x2B01D2B5: mov ecx, dword ptr [eax] */ 29 PUSH32(esp, 1); /* 0x2B01D2B7: push 1 */ 30 PUSH32(esp, 1); /* 0x2B01D2B9: push 1 */ 31 PUSH32(esp, esi); /* 0x2B01D2BB: push esi */ 32 PUSH32(esp, 0x2B0E3168u); /* 0x2B01D2BC: push 0x2b0e3168 */ 33 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B01D2C1: call dword ptr [0x2b0b604c] */ 34 RECOMP_FLAGS_IN(); 35 esi = POP32_VAL(esp); /* 0x2B01D2C7: pop esi */ 36 ebp = POP32_VAL(esp); /* 0x2B01D2C8: pop ebp */ 37 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01D2C9: ret 4 */ 38 RECOMP_REGS_OUT(); 39 } 40 41 void sub_2B01D2D0(void) { 42 int _fpu_cmp = 0; 43 uint32_t _cf = 0; 44 int _df = 1; 45 uint32_t _flag_k = FK_NONE; 46 uint32_t _flag_a = 0, _flag_b = 0; 47 uint32_t _itail_tgt = 0; 48 RECOMP_REGS_LOCALS 49 RECOMP_ENTER(0x2B01D2D0u); 50 51 L_2B01D2D0: 52 PUSH32(esp, esi); /* 0x2B01D2D0: push esi */ 53 esi = ecx; /* 0x2B01D2D1: mov esi, ecx */ 54 ecx = MEM32(esi + 0x68); /* 0x2B01D2D3: mov ecx, dword ptr [esi + 0x68] */ 55 PUSH32(esp, edi); /* 0x2B01D2D6: push edi */ 56 RECOMP_ICALL(0x2B02B2B0u); /* 0x2B01D2D7: call 0x2b02b2b0 */ /* not lifted */ 57 RECOMP_FLAGS_IN(); 58 ecx = MEM32(esi + 0x68); /* 0x2B01D2DC: mov ecx, dword ptr [esi + 0x68] */ 59 edi = eax; /* 0x2B01D2DF: mov edi, eax */ 60 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 61 edi = edi + 1; /* 0x2B01D2E1: inc edi */ 62 _flag_k = FK_INC; 63 RECOMP_ICALL(0x2B02B270u); /* 0x2B01D2E2: call 0x2b02b270 */ /* not lifted */ 64 RECOMP_FLAGS_IN(); 65 ecx = eax; /* 0x2B01D2E7: mov ecx, eax */ 66 eax = edi; /* 0x2B01D2E9: mov eax, edi */ 67 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01D2EB: cdq */ 68 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B01D2EC: idiv ecx */ 69 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 70 else { eax = 0; edx = 0; } } 71 ecx = MEM32(esi + 0x68); /* 0x2B01D2EE: mov ecx, dword ptr [esi + 0x68] */ 72 PUSH32(esp, edx); /* 0x2B01D2F1: push edx */ 73 RECOMP_ICALL(0x2B02B290u); /* 0x2B01D2F2: call 0x2b02b290 */ /* not lifted */ 74 RECOMP_FLAGS_IN(); 75 edx = MEM32(0x2B0B6048); /* 0x2B01D2F7: mov edx, dword ptr [0x2b0b6048] */ 76 ecx = MEM32(esi + 0x68); /* 0x2B01D2FD: mov ecx, dword ptr [esi + 0x68] */ 77 edi = MEM32(edx); /* 0x2B01D300: mov edi, dword ptr [edx] */ 78 PUSH32(esp, 1); /* 0x2B01D302: push 1 */ 79 PUSH32(esp, 1); /* 0x2B01D304: push 1 */ 80 RECOMP_ICALL(0x2B02B2B0u); /* 0x2B01D306: call 0x2b02b2b0 */ /* not lifted */ 81 RECOMP_FLAGS_IN(); 82 PUSH32(esp, eax); /* 0x2B01D30B: push eax */ 83 PUSH32(esp, 0x2B0E3178u); /* 0x2B01D30C: push 0x2b0e3178 */ 84 ecx = edi; /* 0x2B01D311: mov ecx, edi */ 85 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B01D313: call dword ptr [0x2b0b604c] */ 86 RECOMP_FLAGS_IN(); 87 edi = POP32_VAL(esp); /* 0x2B01D319: pop edi */ 88 esi = POP32_VAL(esp); /* 0x2B01D31A: pop esi */ 89 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D31B: ret */ 90 RECOMP_REGS_OUT(); 91 } 92 93 void sub_2B01D2D1(void) { 94 int _fpu_cmp = 0; 95 uint32_t _cf = 0; 96 int _df = 1; 97 uint32_t _flag_k = FK_NONE; 98 uint32_t _flag_a = 0, _flag_b = 0; 99 uint32_t _itail_tgt = 0; 100 RECOMP_REGS_LOCALS 101 RECOMP_ENTER(0x2B01D2D1u); 102 103 L_2B01D2D1: 104 esi = ecx; /* 0x2B01D2D1: mov esi, ecx */ 105 ecx = MEM32(esi + 0x68); /* 0x2B01D2D3: mov ecx, dword ptr [esi + 0x68] */ 106 PUSH32(esp, edi); /* 0x2B01D2D6: push edi */ 107 RECOMP_ICALL(0x2B02B2B0u); /* 0x2B01D2D7: call 0x2b02b2b0 */ /* not lifted */ 108 RECOMP_FLAGS_IN(); 109 ecx = MEM32(esi + 0x68); /* 0x2B01D2DC: mov ecx, dword ptr [esi + 0x68] */ 110 edi = eax; /* 0x2B01D2DF: mov edi, eax */ 111 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 112 edi = edi + 1; /* 0x2B01D2E1: inc edi */ 113 _flag_k = FK_INC; 114 RECOMP_ICALL(0x2B02B270u); /* 0x2B01D2E2: call 0x2b02b270 */ /* not lifted */ 115 RECOMP_FLAGS_IN(); 116 ecx = eax; /* 0x2B01D2E7: mov ecx, eax */ 117 eax = edi; /* 0x2B01D2E9: mov eax, edi */ 118 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01D2EB: cdq */ 119 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B01D2EC: idiv ecx */ 120 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 121 else { eax = 0; edx = 0; } } 122 ecx = MEM32(esi + 0x68); /* 0x2B01D2EE: mov ecx, dword ptr [esi + 0x68] */ 123 PUSH32(esp, edx); /* 0x2B01D2F1: push edx */ 124 RECOMP_ICALL(0x2B02B290u); /* 0x2B01D2F2: call 0x2b02b290 */ /* not lifted */ 125 RECOMP_FLAGS_IN(); 126 edx = MEM32(0x2B0B6048); /* 0x2B01D2F7: mov edx, dword ptr [0x2b0b6048] */ 127 ecx = MEM32(esi + 0x68); /* 0x2B01D2FD: mov ecx, dword ptr [esi + 0x68] */ 128 edi = MEM32(edx); /* 0x2B01D300: mov edi, dword ptr [edx] */ 129 PUSH32(esp, 1); /* 0x2B01D302: push 1 */ 130 PUSH32(esp, 1); /* 0x2B01D304: push 1 */ 131 RECOMP_ICALL(0x2B02B2B0u); /* 0x2B01D306: call 0x2b02b2b0 */ /* not lifted */ 132 RECOMP_FLAGS_IN(); 133 PUSH32(esp, eax); /* 0x2B01D30B: push eax */ 134 PUSH32(esp, 0x2B0E3178u); /* 0x2B01D30C: push 0x2b0e3178 */ 135 ecx = edi; /* 0x2B01D311: mov ecx, edi */ 136 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B01D313: call dword ptr [0x2b0b604c] */ 137 RECOMP_FLAGS_IN(); 138 edi = POP32_VAL(esp); /* 0x2B01D319: pop edi */ 139 esi = POP32_VAL(esp); /* 0x2B01D31A: pop esi */ 140 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D31B: ret */ 141 RECOMP_REGS_OUT(); 142 } 143 144 void sub_2B01D320(void) { 145 int _fpu_cmp = 0; 146 uint32_t _cf = 0; 147 int _df = 1; 148 uint32_t _flag_k = FK_NONE; 149 uint32_t _flag_a = 0, _flag_b = 0; 150 uint32_t _itail_tgt = 0; 151 RECOMP_REGS_LOCALS 152 RECOMP_ENTER(0x2B01D320u); 153 154 L_2B01D320: 155 PUSH32(esp, esi); /* 0x2B01D320: push esi */ 156 esi = ecx; /* 0x2B01D321: mov esi, ecx */ 157 ecx = MEM32(esi + 0x68); /* 0x2B01D323: mov ecx, dword ptr [esi + 0x68] */ 158 PUSH32(esp, edi); /* 0x2B01D326: push edi */ 159 RECOMP_ICALL(0x2B02B2B0u); /* 0x2B01D327: call 0x2b02b2b0 */ /* not lifted */ 160 RECOMP_FLAGS_IN(); 161 ecx = MEM32(esi + 0x68); /* 0x2B01D32C: mov ecx, dword ptr [esi + 0x68] */ 162 edi = eax; /* 0x2B01D32F: mov edi, eax */ 163 RECOMP_ICALL(0x2B02B270u); /* 0x2B01D331: call 0x2b02b270 */ /* not lifted */ 164 RECOMP_FLAGS_IN(); 165 ecx = MEM32(esi + 0x68); /* 0x2B01D336: mov ecx, dword ptr [esi + 0x68] */ 166 edi = edi + eax + (-0x1); /* 0x2B01D339: lea edi, [edi + eax - 1] */ 167 RECOMP_ICALL(0x2B02B270u); /* 0x2B01D33D: call 0x2b02b270 */ /* not lifted */ 168 RECOMP_FLAGS_IN(); 169 ecx = eax; /* 0x2B01D342: mov ecx, eax */ 170 eax = edi; /* 0x2B01D344: mov eax, edi */ 171 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01D346: cdq */ 172 { int64_t _dividend = ((int64_t)(int32_t)edx << 32) | eax; int32_t _dv = (int32_t)ecx; /* 0x2B01D347: idiv ecx */ 173 if (_dv && !(_dv == -1 && _dividend == INT64_MIN)) { eax = (uint32_t)((int32_t)(_dividend / _dv)); edx = (uint32_t)((int32_t)(_dividend % _dv)); } 174 else { eax = 0; edx = 0; } } 175 ecx = MEM32(esi + 0x68); /* 0x2B01D349: mov ecx, dword ptr [esi + 0x68] */ 176 PUSH32(esp, edx); /* 0x2B01D34C: push edx */ 177 RECOMP_ICALL(0x2B02B290u); /* 0x2B01D34D: call 0x2b02b290 */ /* not lifted */ 178 RECOMP_FLAGS_IN(); 179 edx = MEM32(0x2B0B6048); /* 0x2B01D352: mov edx, dword ptr [0x2b0b6048] */ 180 ecx = MEM32(esi + 0x68); /* 0x2B01D358: mov ecx, dword ptr [esi + 0x68] */ 181 edi = MEM32(edx); /* 0x2B01D35B: mov edi, dword ptr [edx] */ 182 PUSH32(esp, 1); /* 0x2B01D35D: push 1 */ 183 PUSH32(esp, 1); /* 0x2B01D35F: push 1 */ 184 RECOMP_ICALL(0x2B02B2B0u); /* 0x2B01D361: call 0x2b02b2b0 */ /* not lifted */ 185 RECOMP_FLAGS_IN(); 186 PUSH32(esp, eax); /* 0x2B01D366: push eax */ 187 PUSH32(esp, 0x2B0E3178u); /* 0x2B01D367: push 0x2b0e3178 */ 188 ecx = edi; /* 0x2B01D36C: mov ecx, edi */ 189 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B01D36E: call dword ptr [0x2b0b604c] */ 190 RECOMP_FLAGS_IN(); 191 edi = POP32_VAL(esp); /* 0x2B01D374: pop edi */ 192 esi = POP32_VAL(esp); /* 0x2B01D375: pop esi */ 193 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D376: ret */ 194 RECOMP_REGS_OUT(); 195 } 196 197 void sub_2B01D380(void) { 198 int _fpu_cmp = 0; 199 uint32_t _cf = 0; 200 int _df = 1; 201 uint32_t _flag_k = FK_NONE; 202 uint32_t _flag_a = 0, _flag_b = 0; 203 uint32_t _itail_tgt = 0; 204 RECOMP_REGS_LOCALS 205 RECOMP_ENTER(0x2B01D380u); 206 207 L_2B01D380: 208 PUSH32(esp, ebp); /* 0x2B01D380: push ebp */ 209 ebp = esp; /* 0x2B01D381: mov ebp, esp */ 210 eax = MEM32(ebp + 0x8); /* 0x2B01D383: mov eax, dword ptr [ebp + 8] */ 211 MEM32(eax + 0x5C) = 0x7EEu; /* 0x2B01D386: mov dword ptr [eax + 0x5c], 0x7ee */ 212 ebp = POP32_VAL(esp); /* 0x2B01D38D: pop ebp */ 213 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D38E: ret */ 214 RECOMP_REGS_OUT(); 215 } 216 217 void sub_2B01D390(void) { 218 int _fpu_cmp = 0; 219 uint32_t _cf = 0; 220 int _df = 1; 221 uint32_t _flag_k = FK_NONE; 222 uint32_t _flag_a = 0, _flag_b = 0; 223 uint32_t _itail_tgt = 0; 224 RECOMP_REGS_LOCALS 225 RECOMP_ENTER(0x2B01D390u); 226 227 L_2B01D390: 228 PUSH32(esp, ebx); /* 0x2B01D390: push ebx */ 229 PUSH32(esp, esi); /* 0x2B01D391: push esi */ 230 esi = ecx; /* 0x2B01D392: mov esi, ecx */ 231 eax = MEM32(esi + 0x80); /* 0x2B01D394: mov eax, dword ptr [esi + 0x80] */ 232 ecx = MEM32(eax + 0x4); /* 0x2B01D39A: mov ecx, dword ptr [eax + 4] */ 233 PUSH32(esp, edi); /* 0x2B01D39D: push edi */ 234 edi = MEM32(0x2B0B5BAC); /* 0x2B01D39E: mov edi, dword ptr [0x2b0b5bac] */ 235 RECOMP_ICALL(edi); /* 0x2B01D3A4: call edi */ 236 RECOMP_FLAGS_IN(); 237 ecx = MEM32(esi + 0x84); /* 0x2B01D3A6: mov ecx, dword ptr [esi + 0x84] */ 238 RECOMP_ICALL(MEM32(0x2B0B5B38)); /* 0x2B01D3AC: call dword ptr [0x2b0b5b38] */ 239 RECOMP_FLAGS_IN(); 240 ecx = MEM32(esi + 0x88); /* 0x2B01D3B2: mov ecx, dword ptr [esi + 0x88] */ 241 ebx = MEM32(0x2B0B5B34); /* 0x2B01D3B8: mov ebx, dword ptr [0x2b0b5b34] */ 242 RECOMP_ICALL(ebx); /* 0x2B01D3BE: call ebx */ 243 RECOMP_FLAGS_IN(); 244 ecx = MEM32(esi + 0x8C); /* 0x2B01D3C0: mov ecx, dword ptr [esi + 0x8c] */ 245 RECOMP_ICALL(edi); /* 0x2B01D3C6: call edi */ 246 RECOMP_FLAGS_IN(); 247 ecx = MEM32(esi + 0x90); /* 0x2B01D3C8: mov ecx, dword ptr [esi + 0x90] */ 248 RECOMP_ICALL(ebx); /* 0x2B01D3CE: call ebx */ 249 RECOMP_FLAGS_IN(); 250 ecx = MEM32(esi + 0x94); /* 0x2B01D3D0: mov ecx, dword ptr [esi + 0x94] */ 251 RECOMP_ICALL(edi); /* 0x2B01D3D6: call edi */ 252 RECOMP_FLAGS_IN(); 253 ecx = MEM32(esi + 0x98); /* 0x2B01D3D8: mov ecx, dword ptr [esi + 0x98] */ 254 RECOMP_ICALL(ebx); /* 0x2B01D3DE: call ebx */ 255 RECOMP_FLAGS_IN(); 256 ecx = MEM32(esi + 0x9C); /* 0x2B01D3E0: mov ecx, dword ptr [esi + 0x9c] */ 257 RECOMP_ICALL(edi); /* 0x2B01D3E6: call edi */ 258 RECOMP_FLAGS_IN(); 259 ecx = MEM32(esi + 0xA0); /* 0x2B01D3E8: mov ecx, dword ptr [esi + 0xa0] */ 260 ecx = MEM32(ecx + 0x4); /* 0x2B01D3EE: mov ecx, dword ptr [ecx + 4] */ 261 RECOMP_ICALL(edi); /* 0x2B01D3F1: call edi */ 262 RECOMP_FLAGS_IN(); 263 ecx = MEM32(esi + 0xA4); /* 0x2B01D3F3: mov ecx, dword ptr [esi + 0xa4] */ 264 RECOMP_ICALL(MEM32(0x2B0B5B38)); /* 0x2B01D3F9: call dword ptr [0x2b0b5b38] */ 265 RECOMP_FLAGS_IN(); 266 ecx = MEM32(esi + 0xA8); /* 0x2B01D3FF: mov ecx, dword ptr [esi + 0xa8] */ 267 RECOMP_ICALL(ebx); /* 0x2B01D405: call ebx */ 268 RECOMP_FLAGS_IN(); 269 ecx = MEM32(esi + 0xAC); /* 0x2B01D407: mov ecx, dword ptr [esi + 0xac] */ 270 RECOMP_ICALL(edi); /* 0x2B01D40D: call edi */ 271 RECOMP_FLAGS_IN(); 272 ecx = MEM32(esi + 0xB0); /* 0x2B01D40F: mov ecx, dword ptr [esi + 0xb0] */ 273 RECOMP_ICALL(ebx); /* 0x2B01D415: call ebx */ 274 RECOMP_FLAGS_IN(); 275 ecx = MEM32(esi + 0xB4); /* 0x2B01D417: mov ecx, dword ptr [esi + 0xb4] */ 276 RECOMP_ICALL(edi); /* 0x2B01D41D: call edi */ 277 RECOMP_FLAGS_IN(); 278 ecx = MEM32(esi + 0xB8); /* 0x2B01D41F: mov ecx, dword ptr [esi + 0xb8] */ 279 RECOMP_ICALL(ebx); /* 0x2B01D425: call ebx */ 280 RECOMP_FLAGS_IN(); 281 ecx = MEM32(esi + 0xBC); /* 0x2B01D427: mov ecx, dword ptr [esi + 0xbc] */ 282 RECOMP_ICALL(edi); /* 0x2B01D42D: call edi */ 283 RECOMP_FLAGS_IN(); 284 edx = MEM32(esi + 0xC0); /* 0x2B01D42F: mov edx, dword ptr [esi + 0xc0] */ 285 ecx = MEM32(edx + 0x4); /* 0x2B01D435: mov ecx, dword ptr [edx + 4] */ 286 RECOMP_ICALL(edi); /* 0x2B01D438: call edi */ 287 RECOMP_FLAGS_IN(); 288 ecx = MEM32(esi + 0xC4); /* 0x2B01D43A: mov ecx, dword ptr [esi + 0xc4] */ 289 RECOMP_ICALL(MEM32(0x2B0B5B38)); /* 0x2B01D440: call dword ptr [0x2b0b5b38] */ 290 RECOMP_FLAGS_IN(); 291 ecx = MEM32(esi + 0xC8); /* 0x2B01D446: mov ecx, dword ptr [esi + 0xc8] */ 292 RECOMP_ICALL(ebx); /* 0x2B01D44C: call ebx */ 293 RECOMP_FLAGS_IN(); 294 ecx = MEM32(esi + 0xCC); /* 0x2B01D44E: mov ecx, dword ptr [esi + 0xcc] */ 295 RECOMP_ICALL(edi); /* 0x2B01D454: call edi */ 296 RECOMP_FLAGS_IN(); 297 ecx = MEM32(esi + 0xD0); /* 0x2B01D456: mov ecx, dword ptr [esi + 0xd0] */ 298 RECOMP_ICALL(ebx); /* 0x2B01D45C: call ebx */ 299 RECOMP_FLAGS_IN(); 300 ecx = MEM32(esi + 0xD4); /* 0x2B01D45E: mov ecx, dword ptr [esi + 0xd4] */ 301 RECOMP_ICALL(edi); /* 0x2B01D464: call edi */ 302 RECOMP_FLAGS_IN(); 303 eax = MEM32(esi + 0xD8); /* 0x2B01D466: mov eax, dword ptr [esi + 0xd8] */ 304 ecx = esi; /* 0x2B01D46C: mov ecx, esi */ 305 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B01D46E: mov byte ptr [eax + 8], 0 */ 306 RECOMP_ICALL(0x2B0380A0u); /* 0x2B01D472: call 0x2b0380a0 */ /* not lifted */ 307 RECOMP_FLAGS_IN(); 308 edi = POP32_VAL(esp); /* 0x2B01D477: pop edi */ 309 esi = POP32_VAL(esp); /* 0x2B01D478: pop esi */ 310 ebx = POP32_VAL(esp); /* 0x2B01D479: pop ebx */ 311 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D47A: ret */ 312 RECOMP_REGS_OUT(); 313 } 314 315 void sub_2B01D480(void) { 316 int _fpu_cmp = 0; 317 uint32_t _cf = 0; 318 int _df = 1; 319 uint32_t _flag_k = FK_NONE; 320 uint32_t _flag_a = 0, _flag_b = 0; 321 uint32_t _itail_tgt = 0; 322 RECOMP_REGS_LOCALS 323 RECOMP_ENTER(0x2B01D480u); 324 325 L_2B01D480: 326 PUSH32(esp, ebx); /* 0x2B01D480: push ebx */ 327 PUSH32(esp, esi); /* 0x2B01D481: push esi */ 328 esi = ecx; /* 0x2B01D482: mov esi, ecx */ 329 eax = MEM32(esi + 0x80); /* 0x2B01D484: mov eax, dword ptr [esi + 0x80] */ 330 ecx = MEM32(eax + 0x4); /* 0x2B01D48A: mov ecx, dword ptr [eax + 4] */ 331 PUSH32(esp, edi); /* 0x2B01D48D: push edi */ 332 edi = MEM32(0x2B0B5BB4); /* 0x2B01D48E: mov edi, dword ptr [0x2b0b5bb4] */ 333 RECOMP_ICALL(edi); /* 0x2B01D494: call edi */ 334 RECOMP_FLAGS_IN(); 335 ecx = MEM32(esi + 0x84); /* 0x2B01D496: mov ecx, dword ptr [esi + 0x84] */ 336 RECOMP_ICALL(MEM32(0x2B0B5B40)); /* 0x2B01D49C: call dword ptr [0x2b0b5b40] */ 337 RECOMP_FLAGS_IN(); 338 ecx = MEM32(esi + 0x88); /* 0x2B01D4A2: mov ecx, dword ptr [esi + 0x88] */ 339 ebx = MEM32(0x2B0B5B3C); /* 0x2B01D4A8: mov ebx, dword ptr [0x2b0b5b3c] */ 340 RECOMP_ICALL(ebx); /* 0x2B01D4AE: call ebx */ 341 RECOMP_FLAGS_IN(); 342 ecx = MEM32(esi + 0x8C); /* 0x2B01D4B0: mov ecx, dword ptr [esi + 0x8c] */ 343 RECOMP_ICALL(edi); /* 0x2B01D4B6: call edi */ 344 RECOMP_FLAGS_IN(); 345 ecx = MEM32(esi + 0x90); /* 0x2B01D4B8: mov ecx, dword ptr [esi + 0x90] */ 346 RECOMP_ICALL(ebx); /* 0x2B01D4BE: call ebx */ 347 RECOMP_FLAGS_IN(); 348 ecx = MEM32(esi + 0x94); /* 0x2B01D4C0: mov ecx, dword ptr [esi + 0x94] */ 349 RECOMP_ICALL(edi); /* 0x2B01D4C6: call edi */ 350 RECOMP_FLAGS_IN(); 351 ecx = MEM32(esi + 0x98); /* 0x2B01D4C8: mov ecx, dword ptr [esi + 0x98] */ 352 RECOMP_ICALL(ebx); /* 0x2B01D4CE: call ebx */ 353 RECOMP_FLAGS_IN(); 354 ecx = MEM32(esi + 0x9C); /* 0x2B01D4D0: mov ecx, dword ptr [esi + 0x9c] */ 355 RECOMP_ICALL(edi); /* 0x2B01D4D6: call edi */ 356 RECOMP_FLAGS_IN(); 357 ecx = MEM32(esi + 0xA0); /* 0x2B01D4D8: mov ecx, dword ptr [esi + 0xa0] */ 358 ecx = MEM32(ecx + 0x4); /* 0x2B01D4DE: mov ecx, dword ptr [ecx + 4] */ 359 RECOMP_ICALL(edi); /* 0x2B01D4E1: call edi */ 360 RECOMP_FLAGS_IN(); 361 ecx = MEM32(esi + 0xA4); /* 0x2B01D4E3: mov ecx, dword ptr [esi + 0xa4] */ 362 RECOMP_ICALL(MEM32(0x2B0B5B40)); /* 0x2B01D4E9: call dword ptr [0x2b0b5b40] */ 363 RECOMP_FLAGS_IN(); 364 ecx = MEM32(esi + 0xA8); /* 0x2B01D4EF: mov ecx, dword ptr [esi + 0xa8] */ 365 RECOMP_ICALL(ebx); /* 0x2B01D4F5: call ebx */ 366 RECOMP_FLAGS_IN(); 367 ecx = MEM32(esi + 0xAC); /* 0x2B01D4F7: mov ecx, dword ptr [esi + 0xac] */ 368 RECOMP_ICALL(edi); /* 0x2B01D4FD: call edi */ 369 RECOMP_FLAGS_IN(); 370 ecx = MEM32(esi + 0xB0); /* 0x2B01D4FF: mov ecx, dword ptr [esi + 0xb0] */ 371 RECOMP_ICALL(ebx); /* 0x2B01D505: call ebx */ 372 RECOMP_FLAGS_IN(); 373 ecx = MEM32(esi + 0xB4); /* 0x2B01D507: mov ecx, dword ptr [esi + 0xb4] */ 374 RECOMP_ICALL(edi); /* 0x2B01D50D: call edi */ 375 RECOMP_FLAGS_IN(); 376 ecx = MEM32(esi + 0xB8); /* 0x2B01D50F: mov ecx, dword ptr [esi + 0xb8] */ 377 RECOMP_ICALL(ebx); /* 0x2B01D515: call ebx */ 378 RECOMP_FLAGS_IN(); 379 ecx = MEM32(esi + 0xBC); /* 0x2B01D517: mov ecx, dword ptr [esi + 0xbc] */ 380 RECOMP_ICALL(edi); /* 0x2B01D51D: call edi */ 381 RECOMP_FLAGS_IN(); 382 edx = MEM32(esi + 0xC0); /* 0x2B01D51F: mov edx, dword ptr [esi + 0xc0] */ 383 ecx = MEM32(edx + 0x4); /* 0x2B01D525: mov ecx, dword ptr [edx + 4] */ 384 RECOMP_ICALL(edi); /* 0x2B01D528: call edi */ 385 RECOMP_FLAGS_IN(); 386 ecx = MEM32(esi + 0xC4); /* 0x2B01D52A: mov ecx, dword ptr [esi + 0xc4] */ 387 RECOMP_ICALL(MEM32(0x2B0B5B40)); /* 0x2B01D530: call dword ptr [0x2b0b5b40] */ 388 RECOMP_FLAGS_IN(); 389 ecx = MEM32(esi + 0xC8); /* 0x2B01D536: mov ecx, dword ptr [esi + 0xc8] */ 390 RECOMP_ICALL(ebx); /* 0x2B01D53C: call ebx */ 391 RECOMP_FLAGS_IN(); 392 ecx = MEM32(esi + 0xCC); /* 0x2B01D53E: mov ecx, dword ptr [esi + 0xcc] */ 393 RECOMP_ICALL(edi); /* 0x2B01D544: call edi */ 394 RECOMP_FLAGS_IN(); 395 ecx = MEM32(esi + 0xD0); /* 0x2B01D546: mov ecx, dword ptr [esi + 0xd0] */ 396 RECOMP_ICALL(ebx); /* 0x2B01D54C: call ebx */ 397 RECOMP_FLAGS_IN(); 398 ecx = MEM32(esi + 0xD4); /* 0x2B01D54E: mov ecx, dword ptr [esi + 0xd4] */ 399 RECOMP_ICALL(edi); /* 0x2B01D554: call edi */ 400 RECOMP_FLAGS_IN(); 401 eax = MEM32(esi + 0xD8); /* 0x2B01D556: mov eax, dword ptr [esi + 0xd8] */ 402 ecx = esi; /* 0x2B01D55C: mov ecx, esi */ 403 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B01D55E: mov byte ptr [eax + 8], 1 */ 404 RECOMP_ICALL(0x2B038120u); /* 0x2B01D562: call 0x2b038120 */ /* not lifted */ 405 RECOMP_FLAGS_IN(); 406 edi = POP32_VAL(esp); /* 0x2B01D567: pop edi */ 407 esi = POP32_VAL(esp); /* 0x2B01D568: pop esi */ 408 ebx = POP32_VAL(esp); /* 0x2B01D569: pop ebx */ 409 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D56A: ret */ 410 RECOMP_REGS_OUT(); 411 } 412 413 void sub_2B01D570(void) { 414 int _fpu_cmp = 0; 415 uint32_t _cf = 0; 416 int _df = 1; 417 uint32_t _flag_k = FK_NONE; 418 uint32_t _flag_a = 0, _flag_b = 0; 419 uint32_t _itail_tgt = 0; 420 RECOMP_REGS_LOCALS 421 RECOMP_ENTER(0x2B01D570u); 422 423 L_2B01D570: 424 PUSH32(esp, esi); /* 0x2B01D570: push esi */ 425 esi = ecx; /* 0x2B01D571: mov esi, ecx */ 426 ecx = MEM32(esi + 0x88); /* 0x2B01D573: mov ecx, dword ptr [esi + 0x88] */ 427 PUSH32(esp, edi); /* 0x2B01D579: push edi */ 428 edi = MEM32(0x2B0B5B34); /* 0x2B01D57A: mov edi, dword ptr [0x2b0b5b34] */ 429 RECOMP_ICALL(edi); /* 0x2B01D580: call edi */ 430 RECOMP_FLAGS_IN(); 431 ecx = MEM32(esi + 0x90); /* 0x2B01D582: mov ecx, dword ptr [esi + 0x90] */ 432 RECOMP_ICALL(edi); /* 0x2B01D588: call edi */ 433 RECOMP_FLAGS_IN(); 434 ecx = MEM32(esi + 0x98); /* 0x2B01D58A: mov ecx, dword ptr [esi + 0x98] */ 435 RECOMP_ICALL(edi); /* 0x2B01D590: call edi */ 436 RECOMP_FLAGS_IN(); 437 ecx = MEM32(esi + 0xA8); /* 0x2B01D592: mov ecx, dword ptr [esi + 0xa8] */ 438 RECOMP_ICALL(edi); /* 0x2B01D598: call edi */ 439 RECOMP_FLAGS_IN(); 440 ecx = MEM32(esi + 0xB0); /* 0x2B01D59A: mov ecx, dword ptr [esi + 0xb0] */ 441 RECOMP_ICALL(edi); /* 0x2B01D5A0: call edi */ 442 RECOMP_FLAGS_IN(); 443 ecx = MEM32(esi + 0xB8); /* 0x2B01D5A2: mov ecx, dword ptr [esi + 0xb8] */ 444 RECOMP_ICALL(edi); /* 0x2B01D5A8: call edi */ 445 RECOMP_FLAGS_IN(); 446 ecx = MEM32(esi + 0xC8); /* 0x2B01D5AA: mov ecx, dword ptr [esi + 0xc8] */ 447 RECOMP_ICALL(edi); /* 0x2B01D5B0: call edi */ 448 RECOMP_FLAGS_IN(); 449 ecx = MEM32(esi + 0xD0); /* 0x2B01D5B2: mov ecx, dword ptr [esi + 0xd0] */ 450 RECOMP_ICALL(edi); /* 0x2B01D5B8: call edi */ 451 RECOMP_FLAGS_IN(); 452 eax = MEM32(esi + 0xD8); /* 0x2B01D5BA: mov eax, dword ptr [esi + 0xd8] */ 453 ecx = esi; /* 0x2B01D5C0: mov ecx, esi */ 454 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B01D5C2: mov byte ptr [eax + 8], 0 */ 455 RECOMP_ICALL(0x2B0381A0u); /* 0x2B01D5C6: call 0x2b0381a0 */ /* not lifted */ 456 RECOMP_FLAGS_IN(); 457 edi = POP32_VAL(esp); /* 0x2B01D5CB: pop edi */ 458 esi = POP32_VAL(esp); /* 0x2B01D5CC: pop esi */ 459 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D5CD: ret */ 460 RECOMP_REGS_OUT(); 461 } 462 463 void sub_2B01D5D0(void) { 464 int _fpu_cmp = 0; 465 uint32_t _cf = 0; 466 int _df = 1; 467 uint32_t _flag_k = FK_NONE; 468 uint32_t _flag_a = 0, _flag_b = 0; 469 uint32_t _itail_tgt = 0; 470 RECOMP_REGS_LOCALS 471 RECOMP_ENTER(0x2B01D5D0u); 472 473 L_2B01D5D0: 474 PUSH32(esp, esi); /* 0x2B01D5D0: push esi */ 475 esi = ecx; /* 0x2B01D5D1: mov esi, ecx */ 476 ecx = MEM32(esi + 0x88); /* 0x2B01D5D3: mov ecx, dword ptr [esi + 0x88] */ 477 PUSH32(esp, edi); /* 0x2B01D5D9: push edi */ 478 edi = MEM32(0x2B0B5B3C); /* 0x2B01D5DA: mov edi, dword ptr [0x2b0b5b3c] */ 479 RECOMP_ICALL(edi); /* 0x2B01D5E0: call edi */ 480 RECOMP_FLAGS_IN(); 481 ecx = MEM32(esi + 0x90); /* 0x2B01D5E2: mov ecx, dword ptr [esi + 0x90] */ 482 RECOMP_ICALL(edi); /* 0x2B01D5E8: call edi */ 483 RECOMP_FLAGS_IN(); 484 ecx = MEM32(esi + 0x98); /* 0x2B01D5EA: mov ecx, dword ptr [esi + 0x98] */ 485 RECOMP_ICALL(edi); /* 0x2B01D5F0: call edi */ 486 RECOMP_FLAGS_IN(); 487 ecx = MEM32(esi + 0xA8); /* 0x2B01D5F2: mov ecx, dword ptr [esi + 0xa8] */ 488 RECOMP_ICALL(edi); /* 0x2B01D5F8: call edi */ 489 RECOMP_FLAGS_IN(); 490 ecx = MEM32(esi + 0xB0); /* 0x2B01D5FA: mov ecx, dword ptr [esi + 0xb0] */ 491 RECOMP_ICALL(edi); /* 0x2B01D600: call edi */ 492 RECOMP_FLAGS_IN(); 493 ecx = MEM32(esi + 0xB8); /* 0x2B01D602: mov ecx, dword ptr [esi + 0xb8] */ 494 RECOMP_ICALL(edi); /* 0x2B01D608: call edi */ 495 RECOMP_FLAGS_IN(); 496 ecx = MEM32(esi + 0xC8); /* 0x2B01D60A: mov ecx, dword ptr [esi + 0xc8] */ 497 RECOMP_ICALL(edi); /* 0x2B01D610: call edi */ 498 RECOMP_FLAGS_IN(); 499 ecx = MEM32(esi + 0xD0); /* 0x2B01D612: mov ecx, dword ptr [esi + 0xd0] */ 500 RECOMP_ICALL(edi); /* 0x2B01D618: call edi */ 501 RECOMP_FLAGS_IN(); 502 eax = MEM32(esi + 0xD8); /* 0x2B01D61A: mov eax, dword ptr [esi + 0xd8] */ 503 ecx = esi; /* 0x2B01D620: mov ecx, esi */ 504 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B01D622: mov byte ptr [eax + 8], 1 */ 505 RECOMP_ICALL(0x2B0381C0u); /* 0x2B01D626: call 0x2b0381c0 */ /* not lifted */ 506 RECOMP_FLAGS_IN(); 507 edi = POP32_VAL(esp); /* 0x2B01D62B: pop edi */ 508 esi = POP32_VAL(esp); /* 0x2B01D62C: pop esi */ 509 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D62D: ret */ 510 RECOMP_REGS_OUT(); 511 } 512 513 void sub_2B01D630(void) { 514 int _fpu_cmp = 0; 515 uint32_t _cf = 0; 516 int _df = 1; 517 uint32_t _flag_k = FK_NONE; 518 uint32_t _flag_a = 0, _flag_b = 0; 519 uint32_t _itail_tgt = 0; 520 RECOMP_REGS_LOCALS 521 RECOMP_ENTER(0x2B01D630u); 522 523 L_2B01D630: 524 PUSH32(esp, ebp); /* 0x2B01D630: push ebp */ 525 ebp = esp; /* 0x2B01D631: mov ebp, esp */ 526 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 528 esp = esp - 8; /* 0x2B01D633: sub esp, 8 */ 529 _flag_k = FK_CMP; 530 PUSH32(esp, ebx); /* 0x2B01D636: push ebx */ 531 PUSH32(esp, esi); /* 0x2B01D637: push esi */ 532 esi = MEM32(ecx + 0x4); /* 0x2B01D638: mov esi, dword ptr [ecx + 4] */ 533 PUSH32(esp, edi); /* 0x2B01D63B: push edi */ 534 edi = MEM32(ecx + 0x8); /* 0x2B01D63C: mov edi, dword ptr [ecx + 8] */ 535 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 536 ebx = 0; /* 0x2B01D63F: xor ebx, ebx */ 537 _cf = 0; 538 _flag_k = FK_TEST; 539 /* cmp esi, edi */ /* 0x2B01D641: cmp esi, edi */ 540 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 542 _flag_k = FK_CMP; 543 MEM32(ebp + (-0x4)) = ecx; /* 0x2B01D643: mov dword ptr [ebp - 4], ecx */ 544 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D66A; /* 0x2B01D646: je 0x2b01d66a */ 545 L_2B01D648: 546 eax = MEM32(esi + 0x4); /* 0x2B01D648: mov eax, dword ptr [esi + 4] */ 547 PUSH32(esp, eax); /* 0x2B01D64B: push eax */ 548 MEM32(ebp + (-0x8)) = eax; /* 0x2B01D64C: mov dword ptr [ebp - 8], eax */ 549 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D64F: call 0x2b0ab1ba */ /* not lifted */ 550 RECOMP_FLAGS_IN(); 551 MEM32(esi + 0x4) = ebx; /* 0x2B01D654: mov dword ptr [esi + 4], ebx */ 552 MEM32(esi + 0x8) = ebx; /* 0x2B01D657: mov dword ptr [esi + 8], ebx */ 553 MEM32(esi + 0xC) = ebx; /* 0x2B01D65A: mov dword ptr [esi + 0xc], ebx */ 554 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 556 esi = esi + 0x10u; /* 0x2B01D65D: add esi, 0x10 */ 557 _flag_k = FK_ADD; 558 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 559 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 560 esp = esp + 4; /* 0x2B01D660: add esp, 4 */ 561 _flag_k = FK_ADD; 562 /* cmp esi, edi */ /* 0x2B01D663: cmp esi, edi */ 563 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 565 _flag_k = FK_CMP; 566 RECOMP_BACKEDGE(); 567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D648; /* 0x2B01D665: jne 0x2b01d648 */ 568 L_2B01D667: 569 ecx = MEM32(ebp + (-0x4)); /* 0x2B01D667: mov ecx, dword ptr [ebp - 4] */ 570 L_2B01D66A: 571 eax = MEM32(ecx + 0x4); /* 0x2B01D66A: mov eax, dword ptr [ecx + 4] */ 572 PUSH32(esp, eax); /* 0x2B01D66D: push eax */ 573 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D66E: call 0x2b0ab1ba */ /* not lifted */ 574 RECOMP_FLAGS_IN(); 575 eax = MEM32(ebp + (-0x4)); /* 0x2B01D673: mov eax, dword ptr [ebp - 4] */ 576 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 577 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 578 esp = esp + 4; /* 0x2B01D676: add esp, 4 */ 579 _flag_k = FK_ADD; 580 edi = POP32_VAL(esp); /* 0x2B01D679: pop edi */ 581 esi = POP32_VAL(esp); /* 0x2B01D67A: pop esi */ 582 MEM32(eax + 0x4) = ebx; /* 0x2B01D67B: mov dword ptr [eax + 4], ebx */ 583 MEM32(eax + 0x8) = ebx; /* 0x2B01D67E: mov dword ptr [eax + 8], ebx */ 584 MEM32(eax + 0xC) = ebx; /* 0x2B01D681: mov dword ptr [eax + 0xc], ebx */ 585 ebx = POP32_VAL(esp); /* 0x2B01D684: pop ebx */ 586 esp = ebp; /* 0x2B01D685: mov esp, ebp */ 587 ebp = POP32_VAL(esp); /* 0x2B01D687: pop ebp */ 588 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D688: ret */ 589 RECOMP_REGS_OUT(); 590 } 591 592 void sub_2B01D690(void) { 593 int _fpu_cmp = 0; 594 uint32_t _cf = 0; 595 int _df = 1; 596 uint32_t _flag_k = FK_NONE; 597 uint32_t _flag_a = 0, _flag_b = 0; 598 uint32_t _itail_tgt = 0; 599 RECOMP_REGS_LOCALS 600 RECOMP_ENTER(0x2B01D690u); 601 602 L_2B01D690: 603 PUSH32(esp, ebp); /* 0x2B01D690: push ebp */ 604 ebp = esp; /* 0x2B01D691: mov ebp, esp */ 605 PUSH32(esp, ebx); /* 0x2B01D693: push ebx */ 606 PUSH32(esp, esi); /* 0x2B01D694: push esi */ 607 esi = MEM32(ebp + 0x8); /* 0x2B01D695: mov esi, dword ptr [ebp + 8] */ 608 ebx = ecx; /* 0x2B01D698: mov ebx, ecx */ 609 /* cmp ebx, esi */ /* 0x2B01D69A: cmp ebx, esi */ 610 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 612 _flag_k = FK_CMP; 613 PUSH32(esp, edi); /* 0x2B01D69C: push edi */ 614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D82B; /* 0x2B01D69D: je 0x2b01d82b */ 615 L_2B01D6A3: 616 eax = MEM32(esi + 0x4); /* 0x2B01D6A3: mov eax, dword ptr [esi + 4] */ 617 /* test eax, eax */ /* 0x2B01D6A6: test eax, eax */ 618 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 619 _cf = 0; 620 _flag_k = FK_TEST; 621 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D6AE; /* 0x2B01D6A8: jne 0x2b01d6ae */ 622 L_2B01D6AA: 623 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 624 edi = 0; /* 0x2B01D6AA: xor edi, edi */ 625 _cf = 0; 626 _flag_k = FK_TEST; 627 goto L_2B01D6B6; /* 0x2B01D6AC: jmp 0x2b01d6b6 */ 628 L_2B01D6AE: 629 edi = MEM32(esi + 0x8); /* 0x2B01D6AE: mov edi, dword ptr [esi + 8] */ 630 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 632 edi = edi - eax; /* 0x2B01D6B1: sub edi, eax */ 633 _flag_k = FK_CMP; 634 if (3u) _cf = (((edi) >> 2) & 1u); /* 0x2B01D6B3: sar edi, 3 */ 635 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 636 edi = (uint32_t)((int32_t)edi >> 3u); 637 L_2B01D6B6: 638 edx = MEM32(ebx + 0x4); /* 0x2B01D6B6: mov edx, dword ptr [ebx + 4] */ 639 /* test edx, edx */ /* 0x2B01D6B9: test edx, edx */ 640 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 641 _cf = 0; 642 _flag_k = FK_TEST; 643 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D6C1; /* 0x2B01D6BB: jne 0x2b01d6c1 */ 644 L_2B01D6BD: 645 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 646 ecx = 0; /* 0x2B01D6BD: xor ecx, ecx */ 647 _cf = 0; 648 _flag_k = FK_TEST; 649 goto L_2B01D6C9; /* 0x2B01D6BF: jmp 0x2b01d6c9 */ 650 L_2B01D6C1: 651 ecx = MEM32(ebx + 0x8); /* 0x2B01D6C1: mov ecx, dword ptr [ebx + 8] */ 652 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 654 ecx = ecx - edx; /* 0x2B01D6C4: sub ecx, edx */ 655 _flag_k = FK_CMP; 656 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B01D6C6: sar ecx, 3 */ 657 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 658 ecx = (uint32_t)((int32_t)ecx >> 3u); 659 L_2B01D6C9: 660 /* cmp edi, ecx */ /* 0x2B01D6C9: cmp edi, ecx */ 661 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 663 _flag_k = FK_CMP; 664 if (CMP_A(_flag_a, _flag_b)) goto L_2B01D71D; /* 0x2B01D6CB: ja 0x2b01d71d */ 665 L_2B01D6CD: 666 ecx = MEM32(esi + 0x8); /* 0x2B01D6CD: mov ecx, dword ptr [esi + 8] */ 667 /* cmp eax, ecx */ /* 0x2B01D6D0: cmp eax, ecx */ 668 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 670 _flag_k = FK_CMP; 671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D6E8; /* 0x2B01D6D2: je 0x2b01d6e8 */ 672 L_2B01D6D4: 673 edi = MEM32(eax); /* 0x2B01D6D4: mov edi, dword ptr [eax] */ 674 MEM32(edx) = edi; /* 0x2B01D6D6: mov dword ptr [edx], edi */ 675 edi = MEM32(eax + 0x4); /* 0x2B01D6D8: mov edi, dword ptr [eax + 4] */ 676 MEM32(edx + 0x4) = edi; /* 0x2B01D6DB: mov dword ptr [edx + 4], edi */ 677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 678 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 679 eax = eax + 8; /* 0x2B01D6DE: add eax, 8 */ 680 _flag_k = FK_ADD; 681 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 682 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 683 edx = edx + 8; /* 0x2B01D6E1: add edx, 8 */ 684 _flag_k = FK_ADD; 685 /* cmp eax, ecx */ /* 0x2B01D6E4: cmp eax, ecx */ 686 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 688 _flag_k = FK_CMP; 689 RECOMP_BACKEDGE(); 690 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D6D4; /* 0x2B01D6E6: jne 0x2b01d6d4 */ 691 L_2B01D6E8: 692 eax = MEM32(esi + 0x4); /* 0x2B01D6E8: mov eax, dword ptr [esi + 4] */ 693 /* test eax, eax */ /* 0x2B01D6EB: test eax, eax */ 694 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 695 _cf = 0; 696 _flag_k = FK_TEST; 697 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D703; /* 0x2B01D6ED: jne 0x2b01d703 */ 698 L_2B01D6EF: 699 eax = MEM32(ebx + 0x4); /* 0x2B01D6EF: mov eax, dword ptr [ebx + 4] */ 700 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 701 esi = 0; /* 0x2B01D6F2: xor esi, esi */ 702 _cf = 0; 703 _flag_k = FK_TEST; 704 ecx = eax + esi * 8; /* 0x2B01D6F4: lea ecx, [eax + esi*8] */ 705 edi = POP32_VAL(esp); /* 0x2B01D6F7: pop edi */ 706 esi = POP32_VAL(esp); /* 0x2B01D6F8: pop esi */ 707 MEM32(ebx + 0x8) = ecx; /* 0x2B01D6F9: mov dword ptr [ebx + 8], ecx */ 708 eax = ebx; /* 0x2B01D6FC: mov eax, ebx */ 709 ebx = POP32_VAL(esp); /* 0x2B01D6FE: pop ebx */ 710 ebp = POP32_VAL(esp); /* 0x2B01D6FF: pop ebp */ 711 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01D700: ret 4 */ 712 L_2B01D703: 713 esi = MEM32(esi + 0x8); /* 0x2B01D703: mov esi, dword ptr [esi + 8] */ 714 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 716 esi = esi - eax; /* 0x2B01D706: sub esi, eax */ 717 _flag_k = FK_CMP; 718 eax = MEM32(ebx + 0x4); /* 0x2B01D708: mov eax, dword ptr [ebx + 4] */ 719 if (3u) _cf = (((esi) >> 2) & 1u); /* 0x2B01D70B: sar esi, 3 */ 720 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 721 esi = (uint32_t)((int32_t)esi >> 3u); 722 ecx = eax + esi * 8; /* 0x2B01D70E: lea ecx, [eax + esi*8] */ 723 edi = POP32_VAL(esp); /* 0x2B01D711: pop edi */ 724 esi = POP32_VAL(esp); /* 0x2B01D712: pop esi */ 725 MEM32(ebx + 0x8) = ecx; /* 0x2B01D713: mov dword ptr [ebx + 8], ecx */ 726 eax = ebx; /* 0x2B01D716: mov eax, ebx */ 727 ebx = POP32_VAL(esp); /* 0x2B01D718: pop ebx */ 728 ebp = POP32_VAL(esp); /* 0x2B01D719: pop ebp */ 729 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01D71A: ret 4 */ 730 L_2B01D71D: 731 /* test eax, eax */ /* 0x2B01D71D: test eax, eax */ 732 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 733 _cf = 0; 734 _flag_k = FK_TEST; 735 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D725; /* 0x2B01D71F: jne 0x2b01d725 */ 736 L_2B01D721: 737 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 738 edi = 0; /* 0x2B01D721: xor edi, edi */ 739 _cf = 0; 740 _flag_k = FK_TEST; 741 goto L_2B01D72D; /* 0x2B01D723: jmp 0x2b01d72d */ 742 L_2B01D725: 743 edi = MEM32(esi + 0x8); /* 0x2B01D725: mov edi, dword ptr [esi + 8] */ 744 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 746 edi = edi - eax; /* 0x2B01D728: sub edi, eax */ 747 _flag_k = FK_CMP; 748 if (3u) _cf = (((edi) >> 2) & 1u); /* 0x2B01D72A: sar edi, 3 */ 749 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 750 edi = (uint32_t)((int32_t)edi >> 3u); 751 L_2B01D72D: 752 /* test edx, edx */ /* 0x2B01D72D: test edx, edx */ 753 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 754 _cf = 0; 755 _flag_k = FK_TEST; 756 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D735; /* 0x2B01D72F: jne 0x2b01d735 */ 757 L_2B01D731: 758 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 759 ecx = 0; /* 0x2B01D731: xor ecx, ecx */ 760 _cf = 0; 761 _flag_k = FK_TEST; 762 goto L_2B01D73D; /* 0x2B01D733: jmp 0x2b01d73d */ 763 L_2B01D735: 764 ecx = MEM32(ebx + 0xC); /* 0x2B01D735: mov ecx, dword ptr [ebx + 0xc] */ 765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 767 ecx = ecx - edx; /* 0x2B01D738: sub ecx, edx */ 768 _flag_k = FK_CMP; 769 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B01D73A: sar ecx, 3 */ 770 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 771 ecx = (uint32_t)((int32_t)ecx >> 3u); 772 L_2B01D73D: 773 /* cmp edi, ecx */ /* 0x2B01D73D: cmp edi, ecx */ 774 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 776 _flag_k = FK_CMP; 777 if (CMP_A(_flag_a, _flag_b)) goto L_2B01D7C9; /* 0x2B01D73F: ja 0x2b01d7c9 */ 778 L_2B01D745: 779 /* test edx, edx */ /* 0x2B01D745: test edx, edx */ 780 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 781 _cf = 0; 782 _flag_k = FK_TEST; 783 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D74D; /* 0x2B01D747: jne 0x2b01d74d */ 784 L_2B01D749: 785 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 786 ecx = 0; /* 0x2B01D749: xor ecx, ecx */ 787 _cf = 0; 788 _flag_k = FK_TEST; 789 goto L_2B01D755; /* 0x2B01D74B: jmp 0x2b01d755 */ 790 L_2B01D74D: 791 ecx = MEM32(ebx + 0x8); /* 0x2B01D74D: mov ecx, dword ptr [ebx + 8] */ 792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 794 ecx = ecx - edx; /* 0x2B01D750: sub ecx, edx */ 795 _flag_k = FK_CMP; 796 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B01D752: sar ecx, 3 */ 797 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 798 ecx = (uint32_t)((int32_t)ecx >> 3u); 799 L_2B01D755: 800 ecx = eax + ecx * 8; /* 0x2B01D755: lea ecx, [eax + ecx*8] */ 801 /* cmp eax, ecx */ /* 0x2B01D758: cmp eax, ecx */ 802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 804 _flag_k = FK_CMP; 805 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D770; /* 0x2B01D75A: je 0x2b01d770 */ 806 L_2B01D75C: 807 edi = MEM32(eax); /* 0x2B01D75C: mov edi, dword ptr [eax] */ 808 MEM32(edx) = edi; /* 0x2B01D75E: mov dword ptr [edx], edi */ 809 edi = MEM32(eax + 0x4); /* 0x2B01D760: mov edi, dword ptr [eax + 4] */ 810 MEM32(edx + 0x4) = edi; /* 0x2B01D763: mov dword ptr [edx + 4], edi */ 811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 812 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 813 eax = eax + 8; /* 0x2B01D766: add eax, 8 */ 814 _flag_k = FK_ADD; 815 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 816 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 817 edx = edx + 8; /* 0x2B01D769: add edx, 8 */ 818 _flag_k = FK_ADD; 819 /* cmp eax, ecx */ /* 0x2B01D76C: cmp eax, ecx */ 820 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 822 _flag_k = FK_CMP; 823 RECOMP_BACKEDGE(); 824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D75C; /* 0x2B01D76E: jne 0x2b01d75c */ 825 L_2B01D770: 826 edi = MEM32(esi + 0x8); /* 0x2B01D770: mov edi, dword ptr [esi + 8] */ 827 /* cmp ecx, edi */ /* 0x2B01D773: cmp ecx, edi */ 828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 830 _flag_k = FK_CMP; 831 edx = MEM32(ebx + 0x8); /* 0x2B01D775: mov edx, dword ptr [ebx + 8] */ 832 eax = ecx; /* 0x2B01D778: mov eax, ecx */ 833 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D794; /* 0x2B01D77A: je 0x2b01d794 */ 834 L_2B01D77C: 835 /* test edx, edx */ /* 0x2B01D77C: test edx, edx */ 836 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 837 _cf = 0; 838 _flag_k = FK_TEST; 839 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01D78A; /* 0x2B01D77E: je 0x2b01d78a */ 840 L_2B01D780: 841 ecx = MEM32(eax); /* 0x2B01D780: mov ecx, dword ptr [eax] */ 842 MEM32(edx) = ecx; /* 0x2B01D782: mov dword ptr [edx], ecx */ 843 ecx = MEM32(eax + 0x4); /* 0x2B01D784: mov ecx, dword ptr [eax + 4] */ 844 MEM32(edx + 0x4) = ecx; /* 0x2B01D787: mov dword ptr [edx + 4], ecx */ 845 L_2B01D78A: 846 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 848 eax = eax + 8; /* 0x2B01D78A: add eax, 8 */ 849 _flag_k = FK_ADD; 850 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 851 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 852 edx = edx + 8; /* 0x2B01D78D: add edx, 8 */ 853 _flag_k = FK_ADD; 854 /* cmp eax, edi */ /* 0x2B01D790: cmp eax, edi */ 855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 857 _flag_k = FK_CMP; 858 RECOMP_BACKEDGE(); 859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D77C; /* 0x2B01D792: jne 0x2b01d77c */ 860 L_2B01D794: 861 eax = MEM32(esi + 0x4); /* 0x2B01D794: mov eax, dword ptr [esi + 4] */ 862 /* test eax, eax */ /* 0x2B01D797: test eax, eax */ 863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 864 _cf = 0; 865 _flag_k = FK_TEST; 866 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D7AF; /* 0x2B01D799: jne 0x2b01d7af */ 867 L_2B01D79B: 868 edx = MEM32(ebx + 0x4); /* 0x2B01D79B: mov edx, dword ptr [ebx + 4] */ 869 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 870 esi = 0; /* 0x2B01D79E: xor esi, esi */ 871 _cf = 0; 872 _flag_k = FK_TEST; 873 eax = edx + esi * 8; /* 0x2B01D7A0: lea eax, [edx + esi*8] */ 874 edi = POP32_VAL(esp); /* 0x2B01D7A3: pop edi */ 875 MEM32(ebx + 0x8) = eax; /* 0x2B01D7A4: mov dword ptr [ebx + 8], eax */ 876 esi = POP32_VAL(esp); /* 0x2B01D7A7: pop esi */ 877 eax = ebx; /* 0x2B01D7A8: mov eax, ebx */ 878 ebx = POP32_VAL(esp); /* 0x2B01D7AA: pop ebx */ 879 ebp = POP32_VAL(esp); /* 0x2B01D7AB: pop ebp */ 880 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01D7AC: ret 4 */ 881 L_2B01D7AF: 882 esi = MEM32(esi + 0x8); /* 0x2B01D7AF: mov esi, dword ptr [esi + 8] */ 883 edx = MEM32(ebx + 0x4); /* 0x2B01D7B2: mov edx, dword ptr [ebx + 4] */ 884 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 885 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 886 esi = esi - eax; /* 0x2B01D7B5: sub esi, eax */ 887 _flag_k = FK_CMP; 888 if (3u) _cf = (((esi) >> 2) & 1u); /* 0x2B01D7B7: sar esi, 3 */ 889 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 890 esi = (uint32_t)((int32_t)esi >> 3u); 891 eax = edx + esi * 8; /* 0x2B01D7BA: lea eax, [edx + esi*8] */ 892 edi = POP32_VAL(esp); /* 0x2B01D7BD: pop edi */ 893 MEM32(ebx + 0x8) = eax; /* 0x2B01D7BE: mov dword ptr [ebx + 8], eax */ 894 esi = POP32_VAL(esp); /* 0x2B01D7C1: pop esi */ 895 eax = ebx; /* 0x2B01D7C2: mov eax, ebx */ 896 ebx = POP32_VAL(esp); /* 0x2B01D7C4: pop ebx */ 897 ebp = POP32_VAL(esp); /* 0x2B01D7C5: pop ebp */ 898 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01D7C6: ret 4 */ 899 L_2B01D7C9: 900 PUSH32(esp, edx); /* 0x2B01D7C9: push edx */ 901 MEM32(ebp + 0x8) = edx; /* 0x2B01D7CA: mov dword ptr [ebp + 8], edx */ 902 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D7CD: call 0x2b0ab1ba */ /* not lifted */ 903 RECOMP_FLAGS_IN(); 904 ecx = MEM32(esi + 0x4); /* 0x2B01D7D2: mov ecx, dword ptr [esi + 4] */ 905 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 906 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 907 esp = esp + 4; /* 0x2B01D7D5: add esp, 4 */ 908 _flag_k = FK_ADD; 909 /* test ecx, ecx */ /* 0x2B01D7D8: test ecx, ecx */ 910 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 911 _cf = 0; 912 _flag_k = FK_TEST; 913 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D7E0; /* 0x2B01D7DA: jne 0x2b01d7e0 */ 914 L_2B01D7DC: 915 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 916 eax = 0; /* 0x2B01D7DC: xor eax, eax */ 917 _cf = 0; 918 _flag_k = FK_TEST; 919 goto L_2B01D7E8; /* 0x2B01D7DE: jmp 0x2b01d7e8 */ 920 L_2B01D7E0: 921 eax = MEM32(esi + 0x8); /* 0x2B01D7E0: mov eax, dword ptr [esi + 8] */ 922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 924 eax = eax - ecx; /* 0x2B01D7E3: sub eax, ecx */ 925 _flag_k = FK_CMP; 926 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B01D7E5: sar eax, 3 */ 927 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 928 eax = (uint32_t)((int32_t)eax >> 3u); 929 L_2B01D7E8: 930 /* test eax, eax */ /* 0x2B01D7E8: test eax, eax */ 931 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 932 _cf = 0; 933 _flag_k = FK_TEST; 934 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01D7EE; /* 0x2B01D7EA: jge 0x2b01d7ee */ 935 L_2B01D7EC: 936 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 937 eax = 0; /* 0x2B01D7EC: xor eax, eax */ 938 _cf = 0; 939 _flag_k = FK_TEST; 940 L_2B01D7EE: 941 ecx = eax * 8; /* 0x2B01D7EE: lea ecx, [eax*8] */ 942 PUSH32(esp, ecx); /* 0x2B01D7F5: push ecx */ 943 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01D7F6: call 0x2b0ab212 */ /* not lifted */ 944 RECOMP_FLAGS_IN(); 945 MEM32(ebx + 0x4) = eax; /* 0x2B01D7FB: mov dword ptr [ebx + 4], eax */ 946 edx = MEM32(esi + 0x8); /* 0x2B01D7FE: mov edx, dword ptr [esi + 8] */ 947 ecx = eax; /* 0x2B01D801: mov ecx, eax */ 948 eax = MEM32(esi + 0x4); /* 0x2B01D803: mov eax, dword ptr [esi + 4] */ 949 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 950 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 951 esp = esp + 4; /* 0x2B01D806: add esp, 4 */ 952 _flag_k = FK_ADD; 953 /* cmp eax, edx */ /* 0x2B01D809: cmp eax, edx */ 954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 956 _flag_k = FK_CMP; 957 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D825; /* 0x2B01D80B: je 0x2b01d825 */ 958 L_2B01D80D: 959 /* test ecx, ecx */ /* 0x2B01D80D: test ecx, ecx */ 960 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 961 _cf = 0; 962 _flag_k = FK_TEST; 963 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01D81B; /* 0x2B01D80F: je 0x2b01d81b */ 964 L_2B01D811: 965 esi = MEM32(eax); /* 0x2B01D811: mov esi, dword ptr [eax] */ 966 MEM32(ecx) = esi; /* 0x2B01D813: mov dword ptr [ecx], esi */ 967 esi = MEM32(eax + 0x4); /* 0x2B01D815: mov esi, dword ptr [eax + 4] */ 968 MEM32(ecx + 0x4) = esi; /* 0x2B01D818: mov dword ptr [ecx + 4], esi */ 969 L_2B01D81B: 970 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 971 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 972 eax = eax + 8; /* 0x2B01D81B: add eax, 8 */ 973 _flag_k = FK_ADD; 974 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 975 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 976 ecx = ecx + 8; /* 0x2B01D81E: add ecx, 8 */ 977 _flag_k = FK_ADD; 978 /* cmp eax, edx */ /* 0x2B01D821: cmp eax, edx */ 979 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 981 _flag_k = FK_CMP; 982 RECOMP_BACKEDGE(); 983 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D80D; /* 0x2B01D823: jne 0x2b01d80d */ 984 L_2B01D825: 985 MEM32(ebx + 0x8) = ecx; /* 0x2B01D825: mov dword ptr [ebx + 8], ecx */ 986 MEM32(ebx + 0xC) = ecx; /* 0x2B01D828: mov dword ptr [ebx + 0xc], ecx */ 987 L_2B01D82B: 988 edi = POP32_VAL(esp); /* 0x2B01D82B: pop edi */ 989 esi = POP32_VAL(esp); /* 0x2B01D82C: pop esi */ 990 eax = ebx; /* 0x2B01D82D: mov eax, ebx */ 991 ebx = POP32_VAL(esp); /* 0x2B01D82F: pop ebx */ 992 ebp = POP32_VAL(esp); /* 0x2B01D830: pop ebp */ 993 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01D831: ret 4 */ 994 RECOMP_REGS_OUT(); 995 } 996 997 void sub_2B01D840(void) { 998 int _fpu_cmp = 0; 999 uint32_t _cf = 0; 1000 int _df = 1; 1001 uint32_t _flag_k = FK_NONE; 1002 uint32_t _flag_a = 0, _flag_b = 0; 1003 uint32_t _itail_tgt = 0; 1004 RECOMP_REGS_LOCALS 1005 RECOMP_ENTER(0x2B01D840u); 1006 1007 L_2B01D840: 1008 PUSH32(esp, ebp); /* 0x2B01D840: push ebp */ 1009 ebp = esp; /* 0x2B01D841: mov ebp, esp */ 1010 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1012 esp = esp - 0xCu; /* 0x2B01D843: sub esp, 0xc */ 1013 _flag_k = FK_CMP; 1014 PUSH32(esp, ebx); /* 0x2B01D846: push ebx */ 1015 PUSH32(esp, esi); /* 0x2B01D847: push esi */ 1016 esi = ecx; /* 0x2B01D848: mov esi, ecx */ 1017 eax = MEM32(esi + 0x8); /* 0x2B01D84A: mov eax, dword ptr [esi + 8] */ 1018 ecx = MEM32(esi + 0xC); /* 0x2B01D84D: mov ecx, dword ptr [esi + 0xc] */ 1019 edx = MEM32(esi + 0x4); /* 0x2B01D850: mov edx, dword ptr [esi + 4] */ 1020 PUSH32(esp, edi); /* 0x2B01D853: push edi */ 1021 edi = MEM32(ebp + 0x8); /* 0x2B01D854: mov edi, dword ptr [ebp + 8] */ 1022 ebx = edi; /* 0x2B01D857: mov ebx, edi */ 1023 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1025 ecx = ecx - eax; /* 0x2B01D859: sub ecx, eax */ 1026 _flag_k = FK_CMP; 1027 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 1028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1029 ebx = ebx - edx; /* 0x2B01D85B: sub ebx, edx */ 1030 _flag_k = FK_CMP; 1031 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01D85D: sar ebx, 2 */ 1032 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1033 ebx = (uint32_t)((int32_t)ebx >> 2u); 1034 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01D860: sar ecx, 2 */ 1035 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1036 ecx = (uint32_t)((int32_t)ecx >> 2u); 1037 /* cmp ecx, 1 */ /* 0x2B01D863: cmp ecx, 1 */ 1038 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1040 _flag_k = FK_CMP; 1041 MEM32(ebp + (-0x4)) = ebx; /* 0x2B01D866: mov dword ptr [ebp - 4], ebx */ 1042 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01D942; /* 0x2B01D869: jae 0x2b01d942 */ 1043 L_2B01D86F: 1044 /* test edx, edx */ /* 0x2B01D86F: test edx, edx */ 1045 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1046 _cf = 0; 1047 _flag_k = FK_TEST; 1048 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01D87F; /* 0x2B01D871: je 0x2b01d87f */ 1049 L_2B01D873: 1050 ecx = eax; /* 0x2B01D873: mov ecx, eax */ 1051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1053 ecx = ecx - edx; /* 0x2B01D875: sub ecx, edx */ 1054 _flag_k = FK_CMP; 1055 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01D877: sar ecx, 2 */ 1056 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1057 ecx = (uint32_t)((int32_t)ecx >> 2u); 1058 /* cmp ecx, 1 */ /* 0x2B01D87A: cmp ecx, 1 */ 1059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1061 _flag_k = FK_CMP; 1062 if (CMP_A(_flag_a, _flag_b)) goto L_2B01D884; /* 0x2B01D87D: ja 0x2b01d884 */ 1063 L_2B01D87F: 1064 ecx = 1; /* 0x2B01D87F: mov ecx, 1 */ 1065 L_2B01D884: 1066 /* test edx, edx */ /* 0x2B01D884: test edx, edx */ 1067 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1068 _cf = 0; 1069 _flag_k = FK_TEST; 1070 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01D88C; /* 0x2B01D886: jne 0x2b01d88c */ 1071 L_2B01D888: 1072 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1073 eax = 0; /* 0x2B01D888: xor eax, eax */ 1074 _cf = 0; 1075 _flag_k = FK_TEST; 1076 goto L_2B01D891; /* 0x2B01D88A: jmp 0x2b01d891 */ 1077 L_2B01D88C: 1078 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1080 eax = eax - edx; /* 0x2B01D88C: sub eax, edx */ 1081 _flag_k = FK_CMP; 1082 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01D88E: sar eax, 2 */ 1083 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1084 eax = (uint32_t)((int32_t)eax >> 2u); 1085 L_2B01D891: 1086 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1087 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1088 eax = eax + ecx; /* 0x2B01D891: add eax, ecx */ 1089 _flag_k = FK_ADD; 1090 /* test eax, eax */ /* 0x2B01D893: test eax, eax */ 1091 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1092 _cf = 0; 1093 _flag_k = FK_TEST; 1094 MEM32(ebp + (-0xC)) = eax; /* 0x2B01D895: mov dword ptr [ebp - 0xc], eax */ 1095 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01D89C; /* 0x2B01D898: jge 0x2b01d89c */ 1096 L_2B01D89A: 1097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1098 eax = 0; /* 0x2B01D89A: xor eax, eax */ 1099 _cf = 0; 1100 _flag_k = FK_TEST; 1101 L_2B01D89C: 1102 edx = eax * 4; /* 0x2B01D89C: lea edx, [eax*4] */ 1103 PUSH32(esp, edx); /* 0x2B01D8A3: push edx */ 1104 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01D8A4: call 0x2b0ab212 */ /* not lifted */ 1105 RECOMP_FLAGS_IN(); 1106 ebx = MEM32(esi + 0x4); /* 0x2B01D8A9: mov ebx, dword ptr [esi + 4] */ 1107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1109 esp = esp + 4; /* 0x2B01D8AC: add esp, 4 */ 1110 _flag_k = FK_ADD; 1111 /* cmp ebx, edi */ /* 0x2B01D8AF: cmp ebx, edi */ 1112 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 1113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1114 _flag_k = FK_CMP; 1115 MEM32(ebp + (-0x8)) = eax; /* 0x2B01D8B1: mov dword ptr [ebp - 8], eax */ 1116 MEM32(ebp + 0x8) = eax; /* 0x2B01D8B4: mov dword ptr [ebp + 8], eax */ 1117 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D8D6; /* 0x2B01D8B7: je 0x2b01d8d6 */ 1118 L_2B01D8B9: 1119 eax = MEM32(ebp + 0x8); /* 0x2B01D8B9: mov eax, dword ptr [ebp + 8] */ 1120 PUSH32(esp, ebx); /* 0x2B01D8BC: push ebx */ 1121 PUSH32(esp, eax); /* 0x2B01D8BD: push eax */ 1122 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01D8BE: call 0x2b02aae0 */ /* not lifted */ 1123 RECOMP_FLAGS_IN(); 1124 edx = MEM32(ebp + 0x8); /* 0x2B01D8C3: mov edx, dword ptr [ebp + 8] */ 1125 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 1126 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1127 edx = edx + 4; /* 0x2B01D8C6: add edx, 4 */ 1128 _flag_k = FK_ADD; 1129 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 1130 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1131 ebx = ebx + 4; /* 0x2B01D8C9: add ebx, 4 */ 1132 _flag_k = FK_ADD; 1133 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1134 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1135 esp = esp + 8; /* 0x2B01D8CC: add esp, 8 */ 1136 _flag_k = FK_ADD; 1137 /* cmp ebx, edi */ /* 0x2B01D8CF: cmp ebx, edi */ 1138 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 1139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1140 _flag_k = FK_CMP; 1141 MEM32(ebp + 0x8) = edx; /* 0x2B01D8D1: mov dword ptr [ebp + 8], edx */ 1142 RECOMP_BACKEDGE(); 1143 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D8B9; /* 0x2B01D8D4: jne 0x2b01d8b9 */ 1144 L_2B01D8D6: 1145 ecx = MEM32(ebp + 0xC); /* 0x2B01D8D6: mov ecx, dword ptr [ebp + 0xc] */ 1146 edx = MEM32(ebp + 0x8); /* 0x2B01D8D9: mov edx, dword ptr [ebp + 8] */ 1147 PUSH32(esp, ecx); /* 0x2B01D8DC: push ecx */ 1148 PUSH32(esp, edx); /* 0x2B01D8DD: push edx */ 1149 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01D8DE: call 0x2b02aae0 */ /* not lifted */ 1150 RECOMP_FLAGS_IN(); 1151 eax = MEM32(ebp + 0x8); /* 0x2B01D8E3: mov eax, dword ptr [ebp + 8] */ 1152 ecx = MEM32(esi + 0x8); /* 0x2B01D8E6: mov ecx, dword ptr [esi + 8] */ 1153 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1154 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1155 esp = esp + 8; /* 0x2B01D8E9: add esp, 8 */ 1156 _flag_k = FK_ADD; 1157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1159 eax = eax + 4; /* 0x2B01D8EC: add eax, 4 */ 1160 _flag_k = FK_ADD; 1161 PUSH32(esp, eax); /* 0x2B01D8EF: push eax */ 1162 PUSH32(esp, ecx); /* 0x2B01D8F0: push ecx */ 1163 PUSH32(esp, edi); /* 0x2B01D8F1: push edi */ 1164 ecx = esi; /* 0x2B01D8F2: mov ecx, esi */ 1165 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01D8F4: call 0x2b01da20 */ /* not lifted */ 1166 RECOMP_FLAGS_IN(); 1167 edx = MEM32(esi + 0x8); /* 0x2B01D8F9: mov edx, dword ptr [esi + 8] */ 1168 eax = MEM32(esi + 0x4); /* 0x2B01D8FC: mov eax, dword ptr [esi + 4] */ 1169 PUSH32(esp, edx); /* 0x2B01D8FF: push edx */ 1170 PUSH32(esp, eax); /* 0x2B01D900: push eax */ 1171 ecx = esi; /* 0x2B01D901: mov ecx, esi */ 1172 RECOMP_ICALL(0x2B0292C0u); /* 0x2B01D903: call 0x2b0292c0 */ /* not lifted */ 1173 RECOMP_FLAGS_IN(); 1174 ecx = MEM32(esi + 0x4); /* 0x2B01D908: mov ecx, dword ptr [esi + 4] */ 1175 PUSH32(esp, ecx); /* 0x2B01D90B: push ecx */ 1176 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D90C: call 0x2b0ab1ba */ /* not lifted */ 1177 RECOMP_FLAGS_IN(); 1178 edx = MEM32(ebp + (-0xC)); /* 0x2B01D911: mov edx, dword ptr [ebp - 0xc] */ 1179 edi = MEM32(ebp + (-0x8)); /* 0x2B01D914: mov edi, dword ptr [ebp - 8] */ 1180 eax = edi + edx * 4; /* 0x2B01D917: lea eax, [edi + edx*4] */ 1181 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1182 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1183 esp = esp + 4; /* 0x2B01D91A: add esp, 4 */ 1184 _flag_k = FK_ADD; 1185 ecx = esi; /* 0x2B01D91D: mov ecx, esi */ 1186 MEM32(esi + 0xC) = eax; /* 0x2B01D91F: mov dword ptr [esi + 0xc], eax */ 1187 RECOMP_ICALL(0x2B01DA00u); /* 0x2B01D922: call 0x2b01da00 */ /* not lifted */ 1188 RECOMP_FLAGS_IN(); 1189 ebx = MEM32(ebp + (-0x4)); /* 0x2B01D927: mov ebx, dword ptr [ebp - 4] */ 1190 ecx = edi + eax * 4 + 0x4; /* 0x2B01D92A: lea ecx, [edi + eax*4 + 4] */ 1191 MEM32(esi + 0x4) = edi; /* 0x2B01D92E: mov dword ptr [esi + 4], edi */ 1192 eax = edi; /* 0x2B01D931: mov eax, edi */ 1193 edi = POP32_VAL(esp); /* 0x2B01D933: pop edi */ 1194 MEM32(esi + 0x8) = ecx; /* 0x2B01D934: mov dword ptr [esi + 8], ecx */ 1195 esi = POP32_VAL(esp); /* 0x2B01D937: pop esi */ 1196 eax = eax + ebx * 4; /* 0x2B01D938: lea eax, [eax + ebx*4] */ 1197 ebx = POP32_VAL(esp); /* 0x2B01D93B: pop ebx */ 1198 esp = ebp; /* 0x2B01D93C: mov esp, ebp */ 1199 ebp = POP32_VAL(esp); /* 0x2B01D93E: pop ebp */ 1200 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01D93F: ret 8 */ 1201 L_2B01D942: 1202 edx = eax; /* 0x2B01D942: mov edx, eax */ 1203 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 1204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1205 edx = edx - edi; /* 0x2B01D944: sub edx, edi */ 1206 _flag_k = FK_CMP; 1207 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B01D946: sar edx, 2 */ 1208 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1209 edx = (uint32_t)((int32_t)edx >> 2u); 1210 /* cmp edx, 1 */ /* 0x2B01D949: cmp edx, 1 */ 1211 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 1212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1213 _flag_k = FK_CMP; 1214 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01D9A6; /* 0x2B01D94C: jae 0x2b01d9a6 */ 1215 L_2B01D94E: 1216 ecx = edi + 0x4; /* 0x2B01D94E: lea ecx, [edi + 4] */ 1217 PUSH32(esp, ecx); /* 0x2B01D951: push ecx */ 1218 PUSH32(esp, eax); /* 0x2B01D952: push eax */ 1219 PUSH32(esp, edi); /* 0x2B01D953: push edi */ 1220 ecx = esi; /* 0x2B01D954: mov ecx, esi */ 1221 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01D956: call 0x2b01da20 */ /* not lifted */ 1222 RECOMP_FLAGS_IN(); 1223 eax = MEM32(esi + 0x8); /* 0x2B01D95B: mov eax, dword ptr [esi + 8] */ 1224 ebx = MEM32(ebp + 0xC); /* 0x2B01D95E: mov ebx, dword ptr [ebp + 0xc] */ 1225 edx = eax; /* 0x2B01D961: mov edx, eax */ 1226 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 1227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1228 edx = edx - edi; /* 0x2B01D963: sub edx, edi */ 1229 _flag_k = FK_CMP; 1230 if (2u) _cf = (((edx) >> 1) & 1u); /* 0x2B01D965: sar edx, 2 */ 1231 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1232 edx = (uint32_t)((int32_t)edx >> 2u); 1233 PUSH32(esp, ebx); /* 0x2B01D968: push ebx */ 1234 ecx = 1; /* 0x2B01D969: mov ecx, 1 */ 1235 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1237 ecx = ecx - edx; /* 0x2B01D96E: sub ecx, edx */ 1238 _flag_k = FK_CMP; 1239 PUSH32(esp, ecx); /* 0x2B01D970: push ecx */ 1240 PUSH32(esp, eax); /* 0x2B01D971: push eax */ 1241 ecx = esi; /* 0x2B01D972: mov ecx, esi */ 1242 RECOMP_ICALL(0x2B02A630u); /* 0x2B01D974: call 0x2b02a630 */ /* not lifted */ 1243 RECOMP_FLAGS_IN(); 1244 eax = MEM32(esi + 0x8); /* 0x2B01D979: mov eax, dword ptr [esi + 8] */ 1245 /* cmp edi, eax */ /* 0x2B01D97C: cmp edi, eax */ 1246 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1248 _flag_k = FK_CMP; 1249 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D98B; /* 0x2B01D97E: je 0x2b01d98b */ 1250 L_2B01D980: 1251 edx = MEM32(ebx); /* 0x2B01D980: mov edx, dword ptr [ebx] */ 1252 MEM32(edi) = edx; /* 0x2B01D982: mov dword ptr [edi], edx */ 1253 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 1254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1255 edi = edi + 4; /* 0x2B01D984: add edi, 4 */ 1256 _flag_k = FK_ADD; 1257 /* cmp edi, eax */ /* 0x2B01D987: cmp edi, eax */ 1258 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1260 _flag_k = FK_CMP; 1261 RECOMP_BACKEDGE(); 1262 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D980; /* 0x2B01D989: jne 0x2b01d980 */ 1263 L_2B01D98B: 1264 eax = MEM32(esi + 0x8); /* 0x2B01D98B: mov eax, dword ptr [esi + 8] */ 1265 ebx = MEM32(ebp + (-0x4)); /* 0x2B01D98E: mov ebx, dword ptr [ebp - 4] */ 1266 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1267 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1268 eax = eax + 4; /* 0x2B01D991: add eax, 4 */ 1269 _flag_k = FK_ADD; 1270 MEM32(esi + 0x8) = eax; /* 0x2B01D994: mov dword ptr [esi + 8], eax */ 1271 eax = MEM32(esi + 0x4); /* 0x2B01D997: mov eax, dword ptr [esi + 4] */ 1272 edi = POP32_VAL(esp); /* 0x2B01D99A: pop edi */ 1273 esi = POP32_VAL(esp); /* 0x2B01D99B: pop esi */ 1274 eax = eax + ebx * 4; /* 0x2B01D99C: lea eax, [eax + ebx*4] */ 1275 ebx = POP32_VAL(esp); /* 0x2B01D99F: pop ebx */ 1276 esp = ebp; /* 0x2B01D9A0: mov esp, ebp */ 1277 ebp = POP32_VAL(esp); /* 0x2B01D9A2: pop ebp */ 1278 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01D9A3: ret 8 */ 1279 L_2B01D9A6: 1280 PUSH32(esp, eax); /* 0x2B01D9A6: push eax */ 1281 PUSH32(esp, eax); /* 0x2B01D9A7: push eax */ 1282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFCu); 1283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1284 eax = eax + 0xFFFFFFFCu; /* 0x2B01D9A8: add eax, -4 */ 1285 _flag_k = FK_ADD; 1286 PUSH32(esp, eax); /* 0x2B01D9AB: push eax */ 1287 ecx = esi; /* 0x2B01D9AC: mov ecx, esi */ 1288 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01D9AE: call 0x2b01da20 */ /* not lifted */ 1289 RECOMP_FLAGS_IN(); 1290 ecx = MEM32(esi + 0x8); /* 0x2B01D9B3: mov ecx, dword ptr [esi + 8] */ 1291 eax = ecx + (-0x4); /* 0x2B01D9B6: lea eax, [ecx - 4] */ 1292 /* cmp edi, eax */ /* 0x2B01D9B9: cmp edi, eax */ 1293 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1295 _flag_k = FK_CMP; 1296 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D9CC; /* 0x2B01D9BB: je 0x2b01d9cc */ 1297 L_2B01D9BD: 1298 edx = MEM32(eax + (-0x4)); /* 0x2B01D9BD: mov edx, dword ptr [eax - 4] */ 1299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1301 eax = eax - 4; /* 0x2B01D9C0: sub eax, 4 */ 1302 _flag_k = FK_CMP; 1303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1305 ecx = ecx - 4; /* 0x2B01D9C3: sub ecx, 4 */ 1306 _flag_k = FK_CMP; 1307 /* cmp eax, edi */ /* 0x2B01D9C6: cmp eax, edi */ 1308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1310 _flag_k = FK_CMP; 1311 MEM32(ecx) = edx; /* 0x2B01D9C8: mov dword ptr [ecx], edx */ 1312 RECOMP_BACKEDGE(); 1313 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D9BD; /* 0x2B01D9CA: jne 0x2b01d9bd */ 1314 L_2B01D9CC: 1315 eax = edi + 0x4; /* 0x2B01D9CC: lea eax, [edi + 4] */ 1316 /* cmp edi, eax */ /* 0x2B01D9CF: cmp edi, eax */ 1317 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1319 _flag_k = FK_CMP; 1320 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D9E1; /* 0x2B01D9D1: je 0x2b01d9e1 */ 1321 L_2B01D9D3: 1322 ecx = MEM32(ebp + 0xC); /* 0x2B01D9D3: mov ecx, dword ptr [ebp + 0xc] */ 1323 L_2B01D9D6: 1324 edx = MEM32(ecx); /* 0x2B01D9D6: mov edx, dword ptr [ecx] */ 1325 MEM32(edi) = edx; /* 0x2B01D9D8: mov dword ptr [edi], edx */ 1326 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 1327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1328 edi = edi + 4; /* 0x2B01D9DA: add edi, 4 */ 1329 _flag_k = FK_ADD; 1330 /* cmp edi, eax */ /* 0x2B01D9DD: cmp edi, eax */ 1331 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1333 _flag_k = FK_CMP; 1334 RECOMP_BACKEDGE(); 1335 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D9D6; /* 0x2B01D9DF: jne 0x2b01d9d6 */ 1336 L_2B01D9E1: 1337 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(4); 1338 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1339 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 4; /* 0x2B01D9E1: add dword ptr [esi + 8], 4 */ 1340 _flag_k = FK_ADD; 1341 eax = MEM32(esi + 0x4); /* 0x2B01D9E5: mov eax, dword ptr [esi + 4] */ 1342 edi = POP32_VAL(esp); /* 0x2B01D9E8: pop edi */ 1343 esi = POP32_VAL(esp); /* 0x2B01D9E9: pop esi */ 1344 eax = eax + ebx * 4; /* 0x2B01D9EA: lea eax, [eax + ebx*4] */ 1345 ebx = POP32_VAL(esp); /* 0x2B01D9ED: pop ebx */ 1346 esp = ebp; /* 0x2B01D9EE: mov esp, ebp */ 1347 ebp = POP32_VAL(esp); /* 0x2B01D9F0: pop ebp */ 1348 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01D9F1: ret 8 */ 1349 RECOMP_REGS_OUT(); 1350 } 1351 1352 void sub_2B01DA00(void) { 1353 int _fpu_cmp = 0; 1354 uint32_t _cf = 0; 1355 int _df = 1; 1356 uint32_t _flag_k = FK_NONE; 1357 uint32_t _flag_a = 0, _flag_b = 0; 1358 uint32_t _itail_tgt = 0; 1359 RECOMP_REGS_LOCALS 1360 RECOMP_ENTER(0x2B01DA00u); 1361 1362 L_2B01DA00: 1363 edx = MEM32(ecx + 0x4); /* 0x2B01DA00: mov edx, dword ptr [ecx + 4] */ 1364 /* test edx, edx */ /* 0x2B01DA03: test edx, edx */ 1365 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1366 _cf = 0; 1367 _flag_k = FK_TEST; 1368 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01DA0A; /* 0x2B01DA05: jne 0x2b01da0a */ 1369 L_2B01DA07: 1370 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1371 eax = 0; /* 0x2B01DA07: xor eax, eax */ 1372 _cf = 0; 1373 _flag_k = FK_TEST; 1374 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01DA09: ret */ 1375 L_2B01DA0A: 1376 eax = MEM32(ecx + 0x8); /* 0x2B01DA0A: mov eax, dword ptr [ecx + 8] */ 1377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1379 eax = eax - edx; /* 0x2B01DA0D: sub eax, edx */ 1380 _flag_k = FK_CMP; 1381 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01DA0F: sar eax, 2 */ 1382 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1383 eax = (uint32_t)((int32_t)eax >> 2u); 1384 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01DA12: ret */ 1385 RECOMP_REGS_OUT(); 1386 } 1387 1388 void sub_2B01DA20(void) { 1389 int _fpu_cmp = 0; 1390 uint32_t _cf = 0; 1391 int _df = 1; 1392 uint32_t _flag_k = FK_NONE; 1393 uint32_t _flag_a = 0, _flag_b = 0; 1394 uint32_t _itail_tgt = 0; 1395 RECOMP_REGS_LOCALS 1396 RECOMP_ENTER(0x2B01DA20u); 1397 1398 L_2B01DA20: 1399 PUSH32(esp, ebp); /* 0x2B01DA20: push ebp */ 1400 ebp = esp; /* 0x2B01DA21: mov ebp, esp */ 1401 ecx = MEM32(ebp + 0x8); /* 0x2B01DA23: mov ecx, dword ptr [ebp + 8] */ 1402 edx = MEM32(ebp + 0xC); /* 0x2B01DA26: mov edx, dword ptr [ebp + 0xc] */ 1403 /* cmp ecx, edx */ /* 0x2B01DA29: cmp ecx, edx */ 1404 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1406 _flag_k = FK_CMP; 1407 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DA48; /* 0x2B01DA2B: je 0x2b01da48 */ 1408 L_2B01DA2D: 1409 eax = MEM32(ebp + 0x10); /* 0x2B01DA2D: mov eax, dword ptr [ebp + 0x10] */ 1410 PUSH32(esp, esi); /* 0x2B01DA30: push esi */ 1411 L_2B01DA31: 1412 /* test eax, eax */ /* 0x2B01DA31: test eax, eax */ 1413 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1414 _cf = 0; 1415 _flag_k = FK_TEST; 1416 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DA39; /* 0x2B01DA33: je 0x2b01da39 */ 1417 L_2B01DA35: 1418 esi = MEM32(ecx); /* 0x2B01DA35: mov esi, dword ptr [ecx] */ 1419 MEM32(eax) = esi; /* 0x2B01DA37: mov dword ptr [eax], esi */ 1420 L_2B01DA39: 1421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1422 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1423 ecx = ecx + 4; /* 0x2B01DA39: add ecx, 4 */ 1424 _flag_k = FK_ADD; 1425 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 1426 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1427 eax = eax + 4; /* 0x2B01DA3C: add eax, 4 */ 1428 _flag_k = FK_ADD; 1429 /* cmp ecx, edx */ /* 0x2B01DA3F: cmp ecx, edx */ 1430 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1432 _flag_k = FK_CMP; 1433 RECOMP_BACKEDGE(); 1434 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DA31; /* 0x2B01DA41: jne 0x2b01da31 */ 1435 L_2B01DA43: 1436 esi = POP32_VAL(esp); /* 0x2B01DA43: pop esi */ 1437 ebp = POP32_VAL(esp); /* 0x2B01DA44: pop ebp */ 1438 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DA45: ret 0xc */ 1439 L_2B01DA48: 1440 eax = MEM32(ebp + 0x10); /* 0x2B01DA48: mov eax, dword ptr [ebp + 0x10] */ 1441 ebp = POP32_VAL(esp); /* 0x2B01DA4B: pop ebp */ 1442 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DA4C: ret 0xc */ 1443 RECOMP_REGS_OUT(); 1444 } 1445 1446 void sub_2B01DA50(void) { 1447 int _fpu_cmp = 0; 1448 uint32_t _cf = 0; 1449 int _df = 1; 1450 uint32_t _flag_k = FK_NONE; 1451 uint32_t _flag_a = 0, _flag_b = 0; 1452 uint32_t _itail_tgt = 0; 1453 RECOMP_REGS_LOCALS 1454 RECOMP_ENTER(0x2B01DA50u); 1455 1456 L_2B01DA50: 1457 PUSH32(esp, ebp); /* 0x2B01DA50: push ebp */ 1458 ebp = esp; /* 0x2B01DA51: mov ebp, esp */ 1459 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1461 esp = esp - 0xCu; /* 0x2B01DA53: sub esp, 0xc */ 1462 _flag_k = FK_CMP; 1463 PUSH32(esp, ebx); /* 0x2B01DA56: push ebx */ 1464 PUSH32(esp, esi); /* 0x2B01DA57: push esi */ 1465 esi = ecx; /* 0x2B01DA58: mov esi, ecx */ 1466 eax = MEM32(esi + 0x8); /* 0x2B01DA5A: mov eax, dword ptr [esi + 8] */ 1467 ecx = MEM32(esi + 0xC); /* 0x2B01DA5D: mov ecx, dword ptr [esi + 0xc] */ 1468 edx = MEM32(esi + 0x4); /* 0x2B01DA60: mov edx, dword ptr [esi + 4] */ 1469 PUSH32(esp, edi); /* 0x2B01DA63: push edi */ 1470 edi = MEM32(ebp + 0x8); /* 0x2B01DA64: mov edi, dword ptr [ebp + 8] */ 1471 ebx = edi; /* 0x2B01DA67: mov ebx, edi */ 1472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1474 ecx = ecx - eax; /* 0x2B01DA69: sub ecx, eax */ 1475 _flag_k = FK_CMP; 1476 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 1477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1478 ebx = ebx - edx; /* 0x2B01DA6B: sub ebx, edx */ 1479 _flag_k = FK_CMP; 1480 if (4u) _cf = (((ebx) >> 3) & 1u); /* 0x2B01DA6D: sar ebx, 4 */ 1481 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1482 ebx = (uint32_t)((int32_t)ebx >> 4u); 1483 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x2B01DA70: sar ecx, 4 */ 1484 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1485 ecx = (uint32_t)((int32_t)ecx >> 4u); 1486 /* cmp ecx, 1 */ /* 0x2B01DA73: cmp ecx, 1 */ 1487 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1489 _flag_k = FK_CMP; 1490 MEM32(ebp + (-0xC)) = ebx; /* 0x2B01DA76: mov dword ptr [ebp - 0xc], ebx */ 1491 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01DB56; /* 0x2B01DA79: jae 0x2b01db56 */ 1492 L_2B01DA7F: 1493 /* test edx, edx */ /* 0x2B01DA7F: test edx, edx */ 1494 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1495 _cf = 0; 1496 _flag_k = FK_TEST; 1497 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DA8F; /* 0x2B01DA81: je 0x2b01da8f */ 1498 L_2B01DA83: 1499 ecx = eax; /* 0x2B01DA83: mov ecx, eax */ 1500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1502 ecx = ecx - edx; /* 0x2B01DA85: sub ecx, edx */ 1503 _flag_k = FK_CMP; 1504 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x2B01DA87: sar ecx, 4 */ 1505 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1506 ecx = (uint32_t)((int32_t)ecx >> 4u); 1507 /* cmp ecx, 1 */ /* 0x2B01DA8A: cmp ecx, 1 */ 1508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1510 _flag_k = FK_CMP; 1511 if (CMP_A(_flag_a, _flag_b)) goto L_2B01DA94; /* 0x2B01DA8D: ja 0x2b01da94 */ 1512 L_2B01DA8F: 1513 ecx = 1; /* 0x2B01DA8F: mov ecx, 1 */ 1514 L_2B01DA94: 1515 /* test edx, edx */ /* 0x2B01DA94: test edx, edx */ 1516 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1517 _cf = 0; 1518 _flag_k = FK_TEST; 1519 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01DA9C; /* 0x2B01DA96: jne 0x2b01da9c */ 1520 L_2B01DA98: 1521 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1522 eax = 0; /* 0x2B01DA98: xor eax, eax */ 1523 _cf = 0; 1524 _flag_k = FK_TEST; 1525 goto L_2B01DAA1; /* 0x2B01DA9A: jmp 0x2b01daa1 */ 1526 L_2B01DA9C: 1527 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1529 eax = eax - edx; /* 0x2B01DA9C: sub eax, edx */ 1530 _flag_k = FK_CMP; 1531 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01DA9E: sar eax, 4 */ 1532 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1533 eax = (uint32_t)((int32_t)eax >> 4u); 1534 L_2B01DAA1: 1535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1536 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1537 eax = eax + ecx; /* 0x2B01DAA1: add eax, ecx */ 1538 _flag_k = FK_ADD; 1539 /* test eax, eax */ /* 0x2B01DAA3: test eax, eax */ 1540 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1541 _cf = 0; 1542 _flag_k = FK_TEST; 1543 MEM32(ebp + (-0x4)) = eax; /* 0x2B01DAA5: mov dword ptr [ebp - 4], eax */ 1544 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01DAAC; /* 0x2B01DAA8: jge 0x2b01daac */ 1545 L_2B01DAAA: 1546 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1547 eax = 0; /* 0x2B01DAAA: xor eax, eax */ 1548 _cf = 0; 1549 _flag_k = FK_TEST; 1550 L_2B01DAAC: 1551 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DAAC: shl eax, 4 */ 1552 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1553 eax = eax << 4u; /* 0x2B01DAAC: shl eax, 4 */ 1554 PUSH32(esp, eax); /* 0x2B01DAAF: push eax */ 1555 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01DAB0: call 0x2b0ab212 */ /* not lifted */ 1556 RECOMP_FLAGS_IN(); 1557 ebx = MEM32(esi + 0x4); /* 0x2B01DAB5: mov ebx, dword ptr [esi + 4] */ 1558 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1559 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1560 esp = esp + 4; /* 0x2B01DAB8: add esp, 4 */ 1561 _flag_k = FK_ADD; 1562 /* cmp ebx, edi */ /* 0x2B01DABB: cmp ebx, edi */ 1563 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 1564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1565 _flag_k = FK_CMP; 1566 MEM32(ebp + (-0x8)) = eax; /* 0x2B01DABD: mov dword ptr [ebp - 8], eax */ 1567 MEM32(ebp + 0x8) = eax; /* 0x2B01DAC0: mov dword ptr [ebp + 8], eax */ 1568 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DAE2; /* 0x2B01DAC3: je 0x2b01dae2 */ 1569 L_2B01DAC5: 1570 edx = MEM32(ebp + 0x8); /* 0x2B01DAC5: mov edx, dword ptr [ebp + 8] */ 1571 PUSH32(esp, ebx); /* 0x2B01DAC8: push ebx */ 1572 PUSH32(esp, edx); /* 0x2B01DAC9: push edx */ 1573 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01DACA: call 0x2b01e7a0 */ /* not lifted */ 1574 RECOMP_FLAGS_IN(); 1575 edx = MEM32(ebp + 0x8); /* 0x2B01DACF: mov edx, dword ptr [ebp + 8] */ 1576 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 1577 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1578 edx = edx + 0x10u; /* 0x2B01DAD2: add edx, 0x10 */ 1579 _flag_k = FK_ADD; 1580 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 1581 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1582 ebx = ebx + 0x10u; /* 0x2B01DAD5: add ebx, 0x10 */ 1583 _flag_k = FK_ADD; 1584 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1586 esp = esp + 8; /* 0x2B01DAD8: add esp, 8 */ 1587 _flag_k = FK_ADD; 1588 /* cmp ebx, edi */ /* 0x2B01DADB: cmp ebx, edi */ 1589 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 1590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1591 _flag_k = FK_CMP; 1592 MEM32(ebp + 0x8) = edx; /* 0x2B01DADD: mov dword ptr [ebp + 8], edx */ 1593 RECOMP_BACKEDGE(); 1594 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DAC5; /* 0x2B01DAE0: jne 0x2b01dac5 */ 1595 L_2B01DAE2: 1596 eax = MEM32(ebp + 0xC); /* 0x2B01DAE2: mov eax, dword ptr [ebp + 0xc] */ 1597 ecx = MEM32(ebp + 0x8); /* 0x2B01DAE5: mov ecx, dword ptr [ebp + 8] */ 1598 PUSH32(esp, eax); /* 0x2B01DAE8: push eax */ 1599 PUSH32(esp, ecx); /* 0x2B01DAE9: push ecx */ 1600 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01DAEA: call 0x2b01e7a0 */ /* not lifted */ 1601 RECOMP_FLAGS_IN(); 1602 edx = MEM32(ebp + 0x8); /* 0x2B01DAEF: mov edx, dword ptr [ebp + 8] */ 1603 eax = MEM32(esi + 0x8); /* 0x2B01DAF2: mov eax, dword ptr [esi + 8] */ 1604 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1605 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1606 esp = esp + 8; /* 0x2B01DAF5: add esp, 8 */ 1607 _flag_k = FK_ADD; 1608 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 1609 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1610 edx = edx + 0x10u; /* 0x2B01DAF8: add edx, 0x10 */ 1611 _flag_k = FK_ADD; 1612 PUSH32(esp, edx); /* 0x2B01DAFB: push edx */ 1613 PUSH32(esp, eax); /* 0x2B01DAFC: push eax */ 1614 PUSH32(esp, edi); /* 0x2B01DAFD: push edi */ 1615 ecx = esi; /* 0x2B01DAFE: mov ecx, esi */ 1616 RECOMP_ICALL(0x2B01DC30u); /* 0x2B01DB00: call 0x2b01dc30 */ /* not lifted */ 1617 RECOMP_FLAGS_IN(); 1618 ecx = MEM32(esi + 0x8); /* 0x2B01DB05: mov ecx, dword ptr [esi + 8] */ 1619 edx = MEM32(esi + 0x4); /* 0x2B01DB08: mov edx, dword ptr [esi + 4] */ 1620 PUSH32(esp, ecx); /* 0x2B01DB0B: push ecx */ 1621 PUSH32(esp, edx); /* 0x2B01DB0C: push edx */ 1622 ecx = esi; /* 0x2B01DB0D: mov ecx, esi */ 1623 RECOMP_ICALL(0x2B01DBF0u); /* 0x2B01DB0F: call 0x2b01dbf0 */ /* not lifted */ 1624 RECOMP_FLAGS_IN(); 1625 eax = MEM32(esi + 0x4); /* 0x2B01DB14: mov eax, dword ptr [esi + 4] */ 1626 PUSH32(esp, eax); /* 0x2B01DB17: push eax */ 1627 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01DB18: call 0x2b0ab1ba */ /* not lifted */ 1628 RECOMP_FLAGS_IN(); 1629 eax = MEM32(ebp + (-0x4)); /* 0x2B01DB1D: mov eax, dword ptr [ebp - 4] */ 1630 edi = MEM32(ebp + (-0x8)); /* 0x2B01DB20: mov edi, dword ptr [ebp - 8] */ 1631 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DB23: shl eax, 4 */ 1632 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1633 eax = eax << 4u; /* 0x2B01DB23: shl eax, 4 */ 1634 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1635 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1636 eax = eax + edi; /* 0x2B01DB26: add eax, edi */ 1637 _flag_k = FK_ADD; 1638 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1639 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1640 esp = esp + 4; /* 0x2B01DB28: add esp, 4 */ 1641 _flag_k = FK_ADD; 1642 ecx = esi; /* 0x2B01DB2B: mov ecx, esi */ 1643 MEM32(esi + 0xC) = eax; /* 0x2B01DB2D: mov dword ptr [esi + 0xc], eax */ 1644 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01DB30: call 0x2b002fc0 */ /* not lifted */ 1645 RECOMP_FLAGS_IN(); 1646 ebx = MEM32(ebp + (-0xC)); /* 0x2B01DB35: mov ebx, dword ptr [ebp - 0xc] */ 1647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1648 eax = eax + 1; /* 0x2B01DB38: inc eax */ 1649 _flag_k = FK_INC; 1650 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DB39: shl eax, 4 */ 1651 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1652 eax = eax << 4u; /* 0x2B01DB39: shl eax, 4 */ 1653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1654 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1655 eax = eax + edi; /* 0x2B01DB3C: add eax, edi */ 1656 _flag_k = FK_ADD; 1657 MEM32(esi + 0x8) = eax; /* 0x2B01DB3E: mov dword ptr [esi + 8], eax */ 1658 MEM32(esi + 0x4) = edi; /* 0x2B01DB41: mov dword ptr [esi + 4], edi */ 1659 ecx = edi; /* 0x2B01DB44: mov ecx, edi */ 1660 eax = ebx; /* 0x2B01DB46: mov eax, ebx */ 1661 edi = POP32_VAL(esp); /* 0x2B01DB48: pop edi */ 1662 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DB49: shl eax, 4 */ 1663 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1664 eax = eax << 4u; /* 0x2B01DB49: shl eax, 4 */ 1665 esi = POP32_VAL(esp); /* 0x2B01DB4C: pop esi */ 1666 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1667 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1668 eax = eax + ecx; /* 0x2B01DB4D: add eax, ecx */ 1669 _flag_k = FK_ADD; 1670 ebx = POP32_VAL(esp); /* 0x2B01DB4F: pop ebx */ 1671 esp = ebp; /* 0x2B01DB50: mov esp, ebp */ 1672 ebp = POP32_VAL(esp); /* 0x2B01DB52: pop ebp */ 1673 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01DB53: ret 8 */ 1674 L_2B01DB56: 1675 ecx = eax; /* 0x2B01DB56: mov ecx, eax */ 1676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1678 ecx = ecx - edi; /* 0x2B01DB58: sub ecx, edi */ 1679 _flag_k = FK_CMP; 1680 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x2B01DB5A: sar ecx, 4 */ 1681 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1682 ecx = (uint32_t)((int32_t)ecx >> 4u); 1683 /* cmp ecx, 1 */ /* 0x2B01DB5D: cmp ecx, 1 */ 1684 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1686 _flag_k = FK_CMP; 1687 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01DBA0; /* 0x2B01DB60: jae 0x2b01dba0 */ 1688 L_2B01DB62: 1689 edx = edi + 0x10; /* 0x2B01DB62: lea edx, [edi + 0x10] */ 1690 PUSH32(esp, edx); /* 0x2B01DB65: push edx */ 1691 PUSH32(esp, eax); /* 0x2B01DB66: push eax */ 1692 PUSH32(esp, edi); /* 0x2B01DB67: push edi */ 1693 ecx = esi; /* 0x2B01DB68: mov ecx, esi */ 1694 RECOMP_ICALL(0x2B01DC30u); /* 0x2B01DB6A: call 0x2b01dc30 */ /* not lifted */ 1695 RECOMP_FLAGS_IN(); 1696 eax = MEM32(esi + 0x8); /* 0x2B01DB6F: mov eax, dword ptr [esi + 8] */ 1697 ecx = MEM32(ebp + 0xC); /* 0x2B01DB72: mov ecx, dword ptr [ebp + 0xc] */ 1698 PUSH32(esp, ecx); /* 0x2B01DB75: push ecx */ 1699 edx = eax; /* 0x2B01DB76: mov edx, eax */ 1700 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 1701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1702 edx = edx - edi; /* 0x2B01DB78: sub edx, edi */ 1703 _flag_k = FK_CMP; 1704 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B01DB7A: sar edx, 4 */ 1705 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1706 edx = (uint32_t)((int32_t)edx >> 4u); 1707 ecx = 1; /* 0x2B01DB7D: mov ecx, 1 */ 1708 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1710 ecx = ecx - edx; /* 0x2B01DB82: sub ecx, edx */ 1711 _flag_k = FK_CMP; 1712 PUSH32(esp, ecx); /* 0x2B01DB84: push ecx */ 1713 PUSH32(esp, eax); /* 0x2B01DB85: push eax */ 1714 ecx = esi; /* 0x2B01DB86: mov ecx, esi */ 1715 RECOMP_ICALL(0x2B01E2D0u); /* 0x2B01DB88: call 0x2b01e2d0 */ /* not lifted */ 1716 RECOMP_FLAGS_IN(); 1717 edx = MEM32(ebp + 0xC); /* 0x2B01DB8D: mov edx, dword ptr [ebp + 0xc] */ 1718 eax = MEM32(esi + 0x8); /* 0x2B01DB90: mov eax, dword ptr [esi + 8] */ 1719 PUSH32(esp, edx); /* 0x2B01DB93: push edx */ 1720 PUSH32(esp, eax); /* 0x2B01DB94: push eax */ 1721 PUSH32(esp, edi); /* 0x2B01DB95: push edi */ 1722 RECOMP_ICALL(0x2B01E470u); /* 0x2B01DB96: call 0x2b01e470 */ /* not lifted */ 1723 RECOMP_FLAGS_IN(); 1724 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1726 esp = esp + 0xCu; /* 0x2B01DB9B: add esp, 0xc */ 1727 _flag_k = FK_ADD; 1728 goto L_2B01DBCC; /* 0x2B01DB9E: jmp 0x2b01dbcc */ 1729 L_2B01DBA0: 1730 PUSH32(esp, eax); /* 0x2B01DBA0: push eax */ 1731 PUSH32(esp, eax); /* 0x2B01DBA1: push eax */ 1732 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF0u); 1733 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1734 eax = eax + 0xFFFFFFF0u; /* 0x2B01DBA2: add eax, -0x10 */ 1735 _flag_k = FK_ADD; 1736 PUSH32(esp, eax); /* 0x2B01DBA5: push eax */ 1737 ecx = esi; /* 0x2B01DBA6: mov ecx, esi */ 1738 RECOMP_ICALL(0x2B01DC30u); /* 0x2B01DBA8: call 0x2b01dc30 */ /* not lifted */ 1739 RECOMP_FLAGS_IN(); 1740 eax = MEM32(esi + 0x8); /* 0x2B01DBAD: mov eax, dword ptr [esi + 8] */ 1741 PUSH32(esp, eax); /* 0x2B01DBB0: push eax */ 1742 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF0u); 1743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1744 eax = eax + 0xFFFFFFF0u; /* 0x2B01DBB1: add eax, -0x10 */ 1745 _flag_k = FK_ADD; 1746 PUSH32(esp, eax); /* 0x2B01DBB4: push eax */ 1747 PUSH32(esp, edi); /* 0x2B01DBB5: push edi */ 1748 RECOMP_ICALL(0x2B01E600u); /* 0x2B01DBB6: call 0x2b01e600 */ /* not lifted */ 1749 RECOMP_FLAGS_IN(); 1750 ecx = MEM32(ebp + 0xC); /* 0x2B01DBBB: mov ecx, dword ptr [ebp + 0xc] */ 1751 PUSH32(esp, ecx); /* 0x2B01DBBE: push ecx */ 1752 edx = edi + 0x10; /* 0x2B01DBBF: lea edx, [edi + 0x10] */ 1753 PUSH32(esp, edx); /* 0x2B01DBC2: push edx */ 1754 PUSH32(esp, edi); /* 0x2B01DBC3: push edi */ 1755 RECOMP_ICALL(0x2B01E470u); /* 0x2B01DBC4: call 0x2b01e470 */ /* not lifted */ 1756 RECOMP_FLAGS_IN(); 1757 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 1758 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1759 esp = esp + 0x18u; /* 0x2B01DBC9: add esp, 0x18 */ 1760 _flag_k = FK_ADD; 1761 L_2B01DBCC: 1762 eax = MEM32(esi + 0x8); /* 0x2B01DBCC: mov eax, dword ptr [esi + 8] */ 1763 ecx = MEM32(esi + 0x4); /* 0x2B01DBCF: mov ecx, dword ptr [esi + 4] */ 1764 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 1765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1766 eax = eax + 0x10u; /* 0x2B01DBD2: add eax, 0x10 */ 1767 _flag_k = FK_ADD; 1768 MEM32(esi + 0x8) = eax; /* 0x2B01DBD5: mov dword ptr [esi + 8], eax */ 1769 eax = ebx; /* 0x2B01DBD8: mov eax, ebx */ 1770 edi = POP32_VAL(esp); /* 0x2B01DBDA: pop edi */ 1771 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DBDB: shl eax, 4 */ 1772 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1773 eax = eax << 4u; /* 0x2B01DBDB: shl eax, 4 */ 1774 esi = POP32_VAL(esp); /* 0x2B01DBDE: pop esi */ 1775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1776 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1777 eax = eax + ecx; /* 0x2B01DBDF: add eax, ecx */ 1778 _flag_k = FK_ADD; 1779 ebx = POP32_VAL(esp); /* 0x2B01DBE1: pop ebx */ 1780 esp = ebp; /* 0x2B01DBE2: mov esp, ebp */ 1781 ebp = POP32_VAL(esp); /* 0x2B01DBE4: pop ebp */ 1782 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01DBE5: ret 8 */ 1783 RECOMP_REGS_OUT(); 1784 } 1785 1786 void sub_2B01DBF0(void) { 1787 int _fpu_cmp = 0; 1788 uint32_t _cf = 0; 1789 int _df = 1; 1790 uint32_t _flag_k = FK_NONE; 1791 uint32_t _flag_a = 0, _flag_b = 0; 1792 uint32_t _itail_tgt = 0; 1793 RECOMP_REGS_LOCALS 1794 RECOMP_ENTER(0x2B01DBF0u); 1795 1796 L_2B01DBF0: 1797 PUSH32(esp, ebp); /* 0x2B01DBF0: push ebp */ 1798 ebp = esp; /* 0x2B01DBF1: mov ebp, esp */ 1799 PUSH32(esp, ebx); /* 0x2B01DBF3: push ebx */ 1800 ebx = MEM32(ebp + 0xC); /* 0x2B01DBF4: mov ebx, dword ptr [ebp + 0xc] */ 1801 PUSH32(esp, esi); /* 0x2B01DBF7: push esi */ 1802 esi = MEM32(ebp + 0x8); /* 0x2B01DBF8: mov esi, dword ptr [ebp + 8] */ 1803 /* cmp esi, ebx */ /* 0x2B01DBFB: cmp esi, ebx */ 1804 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 1805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1806 _flag_k = FK_CMP; 1807 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DC22; /* 0x2B01DBFD: je 0x2b01dc22 */ 1808 L_2B01DBFF: 1809 PUSH32(esp, edi); /* 0x2B01DBFF: push edi */ 1810 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1811 edi = 0; /* 0x2B01DC00: xor edi, edi */ 1812 _cf = 0; 1813 _flag_k = FK_TEST; 1814 L_2B01DC02: 1815 eax = MEM32(esi + 0x4); /* 0x2B01DC02: mov eax, dword ptr [esi + 4] */ 1816 PUSH32(esp, eax); /* 0x2B01DC05: push eax */ 1817 MEM32(ebp + 0x8) = eax; /* 0x2B01DC06: mov dword ptr [ebp + 8], eax */ 1818 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01DC09: call 0x2b0ab1ba */ /* not lifted */ 1819 RECOMP_FLAGS_IN(); 1820 MEM32(esi + 0x4) = edi; /* 0x2B01DC0E: mov dword ptr [esi + 4], edi */ 1821 MEM32(esi + 0x8) = edi; /* 0x2B01DC11: mov dword ptr [esi + 8], edi */ 1822 MEM32(esi + 0xC) = edi; /* 0x2B01DC14: mov dword ptr [esi + 0xc], edi */ 1823 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 1824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1825 esi = esi + 0x10u; /* 0x2B01DC17: add esi, 0x10 */ 1826 _flag_k = FK_ADD; 1827 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1828 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1829 esp = esp + 4; /* 0x2B01DC1A: add esp, 4 */ 1830 _flag_k = FK_ADD; 1831 /* cmp esi, ebx */ /* 0x2B01DC1D: cmp esi, ebx */ 1832 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 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_2B01DC02; /* 0x2B01DC1F: jne 0x2b01dc02 */ 1837 L_2B01DC21: 1838 edi = POP32_VAL(esp); /* 0x2B01DC21: pop edi */ 1839 L_2B01DC22: 1840 esi = POP32_VAL(esp); /* 0x2B01DC22: pop esi */ 1841 ebx = POP32_VAL(esp); /* 0x2B01DC23: pop ebx */ 1842 ebp = POP32_VAL(esp); /* 0x2B01DC24: pop ebp */ 1843 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01DC25: ret 8 */ 1844 RECOMP_REGS_OUT(); 1845 } 1846 1847 void sub_2B01DC30(void) { 1848 int _fpu_cmp = 0; 1849 uint32_t _cf = 0; 1850 int _df = 1; 1851 uint32_t _flag_k = FK_NONE; 1852 uint32_t _flag_a = 0, _flag_b = 0; 1853 uint32_t _itail_tgt = 0; 1854 RECOMP_REGS_LOCALS 1855 RECOMP_ENTER(0x2B01DC30u); 1856 1857 L_2B01DC30: 1858 PUSH32(esp, ebp); /* 0x2B01DC30: push ebp */ 1859 ebp = esp; /* 0x2B01DC31: mov ebp, esp */ 1860 PUSH32(esp, ebx); /* 0x2B01DC33: push ebx */ 1861 ebx = MEM32(ebp + 0xC); /* 0x2B01DC34: mov ebx, dword ptr [ebp + 0xc] */ 1862 PUSH32(esp, esi); /* 0x2B01DC37: push esi */ 1863 esi = MEM32(ebp + 0x8); /* 0x2B01DC38: mov esi, dword ptr [ebp + 8] */ 1864 /* cmp esi, ebx */ /* 0x2B01DC3B: cmp esi, ebx */ 1865 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 1866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1867 _flag_k = FK_CMP; 1868 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DC60; /* 0x2B01DC3D: je 0x2b01dc60 */ 1869 L_2B01DC3F: 1870 PUSH32(esp, edi); /* 0x2B01DC3F: push edi */ 1871 edi = MEM32(ebp + 0x10); /* 0x2B01DC40: mov edi, dword ptr [ebp + 0x10] */ 1872 L_2B01DC43: 1873 PUSH32(esp, esi); /* 0x2B01DC43: push esi */ 1874 PUSH32(esp, edi); /* 0x2B01DC44: push edi */ 1875 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01DC45: call 0x2b01e7a0 */ /* not lifted */ 1876 RECOMP_FLAGS_IN(); 1877 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 1878 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1879 esi = esi + 0x10u; /* 0x2B01DC4A: add esi, 0x10 */ 1880 _flag_k = FK_ADD; 1881 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1882 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1883 esp = esp + 8; /* 0x2B01DC4D: add esp, 8 */ 1884 _flag_k = FK_ADD; 1885 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 1886 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1887 edi = edi + 0x10u; /* 0x2B01DC50: add edi, 0x10 */ 1888 _flag_k = FK_ADD; 1889 /* cmp esi, ebx */ /* 0x2B01DC53: cmp esi, ebx */ 1890 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 1891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1892 _flag_k = FK_CMP; 1893 RECOMP_BACKEDGE(); 1894 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DC43; /* 0x2B01DC55: jne 0x2b01dc43 */ 1895 L_2B01DC57: 1896 eax = edi; /* 0x2B01DC57: mov eax, edi */ 1897 edi = POP32_VAL(esp); /* 0x2B01DC59: pop edi */ 1898 esi = POP32_VAL(esp); /* 0x2B01DC5A: pop esi */ 1899 ebx = POP32_VAL(esp); /* 0x2B01DC5B: pop ebx */ 1900 ebp = POP32_VAL(esp); /* 0x2B01DC5C: pop ebp */ 1901 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DC5D: ret 0xc */ 1902 L_2B01DC60: 1903 eax = MEM32(ebp + 0x10); /* 0x2B01DC60: mov eax, dword ptr [ebp + 0x10] */ 1904 esi = POP32_VAL(esp); /* 0x2B01DC63: pop esi */ 1905 ebx = POP32_VAL(esp); /* 0x2B01DC64: pop ebx */ 1906 ebp = POP32_VAL(esp); /* 0x2B01DC65: pop ebp */ 1907 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DC66: ret 0xc */ 1908 RECOMP_REGS_OUT(); 1909 } 1910 1911 void sub_2B01DC70(void) { 1912 int _fpu_cmp = 0; 1913 uint32_t _cf = 0; 1914 int _df = 1; 1915 uint32_t _flag_k = FK_NONE; 1916 uint32_t _flag_a = 0, _flag_b = 0; 1917 uint32_t _itail_tgt = 0; 1918 RECOMP_REGS_LOCALS 1919 RECOMP_ENTER(0x2B01DC70u); 1920 1921 L_2B01DC70: 1922 edx = MEM32(ecx + 0x4); /* 0x2B01DC70: mov edx, dword ptr [ecx + 4] */ 1923 /* test edx, edx */ /* 0x2B01DC73: test edx, edx */ 1924 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1925 _cf = 0; 1926 _flag_k = FK_TEST; 1927 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01DC7A; /* 0x2B01DC75: jne 0x2b01dc7a */ 1928 L_2B01DC77: 1929 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1930 eax = 0; /* 0x2B01DC77: xor eax, eax */ 1931 _cf = 0; 1932 _flag_k = FK_TEST; 1933 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01DC79: ret */ 1934 L_2B01DC7A: 1935 eax = MEM32(ecx + 0xC); /* 0x2B01DC7A: mov eax, dword ptr [ecx + 0xc] */ 1936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1938 eax = eax - edx; /* 0x2B01DC7D: sub eax, edx */ 1939 _flag_k = FK_CMP; 1940 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01DC7F: sar eax, 4 */ 1941 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1942 eax = (uint32_t)((int32_t)eax >> 4u); 1943 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01DC82: ret */ 1944 RECOMP_REGS_OUT(); 1945 } 1946 1947 void sub_2B01DC90(void) { 1948 int _fpu_cmp = 0; 1949 uint32_t _cf = 0; 1950 int _df = 1; 1951 uint32_t _flag_k = FK_NONE; 1952 uint32_t _flag_a = 0, _flag_b = 0; 1953 uint32_t _itail_tgt = 0; 1954 RECOMP_REGS_LOCALS 1955 RECOMP_ENTER(0x2B01DC90u); 1956 1957 L_2B01DC90: 1958 PUSH32(esp, ebp); /* 0x2B01DC90: push ebp */ 1959 ebp = esp; /* 0x2B01DC91: mov ebp, esp */ 1960 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 1961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1962 esp = esp - 0xCu; /* 0x2B01DC93: sub esp, 0xc */ 1963 _flag_k = FK_CMP; 1964 PUSH32(esp, ebx); /* 0x2B01DC96: push ebx */ 1965 ebx = ecx; /* 0x2B01DC97: mov ebx, ecx */ 1966 eax = MEM32(ebx + 0x8); /* 0x2B01DC99: mov eax, dword ptr [ebx + 8] */ 1967 ecx = MEM32(ebx + 0xC); /* 0x2B01DC9C: mov ecx, dword ptr [ebx + 0xc] */ 1968 PUSH32(esp, esi); /* 0x2B01DC9F: push esi */ 1969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1971 ecx = ecx - eax; /* 0x2B01DCA0: sub ecx, eax */ 1972 _flag_k = FK_CMP; 1973 PUSH32(esp, edi); /* 0x2B01DCA2: push edi */ 1974 edi = MEM32(ebp + 0xC); /* 0x2B01DCA3: mov edi, dword ptr [ebp + 0xc] */ 1975 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01DCA6: sar ecx, 2 */ 1976 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1977 ecx = (uint32_t)((int32_t)ecx >> 2u); 1978 /* cmp ecx, edi */ /* 0x2B01DCA9: cmp ecx, edi */ 1979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1981 _flag_k = FK_CMP; 1982 MEM32(ebp + (-0x4)) = ebx; /* 0x2B01DCAB: mov dword ptr [ebp - 4], ebx */ 1983 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01DDB5; /* 0x2B01DCAE: jae 0x2b01ddb5 */ 1984 L_2B01DCB4: 1985 edx = MEM32(ebx + 0x4); /* 0x2B01DCB4: mov edx, dword ptr [ebx + 4] */ 1986 /* test edx, edx */ /* 0x2B01DCB7: test edx, edx */ 1987 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 1988 _cf = 0; 1989 _flag_k = FK_TEST; 1990 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DCC6; /* 0x2B01DCB9: je 0x2b01dcc6 */ 1991 L_2B01DCBB: 1992 ecx = eax; /* 0x2B01DCBB: mov ecx, eax */ 1993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1995 ecx = ecx - edx; /* 0x2B01DCBD: sub ecx, edx */ 1996 _flag_k = FK_CMP; 1997 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01DCBF: sar ecx, 2 */ 1998 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1999 ecx = (uint32_t)((int32_t)ecx >> 2u); 2000 /* cmp edi, ecx */ /* 0x2B01DCC2: cmp edi, ecx */ 2001 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 2002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2003 _flag_k = FK_CMP; 2004 if (CMP_B(_flag_a, _flag_b)) goto L_2B01DCC8; /* 0x2B01DCC4: jb 0x2b01dcc8 */ 2005 L_2B01DCC6: 2006 ecx = edi; /* 0x2B01DCC6: mov ecx, edi */ 2007 L_2B01DCC8: 2008 /* test edx, edx */ /* 0x2B01DCC8: test edx, edx */ 2009 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 2010 _cf = 0; 2011 _flag_k = FK_TEST; 2012 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01DCD0; /* 0x2B01DCCA: jne 0x2b01dcd0 */ 2013 L_2B01DCCC: 2014 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2015 eax = 0; /* 0x2B01DCCC: xor eax, eax */ 2016 _cf = 0; 2017 _flag_k = FK_TEST; 2018 goto L_2B01DCD5; /* 0x2B01DCCE: jmp 0x2b01dcd5 */ 2019 L_2B01DCD0: 2020 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2022 eax = eax - edx; /* 0x2B01DCD0: sub eax, edx */ 2023 _flag_k = FK_CMP; 2024 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01DCD2: sar eax, 2 */ 2025 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2026 eax = (uint32_t)((int32_t)eax >> 2u); 2027 L_2B01DCD5: 2028 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2030 eax = eax + ecx; /* 0x2B01DCD5: add eax, ecx */ 2031 _flag_k = FK_ADD; 2032 /* test eax, eax */ /* 0x2B01DCD7: test eax, eax */ 2033 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2034 _cf = 0; 2035 _flag_k = FK_TEST; 2036 MEM32(ebp + (-0xC)) = eax; /* 0x2B01DCD9: mov dword ptr [ebp - 0xc], eax */ 2037 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01DCE0; /* 0x2B01DCDC: jge 0x2b01dce0 */ 2038 L_2B01DCDE: 2039 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2040 eax = 0; /* 0x2B01DCDE: xor eax, eax */ 2041 _cf = 0; 2042 _flag_k = FK_TEST; 2043 L_2B01DCE0: 2044 edx = eax * 4; /* 0x2B01DCE0: lea edx, [eax*4] */ 2045 PUSH32(esp, edx); /* 0x2B01DCE7: push edx */ 2046 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01DCE8: call 0x2b0ab212 */ /* not lifted */ 2047 RECOMP_FLAGS_IN(); 2048 MEM32(ebp + (-0x8)) = eax; /* 0x2B01DCED: mov dword ptr [ebp - 8], eax */ 2049 ecx = eax; /* 0x2B01DCF0: mov ecx, eax */ 2050 eax = MEM32(ebx + 0x4); /* 0x2B01DCF2: mov eax, dword ptr [ebx + 4] */ 2051 ebx = MEM32(ebp + 0x8); /* 0x2B01DCF5: mov ebx, dword ptr [ebp + 8] */ 2052 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2054 esp = esp + 4; /* 0x2B01DCF8: add esp, 4 */ 2055 _flag_k = FK_ADD; 2056 /* cmp eax, ebx */ /* 0x2B01DCFB: cmp eax, ebx */ 2057 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2059 _flag_k = FK_CMP; 2060 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DD11; /* 0x2B01DCFD: je 0x2b01dd11 */ 2061 L_2B01DCFF: 2062 /* test ecx, ecx */ /* 0x2B01DCFF: test ecx, ecx */ 2063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2064 _cf = 0; 2065 _flag_k = FK_TEST; 2066 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DD07; /* 0x2B01DD01: je 0x2b01dd07 */ 2067 L_2B01DD03: 2068 edx = MEM32(eax); /* 0x2B01DD03: mov edx, dword ptr [eax] */ 2069 MEM32(ecx) = edx; /* 0x2B01DD05: mov dword ptr [ecx], edx */ 2070 L_2B01DD07: 2071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2072 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2073 eax = eax + 4; /* 0x2B01DD07: add eax, 4 */ 2074 _flag_k = FK_ADD; 2075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2076 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2077 ecx = ecx + 4; /* 0x2B01DD0A: add ecx, 4 */ 2078 _flag_k = FK_ADD; 2079 /* cmp eax, ebx */ /* 0x2B01DD0D: cmp eax, ebx */ 2080 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2082 _flag_k = FK_CMP; 2083 RECOMP_BACKEDGE(); 2084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DCFF; /* 0x2B01DD0F: jne 0x2b01dcff */ 2085 L_2B01DD11: 2086 /* test edi, edi */ /* 0x2B01DD11: test edi, edi */ 2087 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2088 _cf = 0; 2089 _flag_k = FK_TEST; 2090 eax = ecx; /* 0x2B01DD13: mov eax, ecx */ 2091 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DD2A; /* 0x2B01DD15: jbe 0x2b01dd2a */ 2092 L_2B01DD17: 2093 edx = edi; /* 0x2B01DD17: mov edx, edi */ 2094 L_2B01DD19: 2095 /* test eax, eax */ /* 0x2B01DD19: test eax, eax */ 2096 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2097 _cf = 0; 2098 _flag_k = FK_TEST; 2099 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DD24; /* 0x2B01DD1B: je 0x2b01dd24 */ 2100 L_2B01DD1D: 2101 esi = MEM32(ebp + 0x10); /* 0x2B01DD1D: mov esi, dword ptr [ebp + 0x10] */ 2102 esi = MEM32(esi); /* 0x2B01DD20: mov esi, dword ptr [esi] */ 2103 MEM32(eax) = esi; /* 0x2B01DD22: mov dword ptr [eax], esi */ 2104 L_2B01DD24: 2105 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2106 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2107 eax = eax + 4; /* 0x2B01DD24: add eax, 4 */ 2108 _flag_k = FK_ADD; 2109 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2110 edx = edx - 1; /* 0x2B01DD27: dec edx */ 2111 _flag_k = FK_DEC; 2112 RECOMP_BACKEDGE(); 2113 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01DD19; /* 0x2B01DD28: jne 0x2b01dd19 */ 2114 L_2B01DD2A: 2115 eax = MEM32(ebp + (-0x4)); /* 0x2B01DD2A: mov eax, dword ptr [ebp - 4] */ 2116 esi = edi * 4; /* 0x2B01DD2D: lea esi, [edi*4] */ 2117 edi = MEM32(eax + 0x8); /* 0x2B01DD34: mov edi, dword ptr [eax + 8] */ 2118 /* cmp ebx, edi */ /* 0x2B01DD37: cmp ebx, edi */ 2119 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 2120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2121 _flag_k = FK_CMP; 2122 edx = esi + ecx; /* 0x2B01DD39: lea edx, [esi + ecx] */ 2123 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DD58; /* 0x2B01DD3C: je 0x2b01dd58 */ 2124 L_2B01DD3E: 2125 eax = edx; /* 0x2B01DD3E: mov eax, edx */ 2126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2128 eax = eax - esi; /* 0x2B01DD40: sub eax, esi */ 2129 _flag_k = FK_CMP; 2130 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2132 eax = eax - ecx; /* 0x2B01DD42: sub eax, ecx */ 2133 _flag_k = FK_CMP; 2134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2135 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2136 eax = eax + ebx; /* 0x2B01DD44: add eax, ebx */ 2137 _flag_k = FK_ADD; 2138 L_2B01DD46: 2139 /* test edx, edx */ /* 0x2B01DD46: test edx, edx */ 2140 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 2141 _cf = 0; 2142 _flag_k = FK_TEST; 2143 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DD4E; /* 0x2B01DD48: je 0x2b01dd4e */ 2144 L_2B01DD4A: 2145 ecx = MEM32(eax); /* 0x2B01DD4A: mov ecx, dword ptr [eax] */ 2146 MEM32(edx) = ecx; /* 0x2B01DD4C: mov dword ptr [edx], ecx */ 2147 L_2B01DD4E: 2148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2149 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2150 eax = eax + 4; /* 0x2B01DD4E: add eax, 4 */ 2151 _flag_k = FK_ADD; 2152 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 2153 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2154 edx = edx + 4; /* 0x2B01DD51: add edx, 4 */ 2155 _flag_k = FK_ADD; 2156 /* cmp eax, edi */ /* 0x2B01DD54: cmp eax, edi */ 2157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2159 _flag_k = FK_CMP; 2160 RECOMP_BACKEDGE(); 2161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DD46; /* 0x2B01DD56: jne 0x2b01dd46 */ 2162 L_2B01DD58: 2163 esi = MEM32(ebp + (-0x4)); /* 0x2B01DD58: mov esi, dword ptr [ebp - 4] */ 2164 eax = MEM32(esi + 0x4); /* 0x2B01DD5B: mov eax, dword ptr [esi + 4] */ 2165 PUSH32(esp, eax); /* 0x2B01DD5E: push eax */ 2166 MEM32(ebp + 0x10) = eax; /* 0x2B01DD5F: mov dword ptr [ebp + 0x10], eax */ 2167 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01DD62: call 0x2b0ab1ba */ /* not lifted */ 2168 RECOMP_FLAGS_IN(); 2169 edx = MEM32(ebp + (-0x8)); /* 0x2B01DD67: mov edx, dword ptr [ebp - 8] */ 2170 eax = MEM32(ebp + (-0xC)); /* 0x2B01DD6A: mov eax, dword ptr [ebp - 0xc] */ 2171 ecx = edx + eax * 4; /* 0x2B01DD6D: lea ecx, [edx + eax*4] */ 2172 MEM32(esi + 0xC) = ecx; /* 0x2B01DD70: mov dword ptr [esi + 0xc], ecx */ 2173 ecx = MEM32(esi + 0x4); /* 0x2B01DD73: mov ecx, dword ptr [esi + 4] */ 2174 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2176 esp = esp + 4; /* 0x2B01DD76: add esp, 4 */ 2177 _flag_k = FK_ADD; 2178 /* test ecx, ecx */ /* 0x2B01DD79: test ecx, ecx */ 2179 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2180 _cf = 0; 2181 _flag_k = FK_TEST; 2182 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01DD96; /* 0x2B01DD7B: jne 0x2b01dd96 */ 2183 L_2B01DD7D: 2184 ecx = MEM32(ebp + 0xC); /* 0x2B01DD7D: mov ecx, dword ptr [ebp + 0xc] */ 2185 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2186 eax = 0; /* 0x2B01DD80: xor eax, eax */ 2187 _cf = 0; 2188 _flag_k = FK_TEST; 2189 eax = ecx; /* 0x2B01DD82: mov eax, ecx */ 2190 eax = edx + eax * 4; /* 0x2B01DD84: lea eax, [edx + eax*4] */ 2191 edi = POP32_VAL(esp); /* 0x2B01DD87: pop edi */ 2192 MEM32(esi + 0x8) = eax; /* 0x2B01DD88: mov dword ptr [esi + 8], eax */ 2193 MEM32(esi + 0x4) = edx; /* 0x2B01DD8B: mov dword ptr [esi + 4], edx */ 2194 esi = POP32_VAL(esp); /* 0x2B01DD8E: pop esi */ 2195 ebx = POP32_VAL(esp); /* 0x2B01DD8F: pop ebx */ 2196 esp = ebp; /* 0x2B01DD90: mov esp, ebp */ 2197 ebp = POP32_VAL(esp); /* 0x2B01DD92: pop ebp */ 2198 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DD93: ret 0xc */ 2199 L_2B01DD96: 2200 eax = MEM32(esi + 0x8); /* 0x2B01DD96: mov eax, dword ptr [esi + 8] */ 2201 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2203 eax = eax - ecx; /* 0x2B01DD99: sub eax, ecx */ 2204 _flag_k = FK_CMP; 2205 ecx = MEM32(ebp + 0xC); /* 0x2B01DD9B: mov ecx, dword ptr [ebp + 0xc] */ 2206 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01DD9E: sar eax, 2 */ 2207 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2208 eax = (uint32_t)((int32_t)eax >> 2u); 2209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2211 eax = eax + ecx; /* 0x2B01DDA1: add eax, ecx */ 2212 _flag_k = FK_ADD; 2213 eax = edx + eax * 4; /* 0x2B01DDA3: lea eax, [edx + eax*4] */ 2214 edi = POP32_VAL(esp); /* 0x2B01DDA6: pop edi */ 2215 MEM32(esi + 0x8) = eax; /* 0x2B01DDA7: mov dword ptr [esi + 8], eax */ 2216 MEM32(esi + 0x4) = edx; /* 0x2B01DDAA: mov dword ptr [esi + 4], edx */ 2217 esi = POP32_VAL(esp); /* 0x2B01DDAD: pop esi */ 2218 ebx = POP32_VAL(esp); /* 0x2B01DDAE: pop ebx */ 2219 esp = ebp; /* 0x2B01DDAF: mov esp, ebp */ 2220 ebp = POP32_VAL(esp); /* 0x2B01DDB1: pop ebp */ 2221 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DDB2: ret 0xc */ 2222 L_2B01DDB5: 2223 edx = MEM32(ebp + 0x8); /* 0x2B01DDB5: mov edx, dword ptr [ebp + 8] */ 2224 ecx = eax; /* 0x2B01DDB8: mov ecx, eax */ 2225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2227 ecx = ecx - edx; /* 0x2B01DDBA: sub ecx, edx */ 2228 _flag_k = FK_CMP; 2229 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01DDBC: sar ecx, 2 */ 2230 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2231 ecx = (uint32_t)((int32_t)ecx >> 2u); 2232 /* cmp ecx, edi */ /* 0x2B01DDBF: cmp ecx, edi */ 2233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2235 _flag_k = FK_CMP; 2236 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01DE36; /* 0x2B01DDC1: jae 0x2b01de36 */ 2237 L_2B01DDC3: 2238 esi = edi * 4; /* 0x2B01DDC3: lea esi, [edi*4] */ 2239 MEM32(ebp + 0xC) = esi; /* 0x2B01DDCA: mov dword ptr [ebp + 0xc], esi */ 2240 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 2241 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2242 esi = esi + edx; /* 0x2B01DDCD: add esi, edx */ 2243 _flag_k = FK_ADD; 2244 /* cmp edx, eax */ /* 0x2B01DDCF: cmp edx, eax */ 2245 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2247 _flag_k = FK_CMP; 2248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DDEF; /* 0x2B01DDD1: je 0x2b01ddef */ 2249 L_2B01DDD3: 2250 ebx = MEM32(ebp + 0xC); /* 0x2B01DDD3: mov ebx, dword ptr [ebp + 0xc] */ 2251 ecx = esi; /* 0x2B01DDD6: mov ecx, esi */ 2252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2254 ecx = ecx - ebx; /* 0x2B01DDD8: sub ecx, ebx */ 2255 _flag_k = FK_CMP; 2256 L_2B01DDDA: 2257 /* test esi, esi */ /* 0x2B01DDDA: test esi, esi */ 2258 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2259 _cf = 0; 2260 _flag_k = FK_TEST; 2261 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DDE2; /* 0x2B01DDDC: je 0x2b01dde2 */ 2262 L_2B01DDDE: 2263 ebx = MEM32(ecx); /* 0x2B01DDDE: mov ebx, dword ptr [ecx] */ 2264 MEM32(esi) = ebx; /* 0x2B01DDE0: mov dword ptr [esi], ebx */ 2265 L_2B01DDE2: 2266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2267 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2268 ecx = ecx + 4; /* 0x2B01DDE2: add ecx, 4 */ 2269 _flag_k = FK_ADD; 2270 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 2271 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2272 esi = esi + 4; /* 0x2B01DDE5: add esi, 4 */ 2273 _flag_k = FK_ADD; 2274 /* cmp ecx, eax */ /* 0x2B01DDE8: cmp ecx, eax */ 2275 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2277 _flag_k = FK_CMP; 2278 RECOMP_BACKEDGE(); 2279 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DDDA; /* 0x2B01DDEA: jne 0x2b01ddda */ 2280 L_2B01DDEC: 2281 ebx = MEM32(ebp + (-0x4)); /* 0x2B01DDEC: mov ebx, dword ptr [ebp - 4] */ 2282 L_2B01DDEF: 2283 eax = MEM32(ebx + 0x8); /* 0x2B01DDEF: mov eax, dword ptr [ebx + 8] */ 2284 esi = MEM32(ebp + 0x10); /* 0x2B01DDF2: mov esi, dword ptr [ebp + 0x10] */ 2285 ecx = eax; /* 0x2B01DDF5: mov ecx, eax */ 2286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2288 ecx = ecx - edx; /* 0x2B01DDF7: sub ecx, edx */ 2289 _flag_k = FK_CMP; 2290 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01DDF9: sar ecx, 2 */ 2291 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2292 ecx = (uint32_t)((int32_t)ecx >> 2u); 2293 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 2294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2295 edi = edi - ecx; /* 0x2B01DDFC: sub edi, ecx */ 2296 _flag_k = FK_CMP; 2297 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B01DE0E; /* 0x2B01DDFE: je 0x2b01de0e */ 2298 L_2B01DE00: 2299 /* test eax, eax */ /* 0x2B01DE00: test eax, eax */ 2300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2301 _cf = 0; 2302 _flag_k = FK_TEST; 2303 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DE08; /* 0x2B01DE02: je 0x2b01de08 */ 2304 L_2B01DE04: 2305 ecx = MEM32(esi); /* 0x2B01DE04: mov ecx, dword ptr [esi] */ 2306 MEM32(eax) = ecx; /* 0x2B01DE06: mov dword ptr [eax], ecx */ 2307 L_2B01DE08: 2308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2309 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2310 eax = eax + 4; /* 0x2B01DE08: add eax, 4 */ 2311 _flag_k = FK_ADD; 2312 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 2313 edi = edi - 1; /* 0x2B01DE0B: dec edi */ 2314 _flag_k = FK_DEC; 2315 RECOMP_BACKEDGE(); 2316 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01DE00; /* 0x2B01DE0C: jne 0x2b01de00 */ 2317 L_2B01DE0E: 2318 ecx = MEM32(ebx + 0x8); /* 0x2B01DE0E: mov ecx, dword ptr [ebx + 8] */ 2319 /* cmp edx, ecx */ /* 0x2B01DE11: cmp edx, ecx */ 2320 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 2321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2322 _flag_k = FK_CMP; 2323 eax = edx; /* 0x2B01DE13: mov eax, edx */ 2324 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DE22; /* 0x2B01DE15: je 0x2b01de22 */ 2325 L_2B01DE17: 2326 edx = MEM32(esi); /* 0x2B01DE17: mov edx, dword ptr [esi] */ 2327 MEM32(eax) = edx; /* 0x2B01DE19: mov dword ptr [eax], edx */ 2328 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2329 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2330 eax = eax + 4; /* 0x2B01DE1B: add eax, 4 */ 2331 _flag_k = FK_ADD; 2332 /* cmp eax, ecx */ /* 0x2B01DE1E: cmp eax, ecx */ 2333 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2335 _flag_k = FK_CMP; 2336 RECOMP_BACKEDGE(); 2337 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DE17; /* 0x2B01DE20: jne 0x2b01de17 */ 2338 L_2B01DE22: 2339 ecx = MEM32(ebx + 0x8); /* 0x2B01DE22: mov ecx, dword ptr [ebx + 8] */ 2340 eax = MEM32(ebp + 0xC); /* 0x2B01DE25: mov eax, dword ptr [ebp + 0xc] */ 2341 edi = POP32_VAL(esp); /* 0x2B01DE28: pop edi */ 2342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2343 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2344 ecx = ecx + eax; /* 0x2B01DE29: add ecx, eax */ 2345 _flag_k = FK_ADD; 2346 esi = POP32_VAL(esp); /* 0x2B01DE2B: pop esi */ 2347 MEM32(ebx + 0x8) = ecx; /* 0x2B01DE2C: mov dword ptr [ebx + 8], ecx */ 2348 ebx = POP32_VAL(esp); /* 0x2B01DE2F: pop ebx */ 2349 esp = ebp; /* 0x2B01DE30: mov esp, ebp */ 2350 ebp = POP32_VAL(esp); /* 0x2B01DE32: pop ebp */ 2351 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DE33: ret 0xc */ 2352 L_2B01DE36: 2353 /* test edi, edi */ /* 0x2B01DE36: test edi, edi */ 2354 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2355 _cf = 0; 2356 _flag_k = FK_TEST; 2357 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DE90; /* 0x2B01DE38: jbe 0x2b01de90 */ 2358 L_2B01DE3A: 2359 if (2u) _cf = (((edi) >> 30) & 1u); /* 0x2B01DE3A: shl edi, 2 */ 2360 if (2u) { _flag_a = recomp_flags_pack((edi << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2361 edi = edi << 2u; /* 0x2B01DE3A: shl edi, 2 */ 2362 ecx = eax; /* 0x2B01DE3D: mov ecx, eax */ 2363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2365 ecx = ecx - edi; /* 0x2B01DE3F: sub ecx, edi */ 2366 _flag_k = FK_CMP; 2367 /* cmp ecx, eax */ /* 0x2B01DE41: cmp ecx, eax */ 2368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2370 _flag_k = FK_CMP; 2371 esi = eax; /* 0x2B01DE43: mov esi, eax */ 2372 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DE5C; /* 0x2B01DE45: je 0x2b01de5c */ 2373 L_2B01DE47: 2374 /* test esi, esi */ /* 0x2B01DE47: test esi, esi */ 2375 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2376 _cf = 0; 2377 _flag_k = FK_TEST; 2378 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DE52; /* 0x2B01DE49: je 0x2b01de52 */ 2379 L_2B01DE4B: 2380 ebx = MEM32(ecx); /* 0x2B01DE4B: mov ebx, dword ptr [ecx] */ 2381 MEM32(esi) = ebx; /* 0x2B01DE4D: mov dword ptr [esi], ebx */ 2382 ebx = MEM32(ebp + (-0x4)); /* 0x2B01DE4F: mov ebx, dword ptr [ebp - 4] */ 2383 L_2B01DE52: 2384 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2385 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2386 ecx = ecx + 4; /* 0x2B01DE52: add ecx, 4 */ 2387 _flag_k = FK_ADD; 2388 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 2389 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2390 esi = esi + 4; /* 0x2B01DE55: add esi, 4 */ 2391 _flag_k = FK_ADD; 2392 /* cmp ecx, eax */ /* 0x2B01DE58: cmp ecx, eax */ 2393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2395 _flag_k = FK_CMP; 2396 RECOMP_BACKEDGE(); 2397 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DE47; /* 0x2B01DE5A: jne 0x2b01de47 */ 2398 L_2B01DE5C: 2399 ecx = MEM32(ebx + 0x8); /* 0x2B01DE5C: mov ecx, dword ptr [ebx + 8] */ 2400 eax = ecx; /* 0x2B01DE5F: mov eax, ecx */ 2401 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2403 eax = eax - edi; /* 0x2B01DE61: sub eax, edi */ 2404 _flag_k = FK_CMP; 2405 /* cmp edx, eax */ /* 0x2B01DE63: cmp edx, eax */ 2406 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2408 _flag_k = FK_CMP; 2409 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DE76; /* 0x2B01DE65: je 0x2b01de76 */ 2410 L_2B01DE67: 2411 esi = MEM32(eax + (-0x4)); /* 0x2B01DE67: mov esi, dword ptr [eax - 4] */ 2412 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2413 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2414 eax = eax - 4; /* 0x2B01DE6A: sub eax, 4 */ 2415 _flag_k = FK_CMP; 2416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 2417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2418 ecx = ecx - 4; /* 0x2B01DE6D: sub ecx, 4 */ 2419 _flag_k = FK_CMP; 2420 /* cmp eax, edx */ /* 0x2B01DE70: cmp eax, edx */ 2421 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2423 _flag_k = FK_CMP; 2424 MEM32(ecx) = esi; /* 0x2B01DE72: mov dword ptr [ecx], esi */ 2425 RECOMP_BACKEDGE(); 2426 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DE67; /* 0x2B01DE74: jne 0x2b01de67 */ 2427 L_2B01DE76: 2428 ecx = edi + edx; /* 0x2B01DE76: lea ecx, [edi + edx] */ 2429 /* cmp edx, ecx */ /* 0x2B01DE79: cmp edx, ecx */ 2430 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 2431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2432 _flag_k = FK_CMP; 2433 eax = edx; /* 0x2B01DE7B: mov eax, edx */ 2434 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DE8D; /* 0x2B01DE7D: je 0x2b01de8d */ 2435 L_2B01DE7F: 2436 edx = MEM32(ebp + 0x10); /* 0x2B01DE7F: mov edx, dword ptr [ebp + 0x10] */ 2437 L_2B01DE82: 2438 esi = MEM32(edx); /* 0x2B01DE82: mov esi, dword ptr [edx] */ 2439 MEM32(eax) = esi; /* 0x2B01DE84: mov dword ptr [eax], esi */ 2440 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 2441 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2442 eax = eax + 4; /* 0x2B01DE86: add eax, 4 */ 2443 _flag_k = FK_ADD; 2444 /* cmp eax, ecx */ /* 0x2B01DE89: cmp eax, ecx */ 2445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2447 _flag_k = FK_CMP; 2448 RECOMP_BACKEDGE(); 2449 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DE82; /* 0x2B01DE8B: jne 0x2b01de82 */ 2450 L_2B01DE8D: 2451 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 2452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2453 MEM32(ebx + 0x8) = MEM32(ebx + 0x8) + edi; /* 0x2B01DE8D: add dword ptr [ebx + 8], edi */ 2454 _flag_k = FK_ADD; 2455 L_2B01DE90: 2456 edi = POP32_VAL(esp); /* 0x2B01DE90: pop edi */ 2457 esi = POP32_VAL(esp); /* 0x2B01DE91: pop esi */ 2458 ebx = POP32_VAL(esp); /* 0x2B01DE92: pop ebx */ 2459 esp = ebp; /* 0x2B01DE93: mov esp, ebp */ 2460 ebp = POP32_VAL(esp); /* 0x2B01DE95: pop ebp */ 2461 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DE96: ret 0xc */ 2462 RECOMP_REGS_OUT(); 2463 } 2464 2465 void sub_2B01DEA0(void) { 2466 int _fpu_cmp = 0; 2467 uint32_t _cf = 0; 2468 int _df = 1; 2469 uint32_t _flag_k = FK_NONE; 2470 uint32_t _flag_a = 0, _flag_b = 0; 2471 uint32_t _itail_tgt = 0; 2472 RECOMP_REGS_LOCALS 2473 RECOMP_ENTER(0x2B01DEA0u); 2474 2475 L_2B01DEA0: 2476 PUSH32(esp, ebp); /* 0x2B01DEA0: push ebp */ 2477 ebp = esp; /* 0x2B01DEA1: mov ebp, esp */ 2478 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 2479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2480 esp = esp - 0xCu; /* 0x2B01DEA3: sub esp, 0xc */ 2481 _flag_k = FK_CMP; 2482 eax = MEM32(ecx + 0xC); /* 0x2B01DEA6: mov eax, dword ptr [ecx + 0xc] */ 2483 PUSH32(esp, ebx); /* 0x2B01DEA9: push ebx */ 2484 PUSH32(esp, esi); /* 0x2B01DEAA: push esi */ 2485 esi = MEM32(ecx + 0x8); /* 0x2B01DEAB: mov esi, dword ptr [ecx + 8] */ 2486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2488 eax = eax - esi; /* 0x2B01DEAE: sub eax, esi */ 2489 _flag_k = FK_CMP; 2490 PUSH32(esp, edi); /* 0x2B01DEB0: push edi */ 2491 edi = MEM32(ebp + 0xC); /* 0x2B01DEB1: mov edi, dword ptr [ebp + 0xc] */ 2492 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01DEB4: sar eax, 4 */ 2493 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2494 eax = (uint32_t)((int32_t)eax >> 4u); 2495 /* cmp eax, edi */ /* 0x2B01DEB7: cmp eax, edi */ 2496 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2498 _flag_k = FK_CMP; 2499 MEM32(ebp + (-0x4)) = ecx; /* 0x2B01DEB9: mov dword ptr [ebp - 4], ecx */ 2500 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01DFF1; /* 0x2B01DEBC: jae 0x2b01dff1 */ 2501 L_2B01DEC2: 2502 ecx = MEM32(ecx + 0x4); /* 0x2B01DEC2: mov ecx, dword ptr [ecx + 4] */ 2503 /* test ecx, ecx */ /* 0x2B01DEC5: test ecx, ecx */ 2504 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2505 _cf = 0; 2506 _flag_k = FK_TEST; 2507 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DED4; /* 0x2B01DEC7: je 0x2b01ded4 */ 2508 L_2B01DEC9: 2509 eax = esi; /* 0x2B01DEC9: mov eax, esi */ 2510 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2512 eax = eax - ecx; /* 0x2B01DECB: sub eax, ecx */ 2513 _flag_k = FK_CMP; 2514 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01DECD: sar eax, 4 */ 2515 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2516 eax = (uint32_t)((int32_t)eax >> 4u); 2517 /* cmp edi, eax */ /* 0x2B01DED0: cmp edi, eax */ 2518 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2520 _flag_k = FK_CMP; 2521 if (CMP_B(_flag_a, _flag_b)) goto L_2B01DED6; /* 0x2B01DED2: jb 0x2b01ded6 */ 2522 L_2B01DED4: 2523 eax = edi; /* 0x2B01DED4: mov eax, edi */ 2524 L_2B01DED6: 2525 /* test ecx, ecx */ /* 0x2B01DED6: test ecx, ecx */ 2526 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2527 _cf = 0; 2528 _flag_k = FK_TEST; 2529 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01DEDE; /* 0x2B01DED8: jne 0x2b01dede */ 2530 L_2B01DEDA: 2531 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2532 esi = 0; /* 0x2B01DEDA: xor esi, esi */ 2533 _cf = 0; 2534 _flag_k = FK_TEST; 2535 goto L_2B01DEE3; /* 0x2B01DEDC: jmp 0x2b01dee3 */ 2536 L_2B01DEDE: 2537 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 2538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2539 esi = esi - ecx; /* 0x2B01DEDE: sub esi, ecx */ 2540 _flag_k = FK_CMP; 2541 if (4u) _cf = (((esi) >> 3) & 1u); /* 0x2B01DEE0: sar esi, 4 */ 2542 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2543 esi = (uint32_t)((int32_t)esi >> 4u); 2544 L_2B01DEE3: 2545 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2546 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2547 eax = eax + esi; /* 0x2B01DEE3: add eax, esi */ 2548 _flag_k = FK_ADD; 2549 /* test eax, eax */ /* 0x2B01DEE5: test eax, eax */ 2550 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2551 _cf = 0; 2552 _flag_k = FK_TEST; 2553 MEM32(ebp + (-0x8)) = eax; /* 0x2B01DEE7: mov dword ptr [ebp - 8], eax */ 2554 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01DEEE; /* 0x2B01DEEA: jge 0x2b01deee */ 2555 L_2B01DEEC: 2556 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2557 eax = 0; /* 0x2B01DEEC: xor eax, eax */ 2558 _cf = 0; 2559 _flag_k = FK_TEST; 2560 L_2B01DEEE: 2561 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DEEE: shl eax, 4 */ 2562 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2563 eax = eax << 4u; /* 0x2B01DEEE: shl eax, 4 */ 2564 PUSH32(esp, eax); /* 0x2B01DEF1: push eax */ 2565 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01DEF2: call 0x2b0ab212 */ /* not lifted */ 2566 RECOMP_FLAGS_IN(); 2567 ecx = MEM32(ebp + (-0x4)); /* 0x2B01DEF7: mov ecx, dword ptr [ebp - 4] */ 2568 esi = MEM32(ecx + 0x4); /* 0x2B01DEFA: mov esi, dword ptr [ecx + 4] */ 2569 MEM32(ebp + (-0xC)) = eax; /* 0x2B01DEFD: mov dword ptr [ebp - 0xc], eax */ 2570 ebx = eax; /* 0x2B01DF00: mov ebx, eax */ 2571 eax = MEM32(ebp + 0x8); /* 0x2B01DF02: mov eax, dword ptr [ebp + 8] */ 2572 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2573 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2574 esp = esp + 4; /* 0x2B01DF05: add esp, 4 */ 2575 _flag_k = FK_ADD; 2576 /* cmp esi, eax */ /* 0x2B01DF08: cmp esi, eax */ 2577 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2579 _flag_k = FK_CMP; 2580 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DF23; /* 0x2B01DF0A: je 0x2b01df23 */ 2581 L_2B01DF0C: 2582 PUSH32(esp, esi); /* 0x2B01DF0C: push esi */ 2583 PUSH32(esp, ebx); /* 0x2B01DF0D: push ebx */ 2584 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01DF0E: call 0x2b01e7a0 */ /* not lifted */ 2585 RECOMP_FLAGS_IN(); 2586 eax = MEM32(ebp + 0x8); /* 0x2B01DF13: mov eax, dword ptr [ebp + 8] */ 2587 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2588 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2589 esi = esi + 0x10u; /* 0x2B01DF16: add esi, 0x10 */ 2590 _flag_k = FK_ADD; 2591 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2593 esp = esp + 8; /* 0x2B01DF19: add esp, 8 */ 2594 _flag_k = FK_ADD; 2595 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 2596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2597 ebx = ebx + 0x10u; /* 0x2B01DF1C: add ebx, 0x10 */ 2598 _flag_k = FK_ADD; 2599 /* cmp esi, eax */ /* 0x2B01DF1F: cmp esi, eax */ 2600 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2602 _flag_k = FK_CMP; 2603 RECOMP_BACKEDGE(); 2604 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DF0C; /* 0x2B01DF21: jne 0x2b01df0c */ 2605 L_2B01DF23: 2606 /* test edi, edi */ /* 0x2B01DF23: test edi, edi */ 2607 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2608 _cf = 0; 2609 _flag_k = FK_TEST; 2610 esi = ebx; /* 0x2B01DF25: mov esi, ebx */ 2611 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01DF45; /* 0x2B01DF27: jbe 0x2b01df45 */ 2612 L_2B01DF29: 2613 MEM32(ebp + 0xC) = edi; /* 0x2B01DF29: mov dword ptr [ebp + 0xc], edi */ 2614 L_2B01DF2C: 2615 edx = MEM32(ebp + 0x10); /* 0x2B01DF2C: mov edx, dword ptr [ebp + 0x10] */ 2616 PUSH32(esp, edx); /* 0x2B01DF2F: push edx */ 2617 PUSH32(esp, esi); /* 0x2B01DF30: push esi */ 2618 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01DF31: call 0x2b01e7a0 */ /* not lifted */ 2619 RECOMP_FLAGS_IN(); 2620 eax = MEM32(ebp + 0xC); /* 0x2B01DF36: mov eax, dword ptr [ebp + 0xc] */ 2621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2623 esp = esp + 8; /* 0x2B01DF39: add esp, 8 */ 2624 _flag_k = FK_ADD; 2625 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2627 esi = esi + 0x10u; /* 0x2B01DF3C: add esi, 0x10 */ 2628 _flag_k = FK_ADD; 2629 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2630 eax = eax - 1; /* 0x2B01DF3F: dec eax */ 2631 _flag_k = FK_DEC; 2632 MEM32(ebp + 0xC) = eax; /* 0x2B01DF40: mov dword ptr [ebp + 0xc], eax */ 2633 RECOMP_BACKEDGE(); 2634 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01DF2C; /* 0x2B01DF43: jne 0x2b01df2c */ 2635 L_2B01DF45: 2636 ecx = MEM32(ebp + (-0x4)); /* 0x2B01DF45: mov ecx, dword ptr [ebp - 4] */ 2637 esi = MEM32(ebp + 0x8); /* 0x2B01DF48: mov esi, dword ptr [ebp + 8] */ 2638 eax = edi; /* 0x2B01DF4B: mov eax, edi */ 2639 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DF4D: shl eax, 4 */ 2640 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2641 eax = eax << 4u; /* 0x2B01DF4D: shl eax, 4 */ 2642 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2644 eax = eax + ebx; /* 0x2B01DF50: add eax, ebx */ 2645 _flag_k = FK_ADD; 2646 ebx = MEM32(ecx + 0x8); /* 0x2B01DF52: mov ebx, dword ptr [ecx + 8] */ 2647 /* cmp esi, ebx */ /* 0x2B01DF55: cmp esi, ebx */ 2648 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2650 _flag_k = FK_CMP; 2651 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DF79; /* 0x2B01DF57: je 0x2b01df79 */ 2652 L_2B01DF59: 2653 MEM32(ebp + 0x8) = eax; /* 0x2B01DF59: mov dword ptr [ebp + 8], eax */ 2654 L_2B01DF5C: 2655 edx = MEM32(ebp + 0x8); /* 0x2B01DF5C: mov edx, dword ptr [ebp + 8] */ 2656 PUSH32(esp, esi); /* 0x2B01DF5F: push esi */ 2657 PUSH32(esp, edx); /* 0x2B01DF60: push edx */ 2658 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01DF61: call 0x2b01e7a0 */ /* not lifted */ 2659 RECOMP_FLAGS_IN(); 2660 ecx = MEM32(ebp + 0x8); /* 0x2B01DF66: mov ecx, dword ptr [ebp + 8] */ 2661 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2662 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2663 esi = esi + 0x10u; /* 0x2B01DF69: add esi, 0x10 */ 2664 _flag_k = FK_ADD; 2665 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 2666 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2667 ecx = ecx + 0x10u; /* 0x2B01DF6C: add ecx, 0x10 */ 2668 _flag_k = FK_ADD; 2669 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2670 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2671 esp = esp + 8; /* 0x2B01DF6F: add esp, 8 */ 2672 _flag_k = FK_ADD; 2673 /* cmp esi, ebx */ /* 0x2B01DF72: cmp esi, ebx */ 2674 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2676 _flag_k = FK_CMP; 2677 MEM32(ebp + 0x8) = ecx; /* 0x2B01DF74: mov dword ptr [ebp + 8], ecx */ 2678 RECOMP_BACKEDGE(); 2679 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DF5C; /* 0x2B01DF77: jne 0x2b01df5c */ 2680 L_2B01DF79: 2681 eax = MEM32(ebp + (-0x4)); /* 0x2B01DF79: mov eax, dword ptr [ebp - 4] */ 2682 ebx = MEM32(eax + 0x8); /* 0x2B01DF7C: mov ebx, dword ptr [eax + 8] */ 2683 esi = MEM32(eax + 0x4); /* 0x2B01DF7F: mov esi, dword ptr [eax + 4] */ 2684 /* cmp esi, ebx */ /* 0x2B01DF82: cmp esi, ebx */ 2685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2687 _flag_k = FK_CMP; 2688 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01DF94; /* 0x2B01DF84: je 0x2b01df94 */ 2689 L_2B01DF86: 2690 ecx = esi; /* 0x2B01DF86: mov ecx, esi */ 2691 RECOMP_ICALL(0x2B012D80u); /* 0x2B01DF88: call 0x2b012d80 */ /* not lifted */ 2692 RECOMP_FLAGS_IN(); 2693 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2694 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2695 esi = esi + 0x10u; /* 0x2B01DF8D: add esi, 0x10 */ 2696 _flag_k = FK_ADD; 2697 /* cmp esi, ebx */ /* 0x2B01DF90: cmp esi, ebx */ 2698 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2700 _flag_k = FK_CMP; 2701 RECOMP_BACKEDGE(); 2702 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01DF86; /* 0x2B01DF92: jne 0x2b01df86 */ 2703 L_2B01DF94: 2704 eax = MEM32(ebp + (-0x4)); /* 0x2B01DF94: mov eax, dword ptr [ebp - 4] */ 2705 ecx = MEM32(eax + 0x4); /* 0x2B01DF97: mov ecx, dword ptr [eax + 4] */ 2706 PUSH32(esp, ecx); /* 0x2B01DF9A: push ecx */ 2707 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01DF9B: call 0x2b0ab1ba */ /* not lifted */ 2708 RECOMP_FLAGS_IN(); 2709 eax = MEM32(ebp + (-0x8)); /* 0x2B01DFA0: mov eax, dword ptr [ebp - 8] */ 2710 ecx = MEM32(ebp + (-0x4)); /* 0x2B01DFA3: mov ecx, dword ptr [ebp - 4] */ 2711 esi = MEM32(ebp + (-0xC)); /* 0x2B01DFA6: mov esi, dword ptr [ebp - 0xc] */ 2712 edx = MEM32(ecx + 0x4); /* 0x2B01DFA9: mov edx, dword ptr [ecx + 4] */ 2713 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DFAC: shl eax, 4 */ 2714 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2715 eax = eax << 4u; /* 0x2B01DFAC: shl eax, 4 */ 2716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2717 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2718 eax = eax + esi; /* 0x2B01DFAF: add eax, esi */ 2719 _flag_k = FK_ADD; 2720 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2722 esp = esp + 4; /* 0x2B01DFB1: add esp, 4 */ 2723 _flag_k = FK_ADD; 2724 /* test edx, edx */ /* 0x2B01DFB4: test edx, edx */ 2725 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 2726 _cf = 0; 2727 _flag_k = FK_TEST; 2728 MEM32(ecx + 0xC) = eax; /* 0x2B01DFB6: mov dword ptr [ecx + 0xc], eax */ 2729 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01DFD3; /* 0x2B01DFB9: jne 0x2b01dfd3 */ 2730 L_2B01DFBB: 2731 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2732 eax = 0; /* 0x2B01DFBB: xor eax, eax */ 2733 _cf = 0; 2734 _flag_k = FK_TEST; 2735 eax = edi; /* 0x2B01DFBD: mov eax, edi */ 2736 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DFBF: shl eax, 4 */ 2737 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2738 eax = eax << 4u; /* 0x2B01DFBF: shl eax, 4 */ 2739 edi = POP32_VAL(esp); /* 0x2B01DFC2: pop edi */ 2740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2741 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2742 eax = eax + esi; /* 0x2B01DFC3: add eax, esi */ 2743 _flag_k = FK_ADD; 2744 MEM32(ecx + 0x4) = esi; /* 0x2B01DFC5: mov dword ptr [ecx + 4], esi */ 2745 esi = POP32_VAL(esp); /* 0x2B01DFC8: pop esi */ 2746 MEM32(ecx + 0x8) = eax; /* 0x2B01DFC9: mov dword ptr [ecx + 8], eax */ 2747 ebx = POP32_VAL(esp); /* 0x2B01DFCC: pop ebx */ 2748 esp = ebp; /* 0x2B01DFCD: mov esp, ebp */ 2749 ebp = POP32_VAL(esp); /* 0x2B01DFCF: pop ebp */ 2750 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DFD0: ret 0xc */ 2751 L_2B01DFD3: 2752 eax = MEM32(ecx + 0x8); /* 0x2B01DFD3: mov eax, dword ptr [ecx + 8] */ 2753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2755 eax = eax - edx; /* 0x2B01DFD6: sub eax, edx */ 2756 _flag_k = FK_CMP; 2757 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01DFD8: sar eax, 4 */ 2758 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2759 eax = (uint32_t)((int32_t)eax >> 4u); 2760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2761 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2762 eax = eax + edi; /* 0x2B01DFDB: add eax, edi */ 2763 _flag_k = FK_ADD; 2764 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01DFDD: shl eax, 4 */ 2765 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2766 eax = eax << 4u; /* 0x2B01DFDD: shl eax, 4 */ 2767 edi = POP32_VAL(esp); /* 0x2B01DFE0: pop edi */ 2768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2769 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2770 eax = eax + esi; /* 0x2B01DFE1: add eax, esi */ 2771 _flag_k = FK_ADD; 2772 MEM32(ecx + 0x4) = esi; /* 0x2B01DFE3: mov dword ptr [ecx + 4], esi */ 2773 esi = POP32_VAL(esp); /* 0x2B01DFE6: pop esi */ 2774 MEM32(ecx + 0x8) = eax; /* 0x2B01DFE7: mov dword ptr [ecx + 8], eax */ 2775 ebx = POP32_VAL(esp); /* 0x2B01DFEA: pop ebx */ 2776 esp = ebp; /* 0x2B01DFEB: mov esp, ebp */ 2777 ebp = POP32_VAL(esp); /* 0x2B01DFED: pop ebp */ 2778 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01DFEE: ret 0xc */ 2779 L_2B01DFF1: 2780 ebx = MEM32(ebp + 0x8); /* 0x2B01DFF1: mov ebx, dword ptr [ebp + 8] */ 2781 edx = esi; /* 0x2B01DFF4: mov edx, esi */ 2782 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 2783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2784 edx = edx - ebx; /* 0x2B01DFF6: sub edx, ebx */ 2785 _flag_k = FK_CMP; 2786 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B01DFF8: sar edx, 4 */ 2787 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2788 edx = (uint32_t)((int32_t)edx >> 4u); 2789 /* cmp edx, edi */ /* 0x2B01DFFB: cmp edx, edi */ 2790 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 2791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2792 _flag_k = FK_CMP; 2793 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E0AC; /* 0x2B01DFFD: jae 0x2b01e0ac */ 2794 L_2B01E003: 2795 eax = edi; /* 0x2B01E003: mov eax, edi */ 2796 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01E005: shl eax, 4 */ 2797 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2798 eax = eax << 4u; /* 0x2B01E005: shl eax, 4 */ 2799 /* cmp ebx, esi */ /* 0x2B01E008: cmp ebx, esi */ 2800 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 2801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2802 _flag_k = FK_CMP; 2803 edx = eax + ebx; /* 0x2B01E00A: lea edx, [eax + ebx] */ 2804 MEM32(ebp + 0x8) = eax; /* 0x2B01E00D: mov dword ptr [ebp + 8], eax */ 2805 MEM32(ebp + (-0xC)) = edx; /* 0x2B01E010: mov dword ptr [ebp - 0xc], edx */ 2806 MEM32(ebp + 0xC) = ebx; /* 0x2B01E013: mov dword ptr [ebp + 0xc], ebx */ 2807 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E049; /* 0x2B01E016: je 0x2b01e049 */ 2808 L_2B01E018: 2809 eax = edx; /* 0x2B01E018: mov eax, edx */ 2810 MEM32(ebp + (-0x8)) = eax; /* 0x2B01E01A: mov dword ptr [ebp - 8], eax */ 2811 L_2B01E01D: 2812 ecx = MEM32(ebp + 0xC); /* 0x2B01E01D: mov ecx, dword ptr [ebp + 0xc] */ 2813 edx = MEM32(ebp + (-0x8)); /* 0x2B01E020: mov edx, dword ptr [ebp - 8] */ 2814 PUSH32(esp, ecx); /* 0x2B01E023: push ecx */ 2815 PUSH32(esp, edx); /* 0x2B01E024: push edx */ 2816 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01E025: call 0x2b01e7a0 */ /* not lifted */ 2817 RECOMP_FLAGS_IN(); 2818 eax = MEM32(ebp + 0xC); /* 0x2B01E02A: mov eax, dword ptr [ebp + 0xc] */ 2819 edx = MEM32(ebp + (-0x8)); /* 0x2B01E02D: mov edx, dword ptr [ebp - 8] */ 2820 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 2821 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2822 eax = eax + 0x10u; /* 0x2B01E030: add eax, 0x10 */ 2823 _flag_k = FK_ADD; 2824 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 2825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2826 edx = edx + 0x10u; /* 0x2B01E033: add edx, 0x10 */ 2827 _flag_k = FK_ADD; 2828 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2829 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2830 esp = esp + 8; /* 0x2B01E036: add esp, 8 */ 2831 _flag_k = FK_ADD; 2832 /* cmp eax, esi */ /* 0x2B01E039: cmp eax, esi */ 2833 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2835 _flag_k = FK_CMP; 2836 MEM32(ebp + 0xC) = eax; /* 0x2B01E03B: mov dword ptr [ebp + 0xc], eax */ 2837 MEM32(ebp + (-0x8)) = edx; /* 0x2B01E03E: mov dword ptr [ebp - 8], edx */ 2838 RECOMP_BACKEDGE(); 2839 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E01D; /* 0x2B01E041: jne 0x2b01e01d */ 2840 L_2B01E043: 2841 ecx = MEM32(ebp + (-0x4)); /* 0x2B01E043: mov ecx, dword ptr [ebp - 4] */ 2842 eax = MEM32(ebp + 0x8); /* 0x2B01E046: mov eax, dword ptr [ebp + 8] */ 2843 L_2B01E049: 2844 esi = MEM32(ecx + 0x8); /* 0x2B01E049: mov esi, dword ptr [ecx + 8] */ 2845 edx = esi; /* 0x2B01E04C: mov edx, esi */ 2846 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 2847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2848 edx = edx - ebx; /* 0x2B01E04E: sub edx, ebx */ 2849 _flag_k = FK_CMP; 2850 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x2B01E050: sar edx, 4 */ 2851 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2852 edx = (uint32_t)((int32_t)edx >> 4u); 2853 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 2854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2855 edi = edi - edx; /* 0x2B01E053: sub edi, edx */ 2856 _flag_k = FK_CMP; 2857 edx = edi; /* 0x2B01E055: mov edx, edi */ 2858 edi = MEM32(ebp + 0x10); /* 0x2B01E057: mov edi, dword ptr [ebp + 0x10] */ 2859 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B01E07B; /* 0x2B01E05A: je 0x2b01e07b */ 2860 L_2B01E05C: 2861 MEM32(ebp + 0x10) = edx; /* 0x2B01E05C: mov dword ptr [ebp + 0x10], edx */ 2862 L_2B01E05F: 2863 PUSH32(esp, edi); /* 0x2B01E05F: push edi */ 2864 PUSH32(esp, esi); /* 0x2B01E060: push esi */ 2865 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01E061: call 0x2b01e7a0 */ /* not lifted */ 2866 RECOMP_FLAGS_IN(); 2867 eax = MEM32(ebp + 0x10); /* 0x2B01E066: mov eax, dword ptr [ebp + 0x10] */ 2868 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2869 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2870 esp = esp + 8; /* 0x2B01E069: add esp, 8 */ 2871 _flag_k = FK_ADD; 2872 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2873 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2874 esi = esi + 0x10u; /* 0x2B01E06C: add esi, 0x10 */ 2875 _flag_k = FK_ADD; 2876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2877 eax = eax - 1; /* 0x2B01E06F: dec eax */ 2878 _flag_k = FK_DEC; 2879 MEM32(ebp + 0x10) = eax; /* 0x2B01E070: mov dword ptr [ebp + 0x10], eax */ 2880 RECOMP_BACKEDGE(); 2881 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01E05F; /* 0x2B01E073: jne 0x2b01e05f */ 2882 L_2B01E075: 2883 ecx = MEM32(ebp + (-0x4)); /* 0x2B01E075: mov ecx, dword ptr [ebp - 4] */ 2884 eax = MEM32(ebp + 0x8); /* 0x2B01E078: mov eax, dword ptr [ebp + 8] */ 2885 L_2B01E07B: 2886 esi = MEM32(ecx + 0x8); /* 0x2B01E07B: mov esi, dword ptr [ecx + 8] */ 2887 /* cmp ebx, esi */ /* 0x2B01E07E: cmp ebx, esi */ 2888 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 2889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2890 _flag_k = FK_CMP; 2891 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E128; /* 0x2B01E080: je 0x2b01e128 */ 2892 L_2B01E086: 2893 PUSH32(esp, edi); /* 0x2B01E086: push edi */ 2894 ecx = ebx; /* 0x2B01E087: mov ecx, ebx */ 2895 RECOMP_ICALL(0x2B01E140u); /* 0x2B01E089: call 0x2b01e140 */ /* not lifted */ 2896 RECOMP_FLAGS_IN(); 2897 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 2898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2899 ebx = ebx + 0x10u; /* 0x2B01E08E: add ebx, 0x10 */ 2900 _flag_k = FK_ADD; 2901 /* cmp ebx, esi */ /* 0x2B01E091: cmp ebx, esi */ 2902 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 2903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2904 _flag_k = FK_CMP; 2905 RECOMP_BACKEDGE(); 2906 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E086; /* 0x2B01E093: jne 0x2b01e086 */ 2907 L_2B01E095: 2908 ecx = MEM32(ebp + (-0x4)); /* 0x2B01E095: mov ecx, dword ptr [ebp - 4] */ 2909 edx = MEM32(ecx + 0x8); /* 0x2B01E098: mov edx, dword ptr [ecx + 8] */ 2910 eax = MEM32(ebp + 0x8); /* 0x2B01E09B: mov eax, dword ptr [ebp + 8] */ 2911 edi = POP32_VAL(esp); /* 0x2B01E09E: pop edi */ 2912 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2913 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2914 edx = edx + eax; /* 0x2B01E09F: add edx, eax */ 2915 _flag_k = FK_ADD; 2916 esi = POP32_VAL(esp); /* 0x2B01E0A1: pop esi */ 2917 MEM32(ecx + 0x8) = edx; /* 0x2B01E0A2: mov dword ptr [ecx + 8], edx */ 2918 ebx = POP32_VAL(esp); /* 0x2B01E0A5: pop ebx */ 2919 esp = ebp; /* 0x2B01E0A6: mov esp, ebp */ 2920 ebp = POP32_VAL(esp); /* 0x2B01E0A8: pop ebp */ 2921 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01E0A9: ret 0xc */ 2922 L_2B01E0AC: 2923 /* test edi, edi */ /* 0x2B01E0AC: test edi, edi */ 2924 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2925 _cf = 0; 2926 _flag_k = FK_TEST; 2927 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E12B; /* 0x2B01E0AE: jbe 0x2b01e12b */ 2928 L_2B01E0B0: 2929 if (4u) _cf = (((edi) >> 28) & 1u); /* 0x2B01E0B0: shl edi, 4 */ 2930 if (4u) { _flag_a = recomp_flags_pack((edi << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2931 edi = edi << 4u; /* 0x2B01E0B0: shl edi, 4 */ 2932 eax = edi; /* 0x2B01E0B3: mov eax, edi */ 2933 edi = esi; /* 0x2B01E0B5: mov edi, esi */ 2934 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2936 edi = edi - eax; /* 0x2B01E0B7: sub edi, eax */ 2937 _flag_k = FK_CMP; 2938 /* cmp edi, esi */ /* 0x2B01E0B9: cmp edi, esi */ 2939 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 2940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2941 _flag_k = FK_CMP; 2942 MEM32(ebp + 0xC) = esi; /* 0x2B01E0BB: mov dword ptr [ebp + 0xc], esi */ 2943 MEM32(ebp + 0x8) = eax; /* 0x2B01E0BE: mov dword ptr [ebp + 8], eax */ 2944 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E0E6; /* 0x2B01E0C1: je 0x2b01e0e6 */ 2945 L_2B01E0C3: 2946 eax = MEM32(ebp + 0xC); /* 0x2B01E0C3: mov eax, dword ptr [ebp + 0xc] */ 2947 PUSH32(esp, edi); /* 0x2B01E0C6: push edi */ 2948 PUSH32(esp, eax); /* 0x2B01E0C7: push eax */ 2949 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01E0C8: call 0x2b01e7a0 */ /* not lifted */ 2950 RECOMP_FLAGS_IN(); 2951 edx = MEM32(ebp + 0xC); /* 0x2B01E0CD: mov edx, dword ptr [ebp + 0xc] */ 2952 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 2953 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2954 edx = edx + 0x10u; /* 0x2B01E0D0: add edx, 0x10 */ 2955 _flag_k = FK_ADD; 2956 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 2957 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2958 edi = edi + 0x10u; /* 0x2B01E0D3: add edi, 0x10 */ 2959 _flag_k = FK_ADD; 2960 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2961 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2962 esp = esp + 8; /* 0x2B01E0D6: add esp, 8 */ 2963 _flag_k = FK_ADD; 2964 /* cmp edi, esi */ /* 0x2B01E0D9: cmp edi, esi */ 2965 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 2966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2967 _flag_k = FK_CMP; 2968 MEM32(ebp + 0xC) = edx; /* 0x2B01E0DB: mov dword ptr [ebp + 0xc], edx */ 2969 RECOMP_BACKEDGE(); 2970 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E0C3; /* 0x2B01E0DE: jne 0x2b01e0c3 */ 2971 L_2B01E0E0: 2972 eax = MEM32(ebp + 0x8); /* 0x2B01E0E0: mov eax, dword ptr [ebp + 8] */ 2973 ecx = MEM32(ebp + (-0x4)); /* 0x2B01E0E3: mov ecx, dword ptr [ebp - 4] */ 2974 L_2B01E0E6: 2975 edi = MEM32(ecx + 0x8); /* 0x2B01E0E6: mov edi, dword ptr [ecx + 8] */ 2976 esi = edi; /* 0x2B01E0E9: mov esi, edi */ 2977 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2979 esi = esi - eax; /* 0x2B01E0EB: sub esi, eax */ 2980 _flag_k = FK_CMP; 2981 /* cmp ebx, esi */ /* 0x2B01E0ED: cmp ebx, esi */ 2982 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 2983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2984 _flag_k = FK_CMP; 2985 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E109; /* 0x2B01E0EF: je 0x2b01e109 */ 2986 L_2B01E0F1: 2987 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2989 esi = esi - 0x10u; /* 0x2B01E0F1: sub esi, 0x10 */ 2990 _flag_k = FK_CMP; 2991 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 2992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2993 edi = edi - 0x10u; /* 0x2B01E0F4: sub edi, 0x10 */ 2994 _flag_k = FK_CMP; 2995 PUSH32(esp, esi); /* 0x2B01E0F7: push esi */ 2996 ecx = edi; /* 0x2B01E0F8: mov ecx, edi */ 2997 RECOMP_ICALL(0x2B01E140u); /* 0x2B01E0FA: call 0x2b01e140 */ /* not lifted */ 2998 RECOMP_FLAGS_IN(); 2999 /* cmp esi, ebx */ /* 0x2B01E0FF: cmp esi, ebx */ 3000 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 3001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3002 _flag_k = FK_CMP; 3003 RECOMP_BACKEDGE(); 3004 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E0F1; /* 0x2B01E101: jne 0x2b01e0f1 */ 3005 L_2B01E103: 3006 eax = MEM32(ebp + 0x8); /* 0x2B01E103: mov eax, dword ptr [ebp + 8] */ 3007 ecx = MEM32(ebp + (-0x4)); /* 0x2B01E106: mov ecx, dword ptr [ebp - 4] */ 3008 L_2B01E109: 3009 esi = eax + ebx; /* 0x2B01E109: lea esi, [eax + ebx] */ 3010 /* cmp ebx, esi */ /* 0x2B01E10C: cmp ebx, esi */ 3011 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 3012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3013 _flag_k = FK_CMP; 3014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E128; /* 0x2B01E10E: je 0x2b01e128 */ 3015 L_2B01E110: 3016 edi = MEM32(ebp + 0x10); /* 0x2B01E110: mov edi, dword ptr [ebp + 0x10] */ 3017 L_2B01E113: 3018 PUSH32(esp, edi); /* 0x2B01E113: push edi */ 3019 ecx = ebx; /* 0x2B01E114: mov ecx, ebx */ 3020 RECOMP_ICALL(0x2B01E140u); /* 0x2B01E116: call 0x2b01e140 */ /* not lifted */ 3021 RECOMP_FLAGS_IN(); 3022 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 3023 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3024 ebx = ebx + 0x10u; /* 0x2B01E11B: add ebx, 0x10 */ 3025 _flag_k = FK_ADD; 3026 /* cmp ebx, esi */ /* 0x2B01E11E: cmp ebx, esi */ 3027 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 3028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3029 _flag_k = FK_CMP; 3030 RECOMP_BACKEDGE(); 3031 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E113; /* 0x2B01E120: jne 0x2b01e113 */ 3032 L_2B01E122: 3033 eax = MEM32(ebp + 0x8); /* 0x2B01E122: mov eax, dword ptr [ebp + 8] */ 3034 ecx = MEM32(ebp + (-0x4)); /* 0x2B01E125: mov ecx, dword ptr [ebp - 4] */ 3035 L_2B01E128: 3036 _flag_a = (uint32_t)(MEM32(ecx + 0x8)); _flag_b = (uint32_t)(eax); 3037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3038 MEM32(ecx + 0x8) = MEM32(ecx + 0x8) + eax; /* 0x2B01E128: add dword ptr [ecx + 8], eax */ 3039 _flag_k = FK_ADD; 3040 L_2B01E12B: 3041 edi = POP32_VAL(esp); /* 0x2B01E12B: pop edi */ 3042 esi = POP32_VAL(esp); /* 0x2B01E12C: pop esi */ 3043 ebx = POP32_VAL(esp); /* 0x2B01E12D: pop ebx */ 3044 esp = ebp; /* 0x2B01E12E: mov esp, ebp */ 3045 ebp = POP32_VAL(esp); /* 0x2B01E130: pop ebp */ 3046 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01E131: ret 0xc */ 3047 RECOMP_REGS_OUT(); 3048 } 3049 3050 void sub_2B01E140(void) { 3051 int _fpu_cmp = 0; 3052 uint32_t _cf = 0; 3053 int _df = 1; 3054 uint32_t _flag_k = FK_NONE; 3055 uint32_t _flag_a = 0, _flag_b = 0; 3056 uint32_t _itail_tgt = 0; 3057 RECOMP_REGS_LOCALS 3058 RECOMP_ENTER(0x2B01E140u); 3059 3060 L_2B01E140: 3061 PUSH32(esp, ebp); /* 0x2B01E140: push ebp */ 3062 ebp = esp; /* 0x2B01E141: mov ebp, esp */ 3063 PUSH32(esp, ebx); /* 0x2B01E143: push ebx */ 3064 PUSH32(esp, esi); /* 0x2B01E144: push esi */ 3065 esi = MEM32(ebp + 0x8); /* 0x2B01E145: mov esi, dword ptr [ebp + 8] */ 3066 ebx = ecx; /* 0x2B01E148: mov ebx, ecx */ 3067 /* cmp ebx, esi */ /* 0x2B01E14A: cmp ebx, esi */ 3068 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 3069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3070 _flag_k = FK_CMP; 3071 PUSH32(esp, edi); /* 0x2B01E14C: push edi */ 3072 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E2BF; /* 0x2B01E14D: je 0x2b01e2bf */ 3073 L_2B01E153: 3074 eax = MEM32(esi + 0x4); /* 0x2B01E153: mov eax, dword ptr [esi + 4] */ 3075 /* test eax, eax */ /* 0x2B01E156: test eax, eax */ 3076 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3077 _cf = 0; 3078 _flag_k = FK_TEST; 3079 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E15E; /* 0x2B01E158: jne 0x2b01e15e */ 3080 L_2B01E15A: 3081 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3082 edi = 0; /* 0x2B01E15A: xor edi, edi */ 3083 _cf = 0; 3084 _flag_k = FK_TEST; 3085 goto L_2B01E166; /* 0x2B01E15C: jmp 0x2b01e166 */ 3086 L_2B01E15E: 3087 edi = MEM32(esi + 0x8); /* 0x2B01E15E: mov edi, dword ptr [esi + 8] */ 3088 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3090 edi = edi - eax; /* 0x2B01E161: sub edi, eax */ 3091 _flag_k = FK_CMP; 3092 if (2u) _cf = (((edi) >> 1) & 1u); /* 0x2B01E163: sar edi, 2 */ 3093 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3094 edi = (uint32_t)((int32_t)edi >> 2u); 3095 L_2B01E166: 3096 edx = MEM32(ebx + 0x4); /* 0x2B01E166: mov edx, dword ptr [ebx + 4] */ 3097 /* test edx, edx */ /* 0x2B01E169: test edx, edx */ 3098 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 3099 _cf = 0; 3100 _flag_k = FK_TEST; 3101 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E171; /* 0x2B01E16B: jne 0x2b01e171 */ 3102 L_2B01E16D: 3103 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3104 ecx = 0; /* 0x2B01E16D: xor ecx, ecx */ 3105 _cf = 0; 3106 _flag_k = FK_TEST; 3107 goto L_2B01E179; /* 0x2B01E16F: jmp 0x2b01e179 */ 3108 L_2B01E171: 3109 ecx = MEM32(ebx + 0x8); /* 0x2B01E171: mov ecx, dword ptr [ebx + 8] */ 3110 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3112 ecx = ecx - edx; /* 0x2B01E174: sub ecx, edx */ 3113 _flag_k = FK_CMP; 3114 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E176: sar ecx, 2 */ 3115 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3116 ecx = (uint32_t)((int32_t)ecx >> 2u); 3117 L_2B01E179: 3118 /* cmp edi, ecx */ /* 0x2B01E179: cmp edi, ecx */ 3119 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3121 _flag_k = FK_CMP; 3122 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E1C7; /* 0x2B01E17B: ja 0x2b01e1c7 */ 3123 L_2B01E17D: 3124 ecx = MEM32(esi + 0x8); /* 0x2B01E17D: mov ecx, dword ptr [esi + 8] */ 3125 /* cmp eax, ecx */ /* 0x2B01E180: cmp eax, ecx */ 3126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3128 _flag_k = FK_CMP; 3129 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E192; /* 0x2B01E182: je 0x2b01e192 */ 3130 L_2B01E184: 3131 edi = MEM32(eax); /* 0x2B01E184: mov edi, dword ptr [eax] */ 3132 MEM32(edx) = edi; /* 0x2B01E186: mov dword ptr [edx], edi */ 3133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 3134 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3135 eax = eax + 4; /* 0x2B01E188: add eax, 4 */ 3136 _flag_k = FK_ADD; 3137 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 3138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3139 edx = edx + 4; /* 0x2B01E18B: add edx, 4 */ 3140 _flag_k = FK_ADD; 3141 /* cmp eax, ecx */ /* 0x2B01E18E: cmp eax, ecx */ 3142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3144 _flag_k = FK_CMP; 3145 RECOMP_BACKEDGE(); 3146 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E184; /* 0x2B01E190: jne 0x2b01e184 */ 3147 L_2B01E192: 3148 eax = MEM32(esi + 0x4); /* 0x2B01E192: mov eax, dword ptr [esi + 4] */ 3149 /* test eax, eax */ /* 0x2B01E195: test eax, eax */ 3150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3151 _cf = 0; 3152 _flag_k = FK_TEST; 3153 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E1AD; /* 0x2B01E197: jne 0x2b01e1ad */ 3154 L_2B01E199: 3155 eax = MEM32(ebx + 0x4); /* 0x2B01E199: mov eax, dword ptr [ebx + 4] */ 3156 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3157 esi = 0; /* 0x2B01E19C: xor esi, esi */ 3158 _cf = 0; 3159 _flag_k = FK_TEST; 3160 ecx = eax + esi * 4; /* 0x2B01E19E: lea ecx, [eax + esi*4] */ 3161 edi = POP32_VAL(esp); /* 0x2B01E1A1: pop edi */ 3162 esi = POP32_VAL(esp); /* 0x2B01E1A2: pop esi */ 3163 MEM32(ebx + 0x8) = ecx; /* 0x2B01E1A3: mov dword ptr [ebx + 8], ecx */ 3164 eax = ebx; /* 0x2B01E1A6: mov eax, ebx */ 3165 ebx = POP32_VAL(esp); /* 0x2B01E1A8: pop ebx */ 3166 ebp = POP32_VAL(esp); /* 0x2B01E1A9: pop ebp */ 3167 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01E1AA: ret 4 */ 3168 L_2B01E1AD: 3169 esi = MEM32(esi + 0x8); /* 0x2B01E1AD: mov esi, dword ptr [esi + 8] */ 3170 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3172 esi = esi - eax; /* 0x2B01E1B0: sub esi, eax */ 3173 _flag_k = FK_CMP; 3174 eax = MEM32(ebx + 0x4); /* 0x2B01E1B2: mov eax, dword ptr [ebx + 4] */ 3175 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E1B5: sar esi, 2 */ 3176 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3177 esi = (uint32_t)((int32_t)esi >> 2u); 3178 ecx = eax + esi * 4; /* 0x2B01E1B8: lea ecx, [eax + esi*4] */ 3179 edi = POP32_VAL(esp); /* 0x2B01E1BB: pop edi */ 3180 esi = POP32_VAL(esp); /* 0x2B01E1BC: pop esi */ 3181 MEM32(ebx + 0x8) = ecx; /* 0x2B01E1BD: mov dword ptr [ebx + 8], ecx */ 3182 eax = ebx; /* 0x2B01E1C0: mov eax, ebx */ 3183 ebx = POP32_VAL(esp); /* 0x2B01E1C2: pop ebx */ 3184 ebp = POP32_VAL(esp); /* 0x2B01E1C3: pop ebp */ 3185 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01E1C4: ret 4 */ 3186 L_2B01E1C7: 3187 /* test eax, eax */ /* 0x2B01E1C7: test eax, eax */ 3188 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3189 _cf = 0; 3190 _flag_k = FK_TEST; 3191 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E1CF; /* 0x2B01E1C9: jne 0x2b01e1cf */ 3192 L_2B01E1CB: 3193 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3194 edi = 0; /* 0x2B01E1CB: xor edi, edi */ 3195 _cf = 0; 3196 _flag_k = FK_TEST; 3197 goto L_2B01E1D7; /* 0x2B01E1CD: jmp 0x2b01e1d7 */ 3198 L_2B01E1CF: 3199 edi = MEM32(esi + 0x8); /* 0x2B01E1CF: mov edi, dword ptr [esi + 8] */ 3200 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3202 edi = edi - eax; /* 0x2B01E1D2: sub edi, eax */ 3203 _flag_k = FK_CMP; 3204 if (2u) _cf = (((edi) >> 1) & 1u); /* 0x2B01E1D4: sar edi, 2 */ 3205 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3206 edi = (uint32_t)((int32_t)edi >> 2u); 3207 L_2B01E1D7: 3208 /* test edx, edx */ /* 0x2B01E1D7: test edx, edx */ 3209 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 3210 _cf = 0; 3211 _flag_k = FK_TEST; 3212 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E1DF; /* 0x2B01E1D9: jne 0x2b01e1df */ 3213 L_2B01E1DB: 3214 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3215 ecx = 0; /* 0x2B01E1DB: xor ecx, ecx */ 3216 _cf = 0; 3217 _flag_k = FK_TEST; 3218 goto L_2B01E1E7; /* 0x2B01E1DD: jmp 0x2b01e1e7 */ 3219 L_2B01E1DF: 3220 ecx = MEM32(ebx + 0xC); /* 0x2B01E1DF: mov ecx, dword ptr [ebx + 0xc] */ 3221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3223 ecx = ecx - edx; /* 0x2B01E1E2: sub ecx, edx */ 3224 _flag_k = FK_CMP; 3225 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E1E4: sar ecx, 2 */ 3226 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3227 ecx = (uint32_t)((int32_t)ecx >> 2u); 3228 L_2B01E1E7: 3229 /* cmp edi, ecx */ /* 0x2B01E1E7: cmp edi, ecx */ 3230 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 3231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3232 _flag_k = FK_CMP; 3233 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E263; /* 0x2B01E1E9: ja 0x2b01e263 */ 3234 L_2B01E1EB: 3235 /* test edx, edx */ /* 0x2B01E1EB: test edx, edx */ 3236 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 3237 _cf = 0; 3238 _flag_k = FK_TEST; 3239 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E1F3; /* 0x2B01E1ED: jne 0x2b01e1f3 */ 3240 L_2B01E1EF: 3241 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3242 ecx = 0; /* 0x2B01E1EF: xor ecx, ecx */ 3243 _cf = 0; 3244 _flag_k = FK_TEST; 3245 goto L_2B01E1FB; /* 0x2B01E1F1: jmp 0x2b01e1fb */ 3246 L_2B01E1F3: 3247 ecx = MEM32(ebx + 0x8); /* 0x2B01E1F3: mov ecx, dword ptr [ebx + 8] */ 3248 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3250 ecx = ecx - edx; /* 0x2B01E1F6: sub ecx, edx */ 3251 _flag_k = FK_CMP; 3252 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E1F8: sar ecx, 2 */ 3253 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3254 ecx = (uint32_t)((int32_t)ecx >> 2u); 3255 L_2B01E1FB: 3256 ecx = eax + ecx * 4; /* 0x2B01E1FB: lea ecx, [eax + ecx*4] */ 3257 /* cmp eax, ecx */ /* 0x2B01E1FE: cmp eax, ecx */ 3258 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3260 _flag_k = FK_CMP; 3261 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E210; /* 0x2B01E200: je 0x2b01e210 */ 3262 L_2B01E202: 3263 edi = MEM32(eax); /* 0x2B01E202: mov edi, dword ptr [eax] */ 3264 MEM32(edx) = edi; /* 0x2B01E204: mov dword ptr [edx], edi */ 3265 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 3266 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3267 eax = eax + 4; /* 0x2B01E206: add eax, 4 */ 3268 _flag_k = FK_ADD; 3269 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 3270 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3271 edx = edx + 4; /* 0x2B01E209: add edx, 4 */ 3272 _flag_k = FK_ADD; 3273 /* cmp eax, ecx */ /* 0x2B01E20C: cmp eax, ecx */ 3274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3276 _flag_k = FK_CMP; 3277 RECOMP_BACKEDGE(); 3278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E202; /* 0x2B01E20E: jne 0x2b01e202 */ 3279 L_2B01E210: 3280 edi = MEM32(esi + 0x8); /* 0x2B01E210: mov edi, dword ptr [esi + 8] */ 3281 /* cmp ecx, edi */ /* 0x2B01E213: cmp ecx, edi */ 3282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3284 _flag_k = FK_CMP; 3285 edx = MEM32(ebx + 0x8); /* 0x2B01E215: mov edx, dword ptr [ebx + 8] */ 3286 eax = ecx; /* 0x2B01E218: mov eax, ecx */ 3287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E22E; /* 0x2B01E21A: je 0x2b01e22e */ 3288 L_2B01E21C: 3289 /* test edx, edx */ /* 0x2B01E21C: test edx, edx */ 3290 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 3291 _cf = 0; 3292 _flag_k = FK_TEST; 3293 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E224; /* 0x2B01E21E: je 0x2b01e224 */ 3294 L_2B01E220: 3295 ecx = MEM32(eax); /* 0x2B01E220: mov ecx, dword ptr [eax] */ 3296 MEM32(edx) = ecx; /* 0x2B01E222: mov dword ptr [edx], ecx */ 3297 L_2B01E224: 3298 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 3299 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3300 eax = eax + 4; /* 0x2B01E224: add eax, 4 */ 3301 _flag_k = FK_ADD; 3302 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 3303 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3304 edx = edx + 4; /* 0x2B01E227: add edx, 4 */ 3305 _flag_k = FK_ADD; 3306 /* cmp eax, edi */ /* 0x2B01E22A: cmp eax, edi */ 3307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3309 _flag_k = FK_CMP; 3310 RECOMP_BACKEDGE(); 3311 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E21C; /* 0x2B01E22C: jne 0x2b01e21c */ 3312 L_2B01E22E: 3313 eax = MEM32(esi + 0x4); /* 0x2B01E22E: mov eax, dword ptr [esi + 4] */ 3314 /* test eax, eax */ /* 0x2B01E231: test eax, eax */ 3315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3316 _cf = 0; 3317 _flag_k = FK_TEST; 3318 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E249; /* 0x2B01E233: jne 0x2b01e249 */ 3319 L_2B01E235: 3320 edx = MEM32(ebx + 0x4); /* 0x2B01E235: mov edx, dword ptr [ebx + 4] */ 3321 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3322 esi = 0; /* 0x2B01E238: xor esi, esi */ 3323 _cf = 0; 3324 _flag_k = FK_TEST; 3325 eax = edx + esi * 4; /* 0x2B01E23A: lea eax, [edx + esi*4] */ 3326 edi = POP32_VAL(esp); /* 0x2B01E23D: pop edi */ 3327 MEM32(ebx + 0x8) = eax; /* 0x2B01E23E: mov dword ptr [ebx + 8], eax */ 3328 esi = POP32_VAL(esp); /* 0x2B01E241: pop esi */ 3329 eax = ebx; /* 0x2B01E242: mov eax, ebx */ 3330 ebx = POP32_VAL(esp); /* 0x2B01E244: pop ebx */ 3331 ebp = POP32_VAL(esp); /* 0x2B01E245: pop ebp */ 3332 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01E246: ret 4 */ 3333 L_2B01E249: 3334 esi = MEM32(esi + 0x8); /* 0x2B01E249: mov esi, dword ptr [esi + 8] */ 3335 edx = MEM32(ebx + 0x4); /* 0x2B01E24C: mov edx, dword ptr [ebx + 4] */ 3336 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3338 esi = esi - eax; /* 0x2B01E24F: sub esi, eax */ 3339 _flag_k = FK_CMP; 3340 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E251: sar esi, 2 */ 3341 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3342 esi = (uint32_t)((int32_t)esi >> 2u); 3343 eax = edx + esi * 4; /* 0x2B01E254: lea eax, [edx + esi*4] */ 3344 edi = POP32_VAL(esp); /* 0x2B01E257: pop edi */ 3345 MEM32(ebx + 0x8) = eax; /* 0x2B01E258: mov dword ptr [ebx + 8], eax */ 3346 esi = POP32_VAL(esp); /* 0x2B01E25B: pop esi */ 3347 eax = ebx; /* 0x2B01E25C: mov eax, ebx */ 3348 ebx = POP32_VAL(esp); /* 0x2B01E25E: pop ebx */ 3349 ebp = POP32_VAL(esp); /* 0x2B01E25F: pop ebp */ 3350 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01E260: ret 4 */ 3351 L_2B01E263: 3352 PUSH32(esp, edx); /* 0x2B01E263: push edx */ 3353 MEM32(ebp + 0x8) = edx; /* 0x2B01E264: mov dword ptr [ebp + 8], edx */ 3354 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E267: call 0x2b0ab1ba */ /* not lifted */ 3355 RECOMP_FLAGS_IN(); 3356 ecx = MEM32(esi + 0x4); /* 0x2B01E26C: mov ecx, dword ptr [esi + 4] */ 3357 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3358 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3359 esp = esp + 4; /* 0x2B01E26F: add esp, 4 */ 3360 _flag_k = FK_ADD; 3361 /* test ecx, ecx */ /* 0x2B01E272: test ecx, ecx */ 3362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3363 _cf = 0; 3364 _flag_k = FK_TEST; 3365 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E27A; /* 0x2B01E274: jne 0x2b01e27a */ 3366 L_2B01E276: 3367 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3368 eax = 0; /* 0x2B01E276: xor eax, eax */ 3369 _cf = 0; 3370 _flag_k = FK_TEST; 3371 goto L_2B01E282; /* 0x2B01E278: jmp 0x2b01e282 */ 3372 L_2B01E27A: 3373 eax = MEM32(esi + 0x8); /* 0x2B01E27A: mov eax, dword ptr [esi + 8] */ 3374 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3376 eax = eax - ecx; /* 0x2B01E27D: sub eax, ecx */ 3377 _flag_k = FK_CMP; 3378 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E27F: sar eax, 2 */ 3379 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3380 eax = (uint32_t)((int32_t)eax >> 2u); 3381 L_2B01E282: 3382 /* test eax, eax */ /* 0x2B01E282: test eax, eax */ 3383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3384 _cf = 0; 3385 _flag_k = FK_TEST; 3386 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E288; /* 0x2B01E284: jge 0x2b01e288 */ 3387 L_2B01E286: 3388 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3389 eax = 0; /* 0x2B01E286: xor eax, eax */ 3390 _cf = 0; 3391 _flag_k = FK_TEST; 3392 L_2B01E288: 3393 ecx = eax * 4; /* 0x2B01E288: lea ecx, [eax*4] */ 3394 PUSH32(esp, ecx); /* 0x2B01E28F: push ecx */ 3395 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E290: call 0x2b0ab212 */ /* not lifted */ 3396 RECOMP_FLAGS_IN(); 3397 MEM32(ebx + 0x4) = eax; /* 0x2B01E295: mov dword ptr [ebx + 4], eax */ 3398 edx = MEM32(esi + 0x8); /* 0x2B01E298: mov edx, dword ptr [esi + 8] */ 3399 ecx = eax; /* 0x2B01E29B: mov ecx, eax */ 3400 eax = MEM32(esi + 0x4); /* 0x2B01E29D: mov eax, dword ptr [esi + 4] */ 3401 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3402 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3403 esp = esp + 4; /* 0x2B01E2A0: add esp, 4 */ 3404 _flag_k = FK_ADD; 3405 /* cmp eax, edx */ /* 0x2B01E2A3: cmp eax, edx */ 3406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3408 _flag_k = FK_CMP; 3409 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E2B9; /* 0x2B01E2A5: je 0x2b01e2b9 */ 3410 L_2B01E2A7: 3411 /* test ecx, ecx */ /* 0x2B01E2A7: test ecx, ecx */ 3412 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3413 _cf = 0; 3414 _flag_k = FK_TEST; 3415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E2AF; /* 0x2B01E2A9: je 0x2b01e2af */ 3416 L_2B01E2AB: 3417 esi = MEM32(eax); /* 0x2B01E2AB: mov esi, dword ptr [eax] */ 3418 MEM32(ecx) = esi; /* 0x2B01E2AD: mov dword ptr [ecx], esi */ 3419 L_2B01E2AF: 3420 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 3421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3422 eax = eax + 4; /* 0x2B01E2AF: add eax, 4 */ 3423 _flag_k = FK_ADD; 3424 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 3425 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3426 ecx = ecx + 4; /* 0x2B01E2B2: add ecx, 4 */ 3427 _flag_k = FK_ADD; 3428 /* cmp eax, edx */ /* 0x2B01E2B5: cmp eax, edx */ 3429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3431 _flag_k = FK_CMP; 3432 RECOMP_BACKEDGE(); 3433 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E2A7; /* 0x2B01E2B7: jne 0x2b01e2a7 */ 3434 L_2B01E2B9: 3435 MEM32(ebx + 0x8) = ecx; /* 0x2B01E2B9: mov dword ptr [ebx + 8], ecx */ 3436 MEM32(ebx + 0xC) = ecx; /* 0x2B01E2BC: mov dword ptr [ebx + 0xc], ecx */ 3437 L_2B01E2BF: 3438 edi = POP32_VAL(esp); /* 0x2B01E2BF: pop edi */ 3439 esi = POP32_VAL(esp); /* 0x2B01E2C0: pop esi */ 3440 eax = ebx; /* 0x2B01E2C1: mov eax, ebx */ 3441 ebx = POP32_VAL(esp); /* 0x2B01E2C3: pop ebx */ 3442 ebp = POP32_VAL(esp); /* 0x2B01E2C4: pop ebp */ 3443 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01E2C5: ret 4 */ 3444 RECOMP_REGS_OUT(); 3445 } 3446 3447 void sub_2B01E2D0(void) { 3448 int _fpu_cmp = 0; 3449 uint32_t _cf = 0; 3450 int _df = 1; 3451 uint32_t _flag_k = FK_NONE; 3452 uint32_t _flag_a = 0, _flag_b = 0; 3453 uint32_t _itail_tgt = 0; 3454 RECOMP_REGS_LOCALS 3455 RECOMP_ENTER(0x2B01E2D0u); 3456 3457 L_2B01E2D0: 3458 PUSH32(esp, ebp); /* 0x2B01E2D0: push ebp */ 3459 ebp = esp; /* 0x2B01E2D1: mov ebp, esp */ 3460 PUSH32(esp, edi); /* 0x2B01E2D3: push edi */ 3461 edi = MEM32(ebp + 0xC); /* 0x2B01E2D4: mov edi, dword ptr [ebp + 0xc] */ 3462 /* test edi, edi */ /* 0x2B01E2D7: test edi, edi */ 3463 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3464 _cf = 0; 3465 _flag_k = FK_TEST; 3466 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E2F5; /* 0x2B01E2D9: jbe 0x2b01e2f5 */ 3467 L_2B01E2DB: 3468 PUSH32(esp, ebx); /* 0x2B01E2DB: push ebx */ 3469 ebx = MEM32(ebp + 0x10); /* 0x2B01E2DC: mov ebx, dword ptr [ebp + 0x10] */ 3470 PUSH32(esp, esi); /* 0x2B01E2DF: push esi */ 3471 esi = MEM32(ebp + 0x8); /* 0x2B01E2E0: mov esi, dword ptr [ebp + 8] */ 3472 L_2B01E2E3: 3473 PUSH32(esp, ebx); /* 0x2B01E2E3: push ebx */ 3474 PUSH32(esp, esi); /* 0x2B01E2E4: push esi */ 3475 RECOMP_ICALL(0x2B01E7A0u); /* 0x2B01E2E5: call 0x2b01e7a0 */ /* not lifted */ 3476 RECOMP_FLAGS_IN(); 3477 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3478 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3479 esp = esp + 8; /* 0x2B01E2EA: add esp, 8 */ 3480 _flag_k = FK_ADD; 3481 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 3482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3483 esi = esi + 0x10u; /* 0x2B01E2ED: add esi, 0x10 */ 3484 _flag_k = FK_ADD; 3485 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 3486 edi = edi - 1; /* 0x2B01E2F0: dec edi */ 3487 _flag_k = FK_DEC; 3488 RECOMP_BACKEDGE(); 3489 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01E2E3; /* 0x2B01E2F1: jne 0x2b01e2e3 */ 3490 L_2B01E2F3: 3491 esi = POP32_VAL(esp); /* 0x2B01E2F3: pop esi */ 3492 ebx = POP32_VAL(esp); /* 0x2B01E2F4: pop ebx */ 3493 L_2B01E2F5: 3494 edi = POP32_VAL(esp); /* 0x2B01E2F5: pop edi */ 3495 ebp = POP32_VAL(esp); /* 0x2B01E2F6: pop ebp */ 3496 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01E2F7: ret 0xc */ 3497 RECOMP_REGS_OUT(); 3498 } 3499 3500 void sub_2B01E300(void) { 3501 int _fpu_cmp = 0; 3502 uint32_t _cf = 0; 3503 int _df = 1; 3504 uint32_t _flag_k = FK_NONE; 3505 uint32_t _flag_a = 0, _flag_b = 0; 3506 uint32_t _itail_tgt = 0; 3507 RECOMP_REGS_LOCALS 3508 RECOMP_ENTER(0x2B01E300u); 3509 3510 L_2B01E300: 3511 PUSH32(esp, ebp); /* 0x2B01E300: push ebp */ 3512 ebp = esp; /* 0x2B01E301: mov ebp, esp */ 3513 ecx = MEM32(ebp + 0x8); /* 0x2B01E303: mov ecx, dword ptr [ebp + 8] */ 3514 /* cmp ecx, MEM32(ebp + 0xC) */ /* 0x2B01E306: cmp ecx, dword ptr [ebp + 0xc] */ 3515 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 3516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3517 _flag_k = FK_CMP; 3518 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E464; /* 0x2B01E309: je 0x2b01e464 */ 3519 L_2B01E30F: 3520 PUSH32(esp, ebx); /* 0x2B01E30F: push ebx */ 3521 ebx = MEM32(ebp + 0x10); /* 0x2B01E310: mov ebx, dword ptr [ebp + 0x10] */ 3522 PUSH32(esp, esi); /* 0x2B01E313: push esi */ 3523 PUSH32(esp, edi); /* 0x2B01E314: push edi */ 3524 L_2B01E315: 3525 eax = MEM32(0x2B0B515C); /* 0x2B01E315: mov eax, dword ptr [0x2b0b515c] */ 3526 esi = MEM32(eax); /* 0x2B01E31A: mov esi, dword ptr [eax] */ 3527 eax = MEM32(ecx + 0x8); /* 0x2B01E31C: mov eax, dword ptr [ecx + 8] */ 3528 edi = eax; /* 0x2B01E31F: mov edi, eax */ 3529 /* cmp esi, edi */ /* 0x2B01E321: cmp esi, edi */ 3530 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 3531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3532 _flag_k = FK_CMP; 3533 MEM32(ebp + 0x10) = edi; /* 0x2B01E323: mov dword ptr [ebp + 0x10], edi */ 3534 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E32D; /* 0x2B01E326: jae 0x2b01e32d */ 3535 L_2B01E328: 3536 MEM32(ebp + 0x10) = esi; /* 0x2B01E328: mov dword ptr [ebp + 0x10], esi */ 3537 edi = esi; /* 0x2B01E32B: mov edi, esi */ 3538 L_2B01E32D: 3539 /* cmp ebx, ecx */ /* 0x2B01E32D: cmp ebx, ecx */ 3540 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 3541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3542 _flag_k = FK_CMP; 3543 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E39C; /* 0x2B01E32F: jne 0x2b01e39c */ 3544 L_2B01E331: 3545 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B01E331: cmp dword ptr [ebx + 8], edi */ 3546 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 3547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3548 _flag_k = FK_CMP; 3549 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E33F; /* 0x2B01E334: jae 0x2b01e33f */ 3550 L_2B01E336: 3551 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B01E336: call dword ptr [0x2b0b519c] */ 3552 RECOMP_FLAGS_IN(); 3553 ecx = MEM32(ebp + 0x8); /* 0x2B01E33C: mov ecx, dword ptr [ebp + 8] */ 3554 L_2B01E33F: 3555 eax = MEM32(ebx + 0x8); /* 0x2B01E33F: mov eax, dword ptr [ebx + 8] */ 3556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3558 eax = eax - edi; /* 0x2B01E342: sub eax, edi */ 3559 _flag_k = FK_CMP; 3560 /* cmp eax, esi */ /* 0x2B01E344: cmp eax, esi */ 3561 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3563 _flag_k = FK_CMP; 3564 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E34A; /* 0x2B01E346: jae 0x2b01e34a */ 3565 L_2B01E348: 3566 esi = eax; /* 0x2B01E348: mov esi, eax */ 3567 L_2B01E34A: 3568 /* test esi, esi */ /* 0x2B01E34A: test esi, esi */ 3569 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3570 _cf = 0; 3571 _flag_k = FK_TEST; 3572 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E449; /* 0x2B01E34C: jbe 0x2b01e449 */ 3573 L_2B01E352: 3574 ecx = ebx; /* 0x2B01E352: mov ecx, ebx */ 3575 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B01E354: call dword ptr [0x2b0b516c] */ 3576 RECOMP_FLAGS_IN(); 3577 edx = MEM32(ebx + 0x8); /* 0x2B01E35A: mov edx, dword ptr [ebx + 8] */ 3578 ecx = MEM32(ebx + 0x4); /* 0x2B01E35D: mov ecx, dword ptr [ebx + 4] */ 3579 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 3580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3581 edx = edx - esi; /* 0x2B01E360: sub edx, esi */ 3582 _flag_k = FK_CMP; 3583 eax = ecx + edi; /* 0x2B01E362: lea eax, [ecx + edi] */ 3584 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3586 edx = edx - edi; /* 0x2B01E365: sub edx, edi */ 3587 _flag_k = FK_CMP; 3588 PUSH32(esp, edx); /* 0x2B01E367: push edx */ 3589 ecx = eax + esi; /* 0x2B01E368: lea ecx, [eax + esi] */ 3590 PUSH32(esp, ecx); /* 0x2B01E36B: push ecx */ 3591 PUSH32(esp, eax); /* 0x2B01E36C: push eax */ 3592 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B01E36D: call dword ptr [0x2b0b51d4] */ 3593 RECOMP_FLAGS_IN(); 3594 edi = MEM32(ebx + 0x8); /* 0x2B01E373: mov edi, dword ptr [ebx + 8] */ 3595 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3597 esp = esp + 0xCu; /* 0x2B01E376: add esp, 0xc */ 3598 _flag_k = FK_ADD; 3599 PUSH32(esp, 0); /* 0x2B01E379: push 0 */ 3600 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3602 edi = edi - esi; /* 0x2B01E37B: sub edi, esi */ 3603 _flag_k = FK_CMP; 3604 PUSH32(esp, edi); /* 0x2B01E37D: push edi */ 3605 ecx = ebx; /* 0x2B01E37E: mov ecx, ebx */ 3606 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E380: call dword ptr [0x2b0b5154] */ 3607 RECOMP_FLAGS_IN(); 3608 /* test LO8(eax), LO8(eax) */ /* 0x2B01E386: test al, al */ 3609 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3610 _cf = 0; 3611 _flag_k = FK_NARROW(FK_TEST, 24); 3612 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E388: je 0x2b01e446 */ 3613 L_2B01E38E: 3614 PUSH32(esp, edi); /* 0x2B01E38E: push edi */ 3615 ecx = ebx; /* 0x2B01E38F: mov ecx, ebx */ 3616 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01E391: call dword ptr [0x2b0b5150] */ 3617 RECOMP_FLAGS_IN(); 3618 goto L_2B01E446; /* 0x2B01E397: jmp 0x2b01e446 */ 3619 L_2B01E39C: 3620 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3621 esi = 0; /* 0x2B01E39C: xor esi, esi */ 3622 _cf = 0; 3623 _flag_k = FK_TEST; 3624 /* cmp edi, esi */ /* 0x2B01E39E: cmp edi, esi */ 3625 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3627 _flag_k = FK_CMP; 3628 if (CMP_BE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A0: jbe 0x2b01e407 */ 3629 L_2B01E3A2: 3630 /* cmp edi, eax */ /* 0x2B01E3A2: cmp edi, eax */ 3631 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3633 _flag_k = FK_CMP; 3634 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A4: jne 0x2b01e407 */ 3635 L_2B01E3A6: 3636 eax = MEM32(ecx + 0x4); /* 0x2B01E3A6: mov eax, dword ptr [ecx + 4] */ 3637 /* cmp eax, esi */ /* 0x2B01E3A9: cmp eax, esi */ 3638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3640 _flag_k = FK_CMP; 3641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3B2; /* 0x2B01E3AB: jne 0x2b01e3b2 */ 3642 L_2B01E3AD: 3643 eax = MEM32(0x2B0B513C); /* 0x2B01E3AD: mov eax, dword ptr [0x2b0b513c] */ 3644 L_2B01E3B2: 3645 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B01E3B2: cmp byte ptr [eax - 1], 0xfe */ 3646 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 3647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3648 _flag_k = FK_NARROW(FK_CMP, 24); 3649 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3B6: jae 0x2b01e407 */ 3650 L_2B01E3B8: 3651 eax = MEM32(ebx + 0x4); /* 0x2B01E3B8: mov eax, dword ptr [ebx + 4] */ 3652 /* cmp eax, esi */ /* 0x2B01E3BB: cmp eax, esi */ 3653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3655 _flag_k = FK_CMP; 3656 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3DE; /* 0x2B01E3BD: je 0x2b01e3de */ 3657 L_2B01E3BF: 3658 edx = eax + (-0x1); /* 0x2B01E3BF: lea edx, [eax - 1] */ 3659 SET_LO8(eax, MEM8(edx)); /* 0x2B01E3C2: mov al, byte ptr [edx] */ 3660 /* test LO8(eax), LO8(eax) */ /* 0x2B01E3C4: test al, al */ 3661 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3662 _cf = 0; 3663 _flag_k = FK_NARROW(FK_TEST, 24); 3664 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3C6: je 0x2b01e3d2 */ 3665 L_2B01E3C8: 3666 /* cmp LO8(eax), 0xFFu */ /* 0x2B01E3C8: cmp al, 0xff */ 3667 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3669 _flag_k = FK_NARROW(FK_CMP, 24); 3670 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3CA: je 0x2b01e3d2 */ 3671 L_2B01E3CC: 3672 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3673 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01E3CC: dec al */ 3674 _flag_k = FK_NARROW(FK_DEC, 24); 3675 MEM8(edx) = (uint8_t)(LO8(eax)); /* 0x2B01E3CE: mov byte ptr [edx], al */ 3676 goto L_2B01E3DE; /* 0x2B01E3D0: jmp 0x2b01e3de */ 3677 L_2B01E3D2: 3678 PUSH32(esp, edx); /* 0x2B01E3D2: push edx */ 3679 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E3D3: call 0x2b0ab1ba */ /* not lifted */ 3680 RECOMP_FLAGS_IN(); 3681 ecx = MEM32(ebp + 0x8); /* 0x2B01E3D8: mov ecx, dword ptr [ebp + 8] */ 3682 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3683 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3684 esp = esp + 4; /* 0x2B01E3DB: add esp, 4 */ 3685 _flag_k = FK_ADD; 3686 L_2B01E3DE: 3687 MEM32(ebx + 0x4) = esi; /* 0x2B01E3DE: mov dword ptr [ebx + 4], esi */ 3688 MEM32(ebx + 0x8) = esi; /* 0x2B01E3E1: mov dword ptr [ebx + 8], esi */ 3689 MEM32(ebx + 0xC) = esi; /* 0x2B01E3E4: mov dword ptr [ebx + 0xc], esi */ 3690 eax = MEM32(ecx + 0x4); /* 0x2B01E3E7: mov eax, dword ptr [ecx + 4] */ 3691 /* cmp eax, esi */ /* 0x2B01E3EA: cmp eax, esi */ 3692 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3694 _flag_k = FK_CMP; 3695 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3F3; /* 0x2B01E3EC: jne 0x2b01e3f3 */ 3696 L_2B01E3EE: 3697 eax = MEM32(0x2B0B513C); /* 0x2B01E3EE: mov eax, dword ptr [0x2b0b513c] */ 3698 L_2B01E3F3: 3699 MEM32(ebx + 0x4) = eax; /* 0x2B01E3F3: mov dword ptr [ebx + 4], eax */ 3700 edx = MEM32(ecx + 0x8); /* 0x2B01E3F6: mov edx, dword ptr [ecx + 8] */ 3701 MEM32(ebx + 0x8) = edx; /* 0x2B01E3F9: mov dword ptr [ebx + 8], edx */ 3702 edx = MEM32(ecx + 0xC); /* 0x2B01E3FC: mov edx, dword ptr [ecx + 0xc] */ 3703 MEM32(ebx + 0xC) = edx; /* 0x2B01E3FF: mov dword ptr [ebx + 0xc], edx */ 3704 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 3705 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B01E402: inc byte ptr [eax - 1] */ 3706 _flag_k = FK_NARROW(FK_INC, 24); 3707 goto L_2B01E449; /* 0x2B01E405: jmp 0x2b01e449 */ 3708 L_2B01E407: 3709 PUSH32(esp, 1); /* 0x2B01E407: push 1 */ 3710 PUSH32(esp, edi); /* 0x2B01E409: push edi */ 3711 ecx = ebx; /* 0x2B01E40A: mov ecx, ebx */ 3712 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E40C: call dword ptr [0x2b0b5154] */ 3713 RECOMP_FLAGS_IN(); 3714 /* test LO8(eax), LO8(eax) */ /* 0x2B01E412: test al, al */ 3715 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3716 _cf = 0; 3717 _flag_k = FK_NARROW(FK_TEST, 24); 3718 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E414: je 0x2b01e446 */ 3719 L_2B01E416: 3720 eax = MEM32(ebp + 0x8); /* 0x2B01E416: mov eax, dword ptr [ebp + 8] */ 3721 esi = MEM32(eax + 0x4); /* 0x2B01E419: mov esi, dword ptr [eax + 4] */ 3722 /* test esi, esi */ /* 0x2B01E41C: test esi, esi */ 3723 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3724 _cf = 0; 3725 _flag_k = FK_TEST; 3726 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E426; /* 0x2B01E41E: jne 0x2b01e426 */ 3727 L_2B01E420: 3728 esi = MEM32(0x2B0B513C); /* 0x2B01E420: mov esi, dword ptr [0x2b0b513c] */ 3729 L_2B01E426: 3730 eax = MEM32(ebp + 0x10); /* 0x2B01E426: mov eax, dword ptr [ebp + 0x10] */ 3731 ecx = edi; /* 0x2B01E429: mov ecx, edi */ 3732 edi = MEM32(ebx + 0x4); /* 0x2B01E42B: mov edi, dword ptr [ebx + 4] */ 3733 edx = ecx; /* 0x2B01E42E: mov edx, ecx */ 3734 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E430: shr ecx, 2 */ 3735 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3736 ecx = ecx >> 2u; /* 0x2B01E430: shr ecx, 2 */ 3737 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01E433: 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; } 3738 ecx = edx; /* 0x2B01E435: mov ecx, edx */ 3739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3740 ecx = ecx & 3; /* 0x2B01E437: and ecx, 3 */ 3741 _cf = 0; 3742 _flag_k = FK_TEST; 3743 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01E43A: 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; } 3744 ecx = MEM32(ebx + 0x4); /* 0x2B01E43C: mov ecx, dword ptr [ebx + 4] */ 3745 MEM32(ebx + 0x8) = eax; /* 0x2B01E43F: mov dword ptr [ebx + 8], eax */ 3746 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B01E442: mov byte ptr [ecx + eax], 0 */ 3747 L_2B01E446: 3748 ecx = MEM32(ebp + 0x8); /* 0x2B01E446: mov ecx, dword ptr [ebp + 8] */ 3749 L_2B01E449: 3750 eax = MEM32(ebp + 0xC); /* 0x2B01E449: mov eax, dword ptr [ebp + 0xc] */ 3751 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 3752 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3753 ecx = ecx + 0x10u; /* 0x2B01E44C: add ecx, 0x10 */ 3754 _flag_k = FK_ADD; 3755 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 3756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3757 ebx = ebx + 0x10u; /* 0x2B01E44F: add ebx, 0x10 */ 3758 _flag_k = FK_ADD; 3759 /* cmp ecx, eax */ /* 0x2B01E452: cmp ecx, eax */ 3760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 3761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3762 _flag_k = FK_CMP; 3763 MEM32(ebp + 0x8) = ecx; /* 0x2B01E454: mov dword ptr [ebp + 8], ecx */ 3764 RECOMP_BACKEDGE(); 3765 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E315; /* 0x2B01E457: jne 0x2b01e315 */ 3766 L_2B01E45D: 3767 edi = POP32_VAL(esp); /* 0x2B01E45D: pop edi */ 3768 esi = POP32_VAL(esp); /* 0x2B01E45E: pop esi */ 3769 eax = ebx; /* 0x2B01E45F: mov eax, ebx */ 3770 ebx = POP32_VAL(esp); /* 0x2B01E461: pop ebx */ 3771 ebp = POP32_VAL(esp); /* 0x2B01E462: pop ebp */ 3772 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E463: ret */ 3773 L_2B01E464: 3774 eax = MEM32(ebp + 0x10); /* 0x2B01E464: mov eax, dword ptr [ebp + 0x10] */ 3775 ebp = POP32_VAL(esp); /* 0x2B01E467: pop ebp */ 3776 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E468: ret */ 3777 RECOMP_REGS_OUT(); 3778 } 3779 3780 void sub_2B01E315(void) { 3781 int _fpu_cmp = 0; 3782 uint32_t _cf = 0; 3783 int _df = 1; 3784 uint32_t _flag_k = FK_NONE; 3785 uint32_t _flag_a = 0, _flag_b = 0; 3786 uint32_t _itail_tgt = 0; 3787 RECOMP_REGS_LOCALS 3788 RECOMP_ENTER(0x2B01E315u); 3789 3790 L_2B01E315: 3791 eax = MEM32(0x2B0B515C); /* 0x2B01E315: mov eax, dword ptr [0x2b0b515c] */ 3792 esi = MEM32(eax); /* 0x2B01E31A: mov esi, dword ptr [eax] */ 3793 eax = MEM32(ecx + 0x8); /* 0x2B01E31C: mov eax, dword ptr [ecx + 8] */ 3794 edi = eax; /* 0x2B01E31F: mov edi, eax */ 3795 /* cmp esi, edi */ /* 0x2B01E321: cmp esi, edi */ 3796 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 3797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3798 _flag_k = FK_CMP; 3799 MEM32(ebp + 0x10) = edi; /* 0x2B01E323: mov dword ptr [ebp + 0x10], edi */ 3800 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E32D; /* 0x2B01E326: jae 0x2b01e32d */ 3801 L_2B01E328: 3802 MEM32(ebp + 0x10) = esi; /* 0x2B01E328: mov dword ptr [ebp + 0x10], esi */ 3803 edi = esi; /* 0x2B01E32B: mov edi, esi */ 3804 L_2B01E32D: 3805 /* cmp ebx, ecx */ /* 0x2B01E32D: cmp ebx, ecx */ 3806 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 3807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3808 _flag_k = FK_CMP; 3809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E39C; /* 0x2B01E32F: jne 0x2b01e39c */ 3810 L_2B01E331: 3811 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B01E331: cmp dword ptr [ebx + 8], edi */ 3812 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 3813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3814 _flag_k = FK_CMP; 3815 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E33F; /* 0x2B01E334: jae 0x2b01e33f */ 3816 L_2B01E336: 3817 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B01E336: call dword ptr [0x2b0b519c] */ 3818 RECOMP_FLAGS_IN(); 3819 ecx = MEM32(ebp + 0x8); /* 0x2B01E33C: mov ecx, dword ptr [ebp + 8] */ 3820 L_2B01E33F: 3821 eax = MEM32(ebx + 0x8); /* 0x2B01E33F: mov eax, dword ptr [ebx + 8] */ 3822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3824 eax = eax - edi; /* 0x2B01E342: sub eax, edi */ 3825 _flag_k = FK_CMP; 3826 /* cmp eax, esi */ /* 0x2B01E344: cmp eax, esi */ 3827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3829 _flag_k = FK_CMP; 3830 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E34A; /* 0x2B01E346: jae 0x2b01e34a */ 3831 L_2B01E348: 3832 esi = eax; /* 0x2B01E348: mov esi, eax */ 3833 L_2B01E34A: 3834 /* test esi, esi */ /* 0x2B01E34A: test esi, esi */ 3835 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3836 _cf = 0; 3837 _flag_k = FK_TEST; 3838 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E449; /* 0x2B01E34C: jbe 0x2b01e449 */ 3839 L_2B01E352: 3840 ecx = ebx; /* 0x2B01E352: mov ecx, ebx */ 3841 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B01E354: call dword ptr [0x2b0b516c] */ 3842 RECOMP_FLAGS_IN(); 3843 edx = MEM32(ebx + 0x8); /* 0x2B01E35A: mov edx, dword ptr [ebx + 8] */ 3844 ecx = MEM32(ebx + 0x4); /* 0x2B01E35D: mov ecx, dword ptr [ebx + 4] */ 3845 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 3846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3847 edx = edx - esi; /* 0x2B01E360: sub edx, esi */ 3848 _flag_k = FK_CMP; 3849 eax = ecx + edi; /* 0x2B01E362: lea eax, [ecx + edi] */ 3850 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 3851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3852 edx = edx - edi; /* 0x2B01E365: sub edx, edi */ 3853 _flag_k = FK_CMP; 3854 PUSH32(esp, edx); /* 0x2B01E367: push edx */ 3855 ecx = eax + esi; /* 0x2B01E368: lea ecx, [eax + esi] */ 3856 PUSH32(esp, ecx); /* 0x2B01E36B: push ecx */ 3857 PUSH32(esp, eax); /* 0x2B01E36C: push eax */ 3858 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B01E36D: call dword ptr [0x2b0b51d4] */ 3859 RECOMP_FLAGS_IN(); 3860 edi = MEM32(ebx + 0x8); /* 0x2B01E373: mov edi, dword ptr [ebx + 8] */ 3861 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 3862 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3863 esp = esp + 0xCu; /* 0x2B01E376: add esp, 0xc */ 3864 _flag_k = FK_ADD; 3865 PUSH32(esp, 0); /* 0x2B01E379: push 0 */ 3866 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3868 edi = edi - esi; /* 0x2B01E37B: sub edi, esi */ 3869 _flag_k = FK_CMP; 3870 PUSH32(esp, edi); /* 0x2B01E37D: push edi */ 3871 ecx = ebx; /* 0x2B01E37E: mov ecx, ebx */ 3872 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E380: call dword ptr [0x2b0b5154] */ 3873 RECOMP_FLAGS_IN(); 3874 /* test LO8(eax), LO8(eax) */ /* 0x2B01E386: test al, al */ 3875 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3876 _cf = 0; 3877 _flag_k = FK_NARROW(FK_TEST, 24); 3878 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E388: je 0x2b01e446 */ 3879 L_2B01E38E: 3880 PUSH32(esp, edi); /* 0x2B01E38E: push edi */ 3881 ecx = ebx; /* 0x2B01E38F: mov ecx, ebx */ 3882 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01E391: call dword ptr [0x2b0b5150] */ 3883 RECOMP_FLAGS_IN(); 3884 goto L_2B01E446; /* 0x2B01E397: jmp 0x2b01e446 */ 3885 L_2B01E39C: 3886 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3887 esi = 0; /* 0x2B01E39C: xor esi, esi */ 3888 _cf = 0; 3889 _flag_k = FK_TEST; 3890 /* cmp edi, esi */ /* 0x2B01E39E: cmp edi, esi */ 3891 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 3892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3893 _flag_k = FK_CMP; 3894 if (CMP_BE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A0: jbe 0x2b01e407 */ 3895 L_2B01E3A2: 3896 /* cmp edi, eax */ /* 0x2B01E3A2: cmp edi, eax */ 3897 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 3898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3899 _flag_k = FK_CMP; 3900 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A4: jne 0x2b01e407 */ 3901 L_2B01E3A6: 3902 eax = MEM32(ecx + 0x4); /* 0x2B01E3A6: mov eax, dword ptr [ecx + 4] */ 3903 /* cmp eax, esi */ /* 0x2B01E3A9: cmp eax, esi */ 3904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3906 _flag_k = FK_CMP; 3907 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3B2; /* 0x2B01E3AB: jne 0x2b01e3b2 */ 3908 L_2B01E3AD: 3909 eax = MEM32(0x2B0B513C); /* 0x2B01E3AD: mov eax, dword ptr [0x2b0b513c] */ 3910 L_2B01E3B2: 3911 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B01E3B2: cmp byte ptr [eax - 1], 0xfe */ 3912 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 3913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3914 _flag_k = FK_NARROW(FK_CMP, 24); 3915 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3B6: jae 0x2b01e407 */ 3916 L_2B01E3B8: 3917 eax = MEM32(ebx + 0x4); /* 0x2B01E3B8: mov eax, dword ptr [ebx + 4] */ 3918 /* cmp eax, esi */ /* 0x2B01E3BB: cmp eax, esi */ 3919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3921 _flag_k = FK_CMP; 3922 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3DE; /* 0x2B01E3BD: je 0x2b01e3de */ 3923 L_2B01E3BF: 3924 edx = eax + (-0x1); /* 0x2B01E3BF: lea edx, [eax - 1] */ 3925 SET_LO8(eax, MEM8(edx)); /* 0x2B01E3C2: mov al, byte ptr [edx] */ 3926 /* test LO8(eax), LO8(eax) */ /* 0x2B01E3C4: test al, al */ 3927 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3928 _cf = 0; 3929 _flag_k = FK_NARROW(FK_TEST, 24); 3930 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3C6: je 0x2b01e3d2 */ 3931 L_2B01E3C8: 3932 /* cmp LO8(eax), 0xFFu */ /* 0x2B01E3C8: cmp al, 0xff */ 3933 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3935 _flag_k = FK_NARROW(FK_CMP, 24); 3936 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3CA: je 0x2b01e3d2 */ 3937 L_2B01E3CC: 3938 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3939 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01E3CC: dec al */ 3940 _flag_k = FK_NARROW(FK_DEC, 24); 3941 MEM8(edx) = (uint8_t)(LO8(eax)); /* 0x2B01E3CE: mov byte ptr [edx], al */ 3942 goto L_2B01E3DE; /* 0x2B01E3D0: jmp 0x2b01e3de */ 3943 L_2B01E3D2: 3944 PUSH32(esp, edx); /* 0x2B01E3D2: push edx */ 3945 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E3D3: call 0x2b0ab1ba */ /* not lifted */ 3946 RECOMP_FLAGS_IN(); 3947 ecx = MEM32(ebp + 0x8); /* 0x2B01E3D8: mov ecx, dword ptr [ebp + 8] */ 3948 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3950 esp = esp + 4; /* 0x2B01E3DB: add esp, 4 */ 3951 _flag_k = FK_ADD; 3952 L_2B01E3DE: 3953 MEM32(ebx + 0x4) = esi; /* 0x2B01E3DE: mov dword ptr [ebx + 4], esi */ 3954 MEM32(ebx + 0x8) = esi; /* 0x2B01E3E1: mov dword ptr [ebx + 8], esi */ 3955 MEM32(ebx + 0xC) = esi; /* 0x2B01E3E4: mov dword ptr [ebx + 0xc], esi */ 3956 eax = MEM32(ecx + 0x4); /* 0x2B01E3E7: mov eax, dword ptr [ecx + 4] */ 3957 /* cmp eax, esi */ /* 0x2B01E3EA: cmp eax, esi */ 3958 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3960 _flag_k = FK_CMP; 3961 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3F3; /* 0x2B01E3EC: jne 0x2b01e3f3 */ 3962 L_2B01E3EE: 3963 eax = MEM32(0x2B0B513C); /* 0x2B01E3EE: mov eax, dword ptr [0x2b0b513c] */ 3964 L_2B01E3F3: 3965 MEM32(ebx + 0x4) = eax; /* 0x2B01E3F3: mov dword ptr [ebx + 4], eax */ 3966 edx = MEM32(ecx + 0x8); /* 0x2B01E3F6: mov edx, dword ptr [ecx + 8] */ 3967 MEM32(ebx + 0x8) = edx; /* 0x2B01E3F9: mov dword ptr [ebx + 8], edx */ 3968 edx = MEM32(ecx + 0xC); /* 0x2B01E3FC: mov edx, dword ptr [ecx + 0xc] */ 3969 MEM32(ebx + 0xC) = edx; /* 0x2B01E3FF: mov dword ptr [ebx + 0xc], edx */ 3970 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 3971 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B01E402: inc byte ptr [eax - 1] */ 3972 _flag_k = FK_NARROW(FK_INC, 24); 3973 goto L_2B01E449; /* 0x2B01E405: jmp 0x2b01e449 */ 3974 L_2B01E407: 3975 PUSH32(esp, 1); /* 0x2B01E407: push 1 */ 3976 PUSH32(esp, edi); /* 0x2B01E409: push edi */ 3977 ecx = ebx; /* 0x2B01E40A: mov ecx, ebx */ 3978 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E40C: call dword ptr [0x2b0b5154] */ 3979 RECOMP_FLAGS_IN(); 3980 /* test LO8(eax), LO8(eax) */ /* 0x2B01E412: test al, al */ 3981 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3982 _cf = 0; 3983 _flag_k = FK_NARROW(FK_TEST, 24); 3984 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E414: je 0x2b01e446 */ 3985 L_2B01E416: 3986 eax = MEM32(ebp + 0x8); /* 0x2B01E416: mov eax, dword ptr [ebp + 8] */ 3987 esi = MEM32(eax + 0x4); /* 0x2B01E419: mov esi, dword ptr [eax + 4] */ 3988 /* test esi, esi */ /* 0x2B01E41C: test esi, esi */ 3989 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3990 _cf = 0; 3991 _flag_k = FK_TEST; 3992 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E426; /* 0x2B01E41E: jne 0x2b01e426 */ 3993 L_2B01E420: 3994 esi = MEM32(0x2B0B513C); /* 0x2B01E420: mov esi, dword ptr [0x2b0b513c] */ 3995 L_2B01E426: 3996 eax = MEM32(ebp + 0x10); /* 0x2B01E426: mov eax, dword ptr [ebp + 0x10] */ 3997 ecx = edi; /* 0x2B01E429: mov ecx, edi */ 3998 edi = MEM32(ebx + 0x4); /* 0x2B01E42B: mov edi, dword ptr [ebx + 4] */ 3999 edx = ecx; /* 0x2B01E42E: mov edx, ecx */ 4000 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E430: shr ecx, 2 */ 4001 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4002 ecx = ecx >> 2u; /* 0x2B01E430: shr ecx, 2 */ 4003 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01E433: 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; } 4004 ecx = edx; /* 0x2B01E435: mov ecx, edx */ 4005 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4006 ecx = ecx & 3; /* 0x2B01E437: and ecx, 3 */ 4007 _cf = 0; 4008 _flag_k = FK_TEST; 4009 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01E43A: 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; } 4010 ecx = MEM32(ebx + 0x4); /* 0x2B01E43C: mov ecx, dword ptr [ebx + 4] */ 4011 MEM32(ebx + 0x8) = eax; /* 0x2B01E43F: mov dword ptr [ebx + 8], eax */ 4012 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B01E442: mov byte ptr [ecx + eax], 0 */ 4013 L_2B01E446: 4014 ecx = MEM32(ebp + 0x8); /* 0x2B01E446: mov ecx, dword ptr [ebp + 8] */ 4015 L_2B01E449: 4016 eax = MEM32(ebp + 0xC); /* 0x2B01E449: mov eax, dword ptr [ebp + 0xc] */ 4017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 4018 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4019 ecx = ecx + 0x10u; /* 0x2B01E44C: add ecx, 0x10 */ 4020 _flag_k = FK_ADD; 4021 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 4022 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4023 ebx = ebx + 0x10u; /* 0x2B01E44F: add ebx, 0x10 */ 4024 _flag_k = FK_ADD; 4025 /* cmp ecx, eax */ /* 0x2B01E452: cmp ecx, eax */ 4026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4028 _flag_k = FK_CMP; 4029 MEM32(ebp + 0x8) = ecx; /* 0x2B01E454: mov dword ptr [ebp + 8], ecx */ 4030 RECOMP_BACKEDGE(); 4031 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E315; /* 0x2B01E457: jne 0x2b01e315 */ 4032 L_2B01E45D: 4033 edi = POP32_VAL(esp); /* 0x2B01E45D: pop edi */ 4034 esi = POP32_VAL(esp); /* 0x2B01E45E: pop esi */ 4035 eax = ebx; /* 0x2B01E45F: mov eax, ebx */ 4036 ebx = POP32_VAL(esp); /* 0x2B01E461: pop ebx */ 4037 ebp = POP32_VAL(esp); /* 0x2B01E462: pop ebp */ 4038 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E463: ret */ 4039 RECOMP_REGS_OUT(); 4040 } 4041 4042 void sub_2B01E3DE(void) { 4043 int _fpu_cmp = 0; 4044 uint32_t _cf = 0; 4045 int _df = 1; 4046 uint32_t _flag_k = FK_NONE; 4047 uint32_t _flag_a = 0, _flag_b = 0; 4048 uint32_t _itail_tgt = 0; 4049 RECOMP_REGS_LOCALS 4050 RECOMP_ENTER(0x2B01E3DEu); 4051 4052 goto L_2B01E3DE; 4053 L_2B01E315: 4054 eax = MEM32(0x2B0B515C); /* 0x2B01E315: mov eax, dword ptr [0x2b0b515c] */ 4055 esi = MEM32(eax); /* 0x2B01E31A: mov esi, dword ptr [eax] */ 4056 eax = MEM32(ecx + 0x8); /* 0x2B01E31C: mov eax, dword ptr [ecx + 8] */ 4057 edi = eax; /* 0x2B01E31F: mov edi, eax */ 4058 /* cmp esi, edi */ /* 0x2B01E321: cmp esi, edi */ 4059 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 4060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4061 _flag_k = FK_CMP; 4062 MEM32(ebp + 0x10) = edi; /* 0x2B01E323: mov dword ptr [ebp + 0x10], edi */ 4063 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E32D; /* 0x2B01E326: jae 0x2b01e32d */ 4064 L_2B01E328: 4065 MEM32(ebp + 0x10) = esi; /* 0x2B01E328: mov dword ptr [ebp + 0x10], esi */ 4066 edi = esi; /* 0x2B01E32B: mov edi, esi */ 4067 L_2B01E32D: 4068 /* cmp ebx, ecx */ /* 0x2B01E32D: cmp ebx, ecx */ 4069 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 4070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4071 _flag_k = FK_CMP; 4072 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E39C; /* 0x2B01E32F: jne 0x2b01e39c */ 4073 L_2B01E331: 4074 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B01E331: cmp dword ptr [ebx + 8], edi */ 4075 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 4076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4077 _flag_k = FK_CMP; 4078 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E33F; /* 0x2B01E334: jae 0x2b01e33f */ 4079 L_2B01E336: 4080 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B01E336: call dword ptr [0x2b0b519c] */ 4081 RECOMP_FLAGS_IN(); 4082 ecx = MEM32(ebp + 0x8); /* 0x2B01E33C: mov ecx, dword ptr [ebp + 8] */ 4083 L_2B01E33F: 4084 eax = MEM32(ebx + 0x8); /* 0x2B01E33F: mov eax, dword ptr [ebx + 8] */ 4085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4087 eax = eax - edi; /* 0x2B01E342: sub eax, edi */ 4088 _flag_k = FK_CMP; 4089 /* cmp eax, esi */ /* 0x2B01E344: cmp eax, esi */ 4090 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4092 _flag_k = FK_CMP; 4093 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E34A; /* 0x2B01E346: jae 0x2b01e34a */ 4094 L_2B01E348: 4095 esi = eax; /* 0x2B01E348: mov esi, eax */ 4096 L_2B01E34A: 4097 /* test esi, esi */ /* 0x2B01E34A: test esi, esi */ 4098 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4099 _cf = 0; 4100 _flag_k = FK_TEST; 4101 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E449; /* 0x2B01E34C: jbe 0x2b01e449 */ 4102 L_2B01E352: 4103 ecx = ebx; /* 0x2B01E352: mov ecx, ebx */ 4104 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B01E354: call dword ptr [0x2b0b516c] */ 4105 RECOMP_FLAGS_IN(); 4106 edx = MEM32(ebx + 0x8); /* 0x2B01E35A: mov edx, dword ptr [ebx + 8] */ 4107 ecx = MEM32(ebx + 0x4); /* 0x2B01E35D: mov ecx, dword ptr [ebx + 4] */ 4108 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4110 edx = edx - esi; /* 0x2B01E360: sub edx, esi */ 4111 _flag_k = FK_CMP; 4112 eax = ecx + edi; /* 0x2B01E362: lea eax, [ecx + edi] */ 4113 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 4114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4115 edx = edx - edi; /* 0x2B01E365: sub edx, edi */ 4116 _flag_k = FK_CMP; 4117 PUSH32(esp, edx); /* 0x2B01E367: push edx */ 4118 ecx = eax + esi; /* 0x2B01E368: lea ecx, [eax + esi] */ 4119 PUSH32(esp, ecx); /* 0x2B01E36B: push ecx */ 4120 PUSH32(esp, eax); /* 0x2B01E36C: push eax */ 4121 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B01E36D: call dword ptr [0x2b0b51d4] */ 4122 RECOMP_FLAGS_IN(); 4123 edi = MEM32(ebx + 0x8); /* 0x2B01E373: mov edi, dword ptr [ebx + 8] */ 4124 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4125 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4126 esp = esp + 0xCu; /* 0x2B01E376: add esp, 0xc */ 4127 _flag_k = FK_ADD; 4128 PUSH32(esp, 0); /* 0x2B01E379: push 0 */ 4129 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4131 edi = edi - esi; /* 0x2B01E37B: sub edi, esi */ 4132 _flag_k = FK_CMP; 4133 PUSH32(esp, edi); /* 0x2B01E37D: push edi */ 4134 ecx = ebx; /* 0x2B01E37E: mov ecx, ebx */ 4135 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E380: call dword ptr [0x2b0b5154] */ 4136 RECOMP_FLAGS_IN(); 4137 /* test LO8(eax), LO8(eax) */ /* 0x2B01E386: test al, al */ 4138 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4139 _cf = 0; 4140 _flag_k = FK_NARROW(FK_TEST, 24); 4141 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E388: je 0x2b01e446 */ 4142 L_2B01E38E: 4143 PUSH32(esp, edi); /* 0x2B01E38E: push edi */ 4144 ecx = ebx; /* 0x2B01E38F: mov ecx, ebx */ 4145 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01E391: call dword ptr [0x2b0b5150] */ 4146 RECOMP_FLAGS_IN(); 4147 goto L_2B01E446; /* 0x2B01E397: jmp 0x2b01e446 */ 4148 L_2B01E39C: 4149 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4150 esi = 0; /* 0x2B01E39C: xor esi, esi */ 4151 _cf = 0; 4152 _flag_k = FK_TEST; 4153 /* cmp edi, esi */ /* 0x2B01E39E: cmp edi, esi */ 4154 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4156 _flag_k = FK_CMP; 4157 if (CMP_BE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A0: jbe 0x2b01e407 */ 4158 L_2B01E3A2: 4159 /* cmp edi, eax */ /* 0x2B01E3A2: cmp edi, eax */ 4160 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 4161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4162 _flag_k = FK_CMP; 4163 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A4: jne 0x2b01e407 */ 4164 L_2B01E3A6: 4165 eax = MEM32(ecx + 0x4); /* 0x2B01E3A6: mov eax, dword ptr [ecx + 4] */ 4166 /* cmp eax, esi */ /* 0x2B01E3A9: cmp eax, esi */ 4167 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4169 _flag_k = FK_CMP; 4170 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3B2; /* 0x2B01E3AB: jne 0x2b01e3b2 */ 4171 L_2B01E3AD: 4172 eax = MEM32(0x2B0B513C); /* 0x2B01E3AD: mov eax, dword ptr [0x2b0b513c] */ 4173 L_2B01E3B2: 4174 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B01E3B2: cmp byte ptr [eax - 1], 0xfe */ 4175 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 4176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4177 _flag_k = FK_NARROW(FK_CMP, 24); 4178 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3B6: jae 0x2b01e407 */ 4179 L_2B01E3B8: 4180 eax = MEM32(ebx + 0x4); /* 0x2B01E3B8: mov eax, dword ptr [ebx + 4] */ 4181 /* cmp eax, esi */ /* 0x2B01E3BB: cmp eax, esi */ 4182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4184 _flag_k = FK_CMP; 4185 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3DE; /* 0x2B01E3BD: je 0x2b01e3de */ 4186 L_2B01E3BF: 4187 edx = eax + (-0x1); /* 0x2B01E3BF: lea edx, [eax - 1] */ 4188 SET_LO8(eax, MEM8(edx)); /* 0x2B01E3C2: mov al, byte ptr [edx] */ 4189 /* test LO8(eax), LO8(eax) */ /* 0x2B01E3C4: test al, al */ 4190 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4191 _cf = 0; 4192 _flag_k = FK_NARROW(FK_TEST, 24); 4193 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3C6: je 0x2b01e3d2 */ 4194 L_2B01E3C8: 4195 /* cmp LO8(eax), 0xFFu */ /* 0x2B01E3C8: cmp al, 0xff */ 4196 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4198 _flag_k = FK_NARROW(FK_CMP, 24); 4199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3CA: je 0x2b01e3d2 */ 4200 L_2B01E3CC: 4201 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4202 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01E3CC: dec al */ 4203 _flag_k = FK_NARROW(FK_DEC, 24); 4204 MEM8(edx) = (uint8_t)(LO8(eax)); /* 0x2B01E3CE: mov byte ptr [edx], al */ 4205 goto L_2B01E3DE; /* 0x2B01E3D0: jmp 0x2b01e3de */ 4206 L_2B01E3D2: 4207 PUSH32(esp, edx); /* 0x2B01E3D2: push edx */ 4208 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E3D3: call 0x2b0ab1ba */ /* not lifted */ 4209 RECOMP_FLAGS_IN(); 4210 ecx = MEM32(ebp + 0x8); /* 0x2B01E3D8: mov ecx, dword ptr [ebp + 8] */ 4211 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4213 esp = esp + 4; /* 0x2B01E3DB: add esp, 4 */ 4214 _flag_k = FK_ADD; 4215 L_2B01E3DE: 4216 MEM32(ebx + 0x4) = esi; /* 0x2B01E3DE: mov dword ptr [ebx + 4], esi */ 4217 MEM32(ebx + 0x8) = esi; /* 0x2B01E3E1: mov dword ptr [ebx + 8], esi */ 4218 MEM32(ebx + 0xC) = esi; /* 0x2B01E3E4: mov dword ptr [ebx + 0xc], esi */ 4219 eax = MEM32(ecx + 0x4); /* 0x2B01E3E7: mov eax, dword ptr [ecx + 4] */ 4220 /* cmp eax, esi */ /* 0x2B01E3EA: cmp eax, esi */ 4221 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4223 _flag_k = FK_CMP; 4224 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3F3; /* 0x2B01E3EC: jne 0x2b01e3f3 */ 4225 L_2B01E3EE: 4226 eax = MEM32(0x2B0B513C); /* 0x2B01E3EE: mov eax, dword ptr [0x2b0b513c] */ 4227 L_2B01E3F3: 4228 MEM32(ebx + 0x4) = eax; /* 0x2B01E3F3: mov dword ptr [ebx + 4], eax */ 4229 edx = MEM32(ecx + 0x8); /* 0x2B01E3F6: mov edx, dword ptr [ecx + 8] */ 4230 MEM32(ebx + 0x8) = edx; /* 0x2B01E3F9: mov dword ptr [ebx + 8], edx */ 4231 edx = MEM32(ecx + 0xC); /* 0x2B01E3FC: mov edx, dword ptr [ecx + 0xc] */ 4232 MEM32(ebx + 0xC) = edx; /* 0x2B01E3FF: mov dword ptr [ebx + 0xc], edx */ 4233 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 4234 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B01E402: inc byte ptr [eax - 1] */ 4235 _flag_k = FK_NARROW(FK_INC, 24); 4236 goto L_2B01E449; /* 0x2B01E405: jmp 0x2b01e449 */ 4237 L_2B01E407: 4238 PUSH32(esp, 1); /* 0x2B01E407: push 1 */ 4239 PUSH32(esp, edi); /* 0x2B01E409: push edi */ 4240 ecx = ebx; /* 0x2B01E40A: mov ecx, ebx */ 4241 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E40C: call dword ptr [0x2b0b5154] */ 4242 RECOMP_FLAGS_IN(); 4243 /* test LO8(eax), LO8(eax) */ /* 0x2B01E412: test al, al */ 4244 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4245 _cf = 0; 4246 _flag_k = FK_NARROW(FK_TEST, 24); 4247 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E414: je 0x2b01e446 */ 4248 L_2B01E416: 4249 eax = MEM32(ebp + 0x8); /* 0x2B01E416: mov eax, dword ptr [ebp + 8] */ 4250 esi = MEM32(eax + 0x4); /* 0x2B01E419: mov esi, dword ptr [eax + 4] */ 4251 /* test esi, esi */ /* 0x2B01E41C: test esi, esi */ 4252 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4253 _cf = 0; 4254 _flag_k = FK_TEST; 4255 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E426; /* 0x2B01E41E: jne 0x2b01e426 */ 4256 L_2B01E420: 4257 esi = MEM32(0x2B0B513C); /* 0x2B01E420: mov esi, dword ptr [0x2b0b513c] */ 4258 L_2B01E426: 4259 eax = MEM32(ebp + 0x10); /* 0x2B01E426: mov eax, dword ptr [ebp + 0x10] */ 4260 ecx = edi; /* 0x2B01E429: mov ecx, edi */ 4261 edi = MEM32(ebx + 0x4); /* 0x2B01E42B: mov edi, dword ptr [ebx + 4] */ 4262 edx = ecx; /* 0x2B01E42E: mov edx, ecx */ 4263 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E430: shr ecx, 2 */ 4264 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4265 ecx = ecx >> 2u; /* 0x2B01E430: shr ecx, 2 */ 4266 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01E433: 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; } 4267 ecx = edx; /* 0x2B01E435: mov ecx, edx */ 4268 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4269 ecx = ecx & 3; /* 0x2B01E437: and ecx, 3 */ 4270 _cf = 0; 4271 _flag_k = FK_TEST; 4272 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01E43A: 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; } 4273 ecx = MEM32(ebx + 0x4); /* 0x2B01E43C: mov ecx, dword ptr [ebx + 4] */ 4274 MEM32(ebx + 0x8) = eax; /* 0x2B01E43F: mov dword ptr [ebx + 8], eax */ 4275 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B01E442: mov byte ptr [ecx + eax], 0 */ 4276 L_2B01E446: 4277 ecx = MEM32(ebp + 0x8); /* 0x2B01E446: mov ecx, dword ptr [ebp + 8] */ 4278 L_2B01E449: 4279 eax = MEM32(ebp + 0xC); /* 0x2B01E449: mov eax, dword ptr [ebp + 0xc] */ 4280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 4281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4282 ecx = ecx + 0x10u; /* 0x2B01E44C: add ecx, 0x10 */ 4283 _flag_k = FK_ADD; 4284 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 4285 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4286 ebx = ebx + 0x10u; /* 0x2B01E44F: add ebx, 0x10 */ 4287 _flag_k = FK_ADD; 4288 /* cmp ecx, eax */ /* 0x2B01E452: cmp ecx, eax */ 4289 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4291 _flag_k = FK_CMP; 4292 MEM32(ebp + 0x8) = ecx; /* 0x2B01E454: mov dword ptr [ebp + 8], ecx */ 4293 RECOMP_BACKEDGE(); 4294 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E315; /* 0x2B01E457: jne 0x2b01e315 */ 4295 L_2B01E45D: 4296 edi = POP32_VAL(esp); /* 0x2B01E45D: pop edi */ 4297 esi = POP32_VAL(esp); /* 0x2B01E45E: pop esi */ 4298 eax = ebx; /* 0x2B01E45F: mov eax, ebx */ 4299 ebx = POP32_VAL(esp); /* 0x2B01E461: pop ebx */ 4300 ebp = POP32_VAL(esp); /* 0x2B01E462: pop ebp */ 4301 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E463: ret */ 4302 RECOMP_REGS_OUT(); 4303 } 4304 4305 void sub_2B01E407(void) { 4306 int _fpu_cmp = 0; 4307 uint32_t _cf = 0; 4308 int _df = 1; 4309 uint32_t _flag_k = FK_NONE; 4310 uint32_t _flag_a = 0, _flag_b = 0; 4311 uint32_t _itail_tgt = 0; 4312 RECOMP_REGS_LOCALS 4313 RECOMP_ENTER(0x2B01E407u); 4314 4315 goto L_2B01E407; 4316 L_2B01E315: 4317 eax = MEM32(0x2B0B515C); /* 0x2B01E315: mov eax, dword ptr [0x2b0b515c] */ 4318 esi = MEM32(eax); /* 0x2B01E31A: mov esi, dword ptr [eax] */ 4319 eax = MEM32(ecx + 0x8); /* 0x2B01E31C: mov eax, dword ptr [ecx + 8] */ 4320 edi = eax; /* 0x2B01E31F: mov edi, eax */ 4321 /* cmp esi, edi */ /* 0x2B01E321: cmp esi, edi */ 4322 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 4323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4324 _flag_k = FK_CMP; 4325 MEM32(ebp + 0x10) = edi; /* 0x2B01E323: mov dword ptr [ebp + 0x10], edi */ 4326 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E32D; /* 0x2B01E326: jae 0x2b01e32d */ 4327 L_2B01E328: 4328 MEM32(ebp + 0x10) = esi; /* 0x2B01E328: mov dword ptr [ebp + 0x10], esi */ 4329 edi = esi; /* 0x2B01E32B: mov edi, esi */ 4330 L_2B01E32D: 4331 /* cmp ebx, ecx */ /* 0x2B01E32D: cmp ebx, ecx */ 4332 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 4333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4334 _flag_k = FK_CMP; 4335 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E39C; /* 0x2B01E32F: jne 0x2b01e39c */ 4336 L_2B01E331: 4337 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B01E331: cmp dword ptr [ebx + 8], edi */ 4338 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 4339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4340 _flag_k = FK_CMP; 4341 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E33F; /* 0x2B01E334: jae 0x2b01e33f */ 4342 L_2B01E336: 4343 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B01E336: call dword ptr [0x2b0b519c] */ 4344 RECOMP_FLAGS_IN(); 4345 ecx = MEM32(ebp + 0x8); /* 0x2B01E33C: mov ecx, dword ptr [ebp + 8] */ 4346 L_2B01E33F: 4347 eax = MEM32(ebx + 0x8); /* 0x2B01E33F: mov eax, dword ptr [ebx + 8] */ 4348 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4350 eax = eax - edi; /* 0x2B01E342: sub eax, edi */ 4351 _flag_k = FK_CMP; 4352 /* cmp eax, esi */ /* 0x2B01E344: cmp eax, esi */ 4353 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4355 _flag_k = FK_CMP; 4356 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E34A; /* 0x2B01E346: jae 0x2b01e34a */ 4357 L_2B01E348: 4358 esi = eax; /* 0x2B01E348: mov esi, eax */ 4359 L_2B01E34A: 4360 /* test esi, esi */ /* 0x2B01E34A: test esi, esi */ 4361 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4362 _cf = 0; 4363 _flag_k = FK_TEST; 4364 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E449; /* 0x2B01E34C: jbe 0x2b01e449 */ 4365 L_2B01E352: 4366 ecx = ebx; /* 0x2B01E352: mov ecx, ebx */ 4367 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B01E354: call dword ptr [0x2b0b516c] */ 4368 RECOMP_FLAGS_IN(); 4369 edx = MEM32(ebx + 0x8); /* 0x2B01E35A: mov edx, dword ptr [ebx + 8] */ 4370 ecx = MEM32(ebx + 0x4); /* 0x2B01E35D: mov ecx, dword ptr [ebx + 4] */ 4371 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4373 edx = edx - esi; /* 0x2B01E360: sub edx, esi */ 4374 _flag_k = FK_CMP; 4375 eax = ecx + edi; /* 0x2B01E362: lea eax, [ecx + edi] */ 4376 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 4377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4378 edx = edx - edi; /* 0x2B01E365: sub edx, edi */ 4379 _flag_k = FK_CMP; 4380 PUSH32(esp, edx); /* 0x2B01E367: push edx */ 4381 ecx = eax + esi; /* 0x2B01E368: lea ecx, [eax + esi] */ 4382 PUSH32(esp, ecx); /* 0x2B01E36B: push ecx */ 4383 PUSH32(esp, eax); /* 0x2B01E36C: push eax */ 4384 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B01E36D: call dword ptr [0x2b0b51d4] */ 4385 RECOMP_FLAGS_IN(); 4386 edi = MEM32(ebx + 0x8); /* 0x2B01E373: mov edi, dword ptr [ebx + 8] */ 4387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4389 esp = esp + 0xCu; /* 0x2B01E376: add esp, 0xc */ 4390 _flag_k = FK_ADD; 4391 PUSH32(esp, 0); /* 0x2B01E379: push 0 */ 4392 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4394 edi = edi - esi; /* 0x2B01E37B: sub edi, esi */ 4395 _flag_k = FK_CMP; 4396 PUSH32(esp, edi); /* 0x2B01E37D: push edi */ 4397 ecx = ebx; /* 0x2B01E37E: mov ecx, ebx */ 4398 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E380: call dword ptr [0x2b0b5154] */ 4399 RECOMP_FLAGS_IN(); 4400 /* test LO8(eax), LO8(eax) */ /* 0x2B01E386: test al, al */ 4401 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4402 _cf = 0; 4403 _flag_k = FK_NARROW(FK_TEST, 24); 4404 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E388: je 0x2b01e446 */ 4405 L_2B01E38E: 4406 PUSH32(esp, edi); /* 0x2B01E38E: push edi */ 4407 ecx = ebx; /* 0x2B01E38F: mov ecx, ebx */ 4408 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01E391: call dword ptr [0x2b0b5150] */ 4409 RECOMP_FLAGS_IN(); 4410 goto L_2B01E446; /* 0x2B01E397: jmp 0x2b01e446 */ 4411 L_2B01E39C: 4412 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4413 esi = 0; /* 0x2B01E39C: xor esi, esi */ 4414 _cf = 0; 4415 _flag_k = FK_TEST; 4416 /* cmp edi, esi */ /* 0x2B01E39E: cmp edi, esi */ 4417 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4419 _flag_k = FK_CMP; 4420 if (CMP_BE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A0: jbe 0x2b01e407 */ 4421 L_2B01E3A2: 4422 /* cmp edi, eax */ /* 0x2B01E3A2: cmp edi, eax */ 4423 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 4424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4425 _flag_k = FK_CMP; 4426 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A4: jne 0x2b01e407 */ 4427 L_2B01E3A6: 4428 eax = MEM32(ecx + 0x4); /* 0x2B01E3A6: mov eax, dword ptr [ecx + 4] */ 4429 /* cmp eax, esi */ /* 0x2B01E3A9: cmp eax, esi */ 4430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4432 _flag_k = FK_CMP; 4433 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3B2; /* 0x2B01E3AB: jne 0x2b01e3b2 */ 4434 L_2B01E3AD: 4435 eax = MEM32(0x2B0B513C); /* 0x2B01E3AD: mov eax, dword ptr [0x2b0b513c] */ 4436 L_2B01E3B2: 4437 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B01E3B2: cmp byte ptr [eax - 1], 0xfe */ 4438 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 4439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4440 _flag_k = FK_NARROW(FK_CMP, 24); 4441 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3B6: jae 0x2b01e407 */ 4442 L_2B01E3B8: 4443 eax = MEM32(ebx + 0x4); /* 0x2B01E3B8: mov eax, dword ptr [ebx + 4] */ 4444 /* cmp eax, esi */ /* 0x2B01E3BB: cmp eax, esi */ 4445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4447 _flag_k = FK_CMP; 4448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3DE; /* 0x2B01E3BD: je 0x2b01e3de */ 4449 L_2B01E3BF: 4450 edx = eax + (-0x1); /* 0x2B01E3BF: lea edx, [eax - 1] */ 4451 SET_LO8(eax, MEM8(edx)); /* 0x2B01E3C2: mov al, byte ptr [edx] */ 4452 /* test LO8(eax), LO8(eax) */ /* 0x2B01E3C4: test al, al */ 4453 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4454 _cf = 0; 4455 _flag_k = FK_NARROW(FK_TEST, 24); 4456 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3C6: je 0x2b01e3d2 */ 4457 L_2B01E3C8: 4458 /* cmp LO8(eax), 0xFFu */ /* 0x2B01E3C8: cmp al, 0xff */ 4459 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4461 _flag_k = FK_NARROW(FK_CMP, 24); 4462 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3CA: je 0x2b01e3d2 */ 4463 L_2B01E3CC: 4464 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4465 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01E3CC: dec al */ 4466 _flag_k = FK_NARROW(FK_DEC, 24); 4467 MEM8(edx) = (uint8_t)(LO8(eax)); /* 0x2B01E3CE: mov byte ptr [edx], al */ 4468 goto L_2B01E3DE; /* 0x2B01E3D0: jmp 0x2b01e3de */ 4469 L_2B01E3D2: 4470 PUSH32(esp, edx); /* 0x2B01E3D2: push edx */ 4471 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E3D3: call 0x2b0ab1ba */ /* not lifted */ 4472 RECOMP_FLAGS_IN(); 4473 ecx = MEM32(ebp + 0x8); /* 0x2B01E3D8: mov ecx, dword ptr [ebp + 8] */ 4474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4476 esp = esp + 4; /* 0x2B01E3DB: add esp, 4 */ 4477 _flag_k = FK_ADD; 4478 L_2B01E3DE: 4479 MEM32(ebx + 0x4) = esi; /* 0x2B01E3DE: mov dword ptr [ebx + 4], esi */ 4480 MEM32(ebx + 0x8) = esi; /* 0x2B01E3E1: mov dword ptr [ebx + 8], esi */ 4481 MEM32(ebx + 0xC) = esi; /* 0x2B01E3E4: mov dword ptr [ebx + 0xc], esi */ 4482 eax = MEM32(ecx + 0x4); /* 0x2B01E3E7: mov eax, dword ptr [ecx + 4] */ 4483 /* cmp eax, esi */ /* 0x2B01E3EA: cmp eax, esi */ 4484 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4485 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4486 _flag_k = FK_CMP; 4487 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3F3; /* 0x2B01E3EC: jne 0x2b01e3f3 */ 4488 L_2B01E3EE: 4489 eax = MEM32(0x2B0B513C); /* 0x2B01E3EE: mov eax, dword ptr [0x2b0b513c] */ 4490 L_2B01E3F3: 4491 MEM32(ebx + 0x4) = eax; /* 0x2B01E3F3: mov dword ptr [ebx + 4], eax */ 4492 edx = MEM32(ecx + 0x8); /* 0x2B01E3F6: mov edx, dword ptr [ecx + 8] */ 4493 MEM32(ebx + 0x8) = edx; /* 0x2B01E3F9: mov dword ptr [ebx + 8], edx */ 4494 edx = MEM32(ecx + 0xC); /* 0x2B01E3FC: mov edx, dword ptr [ecx + 0xc] */ 4495 MEM32(ebx + 0xC) = edx; /* 0x2B01E3FF: mov dword ptr [ebx + 0xc], edx */ 4496 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 4497 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B01E402: inc byte ptr [eax - 1] */ 4498 _flag_k = FK_NARROW(FK_INC, 24); 4499 goto L_2B01E449; /* 0x2B01E405: jmp 0x2b01e449 */ 4500 L_2B01E407: 4501 PUSH32(esp, 1); /* 0x2B01E407: push 1 */ 4502 PUSH32(esp, edi); /* 0x2B01E409: push edi */ 4503 ecx = ebx; /* 0x2B01E40A: mov ecx, ebx */ 4504 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E40C: call dword ptr [0x2b0b5154] */ 4505 RECOMP_FLAGS_IN(); 4506 /* test LO8(eax), LO8(eax) */ /* 0x2B01E412: test al, al */ 4507 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4508 _cf = 0; 4509 _flag_k = FK_NARROW(FK_TEST, 24); 4510 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E414: je 0x2b01e446 */ 4511 L_2B01E416: 4512 eax = MEM32(ebp + 0x8); /* 0x2B01E416: mov eax, dword ptr [ebp + 8] */ 4513 esi = MEM32(eax + 0x4); /* 0x2B01E419: mov esi, dword ptr [eax + 4] */ 4514 /* test esi, esi */ /* 0x2B01E41C: test esi, esi */ 4515 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4516 _cf = 0; 4517 _flag_k = FK_TEST; 4518 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E426; /* 0x2B01E41E: jne 0x2b01e426 */ 4519 L_2B01E420: 4520 esi = MEM32(0x2B0B513C); /* 0x2B01E420: mov esi, dword ptr [0x2b0b513c] */ 4521 L_2B01E426: 4522 eax = MEM32(ebp + 0x10); /* 0x2B01E426: mov eax, dword ptr [ebp + 0x10] */ 4523 ecx = edi; /* 0x2B01E429: mov ecx, edi */ 4524 edi = MEM32(ebx + 0x4); /* 0x2B01E42B: mov edi, dword ptr [ebx + 4] */ 4525 edx = ecx; /* 0x2B01E42E: mov edx, ecx */ 4526 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E430: shr ecx, 2 */ 4527 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4528 ecx = ecx >> 2u; /* 0x2B01E430: shr ecx, 2 */ 4529 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01E433: 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; } 4530 ecx = edx; /* 0x2B01E435: mov ecx, edx */ 4531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4532 ecx = ecx & 3; /* 0x2B01E437: and ecx, 3 */ 4533 _cf = 0; 4534 _flag_k = FK_TEST; 4535 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01E43A: 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; } 4536 ecx = MEM32(ebx + 0x4); /* 0x2B01E43C: mov ecx, dword ptr [ebx + 4] */ 4537 MEM32(ebx + 0x8) = eax; /* 0x2B01E43F: mov dword ptr [ebx + 8], eax */ 4538 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B01E442: mov byte ptr [ecx + eax], 0 */ 4539 L_2B01E446: 4540 ecx = MEM32(ebp + 0x8); /* 0x2B01E446: mov ecx, dword ptr [ebp + 8] */ 4541 L_2B01E449: 4542 eax = MEM32(ebp + 0xC); /* 0x2B01E449: mov eax, dword ptr [ebp + 0xc] */ 4543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 4544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4545 ecx = ecx + 0x10u; /* 0x2B01E44C: add ecx, 0x10 */ 4546 _flag_k = FK_ADD; 4547 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 4548 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4549 ebx = ebx + 0x10u; /* 0x2B01E44F: add ebx, 0x10 */ 4550 _flag_k = FK_ADD; 4551 /* cmp ecx, eax */ /* 0x2B01E452: cmp ecx, eax */ 4552 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4554 _flag_k = FK_CMP; 4555 MEM32(ebp + 0x8) = ecx; /* 0x2B01E454: mov dword ptr [ebp + 8], ecx */ 4556 RECOMP_BACKEDGE(); 4557 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E315; /* 0x2B01E457: jne 0x2b01e315 */ 4558 L_2B01E45D: 4559 edi = POP32_VAL(esp); /* 0x2B01E45D: pop edi */ 4560 esi = POP32_VAL(esp); /* 0x2B01E45E: pop esi */ 4561 eax = ebx; /* 0x2B01E45F: mov eax, ebx */ 4562 ebx = POP32_VAL(esp); /* 0x2B01E461: pop ebx */ 4563 ebp = POP32_VAL(esp); /* 0x2B01E462: pop ebp */ 4564 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E463: ret */ 4565 RECOMP_REGS_OUT(); 4566 } 4567 4568 void sub_2B01E446(void) { 4569 int _fpu_cmp = 0; 4570 uint32_t _cf = 0; 4571 int _df = 1; 4572 uint32_t _flag_k = FK_NONE; 4573 uint32_t _flag_a = 0, _flag_b = 0; 4574 uint32_t _itail_tgt = 0; 4575 RECOMP_REGS_LOCALS 4576 RECOMP_ENTER(0x2B01E446u); 4577 4578 goto L_2B01E446; 4579 L_2B01E315: 4580 eax = MEM32(0x2B0B515C); /* 0x2B01E315: mov eax, dword ptr [0x2b0b515c] */ 4581 esi = MEM32(eax); /* 0x2B01E31A: mov esi, dword ptr [eax] */ 4582 eax = MEM32(ecx + 0x8); /* 0x2B01E31C: mov eax, dword ptr [ecx + 8] */ 4583 edi = eax; /* 0x2B01E31F: mov edi, eax */ 4584 /* cmp esi, edi */ /* 0x2B01E321: cmp esi, edi */ 4585 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 4586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4587 _flag_k = FK_CMP; 4588 MEM32(ebp + 0x10) = edi; /* 0x2B01E323: mov dword ptr [ebp + 0x10], edi */ 4589 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E32D; /* 0x2B01E326: jae 0x2b01e32d */ 4590 L_2B01E328: 4591 MEM32(ebp + 0x10) = esi; /* 0x2B01E328: mov dword ptr [ebp + 0x10], esi */ 4592 edi = esi; /* 0x2B01E32B: mov edi, esi */ 4593 L_2B01E32D: 4594 /* cmp ebx, ecx */ /* 0x2B01E32D: cmp ebx, ecx */ 4595 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 4596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4597 _flag_k = FK_CMP; 4598 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E39C; /* 0x2B01E32F: jne 0x2b01e39c */ 4599 L_2B01E331: 4600 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B01E331: cmp dword ptr [ebx + 8], edi */ 4601 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 4602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4603 _flag_k = FK_CMP; 4604 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E33F; /* 0x2B01E334: jae 0x2b01e33f */ 4605 L_2B01E336: 4606 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B01E336: call dword ptr [0x2b0b519c] */ 4607 RECOMP_FLAGS_IN(); 4608 ecx = MEM32(ebp + 0x8); /* 0x2B01E33C: mov ecx, dword ptr [ebp + 8] */ 4609 L_2B01E33F: 4610 eax = MEM32(ebx + 0x8); /* 0x2B01E33F: mov eax, dword ptr [ebx + 8] */ 4611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4613 eax = eax - edi; /* 0x2B01E342: sub eax, edi */ 4614 _flag_k = FK_CMP; 4615 /* cmp eax, esi */ /* 0x2B01E344: cmp eax, esi */ 4616 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4618 _flag_k = FK_CMP; 4619 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E34A; /* 0x2B01E346: jae 0x2b01e34a */ 4620 L_2B01E348: 4621 esi = eax; /* 0x2B01E348: mov esi, eax */ 4622 L_2B01E34A: 4623 /* test esi, esi */ /* 0x2B01E34A: test esi, esi */ 4624 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4625 _cf = 0; 4626 _flag_k = FK_TEST; 4627 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E449; /* 0x2B01E34C: jbe 0x2b01e449 */ 4628 L_2B01E352: 4629 ecx = ebx; /* 0x2B01E352: mov ecx, ebx */ 4630 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B01E354: call dword ptr [0x2b0b516c] */ 4631 RECOMP_FLAGS_IN(); 4632 edx = MEM32(ebx + 0x8); /* 0x2B01E35A: mov edx, dword ptr [ebx + 8] */ 4633 ecx = MEM32(ebx + 0x4); /* 0x2B01E35D: mov ecx, dword ptr [ebx + 4] */ 4634 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4636 edx = edx - esi; /* 0x2B01E360: sub edx, esi */ 4637 _flag_k = FK_CMP; 4638 eax = ecx + edi; /* 0x2B01E362: lea eax, [ecx + edi] */ 4639 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 4640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4641 edx = edx - edi; /* 0x2B01E365: sub edx, edi */ 4642 _flag_k = FK_CMP; 4643 PUSH32(esp, edx); /* 0x2B01E367: push edx */ 4644 ecx = eax + esi; /* 0x2B01E368: lea ecx, [eax + esi] */ 4645 PUSH32(esp, ecx); /* 0x2B01E36B: push ecx */ 4646 PUSH32(esp, eax); /* 0x2B01E36C: push eax */ 4647 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B01E36D: call dword ptr [0x2b0b51d4] */ 4648 RECOMP_FLAGS_IN(); 4649 edi = MEM32(ebx + 0x8); /* 0x2B01E373: mov edi, dword ptr [ebx + 8] */ 4650 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4652 esp = esp + 0xCu; /* 0x2B01E376: add esp, 0xc */ 4653 _flag_k = FK_ADD; 4654 PUSH32(esp, 0); /* 0x2B01E379: push 0 */ 4655 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4657 edi = edi - esi; /* 0x2B01E37B: sub edi, esi */ 4658 _flag_k = FK_CMP; 4659 PUSH32(esp, edi); /* 0x2B01E37D: push edi */ 4660 ecx = ebx; /* 0x2B01E37E: mov ecx, ebx */ 4661 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E380: call dword ptr [0x2b0b5154] */ 4662 RECOMP_FLAGS_IN(); 4663 /* test LO8(eax), LO8(eax) */ /* 0x2B01E386: test al, al */ 4664 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4665 _cf = 0; 4666 _flag_k = FK_NARROW(FK_TEST, 24); 4667 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E388: je 0x2b01e446 */ 4668 L_2B01E38E: 4669 PUSH32(esp, edi); /* 0x2B01E38E: push edi */ 4670 ecx = ebx; /* 0x2B01E38F: mov ecx, ebx */ 4671 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01E391: call dword ptr [0x2b0b5150] */ 4672 RECOMP_FLAGS_IN(); 4673 goto L_2B01E446; /* 0x2B01E397: jmp 0x2b01e446 */ 4674 L_2B01E39C: 4675 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4676 esi = 0; /* 0x2B01E39C: xor esi, esi */ 4677 _cf = 0; 4678 _flag_k = FK_TEST; 4679 /* cmp edi, esi */ /* 0x2B01E39E: cmp edi, esi */ 4680 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4682 _flag_k = FK_CMP; 4683 if (CMP_BE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A0: jbe 0x2b01e407 */ 4684 L_2B01E3A2: 4685 /* cmp edi, eax */ /* 0x2B01E3A2: cmp edi, eax */ 4686 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 4687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4688 _flag_k = FK_CMP; 4689 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A4: jne 0x2b01e407 */ 4690 L_2B01E3A6: 4691 eax = MEM32(ecx + 0x4); /* 0x2B01E3A6: mov eax, dword ptr [ecx + 4] */ 4692 /* cmp eax, esi */ /* 0x2B01E3A9: cmp eax, esi */ 4693 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4695 _flag_k = FK_CMP; 4696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3B2; /* 0x2B01E3AB: jne 0x2b01e3b2 */ 4697 L_2B01E3AD: 4698 eax = MEM32(0x2B0B513C); /* 0x2B01E3AD: mov eax, dword ptr [0x2b0b513c] */ 4699 L_2B01E3B2: 4700 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B01E3B2: cmp byte ptr [eax - 1], 0xfe */ 4701 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 4702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4703 _flag_k = FK_NARROW(FK_CMP, 24); 4704 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3B6: jae 0x2b01e407 */ 4705 L_2B01E3B8: 4706 eax = MEM32(ebx + 0x4); /* 0x2B01E3B8: mov eax, dword ptr [ebx + 4] */ 4707 /* cmp eax, esi */ /* 0x2B01E3BB: cmp eax, esi */ 4708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4710 _flag_k = FK_CMP; 4711 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3DE; /* 0x2B01E3BD: je 0x2b01e3de */ 4712 L_2B01E3BF: 4713 edx = eax + (-0x1); /* 0x2B01E3BF: lea edx, [eax - 1] */ 4714 SET_LO8(eax, MEM8(edx)); /* 0x2B01E3C2: mov al, byte ptr [edx] */ 4715 /* test LO8(eax), LO8(eax) */ /* 0x2B01E3C4: test al, al */ 4716 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4717 _cf = 0; 4718 _flag_k = FK_NARROW(FK_TEST, 24); 4719 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3C6: je 0x2b01e3d2 */ 4720 L_2B01E3C8: 4721 /* cmp LO8(eax), 0xFFu */ /* 0x2B01E3C8: cmp al, 0xff */ 4722 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4724 _flag_k = FK_NARROW(FK_CMP, 24); 4725 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3CA: je 0x2b01e3d2 */ 4726 L_2B01E3CC: 4727 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4728 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01E3CC: dec al */ 4729 _flag_k = FK_NARROW(FK_DEC, 24); 4730 MEM8(edx) = (uint8_t)(LO8(eax)); /* 0x2B01E3CE: mov byte ptr [edx], al */ 4731 goto L_2B01E3DE; /* 0x2B01E3D0: jmp 0x2b01e3de */ 4732 L_2B01E3D2: 4733 PUSH32(esp, edx); /* 0x2B01E3D2: push edx */ 4734 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E3D3: call 0x2b0ab1ba */ /* not lifted */ 4735 RECOMP_FLAGS_IN(); 4736 ecx = MEM32(ebp + 0x8); /* 0x2B01E3D8: mov ecx, dword ptr [ebp + 8] */ 4737 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4739 esp = esp + 4; /* 0x2B01E3DB: add esp, 4 */ 4740 _flag_k = FK_ADD; 4741 L_2B01E3DE: 4742 MEM32(ebx + 0x4) = esi; /* 0x2B01E3DE: mov dword ptr [ebx + 4], esi */ 4743 MEM32(ebx + 0x8) = esi; /* 0x2B01E3E1: mov dword ptr [ebx + 8], esi */ 4744 MEM32(ebx + 0xC) = esi; /* 0x2B01E3E4: mov dword ptr [ebx + 0xc], esi */ 4745 eax = MEM32(ecx + 0x4); /* 0x2B01E3E7: mov eax, dword ptr [ecx + 4] */ 4746 /* cmp eax, esi */ /* 0x2B01E3EA: cmp eax, esi */ 4747 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4749 _flag_k = FK_CMP; 4750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3F3; /* 0x2B01E3EC: jne 0x2b01e3f3 */ 4751 L_2B01E3EE: 4752 eax = MEM32(0x2B0B513C); /* 0x2B01E3EE: mov eax, dword ptr [0x2b0b513c] */ 4753 L_2B01E3F3: 4754 MEM32(ebx + 0x4) = eax; /* 0x2B01E3F3: mov dword ptr [ebx + 4], eax */ 4755 edx = MEM32(ecx + 0x8); /* 0x2B01E3F6: mov edx, dword ptr [ecx + 8] */ 4756 MEM32(ebx + 0x8) = edx; /* 0x2B01E3F9: mov dword ptr [ebx + 8], edx */ 4757 edx = MEM32(ecx + 0xC); /* 0x2B01E3FC: mov edx, dword ptr [ecx + 0xc] */ 4758 MEM32(ebx + 0xC) = edx; /* 0x2B01E3FF: mov dword ptr [ebx + 0xc], edx */ 4759 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 4760 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B01E402: inc byte ptr [eax - 1] */ 4761 _flag_k = FK_NARROW(FK_INC, 24); 4762 goto L_2B01E449; /* 0x2B01E405: jmp 0x2b01e449 */ 4763 L_2B01E407: 4764 PUSH32(esp, 1); /* 0x2B01E407: push 1 */ 4765 PUSH32(esp, edi); /* 0x2B01E409: push edi */ 4766 ecx = ebx; /* 0x2B01E40A: mov ecx, ebx */ 4767 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E40C: call dword ptr [0x2b0b5154] */ 4768 RECOMP_FLAGS_IN(); 4769 /* test LO8(eax), LO8(eax) */ /* 0x2B01E412: test al, al */ 4770 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4771 _cf = 0; 4772 _flag_k = FK_NARROW(FK_TEST, 24); 4773 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E414: je 0x2b01e446 */ 4774 L_2B01E416: 4775 eax = MEM32(ebp + 0x8); /* 0x2B01E416: mov eax, dword ptr [ebp + 8] */ 4776 esi = MEM32(eax + 0x4); /* 0x2B01E419: mov esi, dword ptr [eax + 4] */ 4777 /* test esi, esi */ /* 0x2B01E41C: test esi, esi */ 4778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4779 _cf = 0; 4780 _flag_k = FK_TEST; 4781 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E426; /* 0x2B01E41E: jne 0x2b01e426 */ 4782 L_2B01E420: 4783 esi = MEM32(0x2B0B513C); /* 0x2B01E420: mov esi, dword ptr [0x2b0b513c] */ 4784 L_2B01E426: 4785 eax = MEM32(ebp + 0x10); /* 0x2B01E426: mov eax, dword ptr [ebp + 0x10] */ 4786 ecx = edi; /* 0x2B01E429: mov ecx, edi */ 4787 edi = MEM32(ebx + 0x4); /* 0x2B01E42B: mov edi, dword ptr [ebx + 4] */ 4788 edx = ecx; /* 0x2B01E42E: mov edx, ecx */ 4789 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E430: shr ecx, 2 */ 4790 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4791 ecx = ecx >> 2u; /* 0x2B01E430: shr ecx, 2 */ 4792 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01E433: 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; } 4793 ecx = edx; /* 0x2B01E435: mov ecx, edx */ 4794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4795 ecx = ecx & 3; /* 0x2B01E437: and ecx, 3 */ 4796 _cf = 0; 4797 _flag_k = FK_TEST; 4798 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01E43A: 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; } 4799 ecx = MEM32(ebx + 0x4); /* 0x2B01E43C: mov ecx, dword ptr [ebx + 4] */ 4800 MEM32(ebx + 0x8) = eax; /* 0x2B01E43F: mov dword ptr [ebx + 8], eax */ 4801 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B01E442: mov byte ptr [ecx + eax], 0 */ 4802 L_2B01E446: 4803 ecx = MEM32(ebp + 0x8); /* 0x2B01E446: mov ecx, dword ptr [ebp + 8] */ 4804 L_2B01E449: 4805 eax = MEM32(ebp + 0xC); /* 0x2B01E449: mov eax, dword ptr [ebp + 0xc] */ 4806 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 4807 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4808 ecx = ecx + 0x10u; /* 0x2B01E44C: add ecx, 0x10 */ 4809 _flag_k = FK_ADD; 4810 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 4811 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4812 ebx = ebx + 0x10u; /* 0x2B01E44F: add ebx, 0x10 */ 4813 _flag_k = FK_ADD; 4814 /* cmp ecx, eax */ /* 0x2B01E452: cmp ecx, eax */ 4815 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 4816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4817 _flag_k = FK_CMP; 4818 MEM32(ebp + 0x8) = ecx; /* 0x2B01E454: mov dword ptr [ebp + 8], ecx */ 4819 RECOMP_BACKEDGE(); 4820 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E315; /* 0x2B01E457: jne 0x2b01e315 */ 4821 L_2B01E45D: 4822 edi = POP32_VAL(esp); /* 0x2B01E45D: pop edi */ 4823 esi = POP32_VAL(esp); /* 0x2B01E45E: pop esi */ 4824 eax = ebx; /* 0x2B01E45F: mov eax, ebx */ 4825 ebx = POP32_VAL(esp); /* 0x2B01E461: pop ebx */ 4826 ebp = POP32_VAL(esp); /* 0x2B01E462: pop ebp */ 4827 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E463: ret */ 4828 RECOMP_REGS_OUT(); 4829 } 4830 4831 void sub_2B01E449(void) { 4832 int _fpu_cmp = 0; 4833 uint32_t _cf = 0; 4834 int _df = 1; 4835 uint32_t _flag_k = FK_NONE; 4836 uint32_t _flag_a = 0, _flag_b = 0; 4837 uint32_t _itail_tgt = 0; 4838 RECOMP_REGS_LOCALS 4839 RECOMP_ENTER(0x2B01E449u); 4840 4841 goto L_2B01E449; 4842 L_2B01E315: 4843 eax = MEM32(0x2B0B515C); /* 0x2B01E315: mov eax, dword ptr [0x2b0b515c] */ 4844 esi = MEM32(eax); /* 0x2B01E31A: mov esi, dword ptr [eax] */ 4845 eax = MEM32(ecx + 0x8); /* 0x2B01E31C: mov eax, dword ptr [ecx + 8] */ 4846 edi = eax; /* 0x2B01E31F: mov edi, eax */ 4847 /* cmp esi, edi */ /* 0x2B01E321: cmp esi, edi */ 4848 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 4849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4850 _flag_k = FK_CMP; 4851 MEM32(ebp + 0x10) = edi; /* 0x2B01E323: mov dword ptr [ebp + 0x10], edi */ 4852 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E32D; /* 0x2B01E326: jae 0x2b01e32d */ 4853 L_2B01E328: 4854 MEM32(ebp + 0x10) = esi; /* 0x2B01E328: mov dword ptr [ebp + 0x10], esi */ 4855 edi = esi; /* 0x2B01E32B: mov edi, esi */ 4856 L_2B01E32D: 4857 /* cmp ebx, ecx */ /* 0x2B01E32D: cmp ebx, ecx */ 4858 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 4859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4860 _flag_k = FK_CMP; 4861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E39C; /* 0x2B01E32F: jne 0x2b01e39c */ 4862 L_2B01E331: 4863 /* cmp MEM32(ebx + 0x8), edi */ /* 0x2B01E331: cmp dword ptr [ebx + 8], edi */ 4864 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(edi); 4865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4866 _flag_k = FK_CMP; 4867 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E33F; /* 0x2B01E334: jae 0x2b01e33f */ 4868 L_2B01E336: 4869 RECOMP_ICALL(MEM32(0x2B0B519C)); /* 0x2B01E336: call dword ptr [0x2b0b519c] */ 4870 RECOMP_FLAGS_IN(); 4871 ecx = MEM32(ebp + 0x8); /* 0x2B01E33C: mov ecx, dword ptr [ebp + 8] */ 4872 L_2B01E33F: 4873 eax = MEM32(ebx + 0x8); /* 0x2B01E33F: mov eax, dword ptr [ebx + 8] */ 4874 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4876 eax = eax - edi; /* 0x2B01E342: sub eax, edi */ 4877 _flag_k = FK_CMP; 4878 /* cmp eax, esi */ /* 0x2B01E344: cmp eax, esi */ 4879 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4881 _flag_k = FK_CMP; 4882 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E34A; /* 0x2B01E346: jae 0x2b01e34a */ 4883 L_2B01E348: 4884 esi = eax; /* 0x2B01E348: mov esi, eax */ 4885 L_2B01E34A: 4886 /* test esi, esi */ /* 0x2B01E34A: test esi, esi */ 4887 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 4888 _cf = 0; 4889 _flag_k = FK_TEST; 4890 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E449; /* 0x2B01E34C: jbe 0x2b01e449 */ 4891 L_2B01E352: 4892 ecx = ebx; /* 0x2B01E352: mov ecx, ebx */ 4893 RECOMP_ICALL(MEM32(0x2B0B516C)); /* 0x2B01E354: call dword ptr [0x2b0b516c] */ 4894 RECOMP_FLAGS_IN(); 4895 edx = MEM32(ebx + 0x8); /* 0x2B01E35A: mov edx, dword ptr [ebx + 8] */ 4896 ecx = MEM32(ebx + 0x4); /* 0x2B01E35D: mov ecx, dword ptr [ebx + 4] */ 4897 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 4898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4899 edx = edx - esi; /* 0x2B01E360: sub edx, esi */ 4900 _flag_k = FK_CMP; 4901 eax = ecx + edi; /* 0x2B01E362: lea eax, [ecx + edi] */ 4902 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 4903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4904 edx = edx - edi; /* 0x2B01E365: sub edx, edi */ 4905 _flag_k = FK_CMP; 4906 PUSH32(esp, edx); /* 0x2B01E367: push edx */ 4907 ecx = eax + esi; /* 0x2B01E368: lea ecx, [eax + esi] */ 4908 PUSH32(esp, ecx); /* 0x2B01E36B: push ecx */ 4909 PUSH32(esp, eax); /* 0x2B01E36C: push eax */ 4910 RECOMP_ICALL(MEM32(0x2B0B51D4)); /* 0x2B01E36D: call dword ptr [0x2b0b51d4] */ 4911 RECOMP_FLAGS_IN(); 4912 edi = MEM32(ebx + 0x8); /* 0x2B01E373: mov edi, dword ptr [ebx + 8] */ 4913 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 4914 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4915 esp = esp + 0xCu; /* 0x2B01E376: add esp, 0xc */ 4916 _flag_k = FK_ADD; 4917 PUSH32(esp, 0); /* 0x2B01E379: push 0 */ 4918 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4920 edi = edi - esi; /* 0x2B01E37B: sub edi, esi */ 4921 _flag_k = FK_CMP; 4922 PUSH32(esp, edi); /* 0x2B01E37D: push edi */ 4923 ecx = ebx; /* 0x2B01E37E: mov ecx, ebx */ 4924 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E380: call dword ptr [0x2b0b5154] */ 4925 RECOMP_FLAGS_IN(); 4926 /* test LO8(eax), LO8(eax) */ /* 0x2B01E386: test al, al */ 4927 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4928 _cf = 0; 4929 _flag_k = FK_NARROW(FK_TEST, 24); 4930 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E388: je 0x2b01e446 */ 4931 L_2B01E38E: 4932 PUSH32(esp, edi); /* 0x2B01E38E: push edi */ 4933 ecx = ebx; /* 0x2B01E38F: mov ecx, ebx */ 4934 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01E391: call dword ptr [0x2b0b5150] */ 4935 RECOMP_FLAGS_IN(); 4936 goto L_2B01E446; /* 0x2B01E397: jmp 0x2b01e446 */ 4937 L_2B01E39C: 4938 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4939 esi = 0; /* 0x2B01E39C: xor esi, esi */ 4940 _cf = 0; 4941 _flag_k = FK_TEST; 4942 /* cmp edi, esi */ /* 0x2B01E39E: cmp edi, esi */ 4943 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 4944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4945 _flag_k = FK_CMP; 4946 if (CMP_BE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A0: jbe 0x2b01e407 */ 4947 L_2B01E3A2: 4948 /* cmp edi, eax */ /* 0x2B01E3A2: cmp edi, eax */ 4949 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 4950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4951 _flag_k = FK_CMP; 4952 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3A4: jne 0x2b01e407 */ 4953 L_2B01E3A6: 4954 eax = MEM32(ecx + 0x4); /* 0x2B01E3A6: mov eax, dword ptr [ecx + 4] */ 4955 /* cmp eax, esi */ /* 0x2B01E3A9: cmp eax, esi */ 4956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4958 _flag_k = FK_CMP; 4959 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3B2; /* 0x2B01E3AB: jne 0x2b01e3b2 */ 4960 L_2B01E3AD: 4961 eax = MEM32(0x2B0B513C); /* 0x2B01E3AD: mov eax, dword ptr [0x2b0b513c] */ 4962 L_2B01E3B2: 4963 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2B01E3B2: cmp byte ptr [eax - 1], 0xfe */ 4964 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 4965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4966 _flag_k = FK_NARROW(FK_CMP, 24); 4967 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01E407; /* 0x2B01E3B6: jae 0x2b01e407 */ 4968 L_2B01E3B8: 4969 eax = MEM32(ebx + 0x4); /* 0x2B01E3B8: mov eax, dword ptr [ebx + 4] */ 4970 /* cmp eax, esi */ /* 0x2B01E3BB: cmp eax, esi */ 4971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 4972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4973 _flag_k = FK_CMP; 4974 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3DE; /* 0x2B01E3BD: je 0x2b01e3de */ 4975 L_2B01E3BF: 4976 edx = eax + (-0x1); /* 0x2B01E3BF: lea edx, [eax - 1] */ 4977 SET_LO8(eax, MEM8(edx)); /* 0x2B01E3C2: mov al, byte ptr [edx] */ 4978 /* test LO8(eax), LO8(eax) */ /* 0x2B01E3C4: test al, al */ 4979 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4980 _cf = 0; 4981 _flag_k = FK_NARROW(FK_TEST, 24); 4982 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3C6: je 0x2b01e3d2 */ 4983 L_2B01E3C8: 4984 /* cmp LO8(eax), 0xFFu */ /* 0x2B01E3C8: cmp al, 0xff */ 4985 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4987 _flag_k = FK_NARROW(FK_CMP, 24); 4988 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E3D2; /* 0x2B01E3CA: je 0x2b01e3d2 */ 4989 L_2B01E3CC: 4990 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4991 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01E3CC: dec al */ 4992 _flag_k = FK_NARROW(FK_DEC, 24); 4993 MEM8(edx) = (uint8_t)(LO8(eax)); /* 0x2B01E3CE: mov byte ptr [edx], al */ 4994 goto L_2B01E3DE; /* 0x2B01E3D0: jmp 0x2b01e3de */ 4995 L_2B01E3D2: 4996 PUSH32(esp, edx); /* 0x2B01E3D2: push edx */ 4997 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E3D3: call 0x2b0ab1ba */ /* not lifted */ 4998 RECOMP_FLAGS_IN(); 4999 ecx = MEM32(ebp + 0x8); /* 0x2B01E3D8: mov ecx, dword ptr [ebp + 8] */ 5000 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5001 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5002 esp = esp + 4; /* 0x2B01E3DB: add esp, 4 */ 5003 _flag_k = FK_ADD; 5004 L_2B01E3DE: 5005 MEM32(ebx + 0x4) = esi; /* 0x2B01E3DE: mov dword ptr [ebx + 4], esi */ 5006 MEM32(ebx + 0x8) = esi; /* 0x2B01E3E1: mov dword ptr [ebx + 8], esi */ 5007 MEM32(ebx + 0xC) = esi; /* 0x2B01E3E4: mov dword ptr [ebx + 0xc], esi */ 5008 eax = MEM32(ecx + 0x4); /* 0x2B01E3E7: mov eax, dword ptr [ecx + 4] */ 5009 /* cmp eax, esi */ /* 0x2B01E3EA: cmp eax, esi */ 5010 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 5011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5012 _flag_k = FK_CMP; 5013 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E3F3; /* 0x2B01E3EC: jne 0x2b01e3f3 */ 5014 L_2B01E3EE: 5015 eax = MEM32(0x2B0B513C); /* 0x2B01E3EE: mov eax, dword ptr [0x2b0b513c] */ 5016 L_2B01E3F3: 5017 MEM32(ebx + 0x4) = eax; /* 0x2B01E3F3: mov dword ptr [ebx + 4], eax */ 5018 edx = MEM32(ecx + 0x8); /* 0x2B01E3F6: mov edx, dword ptr [ecx + 8] */ 5019 MEM32(ebx + 0x8) = edx; /* 0x2B01E3F9: mov dword ptr [ebx + 8], edx */ 5020 edx = MEM32(ecx + 0xC); /* 0x2B01E3FC: mov edx, dword ptr [ecx + 0xc] */ 5021 MEM32(ebx + 0xC) = edx; /* 0x2B01E3FF: mov dword ptr [ebx + 0xc], edx */ 5022 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 5023 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B01E402: inc byte ptr [eax - 1] */ 5024 _flag_k = FK_NARROW(FK_INC, 24); 5025 goto L_2B01E449; /* 0x2B01E405: jmp 0x2b01e449 */ 5026 L_2B01E407: 5027 PUSH32(esp, 1); /* 0x2B01E407: push 1 */ 5028 PUSH32(esp, edi); /* 0x2B01E409: push edi */ 5029 ecx = ebx; /* 0x2B01E40A: mov ecx, ebx */ 5030 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01E40C: call dword ptr [0x2b0b5154] */ 5031 RECOMP_FLAGS_IN(); 5032 /* test LO8(eax), LO8(eax) */ /* 0x2B01E412: test al, al */ 5033 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5034 _cf = 0; 5035 _flag_k = FK_NARROW(FK_TEST, 24); 5036 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E446; /* 0x2B01E414: je 0x2b01e446 */ 5037 L_2B01E416: 5038 eax = MEM32(ebp + 0x8); /* 0x2B01E416: mov eax, dword ptr [ebp + 8] */ 5039 esi = MEM32(eax + 0x4); /* 0x2B01E419: mov esi, dword ptr [eax + 4] */ 5040 /* test esi, esi */ /* 0x2B01E41C: test esi, esi */ 5041 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 5042 _cf = 0; 5043 _flag_k = FK_TEST; 5044 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E426; /* 0x2B01E41E: jne 0x2b01e426 */ 5045 L_2B01E420: 5046 esi = MEM32(0x2B0B513C); /* 0x2B01E420: mov esi, dword ptr [0x2b0b513c] */ 5047 L_2B01E426: 5048 eax = MEM32(ebp + 0x10); /* 0x2B01E426: mov eax, dword ptr [ebp + 0x10] */ 5049 ecx = edi; /* 0x2B01E429: mov ecx, edi */ 5050 edi = MEM32(ebx + 0x4); /* 0x2B01E42B: mov edi, dword ptr [ebx + 4] */ 5051 edx = ecx; /* 0x2B01E42E: mov edx, ecx */ 5052 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E430: shr ecx, 2 */ 5053 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5054 ecx = ecx >> 2u; /* 0x2B01E430: shr ecx, 2 */ 5055 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01E433: 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; } 5056 ecx = edx; /* 0x2B01E435: mov ecx, edx */ 5057 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5058 ecx = ecx & 3; /* 0x2B01E437: and ecx, 3 */ 5059 _cf = 0; 5060 _flag_k = FK_TEST; 5061 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01E43A: 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; } 5062 ecx = MEM32(ebx + 0x4); /* 0x2B01E43C: mov ecx, dword ptr [ebx + 4] */ 5063 MEM32(ebx + 0x8) = eax; /* 0x2B01E43F: mov dword ptr [ebx + 8], eax */ 5064 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B01E442: mov byte ptr [ecx + eax], 0 */ 5065 L_2B01E446: 5066 ecx = MEM32(ebp + 0x8); /* 0x2B01E446: mov ecx, dword ptr [ebp + 8] */ 5067 L_2B01E449: 5068 eax = MEM32(ebp + 0xC); /* 0x2B01E449: mov eax, dword ptr [ebp + 0xc] */ 5069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 5070 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5071 ecx = ecx + 0x10u; /* 0x2B01E44C: add ecx, 0x10 */ 5072 _flag_k = FK_ADD; 5073 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 5074 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5075 ebx = ebx + 0x10u; /* 0x2B01E44F: add ebx, 0x10 */ 5076 _flag_k = FK_ADD; 5077 /* cmp ecx, eax */ /* 0x2B01E452: cmp ecx, eax */ 5078 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 5079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5080 _flag_k = FK_CMP; 5081 MEM32(ebp + 0x8) = ecx; /* 0x2B01E454: mov dword ptr [ebp + 8], ecx */ 5082 RECOMP_BACKEDGE(); 5083 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E315; /* 0x2B01E457: jne 0x2b01e315 */ 5084 L_2B01E45D: 5085 edi = POP32_VAL(esp); /* 0x2B01E45D: pop edi */ 5086 esi = POP32_VAL(esp); /* 0x2B01E45E: pop esi */ 5087 eax = ebx; /* 0x2B01E45F: mov eax, ebx */ 5088 ebx = POP32_VAL(esp); /* 0x2B01E461: pop ebx */ 5089 ebp = POP32_VAL(esp); /* 0x2B01E462: pop ebp */ 5090 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E463: ret */ 5091 RECOMP_REGS_OUT(); 5092 } 5093 5094 void sub_2B01E470(void) { 5095 int _fpu_cmp = 0; 5096 uint32_t _cf = 0; 5097 int _df = 1; 5098 uint32_t _flag_k = FK_NONE; 5099 uint32_t _flag_a = 0, _flag_b = 0; 5100 uint32_t _itail_tgt = 0; 5101 RECOMP_REGS_LOCALS 5102 RECOMP_ENTER(0x2B01E470u); 5103 5104 L_2B01E470: 5105 PUSH32(esp, ebp); /* 0x2B01E470: push ebp */ 5106 ebp = esp; /* 0x2B01E471: mov ebp, esp */ 5107 eax = MEM32(ebp + 0xC); /* 0x2B01E473: mov eax, dword ptr [ebp + 0xc] */ 5108 PUSH32(esp, edi); /* 0x2B01E476: push edi */ 5109 edi = MEM32(ebp + 0x8); /* 0x2B01E477: mov edi, dword ptr [ebp + 8] */ 5110 /* cmp edi, eax */ /* 0x2B01E47A: cmp edi, eax */ 5111 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5113 _flag_k = FK_CMP; 5114 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5F9; /* 0x2B01E47C: je 0x2b01e5f9 */ 5115 L_2B01E482: 5116 PUSH32(esp, ebx); /* 0x2B01E482: push ebx */ 5117 PUSH32(esp, esi); /* 0x2B01E483: push esi */ 5118 L_2B01E484: 5119 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 5120 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 5121 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5123 _flag_k = FK_CMP; 5124 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 5125 L_2B01E48F: 5126 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 5127 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 5128 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5129 _cf = 0; 5130 _flag_k = FK_TEST; 5131 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 5132 L_2B01E496: 5133 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5134 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 5135 _cf = 0; 5136 _flag_k = FK_TEST; 5137 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 5138 L_2B01E49A: 5139 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 5140 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5142 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 5143 _flag_k = FK_CMP; 5144 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 5145 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5146 ebx = (uint32_t)((int32_t)ebx >> 2u); 5147 L_2B01E4A2: 5148 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 5149 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 5150 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5151 _cf = 0; 5152 _flag_k = FK_TEST; 5153 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 5154 L_2B01E4A9: 5155 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5156 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 5157 _cf = 0; 5158 _flag_k = FK_TEST; 5159 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 5160 L_2B01E4AD: 5161 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 5162 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5164 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 5165 _flag_k = FK_CMP; 5166 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 5167 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5168 ecx = (uint32_t)((int32_t)ecx >> 2u); 5169 L_2B01E4B5: 5170 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 5171 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 5172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5173 _flag_k = FK_CMP; 5174 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 5175 L_2B01E4B9: 5176 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 5177 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 5178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5180 _flag_k = FK_CMP; 5181 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 5182 L_2B01E4C0: 5183 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 5184 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 5185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 5186 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5187 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 5188 _flag_k = FK_ADD; 5189 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 5190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5191 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 5192 _flag_k = FK_ADD; 5193 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 5194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5196 _flag_k = FK_CMP; 5197 RECOMP_BACKEDGE(); 5198 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 5199 L_2B01E4CE: 5200 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 5201 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 5202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5203 _cf = 0; 5204 _flag_k = FK_TEST; 5205 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 5206 L_2B01E4D5: 5207 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 5208 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5209 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 5210 _cf = 0; 5211 _flag_k = FK_TEST; 5212 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 5213 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 5214 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 5215 L_2B01E4E5: 5216 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 5217 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5219 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 5220 _flag_k = FK_CMP; 5221 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 5222 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 5223 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5224 esi = (uint32_t)((int32_t)esi >> 2u); 5225 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 5226 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 5227 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 5228 L_2B01E4FB: 5229 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 5230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5231 _cf = 0; 5232 _flag_k = FK_TEST; 5233 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 5234 L_2B01E4FF: 5235 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5236 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 5237 _cf = 0; 5238 _flag_k = FK_TEST; 5239 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 5240 L_2B01E503: 5241 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 5242 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5244 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 5245 _flag_k = FK_CMP; 5246 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 5247 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5248 ebx = (uint32_t)((int32_t)ebx >> 2u); 5249 L_2B01E50B: 5250 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 5251 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5252 _cf = 0; 5253 _flag_k = FK_TEST; 5254 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 5255 L_2B01E50F: 5256 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5257 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 5258 _cf = 0; 5259 _flag_k = FK_TEST; 5260 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 5261 L_2B01E513: 5262 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 5263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5265 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 5266 _flag_k = FK_CMP; 5267 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 5268 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5269 ecx = (uint32_t)((int32_t)ecx >> 2u); 5270 L_2B01E51B: 5271 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 5272 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 5273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5274 _flag_k = FK_CMP; 5275 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 5276 L_2B01E51F: 5277 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 5278 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5279 _cf = 0; 5280 _flag_k = FK_TEST; 5281 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 5282 L_2B01E523: 5283 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5284 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 5285 _cf = 0; 5286 _flag_k = FK_TEST; 5287 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 5288 L_2B01E527: 5289 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 5290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5292 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 5293 _flag_k = FK_CMP; 5294 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 5295 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5296 ecx = (uint32_t)((int32_t)ecx >> 2u); 5297 L_2B01E52F: 5298 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 5299 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 5300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5302 _flag_k = FK_CMP; 5303 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 5304 L_2B01E536: 5305 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 5306 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 5307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 5308 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5309 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 5310 _flag_k = FK_ADD; 5311 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 5312 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5313 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 5314 _flag_k = FK_ADD; 5315 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 5316 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5318 _flag_k = FK_CMP; 5319 RECOMP_BACKEDGE(); 5320 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 5321 L_2B01E544: 5322 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 5323 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 5324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5326 _flag_k = FK_CMP; 5327 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 5328 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 5329 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 5330 L_2B01E550: 5331 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 5332 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 5333 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 5334 RECOMP_FLAGS_IN(); 5335 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 5336 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5337 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 5338 _flag_k = FK_ADD; 5339 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5340 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5341 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 5342 _flag_k = FK_ADD; 5343 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 5344 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5345 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 5346 _flag_k = FK_ADD; 5347 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 5348 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 5349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5350 _flag_k = FK_CMP; 5351 RECOMP_BACKEDGE(); 5352 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 5353 L_2B01E564: 5354 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 5355 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 5356 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 5357 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5358 _cf = 0; 5359 _flag_k = FK_TEST; 5360 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 5361 L_2B01E56E: 5362 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 5363 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 5364 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5365 eax = 0; /* 0x2B01E574: xor eax, eax */ 5366 _cf = 0; 5367 _flag_k = FK_TEST; 5368 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 5369 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 5370 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 5371 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 5372 L_2B01E580: 5373 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 5374 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5376 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 5377 _flag_k = FK_CMP; 5378 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 5379 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 5380 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 5381 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5382 eax = (uint32_t)((int32_t)eax >> 2u); 5383 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 5384 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 5385 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 5386 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 5387 L_2B01E598: 5388 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 5389 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 5390 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 5391 RECOMP_FLAGS_IN(); 5392 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 5393 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5394 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5395 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 5396 _flag_k = FK_ADD; 5397 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 5398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5399 _cf = 0; 5400 _flag_k = FK_TEST; 5401 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 5402 L_2B01E5AB: 5403 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5404 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 5405 _cf = 0; 5406 _flag_k = FK_TEST; 5407 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 5408 L_2B01E5AF: 5409 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 5410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5412 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 5413 _flag_k = FK_CMP; 5414 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 5415 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5416 eax = (uint32_t)((int32_t)eax >> 2u); 5417 L_2B01E5B7: 5418 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 5419 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5420 _cf = 0; 5421 _flag_k = FK_TEST; 5422 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 5423 L_2B01E5BB: 5424 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5425 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 5426 _cf = 0; 5427 _flag_k = FK_TEST; 5428 L_2B01E5BD: 5429 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 5430 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 5431 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 5432 RECOMP_FLAGS_IN(); 5433 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5434 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5435 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 5436 _flag_k = FK_ADD; 5437 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 5438 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 5439 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 5440 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 5441 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 5442 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 5443 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 5444 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 5445 RECOMP_FLAGS_IN(); 5446 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 5447 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 5448 L_2B01E5E6: 5449 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 5450 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 5451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5452 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 5453 _flag_k = FK_ADD; 5454 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 5455 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5457 _flag_k = FK_CMP; 5458 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 5459 RECOMP_BACKEDGE(); 5460 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 5461 L_2B01E5F7: 5462 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 5463 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 5464 L_2B01E5F9: 5465 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 5466 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 5467 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 5468 RECOMP_REGS_OUT(); 5469 } 5470 5471 void sub_2B01E484(void) { 5472 int _fpu_cmp = 0; 5473 uint32_t _cf = 0; 5474 int _df = 1; 5475 uint32_t _flag_k = FK_NONE; 5476 uint32_t _flag_a = 0, _flag_b = 0; 5477 uint32_t _itail_tgt = 0; 5478 RECOMP_REGS_LOCALS 5479 RECOMP_ENTER(0x2B01E484u); 5480 5481 L_2B01E484: 5482 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 5483 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 5484 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5485 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5486 _flag_k = FK_CMP; 5487 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 5488 L_2B01E48F: 5489 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 5490 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 5491 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5492 _cf = 0; 5493 _flag_k = FK_TEST; 5494 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 5495 L_2B01E496: 5496 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5497 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 5498 _cf = 0; 5499 _flag_k = FK_TEST; 5500 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 5501 L_2B01E49A: 5502 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 5503 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5505 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 5506 _flag_k = FK_CMP; 5507 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 5508 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5509 ebx = (uint32_t)((int32_t)ebx >> 2u); 5510 L_2B01E4A2: 5511 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 5512 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 5513 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5514 _cf = 0; 5515 _flag_k = FK_TEST; 5516 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 5517 L_2B01E4A9: 5518 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5519 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 5520 _cf = 0; 5521 _flag_k = FK_TEST; 5522 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 5523 L_2B01E4AD: 5524 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 5525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5527 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 5528 _flag_k = FK_CMP; 5529 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 5530 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5531 ecx = (uint32_t)((int32_t)ecx >> 2u); 5532 L_2B01E4B5: 5533 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 5534 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 5535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5536 _flag_k = FK_CMP; 5537 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 5538 L_2B01E4B9: 5539 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 5540 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 5541 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5543 _flag_k = FK_CMP; 5544 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 5545 L_2B01E4C0: 5546 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 5547 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 5548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 5549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5550 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 5551 _flag_k = FK_ADD; 5552 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 5553 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5554 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 5555 _flag_k = FK_ADD; 5556 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 5557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5559 _flag_k = FK_CMP; 5560 RECOMP_BACKEDGE(); 5561 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 5562 L_2B01E4CE: 5563 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 5564 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 5565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5566 _cf = 0; 5567 _flag_k = FK_TEST; 5568 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 5569 L_2B01E4D5: 5570 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 5571 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5572 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 5573 _cf = 0; 5574 _flag_k = FK_TEST; 5575 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 5576 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 5577 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 5578 L_2B01E4E5: 5579 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 5580 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5582 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 5583 _flag_k = FK_CMP; 5584 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 5585 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 5586 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5587 esi = (uint32_t)((int32_t)esi >> 2u); 5588 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 5589 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 5590 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 5591 L_2B01E4FB: 5592 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 5593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5594 _cf = 0; 5595 _flag_k = FK_TEST; 5596 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 5597 L_2B01E4FF: 5598 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5599 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 5600 _cf = 0; 5601 _flag_k = FK_TEST; 5602 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 5603 L_2B01E503: 5604 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 5605 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5607 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 5608 _flag_k = FK_CMP; 5609 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 5610 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5611 ebx = (uint32_t)((int32_t)ebx >> 2u); 5612 L_2B01E50B: 5613 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 5614 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5615 _cf = 0; 5616 _flag_k = FK_TEST; 5617 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 5618 L_2B01E50F: 5619 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5620 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 5621 _cf = 0; 5622 _flag_k = FK_TEST; 5623 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 5624 L_2B01E513: 5625 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 5626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5628 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 5629 _flag_k = FK_CMP; 5630 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 5631 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5632 ecx = (uint32_t)((int32_t)ecx >> 2u); 5633 L_2B01E51B: 5634 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 5635 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 5636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5637 _flag_k = FK_CMP; 5638 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 5639 L_2B01E51F: 5640 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 5641 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5642 _cf = 0; 5643 _flag_k = FK_TEST; 5644 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 5645 L_2B01E523: 5646 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5647 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 5648 _cf = 0; 5649 _flag_k = FK_TEST; 5650 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 5651 L_2B01E527: 5652 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 5653 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5655 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 5656 _flag_k = FK_CMP; 5657 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 5658 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5659 ecx = (uint32_t)((int32_t)ecx >> 2u); 5660 L_2B01E52F: 5661 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 5662 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 5663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5665 _flag_k = FK_CMP; 5666 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 5667 L_2B01E536: 5668 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 5669 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 5670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 5671 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5672 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 5673 _flag_k = FK_ADD; 5674 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 5675 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5676 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 5677 _flag_k = FK_ADD; 5678 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 5679 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5681 _flag_k = FK_CMP; 5682 RECOMP_BACKEDGE(); 5683 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 5684 L_2B01E544: 5685 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 5686 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 5687 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 5688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5689 _flag_k = FK_CMP; 5690 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 5691 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 5692 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 5693 L_2B01E550: 5694 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 5695 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 5696 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 5697 RECOMP_FLAGS_IN(); 5698 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 5699 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5700 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 5701 _flag_k = FK_ADD; 5702 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 5703 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5704 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 5705 _flag_k = FK_ADD; 5706 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 5707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5708 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 5709 _flag_k = FK_ADD; 5710 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 5711 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 5712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5713 _flag_k = FK_CMP; 5714 RECOMP_BACKEDGE(); 5715 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 5716 L_2B01E564: 5717 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 5718 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 5719 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 5720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5721 _cf = 0; 5722 _flag_k = FK_TEST; 5723 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 5724 L_2B01E56E: 5725 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 5726 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 5727 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5728 eax = 0; /* 0x2B01E574: xor eax, eax */ 5729 _cf = 0; 5730 _flag_k = FK_TEST; 5731 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 5732 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 5733 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 5734 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 5735 L_2B01E580: 5736 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 5737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5739 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 5740 _flag_k = FK_CMP; 5741 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 5742 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 5743 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 5744 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5745 eax = (uint32_t)((int32_t)eax >> 2u); 5746 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 5747 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 5748 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 5749 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 5750 L_2B01E598: 5751 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 5752 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 5753 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 5754 RECOMP_FLAGS_IN(); 5755 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 5756 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5757 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5758 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 5759 _flag_k = FK_ADD; 5760 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 5761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 5762 _cf = 0; 5763 _flag_k = FK_TEST; 5764 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 5765 L_2B01E5AB: 5766 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5767 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 5768 _cf = 0; 5769 _flag_k = FK_TEST; 5770 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 5771 L_2B01E5AF: 5772 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 5773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5775 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 5776 _flag_k = FK_CMP; 5777 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 5778 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5779 eax = (uint32_t)((int32_t)eax >> 2u); 5780 L_2B01E5B7: 5781 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 5782 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5783 _cf = 0; 5784 _flag_k = FK_TEST; 5785 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 5786 L_2B01E5BB: 5787 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5788 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 5789 _cf = 0; 5790 _flag_k = FK_TEST; 5791 L_2B01E5BD: 5792 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 5793 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 5794 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 5795 RECOMP_FLAGS_IN(); 5796 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5798 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 5799 _flag_k = FK_ADD; 5800 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 5801 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 5802 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 5803 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 5804 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 5805 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 5806 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 5807 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 5808 RECOMP_FLAGS_IN(); 5809 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 5810 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 5811 L_2B01E5E6: 5812 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 5813 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 5814 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5815 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 5816 _flag_k = FK_ADD; 5817 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 5818 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 5819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5820 _flag_k = FK_CMP; 5821 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 5822 RECOMP_BACKEDGE(); 5823 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 5824 L_2B01E5F7: 5825 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 5826 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 5827 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 5828 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 5829 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 5830 RECOMP_REGS_OUT(); 5831 } 5832 5833 void sub_2B01E4A2(void) { 5834 int _fpu_cmp = 0; 5835 uint32_t _cf = 0; 5836 int _df = 1; 5837 uint32_t _flag_k = FK_NONE; 5838 uint32_t _flag_a = 0, _flag_b = 0; 5839 uint32_t _itail_tgt = 0; 5840 RECOMP_REGS_LOCALS 5841 RECOMP_ENTER(0x2B01E4A2u); 5842 5843 goto L_2B01E4A2; 5844 L_2B01E484: 5845 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 5846 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 5847 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 5848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5849 _flag_k = FK_CMP; 5850 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 5851 L_2B01E48F: 5852 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 5853 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 5854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5855 _cf = 0; 5856 _flag_k = FK_TEST; 5857 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 5858 L_2B01E496: 5859 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5860 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 5861 _cf = 0; 5862 _flag_k = FK_TEST; 5863 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 5864 L_2B01E49A: 5865 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 5866 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5868 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 5869 _flag_k = FK_CMP; 5870 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 5871 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5872 ebx = (uint32_t)((int32_t)ebx >> 2u); 5873 L_2B01E4A2: 5874 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 5875 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 5876 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5877 _cf = 0; 5878 _flag_k = FK_TEST; 5879 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 5880 L_2B01E4A9: 5881 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5882 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 5883 _cf = 0; 5884 _flag_k = FK_TEST; 5885 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 5886 L_2B01E4AD: 5887 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 5888 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5890 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 5891 _flag_k = FK_CMP; 5892 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 5893 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5894 ecx = (uint32_t)((int32_t)ecx >> 2u); 5895 L_2B01E4B5: 5896 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 5897 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 5898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5899 _flag_k = FK_CMP; 5900 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 5901 L_2B01E4B9: 5902 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 5903 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 5904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5906 _flag_k = FK_CMP; 5907 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 5908 L_2B01E4C0: 5909 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 5910 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 5911 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 5912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5913 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 5914 _flag_k = FK_ADD; 5915 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 5916 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5917 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 5918 _flag_k = FK_ADD; 5919 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 5920 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5922 _flag_k = FK_CMP; 5923 RECOMP_BACKEDGE(); 5924 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 5925 L_2B01E4CE: 5926 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 5927 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 5928 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5929 _cf = 0; 5930 _flag_k = FK_TEST; 5931 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 5932 L_2B01E4D5: 5933 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 5934 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5935 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 5936 _cf = 0; 5937 _flag_k = FK_TEST; 5938 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 5939 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 5940 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 5941 L_2B01E4E5: 5942 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 5943 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 5944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5945 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 5946 _flag_k = FK_CMP; 5947 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 5948 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 5949 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5950 esi = (uint32_t)((int32_t)esi >> 2u); 5951 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 5952 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 5953 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 5954 L_2B01E4FB: 5955 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 5956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 5957 _cf = 0; 5958 _flag_k = FK_TEST; 5959 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 5960 L_2B01E4FF: 5961 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5962 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 5963 _cf = 0; 5964 _flag_k = FK_TEST; 5965 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 5966 L_2B01E503: 5967 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 5968 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 5969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5970 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 5971 _flag_k = FK_CMP; 5972 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 5973 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5974 ebx = (uint32_t)((int32_t)ebx >> 2u); 5975 L_2B01E50B: 5976 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 5977 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 5978 _cf = 0; 5979 _flag_k = FK_TEST; 5980 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 5981 L_2B01E50F: 5982 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5983 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 5984 _cf = 0; 5985 _flag_k = FK_TEST; 5986 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 5987 L_2B01E513: 5988 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 5989 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 5990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5991 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 5992 _flag_k = FK_CMP; 5993 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 5994 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5995 ecx = (uint32_t)((int32_t)ecx >> 2u); 5996 L_2B01E51B: 5997 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 5998 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 5999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6000 _flag_k = FK_CMP; 6001 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 6002 L_2B01E51F: 6003 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 6004 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6005 _cf = 0; 6006 _flag_k = FK_TEST; 6007 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 6008 L_2B01E523: 6009 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6010 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 6011 _cf = 0; 6012 _flag_k = FK_TEST; 6013 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 6014 L_2B01E527: 6015 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 6016 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6018 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 6019 _flag_k = FK_CMP; 6020 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 6021 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6022 ecx = (uint32_t)((int32_t)ecx >> 2u); 6023 L_2B01E52F: 6024 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 6025 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 6026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6028 _flag_k = FK_CMP; 6029 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 6030 L_2B01E536: 6031 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 6032 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 6033 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6034 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6035 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 6036 _flag_k = FK_ADD; 6037 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6038 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6039 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 6040 _flag_k = FK_ADD; 6041 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 6042 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6044 _flag_k = FK_CMP; 6045 RECOMP_BACKEDGE(); 6046 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 6047 L_2B01E544: 6048 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 6049 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 6050 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6052 _flag_k = FK_CMP; 6053 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 6054 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 6055 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 6056 L_2B01E550: 6057 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 6058 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 6059 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 6060 RECOMP_FLAGS_IN(); 6061 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 6062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6063 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 6064 _flag_k = FK_ADD; 6065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6067 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 6068 _flag_k = FK_ADD; 6069 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 6070 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6071 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 6072 _flag_k = FK_ADD; 6073 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 6074 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 6075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6076 _flag_k = FK_CMP; 6077 RECOMP_BACKEDGE(); 6078 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 6079 L_2B01E564: 6080 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 6081 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 6082 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 6083 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6084 _cf = 0; 6085 _flag_k = FK_TEST; 6086 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 6087 L_2B01E56E: 6088 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 6089 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 6090 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6091 eax = 0; /* 0x2B01E574: xor eax, eax */ 6092 _cf = 0; 6093 _flag_k = FK_TEST; 6094 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 6095 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 6096 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 6097 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 6098 L_2B01E580: 6099 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 6100 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6102 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 6103 _flag_k = FK_CMP; 6104 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 6105 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 6106 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 6107 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6108 eax = (uint32_t)((int32_t)eax >> 2u); 6109 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 6110 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 6111 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 6112 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 6113 L_2B01E598: 6114 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 6115 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 6116 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 6117 RECOMP_FLAGS_IN(); 6118 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 6119 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6120 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6121 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 6122 _flag_k = FK_ADD; 6123 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 6124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6125 _cf = 0; 6126 _flag_k = FK_TEST; 6127 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 6128 L_2B01E5AB: 6129 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6130 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 6131 _cf = 0; 6132 _flag_k = FK_TEST; 6133 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 6134 L_2B01E5AF: 6135 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 6136 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6138 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 6139 _flag_k = FK_CMP; 6140 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 6141 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6142 eax = (uint32_t)((int32_t)eax >> 2u); 6143 L_2B01E5B7: 6144 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 6145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6146 _cf = 0; 6147 _flag_k = FK_TEST; 6148 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 6149 L_2B01E5BB: 6150 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6151 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 6152 _cf = 0; 6153 _flag_k = FK_TEST; 6154 L_2B01E5BD: 6155 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 6156 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 6157 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 6158 RECOMP_FLAGS_IN(); 6159 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6161 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 6162 _flag_k = FK_ADD; 6163 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 6164 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 6165 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 6166 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 6167 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 6168 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 6169 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 6170 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 6171 RECOMP_FLAGS_IN(); 6172 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 6173 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 6174 L_2B01E5E6: 6175 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 6176 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 6177 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6178 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 6179 _flag_k = FK_ADD; 6180 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 6181 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6183 _flag_k = FK_CMP; 6184 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 6185 RECOMP_BACKEDGE(); 6186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 6187 L_2B01E5F7: 6188 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 6189 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 6190 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 6191 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 6192 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 6193 RECOMP_REGS_OUT(); 6194 } 6195 6196 void sub_2B01E4B5(void) { 6197 int _fpu_cmp = 0; 6198 uint32_t _cf = 0; 6199 int _df = 1; 6200 uint32_t _flag_k = FK_NONE; 6201 uint32_t _flag_a = 0, _flag_b = 0; 6202 uint32_t _itail_tgt = 0; 6203 RECOMP_REGS_LOCALS 6204 RECOMP_ENTER(0x2B01E4B5u); 6205 6206 goto L_2B01E4B5; 6207 L_2B01E484: 6208 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 6209 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 6210 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6212 _flag_k = FK_CMP; 6213 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 6214 L_2B01E48F: 6215 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 6216 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 6217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6218 _cf = 0; 6219 _flag_k = FK_TEST; 6220 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 6221 L_2B01E496: 6222 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6223 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 6224 _cf = 0; 6225 _flag_k = FK_TEST; 6226 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 6227 L_2B01E49A: 6228 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 6229 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6231 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 6232 _flag_k = FK_CMP; 6233 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 6234 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6235 ebx = (uint32_t)((int32_t)ebx >> 2u); 6236 L_2B01E4A2: 6237 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 6238 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 6239 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6240 _cf = 0; 6241 _flag_k = FK_TEST; 6242 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 6243 L_2B01E4A9: 6244 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6245 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 6246 _cf = 0; 6247 _flag_k = FK_TEST; 6248 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 6249 L_2B01E4AD: 6250 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 6251 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6253 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 6254 _flag_k = FK_CMP; 6255 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 6256 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6257 ecx = (uint32_t)((int32_t)ecx >> 2u); 6258 L_2B01E4B5: 6259 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 6260 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 6261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6262 _flag_k = FK_CMP; 6263 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 6264 L_2B01E4B9: 6265 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 6266 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 6267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6269 _flag_k = FK_CMP; 6270 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 6271 L_2B01E4C0: 6272 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 6273 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 6274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6275 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6276 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 6277 _flag_k = FK_ADD; 6278 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6280 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 6281 _flag_k = FK_ADD; 6282 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 6283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6285 _flag_k = FK_CMP; 6286 RECOMP_BACKEDGE(); 6287 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 6288 L_2B01E4CE: 6289 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 6290 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 6291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6292 _cf = 0; 6293 _flag_k = FK_TEST; 6294 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 6295 L_2B01E4D5: 6296 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 6297 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6298 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 6299 _cf = 0; 6300 _flag_k = FK_TEST; 6301 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 6302 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 6303 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 6304 L_2B01E4E5: 6305 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 6306 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 6307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6308 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 6309 _flag_k = FK_CMP; 6310 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 6311 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 6312 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6313 esi = (uint32_t)((int32_t)esi >> 2u); 6314 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 6315 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 6316 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 6317 L_2B01E4FB: 6318 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 6319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6320 _cf = 0; 6321 _flag_k = FK_TEST; 6322 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 6323 L_2B01E4FF: 6324 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6325 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 6326 _cf = 0; 6327 _flag_k = FK_TEST; 6328 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 6329 L_2B01E503: 6330 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 6331 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6333 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 6334 _flag_k = FK_CMP; 6335 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 6336 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6337 ebx = (uint32_t)((int32_t)ebx >> 2u); 6338 L_2B01E50B: 6339 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 6340 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6341 _cf = 0; 6342 _flag_k = FK_TEST; 6343 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 6344 L_2B01E50F: 6345 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6346 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 6347 _cf = 0; 6348 _flag_k = FK_TEST; 6349 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 6350 L_2B01E513: 6351 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 6352 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6354 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 6355 _flag_k = FK_CMP; 6356 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 6357 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6358 ecx = (uint32_t)((int32_t)ecx >> 2u); 6359 L_2B01E51B: 6360 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 6361 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 6362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6363 _flag_k = FK_CMP; 6364 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 6365 L_2B01E51F: 6366 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 6367 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6368 _cf = 0; 6369 _flag_k = FK_TEST; 6370 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 6371 L_2B01E523: 6372 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6373 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 6374 _cf = 0; 6375 _flag_k = FK_TEST; 6376 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 6377 L_2B01E527: 6378 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 6379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6381 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 6382 _flag_k = FK_CMP; 6383 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 6384 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6385 ecx = (uint32_t)((int32_t)ecx >> 2u); 6386 L_2B01E52F: 6387 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 6388 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 6389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6391 _flag_k = FK_CMP; 6392 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 6393 L_2B01E536: 6394 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 6395 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 6396 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6397 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6398 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 6399 _flag_k = FK_ADD; 6400 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6401 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6402 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 6403 _flag_k = FK_ADD; 6404 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 6405 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6407 _flag_k = FK_CMP; 6408 RECOMP_BACKEDGE(); 6409 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 6410 L_2B01E544: 6411 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 6412 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 6413 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6415 _flag_k = FK_CMP; 6416 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 6417 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 6418 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 6419 L_2B01E550: 6420 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 6421 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 6422 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 6423 RECOMP_FLAGS_IN(); 6424 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 6425 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6426 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 6427 _flag_k = FK_ADD; 6428 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6430 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 6431 _flag_k = FK_ADD; 6432 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 6433 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6434 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 6435 _flag_k = FK_ADD; 6436 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 6437 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 6438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6439 _flag_k = FK_CMP; 6440 RECOMP_BACKEDGE(); 6441 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 6442 L_2B01E564: 6443 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 6444 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 6445 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 6446 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6447 _cf = 0; 6448 _flag_k = FK_TEST; 6449 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 6450 L_2B01E56E: 6451 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 6452 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 6453 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6454 eax = 0; /* 0x2B01E574: xor eax, eax */ 6455 _cf = 0; 6456 _flag_k = FK_TEST; 6457 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 6458 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 6459 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 6460 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 6461 L_2B01E580: 6462 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 6463 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6464 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6465 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 6466 _flag_k = FK_CMP; 6467 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 6468 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 6469 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 6470 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6471 eax = (uint32_t)((int32_t)eax >> 2u); 6472 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 6473 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 6474 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 6475 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 6476 L_2B01E598: 6477 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 6478 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 6479 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 6480 RECOMP_FLAGS_IN(); 6481 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 6482 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6484 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 6485 _flag_k = FK_ADD; 6486 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 6487 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6488 _cf = 0; 6489 _flag_k = FK_TEST; 6490 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 6491 L_2B01E5AB: 6492 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6493 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 6494 _cf = 0; 6495 _flag_k = FK_TEST; 6496 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 6497 L_2B01E5AF: 6498 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 6499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6501 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 6502 _flag_k = FK_CMP; 6503 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 6504 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6505 eax = (uint32_t)((int32_t)eax >> 2u); 6506 L_2B01E5B7: 6507 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 6508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6509 _cf = 0; 6510 _flag_k = FK_TEST; 6511 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 6512 L_2B01E5BB: 6513 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6514 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 6515 _cf = 0; 6516 _flag_k = FK_TEST; 6517 L_2B01E5BD: 6518 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 6519 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 6520 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 6521 RECOMP_FLAGS_IN(); 6522 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6523 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6524 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 6525 _flag_k = FK_ADD; 6526 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 6527 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 6528 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 6529 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 6530 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 6531 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 6532 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 6533 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 6534 RECOMP_FLAGS_IN(); 6535 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 6536 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 6537 L_2B01E5E6: 6538 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 6539 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 6540 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6541 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 6542 _flag_k = FK_ADD; 6543 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 6544 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6546 _flag_k = FK_CMP; 6547 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 6548 RECOMP_BACKEDGE(); 6549 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 6550 L_2B01E5F7: 6551 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 6552 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 6553 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 6554 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 6555 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 6556 RECOMP_REGS_OUT(); 6557 } 6558 6559 void sub_2B01E50B(void) { 6560 int _fpu_cmp = 0; 6561 uint32_t _cf = 0; 6562 int _df = 1; 6563 uint32_t _flag_k = FK_NONE; 6564 uint32_t _flag_a = 0, _flag_b = 0; 6565 uint32_t _itail_tgt = 0; 6566 RECOMP_REGS_LOCALS 6567 RECOMP_ENTER(0x2B01E50Bu); 6568 6569 goto L_2B01E50B; 6570 L_2B01E484: 6571 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 6572 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 6573 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6575 _flag_k = FK_CMP; 6576 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 6577 L_2B01E48F: 6578 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 6579 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 6580 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6581 _cf = 0; 6582 _flag_k = FK_TEST; 6583 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 6584 L_2B01E496: 6585 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6586 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 6587 _cf = 0; 6588 _flag_k = FK_TEST; 6589 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 6590 L_2B01E49A: 6591 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 6592 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6594 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 6595 _flag_k = FK_CMP; 6596 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 6597 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6598 ebx = (uint32_t)((int32_t)ebx >> 2u); 6599 L_2B01E4A2: 6600 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 6601 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 6602 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6603 _cf = 0; 6604 _flag_k = FK_TEST; 6605 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 6606 L_2B01E4A9: 6607 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6608 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 6609 _cf = 0; 6610 _flag_k = FK_TEST; 6611 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 6612 L_2B01E4AD: 6613 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 6614 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6616 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 6617 _flag_k = FK_CMP; 6618 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 6619 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6620 ecx = (uint32_t)((int32_t)ecx >> 2u); 6621 L_2B01E4B5: 6622 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 6623 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 6624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6625 _flag_k = FK_CMP; 6626 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 6627 L_2B01E4B9: 6628 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 6629 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 6630 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6632 _flag_k = FK_CMP; 6633 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 6634 L_2B01E4C0: 6635 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 6636 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 6637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6638 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6639 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 6640 _flag_k = FK_ADD; 6641 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6643 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 6644 _flag_k = FK_ADD; 6645 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 6646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6648 _flag_k = FK_CMP; 6649 RECOMP_BACKEDGE(); 6650 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 6651 L_2B01E4CE: 6652 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 6653 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 6654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6655 _cf = 0; 6656 _flag_k = FK_TEST; 6657 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 6658 L_2B01E4D5: 6659 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 6660 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6661 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 6662 _cf = 0; 6663 _flag_k = FK_TEST; 6664 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 6665 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 6666 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 6667 L_2B01E4E5: 6668 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 6669 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 6670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6671 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 6672 _flag_k = FK_CMP; 6673 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 6674 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 6675 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6676 esi = (uint32_t)((int32_t)esi >> 2u); 6677 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 6678 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 6679 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 6680 L_2B01E4FB: 6681 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 6682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6683 _cf = 0; 6684 _flag_k = FK_TEST; 6685 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 6686 L_2B01E4FF: 6687 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6688 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 6689 _cf = 0; 6690 _flag_k = FK_TEST; 6691 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 6692 L_2B01E503: 6693 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 6694 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6696 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 6697 _flag_k = FK_CMP; 6698 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 6699 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6700 ebx = (uint32_t)((int32_t)ebx >> 2u); 6701 L_2B01E50B: 6702 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 6703 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6704 _cf = 0; 6705 _flag_k = FK_TEST; 6706 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 6707 L_2B01E50F: 6708 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6709 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 6710 _cf = 0; 6711 _flag_k = FK_TEST; 6712 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 6713 L_2B01E513: 6714 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 6715 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6717 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 6718 _flag_k = FK_CMP; 6719 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 6720 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6721 ecx = (uint32_t)((int32_t)ecx >> 2u); 6722 L_2B01E51B: 6723 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 6724 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 6725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6726 _flag_k = FK_CMP; 6727 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 6728 L_2B01E51F: 6729 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 6730 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6731 _cf = 0; 6732 _flag_k = FK_TEST; 6733 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 6734 L_2B01E523: 6735 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6736 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 6737 _cf = 0; 6738 _flag_k = FK_TEST; 6739 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 6740 L_2B01E527: 6741 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 6742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6744 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 6745 _flag_k = FK_CMP; 6746 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 6747 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6748 ecx = (uint32_t)((int32_t)ecx >> 2u); 6749 L_2B01E52F: 6750 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 6751 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 6752 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6754 _flag_k = FK_CMP; 6755 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 6756 L_2B01E536: 6757 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 6758 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 6759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 6760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6761 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 6762 _flag_k = FK_ADD; 6763 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 6764 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6765 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 6766 _flag_k = FK_ADD; 6767 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 6768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6770 _flag_k = FK_CMP; 6771 RECOMP_BACKEDGE(); 6772 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 6773 L_2B01E544: 6774 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 6775 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 6776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 6777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6778 _flag_k = FK_CMP; 6779 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 6780 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 6781 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 6782 L_2B01E550: 6783 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 6784 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 6785 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 6786 RECOMP_FLAGS_IN(); 6787 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 6788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6789 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 6790 _flag_k = FK_ADD; 6791 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 6792 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6793 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 6794 _flag_k = FK_ADD; 6795 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 6796 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6797 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 6798 _flag_k = FK_ADD; 6799 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 6800 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 6801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6802 _flag_k = FK_CMP; 6803 RECOMP_BACKEDGE(); 6804 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 6805 L_2B01E564: 6806 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 6807 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 6808 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 6809 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6810 _cf = 0; 6811 _flag_k = FK_TEST; 6812 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 6813 L_2B01E56E: 6814 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 6815 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 6816 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6817 eax = 0; /* 0x2B01E574: xor eax, eax */ 6818 _cf = 0; 6819 _flag_k = FK_TEST; 6820 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 6821 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 6822 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 6823 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 6824 L_2B01E580: 6825 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 6826 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6828 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 6829 _flag_k = FK_CMP; 6830 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 6831 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 6832 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 6833 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6834 eax = (uint32_t)((int32_t)eax >> 2u); 6835 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 6836 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 6837 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 6838 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 6839 L_2B01E598: 6840 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 6841 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 6842 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 6843 RECOMP_FLAGS_IN(); 6844 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 6845 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6846 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6847 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 6848 _flag_k = FK_ADD; 6849 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 6850 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 6851 _cf = 0; 6852 _flag_k = FK_TEST; 6853 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 6854 L_2B01E5AB: 6855 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6856 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 6857 _cf = 0; 6858 _flag_k = FK_TEST; 6859 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 6860 L_2B01E5AF: 6861 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 6862 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6864 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 6865 _flag_k = FK_CMP; 6866 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 6867 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6868 eax = (uint32_t)((int32_t)eax >> 2u); 6869 L_2B01E5B7: 6870 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 6871 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6872 _cf = 0; 6873 _flag_k = FK_TEST; 6874 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 6875 L_2B01E5BB: 6876 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6877 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 6878 _cf = 0; 6879 _flag_k = FK_TEST; 6880 L_2B01E5BD: 6881 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 6882 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 6883 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 6884 RECOMP_FLAGS_IN(); 6885 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6886 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6887 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 6888 _flag_k = FK_ADD; 6889 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 6890 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 6891 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 6892 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 6893 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 6894 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 6895 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 6896 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 6897 RECOMP_FLAGS_IN(); 6898 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 6899 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 6900 L_2B01E5E6: 6901 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 6902 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 6903 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6904 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 6905 _flag_k = FK_ADD; 6906 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 6907 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6909 _flag_k = FK_CMP; 6910 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 6911 RECOMP_BACKEDGE(); 6912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 6913 L_2B01E5F7: 6914 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 6915 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 6916 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 6917 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 6918 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 6919 RECOMP_REGS_OUT(); 6920 } 6921 6922 void sub_2B01E51B(void) { 6923 int _fpu_cmp = 0; 6924 uint32_t _cf = 0; 6925 int _df = 1; 6926 uint32_t _flag_k = FK_NONE; 6927 uint32_t _flag_a = 0, _flag_b = 0; 6928 uint32_t _itail_tgt = 0; 6929 RECOMP_REGS_LOCALS 6930 RECOMP_ENTER(0x2B01E51Bu); 6931 6932 goto L_2B01E51B; 6933 L_2B01E484: 6934 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 6935 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 6936 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 6937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6938 _flag_k = FK_CMP; 6939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 6940 L_2B01E48F: 6941 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 6942 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 6943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 6944 _cf = 0; 6945 _flag_k = FK_TEST; 6946 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 6947 L_2B01E496: 6948 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6949 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 6950 _cf = 0; 6951 _flag_k = FK_TEST; 6952 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 6953 L_2B01E49A: 6954 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 6955 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 6956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6957 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 6958 _flag_k = FK_CMP; 6959 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 6960 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6961 ebx = (uint32_t)((int32_t)ebx >> 2u); 6962 L_2B01E4A2: 6963 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 6964 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 6965 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 6966 _cf = 0; 6967 _flag_k = FK_TEST; 6968 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 6969 L_2B01E4A9: 6970 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6971 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 6972 _cf = 0; 6973 _flag_k = FK_TEST; 6974 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 6975 L_2B01E4AD: 6976 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 6977 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6979 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 6980 _flag_k = FK_CMP; 6981 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 6982 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6983 ecx = (uint32_t)((int32_t)ecx >> 2u); 6984 L_2B01E4B5: 6985 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 6986 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 6987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6988 _flag_k = FK_CMP; 6989 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 6990 L_2B01E4B9: 6991 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 6992 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 6993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6995 _flag_k = FK_CMP; 6996 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 6997 L_2B01E4C0: 6998 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 6999 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 7000 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7001 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7002 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 7003 _flag_k = FK_ADD; 7004 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7006 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 7007 _flag_k = FK_ADD; 7008 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 7009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7011 _flag_k = FK_CMP; 7012 RECOMP_BACKEDGE(); 7013 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 7014 L_2B01E4CE: 7015 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 7016 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 7017 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7018 _cf = 0; 7019 _flag_k = FK_TEST; 7020 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 7021 L_2B01E4D5: 7022 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 7023 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7024 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 7025 _cf = 0; 7026 _flag_k = FK_TEST; 7027 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 7028 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 7029 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 7030 L_2B01E4E5: 7031 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 7032 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7034 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 7035 _flag_k = FK_CMP; 7036 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 7037 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 7038 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7039 esi = (uint32_t)((int32_t)esi >> 2u); 7040 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 7041 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 7042 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 7043 L_2B01E4FB: 7044 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 7045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7046 _cf = 0; 7047 _flag_k = FK_TEST; 7048 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 7049 L_2B01E4FF: 7050 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7051 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 7052 _cf = 0; 7053 _flag_k = FK_TEST; 7054 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 7055 L_2B01E503: 7056 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 7057 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7059 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 7060 _flag_k = FK_CMP; 7061 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 7062 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7063 ebx = (uint32_t)((int32_t)ebx >> 2u); 7064 L_2B01E50B: 7065 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 7066 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7067 _cf = 0; 7068 _flag_k = FK_TEST; 7069 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 7070 L_2B01E50F: 7071 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7072 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 7073 _cf = 0; 7074 _flag_k = FK_TEST; 7075 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 7076 L_2B01E513: 7077 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 7078 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7080 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 7081 _flag_k = FK_CMP; 7082 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 7083 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7084 ecx = (uint32_t)((int32_t)ecx >> 2u); 7085 L_2B01E51B: 7086 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 7087 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7089 _flag_k = FK_CMP; 7090 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 7091 L_2B01E51F: 7092 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 7093 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7094 _cf = 0; 7095 _flag_k = FK_TEST; 7096 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 7097 L_2B01E523: 7098 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7099 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 7100 _cf = 0; 7101 _flag_k = FK_TEST; 7102 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 7103 L_2B01E527: 7104 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 7105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7107 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 7108 _flag_k = FK_CMP; 7109 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 7110 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7111 ecx = (uint32_t)((int32_t)ecx >> 2u); 7112 L_2B01E52F: 7113 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 7114 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 7115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7117 _flag_k = FK_CMP; 7118 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 7119 L_2B01E536: 7120 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 7121 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 7122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7123 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7124 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 7125 _flag_k = FK_ADD; 7126 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7127 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7128 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 7129 _flag_k = FK_ADD; 7130 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 7131 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7133 _flag_k = FK_CMP; 7134 RECOMP_BACKEDGE(); 7135 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 7136 L_2B01E544: 7137 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 7138 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 7139 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7141 _flag_k = FK_CMP; 7142 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 7143 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 7144 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 7145 L_2B01E550: 7146 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 7147 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 7148 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 7149 RECOMP_FLAGS_IN(); 7150 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 7151 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7152 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 7153 _flag_k = FK_ADD; 7154 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7155 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7156 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 7157 _flag_k = FK_ADD; 7158 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 7159 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7160 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 7161 _flag_k = FK_ADD; 7162 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 7163 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 7164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7165 _flag_k = FK_CMP; 7166 RECOMP_BACKEDGE(); 7167 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 7168 L_2B01E564: 7169 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 7170 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 7171 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 7172 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7173 _cf = 0; 7174 _flag_k = FK_TEST; 7175 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 7176 L_2B01E56E: 7177 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 7178 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 7179 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7180 eax = 0; /* 0x2B01E574: xor eax, eax */ 7181 _cf = 0; 7182 _flag_k = FK_TEST; 7183 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 7184 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 7185 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 7186 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 7187 L_2B01E580: 7188 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 7189 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7191 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 7192 _flag_k = FK_CMP; 7193 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 7194 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 7195 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 7196 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7197 eax = (uint32_t)((int32_t)eax >> 2u); 7198 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 7199 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 7200 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 7201 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 7202 L_2B01E598: 7203 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 7204 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 7205 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 7206 RECOMP_FLAGS_IN(); 7207 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 7208 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7209 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7210 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 7211 _flag_k = FK_ADD; 7212 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 7213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7214 _cf = 0; 7215 _flag_k = FK_TEST; 7216 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 7217 L_2B01E5AB: 7218 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7219 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 7220 _cf = 0; 7221 _flag_k = FK_TEST; 7222 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 7223 L_2B01E5AF: 7224 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 7225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7227 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 7228 _flag_k = FK_CMP; 7229 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 7230 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7231 eax = (uint32_t)((int32_t)eax >> 2u); 7232 L_2B01E5B7: 7233 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 7234 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7235 _cf = 0; 7236 _flag_k = FK_TEST; 7237 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 7238 L_2B01E5BB: 7239 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7240 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 7241 _cf = 0; 7242 _flag_k = FK_TEST; 7243 L_2B01E5BD: 7244 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 7245 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 7246 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 7247 RECOMP_FLAGS_IN(); 7248 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7249 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7250 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 7251 _flag_k = FK_ADD; 7252 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 7253 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 7254 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 7255 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 7256 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 7257 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 7258 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 7259 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 7260 RECOMP_FLAGS_IN(); 7261 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 7262 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 7263 L_2B01E5E6: 7264 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 7265 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 7266 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7267 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 7268 _flag_k = FK_ADD; 7269 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 7270 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7272 _flag_k = FK_CMP; 7273 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 7274 RECOMP_BACKEDGE(); 7275 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 7276 L_2B01E5F7: 7277 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 7278 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 7279 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 7280 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 7281 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 7282 RECOMP_REGS_OUT(); 7283 } 7284 7285 void sub_2B01E52F(void) { 7286 int _fpu_cmp = 0; 7287 uint32_t _cf = 0; 7288 int _df = 1; 7289 uint32_t _flag_k = FK_NONE; 7290 uint32_t _flag_a = 0, _flag_b = 0; 7291 uint32_t _itail_tgt = 0; 7292 RECOMP_REGS_LOCALS 7293 RECOMP_ENTER(0x2B01E52Fu); 7294 7295 goto L_2B01E52F; 7296 L_2B01E484: 7297 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 7298 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 7299 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7301 _flag_k = FK_CMP; 7302 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 7303 L_2B01E48F: 7304 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 7305 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 7306 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7307 _cf = 0; 7308 _flag_k = FK_TEST; 7309 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 7310 L_2B01E496: 7311 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7312 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 7313 _cf = 0; 7314 _flag_k = FK_TEST; 7315 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 7316 L_2B01E49A: 7317 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 7318 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7320 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 7321 _flag_k = FK_CMP; 7322 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 7323 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7324 ebx = (uint32_t)((int32_t)ebx >> 2u); 7325 L_2B01E4A2: 7326 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 7327 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 7328 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7329 _cf = 0; 7330 _flag_k = FK_TEST; 7331 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 7332 L_2B01E4A9: 7333 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7334 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 7335 _cf = 0; 7336 _flag_k = FK_TEST; 7337 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 7338 L_2B01E4AD: 7339 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 7340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7342 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 7343 _flag_k = FK_CMP; 7344 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 7345 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7346 ecx = (uint32_t)((int32_t)ecx >> 2u); 7347 L_2B01E4B5: 7348 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 7349 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7351 _flag_k = FK_CMP; 7352 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 7353 L_2B01E4B9: 7354 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 7355 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 7356 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7358 _flag_k = FK_CMP; 7359 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 7360 L_2B01E4C0: 7361 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 7362 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 7363 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7364 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7365 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 7366 _flag_k = FK_ADD; 7367 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7368 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7369 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 7370 _flag_k = FK_ADD; 7371 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 7372 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7374 _flag_k = FK_CMP; 7375 RECOMP_BACKEDGE(); 7376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 7377 L_2B01E4CE: 7378 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 7379 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 7380 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7381 _cf = 0; 7382 _flag_k = FK_TEST; 7383 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 7384 L_2B01E4D5: 7385 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 7386 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7387 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 7388 _cf = 0; 7389 _flag_k = FK_TEST; 7390 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 7391 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 7392 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 7393 L_2B01E4E5: 7394 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 7395 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7397 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 7398 _flag_k = FK_CMP; 7399 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 7400 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 7401 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7402 esi = (uint32_t)((int32_t)esi >> 2u); 7403 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 7404 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 7405 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 7406 L_2B01E4FB: 7407 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 7408 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7409 _cf = 0; 7410 _flag_k = FK_TEST; 7411 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 7412 L_2B01E4FF: 7413 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7414 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 7415 _cf = 0; 7416 _flag_k = FK_TEST; 7417 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 7418 L_2B01E503: 7419 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 7420 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7422 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 7423 _flag_k = FK_CMP; 7424 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 7425 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7426 ebx = (uint32_t)((int32_t)ebx >> 2u); 7427 L_2B01E50B: 7428 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 7429 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7430 _cf = 0; 7431 _flag_k = FK_TEST; 7432 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 7433 L_2B01E50F: 7434 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7435 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 7436 _cf = 0; 7437 _flag_k = FK_TEST; 7438 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 7439 L_2B01E513: 7440 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 7441 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7443 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 7444 _flag_k = FK_CMP; 7445 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 7446 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7447 ecx = (uint32_t)((int32_t)ecx >> 2u); 7448 L_2B01E51B: 7449 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 7450 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7452 _flag_k = FK_CMP; 7453 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 7454 L_2B01E51F: 7455 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 7456 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7457 _cf = 0; 7458 _flag_k = FK_TEST; 7459 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 7460 L_2B01E523: 7461 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7462 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 7463 _cf = 0; 7464 _flag_k = FK_TEST; 7465 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 7466 L_2B01E527: 7467 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 7468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7470 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 7471 _flag_k = FK_CMP; 7472 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 7473 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7474 ecx = (uint32_t)((int32_t)ecx >> 2u); 7475 L_2B01E52F: 7476 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 7477 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 7478 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7480 _flag_k = FK_CMP; 7481 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 7482 L_2B01E536: 7483 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 7484 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 7485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7486 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7487 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 7488 _flag_k = FK_ADD; 7489 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7490 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7491 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 7492 _flag_k = FK_ADD; 7493 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 7494 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7496 _flag_k = FK_CMP; 7497 RECOMP_BACKEDGE(); 7498 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 7499 L_2B01E544: 7500 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 7501 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 7502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7504 _flag_k = FK_CMP; 7505 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 7506 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 7507 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 7508 L_2B01E550: 7509 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 7510 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 7511 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 7512 RECOMP_FLAGS_IN(); 7513 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 7514 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7515 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 7516 _flag_k = FK_ADD; 7517 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7518 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7519 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 7520 _flag_k = FK_ADD; 7521 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 7522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7523 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 7524 _flag_k = FK_ADD; 7525 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 7526 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 7527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7528 _flag_k = FK_CMP; 7529 RECOMP_BACKEDGE(); 7530 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 7531 L_2B01E564: 7532 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 7533 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 7534 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 7535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7536 _cf = 0; 7537 _flag_k = FK_TEST; 7538 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 7539 L_2B01E56E: 7540 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 7541 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 7542 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7543 eax = 0; /* 0x2B01E574: xor eax, eax */ 7544 _cf = 0; 7545 _flag_k = FK_TEST; 7546 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 7547 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 7548 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 7549 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 7550 L_2B01E580: 7551 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 7552 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7554 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 7555 _flag_k = FK_CMP; 7556 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 7557 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 7558 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 7559 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7560 eax = (uint32_t)((int32_t)eax >> 2u); 7561 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 7562 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 7563 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 7564 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 7565 L_2B01E598: 7566 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 7567 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 7568 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 7569 RECOMP_FLAGS_IN(); 7570 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 7571 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7572 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7573 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 7574 _flag_k = FK_ADD; 7575 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 7576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7577 _cf = 0; 7578 _flag_k = FK_TEST; 7579 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 7580 L_2B01E5AB: 7581 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7582 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 7583 _cf = 0; 7584 _flag_k = FK_TEST; 7585 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 7586 L_2B01E5AF: 7587 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 7588 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7590 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 7591 _flag_k = FK_CMP; 7592 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 7593 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7594 eax = (uint32_t)((int32_t)eax >> 2u); 7595 L_2B01E5B7: 7596 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 7597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7598 _cf = 0; 7599 _flag_k = FK_TEST; 7600 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 7601 L_2B01E5BB: 7602 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7603 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 7604 _cf = 0; 7605 _flag_k = FK_TEST; 7606 L_2B01E5BD: 7607 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 7608 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 7609 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 7610 RECOMP_FLAGS_IN(); 7611 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7612 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7613 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 7614 _flag_k = FK_ADD; 7615 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 7616 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 7617 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 7618 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 7619 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 7620 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 7621 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 7622 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 7623 RECOMP_FLAGS_IN(); 7624 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 7625 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 7626 L_2B01E5E6: 7627 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 7628 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 7629 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7630 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 7631 _flag_k = FK_ADD; 7632 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 7633 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7635 _flag_k = FK_CMP; 7636 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 7637 RECOMP_BACKEDGE(); 7638 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 7639 L_2B01E5F7: 7640 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 7641 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 7642 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 7643 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 7644 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 7645 RECOMP_REGS_OUT(); 7646 } 7647 7648 void sub_2B01E5B7(void) { 7649 int _fpu_cmp = 0; 7650 uint32_t _cf = 0; 7651 int _df = 1; 7652 uint32_t _flag_k = FK_NONE; 7653 uint32_t _flag_a = 0, _flag_b = 0; 7654 uint32_t _itail_tgt = 0; 7655 RECOMP_REGS_LOCALS 7656 RECOMP_ENTER(0x2B01E5B7u); 7657 7658 goto L_2B01E5B7; 7659 L_2B01E484: 7660 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 7661 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 7662 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 7663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7664 _flag_k = FK_CMP; 7665 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 7666 L_2B01E48F: 7667 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 7668 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 7669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7670 _cf = 0; 7671 _flag_k = FK_TEST; 7672 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 7673 L_2B01E496: 7674 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7675 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 7676 _cf = 0; 7677 _flag_k = FK_TEST; 7678 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 7679 L_2B01E49A: 7680 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 7681 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7683 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 7684 _flag_k = FK_CMP; 7685 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 7686 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7687 ebx = (uint32_t)((int32_t)ebx >> 2u); 7688 L_2B01E4A2: 7689 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 7690 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 7691 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7692 _cf = 0; 7693 _flag_k = FK_TEST; 7694 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 7695 L_2B01E4A9: 7696 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7697 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 7698 _cf = 0; 7699 _flag_k = FK_TEST; 7700 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 7701 L_2B01E4AD: 7702 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 7703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7705 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 7706 _flag_k = FK_CMP; 7707 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 7708 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7709 ecx = (uint32_t)((int32_t)ecx >> 2u); 7710 L_2B01E4B5: 7711 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 7712 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7714 _flag_k = FK_CMP; 7715 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 7716 L_2B01E4B9: 7717 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 7718 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 7719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7721 _flag_k = FK_CMP; 7722 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 7723 L_2B01E4C0: 7724 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 7725 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 7726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7727 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7728 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 7729 _flag_k = FK_ADD; 7730 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7731 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7732 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 7733 _flag_k = FK_ADD; 7734 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 7735 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7737 _flag_k = FK_CMP; 7738 RECOMP_BACKEDGE(); 7739 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 7740 L_2B01E4CE: 7741 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 7742 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 7743 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7744 _cf = 0; 7745 _flag_k = FK_TEST; 7746 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 7747 L_2B01E4D5: 7748 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 7749 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7750 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 7751 _cf = 0; 7752 _flag_k = FK_TEST; 7753 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 7754 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 7755 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 7756 L_2B01E4E5: 7757 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 7758 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7760 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 7761 _flag_k = FK_CMP; 7762 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 7763 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 7764 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7765 esi = (uint32_t)((int32_t)esi >> 2u); 7766 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 7767 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 7768 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 7769 L_2B01E4FB: 7770 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 7771 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7772 _cf = 0; 7773 _flag_k = FK_TEST; 7774 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 7775 L_2B01E4FF: 7776 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7777 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 7778 _cf = 0; 7779 _flag_k = FK_TEST; 7780 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 7781 L_2B01E503: 7782 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 7783 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 7784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7785 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 7786 _flag_k = FK_CMP; 7787 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 7788 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7789 ebx = (uint32_t)((int32_t)ebx >> 2u); 7790 L_2B01E50B: 7791 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 7792 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7793 _cf = 0; 7794 _flag_k = FK_TEST; 7795 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 7796 L_2B01E50F: 7797 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7798 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 7799 _cf = 0; 7800 _flag_k = FK_TEST; 7801 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 7802 L_2B01E513: 7803 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 7804 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7806 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 7807 _flag_k = FK_CMP; 7808 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 7809 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7810 ecx = (uint32_t)((int32_t)ecx >> 2u); 7811 L_2B01E51B: 7812 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 7813 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7815 _flag_k = FK_CMP; 7816 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 7817 L_2B01E51F: 7818 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 7819 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 7820 _cf = 0; 7821 _flag_k = FK_TEST; 7822 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 7823 L_2B01E523: 7824 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7825 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 7826 _cf = 0; 7827 _flag_k = FK_TEST; 7828 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 7829 L_2B01E527: 7830 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 7831 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7833 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 7834 _flag_k = FK_CMP; 7835 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 7836 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7837 ecx = (uint32_t)((int32_t)ecx >> 2u); 7838 L_2B01E52F: 7839 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 7840 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 7841 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7843 _flag_k = FK_CMP; 7844 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 7845 L_2B01E536: 7846 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 7847 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 7848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 7849 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7850 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 7851 _flag_k = FK_ADD; 7852 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 7853 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7854 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 7855 _flag_k = FK_ADD; 7856 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 7857 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7859 _flag_k = FK_CMP; 7860 RECOMP_BACKEDGE(); 7861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 7862 L_2B01E544: 7863 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 7864 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 7865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 7866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7867 _flag_k = FK_CMP; 7868 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 7869 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 7870 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 7871 L_2B01E550: 7872 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 7873 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 7874 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 7875 RECOMP_FLAGS_IN(); 7876 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 7877 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7878 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 7879 _flag_k = FK_ADD; 7880 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7881 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7882 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 7883 _flag_k = FK_ADD; 7884 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 7885 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7886 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 7887 _flag_k = FK_ADD; 7888 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 7889 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 7890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7891 _flag_k = FK_CMP; 7892 RECOMP_BACKEDGE(); 7893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 7894 L_2B01E564: 7895 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 7896 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 7897 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 7898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7899 _cf = 0; 7900 _flag_k = FK_TEST; 7901 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 7902 L_2B01E56E: 7903 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 7904 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 7905 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7906 eax = 0; /* 0x2B01E574: xor eax, eax */ 7907 _cf = 0; 7908 _flag_k = FK_TEST; 7909 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 7910 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 7911 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 7912 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 7913 L_2B01E580: 7914 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 7915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7917 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 7918 _flag_k = FK_CMP; 7919 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 7920 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 7921 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 7922 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7923 eax = (uint32_t)((int32_t)eax >> 2u); 7924 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 7925 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 7926 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 7927 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 7928 L_2B01E598: 7929 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 7930 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 7931 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 7932 RECOMP_FLAGS_IN(); 7933 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 7934 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7935 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7936 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 7937 _flag_k = FK_ADD; 7938 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 7939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7940 _cf = 0; 7941 _flag_k = FK_TEST; 7942 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 7943 L_2B01E5AB: 7944 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7945 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 7946 _cf = 0; 7947 _flag_k = FK_TEST; 7948 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 7949 L_2B01E5AF: 7950 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 7951 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7953 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 7954 _flag_k = FK_CMP; 7955 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 7956 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7957 eax = (uint32_t)((int32_t)eax >> 2u); 7958 L_2B01E5B7: 7959 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 7960 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7961 _cf = 0; 7962 _flag_k = FK_TEST; 7963 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 7964 L_2B01E5BB: 7965 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7966 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 7967 _cf = 0; 7968 _flag_k = FK_TEST; 7969 L_2B01E5BD: 7970 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 7971 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 7972 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 7973 RECOMP_FLAGS_IN(); 7974 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7975 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7976 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 7977 _flag_k = FK_ADD; 7978 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 7979 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 7980 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 7981 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 7982 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 7983 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 7984 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 7985 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 7986 RECOMP_FLAGS_IN(); 7987 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 7988 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 7989 L_2B01E5E6: 7990 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 7991 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 7992 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7993 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 7994 _flag_k = FK_ADD; 7995 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 7996 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7998 _flag_k = FK_CMP; 7999 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 8000 RECOMP_BACKEDGE(); 8001 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 8002 L_2B01E5F7: 8003 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 8004 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 8005 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 8006 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 8007 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 8008 RECOMP_REGS_OUT(); 8009 } 8010 8011 void sub_2B01E5E6(void) { 8012 int _fpu_cmp = 0; 8013 uint32_t _cf = 0; 8014 int _df = 1; 8015 uint32_t _flag_k = FK_NONE; 8016 uint32_t _flag_a = 0, _flag_b = 0; 8017 uint32_t _itail_tgt = 0; 8018 RECOMP_REGS_LOCALS 8019 RECOMP_ENTER(0x2B01E5E6u); 8020 8021 goto L_2B01E5E6; 8022 L_2B01E484: 8023 esi = MEM32(ebp + 0x10); /* 0x2B01E484: mov esi, dword ptr [ebp + 0x10] */ 8024 /* cmp edi, esi */ /* 0x2B01E487: cmp edi, esi */ 8025 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 8026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8027 _flag_k = FK_CMP; 8028 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E5E6; /* 0x2B01E489: je 0x2b01e5e6 */ 8029 L_2B01E48F: 8030 eax = MEM32(esi + 0x4); /* 0x2B01E48F: mov eax, dword ptr [esi + 4] */ 8031 /* test eax, eax */ /* 0x2B01E492: test eax, eax */ 8032 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8033 _cf = 0; 8034 _flag_k = FK_TEST; 8035 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E49A; /* 0x2B01E494: jne 0x2b01e49a */ 8036 L_2B01E496: 8037 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8038 ebx = 0; /* 0x2B01E496: xor ebx, ebx */ 8039 _cf = 0; 8040 _flag_k = FK_TEST; 8041 goto L_2B01E4A2; /* 0x2B01E498: jmp 0x2b01e4a2 */ 8042 L_2B01E49A: 8043 ebx = MEM32(esi + 0x8); /* 0x2B01E49A: mov ebx, dword ptr [esi + 8] */ 8044 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8046 ebx = ebx - eax; /* 0x2B01E49D: sub ebx, eax */ 8047 _flag_k = FK_CMP; 8048 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E49F: sar ebx, 2 */ 8049 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8050 ebx = (uint32_t)((int32_t)ebx >> 2u); 8051 L_2B01E4A2: 8052 edx = MEM32(edi + 0x4); /* 0x2B01E4A2: mov edx, dword ptr [edi + 4] */ 8053 /* test edx, edx */ /* 0x2B01E4A5: test edx, edx */ 8054 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8055 _cf = 0; 8056 _flag_k = FK_TEST; 8057 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4AD; /* 0x2B01E4A7: jne 0x2b01e4ad */ 8058 L_2B01E4A9: 8059 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8060 ecx = 0; /* 0x2B01E4A9: xor ecx, ecx */ 8061 _cf = 0; 8062 _flag_k = FK_TEST; 8063 goto L_2B01E4B5; /* 0x2B01E4AB: jmp 0x2b01e4b5 */ 8064 L_2B01E4AD: 8065 ecx = MEM32(edi + 0x8); /* 0x2B01E4AD: mov ecx, dword ptr [edi + 8] */ 8066 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8068 ecx = ecx - edx; /* 0x2B01E4B0: sub ecx, edx */ 8069 _flag_k = FK_CMP; 8070 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E4B2: sar ecx, 2 */ 8071 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8072 ecx = (uint32_t)((int32_t)ecx >> 2u); 8073 L_2B01E4B5: 8074 /* cmp ebx, ecx */ /* 0x2B01E4B5: cmp ebx, ecx */ 8075 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 8076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8077 _flag_k = FK_CMP; 8078 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E4FB; /* 0x2B01E4B7: ja 0x2b01e4fb */ 8079 L_2B01E4B9: 8080 ecx = MEM32(esi + 0x8); /* 0x2B01E4B9: mov ecx, dword ptr [esi + 8] */ 8081 /* cmp eax, ecx */ /* 0x2B01E4BC: cmp eax, ecx */ 8082 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8084 _flag_k = FK_CMP; 8085 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E4CE; /* 0x2B01E4BE: je 0x2b01e4ce */ 8086 L_2B01E4C0: 8087 ebx = MEM32(eax); /* 0x2B01E4C0: mov ebx, dword ptr [eax] */ 8088 MEM32(edx) = ebx; /* 0x2B01E4C2: mov dword ptr [edx], ebx */ 8089 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8090 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8091 eax = eax + 4; /* 0x2B01E4C4: add eax, 4 */ 8092 _flag_k = FK_ADD; 8093 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8094 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8095 edx = edx + 4; /* 0x2B01E4C7: add edx, 4 */ 8096 _flag_k = FK_ADD; 8097 /* cmp eax, ecx */ /* 0x2B01E4CA: cmp eax, ecx */ 8098 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8100 _flag_k = FK_CMP; 8101 RECOMP_BACKEDGE(); 8102 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E4C0; /* 0x2B01E4CC: jne 0x2b01e4c0 */ 8103 L_2B01E4CE: 8104 eax = MEM32(esi + 0x4); /* 0x2B01E4CE: mov eax, dword ptr [esi + 4] */ 8105 /* test eax, eax */ /* 0x2B01E4D1: test eax, eax */ 8106 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8107 _cf = 0; 8108 _flag_k = FK_TEST; 8109 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E4E5; /* 0x2B01E4D3: jne 0x2b01e4e5 */ 8110 L_2B01E4D5: 8111 eax = MEM32(edi + 0x4); /* 0x2B01E4D5: mov eax, dword ptr [edi + 4] */ 8112 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8113 esi = 0; /* 0x2B01E4D8: xor esi, esi */ 8114 _cf = 0; 8115 _flag_k = FK_TEST; 8116 ecx = eax + esi * 4; /* 0x2B01E4DA: lea ecx, [eax + esi*4] */ 8117 MEM32(edi + 0x8) = ecx; /* 0x2B01E4DD: mov dword ptr [edi + 8], ecx */ 8118 goto L_2B01E5E6; /* 0x2B01E4E0: jmp 0x2b01e5e6 */ 8119 L_2B01E4E5: 8120 esi = MEM32(esi + 0x8); /* 0x2B01E4E5: mov esi, dword ptr [esi + 8] */ 8121 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 8122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8123 esi = esi - eax; /* 0x2B01E4E8: sub esi, eax */ 8124 _flag_k = FK_CMP; 8125 eax = MEM32(edi + 0x4); /* 0x2B01E4EA: mov eax, dword ptr [edi + 4] */ 8126 if (2u) _cf = (((esi) >> 1) & 1u); /* 0x2B01E4ED: sar esi, 2 */ 8127 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8128 esi = (uint32_t)((int32_t)esi >> 2u); 8129 ecx = eax + esi * 4; /* 0x2B01E4F0: lea ecx, [eax + esi*4] */ 8130 MEM32(edi + 0x8) = ecx; /* 0x2B01E4F3: mov dword ptr [edi + 8], ecx */ 8131 goto L_2B01E5E6; /* 0x2B01E4F6: jmp 0x2b01e5e6 */ 8132 L_2B01E4FB: 8133 /* test eax, eax */ /* 0x2B01E4FB: test eax, eax */ 8134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8135 _cf = 0; 8136 _flag_k = FK_TEST; 8137 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E503; /* 0x2B01E4FD: jne 0x2b01e503 */ 8138 L_2B01E4FF: 8139 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8140 ebx = 0; /* 0x2B01E4FF: xor ebx, ebx */ 8141 _cf = 0; 8142 _flag_k = FK_TEST; 8143 goto L_2B01E50B; /* 0x2B01E501: jmp 0x2b01e50b */ 8144 L_2B01E503: 8145 ebx = MEM32(esi + 0x8); /* 0x2B01E503: mov ebx, dword ptr [esi + 8] */ 8146 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8148 ebx = ebx - eax; /* 0x2B01E506: sub ebx, eax */ 8149 _flag_k = FK_CMP; 8150 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E508: sar ebx, 2 */ 8151 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8152 ebx = (uint32_t)((int32_t)ebx >> 2u); 8153 L_2B01E50B: 8154 /* test edx, edx */ /* 0x2B01E50B: test edx, edx */ 8155 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8156 _cf = 0; 8157 _flag_k = FK_TEST; 8158 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E513; /* 0x2B01E50D: jne 0x2b01e513 */ 8159 L_2B01E50F: 8160 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8161 ecx = 0; /* 0x2B01E50F: xor ecx, ecx */ 8162 _cf = 0; 8163 _flag_k = FK_TEST; 8164 goto L_2B01E51B; /* 0x2B01E511: jmp 0x2b01e51b */ 8165 L_2B01E513: 8166 ecx = MEM32(edi + 0xC); /* 0x2B01E513: mov ecx, dword ptr [edi + 0xc] */ 8167 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8169 ecx = ecx - edx; /* 0x2B01E516: sub ecx, edx */ 8170 _flag_k = FK_CMP; 8171 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E518: sar ecx, 2 */ 8172 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8173 ecx = (uint32_t)((int32_t)ecx >> 2u); 8174 L_2B01E51B: 8175 /* cmp ebx, ecx */ /* 0x2B01E51B: cmp ebx, ecx */ 8176 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 8177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8178 _flag_k = FK_CMP; 8179 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E598; /* 0x2B01E51D: ja 0x2b01e598 */ 8180 L_2B01E51F: 8181 /* test edx, edx */ /* 0x2B01E51F: test edx, edx */ 8182 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8183 _cf = 0; 8184 _flag_k = FK_TEST; 8185 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E527; /* 0x2B01E521: jne 0x2b01e527 */ 8186 L_2B01E523: 8187 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8188 ecx = 0; /* 0x2B01E523: xor ecx, ecx */ 8189 _cf = 0; 8190 _flag_k = FK_TEST; 8191 goto L_2B01E52F; /* 0x2B01E525: jmp 0x2b01e52f */ 8192 L_2B01E527: 8193 ecx = MEM32(edi + 0x8); /* 0x2B01E527: mov ecx, dword ptr [edi + 8] */ 8194 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8196 ecx = ecx - edx; /* 0x2B01E52A: sub ecx, edx */ 8197 _flag_k = FK_CMP; 8198 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E52C: sar ecx, 2 */ 8199 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8200 ecx = (uint32_t)((int32_t)ecx >> 2u); 8201 L_2B01E52F: 8202 ecx = eax + ecx * 4; /* 0x2B01E52F: lea ecx, [eax + ecx*4] */ 8203 /* cmp eax, ecx */ /* 0x2B01E532: cmp eax, ecx */ 8204 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8206 _flag_k = FK_CMP; 8207 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E544; /* 0x2B01E534: je 0x2b01e544 */ 8208 L_2B01E536: 8209 ebx = MEM32(eax); /* 0x2B01E536: mov ebx, dword ptr [eax] */ 8210 MEM32(edx) = ebx; /* 0x2B01E538: mov dword ptr [edx], ebx */ 8211 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8213 eax = eax + 4; /* 0x2B01E53A: add eax, 4 */ 8214 _flag_k = FK_ADD; 8215 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8217 edx = edx + 4; /* 0x2B01E53D: add edx, 4 */ 8218 _flag_k = FK_ADD; 8219 /* cmp eax, ecx */ /* 0x2B01E540: cmp eax, ecx */ 8220 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8222 _flag_k = FK_CMP; 8223 RECOMP_BACKEDGE(); 8224 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E536; /* 0x2B01E542: jne 0x2b01e536 */ 8225 L_2B01E544: 8226 ebx = MEM32(esi + 0x8); /* 0x2B01E544: mov ebx, dword ptr [esi + 8] */ 8227 /* cmp ecx, ebx */ /* 0x2B01E547: cmp ecx, ebx */ 8228 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 8229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8230 _flag_k = FK_CMP; 8231 edi = MEM32(edi + 0x8); /* 0x2B01E549: mov edi, dword ptr [edi + 8] */ 8232 esi = ecx; /* 0x2B01E54C: mov esi, ecx */ 8233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E564; /* 0x2B01E54E: je 0x2b01e564 */ 8234 L_2B01E550: 8235 PUSH32(esp, esi); /* 0x2B01E550: push esi */ 8236 PUSH32(esp, edi); /* 0x2B01E551: push edi */ 8237 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E552: call 0x2b02aae0 */ /* not lifted */ 8238 RECOMP_FLAGS_IN(); 8239 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 8240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8241 esi = esi + 4; /* 0x2B01E557: add esi, 4 */ 8242 _flag_k = FK_ADD; 8243 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8245 esp = esp + 8; /* 0x2B01E55A: add esp, 8 */ 8246 _flag_k = FK_ADD; 8247 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 8248 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8249 edi = edi + 4; /* 0x2B01E55D: add edi, 4 */ 8250 _flag_k = FK_ADD; 8251 /* cmp esi, ebx */ /* 0x2B01E560: cmp esi, ebx */ 8252 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 8253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8254 _flag_k = FK_CMP; 8255 RECOMP_BACKEDGE(); 8256 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E550; /* 0x2B01E562: jne 0x2b01e550 */ 8257 L_2B01E564: 8258 eax = MEM32(ebp + 0x10); /* 0x2B01E564: mov eax, dword ptr [ebp + 0x10] */ 8259 ecx = MEM32(eax + 0x4); /* 0x2B01E567: mov ecx, dword ptr [eax + 4] */ 8260 /* test ecx, ecx */ /* 0x2B01E56A: test ecx, ecx */ 8261 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8262 _cf = 0; 8263 _flag_k = FK_TEST; 8264 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E580; /* 0x2B01E56C: jne 0x2b01e580 */ 8265 L_2B01E56E: 8266 ecx = MEM32(ebp + 0x8); /* 0x2B01E56E: mov ecx, dword ptr [ebp + 8] */ 8267 edx = MEM32(ecx + 0x4); /* 0x2B01E571: mov edx, dword ptr [ecx + 4] */ 8268 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8269 eax = 0; /* 0x2B01E574: xor eax, eax */ 8270 _cf = 0; 8271 _flag_k = FK_TEST; 8272 eax = edx + eax * 4; /* 0x2B01E576: lea eax, [edx + eax*4] */ 8273 MEM32(ecx + 0x8) = eax; /* 0x2B01E579: mov dword ptr [ecx + 8], eax */ 8274 edi = ecx; /* 0x2B01E57C: mov edi, ecx */ 8275 goto L_2B01E5E6; /* 0x2B01E57E: jmp 0x2b01e5e6 */ 8276 L_2B01E580: 8277 eax = MEM32(eax + 0x8); /* 0x2B01E580: mov eax, dword ptr [eax + 8] */ 8278 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8280 eax = eax - ecx; /* 0x2B01E583: sub eax, ecx */ 8281 _flag_k = FK_CMP; 8282 ecx = MEM32(ebp + 0x8); /* 0x2B01E585: mov ecx, dword ptr [ebp + 8] */ 8283 edx = MEM32(ecx + 0x4); /* 0x2B01E588: mov edx, dword ptr [ecx + 4] */ 8284 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E58B: sar eax, 2 */ 8285 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8286 eax = (uint32_t)((int32_t)eax >> 2u); 8287 eax = edx + eax * 4; /* 0x2B01E58E: lea eax, [edx + eax*4] */ 8288 MEM32(ecx + 0x8) = eax; /* 0x2B01E591: mov dword ptr [ecx + 8], eax */ 8289 edi = ecx; /* 0x2B01E594: mov edi, ecx */ 8290 goto L_2B01E5E6; /* 0x2B01E596: jmp 0x2b01e5e6 */ 8291 L_2B01E598: 8292 PUSH32(esp, edx); /* 0x2B01E598: push edx */ 8293 MEM32(ebp + 0x8) = edx; /* 0x2B01E599: mov dword ptr [ebp + 8], edx */ 8294 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E59C: call 0x2b0ab1ba */ /* not lifted */ 8295 RECOMP_FLAGS_IN(); 8296 ecx = MEM32(esi + 0x4); /* 0x2B01E5A1: mov ecx, dword ptr [esi + 4] */ 8297 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8298 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8299 esp = esp + 4; /* 0x2B01E5A4: add esp, 4 */ 8300 _flag_k = FK_ADD; 8301 /* test ecx, ecx */ /* 0x2B01E5A7: test ecx, ecx */ 8302 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8303 _cf = 0; 8304 _flag_k = FK_TEST; 8305 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E5AF; /* 0x2B01E5A9: jne 0x2b01e5af */ 8306 L_2B01E5AB: 8307 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8308 eax = 0; /* 0x2B01E5AB: xor eax, eax */ 8309 _cf = 0; 8310 _flag_k = FK_TEST; 8311 goto L_2B01E5B7; /* 0x2B01E5AD: jmp 0x2b01e5b7 */ 8312 L_2B01E5AF: 8313 eax = MEM32(esi + 0x8); /* 0x2B01E5AF: mov eax, dword ptr [esi + 8] */ 8314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8316 eax = eax - ecx; /* 0x2B01E5B2: sub eax, ecx */ 8317 _flag_k = FK_CMP; 8318 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E5B4: sar eax, 2 */ 8319 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8320 eax = (uint32_t)((int32_t)eax >> 2u); 8321 L_2B01E5B7: 8322 /* test eax, eax */ /* 0x2B01E5B7: test eax, eax */ 8323 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8324 _cf = 0; 8325 _flag_k = FK_TEST; 8326 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E5BD; /* 0x2B01E5B9: jge 0x2b01e5bd */ 8327 L_2B01E5BB: 8328 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8329 eax = 0; /* 0x2B01E5BB: xor eax, eax */ 8330 _cf = 0; 8331 _flag_k = FK_TEST; 8332 L_2B01E5BD: 8333 ecx = eax * 4; /* 0x2B01E5BD: lea ecx, [eax*4] */ 8334 PUSH32(esp, ecx); /* 0x2B01E5C4: push ecx */ 8335 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E5C5: call 0x2b0ab212 */ /* not lifted */ 8336 RECOMP_FLAGS_IN(); 8337 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8338 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8339 esp = esp + 4; /* 0x2B01E5CA: add esp, 4 */ 8340 _flag_k = FK_ADD; 8341 MEM32(edi + 0x4) = eax; /* 0x2B01E5CD: mov dword ptr [edi + 4], eax */ 8342 ecx = MEM32(esi + 0x8); /* 0x2B01E5D0: mov ecx, dword ptr [esi + 8] */ 8343 esi = MEM32(esi + 0x4); /* 0x2B01E5D3: mov esi, dword ptr [esi + 4] */ 8344 PUSH32(esp, eax); /* 0x2B01E5D6: push eax */ 8345 PUSH32(esp, ecx); /* 0x2B01E5D7: push ecx */ 8346 PUSH32(esp, esi); /* 0x2B01E5D8: push esi */ 8347 ecx = edi; /* 0x2B01E5D9: mov ecx, edi */ 8348 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E5DB: call 0x2b01da20 */ /* not lifted */ 8349 RECOMP_FLAGS_IN(); 8350 MEM32(edi + 0x8) = eax; /* 0x2B01E5E0: mov dword ptr [edi + 8], eax */ 8351 MEM32(edi + 0xC) = eax; /* 0x2B01E5E3: mov dword ptr [edi + 0xc], eax */ 8352 L_2B01E5E6: 8353 eax = MEM32(ebp + 0xC); /* 0x2B01E5E6: mov eax, dword ptr [ebp + 0xc] */ 8354 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 8355 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8356 edi = edi + 0x10u; /* 0x2B01E5E9: add edi, 0x10 */ 8357 _flag_k = FK_ADD; 8358 /* cmp edi, eax */ /* 0x2B01E5EC: cmp edi, eax */ 8359 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8361 _flag_k = FK_CMP; 8362 MEM32(ebp + 0x8) = edi; /* 0x2B01E5EE: mov dword ptr [ebp + 8], edi */ 8363 RECOMP_BACKEDGE(); 8364 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E484; /* 0x2B01E5F1: jne 0x2b01e484 */ 8365 L_2B01E5F7: 8366 esi = POP32_VAL(esp); /* 0x2B01E5F7: pop esi */ 8367 ebx = POP32_VAL(esp); /* 0x2B01E5F8: pop ebx */ 8368 edi = POP32_VAL(esp); /* 0x2B01E5F9: pop edi */ 8369 ebp = POP32_VAL(esp); /* 0x2B01E5FA: pop ebp */ 8370 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E5FB: ret */ 8371 RECOMP_REGS_OUT(); 8372 } 8373 8374 void sub_2B01E600(void) { 8375 int _fpu_cmp = 0; 8376 uint32_t _cf = 0; 8377 int _df = 1; 8378 uint32_t _flag_k = FK_NONE; 8379 uint32_t _flag_a = 0, _flag_b = 0; 8380 uint32_t _itail_tgt = 0; 8381 RECOMP_REGS_LOCALS 8382 RECOMP_ENTER(0x2B01E600u); 8383 8384 L_2B01E600: 8385 PUSH32(esp, ebp); /* 0x2B01E600: push ebp */ 8386 ebp = esp; /* 0x2B01E601: mov ebp, esp */ 8387 eax = MEM32(ebp + 0x8); /* 0x2B01E603: mov eax, dword ptr [ebp + 8] */ 8388 PUSH32(esp, edi); /* 0x2B01E606: push edi */ 8389 edi = MEM32(ebp + 0xC); /* 0x2B01E607: mov edi, dword ptr [ebp + 0xc] */ 8390 /* cmp eax, edi */ /* 0x2B01E60A: cmp eax, edi */ 8391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8393 _flag_k = FK_CMP; 8394 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E792; /* 0x2B01E60C: je 0x2b01e792 */ 8395 L_2B01E612: 8396 PUSH32(esp, ebx); /* 0x2B01E612: push ebx */ 8397 PUSH32(esp, esi); /* 0x2B01E613: push esi */ 8398 L_2B01E614: 8399 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 8400 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 8401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8402 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 8403 _flag_k = FK_CMP; 8404 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 8405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8406 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 8407 _flag_k = FK_CMP; 8408 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 8409 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 8410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8411 _flag_k = FK_CMP; 8412 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 8413 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 8414 L_2B01E628: 8415 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 8416 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 8417 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8418 _cf = 0; 8419 _flag_k = FK_TEST; 8420 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 8421 L_2B01E62F: 8422 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8423 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 8424 _cf = 0; 8425 _flag_k = FK_TEST; 8426 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 8427 L_2B01E633: 8428 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 8429 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8431 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 8432 _flag_k = FK_CMP; 8433 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 8434 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8435 ebx = (uint32_t)((int32_t)ebx >> 2u); 8436 L_2B01E63B: 8437 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 8438 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 8439 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8440 _cf = 0; 8441 _flag_k = FK_TEST; 8442 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 8443 L_2B01E642: 8444 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8445 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 8446 _cf = 0; 8447 _flag_k = FK_TEST; 8448 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 8449 L_2B01E646: 8450 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 8451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8453 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 8454 _flag_k = FK_CMP; 8455 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 8456 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8457 ecx = (uint32_t)((int32_t)ecx >> 2u); 8458 L_2B01E64E: 8459 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 8460 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 8461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8462 _flag_k = FK_CMP; 8463 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 8464 L_2B01E652: 8465 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 8466 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 8467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8469 _flag_k = FK_CMP; 8470 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 8471 L_2B01E659: 8472 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 8473 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 8474 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8476 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 8477 _flag_k = FK_ADD; 8478 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8480 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 8481 _flag_k = FK_ADD; 8482 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 8483 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8485 _flag_k = FK_CMP; 8486 RECOMP_BACKEDGE(); 8487 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 8488 L_2B01E667: 8489 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 8490 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 8491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8492 _cf = 0; 8493 _flag_k = FK_TEST; 8494 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 8495 L_2B01E66E: 8496 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 8497 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8498 eax = 0; /* 0x2B01E671: xor eax, eax */ 8499 _cf = 0; 8500 _flag_k = FK_TEST; 8501 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 8502 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 8503 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 8504 L_2B01E67E: 8505 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 8506 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8508 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 8509 _flag_k = FK_CMP; 8510 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 8511 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 8512 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8513 eax = (uint32_t)((int32_t)eax >> 2u); 8514 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 8515 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 8516 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 8517 L_2B01E694: 8518 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 8519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8520 _cf = 0; 8521 _flag_k = FK_TEST; 8522 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 8523 L_2B01E698: 8524 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8525 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 8526 _cf = 0; 8527 _flag_k = FK_TEST; 8528 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 8529 L_2B01E69C: 8530 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 8531 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8533 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 8534 _flag_k = FK_CMP; 8535 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 8536 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8537 ebx = (uint32_t)((int32_t)ebx >> 2u); 8538 L_2B01E6A4: 8539 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 8540 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8541 _cf = 0; 8542 _flag_k = FK_TEST; 8543 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 8544 L_2B01E6A8: 8545 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8546 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 8547 _cf = 0; 8548 _flag_k = FK_TEST; 8549 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 8550 L_2B01E6AC: 8551 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 8552 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8554 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 8555 _flag_k = FK_CMP; 8556 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 8557 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8558 ecx = (uint32_t)((int32_t)ecx >> 2u); 8559 L_2B01E6B4: 8560 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 8561 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 8562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8563 _flag_k = FK_CMP; 8564 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 8565 L_2B01E6B8: 8566 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 8567 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8568 _cf = 0; 8569 _flag_k = FK_TEST; 8570 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 8571 L_2B01E6BC: 8572 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8573 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 8574 _cf = 0; 8575 _flag_k = FK_TEST; 8576 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 8577 L_2B01E6C0: 8578 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 8579 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8581 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 8582 _flag_k = FK_CMP; 8583 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 8584 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8585 ecx = (uint32_t)((int32_t)ecx >> 2u); 8586 L_2B01E6C8: 8587 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 8588 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 8589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8591 _flag_k = FK_CMP; 8592 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 8593 L_2B01E6CF: 8594 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 8595 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 8596 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8598 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 8599 _flag_k = FK_ADD; 8600 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8601 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8602 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 8603 _flag_k = FK_ADD; 8604 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 8605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8607 _flag_k = FK_CMP; 8608 RECOMP_BACKEDGE(); 8609 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 8610 L_2B01E6DD: 8611 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 8612 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 8613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8615 _flag_k = FK_CMP; 8616 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 8617 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 8618 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 8619 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 8620 L_2B01E6EC: 8621 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 8622 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 8623 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 8624 RECOMP_FLAGS_IN(); 8625 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 8626 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 8627 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8628 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 8629 _flag_k = FK_ADD; 8630 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8631 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8632 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 8633 _flag_k = FK_ADD; 8634 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 8635 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8636 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 8637 _flag_k = FK_ADD; 8638 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 8639 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 8640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8641 _flag_k = FK_CMP; 8642 RECOMP_BACKEDGE(); 8643 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 8644 L_2B01E703: 8645 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 8646 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 8647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8648 _cf = 0; 8649 _flag_k = FK_TEST; 8650 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 8651 L_2B01E70A: 8652 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 8653 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 8654 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8655 eax = 0; /* 0x2B01E710: xor eax, eax */ 8656 _cf = 0; 8657 _flag_k = FK_TEST; 8658 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 8659 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 8660 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 8661 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 8662 L_2B01E71C: 8663 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 8664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8666 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 8667 _flag_k = FK_CMP; 8668 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 8669 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 8670 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 8671 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8672 eax = (uint32_t)((int32_t)eax >> 2u); 8673 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 8674 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 8675 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 8676 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 8677 L_2B01E734: 8678 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 8679 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 8680 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 8681 RECOMP_FLAGS_IN(); 8682 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 8683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8684 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8685 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 8686 _flag_k = FK_ADD; 8687 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 8688 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8689 _cf = 0; 8690 _flag_k = FK_TEST; 8691 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 8692 L_2B01E747: 8693 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8694 eax = 0; /* 0x2B01E747: xor eax, eax */ 8695 _cf = 0; 8696 _flag_k = FK_TEST; 8697 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 8698 L_2B01E74B: 8699 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 8700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8702 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 8703 _flag_k = FK_CMP; 8704 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 8705 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8706 eax = (uint32_t)((int32_t)eax >> 2u); 8707 L_2B01E753: 8708 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 8709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8710 _cf = 0; 8711 _flag_k = FK_TEST; 8712 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 8713 L_2B01E757: 8714 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8715 eax = 0; /* 0x2B01E757: xor eax, eax */ 8716 _cf = 0; 8717 _flag_k = FK_TEST; 8718 L_2B01E759: 8719 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 8720 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 8721 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 8722 RECOMP_FLAGS_IN(); 8723 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8724 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8725 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 8726 _flag_k = FK_ADD; 8727 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 8728 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 8729 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 8730 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 8731 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 8732 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 8733 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 8734 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 8735 RECOMP_FLAGS_IN(); 8736 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 8737 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 8738 L_2B01E782: 8739 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 8740 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 8741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8742 _flag_k = FK_CMP; 8743 RECOMP_BACKEDGE(); 8744 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 8745 L_2B01E78B: 8746 eax = esi; /* 0x2B01E78B: mov eax, esi */ 8747 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 8748 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 8749 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 8750 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 8751 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 8752 L_2B01E792: 8753 eax = MEM32(ebp + 0x10); /* 0x2B01E792: mov eax, dword ptr [ebp + 0x10] */ 8754 edi = POP32_VAL(esp); /* 0x2B01E795: pop edi */ 8755 ebp = POP32_VAL(esp); /* 0x2B01E796: pop ebp */ 8756 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E797: ret */ 8757 RECOMP_REGS_OUT(); 8758 } 8759 8760 void sub_2B01E614(void) { 8761 int _fpu_cmp = 0; 8762 uint32_t _cf = 0; 8763 int _df = 1; 8764 uint32_t _flag_k = FK_NONE; 8765 uint32_t _flag_a = 0, _flag_b = 0; 8766 uint32_t _itail_tgt = 0; 8767 RECOMP_REGS_LOCALS 8768 RECOMP_ENTER(0x2B01E614u); 8769 8770 L_2B01E614: 8771 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 8772 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 8773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8774 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 8775 _flag_k = FK_CMP; 8776 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 8777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8778 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 8779 _flag_k = FK_CMP; 8780 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 8781 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 8782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8783 _flag_k = FK_CMP; 8784 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 8785 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 8786 L_2B01E628: 8787 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 8788 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 8789 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8790 _cf = 0; 8791 _flag_k = FK_TEST; 8792 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 8793 L_2B01E62F: 8794 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8795 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 8796 _cf = 0; 8797 _flag_k = FK_TEST; 8798 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 8799 L_2B01E633: 8800 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 8801 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8803 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 8804 _flag_k = FK_CMP; 8805 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 8806 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8807 ebx = (uint32_t)((int32_t)ebx >> 2u); 8808 L_2B01E63B: 8809 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 8810 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 8811 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8812 _cf = 0; 8813 _flag_k = FK_TEST; 8814 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 8815 L_2B01E642: 8816 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8817 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 8818 _cf = 0; 8819 _flag_k = FK_TEST; 8820 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 8821 L_2B01E646: 8822 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 8823 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8825 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 8826 _flag_k = FK_CMP; 8827 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 8828 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8829 ecx = (uint32_t)((int32_t)ecx >> 2u); 8830 L_2B01E64E: 8831 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 8832 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 8833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8834 _flag_k = FK_CMP; 8835 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 8836 L_2B01E652: 8837 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 8838 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 8839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8841 _flag_k = FK_CMP; 8842 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 8843 L_2B01E659: 8844 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 8845 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 8846 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8848 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 8849 _flag_k = FK_ADD; 8850 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8851 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8852 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 8853 _flag_k = FK_ADD; 8854 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 8855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8857 _flag_k = FK_CMP; 8858 RECOMP_BACKEDGE(); 8859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 8860 L_2B01E667: 8861 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 8862 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 8863 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8864 _cf = 0; 8865 _flag_k = FK_TEST; 8866 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 8867 L_2B01E66E: 8868 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 8869 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8870 eax = 0; /* 0x2B01E671: xor eax, eax */ 8871 _cf = 0; 8872 _flag_k = FK_TEST; 8873 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 8874 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 8875 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 8876 L_2B01E67E: 8877 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 8878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8880 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 8881 _flag_k = FK_CMP; 8882 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 8883 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 8884 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8885 eax = (uint32_t)((int32_t)eax >> 2u); 8886 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 8887 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 8888 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 8889 L_2B01E694: 8890 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 8891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8892 _cf = 0; 8893 _flag_k = FK_TEST; 8894 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 8895 L_2B01E698: 8896 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8897 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 8898 _cf = 0; 8899 _flag_k = FK_TEST; 8900 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 8901 L_2B01E69C: 8902 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 8903 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 8904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8905 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 8906 _flag_k = FK_CMP; 8907 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 8908 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8909 ebx = (uint32_t)((int32_t)ebx >> 2u); 8910 L_2B01E6A4: 8911 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 8912 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8913 _cf = 0; 8914 _flag_k = FK_TEST; 8915 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 8916 L_2B01E6A8: 8917 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8918 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 8919 _cf = 0; 8920 _flag_k = FK_TEST; 8921 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 8922 L_2B01E6AC: 8923 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 8924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8926 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 8927 _flag_k = FK_CMP; 8928 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 8929 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8930 ecx = (uint32_t)((int32_t)ecx >> 2u); 8931 L_2B01E6B4: 8932 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 8933 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 8934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8935 _flag_k = FK_CMP; 8936 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 8937 L_2B01E6B8: 8938 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 8939 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 8940 _cf = 0; 8941 _flag_k = FK_TEST; 8942 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 8943 L_2B01E6BC: 8944 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8945 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 8946 _cf = 0; 8947 _flag_k = FK_TEST; 8948 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 8949 L_2B01E6C0: 8950 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 8951 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8953 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 8954 _flag_k = FK_CMP; 8955 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 8956 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 8957 ecx = (uint32_t)((int32_t)ecx >> 2u); 8958 L_2B01E6C8: 8959 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 8960 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 8961 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8963 _flag_k = FK_CMP; 8964 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 8965 L_2B01E6CF: 8966 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 8967 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 8968 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 8969 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8970 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 8971 _flag_k = FK_ADD; 8972 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 8973 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8974 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 8975 _flag_k = FK_ADD; 8976 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 8977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8979 _flag_k = FK_CMP; 8980 RECOMP_BACKEDGE(); 8981 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 8982 L_2B01E6DD: 8983 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 8984 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 8985 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8987 _flag_k = FK_CMP; 8988 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 8989 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 8990 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 8991 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 8992 L_2B01E6EC: 8993 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 8994 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 8995 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 8996 RECOMP_FLAGS_IN(); 8997 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 8998 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 8999 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9000 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 9001 _flag_k = FK_ADD; 9002 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9003 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9004 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 9005 _flag_k = FK_ADD; 9006 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 9007 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9008 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 9009 _flag_k = FK_ADD; 9010 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 9011 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9013 _flag_k = FK_CMP; 9014 RECOMP_BACKEDGE(); 9015 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 9016 L_2B01E703: 9017 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 9018 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 9019 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9020 _cf = 0; 9021 _flag_k = FK_TEST; 9022 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 9023 L_2B01E70A: 9024 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 9025 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 9026 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9027 eax = 0; /* 0x2B01E710: xor eax, eax */ 9028 _cf = 0; 9029 _flag_k = FK_TEST; 9030 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 9031 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 9032 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 9033 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 9034 L_2B01E71C: 9035 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 9036 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9038 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 9039 _flag_k = FK_CMP; 9040 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 9041 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 9042 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 9043 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9044 eax = (uint32_t)((int32_t)eax >> 2u); 9045 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 9046 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 9047 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 9048 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 9049 L_2B01E734: 9050 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 9051 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 9052 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 9053 RECOMP_FLAGS_IN(); 9054 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 9055 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9056 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9057 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 9058 _flag_k = FK_ADD; 9059 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 9060 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9061 _cf = 0; 9062 _flag_k = FK_TEST; 9063 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 9064 L_2B01E747: 9065 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9066 eax = 0; /* 0x2B01E747: xor eax, eax */ 9067 _cf = 0; 9068 _flag_k = FK_TEST; 9069 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 9070 L_2B01E74B: 9071 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 9072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9074 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 9075 _flag_k = FK_CMP; 9076 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 9077 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9078 eax = (uint32_t)((int32_t)eax >> 2u); 9079 L_2B01E753: 9080 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 9081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9082 _cf = 0; 9083 _flag_k = FK_TEST; 9084 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 9085 L_2B01E757: 9086 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9087 eax = 0; /* 0x2B01E757: xor eax, eax */ 9088 _cf = 0; 9089 _flag_k = FK_TEST; 9090 L_2B01E759: 9091 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 9092 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 9093 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 9094 RECOMP_FLAGS_IN(); 9095 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9096 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9097 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 9098 _flag_k = FK_ADD; 9099 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 9100 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 9101 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 9102 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 9103 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 9104 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 9105 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 9106 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 9107 RECOMP_FLAGS_IN(); 9108 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 9109 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 9110 L_2B01E782: 9111 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 9112 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 9113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9114 _flag_k = FK_CMP; 9115 RECOMP_BACKEDGE(); 9116 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 9117 L_2B01E78B: 9118 eax = esi; /* 0x2B01E78B: mov eax, esi */ 9119 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 9120 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 9121 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 9122 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 9123 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 9124 RECOMP_REGS_OUT(); 9125 } 9126 9127 void sub_2B01E63B(void) { 9128 int _fpu_cmp = 0; 9129 uint32_t _cf = 0; 9130 int _df = 1; 9131 uint32_t _flag_k = FK_NONE; 9132 uint32_t _flag_a = 0, _flag_b = 0; 9133 uint32_t _itail_tgt = 0; 9134 RECOMP_REGS_LOCALS 9135 RECOMP_ENTER(0x2B01E63Bu); 9136 9137 goto L_2B01E63B; 9138 L_2B01E614: 9139 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 9140 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 9141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9142 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 9143 _flag_k = FK_CMP; 9144 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 9145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9146 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 9147 _flag_k = FK_CMP; 9148 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 9149 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9151 _flag_k = FK_CMP; 9152 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 9153 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 9154 L_2B01E628: 9155 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 9156 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 9157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9158 _cf = 0; 9159 _flag_k = FK_TEST; 9160 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 9161 L_2B01E62F: 9162 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9163 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 9164 _cf = 0; 9165 _flag_k = FK_TEST; 9166 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 9167 L_2B01E633: 9168 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 9169 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9171 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 9172 _flag_k = FK_CMP; 9173 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 9174 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9175 ebx = (uint32_t)((int32_t)ebx >> 2u); 9176 L_2B01E63B: 9177 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 9178 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 9179 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9180 _cf = 0; 9181 _flag_k = FK_TEST; 9182 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 9183 L_2B01E642: 9184 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9185 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 9186 _cf = 0; 9187 _flag_k = FK_TEST; 9188 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 9189 L_2B01E646: 9190 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 9191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9193 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 9194 _flag_k = FK_CMP; 9195 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 9196 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9197 ecx = (uint32_t)((int32_t)ecx >> 2u); 9198 L_2B01E64E: 9199 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 9200 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9202 _flag_k = FK_CMP; 9203 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 9204 L_2B01E652: 9205 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 9206 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 9207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9209 _flag_k = FK_CMP; 9210 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 9211 L_2B01E659: 9212 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 9213 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 9214 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9216 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 9217 _flag_k = FK_ADD; 9218 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 9219 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9220 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 9221 _flag_k = FK_ADD; 9222 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 9223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9225 _flag_k = FK_CMP; 9226 RECOMP_BACKEDGE(); 9227 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 9228 L_2B01E667: 9229 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 9230 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 9231 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9232 _cf = 0; 9233 _flag_k = FK_TEST; 9234 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 9235 L_2B01E66E: 9236 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 9237 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9238 eax = 0; /* 0x2B01E671: xor eax, eax */ 9239 _cf = 0; 9240 _flag_k = FK_TEST; 9241 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 9242 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 9243 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 9244 L_2B01E67E: 9245 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 9246 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9248 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 9249 _flag_k = FK_CMP; 9250 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 9251 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 9252 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9253 eax = (uint32_t)((int32_t)eax >> 2u); 9254 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 9255 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 9256 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 9257 L_2B01E694: 9258 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 9259 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9260 _cf = 0; 9261 _flag_k = FK_TEST; 9262 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 9263 L_2B01E698: 9264 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9265 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 9266 _cf = 0; 9267 _flag_k = FK_TEST; 9268 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 9269 L_2B01E69C: 9270 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 9271 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9273 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 9274 _flag_k = FK_CMP; 9275 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 9276 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9277 ebx = (uint32_t)((int32_t)ebx >> 2u); 9278 L_2B01E6A4: 9279 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 9280 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9281 _cf = 0; 9282 _flag_k = FK_TEST; 9283 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 9284 L_2B01E6A8: 9285 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9286 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 9287 _cf = 0; 9288 _flag_k = FK_TEST; 9289 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 9290 L_2B01E6AC: 9291 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 9292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9294 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 9295 _flag_k = FK_CMP; 9296 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 9297 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9298 ecx = (uint32_t)((int32_t)ecx >> 2u); 9299 L_2B01E6B4: 9300 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 9301 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9303 _flag_k = FK_CMP; 9304 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 9305 L_2B01E6B8: 9306 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 9307 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9308 _cf = 0; 9309 _flag_k = FK_TEST; 9310 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 9311 L_2B01E6BC: 9312 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9313 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 9314 _cf = 0; 9315 _flag_k = FK_TEST; 9316 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 9317 L_2B01E6C0: 9318 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 9319 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9321 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 9322 _flag_k = FK_CMP; 9323 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 9324 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9325 ecx = (uint32_t)((int32_t)ecx >> 2u); 9326 L_2B01E6C8: 9327 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 9328 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 9329 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9331 _flag_k = FK_CMP; 9332 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 9333 L_2B01E6CF: 9334 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 9335 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 9336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9337 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9338 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 9339 _flag_k = FK_ADD; 9340 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 9341 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9342 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 9343 _flag_k = FK_ADD; 9344 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 9345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9347 _flag_k = FK_CMP; 9348 RECOMP_BACKEDGE(); 9349 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 9350 L_2B01E6DD: 9351 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 9352 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 9353 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9355 _flag_k = FK_CMP; 9356 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 9357 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 9358 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 9359 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 9360 L_2B01E6EC: 9361 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 9362 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 9363 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 9364 RECOMP_FLAGS_IN(); 9365 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 9366 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 9367 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9368 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 9369 _flag_k = FK_ADD; 9370 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9371 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9372 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 9373 _flag_k = FK_ADD; 9374 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 9375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9376 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 9377 _flag_k = FK_ADD; 9378 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 9379 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9381 _flag_k = FK_CMP; 9382 RECOMP_BACKEDGE(); 9383 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 9384 L_2B01E703: 9385 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 9386 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 9387 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9388 _cf = 0; 9389 _flag_k = FK_TEST; 9390 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 9391 L_2B01E70A: 9392 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 9393 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 9394 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9395 eax = 0; /* 0x2B01E710: xor eax, eax */ 9396 _cf = 0; 9397 _flag_k = FK_TEST; 9398 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 9399 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 9400 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 9401 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 9402 L_2B01E71C: 9403 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 9404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9406 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 9407 _flag_k = FK_CMP; 9408 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 9409 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 9410 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 9411 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9412 eax = (uint32_t)((int32_t)eax >> 2u); 9413 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 9414 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 9415 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 9416 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 9417 L_2B01E734: 9418 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 9419 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 9420 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 9421 RECOMP_FLAGS_IN(); 9422 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 9423 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9424 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9425 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 9426 _flag_k = FK_ADD; 9427 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 9428 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9429 _cf = 0; 9430 _flag_k = FK_TEST; 9431 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 9432 L_2B01E747: 9433 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9434 eax = 0; /* 0x2B01E747: xor eax, eax */ 9435 _cf = 0; 9436 _flag_k = FK_TEST; 9437 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 9438 L_2B01E74B: 9439 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 9440 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9442 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 9443 _flag_k = FK_CMP; 9444 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 9445 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9446 eax = (uint32_t)((int32_t)eax >> 2u); 9447 L_2B01E753: 9448 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 9449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9450 _cf = 0; 9451 _flag_k = FK_TEST; 9452 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 9453 L_2B01E757: 9454 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9455 eax = 0; /* 0x2B01E757: xor eax, eax */ 9456 _cf = 0; 9457 _flag_k = FK_TEST; 9458 L_2B01E759: 9459 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 9460 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 9461 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 9462 RECOMP_FLAGS_IN(); 9463 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9465 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 9466 _flag_k = FK_ADD; 9467 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 9468 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 9469 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 9470 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 9471 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 9472 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 9473 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 9474 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 9475 RECOMP_FLAGS_IN(); 9476 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 9477 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 9478 L_2B01E782: 9479 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 9480 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 9481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9482 _flag_k = FK_CMP; 9483 RECOMP_BACKEDGE(); 9484 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 9485 L_2B01E78B: 9486 eax = esi; /* 0x2B01E78B: mov eax, esi */ 9487 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 9488 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 9489 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 9490 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 9491 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 9492 RECOMP_REGS_OUT(); 9493 } 9494 9495 void sub_2B01E64E(void) { 9496 int _fpu_cmp = 0; 9497 uint32_t _cf = 0; 9498 int _df = 1; 9499 uint32_t _flag_k = FK_NONE; 9500 uint32_t _flag_a = 0, _flag_b = 0; 9501 uint32_t _itail_tgt = 0; 9502 RECOMP_REGS_LOCALS 9503 RECOMP_ENTER(0x2B01E64Eu); 9504 9505 goto L_2B01E64E; 9506 L_2B01E614: 9507 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 9508 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 9509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9510 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 9511 _flag_k = FK_CMP; 9512 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 9513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9514 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 9515 _flag_k = FK_CMP; 9516 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 9517 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9519 _flag_k = FK_CMP; 9520 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 9521 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 9522 L_2B01E628: 9523 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 9524 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 9525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9526 _cf = 0; 9527 _flag_k = FK_TEST; 9528 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 9529 L_2B01E62F: 9530 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9531 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 9532 _cf = 0; 9533 _flag_k = FK_TEST; 9534 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 9535 L_2B01E633: 9536 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 9537 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9539 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 9540 _flag_k = FK_CMP; 9541 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 9542 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9543 ebx = (uint32_t)((int32_t)ebx >> 2u); 9544 L_2B01E63B: 9545 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 9546 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 9547 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9548 _cf = 0; 9549 _flag_k = FK_TEST; 9550 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 9551 L_2B01E642: 9552 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9553 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 9554 _cf = 0; 9555 _flag_k = FK_TEST; 9556 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 9557 L_2B01E646: 9558 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 9559 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9561 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 9562 _flag_k = FK_CMP; 9563 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 9564 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9565 ecx = (uint32_t)((int32_t)ecx >> 2u); 9566 L_2B01E64E: 9567 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 9568 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9570 _flag_k = FK_CMP; 9571 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 9572 L_2B01E652: 9573 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 9574 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 9575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9577 _flag_k = FK_CMP; 9578 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 9579 L_2B01E659: 9580 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 9581 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 9582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9584 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 9585 _flag_k = FK_ADD; 9586 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 9587 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9588 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 9589 _flag_k = FK_ADD; 9590 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 9591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9593 _flag_k = FK_CMP; 9594 RECOMP_BACKEDGE(); 9595 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 9596 L_2B01E667: 9597 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 9598 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 9599 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9600 _cf = 0; 9601 _flag_k = FK_TEST; 9602 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 9603 L_2B01E66E: 9604 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 9605 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9606 eax = 0; /* 0x2B01E671: xor eax, eax */ 9607 _cf = 0; 9608 _flag_k = FK_TEST; 9609 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 9610 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 9611 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 9612 L_2B01E67E: 9613 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 9614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9616 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 9617 _flag_k = FK_CMP; 9618 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 9619 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 9620 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9621 eax = (uint32_t)((int32_t)eax >> 2u); 9622 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 9623 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 9624 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 9625 L_2B01E694: 9626 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 9627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9628 _cf = 0; 9629 _flag_k = FK_TEST; 9630 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 9631 L_2B01E698: 9632 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9633 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 9634 _cf = 0; 9635 _flag_k = FK_TEST; 9636 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 9637 L_2B01E69C: 9638 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 9639 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9641 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 9642 _flag_k = FK_CMP; 9643 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 9644 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9645 ebx = (uint32_t)((int32_t)ebx >> 2u); 9646 L_2B01E6A4: 9647 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 9648 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9649 _cf = 0; 9650 _flag_k = FK_TEST; 9651 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 9652 L_2B01E6A8: 9653 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9654 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 9655 _cf = 0; 9656 _flag_k = FK_TEST; 9657 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 9658 L_2B01E6AC: 9659 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 9660 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9662 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 9663 _flag_k = FK_CMP; 9664 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 9665 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9666 ecx = (uint32_t)((int32_t)ecx >> 2u); 9667 L_2B01E6B4: 9668 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 9669 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9671 _flag_k = FK_CMP; 9672 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 9673 L_2B01E6B8: 9674 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 9675 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9676 _cf = 0; 9677 _flag_k = FK_TEST; 9678 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 9679 L_2B01E6BC: 9680 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9681 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 9682 _cf = 0; 9683 _flag_k = FK_TEST; 9684 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 9685 L_2B01E6C0: 9686 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 9687 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9689 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 9690 _flag_k = FK_CMP; 9691 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 9692 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9693 ecx = (uint32_t)((int32_t)ecx >> 2u); 9694 L_2B01E6C8: 9695 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 9696 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 9697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9699 _flag_k = FK_CMP; 9700 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 9701 L_2B01E6CF: 9702 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 9703 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 9704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9705 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9706 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 9707 _flag_k = FK_ADD; 9708 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 9709 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9710 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 9711 _flag_k = FK_ADD; 9712 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 9713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9715 _flag_k = FK_CMP; 9716 RECOMP_BACKEDGE(); 9717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 9718 L_2B01E6DD: 9719 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 9720 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 9721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9723 _flag_k = FK_CMP; 9724 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 9725 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 9726 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 9727 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 9728 L_2B01E6EC: 9729 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 9730 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 9731 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 9732 RECOMP_FLAGS_IN(); 9733 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 9734 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 9735 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9736 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 9737 _flag_k = FK_ADD; 9738 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9739 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9740 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 9741 _flag_k = FK_ADD; 9742 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 9743 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9744 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 9745 _flag_k = FK_ADD; 9746 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 9747 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9749 _flag_k = FK_CMP; 9750 RECOMP_BACKEDGE(); 9751 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 9752 L_2B01E703: 9753 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 9754 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 9755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9756 _cf = 0; 9757 _flag_k = FK_TEST; 9758 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 9759 L_2B01E70A: 9760 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 9761 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 9762 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9763 eax = 0; /* 0x2B01E710: xor eax, eax */ 9764 _cf = 0; 9765 _flag_k = FK_TEST; 9766 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 9767 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 9768 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 9769 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 9770 L_2B01E71C: 9771 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 9772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9774 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 9775 _flag_k = FK_CMP; 9776 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 9777 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 9778 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 9779 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9780 eax = (uint32_t)((int32_t)eax >> 2u); 9781 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 9782 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 9783 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 9784 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 9785 L_2B01E734: 9786 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 9787 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 9788 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 9789 RECOMP_FLAGS_IN(); 9790 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 9791 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9792 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9793 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 9794 _flag_k = FK_ADD; 9795 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 9796 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9797 _cf = 0; 9798 _flag_k = FK_TEST; 9799 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 9800 L_2B01E747: 9801 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9802 eax = 0; /* 0x2B01E747: xor eax, eax */ 9803 _cf = 0; 9804 _flag_k = FK_TEST; 9805 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 9806 L_2B01E74B: 9807 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 9808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9810 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 9811 _flag_k = FK_CMP; 9812 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 9813 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9814 eax = (uint32_t)((int32_t)eax >> 2u); 9815 L_2B01E753: 9816 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 9817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9818 _cf = 0; 9819 _flag_k = FK_TEST; 9820 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 9821 L_2B01E757: 9822 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9823 eax = 0; /* 0x2B01E757: xor eax, eax */ 9824 _cf = 0; 9825 _flag_k = FK_TEST; 9826 L_2B01E759: 9827 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 9828 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 9829 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 9830 RECOMP_FLAGS_IN(); 9831 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9832 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9833 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 9834 _flag_k = FK_ADD; 9835 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 9836 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 9837 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 9838 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 9839 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 9840 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 9841 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 9842 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 9843 RECOMP_FLAGS_IN(); 9844 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 9845 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 9846 L_2B01E782: 9847 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 9848 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 9849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9850 _flag_k = FK_CMP; 9851 RECOMP_BACKEDGE(); 9852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 9853 L_2B01E78B: 9854 eax = esi; /* 0x2B01E78B: mov eax, esi */ 9855 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 9856 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 9857 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 9858 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 9859 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 9860 RECOMP_REGS_OUT(); 9861 } 9862 9863 void sub_2B01E6A4(void) { 9864 int _fpu_cmp = 0; 9865 uint32_t _cf = 0; 9866 int _df = 1; 9867 uint32_t _flag_k = FK_NONE; 9868 uint32_t _flag_a = 0, _flag_b = 0; 9869 uint32_t _itail_tgt = 0; 9870 RECOMP_REGS_LOCALS 9871 RECOMP_ENTER(0x2B01E6A4u); 9872 9873 goto L_2B01E6A4; 9874 L_2B01E614: 9875 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 9876 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 9877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9878 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 9879 _flag_k = FK_CMP; 9880 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 9881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9882 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 9883 _flag_k = FK_CMP; 9884 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 9885 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 9886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9887 _flag_k = FK_CMP; 9888 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 9889 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 9890 L_2B01E628: 9891 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 9892 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 9893 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9894 _cf = 0; 9895 _flag_k = FK_TEST; 9896 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 9897 L_2B01E62F: 9898 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9899 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 9900 _cf = 0; 9901 _flag_k = FK_TEST; 9902 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 9903 L_2B01E633: 9904 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 9905 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 9906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9907 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 9908 _flag_k = FK_CMP; 9909 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 9910 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9911 ebx = (uint32_t)((int32_t)ebx >> 2u); 9912 L_2B01E63B: 9913 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 9914 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 9915 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 9916 _cf = 0; 9917 _flag_k = FK_TEST; 9918 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 9919 L_2B01E642: 9920 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9921 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 9922 _cf = 0; 9923 _flag_k = FK_TEST; 9924 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 9925 L_2B01E646: 9926 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 9927 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9928 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9929 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 9930 _flag_k = FK_CMP; 9931 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 9932 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9933 ecx = (uint32_t)((int32_t)ecx >> 2u); 9934 L_2B01E64E: 9935 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 9936 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 9937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9938 _flag_k = FK_CMP; 9939 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 9940 L_2B01E652: 9941 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 9942 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 9943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9945 _flag_k = FK_CMP; 9946 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 9947 L_2B01E659: 9948 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 9949 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 9950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 9951 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9952 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 9953 _flag_k = FK_ADD; 9954 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 9955 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9956 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 9957 _flag_k = FK_ADD; 9958 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 9959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9961 _flag_k = FK_CMP; 9962 RECOMP_BACKEDGE(); 9963 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 9964 L_2B01E667: 9965 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 9966 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 9967 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9968 _cf = 0; 9969 _flag_k = FK_TEST; 9970 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 9971 L_2B01E66E: 9972 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 9973 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9974 eax = 0; /* 0x2B01E671: xor eax, eax */ 9975 _cf = 0; 9976 _flag_k = FK_TEST; 9977 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 9978 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 9979 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 9980 L_2B01E67E: 9981 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 9982 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9984 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 9985 _flag_k = FK_CMP; 9986 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 9987 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 9988 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 9989 eax = (uint32_t)((int32_t)eax >> 2u); 9990 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 9991 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 9992 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 9993 L_2B01E694: 9994 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 9995 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9996 _cf = 0; 9997 _flag_k = FK_TEST; 9998 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 9999 L_2B01E698: 10000 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10001 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 10002 _cf = 0; 10003 _flag_k = FK_TEST; 10004 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 10005 L_2B01E69C: 10006 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 10007 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 10008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10009 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 10010 _flag_k = FK_CMP; 10011 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 10012 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10013 ebx = (uint32_t)((int32_t)ebx >> 2u); 10014 L_2B01E6A4: 10015 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 10016 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10017 _cf = 0; 10018 _flag_k = FK_TEST; 10019 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 10020 L_2B01E6A8: 10021 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10022 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 10023 _cf = 0; 10024 _flag_k = FK_TEST; 10025 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 10026 L_2B01E6AC: 10027 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 10028 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10030 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 10031 _flag_k = FK_CMP; 10032 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 10033 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10034 ecx = (uint32_t)((int32_t)ecx >> 2u); 10035 L_2B01E6B4: 10036 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 10037 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 10038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10039 _flag_k = FK_CMP; 10040 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 10041 L_2B01E6B8: 10042 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 10043 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10044 _cf = 0; 10045 _flag_k = FK_TEST; 10046 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 10047 L_2B01E6BC: 10048 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10049 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 10050 _cf = 0; 10051 _flag_k = FK_TEST; 10052 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 10053 L_2B01E6C0: 10054 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 10055 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10057 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 10058 _flag_k = FK_CMP; 10059 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 10060 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10061 ecx = (uint32_t)((int32_t)ecx >> 2u); 10062 L_2B01E6C8: 10063 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 10064 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 10065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10067 _flag_k = FK_CMP; 10068 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 10069 L_2B01E6CF: 10070 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 10071 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 10072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10073 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10074 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 10075 _flag_k = FK_ADD; 10076 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 10077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10078 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 10079 _flag_k = FK_ADD; 10080 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 10081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10083 _flag_k = FK_CMP; 10084 RECOMP_BACKEDGE(); 10085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 10086 L_2B01E6DD: 10087 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 10088 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 10089 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10091 _flag_k = FK_CMP; 10092 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 10093 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 10094 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 10095 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 10096 L_2B01E6EC: 10097 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 10098 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 10099 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 10100 RECOMP_FLAGS_IN(); 10101 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 10102 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 10103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10104 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 10105 _flag_k = FK_ADD; 10106 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10107 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10108 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 10109 _flag_k = FK_ADD; 10110 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 10111 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10112 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 10113 _flag_k = FK_ADD; 10114 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 10115 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10117 _flag_k = FK_CMP; 10118 RECOMP_BACKEDGE(); 10119 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 10120 L_2B01E703: 10121 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 10122 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 10123 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10124 _cf = 0; 10125 _flag_k = FK_TEST; 10126 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 10127 L_2B01E70A: 10128 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 10129 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 10130 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10131 eax = 0; /* 0x2B01E710: xor eax, eax */ 10132 _cf = 0; 10133 _flag_k = FK_TEST; 10134 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 10135 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 10136 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 10137 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 10138 L_2B01E71C: 10139 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 10140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10142 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 10143 _flag_k = FK_CMP; 10144 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 10145 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 10146 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 10147 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10148 eax = (uint32_t)((int32_t)eax >> 2u); 10149 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 10150 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 10151 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 10152 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 10153 L_2B01E734: 10154 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 10155 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 10156 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 10157 RECOMP_FLAGS_IN(); 10158 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 10159 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10160 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10161 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 10162 _flag_k = FK_ADD; 10163 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 10164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10165 _cf = 0; 10166 _flag_k = FK_TEST; 10167 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 10168 L_2B01E747: 10169 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10170 eax = 0; /* 0x2B01E747: xor eax, eax */ 10171 _cf = 0; 10172 _flag_k = FK_TEST; 10173 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 10174 L_2B01E74B: 10175 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 10176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10178 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 10179 _flag_k = FK_CMP; 10180 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 10181 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10182 eax = (uint32_t)((int32_t)eax >> 2u); 10183 L_2B01E753: 10184 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 10185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10186 _cf = 0; 10187 _flag_k = FK_TEST; 10188 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 10189 L_2B01E757: 10190 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10191 eax = 0; /* 0x2B01E757: xor eax, eax */ 10192 _cf = 0; 10193 _flag_k = FK_TEST; 10194 L_2B01E759: 10195 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 10196 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 10197 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 10198 RECOMP_FLAGS_IN(); 10199 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10201 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 10202 _flag_k = FK_ADD; 10203 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 10204 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 10205 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 10206 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 10207 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 10208 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 10209 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 10210 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 10211 RECOMP_FLAGS_IN(); 10212 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 10213 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 10214 L_2B01E782: 10215 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 10216 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 10217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10218 _flag_k = FK_CMP; 10219 RECOMP_BACKEDGE(); 10220 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 10221 L_2B01E78B: 10222 eax = esi; /* 0x2B01E78B: mov eax, esi */ 10223 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 10224 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 10225 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 10226 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 10227 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 10228 RECOMP_REGS_OUT(); 10229 } 10230 10231 void sub_2B01E6B4(void) { 10232 int _fpu_cmp = 0; 10233 uint32_t _cf = 0; 10234 int _df = 1; 10235 uint32_t _flag_k = FK_NONE; 10236 uint32_t _flag_a = 0, _flag_b = 0; 10237 uint32_t _itail_tgt = 0; 10238 RECOMP_REGS_LOCALS 10239 RECOMP_ENTER(0x2B01E6B4u); 10240 10241 goto L_2B01E6B4; 10242 L_2B01E614: 10243 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 10244 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 10245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10246 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 10247 _flag_k = FK_CMP; 10248 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 10249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10250 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 10251 _flag_k = FK_CMP; 10252 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 10253 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 10254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10255 _flag_k = FK_CMP; 10256 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 10257 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 10258 L_2B01E628: 10259 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 10260 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 10261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10262 _cf = 0; 10263 _flag_k = FK_TEST; 10264 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 10265 L_2B01E62F: 10266 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10267 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 10268 _cf = 0; 10269 _flag_k = FK_TEST; 10270 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 10271 L_2B01E633: 10272 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 10273 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 10274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10275 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 10276 _flag_k = FK_CMP; 10277 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 10278 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10279 ebx = (uint32_t)((int32_t)ebx >> 2u); 10280 L_2B01E63B: 10281 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 10282 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 10283 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10284 _cf = 0; 10285 _flag_k = FK_TEST; 10286 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 10287 L_2B01E642: 10288 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10289 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 10290 _cf = 0; 10291 _flag_k = FK_TEST; 10292 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 10293 L_2B01E646: 10294 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 10295 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10297 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 10298 _flag_k = FK_CMP; 10299 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 10300 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10301 ecx = (uint32_t)((int32_t)ecx >> 2u); 10302 L_2B01E64E: 10303 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 10304 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 10305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10306 _flag_k = FK_CMP; 10307 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 10308 L_2B01E652: 10309 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 10310 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 10311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10313 _flag_k = FK_CMP; 10314 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 10315 L_2B01E659: 10316 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 10317 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 10318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10319 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10320 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 10321 _flag_k = FK_ADD; 10322 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 10323 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10324 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 10325 _flag_k = FK_ADD; 10326 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 10327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10329 _flag_k = FK_CMP; 10330 RECOMP_BACKEDGE(); 10331 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 10332 L_2B01E667: 10333 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 10334 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 10335 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10336 _cf = 0; 10337 _flag_k = FK_TEST; 10338 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 10339 L_2B01E66E: 10340 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 10341 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10342 eax = 0; /* 0x2B01E671: xor eax, eax */ 10343 _cf = 0; 10344 _flag_k = FK_TEST; 10345 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 10346 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 10347 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 10348 L_2B01E67E: 10349 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 10350 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10352 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 10353 _flag_k = FK_CMP; 10354 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 10355 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 10356 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10357 eax = (uint32_t)((int32_t)eax >> 2u); 10358 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 10359 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 10360 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 10361 L_2B01E694: 10362 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 10363 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10364 _cf = 0; 10365 _flag_k = FK_TEST; 10366 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 10367 L_2B01E698: 10368 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10369 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 10370 _cf = 0; 10371 _flag_k = FK_TEST; 10372 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 10373 L_2B01E69C: 10374 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 10375 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 10376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10377 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 10378 _flag_k = FK_CMP; 10379 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 10380 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10381 ebx = (uint32_t)((int32_t)ebx >> 2u); 10382 L_2B01E6A4: 10383 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 10384 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10385 _cf = 0; 10386 _flag_k = FK_TEST; 10387 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 10388 L_2B01E6A8: 10389 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10390 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 10391 _cf = 0; 10392 _flag_k = FK_TEST; 10393 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 10394 L_2B01E6AC: 10395 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 10396 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10398 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 10399 _flag_k = FK_CMP; 10400 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 10401 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10402 ecx = (uint32_t)((int32_t)ecx >> 2u); 10403 L_2B01E6B4: 10404 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 10405 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 10406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10407 _flag_k = FK_CMP; 10408 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 10409 L_2B01E6B8: 10410 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 10411 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10412 _cf = 0; 10413 _flag_k = FK_TEST; 10414 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 10415 L_2B01E6BC: 10416 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10417 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 10418 _cf = 0; 10419 _flag_k = FK_TEST; 10420 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 10421 L_2B01E6C0: 10422 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 10423 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10425 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 10426 _flag_k = FK_CMP; 10427 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 10428 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10429 ecx = (uint32_t)((int32_t)ecx >> 2u); 10430 L_2B01E6C8: 10431 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 10432 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 10433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10435 _flag_k = FK_CMP; 10436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 10437 L_2B01E6CF: 10438 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 10439 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 10440 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10441 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10442 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 10443 _flag_k = FK_ADD; 10444 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 10445 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10446 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 10447 _flag_k = FK_ADD; 10448 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 10449 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10451 _flag_k = FK_CMP; 10452 RECOMP_BACKEDGE(); 10453 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 10454 L_2B01E6DD: 10455 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 10456 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 10457 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10459 _flag_k = FK_CMP; 10460 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 10461 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 10462 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 10463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 10464 L_2B01E6EC: 10465 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 10466 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 10467 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 10468 RECOMP_FLAGS_IN(); 10469 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 10470 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 10471 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10472 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 10473 _flag_k = FK_ADD; 10474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10476 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 10477 _flag_k = FK_ADD; 10478 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 10479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10480 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 10481 _flag_k = FK_ADD; 10482 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 10483 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10485 _flag_k = FK_CMP; 10486 RECOMP_BACKEDGE(); 10487 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 10488 L_2B01E703: 10489 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 10490 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 10491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10492 _cf = 0; 10493 _flag_k = FK_TEST; 10494 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 10495 L_2B01E70A: 10496 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 10497 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 10498 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10499 eax = 0; /* 0x2B01E710: xor eax, eax */ 10500 _cf = 0; 10501 _flag_k = FK_TEST; 10502 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 10503 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 10504 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 10505 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 10506 L_2B01E71C: 10507 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 10508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10510 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 10511 _flag_k = FK_CMP; 10512 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 10513 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 10514 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 10515 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10516 eax = (uint32_t)((int32_t)eax >> 2u); 10517 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 10518 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 10519 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 10520 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 10521 L_2B01E734: 10522 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 10523 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 10524 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 10525 RECOMP_FLAGS_IN(); 10526 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 10527 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10528 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10529 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 10530 _flag_k = FK_ADD; 10531 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 10532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10533 _cf = 0; 10534 _flag_k = FK_TEST; 10535 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 10536 L_2B01E747: 10537 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10538 eax = 0; /* 0x2B01E747: xor eax, eax */ 10539 _cf = 0; 10540 _flag_k = FK_TEST; 10541 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 10542 L_2B01E74B: 10543 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 10544 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10546 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 10547 _flag_k = FK_CMP; 10548 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 10549 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10550 eax = (uint32_t)((int32_t)eax >> 2u); 10551 L_2B01E753: 10552 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 10553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10554 _cf = 0; 10555 _flag_k = FK_TEST; 10556 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 10557 L_2B01E757: 10558 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10559 eax = 0; /* 0x2B01E757: xor eax, eax */ 10560 _cf = 0; 10561 _flag_k = FK_TEST; 10562 L_2B01E759: 10563 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 10564 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 10565 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 10566 RECOMP_FLAGS_IN(); 10567 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10568 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10569 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 10570 _flag_k = FK_ADD; 10571 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 10572 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 10573 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 10574 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 10575 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 10576 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 10577 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 10578 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 10579 RECOMP_FLAGS_IN(); 10580 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 10581 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 10582 L_2B01E782: 10583 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 10584 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 10585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10586 _flag_k = FK_CMP; 10587 RECOMP_BACKEDGE(); 10588 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 10589 L_2B01E78B: 10590 eax = esi; /* 0x2B01E78B: mov eax, esi */ 10591 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 10592 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 10593 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 10594 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 10595 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 10596 RECOMP_REGS_OUT(); 10597 } 10598 10599 void sub_2B01E6C8(void) { 10600 int _fpu_cmp = 0; 10601 uint32_t _cf = 0; 10602 int _df = 1; 10603 uint32_t _flag_k = FK_NONE; 10604 uint32_t _flag_a = 0, _flag_b = 0; 10605 uint32_t _itail_tgt = 0; 10606 RECOMP_REGS_LOCALS 10607 RECOMP_ENTER(0x2B01E6C8u); 10608 10609 goto L_2B01E6C8; 10610 L_2B01E614: 10611 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 10612 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 10613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10614 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 10615 _flag_k = FK_CMP; 10616 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 10617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10618 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 10619 _flag_k = FK_CMP; 10620 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 10621 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 10622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10623 _flag_k = FK_CMP; 10624 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 10625 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 10626 L_2B01E628: 10627 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 10628 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 10629 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10630 _cf = 0; 10631 _flag_k = FK_TEST; 10632 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 10633 L_2B01E62F: 10634 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10635 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 10636 _cf = 0; 10637 _flag_k = FK_TEST; 10638 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 10639 L_2B01E633: 10640 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 10641 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 10642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10643 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 10644 _flag_k = FK_CMP; 10645 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 10646 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10647 ebx = (uint32_t)((int32_t)ebx >> 2u); 10648 L_2B01E63B: 10649 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 10650 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 10651 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10652 _cf = 0; 10653 _flag_k = FK_TEST; 10654 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 10655 L_2B01E642: 10656 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10657 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 10658 _cf = 0; 10659 _flag_k = FK_TEST; 10660 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 10661 L_2B01E646: 10662 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 10663 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10665 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 10666 _flag_k = FK_CMP; 10667 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 10668 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10669 ecx = (uint32_t)((int32_t)ecx >> 2u); 10670 L_2B01E64E: 10671 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 10672 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 10673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10674 _flag_k = FK_CMP; 10675 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 10676 L_2B01E652: 10677 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 10678 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 10679 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10681 _flag_k = FK_CMP; 10682 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 10683 L_2B01E659: 10684 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 10685 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 10686 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10687 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10688 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 10689 _flag_k = FK_ADD; 10690 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 10691 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10692 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 10693 _flag_k = FK_ADD; 10694 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 10695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10697 _flag_k = FK_CMP; 10698 RECOMP_BACKEDGE(); 10699 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 10700 L_2B01E667: 10701 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 10702 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 10703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10704 _cf = 0; 10705 _flag_k = FK_TEST; 10706 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 10707 L_2B01E66E: 10708 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 10709 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10710 eax = 0; /* 0x2B01E671: xor eax, eax */ 10711 _cf = 0; 10712 _flag_k = FK_TEST; 10713 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 10714 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 10715 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 10716 L_2B01E67E: 10717 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 10718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10720 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 10721 _flag_k = FK_CMP; 10722 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 10723 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 10724 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10725 eax = (uint32_t)((int32_t)eax >> 2u); 10726 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 10727 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 10728 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 10729 L_2B01E694: 10730 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 10731 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10732 _cf = 0; 10733 _flag_k = FK_TEST; 10734 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 10735 L_2B01E698: 10736 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10737 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 10738 _cf = 0; 10739 _flag_k = FK_TEST; 10740 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 10741 L_2B01E69C: 10742 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 10743 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 10744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10745 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 10746 _flag_k = FK_CMP; 10747 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 10748 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10749 ebx = (uint32_t)((int32_t)ebx >> 2u); 10750 L_2B01E6A4: 10751 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 10752 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10753 _cf = 0; 10754 _flag_k = FK_TEST; 10755 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 10756 L_2B01E6A8: 10757 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10758 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 10759 _cf = 0; 10760 _flag_k = FK_TEST; 10761 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 10762 L_2B01E6AC: 10763 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 10764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10766 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 10767 _flag_k = FK_CMP; 10768 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 10769 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10770 ecx = (uint32_t)((int32_t)ecx >> 2u); 10771 L_2B01E6B4: 10772 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 10773 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 10774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10775 _flag_k = FK_CMP; 10776 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 10777 L_2B01E6B8: 10778 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 10779 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 10780 _cf = 0; 10781 _flag_k = FK_TEST; 10782 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 10783 L_2B01E6BC: 10784 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10785 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 10786 _cf = 0; 10787 _flag_k = FK_TEST; 10788 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 10789 L_2B01E6C0: 10790 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 10791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10793 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 10794 _flag_k = FK_CMP; 10795 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 10796 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10797 ecx = (uint32_t)((int32_t)ecx >> 2u); 10798 L_2B01E6C8: 10799 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 10800 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 10801 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10803 _flag_k = FK_CMP; 10804 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 10805 L_2B01E6CF: 10806 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 10807 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 10808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 10809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10810 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 10811 _flag_k = FK_ADD; 10812 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 10813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10814 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 10815 _flag_k = FK_ADD; 10816 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 10817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10819 _flag_k = FK_CMP; 10820 RECOMP_BACKEDGE(); 10821 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 10822 L_2B01E6DD: 10823 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 10824 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 10825 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10827 _flag_k = FK_CMP; 10828 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 10829 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 10830 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 10831 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 10832 L_2B01E6EC: 10833 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 10834 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 10835 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 10836 RECOMP_FLAGS_IN(); 10837 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 10838 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 10839 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10840 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 10841 _flag_k = FK_ADD; 10842 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10843 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10844 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 10845 _flag_k = FK_ADD; 10846 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 10847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10848 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 10849 _flag_k = FK_ADD; 10850 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 10851 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 10852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10853 _flag_k = FK_CMP; 10854 RECOMP_BACKEDGE(); 10855 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 10856 L_2B01E703: 10857 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 10858 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 10859 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10860 _cf = 0; 10861 _flag_k = FK_TEST; 10862 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 10863 L_2B01E70A: 10864 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 10865 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 10866 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10867 eax = 0; /* 0x2B01E710: xor eax, eax */ 10868 _cf = 0; 10869 _flag_k = FK_TEST; 10870 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 10871 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 10872 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 10873 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 10874 L_2B01E71C: 10875 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 10876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10878 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 10879 _flag_k = FK_CMP; 10880 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 10881 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 10882 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 10883 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10884 eax = (uint32_t)((int32_t)eax >> 2u); 10885 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 10886 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 10887 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 10888 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 10889 L_2B01E734: 10890 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 10891 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 10892 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 10893 RECOMP_FLAGS_IN(); 10894 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 10895 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10896 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10897 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 10898 _flag_k = FK_ADD; 10899 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 10900 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10901 _cf = 0; 10902 _flag_k = FK_TEST; 10903 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 10904 L_2B01E747: 10905 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10906 eax = 0; /* 0x2B01E747: xor eax, eax */ 10907 _cf = 0; 10908 _flag_k = FK_TEST; 10909 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 10910 L_2B01E74B: 10911 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 10912 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10914 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 10915 _flag_k = FK_CMP; 10916 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 10917 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 10918 eax = (uint32_t)((int32_t)eax >> 2u); 10919 L_2B01E753: 10920 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 10921 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10922 _cf = 0; 10923 _flag_k = FK_TEST; 10924 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 10925 L_2B01E757: 10926 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10927 eax = 0; /* 0x2B01E757: xor eax, eax */ 10928 _cf = 0; 10929 _flag_k = FK_TEST; 10930 L_2B01E759: 10931 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 10932 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 10933 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 10934 RECOMP_FLAGS_IN(); 10935 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10936 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10937 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 10938 _flag_k = FK_ADD; 10939 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 10940 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 10941 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 10942 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 10943 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 10944 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 10945 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 10946 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 10947 RECOMP_FLAGS_IN(); 10948 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 10949 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 10950 L_2B01E782: 10951 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 10952 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 10953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10954 _flag_k = FK_CMP; 10955 RECOMP_BACKEDGE(); 10956 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 10957 L_2B01E78B: 10958 eax = esi; /* 0x2B01E78B: mov eax, esi */ 10959 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 10960 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 10961 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 10962 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 10963 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 10964 RECOMP_REGS_OUT(); 10965 } 10966 10967 void sub_2B01E753(void) { 10968 int _fpu_cmp = 0; 10969 uint32_t _cf = 0; 10970 int _df = 1; 10971 uint32_t _flag_k = FK_NONE; 10972 uint32_t _flag_a = 0, _flag_b = 0; 10973 uint32_t _itail_tgt = 0; 10974 RECOMP_REGS_LOCALS 10975 RECOMP_ENTER(0x2B01E753u); 10976 10977 goto L_2B01E753; 10978 L_2B01E614: 10979 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 10980 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 10981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10982 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 10983 _flag_k = FK_CMP; 10984 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 10985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10986 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 10987 _flag_k = FK_CMP; 10988 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 10989 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 10990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10991 _flag_k = FK_CMP; 10992 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 10993 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 10994 L_2B01E628: 10995 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 10996 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 10997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 10998 _cf = 0; 10999 _flag_k = FK_TEST; 11000 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 11001 L_2B01E62F: 11002 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11003 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 11004 _cf = 0; 11005 _flag_k = FK_TEST; 11006 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 11007 L_2B01E633: 11008 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 11009 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 11010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11011 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 11012 _flag_k = FK_CMP; 11013 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 11014 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11015 ebx = (uint32_t)((int32_t)ebx >> 2u); 11016 L_2B01E63B: 11017 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 11018 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 11019 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11020 _cf = 0; 11021 _flag_k = FK_TEST; 11022 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 11023 L_2B01E642: 11024 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11025 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 11026 _cf = 0; 11027 _flag_k = FK_TEST; 11028 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 11029 L_2B01E646: 11030 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 11031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11033 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 11034 _flag_k = FK_CMP; 11035 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 11036 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11037 ecx = (uint32_t)((int32_t)ecx >> 2u); 11038 L_2B01E64E: 11039 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 11040 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11042 _flag_k = FK_CMP; 11043 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 11044 L_2B01E652: 11045 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 11046 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 11047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11049 _flag_k = FK_CMP; 11050 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 11051 L_2B01E659: 11052 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 11053 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 11054 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11056 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 11057 _flag_k = FK_ADD; 11058 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 11059 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11060 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 11061 _flag_k = FK_ADD; 11062 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 11063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11065 _flag_k = FK_CMP; 11066 RECOMP_BACKEDGE(); 11067 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 11068 L_2B01E667: 11069 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 11070 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 11071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11072 _cf = 0; 11073 _flag_k = FK_TEST; 11074 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 11075 L_2B01E66E: 11076 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 11077 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11078 eax = 0; /* 0x2B01E671: xor eax, eax */ 11079 _cf = 0; 11080 _flag_k = FK_TEST; 11081 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 11082 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 11083 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 11084 L_2B01E67E: 11085 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 11086 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11087 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11088 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 11089 _flag_k = FK_CMP; 11090 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 11091 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 11092 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11093 eax = (uint32_t)((int32_t)eax >> 2u); 11094 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 11095 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 11096 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 11097 L_2B01E694: 11098 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 11099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11100 _cf = 0; 11101 _flag_k = FK_TEST; 11102 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 11103 L_2B01E698: 11104 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11105 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 11106 _cf = 0; 11107 _flag_k = FK_TEST; 11108 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 11109 L_2B01E69C: 11110 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 11111 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 11112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11113 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 11114 _flag_k = FK_CMP; 11115 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 11116 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11117 ebx = (uint32_t)((int32_t)ebx >> 2u); 11118 L_2B01E6A4: 11119 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 11120 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11121 _cf = 0; 11122 _flag_k = FK_TEST; 11123 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 11124 L_2B01E6A8: 11125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11126 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 11127 _cf = 0; 11128 _flag_k = FK_TEST; 11129 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 11130 L_2B01E6AC: 11131 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 11132 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11134 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 11135 _flag_k = FK_CMP; 11136 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 11137 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11138 ecx = (uint32_t)((int32_t)ecx >> 2u); 11139 L_2B01E6B4: 11140 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 11141 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11143 _flag_k = FK_CMP; 11144 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 11145 L_2B01E6B8: 11146 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 11147 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11148 _cf = 0; 11149 _flag_k = FK_TEST; 11150 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 11151 L_2B01E6BC: 11152 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11153 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 11154 _cf = 0; 11155 _flag_k = FK_TEST; 11156 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 11157 L_2B01E6C0: 11158 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 11159 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11161 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 11162 _flag_k = FK_CMP; 11163 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 11164 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11165 ecx = (uint32_t)((int32_t)ecx >> 2u); 11166 L_2B01E6C8: 11167 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 11168 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 11169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11171 _flag_k = FK_CMP; 11172 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 11173 L_2B01E6CF: 11174 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 11175 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 11176 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11177 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11178 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 11179 _flag_k = FK_ADD; 11180 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 11181 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11182 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 11183 _flag_k = FK_ADD; 11184 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 11185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11187 _flag_k = FK_CMP; 11188 RECOMP_BACKEDGE(); 11189 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 11190 L_2B01E6DD: 11191 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 11192 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 11193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11195 _flag_k = FK_CMP; 11196 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 11197 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 11198 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 11199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 11200 L_2B01E6EC: 11201 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 11202 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 11203 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 11204 RECOMP_FLAGS_IN(); 11205 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 11206 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 11207 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11208 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 11209 _flag_k = FK_ADD; 11210 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11211 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11212 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 11213 _flag_k = FK_ADD; 11214 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 11215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11216 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 11217 _flag_k = FK_ADD; 11218 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 11219 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11221 _flag_k = FK_CMP; 11222 RECOMP_BACKEDGE(); 11223 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 11224 L_2B01E703: 11225 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 11226 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 11227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11228 _cf = 0; 11229 _flag_k = FK_TEST; 11230 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 11231 L_2B01E70A: 11232 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 11233 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 11234 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11235 eax = 0; /* 0x2B01E710: xor eax, eax */ 11236 _cf = 0; 11237 _flag_k = FK_TEST; 11238 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 11239 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 11240 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 11241 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 11242 L_2B01E71C: 11243 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 11244 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11246 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 11247 _flag_k = FK_CMP; 11248 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 11249 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 11250 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 11251 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11252 eax = (uint32_t)((int32_t)eax >> 2u); 11253 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 11254 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 11255 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 11256 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 11257 L_2B01E734: 11258 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 11259 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 11260 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 11261 RECOMP_FLAGS_IN(); 11262 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 11263 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11264 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11265 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 11266 _flag_k = FK_ADD; 11267 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 11268 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11269 _cf = 0; 11270 _flag_k = FK_TEST; 11271 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 11272 L_2B01E747: 11273 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11274 eax = 0; /* 0x2B01E747: xor eax, eax */ 11275 _cf = 0; 11276 _flag_k = FK_TEST; 11277 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 11278 L_2B01E74B: 11279 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 11280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11282 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 11283 _flag_k = FK_CMP; 11284 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 11285 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11286 eax = (uint32_t)((int32_t)eax >> 2u); 11287 L_2B01E753: 11288 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 11289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11290 _cf = 0; 11291 _flag_k = FK_TEST; 11292 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 11293 L_2B01E757: 11294 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11295 eax = 0; /* 0x2B01E757: xor eax, eax */ 11296 _cf = 0; 11297 _flag_k = FK_TEST; 11298 L_2B01E759: 11299 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 11300 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 11301 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 11302 RECOMP_FLAGS_IN(); 11303 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11304 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11305 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 11306 _flag_k = FK_ADD; 11307 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 11308 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 11309 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 11310 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 11311 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 11312 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 11313 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 11314 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 11315 RECOMP_FLAGS_IN(); 11316 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 11317 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 11318 L_2B01E782: 11319 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 11320 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 11321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11322 _flag_k = FK_CMP; 11323 RECOMP_BACKEDGE(); 11324 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 11325 L_2B01E78B: 11326 eax = esi; /* 0x2B01E78B: mov eax, esi */ 11327 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 11328 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 11329 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 11330 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 11331 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 11332 RECOMP_REGS_OUT(); 11333 } 11334 11335 void sub_2B01E782(void) { 11336 int _fpu_cmp = 0; 11337 uint32_t _cf = 0; 11338 int _df = 1; 11339 uint32_t _flag_k = FK_NONE; 11340 uint32_t _flag_a = 0, _flag_b = 0; 11341 uint32_t _itail_tgt = 0; 11342 RECOMP_REGS_LOCALS 11343 RECOMP_ENTER(0x2B01E782u); 11344 11345 goto L_2B01E782; 11346 L_2B01E614: 11347 esi = MEM32(ebp + 0x10); /* 0x2B01E614: mov esi, dword ptr [ebp + 0x10] */ 11348 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 11349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11350 esi = esi - 0x10u; /* 0x2B01E617: sub esi, 0x10 */ 11351 _flag_k = FK_CMP; 11352 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 11353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11354 edi = edi - 0x10u; /* 0x2B01E61A: sub edi, 0x10 */ 11355 _flag_k = FK_CMP; 11356 /* cmp esi, edi */ /* 0x2B01E61D: cmp esi, edi */ 11357 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 11358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11359 _flag_k = FK_CMP; 11360 MEM32(ebp + 0x10) = esi; /* 0x2B01E61F: mov dword ptr [ebp + 0x10], esi */ 11361 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E782; /* 0x2B01E622: je 0x2b01e782 */ 11362 L_2B01E628: 11363 eax = MEM32(edi + 0x4); /* 0x2B01E628: mov eax, dword ptr [edi + 4] */ 11364 /* test eax, eax */ /* 0x2B01E62B: test eax, eax */ 11365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11366 _cf = 0; 11367 _flag_k = FK_TEST; 11368 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E633; /* 0x2B01E62D: jne 0x2b01e633 */ 11369 L_2B01E62F: 11370 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11371 ebx = 0; /* 0x2B01E62F: xor ebx, ebx */ 11372 _cf = 0; 11373 _flag_k = FK_TEST; 11374 goto L_2B01E63B; /* 0x2B01E631: jmp 0x2b01e63b */ 11375 L_2B01E633: 11376 ebx = MEM32(edi + 0x8); /* 0x2B01E633: mov ebx, dword ptr [edi + 8] */ 11377 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 11378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11379 ebx = ebx - eax; /* 0x2B01E636: sub ebx, eax */ 11380 _flag_k = FK_CMP; 11381 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E638: sar ebx, 2 */ 11382 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11383 ebx = (uint32_t)((int32_t)ebx >> 2u); 11384 L_2B01E63B: 11385 edx = MEM32(esi + 0x4); /* 0x2B01E63B: mov edx, dword ptr [esi + 4] */ 11386 /* test edx, edx */ /* 0x2B01E63E: test edx, edx */ 11387 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11388 _cf = 0; 11389 _flag_k = FK_TEST; 11390 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E646; /* 0x2B01E640: jne 0x2b01e646 */ 11391 L_2B01E642: 11392 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11393 ecx = 0; /* 0x2B01E642: xor ecx, ecx */ 11394 _cf = 0; 11395 _flag_k = FK_TEST; 11396 goto L_2B01E64E; /* 0x2B01E644: jmp 0x2b01e64e */ 11397 L_2B01E646: 11398 ecx = MEM32(esi + 0x8); /* 0x2B01E646: mov ecx, dword ptr [esi + 8] */ 11399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11401 ecx = ecx - edx; /* 0x2B01E649: sub ecx, edx */ 11402 _flag_k = FK_CMP; 11403 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E64B: sar ecx, 2 */ 11404 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11405 ecx = (uint32_t)((int32_t)ecx >> 2u); 11406 L_2B01E64E: 11407 /* cmp ebx, ecx */ /* 0x2B01E64E: cmp ebx, ecx */ 11408 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11410 _flag_k = FK_CMP; 11411 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E694; /* 0x2B01E650: ja 0x2b01e694 */ 11412 L_2B01E652: 11413 ecx = MEM32(edi + 0x8); /* 0x2B01E652: mov ecx, dword ptr [edi + 8] */ 11414 /* cmp eax, ecx */ /* 0x2B01E655: cmp eax, ecx */ 11415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11417 _flag_k = FK_CMP; 11418 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E667; /* 0x2B01E657: je 0x2b01e667 */ 11419 L_2B01E659: 11420 ebx = MEM32(eax); /* 0x2B01E659: mov ebx, dword ptr [eax] */ 11421 MEM32(edx) = ebx; /* 0x2B01E65B: mov dword ptr [edx], ebx */ 11422 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11423 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11424 eax = eax + 4; /* 0x2B01E65D: add eax, 4 */ 11425 _flag_k = FK_ADD; 11426 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 11427 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11428 edx = edx + 4; /* 0x2B01E660: add edx, 4 */ 11429 _flag_k = FK_ADD; 11430 /* cmp eax, ecx */ /* 0x2B01E663: cmp eax, ecx */ 11431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11433 _flag_k = FK_CMP; 11434 RECOMP_BACKEDGE(); 11435 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E659; /* 0x2B01E665: jne 0x2b01e659 */ 11436 L_2B01E667: 11437 ecx = MEM32(edi + 0x4); /* 0x2B01E667: mov ecx, dword ptr [edi + 4] */ 11438 /* test ecx, ecx */ /* 0x2B01E66A: test ecx, ecx */ 11439 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11440 _cf = 0; 11441 _flag_k = FK_TEST; 11442 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E67E; /* 0x2B01E66C: jne 0x2b01e67e */ 11443 L_2B01E66E: 11444 ecx = MEM32(esi + 0x4); /* 0x2B01E66E: mov ecx, dword ptr [esi + 4] */ 11445 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11446 eax = 0; /* 0x2B01E671: xor eax, eax */ 11447 _cf = 0; 11448 _flag_k = FK_TEST; 11449 edx = ecx + eax * 4; /* 0x2B01E673: lea edx, [ecx + eax*4] */ 11450 MEM32(esi + 0x8) = edx; /* 0x2B01E676: mov dword ptr [esi + 8], edx */ 11451 goto L_2B01E782; /* 0x2B01E679: jmp 0x2b01e782 */ 11452 L_2B01E67E: 11453 eax = MEM32(edi + 0x8); /* 0x2B01E67E: mov eax, dword ptr [edi + 8] */ 11454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11456 eax = eax - ecx; /* 0x2B01E681: sub eax, ecx */ 11457 _flag_k = FK_CMP; 11458 ecx = MEM32(esi + 0x4); /* 0x2B01E683: mov ecx, dword ptr [esi + 4] */ 11459 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E686: sar eax, 2 */ 11460 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11461 eax = (uint32_t)((int32_t)eax >> 2u); 11462 edx = ecx + eax * 4; /* 0x2B01E689: lea edx, [ecx + eax*4] */ 11463 MEM32(esi + 0x8) = edx; /* 0x2B01E68C: mov dword ptr [esi + 8], edx */ 11464 goto L_2B01E782; /* 0x2B01E68F: jmp 0x2b01e782 */ 11465 L_2B01E694: 11466 /* test eax, eax */ /* 0x2B01E694: test eax, eax */ 11467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11468 _cf = 0; 11469 _flag_k = FK_TEST; 11470 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E69C; /* 0x2B01E696: jne 0x2b01e69c */ 11471 L_2B01E698: 11472 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11473 ebx = 0; /* 0x2B01E698: xor ebx, ebx */ 11474 _cf = 0; 11475 _flag_k = FK_TEST; 11476 goto L_2B01E6A4; /* 0x2B01E69A: jmp 0x2b01e6a4 */ 11477 L_2B01E69C: 11478 ebx = MEM32(edi + 0x8); /* 0x2B01E69C: mov ebx, dword ptr [edi + 8] */ 11479 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 11480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11481 ebx = ebx - eax; /* 0x2B01E69F: sub ebx, eax */ 11482 _flag_k = FK_CMP; 11483 if (2u) _cf = (((ebx) >> 1) & 1u); /* 0x2B01E6A1: sar ebx, 2 */ 11484 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ebx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11485 ebx = (uint32_t)((int32_t)ebx >> 2u); 11486 L_2B01E6A4: 11487 /* test edx, edx */ /* 0x2B01E6A4: test edx, edx */ 11488 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11489 _cf = 0; 11490 _flag_k = FK_TEST; 11491 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6AC; /* 0x2B01E6A6: jne 0x2b01e6ac */ 11492 L_2B01E6A8: 11493 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11494 ecx = 0; /* 0x2B01E6A8: xor ecx, ecx */ 11495 _cf = 0; 11496 _flag_k = FK_TEST; 11497 goto L_2B01E6B4; /* 0x2B01E6AA: jmp 0x2b01e6b4 */ 11498 L_2B01E6AC: 11499 ecx = MEM32(esi + 0xC); /* 0x2B01E6AC: mov ecx, dword ptr [esi + 0xc] */ 11500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11502 ecx = ecx - edx; /* 0x2B01E6AF: sub ecx, edx */ 11503 _flag_k = FK_CMP; 11504 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6B1: sar ecx, 2 */ 11505 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11506 ecx = (uint32_t)((int32_t)ecx >> 2u); 11507 L_2B01E6B4: 11508 /* cmp ebx, ecx */ /* 0x2B01E6B4: cmp ebx, ecx */ 11509 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 11510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11511 _flag_k = FK_CMP; 11512 if (CMP_A(_flag_a, _flag_b)) goto L_2B01E734; /* 0x2B01E6B6: ja 0x2b01e734 */ 11513 L_2B01E6B8: 11514 /* test edx, edx */ /* 0x2B01E6B8: test edx, edx */ 11515 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 11516 _cf = 0; 11517 _flag_k = FK_TEST; 11518 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E6C0; /* 0x2B01E6BA: jne 0x2b01e6c0 */ 11519 L_2B01E6BC: 11520 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11521 ecx = 0; /* 0x2B01E6BC: xor ecx, ecx */ 11522 _cf = 0; 11523 _flag_k = FK_TEST; 11524 goto L_2B01E6C8; /* 0x2B01E6BE: jmp 0x2b01e6c8 */ 11525 L_2B01E6C0: 11526 ecx = MEM32(esi + 0x8); /* 0x2B01E6C0: mov ecx, dword ptr [esi + 8] */ 11527 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11529 ecx = ecx - edx; /* 0x2B01E6C3: sub ecx, edx */ 11530 _flag_k = FK_CMP; 11531 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01E6C5: sar ecx, 2 */ 11532 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11533 ecx = (uint32_t)((int32_t)ecx >> 2u); 11534 L_2B01E6C8: 11535 ecx = eax + ecx * 4; /* 0x2B01E6C8: lea ecx, [eax + ecx*4] */ 11536 /* cmp eax, ecx */ /* 0x2B01E6CB: cmp eax, ecx */ 11537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11539 _flag_k = FK_CMP; 11540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E6DD; /* 0x2B01E6CD: je 0x2b01e6dd */ 11541 L_2B01E6CF: 11542 ebx = MEM32(eax); /* 0x2B01E6CF: mov ebx, dword ptr [eax] */ 11543 MEM32(edx) = ebx; /* 0x2B01E6D1: mov dword ptr [edx], ebx */ 11544 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11545 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11546 eax = eax + 4; /* 0x2B01E6D3: add eax, 4 */ 11547 _flag_k = FK_ADD; 11548 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 11549 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11550 edx = edx + 4; /* 0x2B01E6D6: add edx, 4 */ 11551 _flag_k = FK_ADD; 11552 /* cmp eax, ecx */ /* 0x2B01E6D9: cmp eax, ecx */ 11553 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11555 _flag_k = FK_CMP; 11556 RECOMP_BACKEDGE(); 11557 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6CF; /* 0x2B01E6DB: jne 0x2b01e6cf */ 11558 L_2B01E6DD: 11559 eax = MEM32(edi + 0x8); /* 0x2B01E6DD: mov eax, dword ptr [edi + 8] */ 11560 /* cmp ecx, eax */ /* 0x2B01E6E0: cmp ecx, eax */ 11561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11563 _flag_k = FK_CMP; 11564 ebx = MEM32(esi + 0x8); /* 0x2B01E6E2: mov ebx, dword ptr [esi + 8] */ 11565 MEM32(ebp + 0xC) = eax; /* 0x2B01E6E5: mov dword ptr [ebp + 0xc], eax */ 11566 esi = ecx; /* 0x2B01E6E8: mov esi, ecx */ 11567 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E703; /* 0x2B01E6EA: je 0x2b01e703 */ 11568 L_2B01E6EC: 11569 PUSH32(esp, esi); /* 0x2B01E6EC: push esi */ 11570 PUSH32(esp, ebx); /* 0x2B01E6ED: push ebx */ 11571 RECOMP_ICALL(0x2B02AAE0u); /* 0x2B01E6EE: call 0x2b02aae0 */ /* not lifted */ 11572 RECOMP_FLAGS_IN(); 11573 eax = MEM32(ebp + 0xC); /* 0x2B01E6F3: mov eax, dword ptr [ebp + 0xc] */ 11574 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 11575 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11576 esi = esi + 4; /* 0x2B01E6F6: add esi, 4 */ 11577 _flag_k = FK_ADD; 11578 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11579 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11580 esp = esp + 8; /* 0x2B01E6F9: add esp, 8 */ 11581 _flag_k = FK_ADD; 11582 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 11583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11584 ebx = ebx + 4; /* 0x2B01E6FC: add ebx, 4 */ 11585 _flag_k = FK_ADD; 11586 /* cmp esi, eax */ /* 0x2B01E6FF: cmp esi, eax */ 11587 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11589 _flag_k = FK_CMP; 11590 RECOMP_BACKEDGE(); 11591 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E6EC; /* 0x2B01E701: jne 0x2b01e6ec */ 11592 L_2B01E703: 11593 ecx = MEM32(edi + 0x4); /* 0x2B01E703: mov ecx, dword ptr [edi + 4] */ 11594 /* test ecx, ecx */ /* 0x2B01E706: test ecx, ecx */ 11595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11596 _cf = 0; 11597 _flag_k = FK_TEST; 11598 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E71C; /* 0x2B01E708: jne 0x2b01e71c */ 11599 L_2B01E70A: 11600 ecx = MEM32(ebp + 0x10); /* 0x2B01E70A: mov ecx, dword ptr [ebp + 0x10] */ 11601 edx = MEM32(ecx + 0x4); /* 0x2B01E70D: mov edx, dword ptr [ecx + 4] */ 11602 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11603 eax = 0; /* 0x2B01E710: xor eax, eax */ 11604 _cf = 0; 11605 _flag_k = FK_TEST; 11606 eax = edx + eax * 4; /* 0x2B01E712: lea eax, [edx + eax*4] */ 11607 MEM32(ecx + 0x8) = eax; /* 0x2B01E715: mov dword ptr [ecx + 8], eax */ 11608 esi = ecx; /* 0x2B01E718: mov esi, ecx */ 11609 goto L_2B01E782; /* 0x2B01E71A: jmp 0x2b01e782 */ 11610 L_2B01E71C: 11611 eax = MEM32(edi + 0x8); /* 0x2B01E71C: mov eax, dword ptr [edi + 8] */ 11612 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11614 eax = eax - ecx; /* 0x2B01E71F: sub eax, ecx */ 11615 _flag_k = FK_CMP; 11616 ecx = MEM32(ebp + 0x10); /* 0x2B01E721: mov ecx, dword ptr [ebp + 0x10] */ 11617 edx = MEM32(ecx + 0x4); /* 0x2B01E724: mov edx, dword ptr [ecx + 4] */ 11618 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E727: sar eax, 2 */ 11619 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11620 eax = (uint32_t)((int32_t)eax >> 2u); 11621 eax = edx + eax * 4; /* 0x2B01E72A: lea eax, [edx + eax*4] */ 11622 MEM32(ecx + 0x8) = eax; /* 0x2B01E72D: mov dword ptr [ecx + 8], eax */ 11623 esi = ecx; /* 0x2B01E730: mov esi, ecx */ 11624 goto L_2B01E782; /* 0x2B01E732: jmp 0x2b01e782 */ 11625 L_2B01E734: 11626 PUSH32(esp, edx); /* 0x2B01E734: push edx */ 11627 MEM32(ebp + 0xC) = edx; /* 0x2B01E735: mov dword ptr [ebp + 0xc], edx */ 11628 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E738: call 0x2b0ab1ba */ /* not lifted */ 11629 RECOMP_FLAGS_IN(); 11630 ecx = MEM32(edi + 0x4); /* 0x2B01E73D: mov ecx, dword ptr [edi + 4] */ 11631 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11633 esp = esp + 4; /* 0x2B01E740: add esp, 4 */ 11634 _flag_k = FK_ADD; 11635 /* test ecx, ecx */ /* 0x2B01E743: test ecx, ecx */ 11636 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11637 _cf = 0; 11638 _flag_k = FK_TEST; 11639 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E74B; /* 0x2B01E745: jne 0x2b01e74b */ 11640 L_2B01E747: 11641 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11642 eax = 0; /* 0x2B01E747: xor eax, eax */ 11643 _cf = 0; 11644 _flag_k = FK_TEST; 11645 goto L_2B01E753; /* 0x2B01E749: jmp 0x2b01e753 */ 11646 L_2B01E74B: 11647 eax = MEM32(edi + 0x8); /* 0x2B01E74B: mov eax, dword ptr [edi + 8] */ 11648 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11650 eax = eax - ecx; /* 0x2B01E74E: sub eax, ecx */ 11651 _flag_k = FK_CMP; 11652 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E750: sar eax, 2 */ 11653 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11654 eax = (uint32_t)((int32_t)eax >> 2u); 11655 L_2B01E753: 11656 /* test eax, eax */ /* 0x2B01E753: test eax, eax */ 11657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11658 _cf = 0; 11659 _flag_k = FK_TEST; 11660 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E759; /* 0x2B01E755: jge 0x2b01e759 */ 11661 L_2B01E757: 11662 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11663 eax = 0; /* 0x2B01E757: xor eax, eax */ 11664 _cf = 0; 11665 _flag_k = FK_TEST; 11666 L_2B01E759: 11667 ecx = eax * 4; /* 0x2B01E759: lea ecx, [eax*4] */ 11668 PUSH32(esp, ecx); /* 0x2B01E760: push ecx */ 11669 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E761: call 0x2b0ab212 */ /* not lifted */ 11670 RECOMP_FLAGS_IN(); 11671 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11672 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11673 esp = esp + 4; /* 0x2B01E766: add esp, 4 */ 11674 _flag_k = FK_ADD; 11675 MEM32(esi + 0x4) = eax; /* 0x2B01E769: mov dword ptr [esi + 4], eax */ 11676 ecx = MEM32(edi + 0x8); /* 0x2B01E76C: mov ecx, dword ptr [edi + 8] */ 11677 edx = MEM32(edi + 0x4); /* 0x2B01E76F: mov edx, dword ptr [edi + 4] */ 11678 PUSH32(esp, eax); /* 0x2B01E772: push eax */ 11679 PUSH32(esp, ecx); /* 0x2B01E773: push ecx */ 11680 PUSH32(esp, edx); /* 0x2B01E774: push edx */ 11681 ecx = esi; /* 0x2B01E775: mov ecx, esi */ 11682 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01E777: call 0x2b01da20 */ /* not lifted */ 11683 RECOMP_FLAGS_IN(); 11684 MEM32(esi + 0x8) = eax; /* 0x2B01E77C: mov dword ptr [esi + 8], eax */ 11685 MEM32(esi + 0xC) = eax; /* 0x2B01E77F: mov dword ptr [esi + 0xc], eax */ 11686 L_2B01E782: 11687 /* cmp edi, MEM32(ebp + 0x8) */ /* 0x2B01E782: cmp edi, dword ptr [ebp + 8] */ 11688 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 11689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11690 _flag_k = FK_CMP; 11691 RECOMP_BACKEDGE(); 11692 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E614; /* 0x2B01E785: jne 0x2b01e614 */ 11693 L_2B01E78B: 11694 eax = esi; /* 0x2B01E78B: mov eax, esi */ 11695 esi = POP32_VAL(esp); /* 0x2B01E78D: pop esi */ 11696 ebx = POP32_VAL(esp); /* 0x2B01E78E: pop ebx */ 11697 edi = POP32_VAL(esp); /* 0x2B01E78F: pop edi */ 11698 ebp = POP32_VAL(esp); /* 0x2B01E790: pop ebp */ 11699 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E791: ret */ 11700 RECOMP_REGS_OUT(); 11701 } 11702 11703 void sub_2B01E7A0(void) { 11704 int _fpu_cmp = 0; 11705 uint32_t _cf = 0; 11706 int _df = 1; 11707 uint32_t _flag_k = FK_NONE; 11708 uint32_t _flag_a = 0, _flag_b = 0; 11709 uint32_t _itail_tgt = 0; 11710 RECOMP_REGS_LOCALS 11711 RECOMP_ENTER(0x2B01E7A0u); 11712 11713 L_2B01E7A0: 11714 PUSH32(esp, ebp); /* 0x2B01E7A0: push ebp */ 11715 ebp = esp; /* 0x2B01E7A1: mov ebp, esp */ 11716 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01E7A3: push -1 */ 11717 PUSH32(esp, 0x2B0AD241u); /* 0x2B01E7A5: push 0x2b0ad241 */ 11718 eax = MEM32(FS_BASE + (0)); /* 0x2B01E7AA: mov eax, dword ptr fs:[0] */ 11719 PUSH32(esp, eax); /* 0x2B01E7B0: push eax */ 11720 MEM32(FS_BASE + (0)) = esp; /* 0x2B01E7B1: mov dword ptr fs:[0], esp */ 11721 PUSH32(esp, ecx); /* 0x2B01E7B8: push ecx */ 11722 PUSH32(esp, edi); /* 0x2B01E7B9: push edi */ 11723 edi = MEM32(ebp + 0x8); /* 0x2B01E7BA: mov edi, dword ptr [ebp + 8] */ 11724 MEM32(ebp + (-0x10)) = edi; /* 0x2B01E7BD: mov dword ptr [ebp - 0x10], edi */ 11725 /* test edi, edi */ /* 0x2B01E7C0: test edi, edi */ 11726 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11727 _cf = 0; 11728 _flag_k = FK_TEST; 11729 MEM32(ebp + (-0x4)) = 0; /* 0x2B01E7C2: mov dword ptr [ebp - 4], 0 */ 11730 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E824; /* 0x2B01E7C9: je 0x2b01e824 */ 11731 L_2B01E7CB: 11732 PUSH32(esp, esi); /* 0x2B01E7CB: push esi */ 11733 esi = MEM32(ebp + 0xC); /* 0x2B01E7CC: mov esi, dword ptr [ebp + 0xc] */ 11734 SET_LO8(eax, MEM8(esi)); /* 0x2B01E7CF: mov al, byte ptr [esi] */ 11735 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B01E7D1: mov byte ptr [edi], al */ 11736 ecx = MEM32(esi + 0x4); /* 0x2B01E7D3: mov ecx, dword ptr [esi + 4] */ 11737 /* test ecx, ecx */ /* 0x2B01E7D6: test ecx, ecx */ 11738 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11739 _cf = 0; 11740 _flag_k = FK_TEST; 11741 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01E7DE; /* 0x2B01E7D8: jne 0x2b01e7de */ 11742 L_2B01E7DA: 11743 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11744 eax = 0; /* 0x2B01E7DA: xor eax, eax */ 11745 _cf = 0; 11746 _flag_k = FK_TEST; 11747 goto L_2B01E7E6; /* 0x2B01E7DC: jmp 0x2b01e7e6 */ 11748 L_2B01E7DE: 11749 eax = MEM32(esi + 0x8); /* 0x2B01E7DE: mov eax, dword ptr [esi + 8] */ 11750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11752 eax = eax - ecx; /* 0x2B01E7E1: sub eax, ecx */ 11753 _flag_k = FK_CMP; 11754 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01E7E3: sar eax, 2 */ 11755 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11756 eax = (uint32_t)((int32_t)eax >> 2u); 11757 L_2B01E7E6: 11758 /* test eax, eax */ /* 0x2B01E7E6: test eax, eax */ 11759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11760 _cf = 0; 11761 _flag_k = FK_TEST; 11762 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01E7EC; /* 0x2B01E7E8: jge 0x2b01e7ec */ 11763 L_2B01E7EA: 11764 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11765 eax = 0; /* 0x2B01E7EA: xor eax, eax */ 11766 _cf = 0; 11767 _flag_k = FK_TEST; 11768 L_2B01E7EC: 11769 ecx = eax * 4; /* 0x2B01E7EC: lea ecx, [eax*4] */ 11770 PUSH32(esp, ecx); /* 0x2B01E7F3: push ecx */ 11771 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E7F4: call 0x2b0ab212 */ /* not lifted */ 11772 RECOMP_FLAGS_IN(); 11773 MEM32(edi + 0x4) = eax; /* 0x2B01E7F9: mov dword ptr [edi + 4], eax */ 11774 edx = MEM32(esi + 0x8); /* 0x2B01E7FC: mov edx, dword ptr [esi + 8] */ 11775 ecx = eax; /* 0x2B01E7FF: mov ecx, eax */ 11776 eax = MEM32(esi + 0x4); /* 0x2B01E801: mov eax, dword ptr [esi + 4] */ 11777 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11778 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11779 esp = esp + 4; /* 0x2B01E804: add esp, 4 */ 11780 _flag_k = FK_ADD; 11781 /* cmp eax, edx */ /* 0x2B01E807: cmp eax, edx */ 11782 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11784 _flag_k = FK_CMP; 11785 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01E81D; /* 0x2B01E809: je 0x2b01e81d */ 11786 L_2B01E80B: 11787 /* test ecx, ecx */ /* 0x2B01E80B: test ecx, ecx */ 11788 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11789 _cf = 0; 11790 _flag_k = FK_TEST; 11791 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E813; /* 0x2B01E80D: je 0x2b01e813 */ 11792 L_2B01E80F: 11793 esi = MEM32(eax); /* 0x2B01E80F: mov esi, dword ptr [eax] */ 11794 MEM32(ecx) = esi; /* 0x2B01E811: mov dword ptr [ecx], esi */ 11795 L_2B01E813: 11796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 11797 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11798 eax = eax + 4; /* 0x2B01E813: add eax, 4 */ 11799 _flag_k = FK_ADD; 11800 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 11801 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11802 ecx = ecx + 4; /* 0x2B01E816: add ecx, 4 */ 11803 _flag_k = FK_ADD; 11804 /* cmp eax, edx */ /* 0x2B01E819: cmp eax, edx */ 11805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11807 _flag_k = FK_CMP; 11808 RECOMP_BACKEDGE(); 11809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01E80B; /* 0x2B01E81B: jne 0x2b01e80b */ 11810 L_2B01E81D: 11811 MEM32(edi + 0x8) = ecx; /* 0x2B01E81D: mov dword ptr [edi + 8], ecx */ 11812 MEM32(edi + 0xC) = ecx; /* 0x2B01E820: mov dword ptr [edi + 0xc], ecx */ 11813 esi = POP32_VAL(esp); /* 0x2B01E823: pop esi */ 11814 L_2B01E824: 11815 ecx = MEM32(ebp + (-0xC)); /* 0x2B01E824: mov ecx, dword ptr [ebp - 0xc] */ 11816 edi = POP32_VAL(esp); /* 0x2B01E827: pop edi */ 11817 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01E828: mov dword ptr fs:[0], ecx */ 11818 esp = ebp; /* 0x2B01E82F: mov esp, ebp */ 11819 ebp = POP32_VAL(esp); /* 0x2B01E831: pop ebp */ 11820 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01E832: ret */ 11821 RECOMP_REGS_OUT(); 11822 } 11823 11824 void sub_2B01E840(void) { 11825 int _fpu_cmp = 0; 11826 uint32_t _cf = 0; 11827 int _df = 1; 11828 uint32_t _flag_k = FK_NONE; 11829 uint32_t _flag_a = 0, _flag_b = 0; 11830 uint32_t _itail_tgt = 0; 11831 RECOMP_REGS_LOCALS 11832 RECOMP_ENTER(0x2B01E840u); 11833 11834 L_2B01E840: 11835 PUSH32(esp, ebp); /* 0x2B01E840: push ebp */ 11836 ebp = esp; /* 0x2B01E841: mov ebp, esp */ 11837 PUSH32(esp, ecx); /* 0x2B01E843: push ecx */ 11838 PUSH32(esp, esi); /* 0x2B01E844: push esi */ 11839 esi = ecx; /* 0x2B01E845: mov esi, ecx */ 11840 eax = MEM32(esi + 0x4); /* 0x2B01E847: mov eax, dword ptr [esi + 4] */ 11841 PUSH32(esp, eax); /* 0x2B01E84A: push eax */ 11842 MEM32(ebp + (-0x4)) = eax; /* 0x2B01E84B: mov dword ptr [ebp - 4], eax */ 11843 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E84E: call 0x2b0ab1ba */ /* not lifted */ 11844 RECOMP_FLAGS_IN(); 11845 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11846 eax = 0; /* 0x2B01E853: xor eax, eax */ 11847 _cf = 0; 11848 _flag_k = FK_TEST; 11849 MEM32(esi + 0x4) = eax; /* 0x2B01E855: mov dword ptr [esi + 4], eax */ 11850 MEM32(esi + 0x8) = eax; /* 0x2B01E858: mov dword ptr [esi + 8], eax */ 11851 MEM32(esi + 0xC) = eax; /* 0x2B01E85B: mov dword ptr [esi + 0xc], eax */ 11852 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x2B01E85E: mov al, byte ptr [ebp + 8] */ 11853 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11855 esp = esp + 4; /* 0x2B01E861: add esp, 4 */ 11856 _flag_k = FK_ADD; 11857 /* test LO8(eax), 1 */ /* 0x2B01E864: test al, 1 */ 11858 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11859 _cf = 0; 11860 _flag_k = FK_NARROW(FK_TEST, 24); 11861 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01E871; /* 0x2B01E866: je 0x2b01e871 */ 11862 L_2B01E868: 11863 PUSH32(esp, esi); /* 0x2B01E868: push esi */ 11864 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01E869: call 0x2b0ab1ba */ /* not lifted */ 11865 RECOMP_FLAGS_IN(); 11866 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11867 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11868 esp = esp + 4; /* 0x2B01E86E: add esp, 4 */ 11869 _flag_k = FK_ADD; 11870 L_2B01E871: 11871 eax = esi; /* 0x2B01E871: mov eax, esi */ 11872 esi = POP32_VAL(esp); /* 0x2B01E873: pop esi */ 11873 esp = ebp; /* 0x2B01E874: mov esp, ebp */ 11874 ebp = POP32_VAL(esp); /* 0x2B01E876: pop ebp */ 11875 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01E877: ret 4 */ 11876 RECOMP_REGS_OUT(); 11877 } 11878 11879 void sub_2B01E880(void) { 11880 int _fpu_cmp = 0; 11881 uint32_t _cf = 0; 11882 int _df = 1; 11883 uint32_t _flag_k = FK_NONE; 11884 uint32_t _flag_a = 0, _flag_b = 0; 11885 uint32_t _itail_tgt = 0; 11886 RECOMP_REGS_LOCALS 11887 RECOMP_ENTER(0x2B01E880u); 11888 11889 L_2B01E880: 11890 PUSH32(esp, ebp); /* 0x2B01E880: push ebp */ 11891 ebp = esp; /* 0x2B01E881: mov ebp, esp */ 11892 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01E883: push -1 */ 11893 PUSH32(esp, 0x2B0AD258u); /* 0x2B01E885: push 0x2b0ad258 */ 11894 eax = MEM32(FS_BASE + (0)); /* 0x2B01E88A: mov eax, dword ptr fs:[0] */ 11895 PUSH32(esp, eax); /* 0x2B01E890: push eax */ 11896 MEM32(FS_BASE + (0)) = esp; /* 0x2B01E891: mov dword ptr fs:[0], esp */ 11897 PUSH32(esp, ecx); /* 0x2B01E898: push ecx */ 11898 PUSH32(esp, ebx); /* 0x2B01E899: push ebx */ 11899 PUSH32(esp, esi); /* 0x2B01E89A: push esi */ 11900 esi = MEM32(ebp + 0x8); /* 0x2B01E89B: mov esi, dword ptr [ebp + 8] */ 11901 eax = MEM32(esi + 0x4); /* 0x2B01E89E: mov eax, dword ptr [esi + 4] */ 11902 PUSH32(esp, edi); /* 0x2B01E8A1: push edi */ 11903 edi = ecx; /* 0x2B01E8A2: mov edi, ecx */ 11904 MEM32(edi + 0x4) = eax; /* 0x2B01E8A4: mov dword ptr [edi + 4], eax */ 11905 ecx = MEM32(esi + 0x8); /* 0x2B01E8A7: mov ecx, dword ptr [esi + 8] */ 11906 MEM32(edi + 0x8) = ecx; /* 0x2B01E8AA: mov dword ptr [edi + 8], ecx */ 11907 edx = MEM32(esi + 0xC); /* 0x2B01E8AD: mov edx, dword ptr [esi + 0xc] */ 11908 MEM32(edi + 0xC) = edx; /* 0x2B01E8B0: mov dword ptr [edi + 0xc], edx */ 11909 eax = MEM32(esi + 0x10); /* 0x2B01E8B3: mov eax, dword ptr [esi + 0x10] */ 11910 MEM32(edi + 0x10) = eax; /* 0x2B01E8B6: mov dword ptr [edi + 0x10], eax */ 11911 ecx = MEM32(esi + 0x14); /* 0x2B01E8B9: mov ecx, dword ptr [esi + 0x14] */ 11912 MEM32(edi + 0x14) = ecx; /* 0x2B01E8BC: mov dword ptr [edi + 0x14], ecx */ 11913 edx = MEM32(esi + 0x18); /* 0x2B01E8BF: mov edx, dword ptr [esi + 0x18] */ 11914 MEM32(edi + 0x18) = edx; /* 0x2B01E8C2: mov dword ptr [edi + 0x18], edx */ 11915 eax = MEM32(esi + 0x1C); /* 0x2B01E8C5: mov eax, dword ptr [esi + 0x1c] */ 11916 MEM32(edi + 0x1C) = eax; /* 0x2B01E8C8: mov dword ptr [edi + 0x1c], eax */ 11917 ecx = MEM32(esi + 0x20); /* 0x2B01E8CB: mov ecx, dword ptr [esi + 0x20] */ 11918 MEM32(edi + 0x20) = ecx; /* 0x2B01E8CE: mov dword ptr [edi + 0x20], ecx */ 11919 edx = MEM32(esi + 0x24); /* 0x2B01E8D1: mov edx, dword ptr [esi + 0x24] */ 11920 MEM32(edi + 0x24) = edx; /* 0x2B01E8D4: mov dword ptr [edi + 0x24], edx */ 11921 eax = MEM32(esi + 0x28); /* 0x2B01E8D7: mov eax, dword ptr [esi + 0x28] */ 11922 MEM32(edi + 0x28) = eax; /* 0x2B01E8DA: mov dword ptr [edi + 0x28], eax */ 11923 ecx = MEM32(esi + 0x2C); /* 0x2B01E8DD: mov ecx, dword ptr [esi + 0x2c] */ 11924 MEM32(edi + 0x2C) = ecx; /* 0x2B01E8E0: mov dword ptr [edi + 0x2c], ecx */ 11925 edx = MEM32(esi + 0x30); /* 0x2B01E8E3: mov edx, dword ptr [esi + 0x30] */ 11926 MEM32(edi + 0x30) = edx; /* 0x2B01E8E6: mov dword ptr [edi + 0x30], edx */ 11927 eax = MEM32(esi + 0x34); /* 0x2B01E8E9: mov eax, dword ptr [esi + 0x34] */ 11928 MEM32(edi + 0x34) = eax; /* 0x2B01E8EC: mov dword ptr [edi + 0x34], eax */ 11929 ecx = MEM32(esi + 0x38); /* 0x2B01E8EF: mov ecx, dword ptr [esi + 0x38] */ 11930 MEM32(edi + 0x38) = ecx; /* 0x2B01E8F2: mov dword ptr [edi + 0x38], ecx */ 11931 edx = MEM32(esi + 0x3C); /* 0x2B01E8F5: mov edx, dword ptr [esi + 0x3c] */ 11932 MEM32(edi + 0x3C) = edx; /* 0x2B01E8F8: mov dword ptr [edi + 0x3c], edx */ 11933 eax = MEM32(esi + 0x40); /* 0x2B01E8FB: mov eax, dword ptr [esi + 0x40] */ 11934 MEM32(edi + 0x40) = eax; /* 0x2B01E8FE: mov dword ptr [edi + 0x40], eax */ 11935 ecx = MEM32(esi + 0x44); /* 0x2B01E901: mov ecx, dword ptr [esi + 0x44] */ 11936 MEM32(edi + 0x44) = ecx; /* 0x2B01E904: mov dword ptr [edi + 0x44], ecx */ 11937 edx = MEM32(esi + 0x48); /* 0x2B01E907: mov edx, dword ptr [esi + 0x48] */ 11938 MEM32(edi + 0x48) = edx; /* 0x2B01E90A: mov dword ptr [edi + 0x48], edx */ 11939 eax = MEM32(esi + 0x4C); /* 0x2B01E90D: mov eax, dword ptr [esi + 0x4c] */ 11940 MEM32(edi + 0x4C) = eax; /* 0x2B01E910: mov dword ptr [edi + 0x4c], eax */ 11941 ecx = MEM32(esi + 0x50); /* 0x2B01E913: mov ecx, dword ptr [esi + 0x50] */ 11942 MEM32(edi + 0x50) = ecx; /* 0x2B01E916: mov dword ptr [edi + 0x50], ecx */ 11943 edx = MEM32(esi + 0x54); /* 0x2B01E919: mov edx, dword ptr [esi + 0x54] */ 11944 MEM32(edi + 0x54) = edx; /* 0x2B01E91C: mov dword ptr [edi + 0x54], edx */ 11945 eax = MEM32(esi + 0x58); /* 0x2B01E91F: mov eax, dword ptr [esi + 0x58] */ 11946 MEM32(edi + 0x58) = eax; /* 0x2B01E922: mov dword ptr [edi + 0x58], eax */ 11947 ecx = MEM32(esi + 0x5C); /* 0x2B01E925: mov ecx, dword ptr [esi + 0x5c] */ 11948 MEM32(edi + 0x5C) = ecx; /* 0x2B01E928: mov dword ptr [edi + 0x5c], ecx */ 11949 edx = MEM32(esi + 0x60); /* 0x2B01E92B: mov edx, dword ptr [esi + 0x60] */ 11950 MEM32(edi + 0x60) = edx; /* 0x2B01E92E: mov dword ptr [edi + 0x60], edx */ 11951 eax = MEM32(esi + 0x64); /* 0x2B01E931: mov eax, dword ptr [esi + 0x64] */ 11952 MEM32(edi + 0x64) = eax; /* 0x2B01E934: mov dword ptr [edi + 0x64], eax */ 11953 ecx = MEM32(esi + 0x68); /* 0x2B01E937: mov ecx, dword ptr [esi + 0x68] */ 11954 MEM32(edi + 0x68) = ecx; /* 0x2B01E93A: mov dword ptr [edi + 0x68], ecx */ 11955 edx = MEM32(esi + 0x6C); /* 0x2B01E93D: mov edx, dword ptr [esi + 0x6c] */ 11956 MEM32(edi + 0x6C) = edx; /* 0x2B01E940: mov dword ptr [edi + 0x6c], edx */ 11957 eax = MEM32(esi + 0x70); /* 0x2B01E943: mov eax, dword ptr [esi + 0x70] */ 11958 MEM32(edi + 0x70) = eax; /* 0x2B01E946: mov dword ptr [edi + 0x70], eax */ 11959 ecx = MEM32(esi + 0x74); /* 0x2B01E949: mov ecx, dword ptr [esi + 0x74] */ 11960 MEM32(edi + 0x74) = ecx; /* 0x2B01E94C: mov dword ptr [edi + 0x74], ecx */ 11961 edx = MEM32(esi + 0x78); /* 0x2B01E94F: mov edx, dword ptr [esi + 0x78] */ 11962 MEM32(ebp + (-0x10)) = edi; /* 0x2B01E952: mov dword ptr [ebp - 0x10], edi */ 11963 MEM32(edi + 0x78) = edx; /* 0x2B01E955: mov dword ptr [edi + 0x78], edx */ 11964 MEM32(edi) = 0x2B0B63DCu; /* 0x2B01E958: mov dword ptr [edi], 0x2b0b63dc */ 11965 eax = MEM32(esi + 0x7C); /* 0x2B01E95E: mov eax, dword ptr [esi + 0x7c] */ 11966 MEM32(edi + 0x7C) = eax; /* 0x2B01E961: mov dword ptr [edi + 0x7c], eax */ 11967 ecx = MEM32(esi + 0x80); /* 0x2B01E964: mov ecx, dword ptr [esi + 0x80] */ 11968 MEM32(edi + 0x80) = ecx; /* 0x2B01E96A: mov dword ptr [edi + 0x80], ecx */ 11969 edx = MEM32(esi + 0x84); /* 0x2B01E970: mov edx, dword ptr [esi + 0x84] */ 11970 MEM32(edi + 0x84) = edx; /* 0x2B01E976: mov dword ptr [edi + 0x84], edx */ 11971 SET_LO8(eax, MEM8(esi + 0x88)); /* 0x2B01E97C: mov al, byte ptr [esi + 0x88] */ 11972 ebx = edi + 0x88; /* 0x2B01E982: lea ebx, [edi + 0x88] */ 11973 MEM8(ebx) = (uint8_t)(LO8(eax)); /* 0x2B01E988: mov byte ptr [ebx], al */ 11974 SET_LO8(ecx, MEM8(esi + 0x89)); /* 0x2B01E98A: mov cl, byte ptr [esi + 0x89] */ 11975 MEM8(ebx + 0x1) = (uint8_t)(LO8(ecx)); /* 0x2B01E990: mov byte ptr [ebx + 1], cl */ 11976 SET_LO8(edx, MEM8(esi + 0x94)); /* 0x2B01E993: mov dl, byte ptr [esi + 0x94] */ 11977 MEM32(ebp + (-0x4)) = 0; /* 0x2B01E999: mov dword ptr [ebp - 4], 0 */ 11978 PUSH32(esp, 0x3Cu); /* 0x2B01E9A0: push 0x3c */ 11979 MEM8(ebx + 0xC) = (uint8_t)(LO8(edx)); /* 0x2B01E9A2: mov byte ptr [ebx + 0xc], dl */ 11980 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E9A5: call 0x2b0ab212 */ /* not lifted */ 11981 RECOMP_FLAGS_IN(); 11982 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11983 edx = 0; /* 0x2B01E9AA: xor edx, edx */ 11984 _cf = 0; 11985 _flag_k = FK_TEST; 11986 MEM32(eax + 0x4) = edx; /* 0x2B01E9AC: mov dword ptr [eax + 4], edx */ 11987 MEM8(eax + 0x39) = (uint8_t)(LO8(edx)); /* 0x2B01E9AF: mov byte ptr [eax + 0x39], dl */ 11988 SET_LO8(ecx, 1); /* 0x2B01E9B2: mov cl, 1 */ 11989 MEM8(eax + 0x38) = (uint8_t)(LO8(ecx)); /* 0x2B01E9B4: mov byte ptr [eax + 0x38], cl */ 11990 MEM32(ebx + 0x8) = eax; /* 0x2B01E9B7: mov dword ptr [ebx + 8], eax */ 11991 MEM8(eax + 0x39) = (uint8_t)(LO8(ecx)); /* 0x2B01E9BA: mov byte ptr [eax + 0x39], cl */ 11992 eax = MEM32(ebx + 0x8); /* 0x2B01E9BD: mov eax, dword ptr [ebx + 8] */ 11993 MEM32(eax) = edx; /* 0x2B01E9C0: mov dword ptr [eax], edx */ 11994 ecx = MEM32(ebx + 0x8); /* 0x2B01E9C2: mov ecx, dword ptr [ebx + 8] */ 11995 MEM32(ecx + 0x8) = edx; /* 0x2B01E9C5: mov dword ptr [ecx + 8], edx */ 11996 edx = MEM32(ebx + 0x8); /* 0x2B01E9C8: mov edx, dword ptr [ebx + 8] */ 11997 PUSH32(esp, 0x3Cu); /* 0x2B01E9CB: push 0x3c */ 11998 MEM32(ebp + 0x8) = edx; /* 0x2B01E9CD: mov dword ptr [ebp + 8], edx */ 11999 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01E9D0: call 0x2b0ab212 */ /* not lifted */ 12000 RECOMP_FLAGS_IN(); 12001 ecx = MEM32(ebp + 0x8); /* 0x2B01E9D5: mov ecx, dword ptr [ebp + 8] */ 12002 MEM32(eax + 0x4) = ecx; /* 0x2B01E9D8: mov dword ptr [eax + 4], ecx */ 12003 MEM8(eax + 0x38) = (uint8_t)(0); /* 0x2B01E9DB: mov byte ptr [eax + 0x38], 0 */ 12004 MEM8(eax + 0x39) = (uint8_t)(0); /* 0x2B01E9DF: mov byte ptr [eax + 0x39], 0 */ 12005 MEM32(ebx + 0x4) = eax; /* 0x2B01E9E3: mov dword ptr [ebx + 4], eax */ 12006 MEM32(eax) = eax; /* 0x2B01E9E6: mov dword ptr [eax], eax */ 12007 eax = MEM32(ebx + 0x4); /* 0x2B01E9E8: mov eax, dword ptr [ebx + 4] */ 12008 MEM32(eax + 0x8) = eax; /* 0x2B01E9EB: mov dword ptr [eax + 8], eax */ 12009 eax = MEM32(ebx + 0x4); /* 0x2B01E9EE: mov eax, dword ptr [ebx + 4] */ 12010 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12011 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12012 esp = esp + 8; /* 0x2B01E9F1: add esp, 8 */ 12013 _flag_k = FK_ADD; 12014 MEM32(ebx + 0x10) = 0; /* 0x2B01E9F4: mov dword ptr [ebx + 0x10], 0 */ 12015 edx = MEM32(esi + 0x8C); /* 0x2B01E9FB: mov edx, dword ptr [esi + 0x8c] */ 12016 PUSH32(esp, eax); /* 0x2B01EA01: push eax */ 12017 MEM32(ebp + 0x8) = eax; /* 0x2B01EA02: mov dword ptr [ebp + 8], eax */ 12018 eax = MEM32(edx + 0x4); /* 0x2B01EA05: mov eax, dword ptr [edx + 4] */ 12019 PUSH32(esp, eax); /* 0x2B01EA08: push eax */ 12020 ecx = ebx; /* 0x2B01EA09: mov ecx, ebx */ 12021 RECOMP_ICALL(0x2B0214D0u); /* 0x2B01EA0B: call 0x2b0214d0 */ /* not lifted */ 12022 RECOMP_FLAGS_IN(); 12023 ecx = MEM32(ebp + 0x8); /* 0x2B01EA10: mov ecx, dword ptr [ebp + 8] */ 12024 MEM32(ecx + 0x4) = eax; /* 0x2B01EA13: mov dword ptr [ecx + 4], eax */ 12025 edx = MEM32(esi + 0x98); /* 0x2B01EA16: mov edx, dword ptr [esi + 0x98] */ 12026 eax = MEM32(ebx + 0x4); /* 0x2B01EA1C: mov eax, dword ptr [ebx + 4] */ 12027 MEM32(ebx + 0x10) = edx; /* 0x2B01EA1F: mov dword ptr [ebx + 0x10], edx */ 12028 ecx = MEM32(eax + 0x4); /* 0x2B01EA22: mov ecx, dword ptr [eax + 4] */ 12029 /* cmp ecx, MEM32(ebx + 0x8) */ /* 0x2B01EA25: cmp ecx, dword ptr [ebx + 8] */ 12030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 12031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12032 _flag_k = FK_CMP; 12033 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01EA52; /* 0x2B01EA28: je 0x2b01ea52 */ 12034 L_2B01EA2A: 12035 edx = MEM32(ecx); /* 0x2B01EA2A: mov edx, dword ptr [ecx] */ 12036 /* cmp MEM8(edx + 0x39), 0 */ /* 0x2B01EA2C: cmp byte ptr [edx + 0x39], 0 */ 12037 _flag_a = (uint32_t)(MEM8(edx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 12038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12039 _flag_k = FK_NARROW(FK_CMP, 24); 12040 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01EA3C; /* 0x2B01EA30: jne 0x2b01ea3c */ 12041 L_2B01EA32: 12042 ecx = edx; /* 0x2B01EA32: mov ecx, edx */ 12043 edx = MEM32(ecx); /* 0x2B01EA34: mov edx, dword ptr [ecx] */ 12044 /* cmp MEM8(edx + 0x39), 0 */ /* 0x2B01EA36: cmp byte ptr [edx + 0x39], 0 */ 12045 _flag_a = (uint32_t)(MEM8(edx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 12046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12047 _flag_k = FK_NARROW(FK_CMP, 24); 12048 RECOMP_BACKEDGE(); 12049 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01EA32; /* 0x2B01EA3A: je 0x2b01ea32 */ 12050 L_2B01EA3C: 12051 MEM32(eax) = ecx; /* 0x2B01EA3C: mov dword ptr [eax], ecx */ 12052 ebx = MEM32(ebx + 0x4); /* 0x2B01EA3E: mov ebx, dword ptr [ebx + 4] */ 12053 eax = MEM32(ebx + 0x4); /* 0x2B01EA41: mov eax, dword ptr [ebx + 4] */ 12054 PUSH32(esp, eax); /* 0x2B01EA44: push eax */ 12055 RECOMP_ICALL(0x2B0215B0u); /* 0x2B01EA45: call 0x2b0215b0 */ /* not lifted */ 12056 RECOMP_FLAGS_IN(); 12057 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12058 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12059 esp = esp + 4; /* 0x2B01EA4A: add esp, 4 */ 12060 _flag_k = FK_ADD; 12061 MEM32(ebx + 0x8) = eax; /* 0x2B01EA4D: mov dword ptr [ebx + 8], eax */ 12062 goto L_2B01EA5A; /* 0x2B01EA50: jmp 0x2b01ea5a */ 12063 L_2B01EA52: 12064 MEM32(eax) = eax; /* 0x2B01EA52: mov dword ptr [eax], eax */ 12065 ebx = MEM32(ebx + 0x4); /* 0x2B01EA54: mov ebx, dword ptr [ebx + 4] */ 12066 MEM32(ebx + 0x8) = ebx; /* 0x2B01EA57: mov dword ptr [ebx + 8], ebx */ 12067 L_2B01EA5A: 12068 ecx = MEM32(esi + 0x9C); /* 0x2B01EA5A: mov ecx, dword ptr [esi + 0x9c] */ 12069 MEM32(edi + 0x9C) = ecx; /* 0x2B01EA60: mov dword ptr [edi + 0x9c], ecx */ 12070 edx = MEM32(esi + 0xA0); /* 0x2B01EA66: mov edx, dword ptr [esi + 0xa0] */ 12071 ecx = MEM32(ebp + (-0xC)); /* 0x2B01EA6C: mov ecx, dword ptr [ebp - 0xc] */ 12072 MEM32(edi + 0xA0) = edx; /* 0x2B01EA6F: mov dword ptr [edi + 0xa0], edx */ 12073 eax = MEM32(esi + 0xA4); /* 0x2B01EA75: mov eax, dword ptr [esi + 0xa4] */ 12074 MEM32(edi + 0xA4) = eax; /* 0x2B01EA7B: mov dword ptr [edi + 0xa4], eax */ 12075 MEM32(edi) = 0x2B0B64E8u; /* 0x2B01EA81: mov dword ptr [edi], 0x2b0b64e8 */ 12076 eax = edi; /* 0x2B01EA87: mov eax, edi */ 12077 edi = POP32_VAL(esp); /* 0x2B01EA89: pop edi */ 12078 esi = POP32_VAL(esp); /* 0x2B01EA8A: pop esi */ 12079 ebx = POP32_VAL(esp); /* 0x2B01EA8B: pop ebx */ 12080 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01EA8C: mov dword ptr fs:[0], ecx */ 12081 esp = ebp; /* 0x2B01EA93: mov esp, ebp */ 12082 ebp = POP32_VAL(esp); /* 0x2B01EA95: pop ebp */ 12083 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01EA96: ret 4 */ 12084 RECOMP_REGS_OUT(); 12085 } 12086 12087 void sub_2B01EAA0(void) { 12088 int _fpu_cmp = 0; 12089 uint32_t _cf = 0; 12090 int _df = 1; 12091 uint32_t _flag_k = FK_NONE; 12092 uint32_t _flag_a = 0, _flag_b = 0; 12093 uint32_t _itail_tgt = 0; 12094 RECOMP_REGS_LOCALS 12095 RECOMP_ENTER(0x2B01EAA0u); 12096 12097 L_2B01EAA0: 12098 PUSH32(esp, ebp); /* 0x2B01EAA0: push ebp */ 12099 ebp = esp; /* 0x2B01EAA1: mov ebp, esp */ 12100 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12102 esp = esp - 0xCu; /* 0x2B01EAA3: sub esp, 0xc */ 12103 _flag_k = FK_CMP; 12104 PUSH32(esp, ebx); /* 0x2B01EAA6: push ebx */ 12105 PUSH32(esp, esi); /* 0x2B01EAA7: push esi */ 12106 esi = ecx; /* 0x2B01EAA8: mov esi, ecx */ 12107 PUSH32(esp, edi); /* 0x2B01EAAA: push edi */ 12108 edi = MEM32(ebp + 0x8); /* 0x2B01EAAB: mov edi, dword ptr [ebp + 8] */ 12109 eax = MEM32(edi + 0x4); /* 0x2B01EAAE: mov eax, dword ptr [edi + 4] */ 12110 MEM32(esi + 0x4) = eax; /* 0x2B01EAB1: mov dword ptr [esi + 4], eax */ 12111 ecx = MEM32(edi + 0x8); /* 0x2B01EAB4: mov ecx, dword ptr [edi + 8] */ 12112 MEM32(esi + 0x8) = ecx; /* 0x2B01EAB7: mov dword ptr [esi + 8], ecx */ 12113 edx = MEM32(edi + 0xC); /* 0x2B01EABA: mov edx, dword ptr [edi + 0xc] */ 12114 MEM32(esi + 0xC) = edx; /* 0x2B01EABD: mov dword ptr [esi + 0xc], edx */ 12115 eax = MEM32(edi + 0x10); /* 0x2B01EAC0: mov eax, dword ptr [edi + 0x10] */ 12116 MEM32(esi + 0x10) = eax; /* 0x2B01EAC3: mov dword ptr [esi + 0x10], eax */ 12117 ecx = MEM32(edi + 0x14); /* 0x2B01EAC6: mov ecx, dword ptr [edi + 0x14] */ 12118 MEM32(esi + 0x14) = ecx; /* 0x2B01EAC9: mov dword ptr [esi + 0x14], ecx */ 12119 edx = MEM32(edi + 0x18); /* 0x2B01EACC: mov edx, dword ptr [edi + 0x18] */ 12120 MEM32(esi + 0x18) = edx; /* 0x2B01EACF: mov dword ptr [esi + 0x18], edx */ 12121 eax = MEM32(edi + 0x1C); /* 0x2B01EAD2: mov eax, dword ptr [edi + 0x1c] */ 12122 MEM32(esi + 0x1C) = eax; /* 0x2B01EAD5: mov dword ptr [esi + 0x1c], eax */ 12123 ecx = MEM32(edi + 0x20); /* 0x2B01EAD8: mov ecx, dword ptr [edi + 0x20] */ 12124 MEM32(esi + 0x20) = ecx; /* 0x2B01EADB: mov dword ptr [esi + 0x20], ecx */ 12125 edx = MEM32(edi + 0x24); /* 0x2B01EADE: mov edx, dword ptr [edi + 0x24] */ 12126 MEM32(esi + 0x24) = edx; /* 0x2B01EAE1: mov dword ptr [esi + 0x24], edx */ 12127 eax = MEM32(edi + 0x28); /* 0x2B01EAE4: mov eax, dword ptr [edi + 0x28] */ 12128 MEM32(esi + 0x28) = eax; /* 0x2B01EAE7: mov dword ptr [esi + 0x28], eax */ 12129 ecx = MEM32(edi + 0x2C); /* 0x2B01EAEA: mov ecx, dword ptr [edi + 0x2c] */ 12130 MEM32(esi + 0x2C) = ecx; /* 0x2B01EAED: mov dword ptr [esi + 0x2c], ecx */ 12131 edx = MEM32(edi + 0x30); /* 0x2B01EAF0: mov edx, dword ptr [edi + 0x30] */ 12132 MEM32(esi + 0x30) = edx; /* 0x2B01EAF3: mov dword ptr [esi + 0x30], edx */ 12133 eax = MEM32(edi + 0x34); /* 0x2B01EAF6: mov eax, dword ptr [edi + 0x34] */ 12134 MEM32(esi + 0x34) = eax; /* 0x2B01EAF9: mov dword ptr [esi + 0x34], eax */ 12135 ecx = MEM32(edi + 0x38); /* 0x2B01EAFC: mov ecx, dword ptr [edi + 0x38] */ 12136 MEM32(esi + 0x38) = ecx; /* 0x2B01EAFF: mov dword ptr [esi + 0x38], ecx */ 12137 edx = MEM32(edi + 0x3C); /* 0x2B01EB02: mov edx, dword ptr [edi + 0x3c] */ 12138 MEM32(esi + 0x3C) = edx; /* 0x2B01EB05: mov dword ptr [esi + 0x3c], edx */ 12139 eax = MEM32(edi + 0x40); /* 0x2B01EB08: mov eax, dword ptr [edi + 0x40] */ 12140 MEM32(esi + 0x40) = eax; /* 0x2B01EB0B: mov dword ptr [esi + 0x40], eax */ 12141 ecx = MEM32(edi + 0x44); /* 0x2B01EB0E: mov ecx, dword ptr [edi + 0x44] */ 12142 MEM32(esi + 0x44) = ecx; /* 0x2B01EB11: mov dword ptr [esi + 0x44], ecx */ 12143 edx = MEM32(edi + 0x48); /* 0x2B01EB14: mov edx, dword ptr [edi + 0x48] */ 12144 MEM32(esi + 0x48) = edx; /* 0x2B01EB17: mov dword ptr [esi + 0x48], edx */ 12145 eax = MEM32(edi + 0x4C); /* 0x2B01EB1A: mov eax, dword ptr [edi + 0x4c] */ 12146 MEM32(esi + 0x4C) = eax; /* 0x2B01EB1D: mov dword ptr [esi + 0x4c], eax */ 12147 ecx = MEM32(edi + 0x50); /* 0x2B01EB20: mov ecx, dword ptr [edi + 0x50] */ 12148 MEM32(esi + 0x50) = ecx; /* 0x2B01EB23: mov dword ptr [esi + 0x50], ecx */ 12149 edx = MEM32(edi + 0x54); /* 0x2B01EB26: mov edx, dword ptr [edi + 0x54] */ 12150 MEM32(esi + 0x54) = edx; /* 0x2B01EB29: mov dword ptr [esi + 0x54], edx */ 12151 eax = MEM32(edi + 0x58); /* 0x2B01EB2C: mov eax, dword ptr [edi + 0x58] */ 12152 MEM32(esi + 0x58) = eax; /* 0x2B01EB2F: mov dword ptr [esi + 0x58], eax */ 12153 ecx = MEM32(edi + 0x5C); /* 0x2B01EB32: mov ecx, dword ptr [edi + 0x5c] */ 12154 MEM32(esi + 0x5C) = ecx; /* 0x2B01EB35: mov dword ptr [esi + 0x5c], ecx */ 12155 edx = MEM32(edi + 0x60); /* 0x2B01EB38: mov edx, dword ptr [edi + 0x60] */ 12156 MEM32(esi + 0x60) = edx; /* 0x2B01EB3B: mov dword ptr [esi + 0x60], edx */ 12157 eax = MEM32(edi + 0x64); /* 0x2B01EB3E: mov eax, dword ptr [edi + 0x64] */ 12158 MEM32(esi + 0x64) = eax; /* 0x2B01EB41: mov dword ptr [esi + 0x64], eax */ 12159 ecx = MEM32(edi + 0x68); /* 0x2B01EB44: mov ecx, dword ptr [edi + 0x68] */ 12160 MEM32(esi + 0x68) = ecx; /* 0x2B01EB47: mov dword ptr [esi + 0x68], ecx */ 12161 edx = MEM32(edi + 0x6C); /* 0x2B01EB4A: mov edx, dword ptr [edi + 0x6c] */ 12162 MEM32(esi + 0x6C) = edx; /* 0x2B01EB4D: mov dword ptr [esi + 0x6c], edx */ 12163 eax = MEM32(edi + 0x70); /* 0x2B01EB50: mov eax, dword ptr [edi + 0x70] */ 12164 MEM32(esi + 0x70) = eax; /* 0x2B01EB53: mov dword ptr [esi + 0x70], eax */ 12165 ecx = MEM32(edi + 0x74); /* 0x2B01EB56: mov ecx, dword ptr [edi + 0x74] */ 12166 MEM32(esi + 0x74) = ecx; /* 0x2B01EB59: mov dword ptr [esi + 0x74], ecx */ 12167 edx = MEM32(edi + 0x78); /* 0x2B01EB5C: mov edx, dword ptr [edi + 0x78] */ 12168 MEM32(esi + 0x78) = edx; /* 0x2B01EB5F: mov dword ptr [esi + 0x78], edx */ 12169 eax = MEM32(edi + 0x7C); /* 0x2B01EB62: mov eax, dword ptr [edi + 0x7c] */ 12170 MEM32(esi + 0x7C) = eax; /* 0x2B01EB65: mov dword ptr [esi + 0x7c], eax */ 12171 ecx = MEM32(edi + 0x80); /* 0x2B01EB68: mov ecx, dword ptr [edi + 0x80] */ 12172 MEM32(esi + 0x80) = ecx; /* 0x2B01EB6E: mov dword ptr [esi + 0x80], ecx */ 12173 edx = MEM32(edi + 0x84); /* 0x2B01EB74: mov edx, dword ptr [edi + 0x84] */ 12174 eax = edi + 0x88; /* 0x2B01EB7A: lea eax, [edi + 0x88] */ 12175 ebx = esi + 0x88; /* 0x2B01EB80: lea ebx, [esi + 0x88] */ 12176 /* cmp ebx, eax */ /* 0x2B01EB86: cmp ebx, eax */ 12177 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 12178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12179 _flag_k = FK_CMP; 12180 MEM32(esi + 0x84) = edx; /* 0x2B01EB88: mov dword ptr [esi + 0x84], edx */ 12181 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01EC15; /* 0x2B01EB8E: je 0x2b01ec15 */ 12182 L_2B01EB94: 12183 ecx = MEM32(ebx + 0x4); /* 0x2B01EB94: mov ecx, dword ptr [ebx + 4] */ 12184 edx = MEM32(ebx + 0x10); /* 0x2B01EB97: mov edx, dword ptr [ebx + 0x10] */ 12185 /* test edx, edx */ /* 0x2B01EB9A: test edx, edx */ 12186 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 12187 _cf = 0; 12188 _flag_k = FK_TEST; 12189 eax = MEM32(ecx); /* 0x2B01EB9C: mov eax, dword ptr [ecx] */ 12190 MEM32(ebp + (-0x8)) = ecx; /* 0x2B01EB9E: mov dword ptr [ebp - 8], ecx */ 12191 MEM32(ebp + 0x8) = eax; /* 0x2B01EBA1: mov dword ptr [ebp + 8], eax */ 12192 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01EBD8; /* 0x2B01EBA4: je 0x2b01ebd8 */ 12193 L_2B01EBA6: 12194 edx = eax; /* 0x2B01EBA6: mov edx, eax */ 12195 /* cmp eax, edx */ /* 0x2B01EBA8: cmp eax, edx */ 12196 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12198 _flag_k = FK_CMP; 12199 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01EBD8; /* 0x2B01EBAA: jne 0x2b01ebd8 */ 12200 L_2B01EBAC: 12201 /* cmp ecx, ecx */ /* 0x2B01EBAC: cmp ecx, ecx */ 12202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12204 _flag_k = FK_CMP; 12205 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01EBD8; /* 0x2B01EBAE: jne 0x2b01ebd8 */ 12206 L_2B01EBB0: 12207 eax = MEM32(ecx + 0x4); /* 0x2B01EBB0: mov eax, dword ptr [ecx + 4] */ 12208 PUSH32(esp, eax); /* 0x2B01EBB3: push eax */ 12209 ecx = ebx; /* 0x2B01EBB4: mov ecx, ebx */ 12210 RECOMP_ICALL(0x2B021560u); /* 0x2B01EBB6: call 0x2b021560 */ /* not lifted */ 12211 RECOMP_FLAGS_IN(); 12212 ecx = MEM32(ebx + 0x4); /* 0x2B01EBBB: mov ecx, dword ptr [ebx + 4] */ 12213 edx = MEM32(ebx + 0x8); /* 0x2B01EBBE: mov edx, dword ptr [ebx + 8] */ 12214 MEM32(ecx + 0x4) = edx; /* 0x2B01EBC1: mov dword ptr [ecx + 4], edx */ 12215 eax = MEM32(ebx + 0x4); /* 0x2B01EBC4: mov eax, dword ptr [ebx + 4] */ 12216 MEM32(ebx + 0x10) = 0; /* 0x2B01EBC7: mov dword ptr [ebx + 0x10], 0 */ 12217 MEM32(eax) = eax; /* 0x2B01EBCE: mov dword ptr [eax], eax */ 12218 eax = MEM32(ebx + 0x4); /* 0x2B01EBD0: mov eax, dword ptr [ebx + 4] */ 12219 MEM32(eax + 0x8) = eax; /* 0x2B01EBD3: mov dword ptr [eax + 8], eax */ 12220 goto L_2B01EBFE; /* 0x2B01EBD6: jmp 0x2b01ebfe */ 12221 L_2B01EBD8: 12222 /* cmp eax, ecx */ /* 0x2B01EBD8: cmp eax, ecx */ 12223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12225 _flag_k = FK_CMP; 12226 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01EBFE; /* 0x2B01EBDA: je 0x2b01ebfe */ 12227 L_2B01EBDC: 12228 ecx = ebp + 0x8; /* 0x2B01EBDC: lea ecx, [ebp + 8] */ 12229 MEM32(ebp + (-0x4)) = eax; /* 0x2B01EBDF: mov dword ptr [ebp - 4], eax */ 12230 RECOMP_ICALL(0x2B021870u); /* 0x2B01EBE2: call 0x2b021870 */ /* not lifted */ 12231 RECOMP_FLAGS_IN(); 12232 eax = MEM32(ebp + (-0x4)); /* 0x2B01EBE7: mov eax, dword ptr [ebp - 4] */ 12233 PUSH32(esp, eax); /* 0x2B01EBEA: push eax */ 12234 ecx = ebp + (-0xC); /* 0x2B01EBEB: lea ecx, [ebp - 0xc] */ 12235 PUSH32(esp, ecx); /* 0x2B01EBEE: push ecx */ 12236 ecx = ebx; /* 0x2B01EBEF: mov ecx, ebx */ 12237 RECOMP_ICALL(0x2B021100u); /* 0x2B01EBF1: call 0x2b021100 */ /* not lifted */ 12238 RECOMP_FLAGS_IN(); 12239 eax = MEM32(ebp + 0x8); /* 0x2B01EBF6: mov eax, dword ptr [ebp + 8] */ 12240 /* cmp eax, MEM32(ebp + (-0x8)) */ /* 0x2B01EBF9: cmp eax, dword ptr [ebp - 8] */ 12241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 12242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12243 _flag_k = FK_CMP; 12244 RECOMP_BACKEDGE(); 12245 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01EBDC; /* 0x2B01EBFC: jne 0x2b01ebdc */ 12246 L_2B01EBFE: 12247 SET_LO8(edx, MEM8(edi + 0x89)); /* 0x2B01EBFE: mov dl, byte ptr [edi + 0x89] */ 12248 eax = edi + 0x88; /* 0x2B01EC04: lea eax, [edi + 0x88] */ 12249 PUSH32(esp, eax); /* 0x2B01EC0A: push eax */ 12250 ecx = ebx; /* 0x2B01EC0B: mov ecx, ebx */ 12251 MEM8(ebx + 0x1) = (uint8_t)(LO8(edx)); /* 0x2B01EC0D: mov byte ptr [ebx + 1], dl */ 12252 RECOMP_ICALL(0x2B020F40u); /* 0x2B01EC10: call 0x2b020f40 */ /* not lifted */ 12253 RECOMP_FLAGS_IN(); 12254 L_2B01EC15: 12255 eax = MEM32(edi + 0x9C); /* 0x2B01EC15: mov eax, dword ptr [edi + 0x9c] */ 12256 MEM32(esi + 0x9C) = eax; /* 0x2B01EC1B: mov dword ptr [esi + 0x9c], eax */ 12257 ecx = MEM32(edi + 0xA0); /* 0x2B01EC21: mov ecx, dword ptr [edi + 0xa0] */ 12258 MEM32(esi + 0xA0) = ecx; /* 0x2B01EC27: mov dword ptr [esi + 0xa0], ecx */ 12259 edx = MEM32(edi + 0xA4); /* 0x2B01EC2D: mov edx, dword ptr [edi + 0xa4] */ 12260 edi = POP32_VAL(esp); /* 0x2B01EC33: pop edi */ 12261 MEM32(esi + 0xA4) = edx; /* 0x2B01EC34: mov dword ptr [esi + 0xa4], edx */ 12262 eax = esi; /* 0x2B01EC3A: mov eax, esi */ 12263 esi = POP32_VAL(esp); /* 0x2B01EC3C: pop esi */ 12264 ebx = POP32_VAL(esp); /* 0x2B01EC3D: pop ebx */ 12265 esp = ebp; /* 0x2B01EC3E: mov esp, ebp */ 12266 ebp = POP32_VAL(esp); /* 0x2B01EC40: pop ebp */ 12267 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01EC41: ret 4 */ 12268 RECOMP_REGS_OUT(); 12269 } 12270 12271 void sub_2B01EC50(void) { 12272 int _fpu_cmp = 0; 12273 uint32_t _cf = 0; 12274 int _df = 1; 12275 uint32_t _flag_k = FK_NONE; 12276 uint32_t _flag_a = 0, _flag_b = 0; 12277 uint32_t _itail_tgt = 0; 12278 RECOMP_REGS_LOCALS 12279 RECOMP_ENTER(0x2B01EC50u); 12280 12281 L_2B01EC50: 12282 PUSH32(esp, ebp); /* 0x2B01EC50: push ebp */ 12283 ebp = esp; /* 0x2B01EC51: mov ebp, esp */ 12284 PUSH32(esp, ebx); /* 0x2B01EC53: push ebx */ 12285 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2B01EC54: mov bl, byte ptr [ebp + 8] */ 12286 /* test LO8(ebx), 2 */ /* 0x2B01EC57: test bl, 2 */ 12287 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 12288 _cf = 0; 12289 _flag_k = FK_NARROW(FK_TEST, 24); 12290 PUSH32(esp, esi); /* 0x2B01EC5A: push esi */ 12291 esi = ecx; /* 0x2B01EC5B: mov esi, ecx */ 12292 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01EC8E; /* 0x2B01EC5D: je 0x2b01ec8e */ 12293 L_2B01EC5F: 12294 eax = MEM32(esi + (-0x4)); /* 0x2B01EC5F: mov eax, dword ptr [esi - 4] */ 12295 PUSH32(esp, edi); /* 0x2B01EC62: push edi */ 12296 PUSH32(esp, 0x2B01F880u); /* 0x2B01EC63: push 0x2b01f880 */ 12297 edi = esi + (-0x4); /* 0x2B01EC68: lea edi, [esi - 4] */ 12298 PUSH32(esp, eax); /* 0x2B01EC6B: push eax */ 12299 PUSH32(esp, 0xA8u); /* 0x2B01EC6C: push 0xa8 */ 12300 PUSH32(esp, esi); /* 0x2B01EC71: push esi */ 12301 RECOMP_ICALL(0x2B0AB27Fu); /* 0x2B01EC72: call 0x2b0ab27f */ /* not lifted */ 12302 RECOMP_FLAGS_IN(); 12303 /* test LO8(ebx), 1 */ /* 0x2B01EC77: test bl, 1 */ 12304 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 12305 _cf = 0; 12306 _flag_k = FK_NARROW(FK_TEST, 24); 12307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01EC85; /* 0x2B01EC7A: je 0x2b01ec85 */ 12308 L_2B01EC7C: 12309 PUSH32(esp, edi); /* 0x2B01EC7C: push edi */ 12310 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01EC7D: call 0x2b0ab1ba */ /* not lifted */ 12311 RECOMP_FLAGS_IN(); 12312 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12313 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12314 esp = esp + 4; /* 0x2B01EC82: add esp, 4 */ 12315 _flag_k = FK_ADD; 12316 L_2B01EC85: 12317 eax = edi; /* 0x2B01EC85: mov eax, edi */ 12318 edi = POP32_VAL(esp); /* 0x2B01EC87: pop edi */ 12319 esi = POP32_VAL(esp); /* 0x2B01EC88: pop esi */ 12320 ebx = POP32_VAL(esp); /* 0x2B01EC89: pop ebx */ 12321 ebp = POP32_VAL(esp); /* 0x2B01EC8A: pop ebp */ 12322 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01EC8B: ret 4 */ 12323 L_2B01EC8E: 12324 ecx = esi; /* 0x2B01EC8E: mov ecx, esi */ 12325 RECOMP_ICALL(0x2B01F880u); /* 0x2B01EC90: call 0x2b01f880 */ /* not lifted */ 12326 RECOMP_FLAGS_IN(); 12327 /* test LO8(ebx), 1 */ /* 0x2B01EC95: test bl, 1 */ 12328 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 12329 _cf = 0; 12330 _flag_k = FK_NARROW(FK_TEST, 24); 12331 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01ECA3; /* 0x2B01EC98: je 0x2b01eca3 */ 12332 L_2B01EC9A: 12333 PUSH32(esp, esi); /* 0x2B01EC9A: push esi */ 12334 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01EC9B: call 0x2b0ab1ba */ /* not lifted */ 12335 RECOMP_FLAGS_IN(); 12336 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12337 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12338 esp = esp + 4; /* 0x2B01ECA0: add esp, 4 */ 12339 _flag_k = FK_ADD; 12340 L_2B01ECA3: 12341 eax = esi; /* 0x2B01ECA3: mov eax, esi */ 12342 esi = POP32_VAL(esp); /* 0x2B01ECA5: pop esi */ 12343 ebx = POP32_VAL(esp); /* 0x2B01ECA6: pop ebx */ 12344 ebp = POP32_VAL(esp); /* 0x2B01ECA7: pop ebp */ 12345 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01ECA8: ret 4 */ 12346 RECOMP_REGS_OUT(); 12347 } 12348 12349 void sub_2B01ECB0(void) { 12350 int _fpu_cmp = 0; 12351 uint32_t _cf = 0; 12352 int _df = 1; 12353 uint32_t _flag_k = FK_NONE; 12354 uint32_t _flag_a = 0, _flag_b = 0; 12355 uint32_t _itail_tgt = 0; 12356 RECOMP_REGS_LOCALS 12357 RECOMP_ENTER(0x2B01ECB0u); 12358 12359 L_2B01ECB0: 12360 PUSH32(esp, ebp); /* 0x2B01ECB0: push ebp */ 12361 ebp = esp; /* 0x2B01ECB1: mov ebp, esp */ 12362 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01ECB3: push -1 */ 12363 PUSH32(esp, 0x2B0AD3BAu); /* 0x2B01ECB5: push 0x2b0ad3ba */ 12364 eax = MEM32(FS_BASE + (0)); /* 0x2B01ECBA: mov eax, dword ptr fs:[0] */ 12365 PUSH32(esp, eax); /* 0x2B01ECC0: push eax */ 12366 MEM32(FS_BASE + (0)) = esp; /* 0x2B01ECC1: mov dword ptr fs:[0], esp */ 12367 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x9Cu); 12368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12369 esp = esp - 0x9Cu; /* 0x2B01ECC8: sub esp, 0x9c */ 12370 _flag_k = FK_CMP; 12371 eax = MEM32(ebp + 0xC); /* 0x2B01ECCE: mov eax, dword ptr [ebp + 0xc] */ 12372 PUSH32(esp, ebx); /* 0x2B01ECD1: push ebx */ 12373 PUSH32(esp, esi); /* 0x2B01ECD2: push esi */ 12374 PUSH32(esp, edi); /* 0x2B01ECD3: push edi */ 12375 edi = ecx; /* 0x2B01ECD4: mov edi, ecx */ 12376 ecx = MEM32(ebp + 0x8); /* 0x2B01ECD6: mov ecx, dword ptr [ebp + 8] */ 12377 PUSH32(esp, eax); /* 0x2B01ECD9: push eax */ 12378 PUSH32(esp, ecx); /* 0x2B01ECDA: push ecx */ 12379 PUSH32(esp, 0x2B0E3810u); /* 0x2B01ECDB: push 0x2b0e3810 */ 12380 ecx = edi; /* 0x2B01ECE0: mov ecx, edi */ 12381 MEM32(ebp + (-0x7C)) = edi; /* 0x2B01ECE2: mov dword ptr [ebp - 0x7c], edi */ 12382 RECOMP_ICALL(0x2B037910u); /* 0x2B01ECE5: call 0x2b037910 */ /* not lifted */ 12383 RECOMP_FLAGS_IN(); 12384 edx = ebp + 0xF; /* 0x2B01ECEA: lea edx, [ebp + 0xf] */ 12385 PUSH32(esp, edx); /* 0x2B01ECED: push edx */ 12386 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12387 ebx = 0; /* 0x2B01ECEE: xor ebx, ebx */ 12388 _cf = 0; 12389 _flag_k = FK_TEST; 12390 PUSH32(esp, ebx); /* 0x2B01ECF0: push ebx */ 12391 eax = ebp + 0xB; /* 0x2B01ECF1: lea eax, [ebp + 0xb] */ 12392 esi = edi + 0x88; /* 0x2B01ECF4: lea esi, [edi + 0x88] */ 12393 PUSH32(esp, eax); /* 0x2B01ECFA: push eax */ 12394 ecx = esi; /* 0x2B01ECFB: mov ecx, esi */ 12395 MEM32(ebp + (-0x4)) = ebx; /* 0x2B01ECFD: mov dword ptr [ebp - 4], ebx */ 12396 RECOMP_ICALL(0x2B020ED0u); /* 0x2B01ED00: call 0x2b020ed0 */ /* not lifted */ 12397 RECOMP_FLAGS_IN(); 12398 fp_push(*(float*)&MEM32(edi + 0x54)); /* 0x2B01ED05: fld dword ptr [edi + 0x54] */ 12399 _st[0] *= *(double*)ADDR(0x2B0B6528); /* 0x2B01ED08: fmul qword ptr [0x2b0b6528] */ 12400 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01ED0E: mov byte ptr [ebp - 4], 1 */ 12401 MEM32(edi + 0xA0) = ebx; /* 0x2B01ED12: mov dword ptr [edi + 0xa0], ebx */ 12402 MEM32(edi + 0xA4) = ebx; /* 0x2B01ED18: mov dword ptr [edi + 0xa4], ebx */ 12403 MEM32(edi) = 0x2B0B64E8u; /* 0x2B01ED1E: mov dword ptr [edi], 0x2b0b64e8 */ 12404 MEM32(edi + 0x40) = 0x3E9u; /* 0x2B01ED24: mov dword ptr [edi + 0x40], 0x3e9 */ 12405 MEM32(edi + 0x7C) = ebx; /* 0x2B01ED2B: mov dword ptr [edi + 0x7c], ebx */ 12406 MEM32(edi + 0x80) = ebx; /* 0x2B01ED2E: mov dword ptr [edi + 0x80], ebx */ 12407 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01ED34: call 0x2b0ab220 */ /* not lifted */ 12408 RECOMP_FLAGS_IN(); 12409 fp_push(*(float*)&MEM32(edi + 0x58)); /* 0x2B01ED39: fld dword ptr [edi + 0x58] */ 12410 _st[0] *= *(double*)ADDR(0x2B0B6520); /* 0x2B01ED3C: fmul qword ptr [0x2b0b6520] */ 12411 MEM32(ebp + (-0x48)) = eax; /* 0x2B01ED42: mov dword ptr [ebp - 0x48], eax */ 12412 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01ED45: call 0x2b0ab220 */ /* not lifted */ 12413 RECOMP_FLAGS_IN(); 12414 ecx = ebp + (-0x48); /* 0x2B01ED4A: lea ecx, [ebp - 0x48] */ 12415 PUSH32(esp, ecx); /* 0x2B01ED4D: push ecx */ 12416 ecx = edi; /* 0x2B01ED4E: mov ecx, edi */ 12417 MEM32(ebp + (-0x44)) = eax; /* 0x2B01ED50: mov dword ptr [ebp - 0x44], eax */ 12418 RECOMP_ICALL(0x2B0385C0u); /* 0x2B01ED53: call 0x2b0385c0 */ /* not lifted */ 12419 RECOMP_FLAGS_IN(); 12420 fp_push(*(float*)&MEM32(edi + 0x54)); /* 0x2B01ED58: fld dword ptr [edi + 0x54] */ 12421 _st[0] *= *(double*)ADDR(0x2B0B6518); /* 0x2B01ED5B: fmul qword ptr [0x2b0b6518] */ 12422 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01ED61: call 0x2b0ab220 */ /* not lifted */ 12423 RECOMP_FLAGS_IN(); 12424 fp_push(*(float*)&MEM32(edi + 0x58)); /* 0x2B01ED66: fld dword ptr [edi + 0x58] */ 12425 _st[0] *= *(double*)ADDR(0x2B0B6510); /* 0x2B01ED69: fmul qword ptr [0x2b0b6510] */ 12426 ecx = eax; /* 0x2B01ED6F: mov ecx, eax */ 12427 eax = MEM32(ebp + (-0x48)); /* 0x2B01ED71: mov eax, dword ptr [ebp - 0x48] */ 12428 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01ED74: cdq */ 12429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12431 eax = eax - edx; /* 0x2B01ED75: sub eax, edx */ 12432 _flag_k = FK_CMP; 12433 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01ED77: sar eax, 1 */ 12434 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12435 eax = (uint32_t)((int32_t)eax >> 1u); 12436 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 12437 _cf = (eax) != 0; 12438 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01ED79: neg eax */ 12439 _flag_k = FK_CMP; 12440 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12442 eax = eax - ecx; /* 0x2B01ED7B: sub eax, ecx */ 12443 _flag_k = FK_CMP; 12444 MEM32(ebp + (-0x50)) = eax; /* 0x2B01ED7D: mov dword ptr [ebp - 0x50], eax */ 12445 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01ED80: call 0x2b0ab220 */ /* not lifted */ 12446 RECOMP_FLAGS_IN(); 12447 ecx = eax; /* 0x2B01ED85: mov ecx, eax */ 12448 eax = MEM32(ebp + (-0x44)); /* 0x2B01ED87: mov eax, dword ptr [ebp - 0x44] */ 12449 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01ED8A: cdq */ 12450 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12452 eax = eax - edx; /* 0x2B01ED8B: sub eax, edx */ 12453 _flag_k = FK_CMP; 12454 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01ED8D: sar eax, 1 */ 12455 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12456 eax = (uint32_t)((int32_t)eax >> 1u); 12457 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 12458 _cf = (eax) != 0; 12459 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01ED8F: neg eax */ 12460 _flag_k = FK_CMP; 12461 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12463 eax = eax - ecx; /* 0x2B01ED91: sub eax, ecx */ 12464 _flag_k = FK_CMP; 12465 edx = ebp + (-0x50); /* 0x2B01ED93: lea edx, [ebp - 0x50] */ 12466 PUSH32(esp, edx); /* 0x2B01ED96: push edx */ 12467 ecx = edi; /* 0x2B01ED97: mov ecx, edi */ 12468 MEM32(ebp + (-0x4C)) = eax; /* 0x2B01ED99: mov dword ptr [ebp - 0x4c], eax */ 12469 RECOMP_ICALL(0x2B038730u); /* 0x2B01ED9C: call 0x2b038730 */ /* not lifted */ 12470 RECOMP_FLAGS_IN(); 12471 ecx = edi; /* 0x2B01EDA1: mov ecx, edi */ 12472 RECOMP_ICALL(0x2B020770u); /* 0x2B01EDA3: call 0x2b020770 */ /* not lifted */ 12473 RECOMP_FLAGS_IN(); 12474 ecx = MEM32(edi + 0x18); /* 0x2B01EDA8: mov ecx, dword ptr [edi + 0x18] */ 12475 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B01EDAB: call dword ptr [0x2b0b5bac] */ 12476 RECOMP_FLAGS_IN(); 12477 ecx = MEM32(edi + 0x1C); /* 0x2B01EDB1: mov ecx, dword ptr [edi + 0x1c] */ 12478 RECOMP_ICALL(MEM32(0x2B0B5B34)); /* 0x2B01EDB4: call dword ptr [0x2b0b5b34] */ 12479 RECOMP_FLAGS_IN(); 12480 fp_push(*(float*)&MEM32(edi + 0x54)); /* 0x2B01EDBA: fld dword ptr [edi + 0x54] */ 12481 MEM32(ebp + (-0x4C)) = ebx; /* 0x2B01EDBD: mov dword ptr [ebp - 0x4c], ebx */ 12482 MEM32(ebp + (-0x50)) = ebx; /* 0x2B01EDC0: mov dword ptr [ebp - 0x50], ebx */ 12483 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01EDC3: call 0x2b0ab220 */ /* not lifted */ 12484 RECOMP_FLAGS_IN(); 12485 fp_push(*(float*)&MEM32(edi + 0x58)); /* 0x2B01EDC8: fld dword ptr [edi + 0x58] */ 12486 MEM32(ebp + (-0x48)) = eax; /* 0x2B01EDCB: mov dword ptr [ebp - 0x48], eax */ 12487 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01EDCE: call 0x2b0ab220 */ /* not lifted */ 12488 RECOMP_FLAGS_IN(); 12489 PUSH32(esp, 0x9Cu); /* 0x2B01EDD3: push 0x9c */ 12490 MEM32(ebp + (-0x44)) = eax; /* 0x2B01EDD8: mov dword ptr [ebp - 0x44], eax */ 12491 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01EDDB: call 0x2b0ab212 */ /* not lifted */ 12492 RECOMP_FLAGS_IN(); 12493 ebx = eax; /* 0x2B01EDE0: mov ebx, eax */ 12494 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12495 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12496 esp = esp + 4; /* 0x2B01EDE2: add esp, 4 */ 12497 _flag_k = FK_ADD; 12498 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01EDE5: mov dword ptr [ebp - 0x10], ebx */ 12499 /* test ebx, ebx */ /* 0x2B01EDE8: test ebx, ebx */ 12500 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 12501 _cf = 0; 12502 _flag_k = FK_TEST; 12503 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01EDEA: mov byte ptr [ebp - 4], 2 */ 12504 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01EE25; /* 0x2B01EDEE: je 0x2b01ee25 */ 12505 L_2B01EDF0: 12506 eax = MEM32(edi + 0x38); /* 0x2B01EDF0: mov eax, dword ptr [edi + 0x38] */ 12507 ecx = MEM32(ebp + (-0x44)); /* 0x2B01EDF3: mov ecx, dword ptr [ebp - 0x44] */ 12508 edx = MEM32(ebp + (-0x48)); /* 0x2B01EDF6: mov edx, dword ptr [ebp - 0x48] */ 12509 PUSH32(esp, 0); /* 0x2B01EDF9: push 0 */ 12510 PUSH32(esp, 0); /* 0x2B01EDFB: push 0 */ 12511 PUSH32(esp, 0); /* 0x2B01EDFD: push 0 */ 12512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 12513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12514 eax = eax - 4; /* 0x2B01EDFF: sub eax, 4 */ 12515 _flag_k = FK_CMP; 12516 PUSH32(esp, eax); /* 0x2B01EE02: push eax */ 12517 eax = MEM32(ebp + (-0x4C)); /* 0x2B01EE03: mov eax, dword ptr [ebp - 0x4c] */ 12518 PUSH32(esp, 0); /* 0x2B01EE06: push 0 */ 12519 PUSH32(esp, 0); /* 0x2B01EE08: push 0 */ 12520 PUSH32(esp, 0); /* 0x2B01EE0A: push 0 */ 12521 PUSH32(esp, ecx); /* 0x2B01EE0C: push ecx */ 12522 ecx = MEM32(ebp + (-0x50)); /* 0x2B01EE0D: mov ecx, dword ptr [ebp - 0x50] */ 12523 PUSH32(esp, edx); /* 0x2B01EE10: push edx */ 12524 PUSH32(esp, eax); /* 0x2B01EE11: push eax */ 12525 PUSH32(esp, ecx); /* 0x2B01EE12: push ecx */ 12526 ecx = ebx; /* 0x2B01EE13: mov ecx, ebx */ 12527 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B01EE15: call dword ptr [0x2b0b5af0] */ 12528 RECOMP_FLAGS_IN(); 12529 MEM32(ebx) = 0x2B0B642Cu; /* 0x2B01EE1B: mov dword ptr [ebx], 0x2b0b642c */ 12530 ecx = ebx; /* 0x2B01EE21: mov ecx, ebx */ 12531 goto L_2B01EE27; /* 0x2B01EE23: jmp 0x2b01ee27 */ 12532 L_2B01EE25: 12533 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12534 ecx = 0; /* 0x2B01EE25: xor ecx, ecx */ 12535 _cf = 0; 12536 _flag_k = FK_TEST; 12537 L_2B01EE27: 12538 PUSH32(esp, 0x12u); /* 0x2B01EE27: push 0x12 */ 12539 PUSH32(esp, 0x2B0389A0u); /* 0x2B01EE29: push 0x2b0389a0 */ 12540 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01EE2E: mov byte ptr [ebp - 4], 1 */ 12541 MEM32(edi + 0x9C) = ecx; /* 0x2B01EE32: mov dword ptr [edi + 0x9c], ecx */ 12542 RECOMP_ICALL(MEM32(0x2B0B5B44)); /* 0x2B01EE38: call dword ptr [0x2b0b5b44] */ 12543 RECOMP_FLAGS_IN(); 12544 eax = MEM32(edi + 0x9C); /* 0x2B01EE3E: mov eax, dword ptr [edi + 0x9c] */ 12545 ecx = ebp + (-0x40); /* 0x2B01EE44: lea ecx, [ebp - 0x40] */ 12546 MEM32(eax + 0x1C) = 0x2B020730u; /* 0x2B01EE47: mov dword ptr [eax + 0x1c], 0x2b020730 */ 12547 MEM32(eax + 0x20) = edi; /* 0x2B01EE4E: mov dword ptr [eax + 0x20], edi */ 12548 RECOMP_ICALL(MEM32(0x2B0B5B88)); /* 0x2B01EE51: call dword ptr [0x2b0b5b88] */ 12549 RECOMP_FLAGS_IN(); 12550 ecx = ebp + (-0x2C); /* 0x2B01EE57: lea ecx, [ebp - 0x2c] */ 12551 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B01EE5A: mov byte ptr [ebp - 4], 3 */ 12552 RECOMP_ICALL(MEM32(0x2B0B5B88)); /* 0x2B01EE5E: call dword ptr [0x2b0b5b88] */ 12553 RECOMP_FLAGS_IN(); 12554 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12555 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01EE64: or ecx, 0xffffffff */ 12556 _cf = 0; 12557 _flag_k = FK_TEST; 12558 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12559 eax = 0; /* 0x2B01EE67: xor eax, eax */ 12560 _cf = 0; 12561 _flag_k = FK_TEST; 12562 edi = 0x2B0E310Cu; /* 0x2B01EE69: mov edi, 0x2b0e310c */ 12563 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; } /* 0x2B01EE6E: repne scasb al, byte ptr es:[edi] */ 12564 ecx = ~ecx; /* 0x2B01EE70: not ecx */ 12565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12566 ecx = ecx - 1; /* 0x2B01EE72: dec ecx */ 12567 _flag_k = FK_DEC; 12568 PUSH32(esp, ecx); /* 0x2B01EE73: push ecx */ 12569 PUSH32(esp, 0x2B0E310Cu); /* 0x2B01EE74: push 0x2b0e310c */ 12570 ecx = ebp + (-0x40); /* 0x2B01EE79: lea ecx, [ebp - 0x40] */ 12571 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01EE7C: mov byte ptr [ebp - 4], 4 */ 12572 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01EE80: call dword ptr [0x2b0b5148] */ 12573 RECOMP_FLAGS_IN(); 12574 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12575 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01EE86: or ecx, 0xffffffff */ 12576 _cf = 0; 12577 _flag_k = FK_TEST; 12578 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12579 eax = 0; /* 0x2B01EE89: xor eax, eax */ 12580 _cf = 0; 12581 _flag_k = FK_TEST; 12582 edi = 0x2B0E37B8u; /* 0x2B01EE8B: mov edi, 0x2b0e37b8 */ 12583 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; } /* 0x2B01EE90: repne scasb al, byte ptr es:[edi] */ 12584 ecx = ~ecx; /* 0x2B01EE92: not ecx */ 12585 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12586 ecx = ecx - 1; /* 0x2B01EE94: dec ecx */ 12587 _flag_k = FK_DEC; 12588 PUSH32(esp, ecx); /* 0x2B01EE95: push ecx */ 12589 PUSH32(esp, 0x2B0E37B8u); /* 0x2B01EE96: push 0x2b0e37b8 */ 12590 ecx = ebp + (-0x2C); /* 0x2B01EE9B: lea ecx, [ebp - 0x2c] */ 12591 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01EE9E: call dword ptr [0x2b0b5148] */ 12592 RECOMP_FLAGS_IN(); 12593 ecx = ebp + (-0x78); /* 0x2B01EEA4: lea ecx, [ebp - 0x78] */ 12594 MEM32(ebp + (-0x10)) = 0x65u; /* 0x2B01EEA7: mov dword ptr [ebp - 0x10], 0x65 */ 12595 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01EEAE: call 0x2b020ca0 */ /* not lifted */ 12596 RECOMP_FLAGS_IN(); 12597 PUSH32(esp, eax); /* 0x2B01EEB3: push eax */ 12598 edx = ebp + (-0x10); /* 0x2B01EEB4: lea edx, [ebp - 0x10] */ 12599 SET_LO8(ebx, 5); /* 0x2B01EEB7: mov bl, 5 */ 12600 PUSH32(esp, edx); /* 0x2B01EEB9: push edx */ 12601 ecx = ebp + (-0xA8); /* 0x2B01EEBA: lea ecx, [ebp - 0xa8] */ 12602 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01EEC0: mov byte ptr [ebp - 4], bl */ 12603 RECOMP_ICALL(0x2B021040u); /* 0x2B01EEC3: call 0x2b021040 */ /* not lifted */ 12604 RECOMP_FLAGS_IN(); 12605 PUSH32(esp, eax); /* 0x2B01EEC8: push eax */ 12606 eax = ebp + (-0x18); /* 0x2B01EEC9: lea eax, [ebp - 0x18] */ 12607 PUSH32(esp, eax); /* 0x2B01EECC: push eax */ 12608 ecx = esi; /* 0x2B01EECD: mov ecx, esi */ 12609 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B01EECF: mov byte ptr [ebp - 4], 6 */ 12610 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01EED3: call 0x2b020df0 */ /* not lifted */ 12611 RECOMP_FLAGS_IN(); 12612 edi = MEM32(eax); /* 0x2B01EED8: mov edi, dword ptr [eax] */ 12613 ecx = ebp + (-0xA4); /* 0x2B01EEDA: lea ecx, [ebp - 0xa4] */ 12614 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01EEE0: mov byte ptr [ebp - 4], bl */ 12615 RECOMP_ICALL(0x2B01F690u); /* 0x2B01EEE3: call 0x2b01f690 */ /* not lifted */ 12616 RECOMP_FLAGS_IN(); 12617 ecx = ebp + (-0x78); /* 0x2B01EEE8: lea ecx, [ebp - 0x78] */ 12618 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01EEEB: mov byte ptr [ebp - 4], 4 */ 12619 RECOMP_ICALL(0x2B01F690u); /* 0x2B01EEEF: call 0x2b01f690 */ /* not lifted */ 12620 RECOMP_FLAGS_IN(); 12621 ebx = MEM32(0x2B0B5A8C); /* 0x2B01EEF4: mov ebx, dword ptr [0x2b0b5a8c] */ 12622 ecx = ebp + (-0x40); /* 0x2B01EEFA: lea ecx, [ebp - 0x40] */ 12623 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 12624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12625 edi = edi + 0x10u; /* 0x2B01EEFD: add edi, 0x10 */ 12626 _flag_k = FK_ADD; 12627 PUSH32(esp, ecx); /* 0x2B01EF00: push ecx */ 12628 ecx = edi; /* 0x2B01EF01: mov ecx, edi */ 12629 RECOMP_ICALL(ebx); /* 0x2B01EF03: call ebx */ 12630 RECOMP_FLAGS_IN(); 12631 edx = ebp + (-0x2C); /* 0x2B01EF05: lea edx, [ebp - 0x2c] */ 12632 PUSH32(esp, edx); /* 0x2B01EF08: push edx */ 12633 ecx = edi + 0x14; /* 0x2B01EF09: lea ecx, [edi + 0x14] */ 12634 RECOMP_ICALL(ebx); /* 0x2B01EF0C: call ebx */ 12635 RECOMP_FLAGS_IN(); 12636 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12637 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01EF0E: or ecx, 0xffffffff */ 12638 _cf = 0; 12639 _flag_k = FK_TEST; 12640 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12641 eax = 0; /* 0x2B01EF11: xor eax, eax */ 12642 _cf = 0; 12643 _flag_k = FK_TEST; 12644 edi = 0x2B0E30C4u; /* 0x2B01EF13: mov edi, 0x2b0e30c4 */ 12645 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; } /* 0x2B01EF18: repne scasb al, byte ptr es:[edi] */ 12646 ecx = ~ecx; /* 0x2B01EF1A: not ecx */ 12647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12648 ecx = ecx - 1; /* 0x2B01EF1C: dec ecx */ 12649 _flag_k = FK_DEC; 12650 PUSH32(esp, ecx); /* 0x2B01EF1D: push ecx */ 12651 PUSH32(esp, 0x2B0E30C4u); /* 0x2B01EF1E: push 0x2b0e30c4 */ 12652 ecx = ebp + (-0x40); /* 0x2B01EF23: lea ecx, [ebp - 0x40] */ 12653 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01EF26: call dword ptr [0x2b0b5148] */ 12654 RECOMP_FLAGS_IN(); 12655 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12656 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01EF2C: or ecx, 0xffffffff */ 12657 _cf = 0; 12658 _flag_k = FK_TEST; 12659 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12660 eax = 0; /* 0x2B01EF2F: xor eax, eax */ 12661 _cf = 0; 12662 _flag_k = FK_TEST; 12663 edi = 0x2B0E3778u; /* 0x2B01EF31: mov edi, 0x2b0e3778 */ 12664 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; } /* 0x2B01EF36: repne scasb al, byte ptr es:[edi] */ 12665 ecx = ~ecx; /* 0x2B01EF38: not ecx */ 12666 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12667 ecx = ecx - 1; /* 0x2B01EF3A: dec ecx */ 12668 _flag_k = FK_DEC; 12669 PUSH32(esp, ecx); /* 0x2B01EF3B: push ecx */ 12670 PUSH32(esp, 0x2B0E3778u); /* 0x2B01EF3C: push 0x2b0e3778 */ 12671 ecx = ebp + (-0x2C); /* 0x2B01EF41: lea ecx, [ebp - 0x2c] */ 12672 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01EF44: call dword ptr [0x2b0b5148] */ 12673 RECOMP_FLAGS_IN(); 12674 ecx = ebp + (-0x78); /* 0x2B01EF4A: lea ecx, [ebp - 0x78] */ 12675 MEM32(ebp + (-0x10)) = 0x64u; /* 0x2B01EF4D: mov dword ptr [ebp - 0x10], 0x64 */ 12676 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01EF54: call 0x2b020ca0 */ /* not lifted */ 12677 RECOMP_FLAGS_IN(); 12678 PUSH32(esp, eax); /* 0x2B01EF59: push eax */ 12679 eax = ebp + (-0x10); /* 0x2B01EF5A: lea eax, [ebp - 0x10] */ 12680 PUSH32(esp, eax); /* 0x2B01EF5D: push eax */ 12681 ecx = ebp + (-0xA8); /* 0x2B01EF5E: lea ecx, [ebp - 0xa8] */ 12682 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B01EF64: mov byte ptr [ebp - 4], 7 */ 12683 RECOMP_ICALL(0x2B021040u); /* 0x2B01EF68: call 0x2b021040 */ /* not lifted */ 12684 RECOMP_FLAGS_IN(); 12685 PUSH32(esp, eax); /* 0x2B01EF6D: push eax */ 12686 ecx = ebp + (-0x18); /* 0x2B01EF6E: lea ecx, [ebp - 0x18] */ 12687 PUSH32(esp, ecx); /* 0x2B01EF71: push ecx */ 12688 ecx = esi; /* 0x2B01EF72: mov ecx, esi */ 12689 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B01EF74: mov byte ptr [ebp - 4], 8 */ 12690 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01EF78: call 0x2b020df0 */ /* not lifted */ 12691 RECOMP_FLAGS_IN(); 12692 edi = MEM32(eax); /* 0x2B01EF7D: mov edi, dword ptr [eax] */ 12693 ecx = ebp + (-0xA4); /* 0x2B01EF7F: lea ecx, [ebp - 0xa4] */ 12694 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B01EF85: mov byte ptr [ebp - 4], 7 */ 12695 RECOMP_ICALL(0x2B01F690u); /* 0x2B01EF89: call 0x2b01f690 */ /* not lifted */ 12696 RECOMP_FLAGS_IN(); 12697 ecx = ebp + (-0x64); /* 0x2B01EF8E: lea ecx, [ebp - 0x64] */ 12698 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B01EF91: mov byte ptr [ebp - 4], 9 */ 12699 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01EF95: call dword ptr [0x2b0b5b8c] */ 12700 RECOMP_FLAGS_IN(); 12701 ecx = ebp + (-0x78); /* 0x2B01EF9B: lea ecx, [ebp - 0x78] */ 12702 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01EF9E: mov byte ptr [ebp - 4], 4 */ 12703 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01EFA2: call dword ptr [0x2b0b5b8c] */ 12704 RECOMP_FLAGS_IN(); 12705 edx = ebp + (-0x40); /* 0x2B01EFA8: lea edx, [ebp - 0x40] */ 12706 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 12707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12708 edi = edi + 0x10u; /* 0x2B01EFAB: add edi, 0x10 */ 12709 _flag_k = FK_ADD; 12710 PUSH32(esp, edx); /* 0x2B01EFAE: push edx */ 12711 ecx = edi; /* 0x2B01EFAF: mov ecx, edi */ 12712 RECOMP_ICALL(ebx); /* 0x2B01EFB1: call ebx */ 12713 RECOMP_FLAGS_IN(); 12714 eax = ebp + (-0x2C); /* 0x2B01EFB3: lea eax, [ebp - 0x2c] */ 12715 PUSH32(esp, eax); /* 0x2B01EFB6: push eax */ 12716 ecx = edi + 0x14; /* 0x2B01EFB7: lea ecx, [edi + 0x14] */ 12717 RECOMP_ICALL(ebx); /* 0x2B01EFBA: call ebx */ 12718 RECOMP_FLAGS_IN(); 12719 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12720 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01EFBC: or ecx, 0xffffffff */ 12721 _cf = 0; 12722 _flag_k = FK_TEST; 12723 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12724 eax = 0; /* 0x2B01EFBF: xor eax, eax */ 12725 _cf = 0; 12726 _flag_k = FK_TEST; 12727 edi = 0x2B0E3758u; /* 0x2B01EFC1: mov edi, 0x2b0e3758 */ 12728 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; } /* 0x2B01EFC6: repne scasb al, byte ptr es:[edi] */ 12729 ecx = ~ecx; /* 0x2B01EFC8: not ecx */ 12730 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12731 ecx = ecx - 1; /* 0x2B01EFCA: dec ecx */ 12732 _flag_k = FK_DEC; 12733 PUSH32(esp, ecx); /* 0x2B01EFCB: push ecx */ 12734 PUSH32(esp, 0x2B0E3758u); /* 0x2B01EFCC: push 0x2b0e3758 */ 12735 ecx = ebp + (-0x40); /* 0x2B01EFD1: lea ecx, [ebp - 0x40] */ 12736 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01EFD4: call dword ptr [0x2b0b5148] */ 12737 RECOMP_FLAGS_IN(); 12738 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12739 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01EFDA: or ecx, 0xffffffff */ 12740 _cf = 0; 12741 _flag_k = FK_TEST; 12742 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12743 eax = 0; /* 0x2B01EFDD: xor eax, eax */ 12744 _cf = 0; 12745 _flag_k = FK_TEST; 12746 edi = 0x2B0E3640u; /* 0x2B01EFDF: mov edi, 0x2b0e3640 */ 12747 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; } /* 0x2B01EFE4: repne scasb al, byte ptr es:[edi] */ 12748 ecx = ~ecx; /* 0x2B01EFE6: not ecx */ 12749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12750 ecx = ecx - 1; /* 0x2B01EFE8: dec ecx */ 12751 _flag_k = FK_DEC; 12752 PUSH32(esp, ecx); /* 0x2B01EFE9: push ecx */ 12753 PUSH32(esp, 0x2B0E3640u); /* 0x2B01EFEA: push 0x2b0e3640 */ 12754 ecx = ebp + (-0x2C); /* 0x2B01EFEF: lea ecx, [ebp - 0x2c] */ 12755 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01EFF2: call dword ptr [0x2b0b5148] */ 12756 RECOMP_FLAGS_IN(); 12757 ecx = ebp + (-0x78); /* 0x2B01EFF8: lea ecx, [ebp - 0x78] */ 12758 MEM32(ebp + (-0x10)) = 0xAu; /* 0x2B01EFFB: mov dword ptr [ebp - 0x10], 0xa */ 12759 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F002: call 0x2b020ca0 */ /* not lifted */ 12760 RECOMP_FLAGS_IN(); 12761 PUSH32(esp, eax); /* 0x2B01F007: push eax */ 12762 ecx = ebp + (-0x10); /* 0x2B01F008: lea ecx, [ebp - 0x10] */ 12763 PUSH32(esp, ecx); /* 0x2B01F00B: push ecx */ 12764 ecx = ebp + (-0xA8); /* 0x2B01F00C: lea ecx, [ebp - 0xa8] */ 12765 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B01F012: mov byte ptr [ebp - 4], 0xa */ 12766 RECOMP_ICALL(0x2B021040u); /* 0x2B01F016: call 0x2b021040 */ /* not lifted */ 12767 RECOMP_FLAGS_IN(); 12768 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B01F01B: mov byte ptr [ebp - 4], 0xb */ 12769 PUSH32(esp, eax); /* 0x2B01F01F: push eax */ 12770 edx = ebp + (-0x18); /* 0x2B01F020: lea edx, [ebp - 0x18] */ 12771 PUSH32(esp, edx); /* 0x2B01F023: push edx */ 12772 ecx = esi; /* 0x2B01F024: mov ecx, esi */ 12773 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F026: call 0x2b020df0 */ /* not lifted */ 12774 RECOMP_FLAGS_IN(); 12775 edi = MEM32(eax); /* 0x2B01F02B: mov edi, dword ptr [eax] */ 12776 ecx = ebp + (-0xA4); /* 0x2B01F02D: lea ecx, [ebp - 0xa4] */ 12777 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B01F033: mov byte ptr [ebp - 4], 0xa */ 12778 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F037: call 0x2b01f690 */ /* not lifted */ 12779 RECOMP_FLAGS_IN(); 12780 ecx = ebp + (-0x64); /* 0x2B01F03C: lea ecx, [ebp - 0x64] */ 12781 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B01F03F: mov byte ptr [ebp - 4], 0xc */ 12782 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F043: call dword ptr [0x2b0b5b8c] */ 12783 RECOMP_FLAGS_IN(); 12784 ecx = ebp + (-0x78); /* 0x2B01F049: lea ecx, [ebp - 0x78] */ 12785 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F04C: mov byte ptr [ebp - 4], 4 */ 12786 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F050: call dword ptr [0x2b0b5b8c] */ 12787 RECOMP_FLAGS_IN(); 12788 eax = ebp + (-0x40); /* 0x2B01F056: lea eax, [ebp - 0x40] */ 12789 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 12790 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12791 edi = edi + 0x10u; /* 0x2B01F059: add edi, 0x10 */ 12792 _flag_k = FK_ADD; 12793 PUSH32(esp, eax); /* 0x2B01F05C: push eax */ 12794 ecx = edi; /* 0x2B01F05D: mov ecx, edi */ 12795 RECOMP_ICALL(ebx); /* 0x2B01F05F: call ebx */ 12796 RECOMP_FLAGS_IN(); 12797 ecx = ebp + (-0x2C); /* 0x2B01F061: lea ecx, [ebp - 0x2c] */ 12798 PUSH32(esp, ecx); /* 0x2B01F064: push ecx */ 12799 ecx = edi + 0x14; /* 0x2B01F065: lea ecx, [edi + 0x14] */ 12800 RECOMP_ICALL(ebx); /* 0x2B01F068: call ebx */ 12801 RECOMP_FLAGS_IN(); 12802 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12803 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F06A: or ecx, 0xffffffff */ 12804 _cf = 0; 12805 _flag_k = FK_TEST; 12806 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12807 eax = 0; /* 0x2B01F06D: xor eax, eax */ 12808 _cf = 0; 12809 _flag_k = FK_TEST; 12810 edi = 0x2B0E3620u; /* 0x2B01F06F: mov edi, 0x2b0e3620 */ 12811 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; } /* 0x2B01F074: repne scasb al, byte ptr es:[edi] */ 12812 ecx = ~ecx; /* 0x2B01F076: not ecx */ 12813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12814 ecx = ecx - 1; /* 0x2B01F078: dec ecx */ 12815 _flag_k = FK_DEC; 12816 PUSH32(esp, ecx); /* 0x2B01F079: push ecx */ 12817 PUSH32(esp, 0x2B0E3620u); /* 0x2B01F07A: push 0x2b0e3620 */ 12818 ecx = ebp + (-0x40); /* 0x2B01F07F: lea ecx, [ebp - 0x40] */ 12819 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F082: call dword ptr [0x2b0b5148] */ 12820 RECOMP_FLAGS_IN(); 12821 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12822 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F088: or ecx, 0xffffffff */ 12823 _cf = 0; 12824 _flag_k = FK_TEST; 12825 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12826 eax = 0; /* 0x2B01F08B: xor eax, eax */ 12827 _cf = 0; 12828 _flag_k = FK_TEST; 12829 edi = 0x2B0E3640u; /* 0x2B01F08D: mov edi, 0x2b0e3640 */ 12830 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; } /* 0x2B01F092: repne scasb al, byte ptr es:[edi] */ 12831 ecx = ~ecx; /* 0x2B01F094: not ecx */ 12832 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12833 ecx = ecx - 1; /* 0x2B01F096: dec ecx */ 12834 _flag_k = FK_DEC; 12835 PUSH32(esp, ecx); /* 0x2B01F097: push ecx */ 12836 PUSH32(esp, 0x2B0E3640u); /* 0x2B01F098: push 0x2b0e3640 */ 12837 ecx = ebp + (-0x2C); /* 0x2B01F09D: lea ecx, [ebp - 0x2c] */ 12838 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F0A0: call dword ptr [0x2b0b5148] */ 12839 RECOMP_FLAGS_IN(); 12840 ecx = ebp + (-0x78); /* 0x2B01F0A6: lea ecx, [ebp - 0x78] */ 12841 MEM32(ebp + (-0x10)) = 0xBu; /* 0x2B01F0A9: mov dword ptr [ebp - 0x10], 0xb */ 12842 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F0B0: call 0x2b020ca0 */ /* not lifted */ 12843 RECOMP_FLAGS_IN(); 12844 PUSH32(esp, eax); /* 0x2B01F0B5: push eax */ 12845 edx = ebp + (-0x10); /* 0x2B01F0B6: lea edx, [ebp - 0x10] */ 12846 PUSH32(esp, edx); /* 0x2B01F0B9: push edx */ 12847 ecx = ebp + (-0xA8); /* 0x2B01F0BA: lea ecx, [ebp - 0xa8] */ 12848 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B01F0C0: mov byte ptr [ebp - 4], 0xd */ 12849 RECOMP_ICALL(0x2B021040u); /* 0x2B01F0C4: call 0x2b021040 */ /* not lifted */ 12850 RECOMP_FLAGS_IN(); 12851 PUSH32(esp, eax); /* 0x2B01F0C9: push eax */ 12852 eax = ebp + (-0x18); /* 0x2B01F0CA: lea eax, [ebp - 0x18] */ 12853 PUSH32(esp, eax); /* 0x2B01F0CD: push eax */ 12854 ecx = esi; /* 0x2B01F0CE: mov ecx, esi */ 12855 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B01F0D0: mov byte ptr [ebp - 4], 0xe */ 12856 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F0D4: call 0x2b020df0 */ /* not lifted */ 12857 RECOMP_FLAGS_IN(); 12858 edi = MEM32(eax); /* 0x2B01F0D9: mov edi, dword ptr [eax] */ 12859 ecx = ebp + (-0xA4); /* 0x2B01F0DB: lea ecx, [ebp - 0xa4] */ 12860 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B01F0E1: mov byte ptr [ebp - 4], 0xd */ 12861 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F0E5: call 0x2b01f690 */ /* not lifted */ 12862 RECOMP_FLAGS_IN(); 12863 ecx = ebp + (-0x64); /* 0x2B01F0EA: lea ecx, [ebp - 0x64] */ 12864 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B01F0ED: mov byte ptr [ebp - 4], 0xf */ 12865 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F0F1: call dword ptr [0x2b0b5b8c] */ 12866 RECOMP_FLAGS_IN(); 12867 ecx = ebp + (-0x78); /* 0x2B01F0F7: lea ecx, [ebp - 0x78] */ 12868 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F0FA: mov byte ptr [ebp - 4], 4 */ 12869 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F0FE: call dword ptr [0x2b0b5b8c] */ 12870 RECOMP_FLAGS_IN(); 12871 ecx = ebp + (-0x40); /* 0x2B01F104: lea ecx, [ebp - 0x40] */ 12872 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 12873 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12874 edi = edi + 0x10u; /* 0x2B01F107: add edi, 0x10 */ 12875 _flag_k = FK_ADD; 12876 PUSH32(esp, ecx); /* 0x2B01F10A: push ecx */ 12877 ecx = edi; /* 0x2B01F10B: mov ecx, edi */ 12878 RECOMP_ICALL(ebx); /* 0x2B01F10D: call ebx */ 12879 RECOMP_FLAGS_IN(); 12880 edx = ebp + (-0x2C); /* 0x2B01F10F: lea edx, [ebp - 0x2c] */ 12881 PUSH32(esp, edx); /* 0x2B01F112: push edx */ 12882 ecx = edi + 0x14; /* 0x2B01F113: lea ecx, [edi + 0x14] */ 12883 RECOMP_ICALL(ebx); /* 0x2B01F116: call ebx */ 12884 RECOMP_FLAGS_IN(); 12885 edi = 0x2B0E3600u; /* 0x2B01F118: mov edi, 0x2b0e3600 */ 12886 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12887 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F11D: or ecx, 0xffffffff */ 12888 _cf = 0; 12889 _flag_k = FK_TEST; 12890 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12891 eax = 0; /* 0x2B01F120: xor eax, eax */ 12892 _cf = 0; 12893 _flag_k = FK_TEST; 12894 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; } /* 0x2B01F122: repne scasb al, byte ptr es:[edi] */ 12895 ecx = ~ecx; /* 0x2B01F124: not ecx */ 12896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12897 ecx = ecx - 1; /* 0x2B01F126: dec ecx */ 12898 _flag_k = FK_DEC; 12899 PUSH32(esp, ecx); /* 0x2B01F127: push ecx */ 12900 PUSH32(esp, 0x2B0E3600u); /* 0x2B01F128: push 0x2b0e3600 */ 12901 ecx = ebp + (-0x40); /* 0x2B01F12D: lea ecx, [ebp - 0x40] */ 12902 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F130: call dword ptr [0x2b0b5148] */ 12903 RECOMP_FLAGS_IN(); 12904 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12905 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F136: or ecx, 0xffffffff */ 12906 _cf = 0; 12907 _flag_k = FK_TEST; 12908 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12909 eax = 0; /* 0x2B01F139: xor eax, eax */ 12910 _cf = 0; 12911 _flag_k = FK_TEST; 12912 edi = 0x2B0E34ECu; /* 0x2B01F13B: mov edi, 0x2b0e34ec */ 12913 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; } /* 0x2B01F140: repne scasb al, byte ptr es:[edi] */ 12914 ecx = ~ecx; /* 0x2B01F142: not ecx */ 12915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12916 ecx = ecx - 1; /* 0x2B01F144: dec ecx */ 12917 _flag_k = FK_DEC; 12918 PUSH32(esp, ecx); /* 0x2B01F145: push ecx */ 12919 PUSH32(esp, 0x2B0E34ECu); /* 0x2B01F146: push 0x2b0e34ec */ 12920 ecx = ebp + (-0x2C); /* 0x2B01F14B: lea ecx, [ebp - 0x2c] */ 12921 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F14E: call dword ptr [0x2b0b5148] */ 12922 RECOMP_FLAGS_IN(); 12923 ecx = ebp + (-0x78); /* 0x2B01F154: lea ecx, [ebp - 0x78] */ 12924 MEM32(ebp + (-0x10)) = 0xCu; /* 0x2B01F157: mov dword ptr [ebp - 0x10], 0xc */ 12925 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F15E: call 0x2b020ca0 */ /* not lifted */ 12926 RECOMP_FLAGS_IN(); 12927 PUSH32(esp, eax); /* 0x2B01F163: push eax */ 12928 eax = ebp + (-0x10); /* 0x2B01F164: lea eax, [ebp - 0x10] */ 12929 PUSH32(esp, eax); /* 0x2B01F167: push eax */ 12930 ecx = ebp + (-0xA8); /* 0x2B01F168: lea ecx, [ebp - 0xa8] */ 12931 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B01F16E: mov byte ptr [ebp - 4], 0x10 */ 12932 RECOMP_ICALL(0x2B021040u); /* 0x2B01F172: call 0x2b021040 */ /* not lifted */ 12933 RECOMP_FLAGS_IN(); 12934 PUSH32(esp, eax); /* 0x2B01F177: push eax */ 12935 ecx = ebp + (-0x18); /* 0x2B01F178: lea ecx, [ebp - 0x18] */ 12936 PUSH32(esp, ecx); /* 0x2B01F17B: push ecx */ 12937 ecx = esi; /* 0x2B01F17C: mov ecx, esi */ 12938 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B01F17E: mov byte ptr [ebp - 4], 0x11 */ 12939 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F182: call 0x2b020df0 */ /* not lifted */ 12940 RECOMP_FLAGS_IN(); 12941 edi = MEM32(eax); /* 0x2B01F187: mov edi, dword ptr [eax] */ 12942 ecx = ebp + (-0xA4); /* 0x2B01F189: lea ecx, [ebp - 0xa4] */ 12943 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B01F18F: mov byte ptr [ebp - 4], 0x10 */ 12944 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F193: call 0x2b01f690 */ /* not lifted */ 12945 RECOMP_FLAGS_IN(); 12946 ecx = ebp + (-0x64); /* 0x2B01F198: lea ecx, [ebp - 0x64] */ 12947 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B01F19B: mov byte ptr [ebp - 4], 0x12 */ 12948 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F19F: call dword ptr [0x2b0b5b8c] */ 12949 RECOMP_FLAGS_IN(); 12950 ecx = ebp + (-0x78); /* 0x2B01F1A5: lea ecx, [ebp - 0x78] */ 12951 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F1A8: mov byte ptr [ebp - 4], 4 */ 12952 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F1AC: call dword ptr [0x2b0b5b8c] */ 12953 RECOMP_FLAGS_IN(); 12954 edx = ebp + (-0x40); /* 0x2B01F1B2: lea edx, [ebp - 0x40] */ 12955 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 12956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12957 edi = edi + 0x10u; /* 0x2B01F1B5: add edi, 0x10 */ 12958 _flag_k = FK_ADD; 12959 PUSH32(esp, edx); /* 0x2B01F1B8: push edx */ 12960 ecx = edi; /* 0x2B01F1B9: mov ecx, edi */ 12961 RECOMP_ICALL(ebx); /* 0x2B01F1BB: call ebx */ 12962 RECOMP_FLAGS_IN(); 12963 eax = ebp + (-0x2C); /* 0x2B01F1BD: lea eax, [ebp - 0x2c] */ 12964 PUSH32(esp, eax); /* 0x2B01F1C0: push eax */ 12965 ecx = edi + 0x14; /* 0x2B01F1C1: lea ecx, [edi + 0x14] */ 12966 RECOMP_ICALL(ebx); /* 0x2B01F1C4: call ebx */ 12967 RECOMP_FLAGS_IN(); 12968 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12969 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F1C6: or ecx, 0xffffffff */ 12970 _cf = 0; 12971 _flag_k = FK_TEST; 12972 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12973 eax = 0; /* 0x2B01F1C9: xor eax, eax */ 12974 _cf = 0; 12975 _flag_k = FK_TEST; 12976 edi = 0x2B0E34CCu; /* 0x2B01F1CB: mov edi, 0x2b0e34cc */ 12977 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; } /* 0x2B01F1D0: repne scasb al, byte ptr es:[edi] */ 12978 ecx = ~ecx; /* 0x2B01F1D2: not ecx */ 12979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12980 ecx = ecx - 1; /* 0x2B01F1D4: dec ecx */ 12981 _flag_k = FK_DEC; 12982 PUSH32(esp, ecx); /* 0x2B01F1D5: push ecx */ 12983 PUSH32(esp, 0x2B0E34CCu); /* 0x2B01F1D6: push 0x2b0e34cc */ 12984 ecx = ebp + (-0x40); /* 0x2B01F1DB: lea ecx, [ebp - 0x40] */ 12985 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F1DE: call dword ptr [0x2b0b5148] */ 12986 RECOMP_FLAGS_IN(); 12987 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 12988 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F1E4: or ecx, 0xffffffff */ 12989 _cf = 0; 12990 _flag_k = FK_TEST; 12991 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12992 eax = 0; /* 0x2B01F1E7: xor eax, eax */ 12993 _cf = 0; 12994 _flag_k = FK_TEST; 12995 edi = 0x2B0E34ECu; /* 0x2B01F1E9: mov edi, 0x2b0e34ec */ 12996 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; } /* 0x2B01F1EE: repne scasb al, byte ptr es:[edi] */ 12997 ecx = ~ecx; /* 0x2B01F1F0: not ecx */ 12998 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 12999 ecx = ecx - 1; /* 0x2B01F1F2: dec ecx */ 13000 _flag_k = FK_DEC; 13001 PUSH32(esp, ecx); /* 0x2B01F1F3: push ecx */ 13002 PUSH32(esp, 0x2B0E34ECu); /* 0x2B01F1F4: push 0x2b0e34ec */ 13003 ecx = ebp + (-0x2C); /* 0x2B01F1F9: lea ecx, [ebp - 0x2c] */ 13004 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F1FC: call dword ptr [0x2b0b5148] */ 13005 RECOMP_FLAGS_IN(); 13006 ecx = ebp + (-0x78); /* 0x2B01F202: lea ecx, [ebp - 0x78] */ 13007 MEM32(ebp + (-0x10)) = 0xDu; /* 0x2B01F205: mov dword ptr [ebp - 0x10], 0xd */ 13008 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F20C: call 0x2b020ca0 */ /* not lifted */ 13009 RECOMP_FLAGS_IN(); 13010 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B01F211: mov byte ptr [ebp - 4], 0x13 */ 13011 PUSH32(esp, eax); /* 0x2B01F215: push eax */ 13012 ecx = ebp + (-0x10); /* 0x2B01F216: lea ecx, [ebp - 0x10] */ 13013 PUSH32(esp, ecx); /* 0x2B01F219: push ecx */ 13014 ecx = ebp + (-0xA8); /* 0x2B01F21A: lea ecx, [ebp - 0xa8] */ 13015 RECOMP_ICALL(0x2B021040u); /* 0x2B01F220: call 0x2b021040 */ /* not lifted */ 13016 RECOMP_FLAGS_IN(); 13017 PUSH32(esp, eax); /* 0x2B01F225: push eax */ 13018 edx = ebp + (-0x18); /* 0x2B01F226: lea edx, [ebp - 0x18] */ 13019 PUSH32(esp, edx); /* 0x2B01F229: push edx */ 13020 ecx = esi; /* 0x2B01F22A: mov ecx, esi */ 13021 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B01F22C: mov byte ptr [ebp - 4], 0x14 */ 13022 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F230: call 0x2b020df0 */ /* not lifted */ 13023 RECOMP_FLAGS_IN(); 13024 edi = MEM32(eax); /* 0x2B01F235: mov edi, dword ptr [eax] */ 13025 ecx = ebp + (-0xA4); /* 0x2B01F237: lea ecx, [ebp - 0xa4] */ 13026 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B01F23D: mov byte ptr [ebp - 4], 0x13 */ 13027 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F241: call 0x2b01f690 */ /* not lifted */ 13028 RECOMP_FLAGS_IN(); 13029 ecx = ebp + (-0x64); /* 0x2B01F246: lea ecx, [ebp - 0x64] */ 13030 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B01F249: mov byte ptr [ebp - 4], 0x15 */ 13031 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F24D: call dword ptr [0x2b0b5b8c] */ 13032 RECOMP_FLAGS_IN(); 13033 ecx = ebp + (-0x78); /* 0x2B01F253: lea ecx, [ebp - 0x78] */ 13034 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F256: mov byte ptr [ebp - 4], 4 */ 13035 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F25A: call dword ptr [0x2b0b5b8c] */ 13036 RECOMP_FLAGS_IN(); 13037 eax = ebp + (-0x40); /* 0x2B01F260: lea eax, [ebp - 0x40] */ 13038 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 13039 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13040 edi = edi + 0x10u; /* 0x2B01F263: add edi, 0x10 */ 13041 _flag_k = FK_ADD; 13042 PUSH32(esp, eax); /* 0x2B01F266: push eax */ 13043 ecx = edi; /* 0x2B01F267: mov ecx, edi */ 13044 RECOMP_ICALL(ebx); /* 0x2B01F269: call ebx */ 13045 RECOMP_FLAGS_IN(); 13046 ecx = ebp + (-0x2C); /* 0x2B01F26B: lea ecx, [ebp - 0x2c] */ 13047 PUSH32(esp, ecx); /* 0x2B01F26E: push ecx */ 13048 ecx = edi + 0x14; /* 0x2B01F26F: lea ecx, [edi + 0x14] */ 13049 RECOMP_ICALL(ebx); /* 0x2B01F272: call ebx */ 13050 RECOMP_FLAGS_IN(); 13051 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13052 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F274: or ecx, 0xffffffff */ 13053 _cf = 0; 13054 _flag_k = FK_TEST; 13055 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13056 eax = 0; /* 0x2B01F277: xor eax, eax */ 13057 _cf = 0; 13058 _flag_k = FK_TEST; 13059 edi = 0x2B0E34A8u; /* 0x2B01F279: mov edi, 0x2b0e34a8 */ 13060 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; } /* 0x2B01F27E: repne scasb al, byte ptr es:[edi] */ 13061 ecx = ~ecx; /* 0x2B01F280: not ecx */ 13062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13063 ecx = ecx - 1; /* 0x2B01F282: dec ecx */ 13064 _flag_k = FK_DEC; 13065 PUSH32(esp, ecx); /* 0x2B01F283: push ecx */ 13066 PUSH32(esp, 0x2B0E34A8u); /* 0x2B01F284: push 0x2b0e34a8 */ 13067 ecx = ebp + (-0x40); /* 0x2B01F289: lea ecx, [ebp - 0x40] */ 13068 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F28C: call dword ptr [0x2b0b5148] */ 13069 RECOMP_FLAGS_IN(); 13070 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13071 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F292: or ecx, 0xffffffff */ 13072 _cf = 0; 13073 _flag_k = FK_TEST; 13074 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13075 eax = 0; /* 0x2B01F295: xor eax, eax */ 13076 _cf = 0; 13077 _flag_k = FK_TEST; 13078 edi = 0x2B0E33CCu; /* 0x2B01F297: mov edi, 0x2b0e33cc */ 13079 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; } /* 0x2B01F29C: repne scasb al, byte ptr es:[edi] */ 13080 ecx = ~ecx; /* 0x2B01F29E: not ecx */ 13081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13082 ecx = ecx - 1; /* 0x2B01F2A0: dec ecx */ 13083 _flag_k = FK_DEC; 13084 PUSH32(esp, ecx); /* 0x2B01F2A1: push ecx */ 13085 PUSH32(esp, 0x2B0E33CCu); /* 0x2B01F2A2: push 0x2b0e33cc */ 13086 ecx = ebp + (-0x2C); /* 0x2B01F2A7: lea ecx, [ebp - 0x2c] */ 13087 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F2AA: call dword ptr [0x2b0b5148] */ 13088 RECOMP_FLAGS_IN(); 13089 ecx = ebp + (-0x78); /* 0x2B01F2B0: lea ecx, [ebp - 0x78] */ 13090 MEM32(ebp + (-0x10)) = 0xEu; /* 0x2B01F2B3: mov dword ptr [ebp - 0x10], 0xe */ 13091 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F2BA: call 0x2b020ca0 */ /* not lifted */ 13092 RECOMP_FLAGS_IN(); 13093 PUSH32(esp, eax); /* 0x2B01F2BF: push eax */ 13094 edx = ebp + (-0x10); /* 0x2B01F2C0: lea edx, [ebp - 0x10] */ 13095 PUSH32(esp, edx); /* 0x2B01F2C3: push edx */ 13096 ecx = ebp + (-0xA8); /* 0x2B01F2C4: lea ecx, [ebp - 0xa8] */ 13097 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B01F2CA: mov byte ptr [ebp - 4], 0x16 */ 13098 RECOMP_ICALL(0x2B021040u); /* 0x2B01F2CE: call 0x2b021040 */ /* not lifted */ 13099 RECOMP_FLAGS_IN(); 13100 PUSH32(esp, eax); /* 0x2B01F2D3: push eax */ 13101 eax = ebp + (-0x18); /* 0x2B01F2D4: lea eax, [ebp - 0x18] */ 13102 PUSH32(esp, eax); /* 0x2B01F2D7: push eax */ 13103 ecx = esi; /* 0x2B01F2D8: mov ecx, esi */ 13104 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B01F2DA: mov byte ptr [ebp - 4], 0x17 */ 13105 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F2DE: call 0x2b020df0 */ /* not lifted */ 13106 RECOMP_FLAGS_IN(); 13107 edi = MEM32(eax); /* 0x2B01F2E3: mov edi, dword ptr [eax] */ 13108 ecx = ebp + (-0xA4); /* 0x2B01F2E5: lea ecx, [ebp - 0xa4] */ 13109 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B01F2EB: mov byte ptr [ebp - 4], 0x16 */ 13110 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F2EF: call 0x2b01f690 */ /* not lifted */ 13111 RECOMP_FLAGS_IN(); 13112 ecx = ebp + (-0x64); /* 0x2B01F2F4: lea ecx, [ebp - 0x64] */ 13113 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B01F2F7: mov byte ptr [ebp - 4], 0x18 */ 13114 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F2FB: call dword ptr [0x2b0b5b8c] */ 13115 RECOMP_FLAGS_IN(); 13116 ecx = ebp + (-0x78); /* 0x2B01F301: lea ecx, [ebp - 0x78] */ 13117 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F304: mov byte ptr [ebp - 4], 4 */ 13118 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F308: call dword ptr [0x2b0b5b8c] */ 13119 RECOMP_FLAGS_IN(); 13120 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 13121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13122 edi = edi + 0x10u; /* 0x2B01F30E: add edi, 0x10 */ 13123 _flag_k = FK_ADD; 13124 ecx = ebp + (-0x40); /* 0x2B01F311: lea ecx, [ebp - 0x40] */ 13125 PUSH32(esp, ecx); /* 0x2B01F314: push ecx */ 13126 ecx = edi; /* 0x2B01F315: mov ecx, edi */ 13127 RECOMP_ICALL(ebx); /* 0x2B01F317: call ebx */ 13128 RECOMP_FLAGS_IN(); 13129 edx = ebp + (-0x2C); /* 0x2B01F319: lea edx, [ebp - 0x2c] */ 13130 PUSH32(esp, edx); /* 0x2B01F31C: push edx */ 13131 ecx = edi + 0x14; /* 0x2B01F31D: lea ecx, [edi + 0x14] */ 13132 RECOMP_ICALL(ebx); /* 0x2B01F320: call ebx */ 13133 RECOMP_FLAGS_IN(); 13134 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13135 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F322: or ecx, 0xffffffff */ 13136 _cf = 0; 13137 _flag_k = FK_TEST; 13138 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13139 eax = 0; /* 0x2B01F325: xor eax, eax */ 13140 _cf = 0; 13141 _flag_k = FK_TEST; 13142 edi = 0x2B0E33ACu; /* 0x2B01F327: mov edi, 0x2b0e33ac */ 13143 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; } /* 0x2B01F32C: repne scasb al, byte ptr es:[edi] */ 13144 ecx = ~ecx; /* 0x2B01F32E: not ecx */ 13145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13146 ecx = ecx - 1; /* 0x2B01F330: dec ecx */ 13147 _flag_k = FK_DEC; 13148 PUSH32(esp, ecx); /* 0x2B01F331: push ecx */ 13149 PUSH32(esp, 0x2B0E33ACu); /* 0x2B01F332: push 0x2b0e33ac */ 13150 ecx = ebp + (-0x40); /* 0x2B01F337: lea ecx, [ebp - 0x40] */ 13151 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F33A: call dword ptr [0x2b0b5148] */ 13152 RECOMP_FLAGS_IN(); 13153 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13154 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F340: or ecx, 0xffffffff */ 13155 _cf = 0; 13156 _flag_k = FK_TEST; 13157 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13158 eax = 0; /* 0x2B01F343: xor eax, eax */ 13159 _cf = 0; 13160 _flag_k = FK_TEST; 13161 edi = 0x2B0E33CCu; /* 0x2B01F345: mov edi, 0x2b0e33cc */ 13162 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; } /* 0x2B01F34A: repne scasb al, byte ptr es:[edi] */ 13163 ecx = ~ecx; /* 0x2B01F34C: not ecx */ 13164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13165 ecx = ecx - 1; /* 0x2B01F34E: dec ecx */ 13166 _flag_k = FK_DEC; 13167 PUSH32(esp, ecx); /* 0x2B01F34F: push ecx */ 13168 PUSH32(esp, 0x2B0E33CCu); /* 0x2B01F350: push 0x2b0e33cc */ 13169 ecx = ebp + (-0x2C); /* 0x2B01F355: lea ecx, [ebp - 0x2c] */ 13170 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F358: call dword ptr [0x2b0b5148] */ 13171 RECOMP_FLAGS_IN(); 13172 ecx = ebp + (-0x78); /* 0x2B01F35E: lea ecx, [ebp - 0x78] */ 13173 MEM32(ebp + (-0x10)) = 0xFu; /* 0x2B01F361: mov dword ptr [ebp - 0x10], 0xf */ 13174 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F368: call 0x2b020ca0 */ /* not lifted */ 13175 RECOMP_FLAGS_IN(); 13176 PUSH32(esp, eax); /* 0x2B01F36D: push eax */ 13177 eax = ebp + (-0x10); /* 0x2B01F36E: lea eax, [ebp - 0x10] */ 13178 PUSH32(esp, eax); /* 0x2B01F371: push eax */ 13179 ecx = ebp + (-0xA8); /* 0x2B01F372: lea ecx, [ebp - 0xa8] */ 13180 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B01F378: mov byte ptr [ebp - 4], 0x19 */ 13181 RECOMP_ICALL(0x2B021040u); /* 0x2B01F37C: call 0x2b021040 */ /* not lifted */ 13182 RECOMP_FLAGS_IN(); 13183 PUSH32(esp, eax); /* 0x2B01F381: push eax */ 13184 ecx = ebp + (-0x18); /* 0x2B01F382: lea ecx, [ebp - 0x18] */ 13185 PUSH32(esp, ecx); /* 0x2B01F385: push ecx */ 13186 ecx = esi; /* 0x2B01F386: mov ecx, esi */ 13187 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Au); /* 0x2B01F388: mov byte ptr [ebp - 4], 0x1a */ 13188 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F38C: call 0x2b020df0 */ /* not lifted */ 13189 RECOMP_FLAGS_IN(); 13190 edi = MEM32(eax); /* 0x2B01F391: mov edi, dword ptr [eax] */ 13191 ecx = ebp + (-0xA4); /* 0x2B01F393: lea ecx, [ebp - 0xa4] */ 13192 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B01F399: mov byte ptr [ebp - 4], 0x19 */ 13193 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F39D: call 0x2b01f690 */ /* not lifted */ 13194 RECOMP_FLAGS_IN(); 13195 ecx = ebp + (-0x64); /* 0x2B01F3A2: lea ecx, [ebp - 0x64] */ 13196 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B01F3A5: mov byte ptr [ebp - 4], 0x1b */ 13197 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F3A9: call dword ptr [0x2b0b5b8c] */ 13198 RECOMP_FLAGS_IN(); 13199 ecx = ebp + (-0x78); /* 0x2B01F3AF: lea ecx, [ebp - 0x78] */ 13200 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F3B2: mov byte ptr [ebp - 4], 4 */ 13201 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F3B6: call dword ptr [0x2b0b5b8c] */ 13202 RECOMP_FLAGS_IN(); 13203 edx = ebp + (-0x40); /* 0x2B01F3BC: lea edx, [ebp - 0x40] */ 13204 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 13205 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13206 edi = edi + 0x10u; /* 0x2B01F3BF: add edi, 0x10 */ 13207 _flag_k = FK_ADD; 13208 PUSH32(esp, edx); /* 0x2B01F3C2: push edx */ 13209 ecx = edi; /* 0x2B01F3C3: mov ecx, edi */ 13210 RECOMP_ICALL(ebx); /* 0x2B01F3C5: call ebx */ 13211 RECOMP_FLAGS_IN(); 13212 eax = ebp + (-0x2C); /* 0x2B01F3C7: lea eax, [ebp - 0x2c] */ 13213 PUSH32(esp, eax); /* 0x2B01F3CA: push eax */ 13214 ecx = edi + 0x14; /* 0x2B01F3CB: lea ecx, [edi + 0x14] */ 13215 RECOMP_ICALL(ebx); /* 0x2B01F3CE: call ebx */ 13216 RECOMP_FLAGS_IN(); 13217 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13218 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F3D0: or ecx, 0xffffffff */ 13219 _cf = 0; 13220 _flag_k = FK_TEST; 13221 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13222 eax = 0; /* 0x2B01F3D3: xor eax, eax */ 13223 _cf = 0; 13224 _flag_k = FK_TEST; 13225 edi = 0x2B0E3394u; /* 0x2B01F3D5: mov edi, 0x2b0e3394 */ 13226 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; } /* 0x2B01F3DA: repne scasb al, byte ptr es:[edi] */ 13227 ecx = ~ecx; /* 0x2B01F3DC: not ecx */ 13228 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13229 ecx = ecx - 1; /* 0x2B01F3DE: dec ecx */ 13230 _flag_k = FK_DEC; 13231 PUSH32(esp, ecx); /* 0x2B01F3DF: push ecx */ 13232 PUSH32(esp, 0x2B0E3394u); /* 0x2B01F3E0: push 0x2b0e3394 */ 13233 ecx = ebp + (-0x40); /* 0x2B01F3E5: lea ecx, [ebp - 0x40] */ 13234 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F3E8: call dword ptr [0x2b0b5148] */ 13235 RECOMP_FLAGS_IN(); 13236 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13237 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F3EE: or ecx, 0xffffffff */ 13238 _cf = 0; 13239 _flag_k = FK_TEST; 13240 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13241 eax = 0; /* 0x2B01F3F1: xor eax, eax */ 13242 _cf = 0; 13243 _flag_k = FK_TEST; 13244 edi = 0x2B0E3290u; /* 0x2B01F3F3: mov edi, 0x2b0e3290 */ 13245 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; } /* 0x2B01F3F8: repne scasb al, byte ptr es:[edi] */ 13246 ecx = ~ecx; /* 0x2B01F3FA: not ecx */ 13247 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13248 ecx = ecx - 1; /* 0x2B01F3FC: dec ecx */ 13249 _flag_k = FK_DEC; 13250 PUSH32(esp, ecx); /* 0x2B01F3FD: push ecx */ 13251 PUSH32(esp, 0x2B0E3290u); /* 0x2B01F3FE: push 0x2b0e3290 */ 13252 ecx = ebp + (-0x2C); /* 0x2B01F403: lea ecx, [ebp - 0x2c] */ 13253 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F406: call dword ptr [0x2b0b5148] */ 13254 RECOMP_FLAGS_IN(); 13255 ecx = ebp + (-0x78); /* 0x2B01F40C: lea ecx, [ebp - 0x78] */ 13256 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F40F: call 0x2b020ca0 */ /* not lifted */ 13257 RECOMP_FLAGS_IN(); 13258 PUSH32(esp, eax); /* 0x2B01F414: push eax */ 13259 ecx = ebp + (-0xA4); /* 0x2B01F415: lea ecx, [ebp - 0xa4] */ 13260 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B01F41B: mov byte ptr [ebp - 4], 0x1c */ 13261 MEM32(ebp + (-0xA8)) = 0x10u; /* 0x2B01F41F: mov dword ptr [ebp - 0xa8], 0x10 */ 13262 RECOMP_ICALL(0x2B0210A0u); /* 0x2B01F429: call 0x2b0210a0 */ /* not lifted */ 13263 RECOMP_FLAGS_IN(); 13264 ecx = ebp + (-0xA8); /* 0x2B01F42E: lea ecx, [ebp - 0xa8] */ 13265 PUSH32(esp, ecx); /* 0x2B01F434: push ecx */ 13266 edx = ebp + (-0x18); /* 0x2B01F435: lea edx, [ebp - 0x18] */ 13267 PUSH32(esp, edx); /* 0x2B01F438: push edx */ 13268 ecx = esi; /* 0x2B01F439: mov ecx, esi */ 13269 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B01F43B: mov byte ptr [ebp - 4], 0x1d */ 13270 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F43F: call 0x2b020df0 */ /* not lifted */ 13271 RECOMP_FLAGS_IN(); 13272 esi = MEM32(eax); /* 0x2B01F444: mov esi, dword ptr [eax] */ 13273 ecx = ebp + (-0xA4); /* 0x2B01F446: lea ecx, [ebp - 0xa4] */ 13274 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B01F44C: mov byte ptr [ebp - 4], 0x1c */ 13275 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F450: call 0x2b01f690 */ /* not lifted */ 13276 RECOMP_FLAGS_IN(); 13277 ecx = ebp + (-0x78); /* 0x2B01F455: lea ecx, [ebp - 0x78] */ 13278 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F458: mov byte ptr [ebp - 4], 4 */ 13279 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F45C: call 0x2b01f690 */ /* not lifted */ 13280 RECOMP_FLAGS_IN(); 13281 eax = ebp + (-0x40); /* 0x2B01F461: lea eax, [ebp - 0x40] */ 13282 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 13283 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13284 esi = esi + 0x10u; /* 0x2B01F464: add esi, 0x10 */ 13285 _flag_k = FK_ADD; 13286 PUSH32(esp, eax); /* 0x2B01F467: push eax */ 13287 ecx = esi; /* 0x2B01F468: mov ecx, esi */ 13288 RECOMP_ICALL(ebx); /* 0x2B01F46A: call ebx */ 13289 RECOMP_FLAGS_IN(); 13290 ecx = ebp + (-0x2C); /* 0x2B01F46C: lea ecx, [ebp - 0x2c] */ 13291 PUSH32(esp, ecx); /* 0x2B01F46F: push ecx */ 13292 ecx = esi + 0x14; /* 0x2B01F470: lea ecx, [esi + 0x14] */ 13293 RECOMP_ICALL(ebx); /* 0x2B01F473: call ebx */ 13294 RECOMP_FLAGS_IN(); 13295 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13296 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F475: or ecx, 0xffffffff */ 13297 _cf = 0; 13298 _flag_k = FK_TEST; 13299 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13300 eax = 0; /* 0x2B01F478: xor eax, eax */ 13301 _cf = 0; 13302 _flag_k = FK_TEST; 13303 edi = 0x2B0E3278u; /* 0x2B01F47A: mov edi, 0x2b0e3278 */ 13304 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; } /* 0x2B01F47F: repne scasb al, byte ptr es:[edi] */ 13305 ecx = ~ecx; /* 0x2B01F481: not ecx */ 13306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13307 ecx = ecx - 1; /* 0x2B01F483: dec ecx */ 13308 _flag_k = FK_DEC; 13309 PUSH32(esp, ecx); /* 0x2B01F484: push ecx */ 13310 PUSH32(esp, 0x2B0E3278u); /* 0x2B01F485: push 0x2b0e3278 */ 13311 ecx = ebp + (-0x40); /* 0x2B01F48A: lea ecx, [ebp - 0x40] */ 13312 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01F48D: call dword ptr [0x2b0b5148] */ 13313 RECOMP_FLAGS_IN(); 13314 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 13315 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01F493: or ecx, 0xffffffff */ 13316 _cf = 0; 13317 _flag_k = FK_TEST; 13318 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13319 eax = 0; /* 0x2B01F496: xor eax, eax */ 13320 _cf = 0; 13321 _flag_k = FK_TEST; 13322 edi = 0x2B0E31B0u; /* 0x2B01F498: mov edi, 0x2b0e31b0 */ 13323 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; } /* 0x2B01F49D: repne scasb al, byte ptr es:[edi] */ 13324 ecx = ~ecx; /* 0x2B01F49F: not ecx */ 13325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13326 ecx = ecx - 1; /* 0x2B01F4A1: dec ecx */ 13327 _flag_k = FK_DEC; 13328 esi = ecx; /* 0x2B01F4A2: mov esi, ecx */ 13329 PUSH32(esp, 1); /* 0x2B01F4A4: push 1 */ 13330 PUSH32(esp, esi); /* 0x2B01F4A6: push esi */ 13331 ecx = ebp + (-0x2C); /* 0x2B01F4A7: lea ecx, [ebp - 0x2c] */ 13332 MEM32(ebp + (-0x10)) = esi; /* 0x2B01F4AA: mov dword ptr [ebp - 0x10], esi */ 13333 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01F4AD: call dword ptr [0x2b0b5154] */ 13334 RECOMP_FLAGS_IN(); 13335 /* test LO8(eax), LO8(eax) */ /* 0x2B01F4B3: test al, al */ 13336 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13337 _cf = 0; 13338 _flag_k = FK_NARROW(FK_TEST, 24); 13339 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F4DB; /* 0x2B01F4B5: je 0x2b01f4db */ 13340 L_2B01F4B7: 13341 edi = MEM32(ebp + (-0x28)); /* 0x2B01F4B7: mov edi, dword ptr [ebp - 0x28] */ 13342 ecx = esi; /* 0x2B01F4BA: mov ecx, esi */ 13343 edx = ecx; /* 0x2B01F4BC: mov edx, ecx */ 13344 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01F4BE: shr ecx, 2 */ 13345 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13346 ecx = ecx >> 2u; /* 0x2B01F4BE: shr ecx, 2 */ 13347 esi = 0x2B0E31B0u; /* 0x2B01F4C1: mov esi, 0x2b0e31b0 */ 13348 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01F4C6: 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; } 13349 ecx = edx; /* 0x2B01F4C8: mov ecx, edx */ 13350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 13351 ecx = ecx & 3; /* 0x2B01F4CA: and ecx, 3 */ 13352 _cf = 0; 13353 _flag_k = FK_TEST; 13354 eax = edx; /* 0x2B01F4CD: mov eax, edx */ 13355 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01F4CF: 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; } 13356 PUSH32(esp, eax); /* 0x2B01F4D1: push eax */ 13357 ecx = ebp + (-0x2C); /* 0x2B01F4D2: lea ecx, [ebp - 0x2c] */ 13358 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01F4D5: call dword ptr [0x2b0b5150] */ 13359 RECOMP_FLAGS_IN(); 13360 L_2B01F4DB: 13361 ecx = ebp + (-0x78); /* 0x2B01F4DB: lea ecx, [ebp - 0x78] */ 13362 MEM32(ebp + (-0x10)) = 0x11u; /* 0x2B01F4DE: mov dword ptr [ebp - 0x10], 0x11 */ 13363 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01F4E5: call 0x2b020ca0 */ /* not lifted */ 13364 RECOMP_FLAGS_IN(); 13365 PUSH32(esp, eax); /* 0x2B01F4EA: push eax */ 13366 ecx = ebp + (-0x10); /* 0x2B01F4EB: lea ecx, [ebp - 0x10] */ 13367 PUSH32(esp, ecx); /* 0x2B01F4EE: push ecx */ 13368 ecx = ebp + (-0xA8); /* 0x2B01F4EF: lea ecx, [ebp - 0xa8] */ 13369 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B01F4F5: mov byte ptr [ebp - 4], 0x1e */ 13370 RECOMP_ICALL(0x2B021040u); /* 0x2B01F4F9: call 0x2b021040 */ /* not lifted */ 13371 RECOMP_FLAGS_IN(); 13372 edi = MEM32(ebp + (-0x7C)); /* 0x2B01F4FE: mov edi, dword ptr [ebp - 0x7c] */ 13373 PUSH32(esp, eax); /* 0x2B01F501: push eax */ 13374 edx = ebp + (-0x18); /* 0x2B01F502: lea edx, [ebp - 0x18] */ 13375 PUSH32(esp, edx); /* 0x2B01F505: push edx */ 13376 ecx = edi + 0x88; /* 0x2B01F506: lea ecx, [edi + 0x88] */ 13377 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B01F50C: mov byte ptr [ebp - 4], 0x1f */ 13378 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01F510: call 0x2b020df0 */ /* not lifted */ 13379 RECOMP_FLAGS_IN(); 13380 esi = MEM32(eax); /* 0x2B01F515: mov esi, dword ptr [eax] */ 13381 ecx = ebp + (-0xA4); /* 0x2B01F517: lea ecx, [ebp - 0xa4] */ 13382 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B01F51D: mov byte ptr [ebp - 4], 0x1e */ 13383 RECOMP_ICALL(0x2B01F690u); /* 0x2B01F521: call 0x2b01f690 */ /* not lifted */ 13384 RECOMP_FLAGS_IN(); 13385 ecx = ebp + (-0x64); /* 0x2B01F526: lea ecx, [ebp - 0x64] */ 13386 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x2B01F529: mov byte ptr [ebp - 4], 0x20 */ 13387 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F52D: call dword ptr [0x2b0b5b8c] */ 13388 RECOMP_FLAGS_IN(); 13389 ecx = ebp + (-0x78); /* 0x2B01F533: lea ecx, [ebp - 0x78] */ 13390 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F536: mov byte ptr [ebp - 4], 4 */ 13391 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F53A: call dword ptr [0x2b0b5b8c] */ 13392 RECOMP_FLAGS_IN(); 13393 eax = ebp + (-0x40); /* 0x2B01F540: lea eax, [ebp - 0x40] */ 13394 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 13395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13396 esi = esi + 0x10u; /* 0x2B01F543: add esi, 0x10 */ 13397 _flag_k = FK_ADD; 13398 PUSH32(esp, eax); /* 0x2B01F546: push eax */ 13399 ecx = esi; /* 0x2B01F547: mov ecx, esi */ 13400 RECOMP_ICALL(ebx); /* 0x2B01F549: call ebx */ 13401 RECOMP_FLAGS_IN(); 13402 ecx = ebp + (-0x2C); /* 0x2B01F54B: lea ecx, [ebp - 0x2c] */ 13403 PUSH32(esp, ecx); /* 0x2B01F54E: push ecx */ 13404 ecx = esi + 0x14; /* 0x2B01F54F: lea ecx, [esi + 0x14] */ 13405 RECOMP_ICALL(ebx); /* 0x2B01F552: call ebx */ 13406 RECOMP_FLAGS_IN(); 13407 ecx = MEM32(edi + 0x68); /* 0x2B01F554: mov ecx, dword ptr [edi + 0x68] */ 13408 /* test ecx, ecx */ /* 0x2B01F557: test ecx, ecx */ 13409 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13410 _cf = 0; 13411 _flag_k = FK_TEST; 13412 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F572; /* 0x2B01F559: je 0x2b01f572 */ 13413 L_2B01F55B: 13414 eax = MEM32(edi + 0x6C); /* 0x2B01F55B: mov eax, dword ptr [edi + 0x6c] */ 13415 /* test eax, eax */ /* 0x2B01F55E: test eax, eax */ 13416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13417 _cf = 0; 13418 _flag_k = FK_TEST; 13419 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F572; /* 0x2B01F560: je 0x2b01f572 */ 13420 L_2B01F562: 13421 edx = MEM32(eax); /* 0x2B01F562: mov edx, dword ptr [eax] */ 13422 eax = MEM32(edx + 0x28); /* 0x2B01F564: mov eax, dword ptr [edx + 0x28] */ 13423 PUSH32(esp, 0x2B0E31A4u); /* 0x2B01F567: push 0x2b0e31a4 */ 13424 PUSH32(esp, eax); /* 0x2B01F56C: push eax */ 13425 RECOMP_ICALL(0x2B02AF20u); /* 0x2B01F56D: call 0x2b02af20 */ /* not lifted */ 13426 RECOMP_FLAGS_IN(); 13427 L_2B01F572: 13428 eax = ebp + (-0x2C); /* 0x2B01F572: lea eax, [ebp - 0x2c] */ 13429 MEM32(ebp + (-0x10)) = eax; /* 0x2B01F575: mov dword ptr [ebp - 0x10], eax */ 13430 ecx = MEM32(ebp + (-0x1C)); /* 0x2B01F578: mov ecx, dword ptr [ebp - 0x1c] */ 13431 /* test ecx, ecx */ /* 0x2B01F57B: test ecx, ecx */ 13432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13433 _cf = 0; 13434 _flag_k = FK_TEST; 13435 MEM8(ebp + (-0x4)) = (uint8_t)(0x22u); /* 0x2B01F57D: mov byte ptr [ebp - 4], 0x22 */ 13436 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F588; /* 0x2B01F581: je 0x2b01f588 */ 13437 L_2B01F583: 13438 RECOMP_ICALL(0x2B005B20u); /* 0x2B01F583: call 0x2b005b20 */ /* not lifted */ 13439 RECOMP_FLAGS_IN(); 13440 L_2B01F588: 13441 PUSH32(esp, 1); /* 0x2B01F588: push 1 */ 13442 ecx = ebp + (-0x2C); /* 0x2B01F58A: lea ecx, [ebp - 0x2c] */ 13443 MEM8(ebp + (-0x4)) = (uint8_t)(0x21u); /* 0x2B01F58D: mov byte ptr [ebp - 4], 0x21 */ 13444 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F591: call dword ptr [0x2b0b514c] */ 13445 RECOMP_FLAGS_IN(); 13446 ecx = ebp + (-0x40); /* 0x2B01F597: lea ecx, [ebp - 0x40] */ 13447 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F59A: mov byte ptr [ebp - 4], 1 */ 13448 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01F59E: call dword ptr [0x2b0b5b8c] */ 13449 RECOMP_FLAGS_IN(); 13450 ecx = MEM32(ebp + (-0xC)); /* 0x2B01F5A4: mov ecx, dword ptr [ebp - 0xc] */ 13451 eax = edi; /* 0x2B01F5A7: mov eax, edi */ 13452 edi = POP32_VAL(esp); /* 0x2B01F5A9: pop edi */ 13453 esi = POP32_VAL(esp); /* 0x2B01F5AA: pop esi */ 13454 ebx = POP32_VAL(esp); /* 0x2B01F5AB: pop ebx */ 13455 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F5AC: mov dword ptr fs:[0], ecx */ 13456 esp = ebp; /* 0x2B01F5B3: mov esp, ebp */ 13457 ebp = POP32_VAL(esp); /* 0x2B01F5B5: pop ebp */ 13458 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01F5B6: ret 8 */ 13459 RECOMP_REGS_OUT(); 13460 } 13461 13462 void sub_2B01F5C0(void) { 13463 int _fpu_cmp = 0; 13464 uint32_t _cf = 0; 13465 int _df = 1; 13466 uint32_t _flag_k = FK_NONE; 13467 uint32_t _flag_a = 0, _flag_b = 0; 13468 uint32_t _itail_tgt = 0; 13469 RECOMP_REGS_LOCALS 13470 RECOMP_ENTER(0x2B01F5C0u); 13471 13472 L_2B01F5C0: 13473 PUSH32(esp, ebp); /* 0x2B01F5C0: push ebp */ 13474 ebp = esp; /* 0x2B01F5C1: mov ebp, esp */ 13475 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13477 esp = esp - 8; /* 0x2B01F5C3: sub esp, 8 */ 13478 _flag_k = FK_CMP; 13479 PUSH32(esp, ebx); /* 0x2B01F5C6: push ebx */ 13480 PUSH32(esp, esi); /* 0x2B01F5C7: push esi */ 13481 esi = ecx; /* 0x2B01F5C8: mov esi, ecx */ 13482 ecx = MEM32(esi + 0x10); /* 0x2B01F5CA: mov ecx, dword ptr [esi + 0x10] */ 13483 /* test ecx, ecx */ /* 0x2B01F5CD: test ecx, ecx */ 13484 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 13485 _cf = 0; 13486 _flag_k = FK_TEST; 13487 PUSH32(esp, edi); /* 0x2B01F5CF: push edi */ 13488 edi = MEM32(esi + 0x4); /* 0x2B01F5D0: mov edi, dword ptr [esi + 4] */ 13489 eax = MEM32(edi); /* 0x2B01F5D3: mov eax, dword ptr [edi] */ 13490 MEM32(ebp + (-0x4)) = eax; /* 0x2B01F5D5: mov dword ptr [ebp - 4], eax */ 13491 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5D8: je 0x2b01f63f */ 13492 L_2B01F5DA: 13493 ecx = eax; /* 0x2B01F5DA: mov ecx, eax */ 13494 /* cmp eax, ecx */ /* 0x2B01F5DC: cmp eax, ecx */ 13495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13497 _flag_k = FK_CMP; 13498 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5DE: jne 0x2b01f63f */ 13499 L_2B01F5E0: 13500 /* cmp edi, edi */ /* 0x2B01F5E0: cmp edi, edi */ 13501 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 13502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13503 _flag_k = FK_CMP; 13504 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F63F; /* 0x2B01F5E2: jne 0x2b01f63f */ 13505 L_2B01F5E4: 13506 ebx = MEM32(edi + 0x4); /* 0x2B01F5E4: mov ebx, dword ptr [edi + 4] */ 13507 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B01F5E7: cmp ebx, dword ptr [esi + 8] */ 13508 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13510 _flag_k = FK_CMP; 13511 edi = ebx; /* 0x2B01F5EA: mov edi, ebx */ 13512 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F617; /* 0x2B01F5EC: je 0x2b01f617 */ 13513 L_2B01F5EE: 13514 eax = MEM32(edi + 0x8); /* 0x2B01F5EE: mov eax, dword ptr [edi + 8] */ 13515 PUSH32(esp, eax); /* 0x2B01F5F1: push eax */ 13516 ecx = esi; /* 0x2B01F5F2: mov ecx, esi */ 13517 RECOMP_ICALL(0x2B021560u); /* 0x2B01F5F4: call 0x2b021560 */ /* not lifted */ 13518 RECOMP_FLAGS_IN(); 13519 edi = MEM32(edi); /* 0x2B01F5F9: mov edi, dword ptr [edi] */ 13520 PUSH32(esp, 0); /* 0x2B01F5FB: push 0 */ 13521 ecx = ebx + 0xC; /* 0x2B01F5FD: lea ecx, [ebx + 0xc] */ 13522 RECOMP_ICALL(0x2B021930u); /* 0x2B01F600: call 0x2b021930 */ /* not lifted */ 13523 RECOMP_FLAGS_IN(); 13524 PUSH32(esp, ebx); /* 0x2B01F605: push ebx */ 13525 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F606: call 0x2b0ab1ba */ /* not lifted */ 13526 RECOMP_FLAGS_IN(); 13527 eax = MEM32(esi + 0x8); /* 0x2B01F60B: mov eax, dword ptr [esi + 8] */ 13528 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13529 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13530 esp = esp + 4; /* 0x2B01F60E: add esp, 4 */ 13531 _flag_k = FK_ADD; 13532 /* cmp edi, eax */ /* 0x2B01F611: cmp edi, eax */ 13533 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13535 _flag_k = FK_CMP; 13536 ebx = edi; /* 0x2B01F613: mov ebx, edi */ 13537 RECOMP_BACKEDGE(); 13538 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F5EE; /* 0x2B01F615: jne 0x2b01f5ee */ 13539 L_2B01F617: 13540 ecx = MEM32(esi + 0x4); /* 0x2B01F617: mov ecx, dword ptr [esi + 4] */ 13541 edx = MEM32(esi + 0x8); /* 0x2B01F61A: mov edx, dword ptr [esi + 8] */ 13542 MEM32(ecx + 0x4) = edx; /* 0x2B01F61D: mov dword ptr [ecx + 4], edx */ 13543 eax = MEM32(esi + 0x4); /* 0x2B01F620: mov eax, dword ptr [esi + 4] */ 13544 MEM32(esi + 0x10) = 0; /* 0x2B01F623: mov dword ptr [esi + 0x10], 0 */ 13545 MEM32(eax) = eax; /* 0x2B01F62A: mov dword ptr [eax], eax */ 13546 eax = MEM32(esi + 0x4); /* 0x2B01F62C: mov eax, dword ptr [esi + 4] */ 13547 MEM32(eax + 0x8) = eax; /* 0x2B01F62F: mov dword ptr [eax + 8], eax */ 13548 eax = ebp + (-0x8); /* 0x2B01F632: lea eax, [ebp - 8] */ 13549 PUSH32(esp, eax); /* 0x2B01F635: push eax */ 13550 ecx = esi; /* 0x2B01F636: mov ecx, esi */ 13551 RECOMP_ICALL(0x2B018B60u); /* 0x2B01F638: call 0x2b018b60 */ /* not lifted */ 13552 RECOMP_FLAGS_IN(); 13553 goto L_2B01F660; /* 0x2B01F63D: jmp 0x2b01f660 */ 13554 L_2B01F63F: 13555 /* cmp eax, edi */ /* 0x2B01F63F: cmp eax, edi */ 13556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13558 _flag_k = FK_CMP; 13559 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F660; /* 0x2B01F641: je 0x2b01f660 */ 13560 L_2B01F643: 13561 ecx = ebp + (-0x4); /* 0x2B01F643: lea ecx, [ebp - 4] */ 13562 ebx = eax; /* 0x2B01F646: mov ebx, eax */ 13563 RECOMP_ICALL(0x2B021870u); /* 0x2B01F648: call 0x2b021870 */ /* not lifted */ 13564 RECOMP_FLAGS_IN(); 13565 PUSH32(esp, ebx); /* 0x2B01F64D: push ebx */ 13566 ecx = ebp + (-0x8); /* 0x2B01F64E: lea ecx, [ebp - 8] */ 13567 PUSH32(esp, ecx); /* 0x2B01F651: push ecx */ 13568 ecx = esi; /* 0x2B01F652: mov ecx, esi */ 13569 RECOMP_ICALL(0x2B021100u); /* 0x2B01F654: call 0x2b021100 */ /* not lifted */ 13570 RECOMP_FLAGS_IN(); 13571 eax = MEM32(ebp + (-0x4)); /* 0x2B01F659: mov eax, dword ptr [ebp - 4] */ 13572 /* cmp eax, edi */ /* 0x2B01F65C: cmp eax, edi */ 13573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 13574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13575 _flag_k = FK_CMP; 13576 RECOMP_BACKEDGE(); 13577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F643; /* 0x2B01F65E: jne 0x2b01f643 */ 13578 L_2B01F660: 13579 edx = MEM32(esi + 0x4); /* 0x2B01F660: mov edx, dword ptr [esi + 4] */ 13580 PUSH32(esp, edx); /* 0x2B01F663: push edx */ 13581 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F664: call 0x2b0ab1ba */ /* not lifted */ 13582 RECOMP_FLAGS_IN(); 13583 eax = MEM32(esi + 0x8); /* 0x2B01F669: mov eax, dword ptr [esi + 8] */ 13584 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13585 edi = 0; /* 0x2B01F66C: xor edi, edi */ 13586 _cf = 0; 13587 _flag_k = FK_TEST; 13588 PUSH32(esp, eax); /* 0x2B01F66E: push eax */ 13589 MEM32(esi + 0x4) = edi; /* 0x2B01F66F: mov dword ptr [esi + 4], edi */ 13590 MEM32(esi + 0x10) = edi; /* 0x2B01F672: mov dword ptr [esi + 0x10], edi */ 13591 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F675: call 0x2b0ab1ba */ /* not lifted */ 13592 RECOMP_FLAGS_IN(); 13593 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13595 esp = esp + 8; /* 0x2B01F67A: add esp, 8 */ 13596 _flag_k = FK_ADD; 13597 MEM32(esi + 0x8) = edi; /* 0x2B01F67D: mov dword ptr [esi + 8], edi */ 13598 edi = POP32_VAL(esp); /* 0x2B01F680: pop edi */ 13599 esi = POP32_VAL(esp); /* 0x2B01F681: pop esi */ 13600 ebx = POP32_VAL(esp); /* 0x2B01F682: pop ebx */ 13601 esp = ebp; /* 0x2B01F683: mov esp, ebp */ 13602 ebp = POP32_VAL(esp); /* 0x2B01F685: pop ebp */ 13603 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F686: ret */ 13604 RECOMP_REGS_OUT(); 13605 } 13606 13607 void sub_2B01F660(void) { 13608 int _fpu_cmp = 0; 13609 uint32_t _cf = 0; 13610 int _df = 1; 13611 uint32_t _flag_k = FK_NONE; 13612 uint32_t _flag_a = 0, _flag_b = 0; 13613 uint32_t _itail_tgt = 0; 13614 RECOMP_REGS_LOCALS 13615 RECOMP_ENTER(0x2B01F660u); 13616 13617 L_2B01F660: 13618 edx = MEM32(esi + 0x4); /* 0x2B01F660: mov edx, dword ptr [esi + 4] */ 13619 PUSH32(esp, edx); /* 0x2B01F663: push edx */ 13620 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F664: call 0x2b0ab1ba */ /* not lifted */ 13621 RECOMP_FLAGS_IN(); 13622 eax = MEM32(esi + 0x8); /* 0x2B01F669: mov eax, dword ptr [esi + 8] */ 13623 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13624 edi = 0; /* 0x2B01F66C: xor edi, edi */ 13625 _cf = 0; 13626 _flag_k = FK_TEST; 13627 PUSH32(esp, eax); /* 0x2B01F66E: push eax */ 13628 MEM32(esi + 0x4) = edi; /* 0x2B01F66F: mov dword ptr [esi + 4], edi */ 13629 MEM32(esi + 0x10) = edi; /* 0x2B01F672: mov dword ptr [esi + 0x10], edi */ 13630 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F675: call 0x2b0ab1ba */ /* not lifted */ 13631 RECOMP_FLAGS_IN(); 13632 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13634 esp = esp + 8; /* 0x2B01F67A: add esp, 8 */ 13635 _flag_k = FK_ADD; 13636 MEM32(esi + 0x8) = edi; /* 0x2B01F67D: mov dword ptr [esi + 8], edi */ 13637 edi = POP32_VAL(esp); /* 0x2B01F680: pop edi */ 13638 esi = POP32_VAL(esp); /* 0x2B01F681: pop esi */ 13639 ebx = POP32_VAL(esp); /* 0x2B01F682: pop ebx */ 13640 esp = ebp; /* 0x2B01F683: mov esp, ebp */ 13641 ebp = POP32_VAL(esp); /* 0x2B01F685: pop ebp */ 13642 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F686: ret */ 13643 RECOMP_REGS_OUT(); 13644 } 13645 13646 void sub_2B01F690(void) { 13647 int _fpu_cmp = 0; 13648 uint32_t _cf = 0; 13649 int _df = 1; 13650 uint32_t _flag_k = FK_NONE; 13651 uint32_t _flag_a = 0, _flag_b = 0; 13652 uint32_t _itail_tgt = 0; 13653 RECOMP_REGS_LOCALS 13654 RECOMP_ENTER(0x2B01F690u); 13655 13656 L_2B01F690: 13657 PUSH32(esp, ebp); /* 0x2B01F690: push ebp */ 13658 ebp = esp; /* 0x2B01F691: mov ebp, esp */ 13659 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F693: push -1 */ 13660 PUSH32(esp, 0x2B0AD403u); /* 0x2B01F695: push 0x2b0ad403 */ 13661 eax = MEM32(FS_BASE + (0)); /* 0x2B01F69A: mov eax, dword ptr fs:[0] */ 13662 PUSH32(esp, eax); /* 0x2B01F6A0: push eax */ 13663 MEM32(FS_BASE + (0)) = esp; /* 0x2B01F6A1: mov dword ptr fs:[0], esp */ 13664 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13666 esp = esp - 0xCu; /* 0x2B01F6A8: sub esp, 0xc */ 13667 _flag_k = FK_CMP; 13668 PUSH32(esp, ebx); /* 0x2B01F6AB: push ebx */ 13669 PUSH32(esp, esi); /* 0x2B01F6AC: push esi */ 13670 edx = ecx; /* 0x2B01F6AD: mov edx, ecx */ 13671 PUSH32(esp, edi); /* 0x2B01F6AF: push edi */ 13672 MEM32(ebp + (-0x10)) = edx; /* 0x2B01F6B0: mov dword ptr [ebp - 0x10], edx */ 13673 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13674 ebx = 0; /* 0x2B01F6B3: xor ebx, ebx */ 13675 _cf = 0; 13676 _flag_k = FK_TEST; 13677 edi = edx + 0x14; /* 0x2B01F6B5: lea edi, [edx + 0x14] */ 13678 MEM32(ebp + (-0x4)) = ebx; /* 0x2B01F6B8: mov dword ptr [ebp - 4], ebx */ 13679 MEM32(ebp + (-0x14)) = edi; /* 0x2B01F6BB: mov dword ptr [ebp - 0x14], edi */ 13680 esi = MEM32(edi + 0x10); /* 0x2B01F6BE: mov esi, dword ptr [edi + 0x10] */ 13681 /* cmp esi, ebx */ /* 0x2B01F6C1: cmp esi, ebx */ 13682 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 13683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13684 _flag_k = FK_CMP; 13685 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C3: je 0x2b01f6fb */ 13686 L_2B01F6C5: 13687 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 13688 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F6C5: dec dword ptr [esi + 0x2c] */ 13689 _flag_k = FK_DEC; 13690 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6C8: jne 0x2b01f6fb */ 13691 L_2B01F6CA: 13692 /* cmp esi, ebx */ /* 0x2B01F6CA: cmp esi, ebx */ 13693 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 13694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13695 _flag_k = FK_CMP; 13696 MEM32(ebp + (-0x18)) = esi; /* 0x2B01F6CC: mov dword ptr [ebp - 0x18], esi */ 13697 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F6FB; /* 0x2B01F6CF: je 0x2b01f6fb */ 13698 L_2B01F6D1: 13699 PUSH32(esp, 1); /* 0x2B01F6D1: push 1 */ 13700 ecx = esi + 0x1C; /* 0x2B01F6D3: lea ecx, [esi + 0x1c] */ 13701 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01F6D6: mov byte ptr [ebp - 4], 2 */ 13702 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6DA: call dword ptr [0x2b0b514c] */ 13703 RECOMP_FLAGS_IN(); 13704 PUSH32(esp, 1); /* 0x2B01F6E0: push 1 */ 13705 ecx = esi + 0xC; /* 0x2B01F6E2: lea ecx, [esi + 0xc] */ 13706 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01F6E5: mov byte ptr [ebp - 4], 1 */ 13707 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F6E9: call dword ptr [0x2b0b514c] */ 13708 RECOMP_FLAGS_IN(); 13709 PUSH32(esp, esi); /* 0x2B01F6EF: push esi */ 13710 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F6F0: call 0x2b0ab1ba */ /* not lifted */ 13711 RECOMP_FLAGS_IN(); 13712 edx = MEM32(ebp + (-0x10)); /* 0x2B01F6F5: mov edx, dword ptr [ebp - 0x10] */ 13713 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13714 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13715 esp = esp + 4; /* 0x2B01F6F8: add esp, 4 */ 13716 _flag_k = FK_ADD; 13717 L_2B01F6FB: 13718 eax = MEM32(edi + 0x4); /* 0x2B01F6FB: mov eax, dword ptr [edi + 4] */ 13719 /* cmp eax, ebx */ /* 0x2B01F6FE: cmp eax, ebx */ 13720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13722 _flag_k = FK_CMP; 13723 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F721; /* 0x2B01F700: je 0x2b01f721 */ 13724 L_2B01F702: 13725 ecx = eax + (-0x1); /* 0x2B01F702: lea ecx, [eax - 1] */ 13726 SET_LO8(eax, MEM8(ecx)); /* 0x2B01F705: mov al, byte ptr [ecx] */ 13727 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F707: cmp al, bl */ 13728 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13730 _flag_k = FK_NARROW(FK_CMP, 24); 13731 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F709: je 0x2b01f715 */ 13732 L_2B01F70B: 13733 /* cmp LO8(eax), 0xFFu */ /* 0x2B01F70B: cmp al, 0xff */ 13734 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13736 _flag_k = FK_NARROW(FK_CMP, 24); 13737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F715; /* 0x2B01F70D: je 0x2b01f715 */ 13738 L_2B01F70F: 13739 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13740 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F70F: dec al */ 13741 _flag_k = FK_NARROW(FK_DEC, 24); 13742 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F711: mov byte ptr [ecx], al */ 13743 goto L_2B01F721; /* 0x2B01F713: jmp 0x2b01f721 */ 13744 L_2B01F715: 13745 PUSH32(esp, ecx); /* 0x2B01F715: push ecx */ 13746 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F716: call 0x2b0ab1ba */ /* not lifted */ 13747 RECOMP_FLAGS_IN(); 13748 edx = MEM32(ebp + (-0x10)); /* 0x2B01F71B: mov edx, dword ptr [ebp - 0x10] */ 13749 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13750 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13751 esp = esp + 4; /* 0x2B01F71E: add esp, 4 */ 13752 _flag_k = FK_ADD; 13753 L_2B01F721: 13754 MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */ 13755 MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */ 13756 MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */ 13757 esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */ 13758 /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */ 13759 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 13760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13761 _flag_k = FK_CMP; 13762 MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */ 13763 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */ 13764 L_2B01F738: 13765 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 13766 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */ 13767 _flag_k = FK_DEC; 13768 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */ 13769 L_2B01F73D: 13770 /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */ 13771 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 13772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13773 _flag_k = FK_CMP; 13774 MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */ 13775 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */ 13776 L_2B01F744: 13777 PUSH32(esp, 1); /* 0x2B01F744: push 1 */ 13778 ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */ 13779 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */ 13780 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */ 13781 RECOMP_FLAGS_IN(); 13782 eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */ 13783 /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */ 13784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13786 _flag_k = FK_CMP; 13787 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */ 13788 L_2B01F75A: 13789 ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */ 13790 SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */ 13791 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */ 13792 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13794 _flag_k = FK_NARROW(FK_CMP, 24); 13795 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */ 13796 L_2B01F763: 13797 /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */ 13798 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13800 _flag_k = FK_NARROW(FK_CMP, 24); 13801 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */ 13802 L_2B01F767: 13803 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13804 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */ 13805 _flag_k = FK_NARROW(FK_DEC, 24); 13806 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */ 13807 goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */ 13808 L_2B01F76D: 13809 PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */ 13810 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */ 13811 RECOMP_FLAGS_IN(); 13812 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13814 esp = esp + 4; /* 0x2B01F773: add esp, 4 */ 13815 _flag_k = FK_ADD; 13816 L_2B01F776: 13817 PUSH32(esp, esi); /* 0x2B01F776: push esi */ 13818 MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */ 13819 MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */ 13820 MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */ 13821 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */ 13822 RECOMP_FLAGS_IN(); 13823 edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */ 13824 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13826 esp = esp + 4; /* 0x2B01F788: add esp, 4 */ 13827 _flag_k = FK_ADD; 13828 L_2B01F78B: 13829 eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */ 13830 /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */ 13831 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13833 _flag_k = FK_CMP; 13834 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */ 13835 L_2B01F792: 13836 ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */ 13837 SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */ 13838 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */ 13839 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13841 _flag_k = FK_NARROW(FK_CMP, 24); 13842 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */ 13843 L_2B01F79B: 13844 /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */ 13845 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13847 _flag_k = FK_NARROW(FK_CMP, 24); 13848 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */ 13849 L_2B01F79F: 13850 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13851 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */ 13852 _flag_k = FK_NARROW(FK_DEC, 24); 13853 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */ 13854 goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */ 13855 L_2B01F7A5: 13856 PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */ 13857 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */ 13858 RECOMP_FLAGS_IN(); 13859 edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */ 13860 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13861 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13862 esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */ 13863 _flag_k = FK_ADD; 13864 L_2B01F7B1: 13865 ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */ 13866 edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */ 13867 MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */ 13868 MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */ 13869 MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */ 13870 esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */ 13871 ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */ 13872 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */ 13873 esp = ebp; /* 0x2B01F7C7: mov esp, ebp */ 13874 ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */ 13875 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret */ 13876 RECOMP_REGS_OUT(); 13877 } 13878 13879 void sub_2B01F721(void) { 13880 int _fpu_cmp = 0; 13881 uint32_t _cf = 0; 13882 int _df = 1; 13883 uint32_t _flag_k = FK_NONE; 13884 uint32_t _flag_a = 0, _flag_b = 0; 13885 uint32_t _itail_tgt = 0; 13886 RECOMP_REGS_LOCALS 13887 RECOMP_ENTER(0x2B01F721u); 13888 13889 L_2B01F721: 13890 MEM32(edi + 0x4) = ebx; /* 0x2B01F721: mov dword ptr [edi + 4], ebx */ 13891 MEM32(edi + 0x8) = ebx; /* 0x2B01F724: mov dword ptr [edi + 8], ebx */ 13892 MEM32(edi + 0xC) = ebx; /* 0x2B01F727: mov dword ptr [edi + 0xc], ebx */ 13893 esi = MEM32(edx + 0x10); /* 0x2B01F72A: mov esi, dword ptr [edx + 0x10] */ 13894 /* cmp esi, ebx */ /* 0x2B01F72D: cmp esi, ebx */ 13895 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 13896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13897 _flag_k = FK_CMP; 13898 MEM32(ebp + (-0x4)) = 3; /* 0x2B01F72F: mov dword ptr [ebp - 4], 3 */ 13899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F736: je 0x2b01f78b */ 13900 L_2B01F738: 13901 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 13902 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01F738: dec dword ptr [esi + 0x2c] */ 13903 _flag_k = FK_DEC; 13904 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F73B: jne 0x2b01f78b */ 13905 L_2B01F73D: 13906 /* cmp esi, ebx */ /* 0x2B01F73D: cmp esi, ebx */ 13907 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 13908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13909 _flag_k = FK_CMP; 13910 MEM32(ebp + (-0x18)) = esi; /* 0x2B01F73F: mov dword ptr [ebp - 0x18], esi */ 13911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F78B; /* 0x2B01F742: je 0x2b01f78b */ 13912 L_2B01F744: 13913 PUSH32(esp, 1); /* 0x2B01F744: push 1 */ 13914 ecx = esi + 0x1C; /* 0x2B01F746: lea ecx, [esi + 0x1c] */ 13915 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01F749: mov byte ptr [ebp - 4], 4 */ 13916 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01F74D: call dword ptr [0x2b0b514c] */ 13917 RECOMP_FLAGS_IN(); 13918 eax = MEM32(esi + 0x10); /* 0x2B01F753: mov eax, dword ptr [esi + 0x10] */ 13919 /* cmp eax, ebx */ /* 0x2B01F756: cmp eax, ebx */ 13920 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13922 _flag_k = FK_CMP; 13923 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F776; /* 0x2B01F758: je 0x2b01f776 */ 13924 L_2B01F75A: 13925 ecx = eax + (-0x1); /* 0x2B01F75A: lea ecx, [eax - 1] */ 13926 SET_LO8(eax, MEM8(ecx)); /* 0x2B01F75D: mov al, byte ptr [ecx] */ 13927 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F75F: cmp al, bl */ 13928 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13930 _flag_k = FK_NARROW(FK_CMP, 24); 13931 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F761: je 0x2b01f76d */ 13932 L_2B01F763: 13933 /* cmp LO8(eax), 0xFFu */ /* 0x2B01F763: cmp al, 0xff */ 13934 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13936 _flag_k = FK_NARROW(FK_CMP, 24); 13937 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F76D; /* 0x2B01F765: je 0x2b01f76d */ 13938 L_2B01F767: 13939 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13940 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F767: dec al */ 13941 _flag_k = FK_NARROW(FK_DEC, 24); 13942 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F769: mov byte ptr [ecx], al */ 13943 goto L_2B01F776; /* 0x2B01F76B: jmp 0x2b01f776 */ 13944 L_2B01F76D: 13945 PUSH32(esp, ecx); /* 0x2B01F76D: push ecx */ 13946 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F76E: call 0x2b0ab1ba */ /* not lifted */ 13947 RECOMP_FLAGS_IN(); 13948 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13949 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13950 esp = esp + 4; /* 0x2B01F773: add esp, 4 */ 13951 _flag_k = FK_ADD; 13952 L_2B01F776: 13953 PUSH32(esp, esi); /* 0x2B01F776: push esi */ 13954 MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */ 13955 MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */ 13956 MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */ 13957 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */ 13958 RECOMP_FLAGS_IN(); 13959 edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */ 13960 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13961 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13962 esp = esp + 4; /* 0x2B01F788: add esp, 4 */ 13963 _flag_k = FK_ADD; 13964 L_2B01F78B: 13965 eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */ 13966 /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */ 13967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13969 _flag_k = FK_CMP; 13970 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */ 13971 L_2B01F792: 13972 ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */ 13973 SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */ 13974 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */ 13975 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13977 _flag_k = FK_NARROW(FK_CMP, 24); 13978 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */ 13979 L_2B01F79B: 13980 /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */ 13981 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 13982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13983 _flag_k = FK_NARROW(FK_CMP, 24); 13984 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */ 13985 L_2B01F79F: 13986 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 13987 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */ 13988 _flag_k = FK_NARROW(FK_DEC, 24); 13989 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */ 13990 goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */ 13991 L_2B01F7A5: 13992 PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */ 13993 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */ 13994 RECOMP_FLAGS_IN(); 13995 edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */ 13996 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13997 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13998 esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */ 13999 _flag_k = FK_ADD; 14000 L_2B01F7B1: 14001 ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */ 14002 edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */ 14003 MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */ 14004 MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */ 14005 MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */ 14006 esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */ 14007 ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */ 14008 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */ 14009 esp = ebp; /* 0x2B01F7C7: mov esp, ebp */ 14010 ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */ 14011 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret */ 14012 RECOMP_REGS_OUT(); 14013 } 14014 14015 void sub_2B01F776(void) { 14016 int _fpu_cmp = 0; 14017 uint32_t _cf = 0; 14018 int _df = 1; 14019 uint32_t _flag_k = FK_NONE; 14020 uint32_t _flag_a = 0, _flag_b = 0; 14021 uint32_t _itail_tgt = 0; 14022 RECOMP_REGS_LOCALS 14023 RECOMP_ENTER(0x2B01F776u); 14024 14025 L_2B01F776: 14026 PUSH32(esp, esi); /* 0x2B01F776: push esi */ 14027 MEM32(esi + 0x10) = ebx; /* 0x2B01F777: mov dword ptr [esi + 0x10], ebx */ 14028 MEM32(esi + 0x14) = ebx; /* 0x2B01F77A: mov dword ptr [esi + 0x14], ebx */ 14029 MEM32(esi + 0x18) = ebx; /* 0x2B01F77D: mov dword ptr [esi + 0x18], ebx */ 14030 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F780: call 0x2b0ab1ba */ /* not lifted */ 14031 RECOMP_FLAGS_IN(); 14032 edx = MEM32(ebp + (-0x10)); /* 0x2B01F785: mov edx, dword ptr [ebp - 0x10] */ 14033 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14034 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14035 esp = esp + 4; /* 0x2B01F788: add esp, 4 */ 14036 _flag_k = FK_ADD; 14037 eax = MEM32(edx + 0x4); /* 0x2B01F78B: mov eax, dword ptr [edx + 4] */ 14038 /* cmp eax, ebx */ /* 0x2B01F78E: cmp eax, ebx */ 14039 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 14040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14041 _flag_k = FK_CMP; 14042 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7B1; /* 0x2B01F790: je 0x2b01f7b1 */ 14043 L_2B01F792: 14044 ecx = eax + (-0x1); /* 0x2B01F792: lea ecx, [eax - 1] */ 14045 SET_LO8(eax, MEM8(ecx)); /* 0x2B01F795: mov al, byte ptr [ecx] */ 14046 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01F797: cmp al, bl */ 14047 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14049 _flag_k = FK_NARROW(FK_CMP, 24); 14050 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F799: je 0x2b01f7a5 */ 14051 L_2B01F79B: 14052 /* cmp LO8(eax), 0xFFu */ /* 0x2B01F79B: cmp al, 0xff */ 14053 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 14054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14055 _flag_k = FK_NARROW(FK_CMP, 24); 14056 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F7A5; /* 0x2B01F79D: je 0x2b01f7a5 */ 14057 L_2B01F79F: 14058 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 14059 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01F79F: dec al */ 14060 _flag_k = FK_NARROW(FK_DEC, 24); 14061 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01F7A1: mov byte ptr [ecx], al */ 14062 goto L_2B01F7B1; /* 0x2B01F7A3: jmp 0x2b01f7b1 */ 14063 L_2B01F7A5: 14064 PUSH32(esp, ecx); /* 0x2B01F7A5: push ecx */ 14065 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F7A6: call 0x2b0ab1ba */ /* not lifted */ 14066 RECOMP_FLAGS_IN(); 14067 edx = MEM32(ebp + (-0x10)); /* 0x2B01F7AB: mov edx, dword ptr [ebp - 0x10] */ 14068 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14069 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14070 esp = esp + 4; /* 0x2B01F7AE: add esp, 4 */ 14071 _flag_k = FK_ADD; 14072 L_2B01F7B1: 14073 ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */ 14074 edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */ 14075 MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */ 14076 MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */ 14077 MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */ 14078 esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */ 14079 ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */ 14080 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */ 14081 esp = ebp; /* 0x2B01F7C7: mov esp, ebp */ 14082 ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */ 14083 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret */ 14084 RECOMP_REGS_OUT(); 14085 } 14086 14087 void sub_2B01F7B1(void) { 14088 int _fpu_cmp = 0; 14089 uint32_t _cf = 0; 14090 int _df = 1; 14091 uint32_t _flag_k = FK_NONE; 14092 uint32_t _flag_a = 0, _flag_b = 0; 14093 uint32_t _itail_tgt = 0; 14094 RECOMP_REGS_LOCALS 14095 RECOMP_ENTER(0x2B01F7B1u); 14096 14097 L_2B01F7B1: 14098 ecx = MEM32(ebp + (-0xC)); /* 0x2B01F7B1: mov ecx, dword ptr [ebp - 0xc] */ 14099 edi = POP32_VAL(esp); /* 0x2B01F7B4: pop edi */ 14100 MEM32(edx + 0x4) = ebx; /* 0x2B01F7B5: mov dword ptr [edx + 4], ebx */ 14101 MEM32(edx + 0x8) = ebx; /* 0x2B01F7B8: mov dword ptr [edx + 8], ebx */ 14102 MEM32(edx + 0xC) = ebx; /* 0x2B01F7BB: mov dword ptr [edx + 0xc], ebx */ 14103 esi = POP32_VAL(esp); /* 0x2B01F7BE: pop esi */ 14104 ebx = POP32_VAL(esp); /* 0x2B01F7BF: pop ebx */ 14105 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F7C0: mov dword ptr fs:[0], ecx */ 14106 esp = ebp; /* 0x2B01F7C7: mov esp, ebp */ 14107 ebp = POP32_VAL(esp); /* 0x2B01F7C9: pop ebp */ 14108 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F7CA: ret */ 14109 RECOMP_REGS_OUT(); 14110 } 14111 14112 void sub_2B01F7D0(void) { 14113 int _fpu_cmp = 0; 14114 uint32_t _cf = 0; 14115 int _df = 1; 14116 uint32_t _flag_k = FK_NONE; 14117 uint32_t _flag_a = 0, _flag_b = 0; 14118 uint32_t _itail_tgt = 0; 14119 RECOMP_REGS_LOCALS 14120 RECOMP_ENTER(0x2B01F7D0u); 14121 14122 L_2B01F7D0: 14123 PUSH32(esp, ebx); /* 0x2B01F7D0: push ebx */ 14124 PUSH32(esp, esi); /* 0x2B01F7D1: push esi */ 14125 PUSH32(esp, edi); /* 0x2B01F7D2: push edi */ 14126 esi = ecx; /* 0x2B01F7D3: mov esi, ecx */ 14127 RECOMP_ICALL(0x2B038010u); /* 0x2B01F7D5: call 0x2b038010 */ /* not lifted */ 14128 RECOMP_FLAGS_IN(); 14129 RECOMP_ICALL(MEM32(0x2B0B60A4)); /* 0x2B01F7DA: call dword ptr [0x2b0b60a4] */ 14130 RECOMP_FLAGS_IN(); 14131 PUSH32(esp, 0x2Au); /* 0x2B01F7E0: push 0x2a */ 14132 PUSH32(esp, 2); /* 0x2B01F7E2: push 2 */ 14133 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B01F7E4: call dword ptr [0x2b0b53cc] */ 14134 RECOMP_FLAGS_IN(); 14135 ecx = eax; /* 0x2B01F7EA: mov ecx, eax */ 14136 RECOMP_ICALL(MEM32(0x2B0B53C8)); /* 0x2B01F7EC: call dword ptr [0x2b0b53c8] */ 14137 RECOMP_FLAGS_IN(); 14138 SET_LO8(eax, MEM8(0x2B0EE780)); /* 0x2B01F7F2: mov al, byte ptr [0x2b0ee780] */ 14139 /* test LO8(eax), 1 */ /* 0x2B01F7F7: test al, 1 */ 14140 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 14141 _cf = 0; 14142 _flag_k = FK_NARROW(FK_TEST, 24); 14143 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01F819; /* 0x2B01F7F9: jne 0x2b01f819 */ 14144 L_2B01F7FB: 14145 SET_LO8(ebx, LO8(eax)); /* 0x2B01F7FB: mov bl, al */ 14146 _flag_a = (uint32_t)((LO8(ebx) | 1)) << 24; _flag_b = (uint32_t)((LO8(ebx) | 1)) << 24; 14147 SET_LO8(ebx, LO8(ebx) | 1); /* 0x2B01F7FD: or bl, 1 */ 14148 _cf = 0; 14149 _flag_k = FK_NARROW(FK_TEST, 24); 14150 PUSH32(esp, 0x2B0E3838u); /* 0x2B01F800: push 0x2b0e3838 */ 14151 MEM8(0x2B0EE780) = (uint8_t)(LO8(ebx)); /* 0x2B01F805: mov byte ptr [0x2b0ee780], bl */ 14152 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B01F80B: call dword ptr [0x2b0b60bc] */ 14153 RECOMP_FLAGS_IN(); 14154 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14155 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14156 esp = esp + 4; /* 0x2B01F811: add esp, 4 */ 14157 _flag_k = FK_ADD; 14158 MEM32(0x2B0EE77C) = eax; /* 0x2B01F814: mov dword ptr [0x2b0ee77c], eax */ 14159 L_2B01F819: 14160 eax = MEM32(0x2B0EE77C); /* 0x2B01F819: mov eax, dword ptr [0x2b0ee77c] */ 14161 PUSH32(esp, eax); /* 0x2B01F81E: push eax */ 14162 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B01F81F: call dword ptr [0x2b0b60b8] */ 14163 RECOMP_FLAGS_IN(); 14164 ecx = MEM32(esi + 0x18); /* 0x2B01F825: mov ecx, dword ptr [esi + 0x18] */ 14165 edi = MEM32(0x2B0B5BAC); /* 0x2B01F828: mov edi, dword ptr [0x2b0b5bac] */ 14166 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14167 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14168 esp = esp + 4; /* 0x2B01F82E: add esp, 4 */ 14169 _flag_k = FK_ADD; 14170 RECOMP_ICALL(edi); /* 0x2B01F831: call edi */ 14171 RECOMP_FLAGS_IN(); 14172 ecx = MEM32(esi + 0x1C); /* 0x2B01F833: mov ecx, dword ptr [esi + 0x1c] */ 14173 ebx = MEM32(0x2B0B5B34); /* 0x2B01F836: mov ebx, dword ptr [0x2b0b5b34] */ 14174 RECOMP_ICALL(ebx); /* 0x2B01F83C: call ebx */ 14175 RECOMP_FLAGS_IN(); 14176 ecx = MEM32(0x2B0B6048); /* 0x2B01F83E: mov ecx, dword ptr [0x2b0b6048] */ 14177 ecx = MEM32(ecx); /* 0x2B01F844: mov ecx, dword ptr [ecx] */ 14178 PUSH32(esp, 1); /* 0x2B01F846: push 1 */ 14179 PUSH32(esp, 0x2B0E3828u); /* 0x2B01F848: push 0x2b0e3828 */ 14180 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B01F84D: call dword ptr [0x2b0b602c] */ 14181 RECOMP_FLAGS_IN(); 14182 /* cmp eax, 1 */ /* 0x2B01F853: cmp eax, 1 */ 14183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14185 _flag_k = FK_CMP; 14186 MEM32(esi + 0x84) = eax; /* 0x2B01F856: mov dword ptr [esi + 0x84], eax */ 14187 if (CMP_L(_flag_a, _flag_b)) goto L_2B01F863; /* 0x2B01F85C: jl 0x2b01f863 */ 14188 L_2B01F85E: 14189 /* cmp eax, 7 */ /* 0x2B01F85E: cmp eax, 7 */ 14190 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(7); 14191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14192 _flag_k = FK_CMP; 14193 if (CMP_LE(_flag_a, _flag_b)) goto L_2B01F86D; /* 0x2B01F861: jle 0x2b01f86d */ 14194 L_2B01F863: 14195 ecx = MEM32(esi + 0x10); /* 0x2B01F863: mov ecx, dword ptr [esi + 0x10] */ 14196 RECOMP_ICALL(edi); /* 0x2B01F866: call edi */ 14197 RECOMP_FLAGS_IN(); 14198 ecx = MEM32(esi + 0x14); /* 0x2B01F868: mov ecx, dword ptr [esi + 0x14] */ 14199 RECOMP_ICALL(ebx); /* 0x2B01F86B: call ebx */ 14200 RECOMP_FLAGS_IN(); 14201 L_2B01F86D: 14202 edi = POP32_VAL(esp); /* 0x2B01F86D: pop edi */ 14203 esi = POP32_VAL(esp); /* 0x2B01F86E: pop esi */ 14204 ebx = POP32_VAL(esp); /* 0x2B01F86F: pop ebx */ 14205 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F870: ret */ 14206 RECOMP_REGS_OUT(); 14207 } 14208 14209 void sub_2B01F880(void) { 14210 int _fpu_cmp = 0; 14211 uint32_t _cf = 0; 14212 int _df = 1; 14213 uint32_t _flag_k = FK_NONE; 14214 uint32_t _flag_a = 0, _flag_b = 0; 14215 uint32_t _itail_tgt = 0; 14216 RECOMP_REGS_LOCALS 14217 RECOMP_ENTER(0x2B01F880u); 14218 14219 L_2B01F880: 14220 PUSH32(esp, ebp); /* 0x2B01F880: push ebp */ 14221 ebp = esp; /* 0x2B01F881: mov ebp, esp */ 14222 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01F883: push -1 */ 14223 PUSH32(esp, 0x2B0AD426u); /* 0x2B01F885: push 0x2b0ad426 */ 14224 eax = MEM32(FS_BASE + (0)); /* 0x2B01F88A: mov eax, dword ptr fs:[0] */ 14225 PUSH32(esp, eax); /* 0x2B01F890: push eax */ 14226 MEM32(FS_BASE + (0)) = esp; /* 0x2B01F891: mov dword ptr fs:[0], esp */ 14227 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 14228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14229 esp = esp - 0x10u; /* 0x2B01F898: sub esp, 0x10 */ 14230 _flag_k = FK_CMP; 14231 PUSH32(esp, ebx); /* 0x2B01F89B: push ebx */ 14232 ebx = ecx; /* 0x2B01F89C: mov ebx, ecx */ 14233 PUSH32(esp, esi); /* 0x2B01F89E: push esi */ 14234 PUSH32(esp, edi); /* 0x2B01F89F: push edi */ 14235 MEM32(ebp + (-0x18)) = ebx; /* 0x2B01F8A0: mov dword ptr [ebp - 0x18], ebx */ 14236 MEM32(ebx) = 0x2B0B64E8u; /* 0x2B01F8A3: mov dword ptr [ebx], 0x2b0b64e8 */ 14237 ecx = MEM32(ebx + 0x9C); /* 0x2B01F8A9: mov ecx, dword ptr [ebx + 0x9c] */ 14238 /* test ecx, ecx */ /* 0x2B01F8AF: test ecx, ecx */ 14239 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14240 _cf = 0; 14241 _flag_k = FK_TEST; 14242 MEM32(ebp + (-0x4)) = 1; /* 0x2B01F8B1: mov dword ptr [ebp - 4], 1 */ 14243 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F8C0; /* 0x2B01F8B8: je 0x2b01f8c0 */ 14244 L_2B01F8BA: 14245 eax = MEM32(ecx); /* 0x2B01F8BA: mov eax, dword ptr [ecx] */ 14246 PUSH32(esp, 1); /* 0x2B01F8BC: push 1 */ 14247 RECOMP_ICALL(MEM32(eax)); /* 0x2B01F8BE: call dword ptr [eax] */ 14248 RECOMP_FLAGS_IN(); 14249 L_2B01F8C0: 14250 esi = MEM32(ebx + 0xA0); /* 0x2B01F8C0: mov esi, dword ptr [ebx + 0xa0] */ 14251 /* test esi, esi */ /* 0x2B01F8C6: test esi, esi */ 14252 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14253 _cf = 0; 14254 _flag_k = FK_TEST; 14255 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F8DB; /* 0x2B01F8C8: je 0x2b01f8db */ 14256 L_2B01F8CA: 14257 ecx = esi; /* 0x2B01F8CA: mov ecx, esi */ 14258 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B01F8CC: call dword ptr [0x2b0b5b30] */ 14259 RECOMP_FLAGS_IN(); 14260 PUSH32(esp, esi); /* 0x2B01F8D2: push esi */ 14261 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F8D3: call 0x2b0ab1ba */ /* not lifted */ 14262 RECOMP_FLAGS_IN(); 14263 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14264 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14265 esp = esp + 4; /* 0x2B01F8D8: add esp, 4 */ 14266 _flag_k = FK_ADD; 14267 L_2B01F8DB: 14268 esi = MEM32(ebx + 0xA4); /* 0x2B01F8DB: mov esi, dword ptr [ebx + 0xa4] */ 14269 /* test esi, esi */ /* 0x2B01F8E1: test esi, esi */ 14270 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14271 _cf = 0; 14272 _flag_k = FK_TEST; 14273 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F8F6; /* 0x2B01F8E3: je 0x2b01f8f6 */ 14274 L_2B01F8E5: 14275 ecx = esi; /* 0x2B01F8E5: mov ecx, esi */ 14276 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B01F8E7: call dword ptr [0x2b0b5b2c] */ 14277 RECOMP_FLAGS_IN(); 14278 PUSH32(esp, esi); /* 0x2B01F8ED: push esi */ 14279 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F8EE: call 0x2b0ab1ba */ /* not lifted */ 14280 RECOMP_FLAGS_IN(); 14281 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14282 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14283 esp = esp + 4; /* 0x2B01F8F3: add esp, 4 */ 14284 _flag_k = FK_ADD; 14285 L_2B01F8F6: 14286 edi = MEM32(ebx + 0x8C); /* 0x2B01F8F6: mov edi, dword ptr [ebx + 0x8c] */ 14287 ecx = MEM32(ebx + 0x98); /* 0x2B01F8FC: mov ecx, dword ptr [ebx + 0x98] */ 14288 /* test ecx, ecx */ /* 0x2B01F902: test ecx, ecx */ 14289 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14290 _cf = 0; 14291 _flag_k = FK_TEST; 14292 eax = MEM32(edi); /* 0x2B01F904: mov eax, dword ptr [edi] */ 14293 esi = ebx + 0x88; /* 0x2B01F906: lea esi, [ebx + 0x88] */ 14294 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01F90C: mov byte ptr [ebp - 4], 0 */ 14295 MEM32(ebp + (-0x10)) = eax; /* 0x2B01F910: mov dword ptr [ebp - 0x10], eax */ 14296 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01F947; /* 0x2B01F913: je 0x2b01f947 */ 14297 L_2B01F915: 14298 ecx = eax; /* 0x2B01F915: mov ecx, eax */ 14299 /* cmp eax, ecx */ /* 0x2B01F917: cmp eax, ecx */ 14300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14302 _flag_k = FK_CMP; 14303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F947; /* 0x2B01F919: jne 0x2b01f947 */ 14304 L_2B01F91B: 14305 /* cmp edi, edi */ /* 0x2B01F91B: cmp edi, edi */ 14306 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14308 _flag_k = FK_CMP; 14309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F947; /* 0x2B01F91D: jne 0x2b01f947 */ 14310 L_2B01F91F: 14311 ecx = MEM32(edi + 0x4); /* 0x2B01F91F: mov ecx, dword ptr [edi + 4] */ 14312 PUSH32(esp, ecx); /* 0x2B01F922: push ecx */ 14313 ecx = esi; /* 0x2B01F923: mov ecx, esi */ 14314 RECOMP_ICALL(0x2B021560u); /* 0x2B01F925: call 0x2b021560 */ /* not lifted */ 14315 RECOMP_FLAGS_IN(); 14316 eax = MEM32(esi + 0x8); /* 0x2B01F92A: mov eax, dword ptr [esi + 8] */ 14317 edx = MEM32(esi + 0x4); /* 0x2B01F92D: mov edx, dword ptr [esi + 4] */ 14318 MEM32(edx + 0x4) = eax; /* 0x2B01F930: mov dword ptr [edx + 4], eax */ 14319 eax = MEM32(esi + 0x4); /* 0x2B01F933: mov eax, dword ptr [esi + 4] */ 14320 MEM32(esi + 0x10) = 0; /* 0x2B01F936: mov dword ptr [esi + 0x10], 0 */ 14321 MEM32(eax) = eax; /* 0x2B01F93D: mov dword ptr [eax], eax */ 14322 eax = MEM32(esi + 0x4); /* 0x2B01F93F: mov eax, dword ptr [esi + 4] */ 14323 MEM32(eax + 0x8) = eax; /* 0x2B01F942: mov dword ptr [eax + 8], eax */ 14324 goto L_2B01F96C; /* 0x2B01F945: jmp 0x2b01f96c */ 14325 L_2B01F947: 14326 /* cmp eax, edi */ /* 0x2B01F947: cmp eax, edi */ 14327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14329 _flag_k = FK_CMP; 14330 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01F96C; /* 0x2B01F949: je 0x2b01f96c */ 14331 L_2B01F94B: 14332 ecx = ebp + (-0x10); /* 0x2B01F94B: lea ecx, [ebp - 0x10] */ 14333 MEM32(ebp + (-0x14)) = eax; /* 0x2B01F94E: mov dword ptr [ebp - 0x14], eax */ 14334 RECOMP_ICALL(0x2B021870u); /* 0x2B01F951: call 0x2b021870 */ /* not lifted */ 14335 RECOMP_FLAGS_IN(); 14336 ecx = MEM32(ebp + (-0x14)); /* 0x2B01F956: mov ecx, dword ptr [ebp - 0x14] */ 14337 PUSH32(esp, ecx); /* 0x2B01F959: push ecx */ 14338 edx = ebp + (-0x1C); /* 0x2B01F95A: lea edx, [ebp - 0x1c] */ 14339 PUSH32(esp, edx); /* 0x2B01F95D: push edx */ 14340 ecx = esi; /* 0x2B01F95E: mov ecx, esi */ 14341 RECOMP_ICALL(0x2B021100u); /* 0x2B01F960: call 0x2b021100 */ /* not lifted */ 14342 RECOMP_FLAGS_IN(); 14343 eax = MEM32(ebp + (-0x10)); /* 0x2B01F965: mov eax, dword ptr [ebp - 0x10] */ 14344 /* cmp eax, edi */ /* 0x2B01F968: cmp eax, edi */ 14345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14347 _flag_k = FK_CMP; 14348 RECOMP_BACKEDGE(); 14349 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01F94B; /* 0x2B01F96A: jne 0x2b01f94b */ 14350 L_2B01F96C: 14351 eax = MEM32(esi + 0x4); /* 0x2B01F96C: mov eax, dword ptr [esi + 4] */ 14352 PUSH32(esp, eax); /* 0x2B01F96F: push eax */ 14353 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F970: call 0x2b0ab1ba */ /* not lifted */ 14354 RECOMP_FLAGS_IN(); 14355 eax = MEM32(esi + 0x8); /* 0x2B01F975: mov eax, dword ptr [esi + 8] */ 14356 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14357 edi = 0; /* 0x2B01F978: xor edi, edi */ 14358 _cf = 0; 14359 _flag_k = FK_TEST; 14360 PUSH32(esp, eax); /* 0x2B01F97A: push eax */ 14361 MEM32(esi + 0x4) = edi; /* 0x2B01F97B: mov dword ptr [esi + 4], edi */ 14362 MEM32(esi + 0x10) = edi; /* 0x2B01F97E: mov dword ptr [esi + 0x10], edi */ 14363 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01F981: call 0x2b0ab1ba */ /* not lifted */ 14364 RECOMP_FLAGS_IN(); 14365 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14367 esp = esp + 8; /* 0x2B01F986: add esp, 8 */ 14368 _flag_k = FK_ADD; 14369 ecx = ebx; /* 0x2B01F989: mov ecx, ebx */ 14370 MEM32(esi + 0x8) = edi; /* 0x2B01F98B: mov dword ptr [esi + 8], edi */ 14371 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01F98E: mov dword ptr [ebp - 4], 0xffffffff */ 14372 RECOMP_ICALL(0x2B038470u); /* 0x2B01F995: call 0x2b038470 */ /* not lifted */ 14373 RECOMP_FLAGS_IN(); 14374 ecx = MEM32(ebp + (-0xC)); /* 0x2B01F99A: mov ecx, dword ptr [ebp - 0xc] */ 14375 edi = POP32_VAL(esp); /* 0x2B01F99D: pop edi */ 14376 esi = POP32_VAL(esp); /* 0x2B01F99E: pop esi */ 14377 ebx = POP32_VAL(esp); /* 0x2B01F99F: pop ebx */ 14378 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01F9A0: mov dword ptr fs:[0], ecx */ 14379 esp = ebp; /* 0x2B01F9A7: mov esp, ebp */ 14380 ebp = POP32_VAL(esp); /* 0x2B01F9A9: pop ebp */ 14381 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01F9AA: ret */ 14382 RECOMP_REGS_OUT(); 14383 } 14384 14385 void sub_2B01F9B0(void) { 14386 int _fpu_cmp = 0; 14387 uint32_t _cf = 0; 14388 int _df = 1; 14389 uint32_t _flag_k = FK_NONE; 14390 uint32_t _flag_a = 0, _flag_b = 0; 14391 uint32_t _itail_tgt = 0; 14392 RECOMP_REGS_LOCALS 14393 RECOMP_ENTER(0x2B01F9B0u); 14394 14395 L_2B01F9B0: 14396 PUSH32(esp, ebp); /* 0x2B01F9B0: push ebp */ 14397 ebp = esp; /* 0x2B01F9B1: mov ebp, esp */ 14398 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x88u); 14399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14400 esp = esp - 0x88u; /* 0x2B01F9B3: sub esp, 0x88 */ 14401 _flag_k = FK_CMP; 14402 PUSH32(esp, ebx); /* 0x2B01F9B9: push ebx */ 14403 ebx = ecx; /* 0x2B01F9BA: mov ebx, ecx */ 14404 /* cmp MEM32(ebx + 0x5C), 0x12u */ /* 0x2B01F9BC: cmp dword ptr [ebx + 0x5c], 0x12 */ 14405 _flag_a = (uint32_t)(MEM32(ebx + 0x5C)); _flag_b = (uint32_t)(0x12u); 14406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14407 _flag_k = FK_CMP; 14408 PUSH32(esp, esi); /* 0x2B01F9C0: push esi */ 14409 PUSH32(esp, edi); /* 0x2B01F9C1: push edi */ 14410 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01FC07; /* 0x2B01F9C2: jne 0x2b01fc07 */ 14411 L_2B01F9C8: 14412 RECOMP_ICALL(0x2B01A970u); /* 0x2B01F9C8: call 0x2b01a970 */ /* not lifted */ 14413 RECOMP_FLAGS_IN(); 14414 eax = 0x2B0EE804u; /* 0x2B01F9CD: mov eax, 0x2b0ee804 */ 14415 /* test eax, eax */ /* 0x2B01F9D2: test eax, eax */ 14416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14417 _cf = 0; 14418 _flag_k = FK_TEST; 14419 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01FC07; /* 0x2B01F9D4: je 0x2b01fc07 */ 14420 L_2B01F9DA: 14421 MEM32(ebp + (-0x4)) = 0; /* 0x2B01F9DA: mov dword ptr [ebp - 4], 0 */ 14422 MEM32(ebp + (-0x38)) = eax; /* 0x2B01F9E1: mov dword ptr [ebp - 0x38], eax */ 14423 L_2B01F9E4: 14424 eax = MEM32(eax); /* 0x2B01F9E4: mov eax, dword ptr [eax] */ 14425 /* test eax, eax */ /* 0x2B01F9E6: test eax, eax */ 14426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14427 _cf = 0; 14428 _flag_k = FK_TEST; 14429 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01FBEC; /* 0x2B01F9E8: je 0x2b01fbec */ 14430 L_2B01F9EE: 14431 ecx = MEM32(ebx + 0x64); /* 0x2B01F9EE: mov ecx, dword ptr [ebx + 0x64] */ 14432 edi = MEM32(eax + 0x78); /* 0x2B01F9F1: mov edi, dword ptr [eax + 0x78] */ 14433 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x28u); 14434 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14435 ecx = ecx + 0x28u; /* 0x2B01F9F4: add ecx, 0x28 */ 14436 _flag_k = FK_ADD; 14437 edx = MEM32(ecx); /* 0x2B01F9F7: mov edx, dword ptr [ecx] */ 14438 MEM32(ebp + (-0x44)) = edx; /* 0x2B01F9F9: mov dword ptr [ebp - 0x44], edx */ 14439 eax = MEM32(ecx + 0x4); /* 0x2B01F9FC: mov eax, dword ptr [ecx + 4] */ 14440 MEM32(ebp + (-0x40)) = eax; /* 0x2B01F9FF: mov dword ptr [ebp - 0x40], eax */ 14441 ecx = MEM32(ecx + 0x8); /* 0x2B01FA02: mov ecx, dword ptr [ecx + 8] */ 14442 MEM32(ebp + (-0x3C)) = ecx; /* 0x2B01FA05: mov dword ptr [ebp - 0x3c], ecx */ 14443 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B01FA08: call dword ptr [0x2b0b5b64] */ 14444 RECOMP_FLAGS_IN(); 14445 edx = MEM32(eax + 0x108); /* 0x2B01FA0E: mov edx, dword ptr [eax + 0x108] */ 14446 eax = MEM32(eax + 0x10C); /* 0x2B01FA14: mov eax, dword ptr [eax + 0x10c] */ 14447 esi = MEM32(0x2B0B5690); /* 0x2B01FA1A: mov esi, dword ptr [0x2b0b5690] */ 14448 MEM32(ebp + (-0x64)) = edx; /* 0x2B01FA20: mov dword ptr [ebp - 0x64], edx */ 14449 MEM32(ebp + (-0x60)) = eax; /* 0x2B01FA23: mov dword ptr [ebp - 0x60], eax */ 14450 RECOMP_ICALL(esi); /* 0x2B01FA26: call esi */ 14451 RECOMP_FLAGS_IN(); 14452 ecx = eax; /* 0x2B01FA28: mov ecx, eax */ 14453 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B01FA2A: call dword ptr [0x2b0b5688] */ 14454 RECOMP_FLAGS_IN(); 14455 fp_push((double)(int32_t)MEM32(ebp + (-0x60))); /* 0x2B01FA30: fild dword ptr [ebp - 0x60] */ 14456 MEM32(ebp + (-0x48)) = eax; /* 0x2B01FA33: mov dword ptr [ebp - 0x48], eax */ 14457 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x5C)) = _v; } /* 0x2B01FA36: fstp dword ptr [ebp - 0x5c] */ 14458 RECOMP_ICALL(esi); /* 0x2B01FA39: call esi */ 14459 RECOMP_FLAGS_IN(); 14460 ecx = eax; /* 0x2B01FA3B: mov ecx, eax */ 14461 RECOMP_ICALL(MEM32(0x2B0B568C)); /* 0x2B01FA3D: call dword ptr [0x2b0b568c] */ 14462 RECOMP_FLAGS_IN(); 14463 MEM32(ebp + (-0x58)) = eax; /* 0x2B01FA43: mov dword ptr [ebp - 0x58], eax */ 14464 fp_push((double)(int32_t)MEM32(ebp + (-0x58))); /* 0x2B01FA46: fild dword ptr [ebp - 0x58] */ 14465 eax = MEM32(ebx + 0x64); /* 0x2B01FA49: mov eax, dword ptr [ebx + 0x64] */ 14466 esi = eax + 0x34; /* 0x2B01FA4C: lea esi, [eax + 0x34] */ 14467 MEM32(ebp + (-0x4C)) = 0x3F800000u; /* 0x2B01FA4F: mov dword ptr [ebp - 0x4c], 0x3f800000 */ 14468 _st[0] = (double)*(float*)ADDR(ebp + (-0x5C)) / _st[0]; /* 0x2B01FA56: fdivr dword ptr [ebp - 0x5c] */ 14469 _st[0] += _st[0]; /* 0x2B01FA59: fadd st(0), st(0) */ 14470 _st[0] -= (double)*(float*)ADDR(0x2B0B63D0); /* 0x2B01FA5B: fsub dword ptr [0x2b0b63d0] */ 14471 fp_push(*(float*)&MEM32(eax + 0x44)); /* 0x2B01FA61: fld dword ptr [eax + 0x44] */ 14472 eax = MEM32(ebp + (-0x4C)); /* 0x2B01FA64: mov eax, dword ptr [ebp - 0x4c] */ 14473 _st[0] *= (double)*(float*)ADDR(0x2B0B6530); /* 0x2B01FA67: fmul dword ptr [0x2b0b6530] */ 14474 MEM32(ebp + (-0x20)) = eax; /* 0x2B01FA6D: mov dword ptr [ebp - 0x20], eax */ 14475 _st[0] = tan(_st[0]); fp_push(1.0); _fpu_cmp = 1; /* 0x2B01FA70: fptan */ 14476 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B01FA72: fstp st(0) */ 14477 fp_push((double)(int32_t)MEM32(ebp + (-0x64))); /* 0x2B01FA74: fild dword ptr [ebp - 0x64] */ 14478 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + (-0x48)); /* 0x2B01FA77: fidiv dword ptr [ebp - 0x48] */ 14479 _st[0] += _st[0]; /* 0x2B01FA7A: fadd st(0), st(0) */ 14480 _st[0] -= (double)*(float*)ADDR(0x2B0B63D0); /* 0x2B01FA7C: fsub dword ptr [0x2b0b63d0] */ 14481 _st[0] *= _st[1]; /* 0x2B01FA82: fmul st(1) */ 14482 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x54)) = _v; } /* 0x2B01FA84: fstp dword ptr [ebp - 0x54] */ 14483 ecx = MEM32(ebp + (-0x54)); /* 0x2B01FA87: mov ecx, dword ptr [ebp - 0x54] */ 14484 fp_push(*(float*)&MEM32(0x2B0EE7C8)); /* 0x2B01FA8A: fld dword ptr [0x2b0ee7c8] */ 14485 MEM32(ebp + (-0x28)) = ecx; /* 0x2B01FA90: mov dword ptr [ebp - 0x28], ecx */ 14486 _st[0] = _st[1] / _st[0]; /* 0x2B01FA93: fdivr st(1) */ 14487 ecx = esi; /* 0x2B01FA95: mov ecx, esi */ 14488 _st[0] *= _st[2]; /* 0x2B01FA97: fmul st(2) */ 14489 _st[0] = -_st[0]; /* 0x2B01FA99: fchs */ 14490 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x50)) = _v; } /* 0x2B01FA9B: fstp dword ptr [ebp - 0x50] */ 14491 edx = MEM32(ebp + (-0x50)); /* 0x2B01FA9E: mov edx, dword ptr [ebp - 0x50] */ 14492 MEM32(ebp + (-0x24)) = edx; /* 0x2B01FAA1: mov dword ptr [ebp - 0x24], edx */ 14493 edx = MEM32(ecx); /* 0x2B01FAA4: mov edx, dword ptr [ecx] */ 14494 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B01FAA6: fstp st(0) */ 14495 eax = MEM32(ecx + 0x4); /* 0x2B01FAA8: mov eax, dword ptr [ecx + 4] */ 14496 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B01FAAB: fstp st(0) */ 14497 ecx = MEM32(ecx + 0x8); /* 0x2B01FAAD: mov ecx, dword ptr [ecx + 8] */ 14498 MEM32(ebp + (-0x7C)) = edx; /* 0x2B01FAB0: mov dword ptr [ebp - 0x7c], edx */ 14499 edx = ebp + (-0x28); /* 0x2B01FAB3: lea edx, [ebp - 0x28] */ 14500 MEM32(ebp + (-0x74)) = ecx; /* 0x2B01FAB6: mov dword ptr [ebp - 0x74], ecx */ 14501 PUSH32(esp, edx); /* 0x2B01FAB9: push edx */ 14502 ecx = ebp + (-0x7C); /* 0x2B01FABA: lea ecx, [ebp - 0x7c] */ 14503 MEM32(ebp + (-0x78)) = eax; /* 0x2B01FABD: mov dword ptr [ebp - 0x78], eax */ 14504 RECOMP_ICALL(MEM32(0x2B0B60D8)); /* 0x2B01FAC0: call dword ptr [0x2b0b60d8] */ 14505 RECOMP_FLAGS_IN(); 14506 ecx = MEM32(eax); /* 0x2B01FAC6: mov ecx, dword ptr [eax] */ 14507 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B01FAC8: mov dword ptr [ebp - 0x1c], ecx */ 14508 edx = MEM32(eax + 0x4); /* 0x2B01FACB: mov edx, dword ptr [eax + 4] */ 14509 MEM32(ebp + (-0x18)) = edx; /* 0x2B01FACE: mov dword ptr [ebp - 0x18], edx */ 14510 eax = MEM32(eax + 0x8); /* 0x2B01FAD1: mov eax, dword ptr [eax + 8] */ 14511 MEM32(ebp + (-0x14)) = eax; /* 0x2B01FAD4: mov dword ptr [ebp - 0x14], eax */ 14512 ecx = esi; /* 0x2B01FAD7: mov ecx, esi */ 14513 edx = MEM32(ecx); /* 0x2B01FAD9: mov edx, dword ptr [ecx] */ 14514 eax = MEM32(ecx + 0x4); /* 0x2B01FADB: mov eax, dword ptr [ecx + 4] */ 14515 ecx = MEM32(ecx + 0x8); /* 0x2B01FADE: mov ecx, dword ptr [ecx + 8] */ 14516 MEM32(ebp + (-0x88)) = edx; /* 0x2B01FAE1: mov dword ptr [ebp - 0x88], edx */ 14517 edx = ebp + (-0x1C); /* 0x2B01FAE7: lea edx, [ebp - 0x1c] */ 14518 MEM32(ebp + (-0x80)) = ecx; /* 0x2B01FAEA: mov dword ptr [ebp - 0x80], ecx */ 14519 PUSH32(esp, edx); /* 0x2B01FAED: push edx */ 14520 ecx = ebp + (-0x88); /* 0x2B01FAEE: lea ecx, [ebp - 0x88] */ 14521 MEM32(ebp + (-0x84)) = eax; /* 0x2B01FAF4: mov dword ptr [ebp - 0x84], eax */ 14522 RECOMP_ICALL(MEM32(0x2B0B60D8)); /* 0x2B01FAFA: call dword ptr [0x2b0b60d8] */ 14523 RECOMP_FLAGS_IN(); 14524 fp_push(*(float*)&MEM32(esi + 0xC)); /* 0x2B01FB00: fld dword ptr [esi + 0xc] */ 14525 ecx = MEM32(eax); /* 0x2B01FB03: mov ecx, dword ptr [eax] */ 14526 _st[0] += _st[0]; /* 0x2B01FB05: fadd st(0), st(0) */ 14527 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2B01FB07: fld dword ptr [ebp - 0x1c] */ 14528 MEM32(ebp + (-0x70)) = ecx; /* 0x2B01FB0A: mov dword ptr [ebp - 0x70], ecx */ 14529 edx = MEM32(eax + 0x4); /* 0x2B01FB0D: mov edx, dword ptr [eax + 4] */ 14530 _st[0] *= _st[1]; /* 0x2B01FB10: fmul st(1) */ 14531 MEM32(ebp + (-0x6C)) = edx; /* 0x2B01FB12: mov dword ptr [ebp - 0x6c], edx */ 14532 eax = MEM32(eax + 0x8); /* 0x2B01FB15: mov eax, dword ptr [eax + 8] */ 14533 PUSH32(esp, 0x40000000u); /* 0x2B01FB18: push 0x40000000 */ 14534 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2B01FB1D: fstp dword ptr [ebp - 0x1c] */ 14535 ecx = ebp + (-0x70); /* 0x2B01FB20: lea ecx, [ebp - 0x70] */ 14536 fp_push(*(float*)&MEM32(ebp + (-0x18))); /* 0x2B01FB23: fld dword ptr [ebp - 0x18] */ 14537 MEM32(ebp + (-0x68)) = eax; /* 0x2B01FB26: mov dword ptr [ebp - 0x68], eax */ 14538 _st[0] *= _st[1]; /* 0x2B01FB29: fmul st(1) */ 14539 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2B01FB2B: fstp dword ptr [ebp - 0x18] */ 14540 fp_push(*(float*)&MEM32(ebp + (-0x14))); /* 0x2B01FB2E: fld dword ptr [ebp - 0x14] */ 14541 _st[0] *= _st[1]; /* 0x2B01FB31: fmul st(1) */ 14542 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2B01FB33: fstp dword ptr [ebp - 0x14] */ 14543 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B01FB36: fstp st(0) */ 14544 RECOMP_ICALL(MEM32(0x2B0B60CC)); /* 0x2B01FB38: call dword ptr [0x2b0b60cc] */ 14545 RECOMP_FLAGS_IN(); 14546 ecx = ebp + (-0x1C); /* 0x2B01FB3E: lea ecx, [ebp - 0x1c] */ 14547 PUSH32(esp, ecx); /* 0x2B01FB41: push ecx */ 14548 ecx = ebp + (-0x28); /* 0x2B01FB42: lea ecx, [ebp - 0x28] */ 14549 RECOMP_ICALL(MEM32(0x2B0B60D4)); /* 0x2B01FB45: call dword ptr [0x2b0b60d4] */ 14550 RECOMP_FLAGS_IN(); 14551 edx = ebp + (-0x70); /* 0x2B01FB4B: lea edx, [ebp - 0x70] */ 14552 PUSH32(esp, edx); /* 0x2B01FB4E: push edx */ 14553 ecx = ebp + (-0x28); /* 0x2B01FB4F: lea ecx, [ebp - 0x28] */ 14554 RECOMP_ICALL(MEM32(0x2B0B60D4)); /* 0x2B01FB52: call dword ptr [0x2b0b60d4] */ 14555 RECOMP_FLAGS_IN(); 14556 fp_push(*(float*)&MEM32(ebp + (-0x28))); /* 0x2B01FB58: fld dword ptr [ebp - 0x28] */ 14557 /* test edi, edi */ /* 0x2B01FB5B: test edi, edi */ 14558 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14559 _cf = 0; 14560 _flag_k = FK_TEST; 14561 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B01FB5D: fmul dword ptr [0x2b0b63b8] */ 14562 ecx = MEM32(ebp + (-0x24)); /* 0x2B01FB63: mov ecx, dword ptr [ebp - 0x24] */ 14563 edx = MEM32(ebp + (-0x20)); /* 0x2B01FB66: mov edx, dword ptr [ebp - 0x20] */ 14564 eax = MEM32(ebp + (-0x28)); /* 0x2B01FB69: mov eax, dword ptr [ebp - 0x28] */ 14565 MEM32(ebp + (-0x30)) = ecx; /* 0x2B01FB6C: mov dword ptr [ebp - 0x30], ecx */ 14566 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B01FB6F: fld dword ptr [ebp - 0x30] */ 14567 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B01FB72: fmul dword ptr [0x2b0b63b8] */ 14568 ecx = MEM32(ebp + (-0x40)); /* 0x2B01FB78: mov ecx, dword ptr [ebp - 0x40] */ 14569 MEM32(ebp + (-0x2C)) = edx; /* 0x2B01FB7B: mov dword ptr [ebp - 0x2c], edx */ 14570 edx = MEM32(ebp + (-0x3C)); /* 0x2B01FB7E: mov edx, dword ptr [ebp - 0x3c] */ 14571 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x30)) = _v; } /* 0x2B01FB81: fstp dword ptr [ebp - 0x30] */ 14572 MEM32(ebp + (-0x34)) = eax; /* 0x2B01FB84: mov dword ptr [ebp - 0x34], eax */ 14573 fp_push(*(float*)&MEM32(ebp + (-0x2C))); /* 0x2B01FB87: fld dword ptr [ebp - 0x2c] */ 14574 eax = MEM32(ebp + (-0x44)); /* 0x2B01FB8A: mov eax, dword ptr [ebp - 0x44] */ 14575 _st[0] *= (double)*(float*)ADDR(0x2B0B63B8); /* 0x2B01FB8D: fmul dword ptr [0x2b0b63b8] */ 14576 MEM32(ebp + (-0x10)) = eax; /* 0x2B01FB93: mov dword ptr [ebp - 0x10], eax */ 14577 MEM32(ebp + (-0xC)) = ecx; /* 0x2B01FB96: mov dword ptr [ebp - 0xc], ecx */ 14578 MEM32(ebp + (-0x8)) = edx; /* 0x2B01FB99: mov dword ptr [ebp - 8], edx */ 14579 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x2C)) = _v; } /* 0x2B01FB9C: fstp dword ptr [ebp - 0x2c] */ 14580 fp_push(*(float*)&MEM32(ebp + (-0x44))); /* 0x2B01FB9F: fld dword ptr [ebp - 0x44] */ 14581 _st[0] += _st[1]; /* 0x2B01FBA2: fadd st(1) */ 14582 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2B01FBA4: fstp dword ptr [ebp - 0x10] */ 14583 { _st[0] = _st[0]; g_st_i64[0] = g_st_i64[0]; fp_pop(); } /* 0x2B01FBA7: fstp st(0) */ 14584 fp_push(*(float*)&MEM32(ebp + (-0xC))); /* 0x2B01FBA9: fld dword ptr [ebp - 0xc] */ 14585 _st[0] += (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B01FBAC: fadd dword ptr [ebp - 0x30] */ 14586 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0xC)) = _v; } /* 0x2B01FBAF: fstp dword ptr [ebp - 0xc] */ 14587 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B01FBB2: fld dword ptr [ebp - 8] */ 14588 _st[0] += (double)*(float*)ADDR(ebp + (-0x2C)); /* 0x2B01FBB5: fadd dword ptr [ebp - 0x2c] */ 14589 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B01FBB8: fstp dword ptr [ebp - 8] */ 14590 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01FBEC; /* 0x2B01FBBB: je 0x2b01fbec */ 14591 L_2B01FBBD: 14592 ecx = MEM32(ebp + (-0x10)); /* 0x2B01FBBD: mov ecx, dword ptr [ebp - 0x10] */ 14593 edx = MEM32(ebp + (-0xC)); /* 0x2B01FBC0: mov edx, dword ptr [ebp - 0xc] */ 14594 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 14595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14596 esp = esp - 0xCu; /* 0x2B01FBC3: sub esp, 0xc */ 14597 _flag_k = FK_CMP; 14598 eax = esp; /* 0x2B01FBC6: mov eax, esp */ 14599 MEM32(eax) = ecx; /* 0x2B01FBC8: mov dword ptr [eax], ecx */ 14600 ecx = MEM32(ebp + (-0x8)); /* 0x2B01FBCA: mov ecx, dword ptr [ebp - 8] */ 14601 MEM32(eax + 0x4) = edx; /* 0x2B01FBCD: mov dword ptr [eax + 4], edx */ 14602 edx = ebp + (-0x44); /* 0x2B01FBD0: lea edx, [ebp - 0x44] */ 14603 MEM32(eax + 0x8) = ecx; /* 0x2B01FBD3: mov dword ptr [eax + 8], ecx */ 14604 PUSH32(esp, edx); /* 0x2B01FBD6: push edx */ 14605 ecx = edi; /* 0x2B01FBD7: mov ecx, edi */ 14606 RECOMP_ICALL(MEM32(0x2B0B562C)); /* 0x2B01FBD9: call dword ptr [0x2b0b562c] */ 14607 RECOMP_FLAGS_IN(); 14608 /* test LO8(eax), LO8(eax) */ /* 0x2B01FBDF: test al, al */ 14609 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14610 _cf = 0; 14611 _flag_k = FK_NARROW(FK_TEST, 24); 14612 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01FBEC; /* 0x2B01FBE1: je 0x2b01fbec */ 14613 L_2B01FBE3: 14614 eax = MEM32(ebp + (-0x4)); /* 0x2B01FBE3: mov eax, dword ptr [ebp - 4] */ 14615 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xAu); 14616 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14617 eax = eax + 0xAu; /* 0x2B01FBE6: add eax, 0xa */ 14618 _flag_k = FK_ADD; 14619 MEM32(ebx + 0x5C) = eax; /* 0x2B01FBE9: mov dword ptr [ebx + 0x5c], eax */ 14620 L_2B01FBEC: 14621 eax = MEM32(ebp + (-0x38)); /* 0x2B01FBEC: mov eax, dword ptr [ebp - 0x38] */ 14622 esi = MEM32(ebp + (-0x4)); /* 0x2B01FBEF: mov esi, dword ptr [ebp - 4] */ 14623 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 14624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14625 eax = eax + 4; /* 0x2B01FBF2: add eax, 4 */ 14626 _flag_k = FK_ADD; 14627 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 14628 esi = esi + 1; /* 0x2B01FBF5: inc esi */ 14629 _flag_k = FK_INC; 14630 /* cmp eax, 0x2B0EE820u */ /* 0x2B01FBF6: cmp eax, 0x2b0ee820 */ 14631 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2B0EE820u); 14632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14633 _flag_k = FK_CMP; 14634 MEM32(ebp + (-0x4)) = esi; /* 0x2B01FBFB: mov dword ptr [ebp - 4], esi */ 14635 MEM32(ebp + (-0x38)) = eax; /* 0x2B01FBFE: mov dword ptr [ebp - 0x38], eax */ 14636 RECOMP_BACKEDGE(); 14637 if (CMP_L(_flag_a, _flag_b)) goto L_2B01F9E4; /* 0x2B01FC01: jl 0x2b01f9e4 */ 14638 L_2B01FC07: 14639 ecx = ebx; /* 0x2B01FC07: mov ecx, ebx */ 14640 RECOMP_ICALL(0x2B01FC20u); /* 0x2B01FC09: call 0x2b01fc20 */ /* not lifted */ 14641 RECOMP_FLAGS_IN(); 14642 ecx = ebx; /* 0x2B01FC0E: mov ecx, ebx */ 14643 RECOMP_ICALL(0x2B038A40u); /* 0x2B01FC10: call 0x2b038a40 */ /* not lifted */ 14644 RECOMP_FLAGS_IN(); 14645 edi = POP32_VAL(esp); /* 0x2B01FC15: pop edi */ 14646 esi = POP32_VAL(esp); /* 0x2B01FC16: pop esi */ 14647 ebx = POP32_VAL(esp); /* 0x2B01FC17: pop ebx */ 14648 esp = ebp; /* 0x2B01FC18: mov esp, ebp */ 14649 ebp = POP32_VAL(esp); /* 0x2B01FC1A: pop ebp */ 14650 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01FC1B: ret */ 14651 RECOMP_REGS_OUT(); 14652 } 14653 14654 void sub_2B01FC20(void) { 14655 int _fpu_cmp = 0; 14656 uint32_t _cf = 0; 14657 int _df = 1; 14658 uint32_t _flag_k = FK_NONE; 14659 uint32_t _flag_a = 0, _flag_b = 0; 14660 uint32_t _itail_tgt = 0; 14661 RECOMP_REGS_LOCALS 14662 RECOMP_ENTER(0x2B01FC20u); 14663 14664 L_2B01FC20: 14665 PUSH32(esp, ebp); /* 0x2B01FC20: push ebp */ 14666 L_2B01FC21: 14667 ebp = esp; /* 0x2B01FC21: mov ebp, esp */ 14668 L_2B01FC23: 14669 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01FC23: push -1 */ 14670 L_2B01FC25: 14671 PUSH32(esp, 0x2B0AD55Fu); /* 0x2B01FC25: push 0x2b0ad55f */ 14672 L_2B01FC2A: 14673 eax = MEM32(FS_BASE + (0)); /* 0x2B01FC2A: mov eax, dword ptr fs:[0] */ 14674 L_2B01FC30: 14675 PUSH32(esp, eax); /* 0x2B01FC30: push eax */ 14676 L_2B01FC31: 14677 MEM32(FS_BASE + (0)) = esp; /* 0x2B01FC31: mov dword ptr fs:[0], esp */ 14678 L_2B01FC38: 14679 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xB8u); 14680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14681 esp = esp - 0xB8u; /* 0x2B01FC38: sub esp, 0xb8 */ 14682 _flag_k = FK_CMP; 14683 L_2B01FC3E: 14684 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B01FC3E: mov al, byte ptr [ebp - 0xd] */ 14685 L_2B01FC41: 14686 PUSH32(esp, ebx); /* 0x2B01FC41: push ebx */ 14687 L_2B01FC42: 14688 PUSH32(esp, esi); /* 0x2B01FC42: push esi */ 14689 L_2B01FC43: 14690 PUSH32(esp, edi); /* 0x2B01FC43: push edi */ 14691 L_2B01FC44: 14692 esi = ecx; /* 0x2B01FC44: mov esi, ecx */ 14693 L_2B01FC46: 14694 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14695 edi = 0; /* 0x2B01FC46: xor edi, edi */ 14696 _cf = 0; 14697 _flag_k = FK_TEST; 14698 L_2B01FC48: 14699 PUSH32(esp, edi); /* 0x2B01FC48: push edi */ 14700 L_2B01FC49: 14701 ecx = ebp + (-0x44); /* 0x2B01FC49: lea ecx, [ebp - 0x44] */ 14702 L_2B01FC4C: 14703 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(eax)); /* 0x2B01FC4C: mov byte ptr [ebp - 0x44], al */ 14704 L_2B01FC4F: 14705 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01FC4F: call dword ptr [0x2b0b514c] */ 14706 RECOMP_FLAGS_IN(); 14707 L_2B01FC55: 14708 MEM32(ebp + (-0x34)) = edi; /* 0x2B01FC55: mov dword ptr [ebp - 0x34], edi */ 14709 L_2B01FC58: 14710 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B01FC58: mov cl, byte ptr [ebp - 0xd] */ 14711 L_2B01FC5B: 14712 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(ecx)); /* 0x2B01FC5B: mov byte ptr [ebp - 0x30], cl */ 14713 L_2B01FC5E: 14714 PUSH32(esp, edi); /* 0x2B01FC5E: push edi */ 14715 L_2B01FC5F: 14716 ecx = ebp + (-0x30); /* 0x2B01FC5F: lea ecx, [ebp - 0x30] */ 14717 L_2B01FC62: 14718 MEM32(ebp + (-0x4)) = edi; /* 0x2B01FC62: mov dword ptr [ebp - 4], edi */ 14719 L_2B01FC65: 14720 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01FC65: call dword ptr [0x2b0b514c] */ 14721 RECOMP_FLAGS_IN(); 14722 L_2B01FC6B: 14723 MEM32(ebp + (-0x20)) = edi; /* 0x2B01FC6B: mov dword ptr [ebp - 0x20], edi */ 14724 L_2B01FC6E: 14725 eax = MEM32(esi + 0x5C); /* 0x2B01FC6E: mov eax, dword ptr [esi + 0x5c] */ 14726 L_2B01FC71: 14727 edi = esi + 0x5C; /* 0x2B01FC71: lea edi, [esi + 0x5c] */ 14728 L_2B01FC74: 14729 ecx = eax + (-0xA); /* 0x2B01FC74: lea ecx, [eax - 0xa] */ 14730 L_2B01FC77: 14731 /* cmp ecx, 0x5Bu */ /* 0x2B01FC77: cmp ecx, 0x5b */ 14732 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x5Bu); 14733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14734 _flag_k = FK_CMP; 14735 L_2B01FC7A: 14736 ebx = 1; /* 0x2B01FC7A: mov ebx, 1 */ 14737 L_2B01FC7F: 14738 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01FC7F: mov byte ptr [ebp - 4], bl */ 14739 L_2B01FC82: 14740 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B01FD7E; /* 0x2B01FC82: ja 0x2b01fd7e */ 14741 L_2B01FC88: 14742 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14743 edx = 0; /* 0x2B01FC88: xor edx, edx */ 14744 _cf = 0; 14745 _flag_k = FK_TEST; 14746 L_2B01FC8A: 14747 SET_LO8(edx, MEM8(ecx + 0x2B020304)); /* 0x2B01FC8A: mov dl, byte ptr [ecx + 0x2b020304] */ 14748 L_2B01FC90: 14749 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x2B0202F8)); goto _ljump; } 14750 L_2B01FC97: 14751 ecx = MEM32(esi + 0x80); /* 0x2B01FC97: mov ecx, dword ptr [esi + 0x80] */ 14752 L_2B01FC9D: 14753 MEM32(esi + 0x7C) = ecx; /* 0x2B01FC9D: mov dword ptr [esi + 0x7c], ecx */ 14754 L_2B01FCA0: 14755 ecx = MEM32(esi + 0x84); /* 0x2B01FCA0: mov ecx, dword ptr [esi + 0x84] */ 14756 L_2B01FCA6: 14757 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF7u); 14758 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14759 eax = eax + 0xFFFFFFF7u; /* 0x2B01FCA6: add eax, -9 */ 14760 _flag_k = FK_ADD; 14761 L_2B01FCA9: 14762 /* cmp eax, ecx */ /* 0x2B01FCA9: cmp eax, ecx */ 14763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14765 _flag_k = FK_CMP; 14766 L_2B01FCAB: 14767 MEM32(esi + 0x80) = eax; /* 0x2B01FCAB: mov dword ptr [esi + 0x80], eax */ 14768 L_2B01FCB1: 14769 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01FD91; /* 0x2B01FCB1: je 0x2b01fd91 */ 14770 L_2B01FCB7: 14771 ecx = ebp + (-0x6C); /* 0x2B01FCB7: lea ecx, [ebp - 0x6c] */ 14772 L_2B01FCBA: 14773 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01FCBA: call 0x2b020ca0 */ /* not lifted */ 14774 RECOMP_FLAGS_IN(); 14775 L_2B01FCBF: 14776 PUSH32(esp, eax); /* 0x2B01FCBF: push eax */ 14777 L_2B01FCC0: 14778 PUSH32(esp, edi); /* 0x2B01FCC0: push edi */ 14779 L_2B01FCC1: 14780 ecx = ebp + (-0xB0); /* 0x2B01FCC1: lea ecx, [ebp - 0xb0] */ 14781 L_2B01FCC7: 14782 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01FCC7: mov byte ptr [ebp - 4], 2 */ 14783 L_2B01FCCB: 14784 RECOMP_ICALL(0x2B021040u); /* 0x2B01FCCB: call 0x2b021040 */ /* not lifted */ 14785 RECOMP_FLAGS_IN(); 14786 L_2B01FCD0: 14787 PUSH32(esp, eax); /* 0x2B01FCD0: push eax */ 14788 L_2B01FCD1: 14789 edx = ebp + (-0x78); /* 0x2B01FCD1: lea edx, [ebp - 0x78] */ 14790 L_2B01FCD4: 14791 edi = esi + 0x88; /* 0x2B01FCD4: lea edi, [esi + 0x88] */ 14792 L_2B01FCDA: 14793 PUSH32(esp, edx); /* 0x2B01FCDA: push edx */ 14794 L_2B01FCDB: 14795 ecx = edi; /* 0x2B01FCDB: mov ecx, edi */ 14796 L_2B01FCDD: 14797 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B01FCDD: mov byte ptr [ebp - 4], 3 */ 14798 L_2B01FCE1: 14799 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01FCE1: call 0x2b020df0 */ /* not lifted */ 14800 RECOMP_FLAGS_IN(); 14801 L_2B01FCE6: 14802 eax = MEM32(eax); /* 0x2B01FCE6: mov eax, dword ptr [eax] */ 14803 L_2B01FCE8: 14804 ecx = ebp + (-0xAC); /* 0x2B01FCE8: lea ecx, [ebp - 0xac] */ 14805 L_2B01FCEE: 14806 MEM32(ebp + (-0x1C)) = eax; /* 0x2B01FCEE: mov dword ptr [ebp - 0x1c], eax */ 14807 L_2B01FCF1: 14808 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01FCF1: mov byte ptr [ebp - 4], 2 */ 14809 L_2B01FCF5: 14810 RECOMP_ICALL(0x2B01F690u); /* 0x2B01FCF5: call 0x2b01f690 */ /* not lifted */ 14811 RECOMP_FLAGS_IN(); 14812 L_2B01FCFA: 14813 ecx = ebp + (-0x58); /* 0x2B01FCFA: lea ecx, [ebp - 0x58] */ 14814 L_2B01FCFD: 14815 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01FCFD: mov byte ptr [ebp - 4], 4 */ 14816 L_2B01FD01: 14817 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FD01: call dword ptr [0x2b0b5b8c] */ 14818 RECOMP_FLAGS_IN(); 14819 L_2B01FD07: 14820 ecx = ebp + (-0x6C); /* 0x2B01FD07: lea ecx, [ebp - 0x6c] */ 14821 L_2B01FD0A: 14822 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01FD0A: mov byte ptr [ebp - 4], bl */ 14823 L_2B01FD0D: 14824 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FD0D: call dword ptr [0x2b0b5b8c] */ 14825 RECOMP_FLAGS_IN(); 14826 L_2B01FD13: 14827 ecx = MEM32(ebp + (-0x1C)); /* 0x2B01FD13: mov ecx, dword ptr [ebp - 0x1c] */ 14828 L_2B01FD16: 14829 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 14830 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14831 ecx = ecx + 0x10u; /* 0x2B01FD16: add ecx, 0x10 */ 14832 _flag_k = FK_ADD; 14833 L_2B01FD19: 14834 PUSH32(esp, ecx); /* 0x2B01FD19: push ecx */ 14835 L_2B01FD1A: 14836 ecx = ebp + (-0x44); /* 0x2B01FD1A: lea ecx, [ebp - 0x44] */ 14837 L_2B01FD1D: 14838 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B01FD1D: call dword ptr [0x2b0b5a8c] */ 14839 RECOMP_FLAGS_IN(); 14840 L_2B01FD23: 14841 ecx = ebp + (-0x6C); /* 0x2B01FD23: lea ecx, [ebp - 0x6c] */ 14842 L_2B01FD26: 14843 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01FD26: call 0x2b020ca0 */ /* not lifted */ 14844 RECOMP_FLAGS_IN(); 14845 L_2B01FD2B: 14846 PUSH32(esp, eax); /* 0x2B01FD2B: push eax */ 14847 L_2B01FD2C: 14848 eax = esi + 0x5C; /* 0x2B01FD2C: lea eax, [esi + 0x5c] */ 14849 L_2B01FD2F: 14850 PUSH32(esp, eax); /* 0x2B01FD2F: push eax */ 14851 L_2B01FD30: 14852 ecx = ebp + (-0xB0); /* 0x2B01FD30: lea ecx, [ebp - 0xb0] */ 14853 L_2B01FD36: 14854 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B01FD36: mov byte ptr [ebp - 4], 5 */ 14855 L_2B01FD3A: 14856 RECOMP_ICALL(0x2B021040u); /* 0x2B01FD3A: call 0x2b021040 */ /* not lifted */ 14857 RECOMP_FLAGS_IN(); 14858 L_2B01FD3F: 14859 PUSH32(esp, eax); /* 0x2B01FD3F: push eax */ 14860 L_2B01FD40: 14861 edx = ebp + (-0x78); /* 0x2B01FD40: lea edx, [ebp - 0x78] */ 14862 L_2B01FD43: 14863 PUSH32(esp, edx); /* 0x2B01FD43: push edx */ 14864 L_2B01FD44: 14865 ecx = edi; /* 0x2B01FD44: mov ecx, edi */ 14866 L_2B01FD46: 14867 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B01FD46: mov byte ptr [ebp - 4], 6 */ 14868 L_2B01FD4A: 14869 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01FD4A: call 0x2b020df0 */ /* not lifted */ 14870 RECOMP_FLAGS_IN(); 14871 L_2B01FD4F: 14872 edi = MEM32(eax); /* 0x2B01FD4F: mov edi, dword ptr [eax] */ 14873 L_2B01FD51: 14874 ecx = ebp + (-0xAC); /* 0x2B01FD51: lea ecx, [ebp - 0xac] */ 14875 L_2B01FD57: 14876 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B01FD57: mov byte ptr [ebp - 4], 5 */ 14877 L_2B01FD5B: 14878 RECOMP_ICALL(0x2B01F690u); /* 0x2B01FD5B: call 0x2b01f690 */ /* not lifted */ 14879 RECOMP_FLAGS_IN(); 14880 L_2B01FD60: 14881 ecx = ebp + (-0x58); /* 0x2B01FD60: lea ecx, [ebp - 0x58] */ 14882 L_2B01FD63: 14883 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B01FD63: mov byte ptr [ebp - 4], 7 */ 14884 L_2B01FD67: 14885 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FD67: call dword ptr [0x2b0b5b8c] */ 14886 RECOMP_FLAGS_IN(); 14887 L_2B01FD6D: 14888 ecx = ebp + (-0x6C); /* 0x2B01FD6D: lea ecx, [ebp - 0x6c] */ 14889 L_2B01FD70: 14890 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01FD70: mov byte ptr [ebp - 4], bl */ 14891 L_2B01FD73: 14892 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FD73: call dword ptr [0x2b0b5b8c] */ 14893 RECOMP_FLAGS_IN(); 14894 L_2B01FD79: 14895 goto L_2B0201CD; /* 0x2B01FD79: jmp 0x2b0201cd */ 14896 L_2B01FD7E: 14897 eax = MEM32(esi + 0x80); /* 0x2B01FD7E: mov eax, dword ptr [esi + 0x80] */ 14898 L_2B01FD84: 14899 MEM32(esi + 0x7C) = eax; /* 0x2B01FD84: mov dword ptr [esi + 0x7c], eax */ 14900 L_2B01FD87: 14901 MEM32(esi + 0x80) = 0; /* 0x2B01FD87: mov dword ptr [esi + 0x80], 0 */ 14902 L_2B01FD91: 14903 eax = MEM32(esi + 0x84); /* 0x2B01FD91: mov eax, dword ptr [esi + 0x84] */ 14904 L_2B01FD97: 14905 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14906 eax = eax - 1; /* 0x2B01FD97: dec eax */ 14907 _flag_k = FK_DEC; 14908 L_2B01FD98: 14909 /* cmp eax, 6 */ /* 0x2B01FD98: cmp eax, 6 */ 14910 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 14911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14912 _flag_k = FK_CMP; 14913 L_2B01FD9B: 14914 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B020110; /* 0x2B01FD9B: ja 0x2b020110 */ 14915 L_2B01FDA1: 14916 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B020360)); goto _ljump; } 14917 L_2B01FDA8: 14918 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14919 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01FDA8: or ecx, 0xffffffff */ 14920 _cf = 0; 14921 _flag_k = FK_TEST; 14922 L_2B01FDAB: 14923 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14924 eax = 0; /* 0x2B01FDAB: xor eax, eax */ 14925 _cf = 0; 14926 _flag_k = FK_TEST; 14927 L_2B01FDAD: 14928 edi = 0x2B0E38E0u; /* 0x2B01FDAD: mov edi, 0x2b0e38e0 */ 14929 L_2B01FDB2: 14930 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; } /* 0x2B01FDB2: repne scasb al, byte ptr es:[edi] */ 14931 L_2B01FDB4: 14932 ecx = ~ecx; /* 0x2B01FDB4: not ecx */ 14933 L_2B01FDB6: 14934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14935 ecx = ecx - 1; /* 0x2B01FDB6: dec ecx */ 14936 _flag_k = FK_DEC; 14937 L_2B01FDB7: 14938 PUSH32(esp, ecx); /* 0x2B01FDB7: push ecx */ 14939 L_2B01FDB8: 14940 PUSH32(esp, 0x2B0E38E0u); /* 0x2B01FDB8: push 0x2b0e38e0 */ 14941 L_2B01FDBD: 14942 ecx = ebp + (-0x44); /* 0x2B01FDBD: lea ecx, [ebp - 0x44] */ 14943 L_2B01FDC0: 14944 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01FDC0: call dword ptr [0x2b0b5148] */ 14945 RECOMP_FLAGS_IN(); 14946 L_2B01FDC6: 14947 ecx = ebp + (-0x6C); /* 0x2B01FDC6: lea ecx, [ebp - 0x6c] */ 14948 L_2B01FDC9: 14949 MEM32(ebp + (-0x1C)) = 0xAu; /* 0x2B01FDC9: mov dword ptr [ebp - 0x1c], 0xa */ 14950 L_2B01FDD0: 14951 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01FDD0: call 0x2b020ca0 */ /* not lifted */ 14952 RECOMP_FLAGS_IN(); 14953 L_2B01FDD5: 14954 PUSH32(esp, eax); /* 0x2B01FDD5: push eax */ 14955 L_2B01FDD6: 14956 ecx = ebp + (-0x1C); /* 0x2B01FDD6: lea ecx, [ebp - 0x1c] */ 14957 L_2B01FDD9: 14958 PUSH32(esp, ecx); /* 0x2B01FDD9: push ecx */ 14959 L_2B01FDDA: 14960 ecx = ebp + (-0xB0); /* 0x2B01FDDA: lea ecx, [ebp - 0xb0] */ 14961 L_2B01FDE0: 14962 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B01FDE0: mov byte ptr [ebp - 4], 8 */ 14963 L_2B01FDE4: 14964 RECOMP_ICALL(0x2B021040u); /* 0x2B01FDE4: call 0x2b021040 */ /* not lifted */ 14965 RECOMP_FLAGS_IN(); 14966 L_2B01FDE9: 14967 PUSH32(esp, eax); /* 0x2B01FDE9: push eax */ 14968 L_2B01FDEA: 14969 edx = ebp + (-0x18); /* 0x2B01FDEA: lea edx, [ebp - 0x18] */ 14970 L_2B01FDED: 14971 PUSH32(esp, edx); /* 0x2B01FDED: push edx */ 14972 L_2B01FDEE: 14973 ecx = esi + 0x88; /* 0x2B01FDEE: lea ecx, [esi + 0x88] */ 14974 L_2B01FDF4: 14975 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B01FDF4: mov byte ptr [ebp - 4], 9 */ 14976 L_2B01FDF8: 14977 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01FDF8: call 0x2b020df0 */ /* not lifted */ 14978 RECOMP_FLAGS_IN(); 14979 L_2B01FDFD: 14980 edi = MEM32(eax); /* 0x2B01FDFD: mov edi, dword ptr [eax] */ 14981 L_2B01FDFF: 14982 ecx = ebp + (-0xAC); /* 0x2B01FDFF: lea ecx, [ebp - 0xac] */ 14983 L_2B01FE05: 14984 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B01FE05: mov byte ptr [ebp - 4], 8 */ 14985 L_2B01FE09: 14986 RECOMP_ICALL(0x2B01F690u); /* 0x2B01FE09: call 0x2b01f690 */ /* not lifted */ 14987 RECOMP_FLAGS_IN(); 14988 L_2B01FE0E: 14989 ecx = ebp + (-0x58); /* 0x2B01FE0E: lea ecx, [ebp - 0x58] */ 14990 L_2B01FE11: 14991 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B01FE11: mov byte ptr [ebp - 4], 0xa */ 14992 L_2B01FE15: 14993 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FE15: call dword ptr [0x2b0b5b8c] */ 14994 RECOMP_FLAGS_IN(); 14995 L_2B01FE1B: 14996 ecx = ebp + (-0x6C); /* 0x2B01FE1B: lea ecx, [ebp - 0x6c] */ 14997 L_2B01FE1E: 14998 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01FE1E: mov byte ptr [ebp - 4], bl */ 14999 L_2B01FE21: 15000 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FE21: call dword ptr [0x2b0b5b8c] */ 15001 RECOMP_FLAGS_IN(); 15002 L_2B01FE27: 15003 goto L_2B0201CD; /* 0x2B01FE27: jmp 0x2b0201cd */ 15004 L_2B01FE2C: 15005 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15006 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01FE2C: or ecx, 0xffffffff */ 15007 _cf = 0; 15008 _flag_k = FK_TEST; 15009 L_2B01FE2F: 15010 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15011 eax = 0; /* 0x2B01FE2F: xor eax, eax */ 15012 _cf = 0; 15013 _flag_k = FK_TEST; 15014 L_2B01FE31: 15015 edi = 0x2B0E38C8u; /* 0x2B01FE31: mov edi, 0x2b0e38c8 */ 15016 L_2B01FE36: 15017 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; } /* 0x2B01FE36: repne scasb al, byte ptr es:[edi] */ 15018 L_2B01FE38: 15019 ecx = ~ecx; /* 0x2B01FE38: not ecx */ 15020 L_2B01FE3A: 15021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15022 ecx = ecx - 1; /* 0x2B01FE3A: dec ecx */ 15023 _flag_k = FK_DEC; 15024 L_2B01FE3B: 15025 PUSH32(esp, ecx); /* 0x2B01FE3B: push ecx */ 15026 L_2B01FE3C: 15027 PUSH32(esp, 0x2B0E38C8u); /* 0x2B01FE3C: push 0x2b0e38c8 */ 15028 L_2B01FE41: 15029 ecx = ebp + (-0x44); /* 0x2B01FE41: lea ecx, [ebp - 0x44] */ 15030 L_2B01FE44: 15031 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01FE44: call dword ptr [0x2b0b5148] */ 15032 RECOMP_FLAGS_IN(); 15033 L_2B01FE4A: 15034 ecx = ebp + (-0x6C); /* 0x2B01FE4A: lea ecx, [ebp - 0x6c] */ 15035 L_2B01FE4D: 15036 MEM32(ebp + (-0x7C)) = 0xBu; /* 0x2B01FE4D: mov dword ptr [ebp - 0x7c], 0xb */ 15037 L_2B01FE54: 15038 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01FE54: call 0x2b020ca0 */ /* not lifted */ 15039 RECOMP_FLAGS_IN(); 15040 L_2B01FE59: 15041 PUSH32(esp, eax); /* 0x2B01FE59: push eax */ 15042 L_2B01FE5A: 15043 eax = ebp + (-0x7C); /* 0x2B01FE5A: lea eax, [ebp - 0x7c] */ 15044 L_2B01FE5D: 15045 PUSH32(esp, eax); /* 0x2B01FE5D: push eax */ 15046 L_2B01FE5E: 15047 ecx = ebp + (-0xB0); /* 0x2B01FE5E: lea ecx, [ebp - 0xb0] */ 15048 L_2B01FE64: 15049 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B01FE64: mov byte ptr [ebp - 4], 0xb */ 15050 L_2B01FE68: 15051 RECOMP_ICALL(0x2B021040u); /* 0x2B01FE68: call 0x2b021040 */ /* not lifted */ 15052 RECOMP_FLAGS_IN(); 15053 L_2B01FE6D: 15054 PUSH32(esp, eax); /* 0x2B01FE6D: push eax */ 15055 L_2B01FE6E: 15056 ecx = ebp + (-0x18); /* 0x2B01FE6E: lea ecx, [ebp - 0x18] */ 15057 L_2B01FE71: 15058 PUSH32(esp, ecx); /* 0x2B01FE71: push ecx */ 15059 L_2B01FE72: 15060 ecx = esi + 0x88; /* 0x2B01FE72: lea ecx, [esi + 0x88] */ 15061 L_2B01FE78: 15062 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B01FE78: mov byte ptr [ebp - 4], 0xc */ 15063 L_2B01FE7C: 15064 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01FE7C: call 0x2b020df0 */ /* not lifted */ 15065 RECOMP_FLAGS_IN(); 15066 L_2B01FE81: 15067 edi = MEM32(eax); /* 0x2B01FE81: mov edi, dword ptr [eax] */ 15068 L_2B01FE83: 15069 ecx = ebp + (-0xAC); /* 0x2B01FE83: lea ecx, [ebp - 0xac] */ 15070 L_2B01FE89: 15071 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B01FE89: mov byte ptr [ebp - 4], 0xb */ 15072 L_2B01FE8D: 15073 RECOMP_ICALL(0x2B01F690u); /* 0x2B01FE8D: call 0x2b01f690 */ /* not lifted */ 15074 RECOMP_FLAGS_IN(); 15075 L_2B01FE92: 15076 ecx = ebp + (-0x58); /* 0x2B01FE92: lea ecx, [ebp - 0x58] */ 15077 L_2B01FE95: 15078 MEM8(ebp + (-0x4)) = (uint8_t)(0xDu); /* 0x2B01FE95: mov byte ptr [ebp - 4], 0xd */ 15079 L_2B01FE99: 15080 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FE99: call dword ptr [0x2b0b5b8c] */ 15081 RECOMP_FLAGS_IN(); 15082 L_2B01FE9F: 15083 ecx = ebp + (-0x6C); /* 0x2B01FE9F: lea ecx, [ebp - 0x6c] */ 15084 L_2B01FEA2: 15085 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01FEA2: mov byte ptr [ebp - 4], bl */ 15086 L_2B01FEA5: 15087 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B01FEA5: call dword ptr [0x2b0b5b8c] */ 15088 RECOMP_FLAGS_IN(); 15089 L_2B01FEAB: 15090 goto L_2B0201CD; /* 0x2B01FEAB: jmp 0x2b0201cd */ 15091 L_2B01FEB0: 15092 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15093 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01FEB0: or ecx, 0xffffffff */ 15094 _cf = 0; 15095 _flag_k = FK_TEST; 15096 L_2B01FEB3: 15097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15098 eax = 0; /* 0x2B01FEB3: xor eax, eax */ 15099 _cf = 0; 15100 _flag_k = FK_TEST; 15101 L_2B01FEB5: 15102 edi = 0x2B0E38B0u; /* 0x2B01FEB5: mov edi, 0x2b0e38b0 */ 15103 L_2B01FEBA: 15104 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; } /* 0x2B01FEBA: repne scasb al, byte ptr es:[edi] */ 15105 L_2B01FEBC: 15106 ecx = ~ecx; /* 0x2B01FEBC: not ecx */ 15107 L_2B01FEBE: 15108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15109 ecx = ecx - 1; /* 0x2B01FEBE: dec ecx */ 15110 _flag_k = FK_DEC; 15111 L_2B01FEBF: 15112 PUSH32(esp, ecx); /* 0x2B01FEBF: push ecx */ 15113 L_2B01FEC0: 15114 PUSH32(esp, 0x2B0E38B0u); /* 0x2B01FEC0: push 0x2b0e38b0 */ 15115 L_2B01FEC5: 15116 ecx = ebp + (-0x44); /* 0x2B01FEC5: lea ecx, [ebp - 0x44] */ 15117 L_2B01FEC8: 15118 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01FEC8: call dword ptr [0x2b0b5148] */ 15119 RECOMP_FLAGS_IN(); 15120 L_2B01FECE: 15121 ecx = ebp + (-0x6C); /* 0x2B01FECE: lea ecx, [ebp - 0x6c] */ 15122 L_2B01FED1: 15123 MEM32(ebp + (-0xB8)) = 0xCu; /* 0x2B01FED1: mov dword ptr [ebp - 0xb8], 0xc */ 15124 L_2B01FEDB: 15125 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01FEDB: call 0x2b020ca0 */ /* not lifted */ 15126 RECOMP_FLAGS_IN(); 15127 L_2B01FEE0: 15128 PUSH32(esp, eax); /* 0x2B01FEE0: push eax */ 15129 L_2B01FEE1: 15130 edx = ebp + (-0xB8); /* 0x2B01FEE1: lea edx, [ebp - 0xb8] */ 15131 L_2B01FEE7: 15132 PUSH32(esp, edx); /* 0x2B01FEE7: push edx */ 15133 L_2B01FEE8: 15134 ecx = ebp + (-0xB0); /* 0x2B01FEE8: lea ecx, [ebp - 0xb0] */ 15135 L_2B01FEEE: 15136 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B01FEEE: mov byte ptr [ebp - 4], 0xe */ 15137 L_2B01FEF2: 15138 RECOMP_ICALL(0x2B021040u); /* 0x2B01FEF2: call 0x2b021040 */ /* not lifted */ 15139 RECOMP_FLAGS_IN(); 15140 L_2B01FEF7: 15141 PUSH32(esp, eax); /* 0x2B01FEF7: push eax */ 15142 L_2B01FEF8: 15143 eax = ebp + (-0x18); /* 0x2B01FEF8: lea eax, [ebp - 0x18] */ 15144 L_2B01FEFB: 15145 PUSH32(esp, eax); /* 0x2B01FEFB: push eax */ 15146 L_2B01FEFC: 15147 ecx = esi + 0x88; /* 0x2B01FEFC: lea ecx, [esi + 0x88] */ 15148 L_2B01FF02: 15149 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B01FF02: mov byte ptr [ebp - 4], 0xf */ 15150 L_2B01FF06: 15151 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01FF06: call 0x2b020df0 */ /* not lifted */ 15152 RECOMP_FLAGS_IN(); 15153 L_2B01FF0B: 15154 edi = MEM32(eax); /* 0x2B01FF0B: mov edi, dword ptr [eax] */ 15155 L_2B01FF0D: 15156 ecx = ebp + (-0xAC); /* 0x2B01FF0D: lea ecx, [ebp - 0xac] */ 15157 L_2B01FF13: 15158 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B01FF13: mov byte ptr [ebp - 4], 0xe */ 15159 L_2B01FF17: 15160 RECOMP_ICALL(0x2B01F690u); /* 0x2B01FF17: call 0x2b01f690 */ /* not lifted */ 15161 RECOMP_FLAGS_IN(); 15162 L_2B01FF1C: 15163 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01FF1C: mov byte ptr [ebp - 4], bl */ 15164 L_2B01FF1F: 15165 ecx = ebp + (-0x6C); /* 0x2B01FF1F: lea ecx, [ebp - 0x6c] */ 15166 L_2B01FF22: 15167 goto L_2B0201C8; /* 0x2B01FF22: jmp 0x2b0201c8 */ 15168 L_2B01FF27: 15169 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15170 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01FF27: or ecx, 0xffffffff */ 15171 _cf = 0; 15172 _flag_k = FK_TEST; 15173 L_2B01FF2A: 15174 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15175 eax = 0; /* 0x2B01FF2A: xor eax, eax */ 15176 _cf = 0; 15177 _flag_k = FK_TEST; 15178 L_2B01FF2C: 15179 edi = 0x2B0E3898u; /* 0x2B01FF2C: mov edi, 0x2b0e3898 */ 15180 L_2B01FF31: 15181 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; } /* 0x2B01FF31: repne scasb al, byte ptr es:[edi] */ 15182 L_2B01FF33: 15183 ecx = ~ecx; /* 0x2B01FF33: not ecx */ 15184 L_2B01FF35: 15185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15186 ecx = ecx - 1; /* 0x2B01FF35: dec ecx */ 15187 _flag_k = FK_DEC; 15188 L_2B01FF36: 15189 PUSH32(esp, ecx); /* 0x2B01FF36: push ecx */ 15190 L_2B01FF37: 15191 PUSH32(esp, 0x2B0E3898u); /* 0x2B01FF37: push 0x2b0e3898 */ 15192 L_2B01FF3C: 15193 ecx = ebp + (-0x44); /* 0x2B01FF3C: lea ecx, [ebp - 0x44] */ 15194 L_2B01FF3F: 15195 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01FF3F: call dword ptr [0x2b0b5148] */ 15196 RECOMP_FLAGS_IN(); 15197 L_2B01FF45: 15198 ecx = ebp + (-0x6C); /* 0x2B01FF45: lea ecx, [ebp - 0x6c] */ 15199 L_2B01FF48: 15200 MEM32(ebp + (-0x84)) = 0xDu; /* 0x2B01FF48: mov dword ptr [ebp - 0x84], 0xd */ 15201 L_2B01FF52: 15202 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01FF52: call 0x2b020ca0 */ /* not lifted */ 15203 RECOMP_FLAGS_IN(); 15204 L_2B01FF57: 15205 PUSH32(esp, eax); /* 0x2B01FF57: push eax */ 15206 L_2B01FF58: 15207 ecx = ebp + (-0x84); /* 0x2B01FF58: lea ecx, [ebp - 0x84] */ 15208 L_2B01FF5E: 15209 PUSH32(esp, ecx); /* 0x2B01FF5E: push ecx */ 15210 L_2B01FF5F: 15211 ecx = ebp + (-0xB0); /* 0x2B01FF5F: lea ecx, [ebp - 0xb0] */ 15212 L_2B01FF65: 15213 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B01FF65: mov byte ptr [ebp - 4], 0x10 */ 15214 L_2B01FF69: 15215 RECOMP_ICALL(0x2B021040u); /* 0x2B01FF69: call 0x2b021040 */ /* not lifted */ 15216 RECOMP_FLAGS_IN(); 15217 L_2B01FF6E: 15218 PUSH32(esp, eax); /* 0x2B01FF6E: push eax */ 15219 L_2B01FF6F: 15220 edx = ebp + (-0x18); /* 0x2B01FF6F: lea edx, [ebp - 0x18] */ 15221 L_2B01FF72: 15222 PUSH32(esp, edx); /* 0x2B01FF72: push edx */ 15223 L_2B01FF73: 15224 ecx = esi + 0x88; /* 0x2B01FF73: lea ecx, [esi + 0x88] */ 15225 L_2B01FF79: 15226 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B01FF79: mov byte ptr [ebp - 4], 0x11 */ 15227 L_2B01FF7D: 15228 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01FF7D: call 0x2b020df0 */ /* not lifted */ 15229 RECOMP_FLAGS_IN(); 15230 L_2B01FF82: 15231 edi = MEM32(eax); /* 0x2B01FF82: mov edi, dword ptr [eax] */ 15232 L_2B01FF84: 15233 ecx = ebp + (-0xAC); /* 0x2B01FF84: lea ecx, [ebp - 0xac] */ 15234 L_2B01FF8A: 15235 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B01FF8A: mov byte ptr [ebp - 4], 0x10 */ 15236 L_2B01FF8E: 15237 RECOMP_ICALL(0x2B01F690u); /* 0x2B01FF8E: call 0x2b01f690 */ /* not lifted */ 15238 RECOMP_FLAGS_IN(); 15239 L_2B01FF93: 15240 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01FF93: mov byte ptr [ebp - 4], bl */ 15241 L_2B01FF96: 15242 ecx = ebp + (-0x6C); /* 0x2B01FF96: lea ecx, [ebp - 0x6c] */ 15243 L_2B01FF99: 15244 goto L_2B0201C8; /* 0x2B01FF99: jmp 0x2b0201c8 */ 15245 L_2B01FF9E: 15246 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15247 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01FF9E: or ecx, 0xffffffff */ 15248 _cf = 0; 15249 _flag_k = FK_TEST; 15250 L_2B01FFA1: 15251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15252 eax = 0; /* 0x2B01FFA1: xor eax, eax */ 15253 _cf = 0; 15254 _flag_k = FK_TEST; 15255 L_2B01FFA3: 15256 edi = 0x2B0E387Cu; /* 0x2B01FFA3: mov edi, 0x2b0e387c */ 15257 L_2B01FFA8: 15258 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; } /* 0x2B01FFA8: repne scasb al, byte ptr es:[edi] */ 15259 L_2B01FFAA: 15260 ecx = ~ecx; /* 0x2B01FFAA: not ecx */ 15261 L_2B01FFAC: 15262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15263 ecx = ecx - 1; /* 0x2B01FFAC: dec ecx */ 15264 _flag_k = FK_DEC; 15265 L_2B01FFAD: 15266 PUSH32(esp, ecx); /* 0x2B01FFAD: push ecx */ 15267 L_2B01FFAE: 15268 PUSH32(esp, 0x2B0E387Cu); /* 0x2B01FFAE: push 0x2b0e387c */ 15269 L_2B01FFB3: 15270 ecx = ebp + (-0x44); /* 0x2B01FFB3: lea ecx, [ebp - 0x44] */ 15271 L_2B01FFB6: 15272 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01FFB6: call dword ptr [0x2b0b5148] */ 15273 RECOMP_FLAGS_IN(); 15274 L_2B01FFBC: 15275 ecx = ebp + (-0x6C); /* 0x2B01FFBC: lea ecx, [ebp - 0x6c] */ 15276 L_2B01FFBF: 15277 MEM32(ebp + (-0xB4)) = 0xEu; /* 0x2B01FFBF: mov dword ptr [ebp - 0xb4], 0xe */ 15278 L_2B01FFC9: 15279 RECOMP_ICALL(0x2B020CA0u); /* 0x2B01FFC9: call 0x2b020ca0 */ /* not lifted */ 15280 RECOMP_FLAGS_IN(); 15281 L_2B01FFCE: 15282 PUSH32(esp, eax); /* 0x2B01FFCE: push eax */ 15283 L_2B01FFCF: 15284 eax = ebp + (-0xB4); /* 0x2B01FFCF: lea eax, [ebp - 0xb4] */ 15285 L_2B01FFD5: 15286 PUSH32(esp, eax); /* 0x2B01FFD5: push eax */ 15287 L_2B01FFD6: 15288 ecx = ebp + (-0xB0); /* 0x2B01FFD6: lea ecx, [ebp - 0xb0] */ 15289 L_2B01FFDC: 15290 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B01FFDC: mov byte ptr [ebp - 4], 0x12 */ 15291 L_2B01FFE0: 15292 RECOMP_ICALL(0x2B021040u); /* 0x2B01FFE0: call 0x2b021040 */ /* not lifted */ 15293 RECOMP_FLAGS_IN(); 15294 L_2B01FFE5: 15295 PUSH32(esp, eax); /* 0x2B01FFE5: push eax */ 15296 L_2B01FFE6: 15297 ecx = ebp + (-0x18); /* 0x2B01FFE6: lea ecx, [ebp - 0x18] */ 15298 L_2B01FFE9: 15299 PUSH32(esp, ecx); /* 0x2B01FFE9: push ecx */ 15300 L_2B01FFEA: 15301 ecx = esi + 0x88; /* 0x2B01FFEA: lea ecx, [esi + 0x88] */ 15302 L_2B01FFF0: 15303 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B01FFF0: mov byte ptr [ebp - 4], 0x13 */ 15304 L_2B01FFF4: 15305 RECOMP_ICALL(0x2B020DF0u); /* 0x2B01FFF4: call 0x2b020df0 */ /* not lifted */ 15306 RECOMP_FLAGS_IN(); 15307 L_2B01FFF9: 15308 edi = MEM32(eax); /* 0x2B01FFF9: mov edi, dword ptr [eax] */ 15309 L_2B01FFFB: 15310 ecx = ebp + (-0xAC); /* 0x2B01FFFB: lea ecx, [ebp - 0xac] */ 15311 L_2B020001: 15312 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B020001: mov byte ptr [ebp - 4], 0x12 */ 15313 L_2B020005: 15314 RECOMP_ICALL(0x2B01F690u); /* 0x2B020005: call 0x2b01f690 */ /* not lifted */ 15315 RECOMP_FLAGS_IN(); 15316 L_2B02000A: 15317 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B02000A: mov byte ptr [ebp - 4], bl */ 15318 L_2B02000D: 15319 ecx = ebp + (-0x6C); /* 0x2B02000D: lea ecx, [ebp - 0x6c] */ 15320 L_2B020010: 15321 goto L_2B0201C8; /* 0x2B020010: jmp 0x2b0201c8 */ 15322 L_2B020015: 15323 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15324 ecx = ecx | 0xFFFFFFFFu; /* 0x2B020015: or ecx, 0xffffffff */ 15325 _cf = 0; 15326 _flag_k = FK_TEST; 15327 L_2B020018: 15328 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15329 eax = 0; /* 0x2B020018: xor eax, eax */ 15330 _cf = 0; 15331 _flag_k = FK_TEST; 15332 L_2B02001A: 15333 edi = 0x2B0E3864u; /* 0x2B02001A: mov edi, 0x2b0e3864 */ 15334 L_2B02001F: 15335 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; } /* 0x2B02001F: repne scasb al, byte ptr es:[edi] */ 15336 L_2B020021: 15337 ecx = ~ecx; /* 0x2B020021: not ecx */ 15338 L_2B020023: 15339 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15340 ecx = ecx - 1; /* 0x2B020023: dec ecx */ 15341 _flag_k = FK_DEC; 15342 L_2B020024: 15343 PUSH32(esp, ecx); /* 0x2B020024: push ecx */ 15344 L_2B020025: 15345 PUSH32(esp, 0x2B0E3864u); /* 0x2B020025: push 0x2b0e3864 */ 15346 L_2B02002A: 15347 ecx = ebp + (-0x44); /* 0x2B02002A: lea ecx, [ebp - 0x44] */ 15348 L_2B02002D: 15349 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B02002D: call dword ptr [0x2b0b5148] */ 15350 RECOMP_FLAGS_IN(); 15351 L_2B020033: 15352 ecx = ebp + (-0x6C); /* 0x2B020033: lea ecx, [ebp - 0x6c] */ 15353 L_2B020036: 15354 MEM32(ebp + (-0xBC)) = 0xFu; /* 0x2B020036: mov dword ptr [ebp - 0xbc], 0xf */ 15355 L_2B020040: 15356 RECOMP_ICALL(0x2B020CA0u); /* 0x2B020040: call 0x2b020ca0 */ /* not lifted */ 15357 RECOMP_FLAGS_IN(); 15358 L_2B020045: 15359 PUSH32(esp, eax); /* 0x2B020045: push eax */ 15360 L_2B020046: 15361 edx = ebp + (-0xBC); /* 0x2B020046: lea edx, [ebp - 0xbc] */ 15362 L_2B02004C: 15363 PUSH32(esp, edx); /* 0x2B02004C: push edx */ 15364 L_2B02004D: 15365 ecx = ebp + (-0xB0); /* 0x2B02004D: lea ecx, [ebp - 0xb0] */ 15366 L_2B020053: 15367 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B020053: mov byte ptr [ebp - 4], 0x14 */ 15368 L_2B020057: 15369 RECOMP_ICALL(0x2B021040u); /* 0x2B020057: call 0x2b021040 */ /* not lifted */ 15370 RECOMP_FLAGS_IN(); 15371 L_2B02005C: 15372 PUSH32(esp, eax); /* 0x2B02005C: push eax */ 15373 L_2B02005D: 15374 eax = ebp + (-0x18); /* 0x2B02005D: lea eax, [ebp - 0x18] */ 15375 L_2B020060: 15376 PUSH32(esp, eax); /* 0x2B020060: push eax */ 15377 L_2B020061: 15378 ecx = esi + 0x88; /* 0x2B020061: lea ecx, [esi + 0x88] */ 15379 L_2B020067: 15380 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B020067: mov byte ptr [ebp - 4], 0x15 */ 15381 L_2B02006B: 15382 RECOMP_ICALL(0x2B020DF0u); /* 0x2B02006B: call 0x2b020df0 */ /* not lifted */ 15383 RECOMP_FLAGS_IN(); 15384 L_2B020070: 15385 edi = MEM32(eax); /* 0x2B020070: mov edi, dword ptr [eax] */ 15386 L_2B020072: 15387 ecx = ebp + (-0xAC); /* 0x2B020072: lea ecx, [ebp - 0xac] */ 15388 L_2B020078: 15389 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B020078: mov byte ptr [ebp - 4], 0x14 */ 15390 L_2B02007C: 15391 RECOMP_ICALL(0x2B01F690u); /* 0x2B02007C: call 0x2b01f690 */ /* not lifted */ 15392 RECOMP_FLAGS_IN(); 15393 L_2B020081: 15394 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020081: mov byte ptr [ebp - 4], bl */ 15395 L_2B020084: 15396 ecx = ebp + (-0x6C); /* 0x2B020084: lea ecx, [ebp - 0x6c] */ 15397 L_2B020087: 15398 goto L_2B0201C8; /* 0x2B020087: jmp 0x2b0201c8 */ 15399 L_2B02008C: 15400 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15401 ecx = ecx | 0xFFFFFFFFu; /* 0x2B02008C: or ecx, 0xffffffff */ 15402 _cf = 0; 15403 _flag_k = FK_TEST; 15404 L_2B02008F: 15405 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15406 eax = 0; /* 0x2B02008F: xor eax, eax */ 15407 _cf = 0; 15408 _flag_k = FK_TEST; 15409 L_2B020091: 15410 edi = 0x2B0E3854u; /* 0x2B020091: mov edi, 0x2b0e3854 */ 15411 L_2B020096: 15412 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; } /* 0x2B020096: repne scasb al, byte ptr es:[edi] */ 15413 L_2B020098: 15414 ecx = ~ecx; /* 0x2B020098: not ecx */ 15415 L_2B02009A: 15416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15417 ecx = ecx - 1; /* 0x2B02009A: dec ecx */ 15418 _flag_k = FK_DEC; 15419 L_2B02009B: 15420 PUSH32(esp, ecx); /* 0x2B02009B: push ecx */ 15421 L_2B02009C: 15422 PUSH32(esp, 0x2B0E3854u); /* 0x2B02009C: push 0x2b0e3854 */ 15423 L_2B0200A1: 15424 ecx = ebp + (-0x44); /* 0x2B0200A1: lea ecx, [ebp - 0x44] */ 15425 L_2B0200A4: 15426 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B0200A4: call dword ptr [0x2b0b5148] */ 15427 RECOMP_FLAGS_IN(); 15428 L_2B0200AA: 15429 ecx = ebp + (-0x6C); /* 0x2B0200AA: lea ecx, [ebp - 0x6c] */ 15430 L_2B0200AD: 15431 MEM32(ebp + (-0x70)) = 0x10u; /* 0x2B0200AD: mov dword ptr [ebp - 0x70], 0x10 */ 15432 L_2B0200B4: 15433 RECOMP_ICALL(0x2B020CA0u); /* 0x2B0200B4: call 0x2b020ca0 */ /* not lifted */ 15434 RECOMP_FLAGS_IN(); 15435 L_2B0200B9: 15436 PUSH32(esp, eax); /* 0x2B0200B9: push eax */ 15437 L_2B0200BA: 15438 ecx = ebp + (-0x70); /* 0x2B0200BA: lea ecx, [ebp - 0x70] */ 15439 L_2B0200BD: 15440 PUSH32(esp, ecx); /* 0x2B0200BD: push ecx */ 15441 L_2B0200BE: 15442 ecx = ebp + (-0xB0); /* 0x2B0200BE: lea ecx, [ebp - 0xb0] */ 15443 L_2B0200C4: 15444 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B0200C4: mov byte ptr [ebp - 4], 0x16 */ 15445 L_2B0200C8: 15446 RECOMP_ICALL(0x2B021040u); /* 0x2B0200C8: call 0x2b021040 */ /* not lifted */ 15447 RECOMP_FLAGS_IN(); 15448 L_2B0200CD: 15449 PUSH32(esp, eax); /* 0x2B0200CD: push eax */ 15450 L_2B0200CE: 15451 edx = ebp + (-0x18); /* 0x2B0200CE: lea edx, [ebp - 0x18] */ 15452 L_2B0200D1: 15453 PUSH32(esp, edx); /* 0x2B0200D1: push edx */ 15454 L_2B0200D2: 15455 ecx = esi + 0x88; /* 0x2B0200D2: lea ecx, [esi + 0x88] */ 15456 L_2B0200D8: 15457 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B0200D8: mov byte ptr [ebp - 4], 0x17 */ 15458 L_2B0200DC: 15459 RECOMP_ICALL(0x2B020DF0u); /* 0x2B0200DC: call 0x2b020df0 */ /* not lifted */ 15460 RECOMP_FLAGS_IN(); 15461 L_2B0200E1: 15462 edi = MEM32(eax); /* 0x2B0200E1: mov edi, dword ptr [eax] */ 15463 L_2B0200E3: 15464 ecx = ebp + (-0xAC); /* 0x2B0200E3: lea ecx, [ebp - 0xac] */ 15465 L_2B0200E9: 15466 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B0200E9: mov byte ptr [ebp - 4], 0x16 */ 15467 L_2B0200ED: 15468 RECOMP_ICALL(0x2B01F690u); /* 0x2B0200ED: call 0x2b01f690 */ /* not lifted */ 15469 RECOMP_FLAGS_IN(); 15470 L_2B0200F2: 15471 ecx = ebp + (-0x58); /* 0x2B0200F2: lea ecx, [ebp - 0x58] */ 15472 L_2B0200F5: 15473 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B0200F5: mov byte ptr [ebp - 4], 0x18 */ 15474 L_2B0200F9: 15475 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B0200F9: call dword ptr [0x2b0b5b8c] */ 15476 RECOMP_FLAGS_IN(); 15477 L_2B0200FF: 15478 ecx = ebp + (-0x6C); /* 0x2B0200FF: lea ecx, [ebp - 0x6c] */ 15479 L_2B020102: 15480 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020102: mov byte ptr [ebp - 4], bl */ 15481 L_2B020105: 15482 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B020105: call dword ptr [0x2b0b5b8c] */ 15483 RECOMP_FLAGS_IN(); 15484 L_2B02010B: 15485 goto L_2B0201CD; /* 0x2B02010B: jmp 0x2b0201cd */ 15486 L_2B020110: 15487 ecx = ebp + (-0x6C); /* 0x2B020110: lea ecx, [ebp - 0x6c] */ 15488 L_2B020113: 15489 MEM32(ebp + (-0x80)) = 0x11u; /* 0x2B020113: mov dword ptr [ebp - 0x80], 0x11 */ 15490 L_2B02011A: 15491 RECOMP_ICALL(0x2B020CA0u); /* 0x2B02011A: call 0x2b020ca0 */ /* not lifted */ 15492 RECOMP_FLAGS_IN(); 15493 L_2B02011F: 15494 PUSH32(esp, eax); /* 0x2B02011F: push eax */ 15495 L_2B020120: 15496 eax = ebp + (-0x80); /* 0x2B020120: lea eax, [ebp - 0x80] */ 15497 L_2B020123: 15498 PUSH32(esp, eax); /* 0x2B020123: push eax */ 15499 L_2B020124: 15500 ecx = ebp + (-0xB0); /* 0x2B020124: lea ecx, [ebp - 0xb0] */ 15501 L_2B02012A: 15502 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B02012A: mov byte ptr [ebp - 4], 0x19 */ 15503 L_2B02012E: 15504 RECOMP_ICALL(0x2B021040u); /* 0x2B02012E: call 0x2b021040 */ /* not lifted */ 15505 RECOMP_FLAGS_IN(); 15506 L_2B020133: 15507 PUSH32(esp, eax); /* 0x2B020133: push eax */ 15508 L_2B020134: 15509 ecx = ebp + (-0xC4); /* 0x2B020134: lea ecx, [ebp - 0xc4] */ 15510 L_2B02013A: 15511 edi = esi + 0x88; /* 0x2B02013A: lea edi, [esi + 0x88] */ 15512 L_2B020140: 15513 PUSH32(esp, ecx); /* 0x2B020140: push ecx */ 15514 L_2B020141: 15515 ecx = edi; /* 0x2B020141: mov ecx, edi */ 15516 L_2B020143: 15517 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Au); /* 0x2B020143: mov byte ptr [ebp - 4], 0x1a */ 15518 L_2B020147: 15519 RECOMP_ICALL(0x2B020DF0u); /* 0x2B020147: call 0x2b020df0 */ /* not lifted */ 15520 RECOMP_FLAGS_IN(); 15521 L_2B02014C: 15522 edx = MEM32(eax); /* 0x2B02014C: mov edx, dword ptr [eax] */ 15523 L_2B02014E: 15524 ecx = ebp + (-0xAC); /* 0x2B02014E: lea ecx, [ebp - 0xac] */ 15525 L_2B020154: 15526 MEM32(ebp + (-0x14)) = edx; /* 0x2B020154: mov dword ptr [ebp - 0x14], edx */ 15527 L_2B020157: 15528 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B020157: mov byte ptr [ebp - 4], 0x19 */ 15529 L_2B02015B: 15530 RECOMP_ICALL(0x2B01F690u); /* 0x2B02015B: call 0x2b01f690 */ /* not lifted */ 15531 RECOMP_FLAGS_IN(); 15532 L_2B020160: 15533 ecx = ebp + (-0x6C); /* 0x2B020160: lea ecx, [ebp - 0x6c] */ 15534 L_2B020163: 15535 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020163: mov byte ptr [ebp - 4], bl */ 15536 L_2B020166: 15537 RECOMP_ICALL(0x2B01F690u); /* 0x2B020166: call 0x2b01f690 */ /* not lifted */ 15538 RECOMP_FLAGS_IN(); 15539 L_2B02016B: 15540 eax = MEM32(ebp + (-0x14)); /* 0x2B02016B: mov eax, dword ptr [ebp - 0x14] */ 15541 L_2B02016E: 15542 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 15543 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15544 eax = eax + 0x10u; /* 0x2B02016E: add eax, 0x10 */ 15545 _flag_k = FK_ADD; 15546 L_2B020171: 15547 PUSH32(esp, eax); /* 0x2B020171: push eax */ 15548 L_2B020172: 15549 ecx = ebp + (-0x44); /* 0x2B020172: lea ecx, [ebp - 0x44] */ 15550 L_2B020175: 15551 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B020175: call dword ptr [0x2b0b5a8c] */ 15552 RECOMP_FLAGS_IN(); 15553 L_2B02017B: 15554 ecx = ebp + (-0x6C); /* 0x2B02017B: lea ecx, [ebp - 0x6c] */ 15555 L_2B02017E: 15556 MEM32(ebp + (-0x74)) = 0x11u; /* 0x2B02017E: mov dword ptr [ebp - 0x74], 0x11 */ 15557 L_2B020185: 15558 RECOMP_ICALL(0x2B020CA0u); /* 0x2B020185: call 0x2b020ca0 */ /* not lifted */ 15559 RECOMP_FLAGS_IN(); 15560 L_2B02018A: 15561 PUSH32(esp, eax); /* 0x2B02018A: push eax */ 15562 L_2B02018B: 15563 ecx = ebp + (-0x74); /* 0x2B02018B: lea ecx, [ebp - 0x74] */ 15564 L_2B02018E: 15565 PUSH32(esp, ecx); /* 0x2B02018E: push ecx */ 15566 L_2B02018F: 15567 ecx = ebp + (-0xB0); /* 0x2B02018F: lea ecx, [ebp - 0xb0] */ 15568 L_2B020195: 15569 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B020195: mov byte ptr [ebp - 4], 0x1b */ 15570 L_2B020199: 15571 RECOMP_ICALL(0x2B021040u); /* 0x2B020199: call 0x2b021040 */ /* not lifted */ 15572 RECOMP_FLAGS_IN(); 15573 L_2B02019E: 15574 PUSH32(esp, eax); /* 0x2B02019E: push eax */ 15575 L_2B02019F: 15576 edx = ebp + (-0xC4); /* 0x2B02019F: lea edx, [ebp - 0xc4] */ 15577 L_2B0201A5: 15578 PUSH32(esp, edx); /* 0x2B0201A5: push edx */ 15579 L_2B0201A6: 15580 ecx = edi; /* 0x2B0201A6: mov ecx, edi */ 15581 L_2B0201A8: 15582 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B0201A8: mov byte ptr [ebp - 4], 0x1c */ 15583 L_2B0201AC: 15584 RECOMP_ICALL(0x2B020DF0u); /* 0x2B0201AC: call 0x2b020df0 */ /* not lifted */ 15585 RECOMP_FLAGS_IN(); 15586 L_2B0201B1: 15587 edi = MEM32(eax); /* 0x2B0201B1: mov edi, dword ptr [eax] */ 15588 L_2B0201B3: 15589 ecx = ebp + (-0xAC); /* 0x2B0201B3: lea ecx, [ebp - 0xac] */ 15590 L_2B0201B9: 15591 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B0201B9: mov byte ptr [ebp - 4], 0x1b */ 15592 L_2B0201BD: 15593 RECOMP_ICALL(0x2B01F690u); /* 0x2B0201BD: call 0x2b01f690 */ /* not lifted */ 15594 RECOMP_FLAGS_IN(); 15595 L_2B0201C2: 15596 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B0201C2: mov byte ptr [ebp - 4], bl */ 15597 L_2B0201C5: 15598 ecx = ebp + (-0x6C); /* 0x2B0201C5: lea ecx, [ebp - 0x6c] */ 15599 L_2B0201C8: 15600 RECOMP_ICALL(0x2B01F690u); /* 0x2B0201C8: call 0x2b01f690 */ /* not lifted */ 15601 RECOMP_FLAGS_IN(); 15602 L_2B0201CD: 15603 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 15604 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15605 edi = edi + 0x24u; /* 0x2B0201CD: add edi, 0x24 */ 15606 _flag_k = FK_ADD; 15607 L_2B0201D0: 15608 PUSH32(esp, edi); /* 0x2B0201D0: push edi */ 15609 L_2B0201D1: 15610 ecx = ebp + (-0x30); /* 0x2B0201D1: lea ecx, [ebp - 0x30] */ 15611 L_2B0201D4: 15612 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B0201D4: call dword ptr [0x2b0b5a8c] */ 15613 RECOMP_FLAGS_IN(); 15614 L_2B0201DA: 15615 eax = MEM32(esi + 0x80); /* 0x2B0201DA: mov eax, dword ptr [esi + 0x80] */ 15616 L_2B0201E0: 15617 /* cmp eax, MEM32(esi + 0x7C) */ /* 0x2B0201E0: cmp eax, dword ptr [esi + 0x7c] */ 15618 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x7C)); 15619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15620 _flag_k = FK_CMP; 15621 L_2B0201E3: 15622 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020295; /* 0x2B0201E3: je 0x2b020295 */ 15623 L_2B0201E9: 15624 /* cmp eax, MEM32(esi + 0x84) */ /* 0x2B0201E9: cmp eax, dword ptr [esi + 0x84] */ 15625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x84)); 15626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15627 _flag_k = FK_CMP; 15628 L_2B0201EF: 15629 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020249; /* 0x2B0201EF: je 0x2b020249 */ 15630 L_2B0201F1: 15631 /* test eax, eax */ /* 0x2B0201F1: test eax, eax */ 15632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15633 _cf = 0; 15634 _flag_k = FK_TEST; 15635 L_2B0201F3: 15636 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020249; /* 0x2B0201F3: je 0x2b020249 */ 15637 L_2B0201F5: 15638 eax = MEM32(0x2B0EE7CC); /* 0x2B0201F5: mov eax, dword ptr [0x2b0ee7cc] */ 15639 L_2B0201FA: 15640 /* test eax, eax */ /* 0x2B0201FA: test eax, eax */ 15641 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15642 _cf = 0; 15643 _flag_k = FK_TEST; 15644 L_2B0201FC: 15645 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B020225; /* 0x2B0201FC: jne 0x2b020225 */ 15646 L_2B0201FE: 15647 PUSH32(esp, ebx); /* 0x2B0201FE: push ebx */ 15648 L_2B0201FF: 15649 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0201FF: call 0x2b0ab212 */ /* not lifted */ 15650 RECOMP_FLAGS_IN(); 15651 L_2B020204: 15652 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15653 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15654 esp = esp + 4; /* 0x2B020204: add esp, 4 */ 15655 _flag_k = FK_ADD; 15656 L_2B020207: 15657 MEM32(ebp + (-0x14)) = eax; /* 0x2B020207: mov dword ptr [ebp - 0x14], eax */ 15658 L_2B02020A: 15659 /* test eax, eax */ /* 0x2B02020A: test eax, eax */ 15660 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15661 _cf = 0; 15662 _flag_k = FK_TEST; 15663 L_2B02020C: 15664 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B02020C: mov byte ptr [ebp - 4], 0x1d */ 15665 L_2B020210: 15666 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B02021B; /* 0x2B020210: je 0x2b02021b */ 15667 L_2B020212: 15668 ecx = eax; /* 0x2B020212: mov ecx, eax */ 15669 L_2B020214: 15670 RECOMP_ICALL(0x2B02D550u); /* 0x2B020214: call 0x2b02d550 */ /* not lifted */ 15671 RECOMP_FLAGS_IN(); 15672 L_2B020219: 15673 goto L_2B02021D; /* 0x2B020219: jmp 0x2b02021d */ 15674 L_2B02021B: 15675 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15676 eax = 0; /* 0x2B02021B: xor eax, eax */ 15677 _cf = 0; 15678 _flag_k = FK_TEST; 15679 L_2B02021D: 15680 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B02021D: mov byte ptr [ebp - 4], bl */ 15681 L_2B020220: 15682 MEM32(0x2B0EE7CC) = eax; /* 0x2B020220: mov dword ptr [0x2b0ee7cc], eax */ 15683 L_2B020225: 15684 eax = MEM32(esi + 0x80); /* 0x2B020225: mov eax, dword ptr [esi + 0x80] */ 15685 L_2B02022B: 15686 ecx = MEM32(eax * 4 + 0x2B0EE800); /* 0x2B02022B: mov ecx, dword ptr [eax*4 + 0x2b0ee800] */ 15687 L_2B020232: 15688 /* test ecx, ecx */ /* 0x2B020232: test ecx, ecx */ 15689 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15690 _cf = 0; 15691 _flag_k = FK_TEST; 15692 L_2B020234: 15693 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020249; /* 0x2B020234: je 0x2b020249 */ 15694 L_2B020236: 15695 PUSH32(esp, ebx); /* 0x2B020236: push ebx */ 15696 L_2B020237: 15697 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020237: call 0x2b02b0f0 */ /* not lifted */ 15698 RECOMP_FLAGS_IN(); 15699 L_2B02023C: 15700 ecx = MEM32(esi + 0x70); /* 0x2B02023C: mov ecx, dword ptr [esi + 0x70] */ 15701 L_2B02023F: 15702 PUSH32(esp, ecx); /* 0x2B02023F: push ecx */ 15703 L_2B020240: 15704 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B020240: call dword ptr [0x2b0b60b8] */ 15705 RECOMP_FLAGS_IN(); 15706 L_2B020246: 15707 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15708 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15709 esp = esp + 4; /* 0x2B020246: add esp, 4 */ 15710 _flag_k = FK_ADD; 15711 L_2B020249: 15712 eax = MEM32(esi + 0x7C); /* 0x2B020249: mov eax, dword ptr [esi + 0x7c] */ 15713 L_2B02024C: 15714 /* test eax, eax */ /* 0x2B02024C: test eax, eax */ 15715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15716 _cf = 0; 15717 _flag_k = FK_TEST; 15718 L_2B02024E: 15719 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020295; /* 0x2B02024E: je 0x2b020295 */ 15720 L_2B020250: 15721 eax = MEM32(0x2B0EE7CC); /* 0x2B020250: mov eax, dword ptr [0x2b0ee7cc] */ 15722 L_2B020255: 15723 /* test eax, eax */ /* 0x2B020255: test eax, eax */ 15724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15725 _cf = 0; 15726 _flag_k = FK_TEST; 15727 L_2B020257: 15728 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B020280; /* 0x2B020257: jne 0x2b020280 */ 15729 L_2B020259: 15730 PUSH32(esp, ebx); /* 0x2B020259: push ebx */ 15731 L_2B02025A: 15732 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02025A: call 0x2b0ab212 */ /* not lifted */ 15733 RECOMP_FLAGS_IN(); 15734 L_2B02025F: 15735 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15736 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15737 esp = esp + 4; /* 0x2B02025F: add esp, 4 */ 15738 _flag_k = FK_ADD; 15739 L_2B020262: 15740 MEM32(ebp + (-0x14)) = eax; /* 0x2B020262: mov dword ptr [ebp - 0x14], eax */ 15741 L_2B020265: 15742 /* test eax, eax */ /* 0x2B020265: test eax, eax */ 15743 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15744 _cf = 0; 15745 _flag_k = FK_TEST; 15746 L_2B020267: 15747 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B020267: mov byte ptr [ebp - 4], 0x1e */ 15748 L_2B02026B: 15749 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020276; /* 0x2B02026B: je 0x2b020276 */ 15750 L_2B02026D: 15751 ecx = eax; /* 0x2B02026D: mov ecx, eax */ 15752 L_2B02026F: 15753 RECOMP_ICALL(0x2B02D550u); /* 0x2B02026F: call 0x2b02d550 */ /* not lifted */ 15754 RECOMP_FLAGS_IN(); 15755 L_2B020274: 15756 goto L_2B020278; /* 0x2B020274: jmp 0x2b020278 */ 15757 L_2B020276: 15758 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15759 eax = 0; /* 0x2B020276: xor eax, eax */ 15760 _cf = 0; 15761 _flag_k = FK_TEST; 15762 L_2B020278: 15763 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020278: mov byte ptr [ebp - 4], bl */ 15764 L_2B02027B: 15765 MEM32(0x2B0EE7CC) = eax; /* 0x2B02027B: mov dword ptr [0x2b0ee7cc], eax */ 15766 L_2B020280: 15767 edx = MEM32(esi + 0x7C); /* 0x2B020280: mov edx, dword ptr [esi + 0x7c] */ 15768 L_2B020283: 15769 ecx = MEM32(edx * 4 + 0x2B0EE800); /* 0x2B020283: mov ecx, dword ptr [edx*4 + 0x2b0ee800] */ 15770 L_2B02028A: 15771 /* test ecx, ecx */ /* 0x2B02028A: test ecx, ecx */ 15772 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15773 _cf = 0; 15774 _flag_k = FK_TEST; 15775 L_2B02028C: 15776 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020295; /* 0x2B02028C: je 0x2b020295 */ 15777 L_2B02028E: 15778 PUSH32(esp, 0); /* 0x2B02028E: push 0 */ 15779 L_2B020290: 15780 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020290: call 0x2b02b0f0 */ /* not lifted */ 15781 RECOMP_FLAGS_IN(); 15782 L_2B020295: 15783 eax = MEM32(esi + 0x5C); /* 0x2B020295: mov eax, dword ptr [esi + 0x5c] */ 15784 L_2B020298: 15785 PUSH32(esp, 0); /* 0x2B020298: push 0 */ 15786 L_2B02029A: 15787 edi = esi + 0x5C; /* 0x2B02029A: lea edi, [esi + 0x5c] */ 15788 L_2B02029D: 15789 PUSH32(esp, eax); /* 0x2B02029D: push eax */ 15790 L_2B02029E: 15791 ecx = ebp + (-0x30); /* 0x2B02029E: lea ecx, [ebp - 0x30] */ 15792 L_2B0202A1: 15793 PUSH32(esp, ecx); /* 0x2B0202A1: push ecx */ 15794 L_2B0202A2: 15795 edx = ebp + (-0x44); /* 0x2B0202A2: lea edx, [ebp - 0x44] */ 15796 L_2B0202A5: 15797 PUSH32(esp, edx); /* 0x2B0202A5: push edx */ 15798 L_2B0202A6: 15799 ecx = esi; /* 0x2B0202A6: mov ecx, esi */ 15800 L_2B0202A8: 15801 RECOMP_ICALL(0x2B0387C0u); /* 0x2B0202A8: call 0x2b0387c0 */ /* not lifted */ 15802 RECOMP_FLAGS_IN(); 15803 L_2B0202AD: 15804 eax = MEM32(edi); /* 0x2B0202AD: mov eax, dword ptr [edi] */ 15805 L_2B0202AF: 15806 MEM32(esi + 0x60) = eax; /* 0x2B0202AF: mov dword ptr [esi + 0x60], eax */ 15807 L_2B0202B2: 15808 MEM32(edi) = 0; /* 0x2B0202B2: mov dword ptr [edi], 0 */ 15809 L_2B0202B8: 15810 ecx = MEM32(ebp + (-0x20)); /* 0x2B0202B8: mov ecx, dword ptr [ebp - 0x20] */ 15811 L_2B0202BB: 15812 /* test ecx, ecx */ /* 0x2B0202BB: test ecx, ecx */ 15813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15814 _cf = 0; 15815 _flag_k = FK_TEST; 15816 L_2B0202BD: 15817 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B0202BD: mov byte ptr [ebp - 4], 0x1f */ 15818 L_2B0202C1: 15819 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0202C8; /* 0x2B0202C1: je 0x2b0202c8 */ 15820 L_2B0202C3: 15821 RECOMP_ICALL(0x2B005B20u); /* 0x2B0202C3: call 0x2b005b20 */ /* not lifted */ 15822 RECOMP_FLAGS_IN(); 15823 L_2B0202C8: 15824 PUSH32(esp, ebx); /* 0x2B0202C8: push ebx */ 15825 L_2B0202C9: 15826 ecx = ebp + (-0x30); /* 0x2B0202C9: lea ecx, [ebp - 0x30] */ 15827 L_2B0202CC: 15828 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0202CC: mov byte ptr [ebp - 4], 0 */ 15829 L_2B0202D0: 15830 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0202D0: call dword ptr [0x2b0b514c] */ 15831 RECOMP_FLAGS_IN(); 15832 L_2B0202D6: 15833 ecx = ebp + (-0x44); /* 0x2B0202D6: lea ecx, [ebp - 0x44] */ 15834 L_2B0202D9: 15835 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0202D9: mov dword ptr [ebp - 4], 0xffffffff */ 15836 L_2B0202E0: 15837 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B0202E0: call dword ptr [0x2b0b5b8c] */ 15838 RECOMP_FLAGS_IN(); 15839 L_2B0202E6: 15840 ecx = MEM32(ebp + (-0xC)); /* 0x2B0202E6: mov ecx, dword ptr [ebp - 0xc] */ 15841 L_2B0202E9: 15842 edi = POP32_VAL(esp); /* 0x2B0202E9: pop edi */ 15843 L_2B0202EA: 15844 esi = POP32_VAL(esp); /* 0x2B0202EA: pop esi */ 15845 L_2B0202EB: 15846 ebx = POP32_VAL(esp); /* 0x2B0202EB: pop ebx */ 15847 L_2B0202EC: 15848 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0202EC: mov dword ptr fs:[0], ecx */ 15849 L_2B0202F3: 15850 esp = ebp; /* 0x2B0202F3: mov esp, ebp */ 15851 L_2B0202F5: 15852 ebp = POP32_VAL(esp); /* 0x2B0202F5: pop ebp */ 15853 L_2B0202F6: 15854 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0202F6: ret */ 15855 _ljump: 15856 switch (_itail_tgt) { 15857 case 0x2B01FC20u: goto L_2B01FC20; 15858 case 0x2B01FC21u: goto L_2B01FC21; 15859 case 0x2B01FC23u: goto L_2B01FC23; 15860 case 0x2B01FC25u: goto L_2B01FC25; 15861 case 0x2B01FC2Au: goto L_2B01FC2A; 15862 case 0x2B01FC30u: goto L_2B01FC30; 15863 case 0x2B01FC31u: goto L_2B01FC31; 15864 case 0x2B01FC38u: goto L_2B01FC38; 15865 case 0x2B01FC3Eu: goto L_2B01FC3E; 15866 case 0x2B01FC41u: goto L_2B01FC41; 15867 case 0x2B01FC42u: goto L_2B01FC42; 15868 case 0x2B01FC43u: goto L_2B01FC43; 15869 case 0x2B01FC44u: goto L_2B01FC44; 15870 case 0x2B01FC46u: goto L_2B01FC46; 15871 case 0x2B01FC48u: goto L_2B01FC48; 15872 case 0x2B01FC49u: goto L_2B01FC49; 15873 case 0x2B01FC4Cu: goto L_2B01FC4C; 15874 case 0x2B01FC4Fu: goto L_2B01FC4F; 15875 case 0x2B01FC55u: goto L_2B01FC55; 15876 case 0x2B01FC58u: goto L_2B01FC58; 15877 case 0x2B01FC5Bu: goto L_2B01FC5B; 15878 case 0x2B01FC5Eu: goto L_2B01FC5E; 15879 case 0x2B01FC5Fu: goto L_2B01FC5F; 15880 case 0x2B01FC62u: goto L_2B01FC62; 15881 case 0x2B01FC65u: goto L_2B01FC65; 15882 case 0x2B01FC6Bu: goto L_2B01FC6B; 15883 case 0x2B01FC6Eu: goto L_2B01FC6E; 15884 case 0x2B01FC71u: goto L_2B01FC71; 15885 case 0x2B01FC74u: goto L_2B01FC74; 15886 case 0x2B01FC77u: goto L_2B01FC77; 15887 case 0x2B01FC7Au: goto L_2B01FC7A; 15888 case 0x2B01FC7Fu: goto L_2B01FC7F; 15889 case 0x2B01FC82u: goto L_2B01FC82; 15890 case 0x2B01FC88u: goto L_2B01FC88; 15891 case 0x2B01FC8Au: goto L_2B01FC8A; 15892 case 0x2B01FC90u: goto L_2B01FC90; 15893 case 0x2B01FC97u: goto L_2B01FC97; 15894 case 0x2B01FC9Du: goto L_2B01FC9D; 15895 case 0x2B01FCA0u: goto L_2B01FCA0; 15896 case 0x2B01FCA6u: goto L_2B01FCA6; 15897 case 0x2B01FCA9u: goto L_2B01FCA9; 15898 case 0x2B01FCABu: goto L_2B01FCAB; 15899 case 0x2B01FCB1u: goto L_2B01FCB1; 15900 case 0x2B01FCB7u: goto L_2B01FCB7; 15901 case 0x2B01FCBAu: goto L_2B01FCBA; 15902 case 0x2B01FCBFu: goto L_2B01FCBF; 15903 case 0x2B01FCC0u: goto L_2B01FCC0; 15904 case 0x2B01FCC1u: goto L_2B01FCC1; 15905 case 0x2B01FCC7u: goto L_2B01FCC7; 15906 case 0x2B01FCCBu: goto L_2B01FCCB; 15907 case 0x2B01FCD0u: goto L_2B01FCD0; 15908 case 0x2B01FCD1u: goto L_2B01FCD1; 15909 case 0x2B01FCD4u: goto L_2B01FCD4; 15910 case 0x2B01FCDAu: goto L_2B01FCDA; 15911 case 0x2B01FCDBu: goto L_2B01FCDB; 15912 case 0x2B01FCDDu: goto L_2B01FCDD; 15913 case 0x2B01FCE1u: goto L_2B01FCE1; 15914 case 0x2B01FCE6u: goto L_2B01FCE6; 15915 case 0x2B01FCE8u: goto L_2B01FCE8; 15916 case 0x2B01FCEEu: goto L_2B01FCEE; 15917 case 0x2B01FCF1u: goto L_2B01FCF1; 15918 case 0x2B01FCF5u: goto L_2B01FCF5; 15919 case 0x2B01FCFAu: goto L_2B01FCFA; 15920 case 0x2B01FCFDu: goto L_2B01FCFD; 15921 case 0x2B01FD01u: goto L_2B01FD01; 15922 case 0x2B01FD07u: goto L_2B01FD07; 15923 case 0x2B01FD0Au: goto L_2B01FD0A; 15924 case 0x2B01FD0Du: goto L_2B01FD0D; 15925 case 0x2B01FD13u: goto L_2B01FD13; 15926 case 0x2B01FD16u: goto L_2B01FD16; 15927 case 0x2B01FD19u: goto L_2B01FD19; 15928 case 0x2B01FD1Au: goto L_2B01FD1A; 15929 case 0x2B01FD1Du: goto L_2B01FD1D; 15930 case 0x2B01FD23u: goto L_2B01FD23; 15931 case 0x2B01FD26u: goto L_2B01FD26; 15932 case 0x2B01FD2Bu: goto L_2B01FD2B; 15933 case 0x2B01FD2Cu: goto L_2B01FD2C; 15934 case 0x2B01FD2Fu: goto L_2B01FD2F; 15935 case 0x2B01FD30u: goto L_2B01FD30; 15936 case 0x2B01FD36u: goto L_2B01FD36; 15937 case 0x2B01FD3Au: goto L_2B01FD3A; 15938 case 0x2B01FD3Fu: goto L_2B01FD3F; 15939 case 0x2B01FD40u: goto L_2B01FD40; 15940 case 0x2B01FD43u: goto L_2B01FD43; 15941 case 0x2B01FD44u: goto L_2B01FD44; 15942 case 0x2B01FD46u: goto L_2B01FD46; 15943 case 0x2B01FD4Au: goto L_2B01FD4A; 15944 case 0x2B01FD4Fu: goto L_2B01FD4F; 15945 case 0x2B01FD51u: goto L_2B01FD51; 15946 case 0x2B01FD57u: goto L_2B01FD57; 15947 case 0x2B01FD5Bu: goto L_2B01FD5B; 15948 case 0x2B01FD60u: goto L_2B01FD60; 15949 case 0x2B01FD63u: goto L_2B01FD63; 15950 case 0x2B01FD67u: goto L_2B01FD67; 15951 case 0x2B01FD6Du: goto L_2B01FD6D; 15952 case 0x2B01FD70u: goto L_2B01FD70; 15953 case 0x2B01FD73u: goto L_2B01FD73; 15954 case 0x2B01FD79u: goto L_2B01FD79; 15955 case 0x2B01FD7Eu: goto L_2B01FD7E; 15956 case 0x2B01FD84u: goto L_2B01FD84; 15957 case 0x2B01FD87u: goto L_2B01FD87; 15958 case 0x2B01FD91u: goto L_2B01FD91; 15959 case 0x2B01FD97u: goto L_2B01FD97; 15960 case 0x2B01FD98u: goto L_2B01FD98; 15961 case 0x2B01FD9Bu: goto L_2B01FD9B; 15962 case 0x2B01FDA1u: goto L_2B01FDA1; 15963 case 0x2B01FDA8u: goto L_2B01FDA8; 15964 case 0x2B01FDABu: goto L_2B01FDAB; 15965 case 0x2B01FDADu: goto L_2B01FDAD; 15966 case 0x2B01FDB2u: goto L_2B01FDB2; 15967 case 0x2B01FDB4u: goto L_2B01FDB4; 15968 case 0x2B01FDB6u: goto L_2B01FDB6; 15969 case 0x2B01FDB7u: goto L_2B01FDB7; 15970 case 0x2B01FDB8u: goto L_2B01FDB8; 15971 case 0x2B01FDBDu: goto L_2B01FDBD; 15972 case 0x2B01FDC0u: goto L_2B01FDC0; 15973 case 0x2B01FDC6u: goto L_2B01FDC6; 15974 case 0x2B01FDC9u: goto L_2B01FDC9; 15975 case 0x2B01FDD0u: goto L_2B01FDD0; 15976 case 0x2B01FDD5u: goto L_2B01FDD5; 15977 case 0x2B01FDD6u: goto L_2B01FDD6; 15978 case 0x2B01FDD9u: goto L_2B01FDD9; 15979 case 0x2B01FDDAu: goto L_2B01FDDA; 15980 case 0x2B01FDE0u: goto L_2B01FDE0; 15981 case 0x2B01FDE4u: goto L_2B01FDE4; 15982 case 0x2B01FDE9u: goto L_2B01FDE9; 15983 case 0x2B01FDEAu: goto L_2B01FDEA; 15984 case 0x2B01FDEDu: goto L_2B01FDED; 15985 case 0x2B01FDEEu: goto L_2B01FDEE; 15986 case 0x2B01FDF4u: goto L_2B01FDF4; 15987 case 0x2B01FDF8u: goto L_2B01FDF8; 15988 case 0x2B01FDFDu: goto L_2B01FDFD; 15989 case 0x2B01FDFFu: goto L_2B01FDFF; 15990 case 0x2B01FE05u: goto L_2B01FE05; 15991 case 0x2B01FE09u: goto L_2B01FE09; 15992 case 0x2B01FE0Eu: goto L_2B01FE0E; 15993 case 0x2B01FE11u: goto L_2B01FE11; 15994 case 0x2B01FE15u: goto L_2B01FE15; 15995 case 0x2B01FE1Bu: goto L_2B01FE1B; 15996 case 0x2B01FE1Eu: goto L_2B01FE1E; 15997 case 0x2B01FE21u: goto L_2B01FE21; 15998 case 0x2B01FE27u: goto L_2B01FE27; 15999 case 0x2B01FE2Cu: goto L_2B01FE2C; 16000 case 0x2B01FE2Fu: goto L_2B01FE2F; 16001 case 0x2B01FE31u: goto L_2B01FE31; 16002 case 0x2B01FE36u: goto L_2B01FE36; 16003 case 0x2B01FE38u: goto L_2B01FE38; 16004 case 0x2B01FE3Au: goto L_2B01FE3A; 16005 case 0x2B01FE3Bu: goto L_2B01FE3B; 16006 case 0x2B01FE3Cu: goto L_2B01FE3C; 16007 case 0x2B01FE41u: goto L_2B01FE41; 16008 case 0x2B01FE44u: goto L_2B01FE44; 16009 case 0x2B01FE4Au: goto L_2B01FE4A; 16010 case 0x2B01FE4Du: goto L_2B01FE4D; 16011 case 0x2B01FE54u: goto L_2B01FE54; 16012 case 0x2B01FE59u: goto L_2B01FE59; 16013 case 0x2B01FE5Au: goto L_2B01FE5A; 16014 case 0x2B01FE5Du: goto L_2B01FE5D; 16015 case 0x2B01FE5Eu: goto L_2B01FE5E; 16016 case 0x2B01FE64u: goto L_2B01FE64; 16017 case 0x2B01FE68u: goto L_2B01FE68; 16018 case 0x2B01FE6Du: goto L_2B01FE6D; 16019 case 0x2B01FE6Eu: goto L_2B01FE6E; 16020 case 0x2B01FE71u: goto L_2B01FE71; 16021 case 0x2B01FE72u: goto L_2B01FE72; 16022 case 0x2B01FE78u: goto L_2B01FE78; 16023 case 0x2B01FE7Cu: goto L_2B01FE7C; 16024 case 0x2B01FE81u: goto L_2B01FE81; 16025 case 0x2B01FE83u: goto L_2B01FE83; 16026 case 0x2B01FE89u: goto L_2B01FE89; 16027 case 0x2B01FE8Du: goto L_2B01FE8D; 16028 case 0x2B01FE92u: goto L_2B01FE92; 16029 case 0x2B01FE95u: goto L_2B01FE95; 16030 case 0x2B01FE99u: goto L_2B01FE99; 16031 case 0x2B01FE9Fu: goto L_2B01FE9F; 16032 case 0x2B01FEA2u: goto L_2B01FEA2; 16033 case 0x2B01FEA5u: goto L_2B01FEA5; 16034 case 0x2B01FEABu: goto L_2B01FEAB; 16035 case 0x2B01FEB0u: goto L_2B01FEB0; 16036 case 0x2B01FEB3u: goto L_2B01FEB3; 16037 case 0x2B01FEB5u: goto L_2B01FEB5; 16038 case 0x2B01FEBAu: goto L_2B01FEBA; 16039 case 0x2B01FEBCu: goto L_2B01FEBC; 16040 case 0x2B01FEBEu: goto L_2B01FEBE; 16041 case 0x2B01FEBFu: goto L_2B01FEBF; 16042 case 0x2B01FEC0u: goto L_2B01FEC0; 16043 case 0x2B01FEC5u: goto L_2B01FEC5; 16044 case 0x2B01FEC8u: goto L_2B01FEC8; 16045 case 0x2B01FECEu: goto L_2B01FECE; 16046 case 0x2B01FED1u: goto L_2B01FED1; 16047 case 0x2B01FEDBu: goto L_2B01FEDB; 16048 case 0x2B01FEE0u: goto L_2B01FEE0; 16049 case 0x2B01FEE1u: goto L_2B01FEE1; 16050 case 0x2B01FEE7u: goto L_2B01FEE7; 16051 case 0x2B01FEE8u: goto L_2B01FEE8; 16052 case 0x2B01FEEEu: goto L_2B01FEEE; 16053 case 0x2B01FEF2u: goto L_2B01FEF2; 16054 case 0x2B01FEF7u: goto L_2B01FEF7; 16055 case 0x2B01FEF8u: goto L_2B01FEF8; 16056 case 0x2B01FEFBu: goto L_2B01FEFB; 16057 case 0x2B01FEFCu: goto L_2B01FEFC; 16058 case 0x2B01FF02u: goto L_2B01FF02; 16059 case 0x2B01FF06u: goto L_2B01FF06; 16060 case 0x2B01FF0Bu: goto L_2B01FF0B; 16061 case 0x2B01FF0Du: goto L_2B01FF0D; 16062 case 0x2B01FF13u: goto L_2B01FF13; 16063 case 0x2B01FF17u: goto L_2B01FF17; 16064 case 0x2B01FF1Cu: goto L_2B01FF1C; 16065 case 0x2B01FF1Fu: goto L_2B01FF1F; 16066 case 0x2B01FF22u: goto L_2B01FF22; 16067 case 0x2B01FF27u: goto L_2B01FF27; 16068 case 0x2B01FF2Au: goto L_2B01FF2A; 16069 case 0x2B01FF2Cu: goto L_2B01FF2C; 16070 case 0x2B01FF31u: goto L_2B01FF31; 16071 case 0x2B01FF33u: goto L_2B01FF33; 16072 case 0x2B01FF35u: goto L_2B01FF35; 16073 case 0x2B01FF36u: goto L_2B01FF36; 16074 case 0x2B01FF37u: goto L_2B01FF37; 16075 case 0x2B01FF3Cu: goto L_2B01FF3C; 16076 case 0x2B01FF3Fu: goto L_2B01FF3F; 16077 case 0x2B01FF45u: goto L_2B01FF45; 16078 case 0x2B01FF48u: goto L_2B01FF48; 16079 case 0x2B01FF52u: goto L_2B01FF52; 16080 case 0x2B01FF57u: goto L_2B01FF57; 16081 case 0x2B01FF58u: goto L_2B01FF58; 16082 case 0x2B01FF5Eu: goto L_2B01FF5E; 16083 case 0x2B01FF5Fu: goto L_2B01FF5F; 16084 case 0x2B01FF65u: goto L_2B01FF65; 16085 case 0x2B01FF69u: goto L_2B01FF69; 16086 case 0x2B01FF6Eu: goto L_2B01FF6E; 16087 case 0x2B01FF6Fu: goto L_2B01FF6F; 16088 case 0x2B01FF72u: goto L_2B01FF72; 16089 case 0x2B01FF73u: goto L_2B01FF73; 16090 case 0x2B01FF79u: goto L_2B01FF79; 16091 case 0x2B01FF7Du: goto L_2B01FF7D; 16092 case 0x2B01FF82u: goto L_2B01FF82; 16093 case 0x2B01FF84u: goto L_2B01FF84; 16094 case 0x2B01FF8Au: goto L_2B01FF8A; 16095 case 0x2B01FF8Eu: goto L_2B01FF8E; 16096 case 0x2B01FF93u: goto L_2B01FF93; 16097 case 0x2B01FF96u: goto L_2B01FF96; 16098 case 0x2B01FF99u: goto L_2B01FF99; 16099 case 0x2B01FF9Eu: goto L_2B01FF9E; 16100 case 0x2B01FFA1u: goto L_2B01FFA1; 16101 case 0x2B01FFA3u: goto L_2B01FFA3; 16102 case 0x2B01FFA8u: goto L_2B01FFA8; 16103 case 0x2B01FFAAu: goto L_2B01FFAA; 16104 case 0x2B01FFACu: goto L_2B01FFAC; 16105 case 0x2B01FFADu: goto L_2B01FFAD; 16106 case 0x2B01FFAEu: goto L_2B01FFAE; 16107 case 0x2B01FFB3u: goto L_2B01FFB3; 16108 case 0x2B01FFB6u: goto L_2B01FFB6; 16109 case 0x2B01FFBCu: goto L_2B01FFBC; 16110 case 0x2B01FFBFu: goto L_2B01FFBF; 16111 case 0x2B01FFC9u: goto L_2B01FFC9; 16112 case 0x2B01FFCEu: goto L_2B01FFCE; 16113 case 0x2B01FFCFu: goto L_2B01FFCF; 16114 case 0x2B01FFD5u: goto L_2B01FFD5; 16115 case 0x2B01FFD6u: goto L_2B01FFD6; 16116 case 0x2B01FFDCu: goto L_2B01FFDC; 16117 case 0x2B01FFE0u: goto L_2B01FFE0; 16118 case 0x2B01FFE5u: goto L_2B01FFE5; 16119 case 0x2B01FFE6u: goto L_2B01FFE6; 16120 case 0x2B01FFE9u: goto L_2B01FFE9; 16121 case 0x2B01FFEAu: goto L_2B01FFEA; 16122 case 0x2B01FFF0u: goto L_2B01FFF0; 16123 case 0x2B01FFF4u: goto L_2B01FFF4; 16124 case 0x2B01FFF9u: goto L_2B01FFF9; 16125 case 0x2B01FFFBu: goto L_2B01FFFB; 16126 case 0x2B020001u: goto L_2B020001; 16127 case 0x2B020005u: goto L_2B020005; 16128 case 0x2B02000Au: goto L_2B02000A; 16129 case 0x2B02000Du: goto L_2B02000D; 16130 case 0x2B020010u: goto L_2B020010; 16131 case 0x2B020015u: goto L_2B020015; 16132 case 0x2B020018u: goto L_2B020018; 16133 case 0x2B02001Au: goto L_2B02001A; 16134 case 0x2B02001Fu: goto L_2B02001F; 16135 case 0x2B020021u: goto L_2B020021; 16136 case 0x2B020023u: goto L_2B020023; 16137 case 0x2B020024u: goto L_2B020024; 16138 case 0x2B020025u: goto L_2B020025; 16139 case 0x2B02002Au: goto L_2B02002A; 16140 case 0x2B02002Du: goto L_2B02002D; 16141 case 0x2B020033u: goto L_2B020033; 16142 case 0x2B020036u: goto L_2B020036; 16143 case 0x2B020040u: goto L_2B020040; 16144 case 0x2B020045u: goto L_2B020045; 16145 case 0x2B020046u: goto L_2B020046; 16146 case 0x2B02004Cu: goto L_2B02004C; 16147 case 0x2B02004Du: goto L_2B02004D; 16148 case 0x2B020053u: goto L_2B020053; 16149 case 0x2B020057u: goto L_2B020057; 16150 case 0x2B02005Cu: goto L_2B02005C; 16151 case 0x2B02005Du: goto L_2B02005D; 16152 case 0x2B020060u: goto L_2B020060; 16153 case 0x2B020061u: goto L_2B020061; 16154 case 0x2B020067u: goto L_2B020067; 16155 case 0x2B02006Bu: goto L_2B02006B; 16156 case 0x2B020070u: goto L_2B020070; 16157 case 0x2B020072u: goto L_2B020072; 16158 case 0x2B020078u: goto L_2B020078; 16159 case 0x2B02007Cu: goto L_2B02007C; 16160 case 0x2B020081u: goto L_2B020081; 16161 case 0x2B020084u: goto L_2B020084; 16162 case 0x2B020087u: goto L_2B020087; 16163 case 0x2B02008Cu: goto L_2B02008C; 16164 case 0x2B02008Fu: goto L_2B02008F; 16165 case 0x2B020091u: goto L_2B020091; 16166 case 0x2B020096u: goto L_2B020096; 16167 case 0x2B020098u: goto L_2B020098; 16168 case 0x2B02009Au: goto L_2B02009A; 16169 case 0x2B02009Bu: goto L_2B02009B; 16170 case 0x2B02009Cu: goto L_2B02009C; 16171 case 0x2B0200A1u: goto L_2B0200A1; 16172 case 0x2B0200A4u: goto L_2B0200A4; 16173 case 0x2B0200AAu: goto L_2B0200AA; 16174 case 0x2B0200ADu: goto L_2B0200AD; 16175 case 0x2B0200B4u: goto L_2B0200B4; 16176 case 0x2B0200B9u: goto L_2B0200B9; 16177 case 0x2B0200BAu: goto L_2B0200BA; 16178 case 0x2B0200BDu: goto L_2B0200BD; 16179 case 0x2B0200BEu: goto L_2B0200BE; 16180 case 0x2B0200C4u: goto L_2B0200C4; 16181 case 0x2B0200C8u: goto L_2B0200C8; 16182 case 0x2B0200CDu: goto L_2B0200CD; 16183 case 0x2B0200CEu: goto L_2B0200CE; 16184 case 0x2B0200D1u: goto L_2B0200D1; 16185 case 0x2B0200D2u: goto L_2B0200D2; 16186 case 0x2B0200D8u: goto L_2B0200D8; 16187 case 0x2B0200DCu: goto L_2B0200DC; 16188 case 0x2B0200E1u: goto L_2B0200E1; 16189 case 0x2B0200E3u: goto L_2B0200E3; 16190 case 0x2B0200E9u: goto L_2B0200E9; 16191 case 0x2B0200EDu: goto L_2B0200ED; 16192 case 0x2B0200F2u: goto L_2B0200F2; 16193 case 0x2B0200F5u: goto L_2B0200F5; 16194 case 0x2B0200F9u: goto L_2B0200F9; 16195 case 0x2B0200FFu: goto L_2B0200FF; 16196 case 0x2B020102u: goto L_2B020102; 16197 case 0x2B020105u: goto L_2B020105; 16198 case 0x2B02010Bu: goto L_2B02010B; 16199 case 0x2B020110u: goto L_2B020110; 16200 case 0x2B020113u: goto L_2B020113; 16201 case 0x2B02011Au: goto L_2B02011A; 16202 case 0x2B02011Fu: goto L_2B02011F; 16203 case 0x2B020120u: goto L_2B020120; 16204 case 0x2B020123u: goto L_2B020123; 16205 case 0x2B020124u: goto L_2B020124; 16206 case 0x2B02012Au: goto L_2B02012A; 16207 case 0x2B02012Eu: goto L_2B02012E; 16208 case 0x2B020133u: goto L_2B020133; 16209 case 0x2B020134u: goto L_2B020134; 16210 case 0x2B02013Au: goto L_2B02013A; 16211 case 0x2B020140u: goto L_2B020140; 16212 case 0x2B020141u: goto L_2B020141; 16213 case 0x2B020143u: goto L_2B020143; 16214 case 0x2B020147u: goto L_2B020147; 16215 case 0x2B02014Cu: goto L_2B02014C; 16216 case 0x2B02014Eu: goto L_2B02014E; 16217 case 0x2B020154u: goto L_2B020154; 16218 case 0x2B020157u: goto L_2B020157; 16219 case 0x2B02015Bu: goto L_2B02015B; 16220 case 0x2B020160u: goto L_2B020160; 16221 case 0x2B020163u: goto L_2B020163; 16222 case 0x2B020166u: goto L_2B020166; 16223 case 0x2B02016Bu: goto L_2B02016B; 16224 case 0x2B02016Eu: goto L_2B02016E; 16225 case 0x2B020171u: goto L_2B020171; 16226 case 0x2B020172u: goto L_2B020172; 16227 case 0x2B020175u: goto L_2B020175; 16228 case 0x2B02017Bu: goto L_2B02017B; 16229 case 0x2B02017Eu: goto L_2B02017E; 16230 case 0x2B020185u: goto L_2B020185; 16231 case 0x2B02018Au: goto L_2B02018A; 16232 case 0x2B02018Bu: goto L_2B02018B; 16233 case 0x2B02018Eu: goto L_2B02018E; 16234 case 0x2B02018Fu: goto L_2B02018F; 16235 case 0x2B020195u: goto L_2B020195; 16236 case 0x2B020199u: goto L_2B020199; 16237 case 0x2B02019Eu: goto L_2B02019E; 16238 case 0x2B02019Fu: goto L_2B02019F; 16239 case 0x2B0201A5u: goto L_2B0201A5; 16240 case 0x2B0201A6u: goto L_2B0201A6; 16241 case 0x2B0201A8u: goto L_2B0201A8; 16242 case 0x2B0201ACu: goto L_2B0201AC; 16243 case 0x2B0201B1u: goto L_2B0201B1; 16244 case 0x2B0201B3u: goto L_2B0201B3; 16245 case 0x2B0201B9u: goto L_2B0201B9; 16246 case 0x2B0201BDu: goto L_2B0201BD; 16247 case 0x2B0201C2u: goto L_2B0201C2; 16248 case 0x2B0201C5u: goto L_2B0201C5; 16249 case 0x2B0201C8u: goto L_2B0201C8; 16250 case 0x2B0201CDu: goto L_2B0201CD; 16251 case 0x2B0201D0u: goto L_2B0201D0; 16252 case 0x2B0201D1u: goto L_2B0201D1; 16253 case 0x2B0201D4u: goto L_2B0201D4; 16254 case 0x2B0201DAu: goto L_2B0201DA; 16255 case 0x2B0201E0u: goto L_2B0201E0; 16256 case 0x2B0201E3u: goto L_2B0201E3; 16257 case 0x2B0201E9u: goto L_2B0201E9; 16258 case 0x2B0201EFu: goto L_2B0201EF; 16259 case 0x2B0201F1u: goto L_2B0201F1; 16260 case 0x2B0201F3u: goto L_2B0201F3; 16261 case 0x2B0201F5u: goto L_2B0201F5; 16262 case 0x2B0201FAu: goto L_2B0201FA; 16263 case 0x2B0201FCu: goto L_2B0201FC; 16264 case 0x2B0201FEu: goto L_2B0201FE; 16265 case 0x2B0201FFu: goto L_2B0201FF; 16266 case 0x2B020204u: goto L_2B020204; 16267 case 0x2B020207u: goto L_2B020207; 16268 case 0x2B02020Au: goto L_2B02020A; 16269 case 0x2B02020Cu: goto L_2B02020C; 16270 case 0x2B020210u: goto L_2B020210; 16271 case 0x2B020212u: goto L_2B020212; 16272 case 0x2B020214u: goto L_2B020214; 16273 case 0x2B020219u: goto L_2B020219; 16274 case 0x2B02021Bu: goto L_2B02021B; 16275 case 0x2B02021Du: goto L_2B02021D; 16276 case 0x2B020220u: goto L_2B020220; 16277 case 0x2B020225u: goto L_2B020225; 16278 case 0x2B02022Bu: goto L_2B02022B; 16279 case 0x2B020232u: goto L_2B020232; 16280 case 0x2B020234u: goto L_2B020234; 16281 case 0x2B020236u: goto L_2B020236; 16282 case 0x2B020237u: goto L_2B020237; 16283 case 0x2B02023Cu: goto L_2B02023C; 16284 case 0x2B02023Fu: goto L_2B02023F; 16285 case 0x2B020240u: goto L_2B020240; 16286 case 0x2B020246u: goto L_2B020246; 16287 case 0x2B020249u: goto L_2B020249; 16288 case 0x2B02024Cu: goto L_2B02024C; 16289 case 0x2B02024Eu: goto L_2B02024E; 16290 case 0x2B020250u: goto L_2B020250; 16291 case 0x2B020255u: goto L_2B020255; 16292 case 0x2B020257u: goto L_2B020257; 16293 case 0x2B020259u: goto L_2B020259; 16294 case 0x2B02025Au: goto L_2B02025A; 16295 case 0x2B02025Fu: goto L_2B02025F; 16296 case 0x2B020262u: goto L_2B020262; 16297 case 0x2B020265u: goto L_2B020265; 16298 case 0x2B020267u: goto L_2B020267; 16299 case 0x2B02026Bu: goto L_2B02026B; 16300 case 0x2B02026Du: goto L_2B02026D; 16301 case 0x2B02026Fu: goto L_2B02026F; 16302 case 0x2B020274u: goto L_2B020274; 16303 case 0x2B020276u: goto L_2B020276; 16304 case 0x2B020278u: goto L_2B020278; 16305 case 0x2B02027Bu: goto L_2B02027B; 16306 case 0x2B020280u: goto L_2B020280; 16307 case 0x2B020283u: goto L_2B020283; 16308 case 0x2B02028Au: goto L_2B02028A; 16309 case 0x2B02028Cu: goto L_2B02028C; 16310 case 0x2B02028Eu: goto L_2B02028E; 16311 case 0x2B020290u: goto L_2B020290; 16312 case 0x2B020295u: goto L_2B020295; 16313 case 0x2B020298u: goto L_2B020298; 16314 case 0x2B02029Au: goto L_2B02029A; 16315 case 0x2B02029Du: goto L_2B02029D; 16316 case 0x2B02029Eu: goto L_2B02029E; 16317 case 0x2B0202A1u: goto L_2B0202A1; 16318 case 0x2B0202A2u: goto L_2B0202A2; 16319 case 0x2B0202A5u: goto L_2B0202A5; 16320 case 0x2B0202A6u: goto L_2B0202A6; 16321 case 0x2B0202A8u: goto L_2B0202A8; 16322 case 0x2B0202ADu: goto L_2B0202AD; 16323 case 0x2B0202AFu: goto L_2B0202AF; 16324 case 0x2B0202B2u: goto L_2B0202B2; 16325 case 0x2B0202B8u: goto L_2B0202B8; 16326 case 0x2B0202BBu: goto L_2B0202BB; 16327 case 0x2B0202BDu: goto L_2B0202BD; 16328 case 0x2B0202C1u: goto L_2B0202C1; 16329 case 0x2B0202C3u: goto L_2B0202C3; 16330 case 0x2B0202C8u: goto L_2B0202C8; 16331 case 0x2B0202C9u: goto L_2B0202C9; 16332 case 0x2B0202CCu: goto L_2B0202CC; 16333 case 0x2B0202D0u: goto L_2B0202D0; 16334 case 0x2B0202D6u: goto L_2B0202D6; 16335 case 0x2B0202D9u: goto L_2B0202D9; 16336 case 0x2B0202E0u: goto L_2B0202E0; 16337 case 0x2B0202E6u: goto L_2B0202E6; 16338 case 0x2B0202E9u: goto L_2B0202E9; 16339 case 0x2B0202EAu: goto L_2B0202EA; 16340 case 0x2B0202EBu: goto L_2B0202EB; 16341 case 0x2B0202ECu: goto L_2B0202EC; 16342 case 0x2B0202F3u: goto L_2B0202F3; 16343 case 0x2B0202F5u: goto L_2B0202F5; 16344 case 0x2B0202F6u: goto L_2B0202F6; 16345 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16346 } 16347 RECOMP_REGS_OUT(); 16348 } 16349 16350 void sub_2B0201C8(void) { 16351 int _fpu_cmp = 0; 16352 uint32_t _cf = 0; 16353 int _df = 1; 16354 uint32_t _flag_k = FK_NONE; 16355 uint32_t _flag_a = 0, _flag_b = 0; 16356 uint32_t _itail_tgt = 0; 16357 RECOMP_REGS_LOCALS 16358 RECOMP_ENTER(0x2B0201C8u); 16359 16360 L_2B0201C8: 16361 RECOMP_ICALL(0x2B01F690u); /* 0x2B0201C8: call 0x2b01f690 */ /* not lifted */ 16362 RECOMP_FLAGS_IN(); 16363 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 16364 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16365 edi = edi + 0x24u; /* 0x2B0201CD: add edi, 0x24 */ 16366 _flag_k = FK_ADD; 16367 PUSH32(esp, edi); /* 0x2B0201D0: push edi */ 16368 ecx = ebp + (-0x30); /* 0x2B0201D1: lea ecx, [ebp - 0x30] */ 16369 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B0201D4: call dword ptr [0x2b0b5a8c] */ 16370 RECOMP_FLAGS_IN(); 16371 eax = MEM32(esi + 0x80); /* 0x2B0201DA: mov eax, dword ptr [esi + 0x80] */ 16372 /* cmp eax, MEM32(esi + 0x7C) */ /* 0x2B0201E0: cmp eax, dword ptr [esi + 0x7c] */ 16373 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x7C)); 16374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16375 _flag_k = FK_CMP; 16376 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B0201E3: je 0x2b020295 */ 16377 L_2B0201E9: 16378 /* cmp eax, MEM32(esi + 0x84) */ /* 0x2B0201E9: cmp eax, dword ptr [esi + 0x84] */ 16379 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x84)); 16380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16381 _flag_k = FK_CMP; 16382 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020249; /* 0x2B0201EF: je 0x2b020249 */ 16383 L_2B0201F1: 16384 /* test eax, eax */ /* 0x2B0201F1: test eax, eax */ 16385 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16386 _cf = 0; 16387 _flag_k = FK_TEST; 16388 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020249; /* 0x2B0201F3: je 0x2b020249 */ 16389 L_2B0201F5: 16390 eax = MEM32(0x2B0EE7CC); /* 0x2B0201F5: mov eax, dword ptr [0x2b0ee7cc] */ 16391 /* test eax, eax */ /* 0x2B0201FA: test eax, eax */ 16392 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16393 _cf = 0; 16394 _flag_k = FK_TEST; 16395 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020225; /* 0x2B0201FC: jne 0x2b020225 */ 16396 L_2B0201FE: 16397 PUSH32(esp, ebx); /* 0x2B0201FE: push ebx */ 16398 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0201FF: call 0x2b0ab212 */ /* not lifted */ 16399 RECOMP_FLAGS_IN(); 16400 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16401 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16402 esp = esp + 4; /* 0x2B020204: add esp, 4 */ 16403 _flag_k = FK_ADD; 16404 MEM32(ebp + (-0x14)) = eax; /* 0x2B020207: mov dword ptr [ebp - 0x14], eax */ 16405 /* test eax, eax */ /* 0x2B02020A: test eax, eax */ 16406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16407 _cf = 0; 16408 _flag_k = FK_TEST; 16409 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B02020C: mov byte ptr [ebp - 4], 0x1d */ 16410 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02021B; /* 0x2B020210: je 0x2b02021b */ 16411 L_2B020212: 16412 ecx = eax; /* 0x2B020212: mov ecx, eax */ 16413 RECOMP_ICALL(0x2B02D550u); /* 0x2B020214: call 0x2b02d550 */ /* not lifted */ 16414 RECOMP_FLAGS_IN(); 16415 goto L_2B02021D; /* 0x2B020219: jmp 0x2b02021d */ 16416 L_2B02021B: 16417 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16418 eax = 0; /* 0x2B02021B: xor eax, eax */ 16419 _cf = 0; 16420 _flag_k = FK_TEST; 16421 L_2B02021D: 16422 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B02021D: mov byte ptr [ebp - 4], bl */ 16423 MEM32(0x2B0EE7CC) = eax; /* 0x2B020220: mov dword ptr [0x2b0ee7cc], eax */ 16424 L_2B020225: 16425 eax = MEM32(esi + 0x80); /* 0x2B020225: mov eax, dword ptr [esi + 0x80] */ 16426 ecx = MEM32(eax * 4 + 0x2B0EE800); /* 0x2B02022B: mov ecx, dword ptr [eax*4 + 0x2b0ee800] */ 16427 /* test ecx, ecx */ /* 0x2B020232: test ecx, ecx */ 16428 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16429 _cf = 0; 16430 _flag_k = FK_TEST; 16431 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020249; /* 0x2B020234: je 0x2b020249 */ 16432 L_2B020236: 16433 PUSH32(esp, ebx); /* 0x2B020236: push ebx */ 16434 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020237: call 0x2b02b0f0 */ /* not lifted */ 16435 RECOMP_FLAGS_IN(); 16436 ecx = MEM32(esi + 0x70); /* 0x2B02023C: mov ecx, dword ptr [esi + 0x70] */ 16437 PUSH32(esp, ecx); /* 0x2B02023F: push ecx */ 16438 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B020240: call dword ptr [0x2b0b60b8] */ 16439 RECOMP_FLAGS_IN(); 16440 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16441 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16442 esp = esp + 4; /* 0x2B020246: add esp, 4 */ 16443 _flag_k = FK_ADD; 16444 L_2B020249: 16445 eax = MEM32(esi + 0x7C); /* 0x2B020249: mov eax, dword ptr [esi + 0x7c] */ 16446 /* test eax, eax */ /* 0x2B02024C: test eax, eax */ 16447 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16448 _cf = 0; 16449 _flag_k = FK_TEST; 16450 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B02024E: je 0x2b020295 */ 16451 L_2B020250: 16452 eax = MEM32(0x2B0EE7CC); /* 0x2B020250: mov eax, dword ptr [0x2b0ee7cc] */ 16453 /* test eax, eax */ /* 0x2B020255: test eax, eax */ 16454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16455 _cf = 0; 16456 _flag_k = FK_TEST; 16457 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020280; /* 0x2B020257: jne 0x2b020280 */ 16458 L_2B020259: 16459 PUSH32(esp, ebx); /* 0x2B020259: push ebx */ 16460 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02025A: call 0x2b0ab212 */ /* not lifted */ 16461 RECOMP_FLAGS_IN(); 16462 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16463 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16464 esp = esp + 4; /* 0x2B02025F: add esp, 4 */ 16465 _flag_k = FK_ADD; 16466 MEM32(ebp + (-0x14)) = eax; /* 0x2B020262: mov dword ptr [ebp - 0x14], eax */ 16467 /* test eax, eax */ /* 0x2B020265: test eax, eax */ 16468 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16469 _cf = 0; 16470 _flag_k = FK_TEST; 16471 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B020267: mov byte ptr [ebp - 4], 0x1e */ 16472 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020276; /* 0x2B02026B: je 0x2b020276 */ 16473 L_2B02026D: 16474 ecx = eax; /* 0x2B02026D: mov ecx, eax */ 16475 RECOMP_ICALL(0x2B02D550u); /* 0x2B02026F: call 0x2b02d550 */ /* not lifted */ 16476 RECOMP_FLAGS_IN(); 16477 goto L_2B020278; /* 0x2B020274: jmp 0x2b020278 */ 16478 L_2B020276: 16479 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16480 eax = 0; /* 0x2B020276: xor eax, eax */ 16481 _cf = 0; 16482 _flag_k = FK_TEST; 16483 L_2B020278: 16484 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020278: mov byte ptr [ebp - 4], bl */ 16485 MEM32(0x2B0EE7CC) = eax; /* 0x2B02027B: mov dword ptr [0x2b0ee7cc], eax */ 16486 L_2B020280: 16487 edx = MEM32(esi + 0x7C); /* 0x2B020280: mov edx, dword ptr [esi + 0x7c] */ 16488 ecx = MEM32(edx * 4 + 0x2B0EE800); /* 0x2B020283: mov ecx, dword ptr [edx*4 + 0x2b0ee800] */ 16489 /* test ecx, ecx */ /* 0x2B02028A: test ecx, ecx */ 16490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16491 _cf = 0; 16492 _flag_k = FK_TEST; 16493 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B02028C: je 0x2b020295 */ 16494 L_2B02028E: 16495 PUSH32(esp, 0); /* 0x2B02028E: push 0 */ 16496 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020290: call 0x2b02b0f0 */ /* not lifted */ 16497 RECOMP_FLAGS_IN(); 16498 L_2B020295: 16499 eax = MEM32(esi + 0x5C); /* 0x2B020295: mov eax, dword ptr [esi + 0x5c] */ 16500 PUSH32(esp, 0); /* 0x2B020298: push 0 */ 16501 edi = esi + 0x5C; /* 0x2B02029A: lea edi, [esi + 0x5c] */ 16502 PUSH32(esp, eax); /* 0x2B02029D: push eax */ 16503 ecx = ebp + (-0x30); /* 0x2B02029E: lea ecx, [ebp - 0x30] */ 16504 PUSH32(esp, ecx); /* 0x2B0202A1: push ecx */ 16505 edx = ebp + (-0x44); /* 0x2B0202A2: lea edx, [ebp - 0x44] */ 16506 PUSH32(esp, edx); /* 0x2B0202A5: push edx */ 16507 ecx = esi; /* 0x2B0202A6: mov ecx, esi */ 16508 RECOMP_ICALL(0x2B0387C0u); /* 0x2B0202A8: call 0x2b0387c0 */ /* not lifted */ 16509 RECOMP_FLAGS_IN(); 16510 eax = MEM32(edi); /* 0x2B0202AD: mov eax, dword ptr [edi] */ 16511 MEM32(esi + 0x60) = eax; /* 0x2B0202AF: mov dword ptr [esi + 0x60], eax */ 16512 MEM32(edi) = 0; /* 0x2B0202B2: mov dword ptr [edi], 0 */ 16513 ecx = MEM32(ebp + (-0x20)); /* 0x2B0202B8: mov ecx, dword ptr [ebp - 0x20] */ 16514 /* test ecx, ecx */ /* 0x2B0202BB: test ecx, ecx */ 16515 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16516 _cf = 0; 16517 _flag_k = FK_TEST; 16518 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B0202BD: mov byte ptr [ebp - 4], 0x1f */ 16519 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0202C8; /* 0x2B0202C1: je 0x2b0202c8 */ 16520 L_2B0202C3: 16521 RECOMP_ICALL(0x2B005B20u); /* 0x2B0202C3: call 0x2b005b20 */ /* not lifted */ 16522 RECOMP_FLAGS_IN(); 16523 L_2B0202C8: 16524 PUSH32(esp, ebx); /* 0x2B0202C8: push ebx */ 16525 ecx = ebp + (-0x30); /* 0x2B0202C9: lea ecx, [ebp - 0x30] */ 16526 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0202CC: mov byte ptr [ebp - 4], 0 */ 16527 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0202D0: call dword ptr [0x2b0b514c] */ 16528 RECOMP_FLAGS_IN(); 16529 ecx = ebp + (-0x44); /* 0x2B0202D6: lea ecx, [ebp - 0x44] */ 16530 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0202D9: mov dword ptr [ebp - 4], 0xffffffff */ 16531 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B0202E0: call dword ptr [0x2b0b5b8c] */ 16532 RECOMP_FLAGS_IN(); 16533 ecx = MEM32(ebp + (-0xC)); /* 0x2B0202E6: mov ecx, dword ptr [ebp - 0xc] */ 16534 edi = POP32_VAL(esp); /* 0x2B0202E9: pop edi */ 16535 esi = POP32_VAL(esp); /* 0x2B0202EA: pop esi */ 16536 ebx = POP32_VAL(esp); /* 0x2B0202EB: pop ebx */ 16537 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0202EC: mov dword ptr fs:[0], ecx */ 16538 esp = ebp; /* 0x2B0202F3: mov esp, ebp */ 16539 ebp = POP32_VAL(esp); /* 0x2B0202F5: pop ebp */ 16540 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0202F6: ret */ 16541 RECOMP_REGS_OUT(); 16542 } 16543 16544 void sub_2B0201CD(void) { 16545 int _fpu_cmp = 0; 16546 uint32_t _cf = 0; 16547 int _df = 1; 16548 uint32_t _flag_k = FK_NONE; 16549 uint32_t _flag_a = 0, _flag_b = 0; 16550 uint32_t _itail_tgt = 0; 16551 RECOMP_REGS_LOCALS 16552 RECOMP_ENTER(0x2B0201CDu); 16553 16554 L_2B0201CD: 16555 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 16556 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16557 edi = edi + 0x24u; /* 0x2B0201CD: add edi, 0x24 */ 16558 _flag_k = FK_ADD; 16559 PUSH32(esp, edi); /* 0x2B0201D0: push edi */ 16560 ecx = ebp + (-0x30); /* 0x2B0201D1: lea ecx, [ebp - 0x30] */ 16561 RECOMP_ICALL(MEM32(0x2B0B5A8C)); /* 0x2B0201D4: call dword ptr [0x2b0b5a8c] */ 16562 RECOMP_FLAGS_IN(); 16563 eax = MEM32(esi + 0x80); /* 0x2B0201DA: mov eax, dword ptr [esi + 0x80] */ 16564 /* cmp eax, MEM32(esi + 0x7C) */ /* 0x2B0201E0: cmp eax, dword ptr [esi + 0x7c] */ 16565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x7C)); 16566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16567 _flag_k = FK_CMP; 16568 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B0201E3: je 0x2b020295 */ 16569 L_2B0201E9: 16570 /* cmp eax, MEM32(esi + 0x84) */ /* 0x2B0201E9: cmp eax, dword ptr [esi + 0x84] */ 16571 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x84)); 16572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16573 _flag_k = FK_CMP; 16574 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020249; /* 0x2B0201EF: je 0x2b020249 */ 16575 L_2B0201F1: 16576 /* test eax, eax */ /* 0x2B0201F1: test eax, eax */ 16577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16578 _cf = 0; 16579 _flag_k = FK_TEST; 16580 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020249; /* 0x2B0201F3: je 0x2b020249 */ 16581 L_2B0201F5: 16582 eax = MEM32(0x2B0EE7CC); /* 0x2B0201F5: mov eax, dword ptr [0x2b0ee7cc] */ 16583 /* test eax, eax */ /* 0x2B0201FA: test eax, eax */ 16584 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16585 _cf = 0; 16586 _flag_k = FK_TEST; 16587 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020225; /* 0x2B0201FC: jne 0x2b020225 */ 16588 L_2B0201FE: 16589 PUSH32(esp, ebx); /* 0x2B0201FE: push ebx */ 16590 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0201FF: call 0x2b0ab212 */ /* not lifted */ 16591 RECOMP_FLAGS_IN(); 16592 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16594 esp = esp + 4; /* 0x2B020204: add esp, 4 */ 16595 _flag_k = FK_ADD; 16596 MEM32(ebp + (-0x14)) = eax; /* 0x2B020207: mov dword ptr [ebp - 0x14], eax */ 16597 /* test eax, eax */ /* 0x2B02020A: test eax, eax */ 16598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16599 _cf = 0; 16600 _flag_k = FK_TEST; 16601 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B02020C: mov byte ptr [ebp - 4], 0x1d */ 16602 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02021B; /* 0x2B020210: je 0x2b02021b */ 16603 L_2B020212: 16604 ecx = eax; /* 0x2B020212: mov ecx, eax */ 16605 RECOMP_ICALL(0x2B02D550u); /* 0x2B020214: call 0x2b02d550 */ /* not lifted */ 16606 RECOMP_FLAGS_IN(); 16607 goto L_2B02021D; /* 0x2B020219: jmp 0x2b02021d */ 16608 L_2B02021B: 16609 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16610 eax = 0; /* 0x2B02021B: xor eax, eax */ 16611 _cf = 0; 16612 _flag_k = FK_TEST; 16613 L_2B02021D: 16614 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B02021D: mov byte ptr [ebp - 4], bl */ 16615 MEM32(0x2B0EE7CC) = eax; /* 0x2B020220: mov dword ptr [0x2b0ee7cc], eax */ 16616 L_2B020225: 16617 eax = MEM32(esi + 0x80); /* 0x2B020225: mov eax, dword ptr [esi + 0x80] */ 16618 ecx = MEM32(eax * 4 + 0x2B0EE800); /* 0x2B02022B: mov ecx, dword ptr [eax*4 + 0x2b0ee800] */ 16619 /* test ecx, ecx */ /* 0x2B020232: test ecx, ecx */ 16620 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16621 _cf = 0; 16622 _flag_k = FK_TEST; 16623 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020249; /* 0x2B020234: je 0x2b020249 */ 16624 L_2B020236: 16625 PUSH32(esp, ebx); /* 0x2B020236: push ebx */ 16626 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020237: call 0x2b02b0f0 */ /* not lifted */ 16627 RECOMP_FLAGS_IN(); 16628 ecx = MEM32(esi + 0x70); /* 0x2B02023C: mov ecx, dword ptr [esi + 0x70] */ 16629 PUSH32(esp, ecx); /* 0x2B02023F: push ecx */ 16630 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B020240: call dword ptr [0x2b0b60b8] */ 16631 RECOMP_FLAGS_IN(); 16632 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16634 esp = esp + 4; /* 0x2B020246: add esp, 4 */ 16635 _flag_k = FK_ADD; 16636 L_2B020249: 16637 eax = MEM32(esi + 0x7C); /* 0x2B020249: mov eax, dword ptr [esi + 0x7c] */ 16638 /* test eax, eax */ /* 0x2B02024C: test eax, eax */ 16639 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16640 _cf = 0; 16641 _flag_k = FK_TEST; 16642 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B02024E: je 0x2b020295 */ 16643 L_2B020250: 16644 eax = MEM32(0x2B0EE7CC); /* 0x2B020250: mov eax, dword ptr [0x2b0ee7cc] */ 16645 /* test eax, eax */ /* 0x2B020255: test eax, eax */ 16646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16647 _cf = 0; 16648 _flag_k = FK_TEST; 16649 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020280; /* 0x2B020257: jne 0x2b020280 */ 16650 L_2B020259: 16651 PUSH32(esp, ebx); /* 0x2B020259: push ebx */ 16652 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02025A: call 0x2b0ab212 */ /* not lifted */ 16653 RECOMP_FLAGS_IN(); 16654 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16655 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16656 esp = esp + 4; /* 0x2B02025F: add esp, 4 */ 16657 _flag_k = FK_ADD; 16658 MEM32(ebp + (-0x14)) = eax; /* 0x2B020262: mov dword ptr [ebp - 0x14], eax */ 16659 /* test eax, eax */ /* 0x2B020265: test eax, eax */ 16660 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16661 _cf = 0; 16662 _flag_k = FK_TEST; 16663 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B020267: mov byte ptr [ebp - 4], 0x1e */ 16664 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020276; /* 0x2B02026B: je 0x2b020276 */ 16665 L_2B02026D: 16666 ecx = eax; /* 0x2B02026D: mov ecx, eax */ 16667 RECOMP_ICALL(0x2B02D550u); /* 0x2B02026F: call 0x2b02d550 */ /* not lifted */ 16668 RECOMP_FLAGS_IN(); 16669 goto L_2B020278; /* 0x2B020274: jmp 0x2b020278 */ 16670 L_2B020276: 16671 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16672 eax = 0; /* 0x2B020276: xor eax, eax */ 16673 _cf = 0; 16674 _flag_k = FK_TEST; 16675 L_2B020278: 16676 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020278: mov byte ptr [ebp - 4], bl */ 16677 MEM32(0x2B0EE7CC) = eax; /* 0x2B02027B: mov dword ptr [0x2b0ee7cc], eax */ 16678 L_2B020280: 16679 edx = MEM32(esi + 0x7C); /* 0x2B020280: mov edx, dword ptr [esi + 0x7c] */ 16680 ecx = MEM32(edx * 4 + 0x2B0EE800); /* 0x2B020283: mov ecx, dword ptr [edx*4 + 0x2b0ee800] */ 16681 /* test ecx, ecx */ /* 0x2B02028A: test ecx, ecx */ 16682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16683 _cf = 0; 16684 _flag_k = FK_TEST; 16685 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B02028C: je 0x2b020295 */ 16686 L_2B02028E: 16687 PUSH32(esp, 0); /* 0x2B02028E: push 0 */ 16688 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020290: call 0x2b02b0f0 */ /* not lifted */ 16689 RECOMP_FLAGS_IN(); 16690 L_2B020295: 16691 eax = MEM32(esi + 0x5C); /* 0x2B020295: mov eax, dword ptr [esi + 0x5c] */ 16692 PUSH32(esp, 0); /* 0x2B020298: push 0 */ 16693 edi = esi + 0x5C; /* 0x2B02029A: lea edi, [esi + 0x5c] */ 16694 PUSH32(esp, eax); /* 0x2B02029D: push eax */ 16695 ecx = ebp + (-0x30); /* 0x2B02029E: lea ecx, [ebp - 0x30] */ 16696 PUSH32(esp, ecx); /* 0x2B0202A1: push ecx */ 16697 edx = ebp + (-0x44); /* 0x2B0202A2: lea edx, [ebp - 0x44] */ 16698 PUSH32(esp, edx); /* 0x2B0202A5: push edx */ 16699 ecx = esi; /* 0x2B0202A6: mov ecx, esi */ 16700 RECOMP_ICALL(0x2B0387C0u); /* 0x2B0202A8: call 0x2b0387c0 */ /* not lifted */ 16701 RECOMP_FLAGS_IN(); 16702 eax = MEM32(edi); /* 0x2B0202AD: mov eax, dword ptr [edi] */ 16703 MEM32(esi + 0x60) = eax; /* 0x2B0202AF: mov dword ptr [esi + 0x60], eax */ 16704 MEM32(edi) = 0; /* 0x2B0202B2: mov dword ptr [edi], 0 */ 16705 ecx = MEM32(ebp + (-0x20)); /* 0x2B0202B8: mov ecx, dword ptr [ebp - 0x20] */ 16706 /* test ecx, ecx */ /* 0x2B0202BB: test ecx, ecx */ 16707 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16708 _cf = 0; 16709 _flag_k = FK_TEST; 16710 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B0202BD: mov byte ptr [ebp - 4], 0x1f */ 16711 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0202C8; /* 0x2B0202C1: je 0x2b0202c8 */ 16712 L_2B0202C3: 16713 RECOMP_ICALL(0x2B005B20u); /* 0x2B0202C3: call 0x2b005b20 */ /* not lifted */ 16714 RECOMP_FLAGS_IN(); 16715 L_2B0202C8: 16716 PUSH32(esp, ebx); /* 0x2B0202C8: push ebx */ 16717 ecx = ebp + (-0x30); /* 0x2B0202C9: lea ecx, [ebp - 0x30] */ 16718 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0202CC: mov byte ptr [ebp - 4], 0 */ 16719 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0202D0: call dword ptr [0x2b0b514c] */ 16720 RECOMP_FLAGS_IN(); 16721 ecx = ebp + (-0x44); /* 0x2B0202D6: lea ecx, [ebp - 0x44] */ 16722 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0202D9: mov dword ptr [ebp - 4], 0xffffffff */ 16723 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B0202E0: call dword ptr [0x2b0b5b8c] */ 16724 RECOMP_FLAGS_IN(); 16725 ecx = MEM32(ebp + (-0xC)); /* 0x2B0202E6: mov ecx, dword ptr [ebp - 0xc] */ 16726 edi = POP32_VAL(esp); /* 0x2B0202E9: pop edi */ 16727 esi = POP32_VAL(esp); /* 0x2B0202EA: pop esi */ 16728 ebx = POP32_VAL(esp); /* 0x2B0202EB: pop ebx */ 16729 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0202EC: mov dword ptr fs:[0], ecx */ 16730 esp = ebp; /* 0x2B0202F3: mov esp, ebp */ 16731 ebp = POP32_VAL(esp); /* 0x2B0202F5: pop ebp */ 16732 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0202F6: ret */ 16733 RECOMP_REGS_OUT(); 16734 } 16735 16736 void sub_2B02021D(void) { 16737 int _fpu_cmp = 0; 16738 uint32_t _cf = 0; 16739 int _df = 1; 16740 uint32_t _flag_k = FK_NONE; 16741 uint32_t _flag_a = 0, _flag_b = 0; 16742 uint32_t _itail_tgt = 0; 16743 RECOMP_REGS_LOCALS 16744 RECOMP_ENTER(0x2B02021Du); 16745 16746 L_2B02021D: 16747 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B02021D: mov byte ptr [ebp - 4], bl */ 16748 MEM32(0x2B0EE7CC) = eax; /* 0x2B020220: mov dword ptr [0x2b0ee7cc], eax */ 16749 eax = MEM32(esi + 0x80); /* 0x2B020225: mov eax, dword ptr [esi + 0x80] */ 16750 ecx = MEM32(eax * 4 + 0x2B0EE800); /* 0x2B02022B: mov ecx, dword ptr [eax*4 + 0x2b0ee800] */ 16751 /* test ecx, ecx */ /* 0x2B020232: test ecx, ecx */ 16752 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16753 _cf = 0; 16754 _flag_k = FK_TEST; 16755 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020249; /* 0x2B020234: je 0x2b020249 */ 16756 L_2B020236: 16757 PUSH32(esp, ebx); /* 0x2B020236: push ebx */ 16758 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020237: call 0x2b02b0f0 */ /* not lifted */ 16759 RECOMP_FLAGS_IN(); 16760 ecx = MEM32(esi + 0x70); /* 0x2B02023C: mov ecx, dword ptr [esi + 0x70] */ 16761 PUSH32(esp, ecx); /* 0x2B02023F: push ecx */ 16762 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B020240: call dword ptr [0x2b0b60b8] */ 16763 RECOMP_FLAGS_IN(); 16764 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16766 esp = esp + 4; /* 0x2B020246: add esp, 4 */ 16767 _flag_k = FK_ADD; 16768 L_2B020249: 16769 eax = MEM32(esi + 0x7C); /* 0x2B020249: mov eax, dword ptr [esi + 0x7c] */ 16770 /* test eax, eax */ /* 0x2B02024C: test eax, eax */ 16771 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16772 _cf = 0; 16773 _flag_k = FK_TEST; 16774 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B02024E: je 0x2b020295 */ 16775 L_2B020250: 16776 eax = MEM32(0x2B0EE7CC); /* 0x2B020250: mov eax, dword ptr [0x2b0ee7cc] */ 16777 /* test eax, eax */ /* 0x2B020255: test eax, eax */ 16778 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16779 _cf = 0; 16780 _flag_k = FK_TEST; 16781 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020280; /* 0x2B020257: jne 0x2b020280 */ 16782 L_2B020259: 16783 PUSH32(esp, ebx); /* 0x2B020259: push ebx */ 16784 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02025A: call 0x2b0ab212 */ /* not lifted */ 16785 RECOMP_FLAGS_IN(); 16786 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16787 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16788 esp = esp + 4; /* 0x2B02025F: add esp, 4 */ 16789 _flag_k = FK_ADD; 16790 MEM32(ebp + (-0x14)) = eax; /* 0x2B020262: mov dword ptr [ebp - 0x14], eax */ 16791 /* test eax, eax */ /* 0x2B020265: test eax, eax */ 16792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16793 _cf = 0; 16794 _flag_k = FK_TEST; 16795 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B020267: mov byte ptr [ebp - 4], 0x1e */ 16796 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020276; /* 0x2B02026B: je 0x2b020276 */ 16797 L_2B02026D: 16798 ecx = eax; /* 0x2B02026D: mov ecx, eax */ 16799 RECOMP_ICALL(0x2B02D550u); /* 0x2B02026F: call 0x2b02d550 */ /* not lifted */ 16800 RECOMP_FLAGS_IN(); 16801 goto L_2B020278; /* 0x2B020274: jmp 0x2b020278 */ 16802 L_2B020276: 16803 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16804 eax = 0; /* 0x2B020276: xor eax, eax */ 16805 _cf = 0; 16806 _flag_k = FK_TEST; 16807 L_2B020278: 16808 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020278: mov byte ptr [ebp - 4], bl */ 16809 MEM32(0x2B0EE7CC) = eax; /* 0x2B02027B: mov dword ptr [0x2b0ee7cc], eax */ 16810 L_2B020280: 16811 edx = MEM32(esi + 0x7C); /* 0x2B020280: mov edx, dword ptr [esi + 0x7c] */ 16812 ecx = MEM32(edx * 4 + 0x2B0EE800); /* 0x2B020283: mov ecx, dword ptr [edx*4 + 0x2b0ee800] */ 16813 /* test ecx, ecx */ /* 0x2B02028A: test ecx, ecx */ 16814 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16815 _cf = 0; 16816 _flag_k = FK_TEST; 16817 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B02028C: je 0x2b020295 */ 16818 L_2B02028E: 16819 PUSH32(esp, 0); /* 0x2B02028E: push 0 */ 16820 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020290: call 0x2b02b0f0 */ /* not lifted */ 16821 RECOMP_FLAGS_IN(); 16822 L_2B020295: 16823 eax = MEM32(esi + 0x5C); /* 0x2B020295: mov eax, dword ptr [esi + 0x5c] */ 16824 PUSH32(esp, 0); /* 0x2B020298: push 0 */ 16825 edi = esi + 0x5C; /* 0x2B02029A: lea edi, [esi + 0x5c] */ 16826 PUSH32(esp, eax); /* 0x2B02029D: push eax */ 16827 ecx = ebp + (-0x30); /* 0x2B02029E: lea ecx, [ebp - 0x30] */ 16828 PUSH32(esp, ecx); /* 0x2B0202A1: push ecx */ 16829 edx = ebp + (-0x44); /* 0x2B0202A2: lea edx, [ebp - 0x44] */ 16830 PUSH32(esp, edx); /* 0x2B0202A5: push edx */ 16831 ecx = esi; /* 0x2B0202A6: mov ecx, esi */ 16832 RECOMP_ICALL(0x2B0387C0u); /* 0x2B0202A8: call 0x2b0387c0 */ /* not lifted */ 16833 RECOMP_FLAGS_IN(); 16834 eax = MEM32(edi); /* 0x2B0202AD: mov eax, dword ptr [edi] */ 16835 MEM32(esi + 0x60) = eax; /* 0x2B0202AF: mov dword ptr [esi + 0x60], eax */ 16836 MEM32(edi) = 0; /* 0x2B0202B2: mov dword ptr [edi], 0 */ 16837 ecx = MEM32(ebp + (-0x20)); /* 0x2B0202B8: mov ecx, dword ptr [ebp - 0x20] */ 16838 /* test ecx, ecx */ /* 0x2B0202BB: test ecx, ecx */ 16839 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16840 _cf = 0; 16841 _flag_k = FK_TEST; 16842 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B0202BD: mov byte ptr [ebp - 4], 0x1f */ 16843 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0202C8; /* 0x2B0202C1: je 0x2b0202c8 */ 16844 L_2B0202C3: 16845 RECOMP_ICALL(0x2B005B20u); /* 0x2B0202C3: call 0x2b005b20 */ /* not lifted */ 16846 RECOMP_FLAGS_IN(); 16847 L_2B0202C8: 16848 PUSH32(esp, ebx); /* 0x2B0202C8: push ebx */ 16849 ecx = ebp + (-0x30); /* 0x2B0202C9: lea ecx, [ebp - 0x30] */ 16850 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0202CC: mov byte ptr [ebp - 4], 0 */ 16851 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0202D0: call dword ptr [0x2b0b514c] */ 16852 RECOMP_FLAGS_IN(); 16853 ecx = ebp + (-0x44); /* 0x2B0202D6: lea ecx, [ebp - 0x44] */ 16854 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0202D9: mov dword ptr [ebp - 4], 0xffffffff */ 16855 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B0202E0: call dword ptr [0x2b0b5b8c] */ 16856 RECOMP_FLAGS_IN(); 16857 ecx = MEM32(ebp + (-0xC)); /* 0x2B0202E6: mov ecx, dword ptr [ebp - 0xc] */ 16858 edi = POP32_VAL(esp); /* 0x2B0202E9: pop edi */ 16859 esi = POP32_VAL(esp); /* 0x2B0202EA: pop esi */ 16860 ebx = POP32_VAL(esp); /* 0x2B0202EB: pop ebx */ 16861 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0202EC: mov dword ptr fs:[0], ecx */ 16862 esp = ebp; /* 0x2B0202F3: mov esp, ebp */ 16863 ebp = POP32_VAL(esp); /* 0x2B0202F5: pop ebp */ 16864 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0202F6: ret */ 16865 RECOMP_REGS_OUT(); 16866 } 16867 16868 void sub_2B020278(void) { 16869 int _fpu_cmp = 0; 16870 uint32_t _cf = 0; 16871 int _df = 1; 16872 uint32_t _flag_k = FK_NONE; 16873 uint32_t _flag_a = 0, _flag_b = 0; 16874 uint32_t _itail_tgt = 0; 16875 RECOMP_REGS_LOCALS 16876 RECOMP_ENTER(0x2B020278u); 16877 16878 L_2B020278: 16879 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B020278: mov byte ptr [ebp - 4], bl */ 16880 MEM32(0x2B0EE7CC) = eax; /* 0x2B02027B: mov dword ptr [0x2b0ee7cc], eax */ 16881 edx = MEM32(esi + 0x7C); /* 0x2B020280: mov edx, dword ptr [esi + 0x7c] */ 16882 ecx = MEM32(edx * 4 + 0x2B0EE800); /* 0x2B020283: mov ecx, dword ptr [edx*4 + 0x2b0ee800] */ 16883 /* test ecx, ecx */ /* 0x2B02028A: test ecx, ecx */ 16884 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16885 _cf = 0; 16886 _flag_k = FK_TEST; 16887 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020295; /* 0x2B02028C: je 0x2b020295 */ 16888 L_2B02028E: 16889 PUSH32(esp, 0); /* 0x2B02028E: push 0 */ 16890 RECOMP_ICALL(0x2B02B0F0u); /* 0x2B020290: call 0x2b02b0f0 */ /* not lifted */ 16891 RECOMP_FLAGS_IN(); 16892 L_2B020295: 16893 eax = MEM32(esi + 0x5C); /* 0x2B020295: mov eax, dword ptr [esi + 0x5c] */ 16894 PUSH32(esp, 0); /* 0x2B020298: push 0 */ 16895 edi = esi + 0x5C; /* 0x2B02029A: lea edi, [esi + 0x5c] */ 16896 PUSH32(esp, eax); /* 0x2B02029D: push eax */ 16897 ecx = ebp + (-0x30); /* 0x2B02029E: lea ecx, [ebp - 0x30] */ 16898 PUSH32(esp, ecx); /* 0x2B0202A1: push ecx */ 16899 edx = ebp + (-0x44); /* 0x2B0202A2: lea edx, [ebp - 0x44] */ 16900 PUSH32(esp, edx); /* 0x2B0202A5: push edx */ 16901 ecx = esi; /* 0x2B0202A6: mov ecx, esi */ 16902 RECOMP_ICALL(0x2B0387C0u); /* 0x2B0202A8: call 0x2b0387c0 */ /* not lifted */ 16903 RECOMP_FLAGS_IN(); 16904 eax = MEM32(edi); /* 0x2B0202AD: mov eax, dword ptr [edi] */ 16905 MEM32(esi + 0x60) = eax; /* 0x2B0202AF: mov dword ptr [esi + 0x60], eax */ 16906 MEM32(edi) = 0; /* 0x2B0202B2: mov dword ptr [edi], 0 */ 16907 ecx = MEM32(ebp + (-0x20)); /* 0x2B0202B8: mov ecx, dword ptr [ebp - 0x20] */ 16908 /* test ecx, ecx */ /* 0x2B0202BB: test ecx, ecx */ 16909 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16910 _cf = 0; 16911 _flag_k = FK_TEST; 16912 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B0202BD: mov byte ptr [ebp - 4], 0x1f */ 16913 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0202C8; /* 0x2B0202C1: je 0x2b0202c8 */ 16914 L_2B0202C3: 16915 RECOMP_ICALL(0x2B005B20u); /* 0x2B0202C3: call 0x2b005b20 */ /* not lifted */ 16916 RECOMP_FLAGS_IN(); 16917 L_2B0202C8: 16918 PUSH32(esp, ebx); /* 0x2B0202C8: push ebx */ 16919 ecx = ebp + (-0x30); /* 0x2B0202C9: lea ecx, [ebp - 0x30] */ 16920 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0202CC: mov byte ptr [ebp - 4], 0 */ 16921 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0202D0: call dword ptr [0x2b0b514c] */ 16922 RECOMP_FLAGS_IN(); 16923 ecx = ebp + (-0x44); /* 0x2B0202D6: lea ecx, [ebp - 0x44] */ 16924 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0202D9: mov dword ptr [ebp - 4], 0xffffffff */ 16925 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B0202E0: call dword ptr [0x2b0b5b8c] */ 16926 RECOMP_FLAGS_IN(); 16927 ecx = MEM32(ebp + (-0xC)); /* 0x2B0202E6: mov ecx, dword ptr [ebp - 0xc] */ 16928 edi = POP32_VAL(esp); /* 0x2B0202E9: pop edi */ 16929 esi = POP32_VAL(esp); /* 0x2B0202EA: pop esi */ 16930 ebx = POP32_VAL(esp); /* 0x2B0202EB: pop ebx */ 16931 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0202EC: mov dword ptr fs:[0], ecx */ 16932 esp = ebp; /* 0x2B0202F3: mov esp, ebp */ 16933 ebp = POP32_VAL(esp); /* 0x2B0202F5: pop ebp */ 16934 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0202F6: ret */ 16935 RECOMP_REGS_OUT(); 16936 } 16937 16938 void sub_2B020380(void) { 16939 int _fpu_cmp = 0; 16940 uint32_t _cf = 0; 16941 int _df = 1; 16942 uint32_t _flag_k = FK_NONE; 16943 uint32_t _flag_a = 0, _flag_b = 0; 16944 uint32_t _itail_tgt = 0; 16945 RECOMP_REGS_LOCALS 16946 RECOMP_ENTER(0x2B020380u); 16947 16948 L_2B020380: 16949 PUSH32(esp, ebp); /* 0x2B020380: push ebp */ 16950 L_2B020381: 16951 ebp = esp; /* 0x2B020381: mov ebp, esp */ 16952 L_2B020383: 16953 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020383: push -1 */ 16954 L_2B020385: 16955 PUSH32(esp, 0x2B0AD578u); /* 0x2B020385: push 0x2b0ad578 */ 16956 L_2B02038A: 16957 eax = MEM32(FS_BASE + (0)); /* 0x2B02038A: mov eax, dword ptr fs:[0] */ 16958 L_2B020390: 16959 PUSH32(esp, eax); /* 0x2B020390: push eax */ 16960 L_2B020391: 16961 MEM32(FS_BASE + (0)) = esp; /* 0x2B020391: mov dword ptr fs:[0], esp */ 16962 L_2B020398: 16963 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 16964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16965 esp = esp - 0x18u; /* 0x2B020398: sub esp, 0x18 */ 16966 _flag_k = FK_CMP; 16967 L_2B02039B: 16968 eax = MEM32(ebp + 0x8); /* 0x2B02039B: mov eax, dword ptr [ebp + 8] */ 16969 L_2B02039E: 16970 /* cmp eax, 0x12u */ /* 0x2B02039E: cmp eax, 0x12 */ 16971 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x12u); 16972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16973 _flag_k = FK_CMP; 16974 L_2B0203A1: 16975 PUSH32(esp, ebx); /* 0x2B0203A1: push ebx */ 16976 L_2B0203A2: 16977 PUSH32(esp, esi); /* 0x2B0203A2: push esi */ 16978 L_2B0203A3: 16979 PUSH32(esp, edi); /* 0x2B0203A3: push edi */ 16980 L_2B0203A4: 16981 esi = ecx; /* 0x2B0203A4: mov esi, ecx */ 16982 L_2B0203A6: 16983 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0204A7; /* 0x2B0203A6: je 0x2b0204a7 */ 16984 L_2B0203AC: 16985 /* cmp eax, 0x65u */ /* 0x2B0203AC: cmp eax, 0x65 */ 16986 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x65u); 16987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16988 _flag_k = FK_CMP; 16989 L_2B0203AF: 16990 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0203CA; /* 0x2B0203AF: je 0x2b0203ca */ 16991 L_2B0203B1: 16992 PUSH32(esp, eax); /* 0x2B0203B1: push eax */ 16993 L_2B0203B2: 16994 RECOMP_ICALL(0x2B0389C0u); /* 0x2B0203B2: call 0x2b0389c0 */ /* not lifted */ 16995 RECOMP_FLAGS_IN(); 16996 L_2B0203B7: 16997 ecx = MEM32(ebp + (-0xC)); /* 0x2B0203B7: mov ecx, dword ptr [ebp - 0xc] */ 16998 L_2B0203BA: 16999 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0203BA: mov dword ptr fs:[0], ecx */ 17000 L_2B0203C1: 17001 edi = POP32_VAL(esp); /* 0x2B0203C1: pop edi */ 17002 L_2B0203C2: 17003 esi = POP32_VAL(esp); /* 0x2B0203C2: pop esi */ 17004 L_2B0203C3: 17005 ebx = POP32_VAL(esp); /* 0x2B0203C3: pop ebx */ 17006 L_2B0203C4: 17007 esp = ebp; /* 0x2B0203C4: mov esp, ebp */ 17008 L_2B0203C6: 17009 ebp = POP32_VAL(esp); /* 0x2B0203C6: pop ebp */ 17010 L_2B0203C7: 17011 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0203C7: ret 4 */ 17012 L_2B0203CA: 17013 edx = MEM32(esi + 0x84); /* 0x2B0203CA: mov edx, dword ptr [esi + 0x84] */ 17014 L_2B0203D0: 17015 eax = MEM32(0x2B0B6048); /* 0x2B0203D0: mov eax, dword ptr [0x2b0b6048] */ 17016 L_2B0203D5: 17017 ecx = MEM32(eax); /* 0x2B0203D5: mov ecx, dword ptr [eax] */ 17018 L_2B0203D7: 17019 ebx = 1; /* 0x2B0203D7: mov ebx, 1 */ 17020 L_2B0203DC: 17021 PUSH32(esp, ebx); /* 0x2B0203DC: push ebx */ 17022 L_2B0203DD: 17023 PUSH32(esp, ebx); /* 0x2B0203DD: push ebx */ 17024 L_2B0203DE: 17025 PUSH32(esp, edx); /* 0x2B0203DE: push edx */ 17026 L_2B0203DF: 17027 PUSH32(esp, 0x2B0E3828u); /* 0x2B0203DF: push 0x2b0e3828 */ 17028 L_2B0203E4: 17029 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B0203E4: call dword ptr [0x2b0b604c] */ 17030 RECOMP_FLAGS_IN(); 17031 L_2B0203EA: 17032 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B0203EA: mov al, byte ptr [ebp + 0xb] */ 17033 L_2B0203ED: 17034 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17035 edi = 0; /* 0x2B0203ED: xor edi, edi */ 17036 _cf = 0; 17037 _flag_k = FK_TEST; 17038 L_2B0203EF: 17039 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(eax)); /* 0x2B0203EF: mov byte ptr [ebp - 0x24], al */ 17040 L_2B0203F2: 17041 MEM32(ebp + (-0x20)) = edi; /* 0x2B0203F2: mov dword ptr [ebp - 0x20], edi */ 17042 L_2B0203F5: 17043 MEM32(ebp + (-0x1C)) = edi; /* 0x2B0203F5: mov dword ptr [ebp - 0x1c], edi */ 17044 L_2B0203F8: 17045 MEM32(ebp + (-0x18)) = edi; /* 0x2B0203F8: mov dword ptr [ebp - 0x18], edi */ 17046 L_2B0203FB: 17047 ecx = ebp + 0x8; /* 0x2B0203FB: lea ecx, [ebp + 8] */ 17048 L_2B0203FE: 17049 PUSH32(esp, ecx); /* 0x2B0203FE: push ecx */ 17050 L_2B0203FF: 17051 PUSH32(esp, ebx); /* 0x2B0203FF: push ebx */ 17052 L_2B020400: 17053 PUSH32(esp, edi); /* 0x2B020400: push edi */ 17054 L_2B020401: 17055 ecx = ebp + (-0x24); /* 0x2B020401: lea ecx, [ebp - 0x24] */ 17056 L_2B020404: 17057 MEM32(ebp + (-0x4)) = edi; /* 0x2B020404: mov dword ptr [ebp - 4], edi */ 17058 L_2B020407: 17059 MEM32(ebp + 0x8) = ebx; /* 0x2B020407: mov dword ptr [ebp + 8], ebx */ 17060 L_2B02040A: 17061 RECOMP_ICALL(0x2B01DC90u); /* 0x2B02040A: call 0x2b01dc90 */ /* not lifted */ 17062 RECOMP_FLAGS_IN(); 17063 L_2B02040F: 17064 eax = MEM32(ebp + (-0x1C)); /* 0x2B02040F: mov eax, dword ptr [ebp - 0x1c] */ 17065 L_2B020412: 17066 edx = ebp + (-0x10); /* 0x2B020412: lea edx, [ebp - 0x10] */ 17067 L_2B020415: 17068 PUSH32(esp, edx); /* 0x2B020415: push edx */ 17069 L_2B020416: 17070 PUSH32(esp, ebx); /* 0x2B020416: push ebx */ 17071 L_2B020417: 17072 PUSH32(esp, eax); /* 0x2B020417: push eax */ 17073 L_2B020418: 17074 ecx = ebp + (-0x24); /* 0x2B020418: lea ecx, [ebp - 0x24] */ 17075 L_2B02041B: 17076 MEM32(ebp + (-0x10)) = ebx; /* 0x2B02041B: mov dword ptr [ebp - 0x10], ebx */ 17077 L_2B02041E: 17078 RECOMP_ICALL(0x2B01DC90u); /* 0x2B02041E: call 0x2b01dc90 */ /* not lifted */ 17079 RECOMP_FLAGS_IN(); 17080 L_2B020423: 17081 SET_LO8(ecx, MEM8(ebp + (-0x24))); /* 0x2B020423: mov cl, byte ptr [ebp - 0x24] */ 17082 L_2B020426: 17083 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 17084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17085 esp = esp - 0x10u; /* 0x2B020426: sub esp, 0x10 */ 17086 _flag_k = FK_CMP; 17087 L_2B020429: 17088 ebx = esp; /* 0x2B020429: mov ebx, esp */ 17089 L_2B02042B: 17090 MEM8(ebx) = (uint8_t)(LO8(ecx)); /* 0x2B02042B: mov byte ptr [ebx], cl */ 17091 L_2B02042D: 17092 ecx = MEM32(ebp + (-0x20)); /* 0x2B02042D: mov ecx, dword ptr [ebp - 0x20] */ 17093 L_2B020430: 17094 /* cmp ecx, edi */ /* 0x2B020430: cmp ecx, edi */ 17095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17097 _flag_k = FK_CMP; 17098 L_2B020432: 17099 MEM32(ebp + (-0x14)) = esp; /* 0x2B020432: mov dword ptr [ebp - 0x14], esp */ 17100 L_2B020435: 17101 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B02043B; /* 0x2B020435: jne 0x2b02043b */ 17102 L_2B020437: 17103 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17104 eax = 0; /* 0x2B020437: xor eax, eax */ 17105 _cf = 0; 17106 _flag_k = FK_TEST; 17107 L_2B020439: 17108 goto L_2B020443; /* 0x2B020439: jmp 0x2b020443 */ 17109 L_2B02043B: 17110 eax = MEM32(ebp + (-0x1C)); /* 0x2B02043B: mov eax, dword ptr [ebp - 0x1c] */ 17111 L_2B02043E: 17112 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17114 eax = eax - ecx; /* 0x2B02043E: sub eax, ecx */ 17115 _flag_k = FK_CMP; 17116 L_2B020440: 17117 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B020440: sar eax, 2 */ 17118 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17119 eax = (uint32_t)((int32_t)eax >> 2u); 17120 L_2B020443: 17121 /* cmp eax, edi */ /* 0x2B020443: cmp eax, edi */ 17122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17124 _flag_k = FK_CMP; 17125 L_2B020445: 17126 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B020449; /* 0x2B020445: jge 0x2b020449 */ 17127 L_2B020447: 17128 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17129 eax = 0; /* 0x2B020447: xor eax, eax */ 17130 _cf = 0; 17131 _flag_k = FK_TEST; 17132 L_2B020449: 17133 edx = eax * 4; /* 0x2B020449: lea edx, [eax*4] */ 17134 L_2B020450: 17135 PUSH32(esp, edx); /* 0x2B020450: push edx */ 17136 L_2B020451: 17137 RECOMP_ICALL(0x2B0AB212u); /* 0x2B020451: call 0x2b0ab212 */ /* not lifted */ 17138 RECOMP_FLAGS_IN(); 17139 L_2B020456: 17140 MEM32(ebx + 0x4) = eax; /* 0x2B020456: mov dword ptr [ebx + 4], eax */ 17141 L_2B020459: 17142 edx = MEM32(ebp + (-0x1C)); /* 0x2B020459: mov edx, dword ptr [ebp - 0x1c] */ 17143 L_2B02045C: 17144 ecx = MEM32(ebp + (-0x20)); /* 0x2B02045C: mov ecx, dword ptr [ebp - 0x20] */ 17145 L_2B02045F: 17146 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17147 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17148 esp = esp + 4; /* 0x2B02045F: add esp, 4 */ 17149 _flag_k = FK_ADD; 17150 L_2B020462: 17151 /* cmp ecx, edx */ /* 0x2B020462: cmp ecx, edx */ 17152 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17154 _flag_k = FK_CMP; 17155 L_2B020464: 17156 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B020478; /* 0x2B020464: je 0x2b020478 */ 17157 L_2B020466: 17158 /* test eax, eax */ /* 0x2B020466: test eax, eax */ 17159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17160 _cf = 0; 17161 _flag_k = FK_TEST; 17162 L_2B020468: 17163 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B02046E; /* 0x2B020468: je 0x2b02046e */ 17164 L_2B02046A: 17165 edi = MEM32(ecx); /* 0x2B02046A: mov edi, dword ptr [ecx] */ 17166 L_2B02046C: 17167 MEM32(eax) = edi; /* 0x2B02046C: mov dword ptr [eax], edi */ 17168 L_2B02046E: 17169 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 17170 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17171 ecx = ecx + 4; /* 0x2B02046E: add ecx, 4 */ 17172 _flag_k = FK_ADD; 17173 L_2B020471: 17174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 17175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17176 eax = eax + 4; /* 0x2B020471: add eax, 4 */ 17177 _flag_k = FK_ADD; 17178 L_2B020474: 17179 /* cmp ecx, edx */ /* 0x2B020474: cmp ecx, edx */ 17180 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 17181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17182 _flag_k = FK_CMP; 17183 L_2B020476: 17184 RECOMP_BACKEDGE(); 17185 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B020466; /* 0x2B020476: jne 0x2b020466 */ 17186 L_2B020478: 17187 MEM32(ebx + 0x8) = eax; /* 0x2B020478: mov dword ptr [ebx + 8], eax */ 17188 L_2B02047B: 17189 MEM32(ebx + 0xC) = eax; /* 0x2B02047B: mov dword ptr [ebx + 0xc], eax */ 17190 L_2B02047E: 17191 ecx = MEM32(esi + 0x64); /* 0x2B02047E: mov ecx, dword ptr [esi + 0x64] */ 17192 L_2B020481: 17193 RECOMP_ICALL(0x2B026A10u); /* 0x2B020481: call 0x2b026a10 */ /* not lifted */ 17194 RECOMP_FLAGS_IN(); 17195 L_2B020486: 17196 ecx = MEM32(esi + 0x64); /* 0x2B020486: mov ecx, dword ptr [esi + 0x64] */ 17197 L_2B020489: 17198 PUSH32(esp, 0x2Eu); /* 0x2B020489: push 0x2e */ 17199 L_2B02048B: 17200 RECOMP_ICALL(0x2B021E30u); /* 0x2B02048B: call 0x2b021e30 */ /* not lifted */ 17201 RECOMP_FLAGS_IN(); 17202 L_2B020490: 17203 eax = MEM32(esi); /* 0x2B020490: mov eax, dword ptr [esi] */ 17204 L_2B020492: 17205 PUSH32(esp, 0x65u); /* 0x2B020492: push 0x65 */ 17206 L_2B020494: 17207 ecx = esi; /* 0x2B020494: mov ecx, esi */ 17208 L_2B020496: 17209 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B020496: call dword ptr [eax + 8] */ 17210 RECOMP_FLAGS_IN(); 17211 L_2B020499: 17212 ecx = MEM32(ebp + (-0x20)); /* 0x2B020499: mov ecx, dword ptr [ebp - 0x20] */ 17213 L_2B02049C: 17214 PUSH32(esp, ecx); /* 0x2B02049C: push ecx */ 17215 L_2B02049D: 17216 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02049D: call 0x2b0ab1ba */ /* not lifted */ 17217 RECOMP_FLAGS_IN(); 17218 L_2B0204A2: 17219 goto L_2B0206F2; /* 0x2B0204A2: jmp 0x2b0206f2 */ 17220 L_2B0204A7: 17221 eax = MEM32(esi + 0x80); /* 0x2B0204A7: mov eax, dword ptr [esi + 0x80] */ 17222 L_2B0204AD: 17223 /* test eax, eax */ /* 0x2B0204AD: test eax, eax */ 17224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 17225 _cf = 0; 17226 _flag_k = FK_TEST; 17227 L_2B0204AF: 17228 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0206F5; /* 0x2B0204AF: je 0x2b0206f5 */ 17229 L_2B0204B5: 17230 /* cmp eax, MEM32(esi + 0x84) */ /* 0x2B0204B5: cmp eax, dword ptr [esi + 0x84] */ 17231 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x84)); 17232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17233 _flag_k = FK_CMP; 17234 L_2B0204BB: 17235 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0206F5; /* 0x2B0204BB: je 0x2b0206f5 */ 17236 L_2B0204C1: 17237 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17238 edi = 0; /* 0x2B0204C1: xor edi, edi */ 17239 _cf = 0; 17240 _flag_k = FK_TEST; 17241 L_2B0204C3: 17242 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17243 eax = eax - 1; /* 0x2B0204C3: dec eax */ 17244 _flag_k = FK_DEC; 17245 L_2B0204C4: 17246 /* cmp eax, 6 */ /* 0x2B0204C4: cmp eax, 6 */ 17247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(6); 17248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17249 _flag_k = FK_CMP; 17250 L_2B0204C7: 17251 ebx = 1; /* 0x2B0204C7: mov ebx, 1 */ 17252 L_2B0204CC: 17253 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B0206B0; /* 0x2B0204CC: ja 0x2b0206b0 */ 17254 L_2B0204D2: 17255 { _itail_tgt = (uint32_t)(MEM32(eax * 4 + 0x2B020708)); goto _ljump; } 17256 L_2B0204D9: 17257 PUSH32(esp, 3); /* 0x2B0204D9: push 3 */ 17258 L_2B0204DB: 17259 PUSH32(esp, ebx); /* 0x2B0204DB: push ebx */ 17260 L_2B0204DC: 17261 ecx = esi; /* 0x2B0204DC: mov ecx, esi */ 17262 L_2B0204DE: 17263 RECOMP_ICALL(0x2B020740u); /* 0x2B0204DE: call 0x2b020740 */ /* not lifted */ 17264 RECOMP_FLAGS_IN(); 17265 L_2B0204E3: 17266 MEM32(esi + 0x84) = ebx; /* 0x2B0204E3: mov dword ptr [esi + 0x84], ebx */ 17267 L_2B0204E9: 17268 SET_LO8(eax, MEM8(0x2B0EE778)); /* 0x2B0204E9: mov al, byte ptr [0x2b0ee778] */ 17269 L_2B0204EE: 17270 /* test LO8(ebx), LO8(eax) */ /* 0x2B0204EE: test bl, al */ 17271 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17272 _cf = 0; 17273 _flag_k = FK_NARROW(FK_TEST, 24); 17274 L_2B0204F0: 17275 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B02050C; /* 0x2B0204F0: jne 0x2b02050c */ 17276 L_2B0204F2: 17277 _flag_a = (uint32_t)((LO8(eax) | LO8(ebx))) << 24; _flag_b = (uint32_t)((LO8(eax) | LO8(ebx))) << 24; 17278 SET_LO8(eax, LO8(eax) | LO8(ebx)); /* 0x2B0204F2: or al, bl */ 17279 _cf = 0; 17280 _flag_k = FK_NARROW(FK_TEST, 24); 17281 L_2B0204F4: 17282 PUSH32(esp, 0x2B0E3990u); /* 0x2B0204F4: push 0x2b0e3990 */ 17283 L_2B0204F9: 17284 MEM8(0x2B0EE778) = (uint8_t)(LO8(eax)); /* 0x2B0204F9: mov byte ptr [0x2b0ee778], al */ 17285 L_2B0204FE: 17286 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B0204FE: call dword ptr [0x2b0b60bc] */ 17287 RECOMP_FLAGS_IN(); 17288 L_2B020504: 17289 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17290 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17291 esp = esp + 4; /* 0x2B020504: add esp, 4 */ 17292 _flag_k = FK_ADD; 17293 L_2B020507: 17294 MEM32(0x2B0EE774) = eax; /* 0x2B020507: mov dword ptr [0x2b0ee774], eax */ 17295 L_2B02050C: 17296 edi = MEM32(0x2B0EE774); /* 0x2B02050C: mov edi, dword ptr [0x2b0ee774] */ 17297 L_2B020512: 17298 goto L_2B0206B0; /* 0x2B020512: jmp 0x2b0206b0 */ 17299 L_2B020517: 17300 PUSH32(esp, 2); /* 0x2B020517: push 2 */ 17301 L_2B020519: 17302 PUSH32(esp, ebx); /* 0x2B020519: push ebx */ 17303 L_2B02051A: 17304 ecx = esi; /* 0x2B02051A: mov ecx, esi */ 17305 L_2B02051C: 17306 RECOMP_ICALL(0x2B020740u); /* 0x2B02051C: call 0x2b020740 */ /* not lifted */ 17307 RECOMP_FLAGS_IN(); 17308 L_2B020521: 17309 MEM32(esi + 0x84) = 2; /* 0x2B020521: mov dword ptr [esi + 0x84], 2 */ 17310 L_2B02052B: 17311 SET_LO8(eax, MEM8(0x2B0EE778)); /* 0x2B02052B: mov al, byte ptr [0x2b0ee778] */ 17312 L_2B020530: 17313 /* test LO8(eax), 2 */ /* 0x2B020530: test al, 2 */ 17314 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(2) << 24; 17315 _cf = 0; 17316 _flag_k = FK_NARROW(FK_TEST, 24); 17317 L_2B020532: 17318 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B02054E; /* 0x2B020532: jne 0x2b02054e */ 17319 L_2B020534: 17320 _flag_a = (uint32_t)((LO8(eax) | 2)) << 24; _flag_b = (uint32_t)((LO8(eax) | 2)) << 24; 17321 SET_LO8(eax, LO8(eax) | 2); /* 0x2B020534: or al, 2 */ 17322 _cf = 0; 17323 _flag_k = FK_NARROW(FK_TEST, 24); 17324 L_2B020536: 17325 PUSH32(esp, 0x2B0E3974u); /* 0x2B020536: push 0x2b0e3974 */ 17326 L_2B02053B: 17327 MEM8(0x2B0EE778) = (uint8_t)(LO8(eax)); /* 0x2B02053B: mov byte ptr [0x2b0ee778], al */ 17328 L_2B020540: 17329 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B020540: call dword ptr [0x2b0b60bc] */ 17330 RECOMP_FLAGS_IN(); 17331 L_2B020546: 17332 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17333 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17334 esp = esp + 4; /* 0x2B020546: add esp, 4 */ 17335 _flag_k = FK_ADD; 17336 L_2B020549: 17337 MEM32(0x2B0EE770) = eax; /* 0x2B020549: mov dword ptr [0x2b0ee770], eax */ 17338 L_2B02054E: 17339 edi = MEM32(0x2B0EE770); /* 0x2B02054E: mov edi, dword ptr [0x2b0ee770] */ 17340 L_2B020554: 17341 goto L_2B0206B0; /* 0x2B020554: jmp 0x2b0206b0 */ 17342 L_2B020559: 17343 PUSH32(esp, 3); /* 0x2B020559: push 3 */ 17344 L_2B02055B: 17345 PUSH32(esp, 2); /* 0x2B02055B: push 2 */ 17346 L_2B02055D: 17347 ecx = esi; /* 0x2B02055D: mov ecx, esi */ 17348 L_2B02055F: 17349 RECOMP_ICALL(0x2B020740u); /* 0x2B02055F: call 0x2b020740 */ /* not lifted */ 17350 RECOMP_FLAGS_IN(); 17351 L_2B020564: 17352 MEM32(esi + 0x84) = 3; /* 0x2B020564: mov dword ptr [esi + 0x84], 3 */ 17353 L_2B02056E: 17354 SET_LO8(eax, MEM8(0x2B0EE778)); /* 0x2B02056E: mov al, byte ptr [0x2b0ee778] */ 17355 L_2B020573: 17356 /* test LO8(eax), 4 */ /* 0x2B020573: test al, 4 */ 17357 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(4) << 24; 17358 _cf = 0; 17359 _flag_k = FK_NARROW(FK_TEST, 24); 17360 L_2B020575: 17361 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B020591; /* 0x2B020575: jne 0x2b020591 */ 17362 L_2B020577: 17363 _flag_a = (uint32_t)((LO8(eax) | 4)) << 24; _flag_b = (uint32_t)((LO8(eax) | 4)) << 24; 17364 SET_LO8(eax, LO8(eax) | 4); /* 0x2B020577: or al, 4 */ 17365 _cf = 0; 17366 _flag_k = FK_NARROW(FK_TEST, 24); 17367 L_2B020579: 17368 PUSH32(esp, 0x2B0E3958u); /* 0x2B020579: push 0x2b0e3958 */ 17369 L_2B02057E: 17370 MEM8(0x2B0EE778) = (uint8_t)(LO8(eax)); /* 0x2B02057E: mov byte ptr [0x2b0ee778], al */ 17371 L_2B020583: 17372 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B020583: call dword ptr [0x2b0b60bc] */ 17373 RECOMP_FLAGS_IN(); 17374 L_2B020589: 17375 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17376 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17377 esp = esp + 4; /* 0x2B020589: add esp, 4 */ 17378 _flag_k = FK_ADD; 17379 L_2B02058C: 17380 MEM32(0x2B0EE76C) = eax; /* 0x2B02058C: mov dword ptr [0x2b0ee76c], eax */ 17381 L_2B020591: 17382 edi = MEM32(0x2B0EE76C); /* 0x2B020591: mov edi, dword ptr [0x2b0ee76c] */ 17383 L_2B020597: 17384 goto L_2B0206B0; /* 0x2B020597: jmp 0x2b0206b0 */ 17385 L_2B02059C: 17386 PUSH32(esp, 2); /* 0x2B02059C: push 2 */ 17387 L_2B02059E: 17388 PUSH32(esp, 2); /* 0x2B02059E: push 2 */ 17389 L_2B0205A0: 17390 ecx = esi; /* 0x2B0205A0: mov ecx, esi */ 17391 L_2B0205A2: 17392 RECOMP_ICALL(0x2B020740u); /* 0x2B0205A2: call 0x2b020740 */ /* not lifted */ 17393 RECOMP_FLAGS_IN(); 17394 L_2B0205A7: 17395 MEM32(esi + 0x84) = 4; /* 0x2B0205A7: mov dword ptr [esi + 0x84], 4 */ 17396 L_2B0205B1: 17397 SET_LO8(ecx, MEM8(0x2B0EE778)); /* 0x2B0205B1: mov cl, byte ptr [0x2b0ee778] */ 17398 L_2B0205B7: 17399 SET_LO8(eax, 8); /* 0x2B0205B7: mov al, 8 */ 17400 L_2B0205B9: 17401 /* test LO8(eax), LO8(ecx) */ /* 0x2B0205B9: test al, cl */ 17402 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 17403 _cf = 0; 17404 _flag_k = FK_NARROW(FK_TEST, 24); 17405 L_2B0205BB: 17406 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0205D8; /* 0x2B0205BB: jne 0x2b0205d8 */ 17407 L_2B0205BD: 17408 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 17409 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B0205BD: or cl, al */ 17410 _cf = 0; 17411 _flag_k = FK_NARROW(FK_TEST, 24); 17412 L_2B0205BF: 17413 PUSH32(esp, 0x2B0E3940u); /* 0x2B0205BF: push 0x2b0e3940 */ 17414 L_2B0205C4: 17415 MEM8(0x2B0EE778) = (uint8_t)(LO8(ecx)); /* 0x2B0205C4: mov byte ptr [0x2b0ee778], cl */ 17416 L_2B0205CA: 17417 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B0205CA: call dword ptr [0x2b0b60bc] */ 17418 RECOMP_FLAGS_IN(); 17419 L_2B0205D0: 17420 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17421 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17422 esp = esp + 4; /* 0x2B0205D0: add esp, 4 */ 17423 _flag_k = FK_ADD; 17424 L_2B0205D3: 17425 MEM32(0x2B0EE768) = eax; /* 0x2B0205D3: mov dword ptr [0x2b0ee768], eax */ 17426 L_2B0205D8: 17427 edi = MEM32(0x2B0EE768); /* 0x2B0205D8: mov edi, dword ptr [0x2b0ee768] */ 17428 L_2B0205DE: 17429 goto L_2B0206B0; /* 0x2B0205DE: jmp 0x2b0206b0 */ 17430 L_2B0205E3: 17431 PUSH32(esp, 3); /* 0x2B0205E3: push 3 */ 17432 L_2B0205E5: 17433 PUSH32(esp, 3); /* 0x2B0205E5: push 3 */ 17434 L_2B0205E7: 17435 ecx = esi; /* 0x2B0205E7: mov ecx, esi */ 17436 L_2B0205E9: 17437 RECOMP_ICALL(0x2B020740u); /* 0x2B0205E9: call 0x2b020740 */ /* not lifted */ 17438 RECOMP_FLAGS_IN(); 17439 L_2B0205EE: 17440 MEM32(esi + 0x84) = 5; /* 0x2B0205EE: mov dword ptr [esi + 0x84], 5 */ 17441 L_2B0205F8: 17442 SET_LO8(ecx, MEM8(0x2B0EE778)); /* 0x2B0205F8: mov cl, byte ptr [0x2b0ee778] */ 17443 L_2B0205FE: 17444 SET_LO8(eax, 0x10u); /* 0x2B0205FE: mov al, 0x10 */ 17445 L_2B020600: 17446 /* test LO8(eax), LO8(ecx) */ /* 0x2B020600: test al, cl */ 17447 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 17448 _cf = 0; 17449 _flag_k = FK_NARROW(FK_TEST, 24); 17450 L_2B020602: 17451 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B02061F; /* 0x2B020602: jne 0x2b02061f */ 17452 L_2B020604: 17453 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 17454 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B020604: or cl, al */ 17455 _cf = 0; 17456 _flag_k = FK_NARROW(FK_TEST, 24); 17457 L_2B020606: 17458 PUSH32(esp, 0x2B0E3928u); /* 0x2B020606: push 0x2b0e3928 */ 17459 L_2B02060B: 17460 MEM8(0x2B0EE778) = (uint8_t)(LO8(ecx)); /* 0x2B02060B: mov byte ptr [0x2b0ee778], cl */ 17461 L_2B020611: 17462 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B020611: call dword ptr [0x2b0b60bc] */ 17463 RECOMP_FLAGS_IN(); 17464 L_2B020617: 17465 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17466 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17467 esp = esp + 4; /* 0x2B020617: add esp, 4 */ 17468 _flag_k = FK_ADD; 17469 L_2B02061A: 17470 MEM32(0x2B0EE764) = eax; /* 0x2B02061A: mov dword ptr [0x2b0ee764], eax */ 17471 L_2B02061F: 17472 edi = MEM32(0x2B0EE764); /* 0x2B02061F: mov edi, dword ptr [0x2b0ee764] */ 17473 L_2B020625: 17474 goto L_2B0206B0; /* 0x2B020625: jmp 0x2b0206b0 */ 17475 L_2B02062A: 17476 PUSH32(esp, 2); /* 0x2B02062A: push 2 */ 17477 L_2B02062C: 17478 PUSH32(esp, 3); /* 0x2B02062C: push 3 */ 17479 L_2B02062E: 17480 ecx = esi; /* 0x2B02062E: mov ecx, esi */ 17481 L_2B020630: 17482 RECOMP_ICALL(0x2B020740u); /* 0x2B020630: call 0x2b020740 */ /* not lifted */ 17483 RECOMP_FLAGS_IN(); 17484 L_2B020635: 17485 MEM32(esi + 0x84) = 6; /* 0x2B020635: mov dword ptr [esi + 0x84], 6 */ 17486 L_2B02063F: 17487 SET_LO8(ecx, MEM8(0x2B0EE778)); /* 0x2B02063F: mov cl, byte ptr [0x2b0ee778] */ 17488 L_2B020645: 17489 SET_LO8(eax, 0x20u); /* 0x2B020645: mov al, 0x20 */ 17490 L_2B020647: 17491 /* test LO8(eax), LO8(ecx) */ /* 0x2B020647: test al, cl */ 17492 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 17493 _cf = 0; 17494 _flag_k = FK_NARROW(FK_TEST, 24); 17495 L_2B020649: 17496 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B020666; /* 0x2B020649: jne 0x2b020666 */ 17497 L_2B02064B: 17498 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 17499 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B02064B: or cl, al */ 17500 _cf = 0; 17501 _flag_k = FK_NARROW(FK_TEST, 24); 17502 L_2B02064D: 17503 PUSH32(esp, 0x2B0E3910u); /* 0x2B02064D: push 0x2b0e3910 */ 17504 L_2B020652: 17505 MEM8(0x2B0EE778) = (uint8_t)(LO8(ecx)); /* 0x2B020652: mov byte ptr [0x2b0ee778], cl */ 17506 L_2B020658: 17507 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B020658: call dword ptr [0x2b0b60bc] */ 17508 RECOMP_FLAGS_IN(); 17509 L_2B02065E: 17510 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17511 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17512 esp = esp + 4; /* 0x2B02065E: add esp, 4 */ 17513 _flag_k = FK_ADD; 17514 L_2B020661: 17515 MEM32(0x2B0EE760) = eax; /* 0x2B020661: mov dword ptr [0x2b0ee760], eax */ 17516 L_2B020666: 17517 edi = MEM32(0x2B0EE760); /* 0x2B020666: mov edi, dword ptr [0x2b0ee760] */ 17518 L_2B02066C: 17519 goto L_2B0206B0; /* 0x2B02066C: jmp 0x2b0206b0 */ 17520 L_2B02066E: 17521 PUSH32(esp, 2); /* 0x2B02066E: push 2 */ 17522 L_2B020670: 17523 PUSH32(esp, 4); /* 0x2B020670: push 4 */ 17524 L_2B020672: 17525 ecx = esi; /* 0x2B020672: mov ecx, esi */ 17526 L_2B020674: 17527 RECOMP_ICALL(0x2B020740u); /* 0x2B020674: call 0x2b020740 */ /* not lifted */ 17528 RECOMP_FLAGS_IN(); 17529 L_2B020679: 17530 MEM32(esi + 0x84) = 7; /* 0x2B020679: mov dword ptr [esi + 0x84], 7 */ 17531 L_2B020683: 17532 SET_LO8(ecx, MEM8(0x2B0EE778)); /* 0x2B020683: mov cl, byte ptr [0x2b0ee778] */ 17533 L_2B020689: 17534 SET_LO8(eax, 0x40u); /* 0x2B020689: mov al, 0x40 */ 17535 L_2B02068B: 17536 /* test LO8(eax), LO8(ecx) */ /* 0x2B02068B: test al, cl */ 17537 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 17538 _cf = 0; 17539 _flag_k = FK_NARROW(FK_TEST, 24); 17540 L_2B02068D: 17541 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B0206AA; /* 0x2B02068D: jne 0x2b0206aa */ 17542 L_2B02068F: 17543 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 17544 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B02068F: or cl, al */ 17545 _cf = 0; 17546 _flag_k = FK_NARROW(FK_TEST, 24); 17547 L_2B020691: 17548 PUSH32(esp, 0x2B0E38FCu); /* 0x2B020691: push 0x2b0e38fc */ 17549 L_2B020696: 17550 MEM8(0x2B0EE778) = (uint8_t)(LO8(ecx)); /* 0x2B020696: mov byte ptr [0x2b0ee778], cl */ 17551 L_2B02069C: 17552 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B02069C: call dword ptr [0x2b0b60bc] */ 17553 RECOMP_FLAGS_IN(); 17554 L_2B0206A2: 17555 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17556 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17557 esp = esp + 4; /* 0x2B0206A2: add esp, 4 */ 17558 _flag_k = FK_ADD; 17559 L_2B0206A5: 17560 MEM32(0x2B0EE75C) = eax; /* 0x2B0206A5: mov dword ptr [0x2b0ee75c], eax */ 17561 L_2B0206AA: 17562 edi = MEM32(0x2B0EE75C); /* 0x2B0206AA: mov edi, dword ptr [0x2b0ee75c] */ 17563 L_2B0206B0: 17564 ecx = esi; /* 0x2B0206B0: mov ecx, esi */ 17565 L_2B0206B2: 17566 RECOMP_ICALL(0x2B01FC20u); /* 0x2B0206B2: call 0x2b01fc20 */ /* not lifted */ 17567 RECOMP_FLAGS_IN(); 17568 L_2B0206B7: 17569 ecx = MEM32(esi + 0x10); /* 0x2B0206B7: mov ecx, dword ptr [esi + 0x10] */ 17570 L_2B0206BA: 17571 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B0206BA: call dword ptr [0x2b0b5bb4] */ 17572 RECOMP_FLAGS_IN(); 17573 L_2B0206C0: 17574 ecx = MEM32(esi + 0x14); /* 0x2B0206C0: mov ecx, dword ptr [esi + 0x14] */ 17575 L_2B0206C3: 17576 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B0206C3: call dword ptr [0x2b0b5b3c] */ 17577 RECOMP_FLAGS_IN(); 17578 L_2B0206C9: 17579 edx = MEM32(esi + 0x84); /* 0x2B0206C9: mov edx, dword ptr [esi + 0x84] */ 17580 L_2B0206CF: 17581 eax = MEM32(0x2B0B6048); /* 0x2B0206CF: mov eax, dword ptr [0x2b0b6048] */ 17582 L_2B0206D4: 17583 ecx = MEM32(eax); /* 0x2B0206D4: mov ecx, dword ptr [eax] */ 17584 L_2B0206D6: 17585 PUSH32(esp, ebx); /* 0x2B0206D6: push ebx */ 17586 L_2B0206D7: 17587 PUSH32(esp, ebx); /* 0x2B0206D7: push ebx */ 17588 L_2B0206D8: 17589 PUSH32(esp, edx); /* 0x2B0206D8: push edx */ 17590 L_2B0206D9: 17591 PUSH32(esp, 0x2B0E3828u); /* 0x2B0206D9: push 0x2b0e3828 */ 17592 L_2B0206DE: 17593 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B0206DE: call dword ptr [0x2b0b604c] */ 17594 RECOMP_FLAGS_IN(); 17595 L_2B0206E4: 17596 ecx = esi; /* 0x2B0206E4: mov ecx, esi */ 17597 L_2B0206E6: 17598 RECOMP_ICALL(0x2B020770u); /* 0x2B0206E6: call 0x2b020770 */ /* not lifted */ 17599 RECOMP_FLAGS_IN(); 17600 L_2B0206EB: 17601 PUSH32(esp, edi); /* 0x2B0206EB: push edi */ 17602 L_2B0206EC: 17603 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B0206EC: call dword ptr [0x2b0b60b8] */ 17604 RECOMP_FLAGS_IN(); 17605 L_2B0206F2: 17606 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17607 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17608 esp = esp + 4; /* 0x2B0206F2: add esp, 4 */ 17609 _flag_k = FK_ADD; 17610 L_2B0206F5: 17611 ecx = MEM32(ebp + (-0xC)); /* 0x2B0206F5: mov ecx, dword ptr [ebp - 0xc] */ 17612 L_2B0206F8: 17613 edi = POP32_VAL(esp); /* 0x2B0206F8: pop edi */ 17614 L_2B0206F9: 17615 esi = POP32_VAL(esp); /* 0x2B0206F9: pop esi */ 17616 L_2B0206FA: 17617 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0206FA: mov dword ptr fs:[0], ecx */ 17618 L_2B020701: 17619 ebx = POP32_VAL(esp); /* 0x2B020701: pop ebx */ 17620 L_2B020702: 17621 esp = ebp; /* 0x2B020702: mov esp, ebp */ 17622 L_2B020704: 17623 ebp = POP32_VAL(esp); /* 0x2B020704: pop ebp */ 17624 L_2B020705: 17625 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B020705: ret 4 */ 17626 _ljump: 17627 switch (_itail_tgt) { 17628 case 0x2B020380u: goto L_2B020380; 17629 case 0x2B020381u: goto L_2B020381; 17630 case 0x2B020383u: goto L_2B020383; 17631 case 0x2B020385u: goto L_2B020385; 17632 case 0x2B02038Au: goto L_2B02038A; 17633 case 0x2B020390u: goto L_2B020390; 17634 case 0x2B020391u: goto L_2B020391; 17635 case 0x2B020398u: goto L_2B020398; 17636 case 0x2B02039Bu: goto L_2B02039B; 17637 case 0x2B02039Eu: goto L_2B02039E; 17638 case 0x2B0203A1u: goto L_2B0203A1; 17639 case 0x2B0203A2u: goto L_2B0203A2; 17640 case 0x2B0203A3u: goto L_2B0203A3; 17641 case 0x2B0203A4u: goto L_2B0203A4; 17642 case 0x2B0203A6u: goto L_2B0203A6; 17643 case 0x2B0203ACu: goto L_2B0203AC; 17644 case 0x2B0203AFu: goto L_2B0203AF; 17645 case 0x2B0203B1u: goto L_2B0203B1; 17646 case 0x2B0203B2u: goto L_2B0203B2; 17647 case 0x2B0203B7u: goto L_2B0203B7; 17648 case 0x2B0203BAu: goto L_2B0203BA; 17649 case 0x2B0203C1u: goto L_2B0203C1; 17650 case 0x2B0203C2u: goto L_2B0203C2; 17651 case 0x2B0203C3u: goto L_2B0203C3; 17652 case 0x2B0203C4u: goto L_2B0203C4; 17653 case 0x2B0203C6u: goto L_2B0203C6; 17654 case 0x2B0203C7u: goto L_2B0203C7; 17655 case 0x2B0203CAu: goto L_2B0203CA; 17656 case 0x2B0203D0u: goto L_2B0203D0; 17657 case 0x2B0203D5u: goto L_2B0203D5; 17658 case 0x2B0203D7u: goto L_2B0203D7; 17659 case 0x2B0203DCu: goto L_2B0203DC; 17660 case 0x2B0203DDu: goto L_2B0203DD; 17661 case 0x2B0203DEu: goto L_2B0203DE; 17662 case 0x2B0203DFu: goto L_2B0203DF; 17663 case 0x2B0203E4u: goto L_2B0203E4; 17664 case 0x2B0203EAu: goto L_2B0203EA; 17665 case 0x2B0203EDu: goto L_2B0203ED; 17666 case 0x2B0203EFu: goto L_2B0203EF; 17667 case 0x2B0203F2u: goto L_2B0203F2; 17668 case 0x2B0203F5u: goto L_2B0203F5; 17669 case 0x2B0203F8u: goto L_2B0203F8; 17670 case 0x2B0203FBu: goto L_2B0203FB; 17671 case 0x2B0203FEu: goto L_2B0203FE; 17672 case 0x2B0203FFu: goto L_2B0203FF; 17673 case 0x2B020400u: goto L_2B020400; 17674 case 0x2B020401u: goto L_2B020401; 17675 case 0x2B020404u: goto L_2B020404; 17676 case 0x2B020407u: goto L_2B020407; 17677 case 0x2B02040Au: goto L_2B02040A; 17678 case 0x2B02040Fu: goto L_2B02040F; 17679 case 0x2B020412u: goto L_2B020412; 17680 case 0x2B020415u: goto L_2B020415; 17681 case 0x2B020416u: goto L_2B020416; 17682 case 0x2B020417u: goto L_2B020417; 17683 case 0x2B020418u: goto L_2B020418; 17684 case 0x2B02041Bu: goto L_2B02041B; 17685 case 0x2B02041Eu: goto L_2B02041E; 17686 case 0x2B020423u: goto L_2B020423; 17687 case 0x2B020426u: goto L_2B020426; 17688 case 0x2B020429u: goto L_2B020429; 17689 case 0x2B02042Bu: goto L_2B02042B; 17690 case 0x2B02042Du: goto L_2B02042D; 17691 case 0x2B020430u: goto L_2B020430; 17692 case 0x2B020432u: goto L_2B020432; 17693 case 0x2B020435u: goto L_2B020435; 17694 case 0x2B020437u: goto L_2B020437; 17695 case 0x2B020439u: goto L_2B020439; 17696 case 0x2B02043Bu: goto L_2B02043B; 17697 case 0x2B02043Eu: goto L_2B02043E; 17698 case 0x2B020440u: goto L_2B020440; 17699 case 0x2B020443u: goto L_2B020443; 17700 case 0x2B020445u: goto L_2B020445; 17701 case 0x2B020447u: goto L_2B020447; 17702 case 0x2B020449u: goto L_2B020449; 17703 case 0x2B020450u: goto L_2B020450; 17704 case 0x2B020451u: goto L_2B020451; 17705 case 0x2B020456u: goto L_2B020456; 17706 case 0x2B020459u: goto L_2B020459; 17707 case 0x2B02045Cu: goto L_2B02045C; 17708 case 0x2B02045Fu: goto L_2B02045F; 17709 case 0x2B020462u: goto L_2B020462; 17710 case 0x2B020464u: goto L_2B020464; 17711 case 0x2B020466u: goto L_2B020466; 17712 case 0x2B020468u: goto L_2B020468; 17713 case 0x2B02046Au: goto L_2B02046A; 17714 case 0x2B02046Cu: goto L_2B02046C; 17715 case 0x2B02046Eu: goto L_2B02046E; 17716 case 0x2B020471u: goto L_2B020471; 17717 case 0x2B020474u: goto L_2B020474; 17718 case 0x2B020476u: goto L_2B020476; 17719 case 0x2B020478u: goto L_2B020478; 17720 case 0x2B02047Bu: goto L_2B02047B; 17721 case 0x2B02047Eu: goto L_2B02047E; 17722 case 0x2B020481u: goto L_2B020481; 17723 case 0x2B020486u: goto L_2B020486; 17724 case 0x2B020489u: goto L_2B020489; 17725 case 0x2B02048Bu: goto L_2B02048B; 17726 case 0x2B020490u: goto L_2B020490; 17727 case 0x2B020492u: goto L_2B020492; 17728 case 0x2B020494u: goto L_2B020494; 17729 case 0x2B020496u: goto L_2B020496; 17730 case 0x2B020499u: goto L_2B020499; 17731 case 0x2B02049Cu: goto L_2B02049C; 17732 case 0x2B02049Du: goto L_2B02049D; 17733 case 0x2B0204A2u: goto L_2B0204A2; 17734 case 0x2B0204A7u: goto L_2B0204A7; 17735 case 0x2B0204ADu: goto L_2B0204AD; 17736 case 0x2B0204AFu: goto L_2B0204AF; 17737 case 0x2B0204B5u: goto L_2B0204B5; 17738 case 0x2B0204BBu: goto L_2B0204BB; 17739 case 0x2B0204C1u: goto L_2B0204C1; 17740 case 0x2B0204C3u: goto L_2B0204C3; 17741 case 0x2B0204C4u: goto L_2B0204C4; 17742 case 0x2B0204C7u: goto L_2B0204C7; 17743 case 0x2B0204CCu: goto L_2B0204CC; 17744 case 0x2B0204D2u: goto L_2B0204D2; 17745 case 0x2B0204D9u: goto L_2B0204D9; 17746 case 0x2B0204DBu: goto L_2B0204DB; 17747 case 0x2B0204DCu: goto L_2B0204DC; 17748 case 0x2B0204DEu: goto L_2B0204DE; 17749 case 0x2B0204E3u: goto L_2B0204E3; 17750 case 0x2B0204E9u: goto L_2B0204E9; 17751 case 0x2B0204EEu: goto L_2B0204EE; 17752 case 0x2B0204F0u: goto L_2B0204F0; 17753 case 0x2B0204F2u: goto L_2B0204F2; 17754 case 0x2B0204F4u: goto L_2B0204F4; 17755 case 0x2B0204F9u: goto L_2B0204F9; 17756 case 0x2B0204FEu: goto L_2B0204FE; 17757 case 0x2B020504u: goto L_2B020504; 17758 case 0x2B020507u: goto L_2B020507; 17759 case 0x2B02050Cu: goto L_2B02050C; 17760 case 0x2B020512u: goto L_2B020512; 17761 case 0x2B020517u: goto L_2B020517; 17762 case 0x2B020519u: goto L_2B020519; 17763 case 0x2B02051Au: goto L_2B02051A; 17764 case 0x2B02051Cu: goto L_2B02051C; 17765 case 0x2B020521u: goto L_2B020521; 17766 case 0x2B02052Bu: goto L_2B02052B; 17767 case 0x2B020530u: goto L_2B020530; 17768 case 0x2B020532u: goto L_2B020532; 17769 case 0x2B020534u: goto L_2B020534; 17770 case 0x2B020536u: goto L_2B020536; 17771 case 0x2B02053Bu: goto L_2B02053B; 17772 case 0x2B020540u: goto L_2B020540; 17773 case 0x2B020546u: goto L_2B020546; 17774 case 0x2B020549u: goto L_2B020549; 17775 case 0x2B02054Eu: goto L_2B02054E; 17776 case 0x2B020554u: goto L_2B020554; 17777 case 0x2B020559u: goto L_2B020559; 17778 case 0x2B02055Bu: goto L_2B02055B; 17779 case 0x2B02055Du: goto L_2B02055D; 17780 case 0x2B02055Fu: goto L_2B02055F; 17781 case 0x2B020564u: goto L_2B020564; 17782 case 0x2B02056Eu: goto L_2B02056E; 17783 case 0x2B020573u: goto L_2B020573; 17784 case 0x2B020575u: goto L_2B020575; 17785 case 0x2B020577u: goto L_2B020577; 17786 case 0x2B020579u: goto L_2B020579; 17787 case 0x2B02057Eu: goto L_2B02057E; 17788 case 0x2B020583u: goto L_2B020583; 17789 case 0x2B020589u: goto L_2B020589; 17790 case 0x2B02058Cu: goto L_2B02058C; 17791 case 0x2B020591u: goto L_2B020591; 17792 case 0x2B020597u: goto L_2B020597; 17793 case 0x2B02059Cu: goto L_2B02059C; 17794 case 0x2B02059Eu: goto L_2B02059E; 17795 case 0x2B0205A0u: goto L_2B0205A0; 17796 case 0x2B0205A2u: goto L_2B0205A2; 17797 case 0x2B0205A7u: goto L_2B0205A7; 17798 case 0x2B0205B1u: goto L_2B0205B1; 17799 case 0x2B0205B7u: goto L_2B0205B7; 17800 case 0x2B0205B9u: goto L_2B0205B9; 17801 case 0x2B0205BBu: goto L_2B0205BB; 17802 case 0x2B0205BDu: goto L_2B0205BD; 17803 case 0x2B0205BFu: goto L_2B0205BF; 17804 case 0x2B0205C4u: goto L_2B0205C4; 17805 case 0x2B0205CAu: goto L_2B0205CA; 17806 case 0x2B0205D0u: goto L_2B0205D0; 17807 case 0x2B0205D3u: goto L_2B0205D3; 17808 case 0x2B0205D8u: goto L_2B0205D8; 17809 case 0x2B0205DEu: goto L_2B0205DE; 17810 case 0x2B0205E3u: goto L_2B0205E3; 17811 case 0x2B0205E5u: goto L_2B0205E5; 17812 case 0x2B0205E7u: goto L_2B0205E7; 17813 case 0x2B0205E9u: goto L_2B0205E9; 17814 case 0x2B0205EEu: goto L_2B0205EE; 17815 case 0x2B0205F8u: goto L_2B0205F8; 17816 case 0x2B0205FEu: goto L_2B0205FE; 17817 case 0x2B020600u: goto L_2B020600; 17818 case 0x2B020602u: goto L_2B020602; 17819 case 0x2B020604u: goto L_2B020604; 17820 case 0x2B020606u: goto L_2B020606; 17821 case 0x2B02060Bu: goto L_2B02060B; 17822 case 0x2B020611u: goto L_2B020611; 17823 case 0x2B020617u: goto L_2B020617; 17824 case 0x2B02061Au: goto L_2B02061A; 17825 case 0x2B02061Fu: goto L_2B02061F; 17826 case 0x2B020625u: goto L_2B020625; 17827 case 0x2B02062Au: goto L_2B02062A; 17828 case 0x2B02062Cu: goto L_2B02062C; 17829 case 0x2B02062Eu: goto L_2B02062E; 17830 case 0x2B020630u: goto L_2B020630; 17831 case 0x2B020635u: goto L_2B020635; 17832 case 0x2B02063Fu: goto L_2B02063F; 17833 case 0x2B020645u: goto L_2B020645; 17834 case 0x2B020647u: goto L_2B020647; 17835 case 0x2B020649u: goto L_2B020649; 17836 case 0x2B02064Bu: goto L_2B02064B; 17837 case 0x2B02064Du: goto L_2B02064D; 17838 case 0x2B020652u: goto L_2B020652; 17839 case 0x2B020658u: goto L_2B020658; 17840 case 0x2B02065Eu: goto L_2B02065E; 17841 case 0x2B020661u: goto L_2B020661; 17842 case 0x2B020666u: goto L_2B020666; 17843 case 0x2B02066Cu: goto L_2B02066C; 17844 case 0x2B02066Eu: goto L_2B02066E; 17845 case 0x2B020670u: goto L_2B020670; 17846 case 0x2B020672u: goto L_2B020672; 17847 case 0x2B020674u: goto L_2B020674; 17848 case 0x2B020679u: goto L_2B020679; 17849 case 0x2B020683u: goto L_2B020683; 17850 case 0x2B020689u: goto L_2B020689; 17851 case 0x2B02068Bu: goto L_2B02068B; 17852 case 0x2B02068Du: goto L_2B02068D; 17853 case 0x2B02068Fu: goto L_2B02068F; 17854 case 0x2B020691u: goto L_2B020691; 17855 case 0x2B020696u: goto L_2B020696; 17856 case 0x2B02069Cu: goto L_2B02069C; 17857 case 0x2B0206A2u: goto L_2B0206A2; 17858 case 0x2B0206A5u: goto L_2B0206A5; 17859 case 0x2B0206AAu: goto L_2B0206AA; 17860 case 0x2B0206B0u: goto L_2B0206B0; 17861 case 0x2B0206B2u: goto L_2B0206B2; 17862 case 0x2B0206B7u: goto L_2B0206B7; 17863 case 0x2B0206BAu: goto L_2B0206BA; 17864 case 0x2B0206C0u: goto L_2B0206C0; 17865 case 0x2B0206C3u: goto L_2B0206C3; 17866 case 0x2B0206C9u: goto L_2B0206C9; 17867 case 0x2B0206CFu: goto L_2B0206CF; 17868 case 0x2B0206D4u: goto L_2B0206D4; 17869 case 0x2B0206D6u: goto L_2B0206D6; 17870 case 0x2B0206D7u: goto L_2B0206D7; 17871 case 0x2B0206D8u: goto L_2B0206D8; 17872 case 0x2B0206D9u: goto L_2B0206D9; 17873 case 0x2B0206DEu: goto L_2B0206DE; 17874 case 0x2B0206E4u: goto L_2B0206E4; 17875 case 0x2B0206E6u: goto L_2B0206E6; 17876 case 0x2B0206EBu: goto L_2B0206EB; 17877 case 0x2B0206ECu: goto L_2B0206EC; 17878 case 0x2B0206F2u: goto L_2B0206F2; 17879 case 0x2B0206F5u: goto L_2B0206F5; 17880 case 0x2B0206F8u: goto L_2B0206F8; 17881 case 0x2B0206F9u: goto L_2B0206F9; 17882 case 0x2B0206FAu: goto L_2B0206FA; 17883 case 0x2B020701u: goto L_2B020701; 17884 case 0x2B020702u: goto L_2B020702; 17885 case 0x2B020704u: goto L_2B020704; 17886 case 0x2B020705u: goto L_2B020705; 17887 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 17888 } 17889 RECOMP_REGS_OUT(); 17890 } 17891 17892 void sub_2B0206B0(void) { 17893 int _fpu_cmp = 0; 17894 uint32_t _cf = 0; 17895 int _df = 1; 17896 uint32_t _flag_k = FK_NONE; 17897 uint32_t _flag_a = 0, _flag_b = 0; 17898 uint32_t _itail_tgt = 0; 17899 RECOMP_REGS_LOCALS 17900 RECOMP_ENTER(0x2B0206B0u); 17901 17902 L_2B0206B0: 17903 ecx = esi; /* 0x2B0206B0: mov ecx, esi */ 17904 RECOMP_ICALL(0x2B01FC20u); /* 0x2B0206B2: call 0x2b01fc20 */ /* not lifted */ 17905 RECOMP_FLAGS_IN(); 17906 ecx = MEM32(esi + 0x10); /* 0x2B0206B7: mov ecx, dword ptr [esi + 0x10] */ 17907 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B0206BA: call dword ptr [0x2b0b5bb4] */ 17908 RECOMP_FLAGS_IN(); 17909 ecx = MEM32(esi + 0x14); /* 0x2B0206C0: mov ecx, dword ptr [esi + 0x14] */ 17910 RECOMP_ICALL(MEM32(0x2B0B5B3C)); /* 0x2B0206C3: call dword ptr [0x2b0b5b3c] */ 17911 RECOMP_FLAGS_IN(); 17912 edx = MEM32(esi + 0x84); /* 0x2B0206C9: mov edx, dword ptr [esi + 0x84] */ 17913 eax = MEM32(0x2B0B6048); /* 0x2B0206CF: mov eax, dword ptr [0x2b0b6048] */ 17914 ecx = MEM32(eax); /* 0x2B0206D4: mov ecx, dword ptr [eax] */ 17915 PUSH32(esp, ebx); /* 0x2B0206D6: push ebx */ 17916 PUSH32(esp, ebx); /* 0x2B0206D7: push ebx */ 17917 PUSH32(esp, edx); /* 0x2B0206D8: push edx */ 17918 PUSH32(esp, 0x2B0E3828u); /* 0x2B0206D9: push 0x2b0e3828 */ 17919 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B0206DE: call dword ptr [0x2b0b604c] */ 17920 RECOMP_FLAGS_IN(); 17921 ecx = esi; /* 0x2B0206E4: mov ecx, esi */ 17922 RECOMP_ICALL(0x2B020770u); /* 0x2B0206E6: call 0x2b020770 */ /* not lifted */ 17923 RECOMP_FLAGS_IN(); 17924 PUSH32(esp, edi); /* 0x2B0206EB: push edi */ 17925 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B0206EC: call dword ptr [0x2b0b60b8] */ 17926 RECOMP_FLAGS_IN(); 17927 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17928 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17929 esp = esp + 4; /* 0x2B0206F2: add esp, 4 */ 17930 _flag_k = FK_ADD; 17931 ecx = MEM32(ebp + (-0xC)); /* 0x2B0206F5: mov ecx, dword ptr [ebp - 0xc] */ 17932 edi = POP32_VAL(esp); /* 0x2B0206F8: pop edi */ 17933 esi = POP32_VAL(esp); /* 0x2B0206F9: pop esi */ 17934 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0206FA: mov dword ptr fs:[0], ecx */ 17935 ebx = POP32_VAL(esp); /* 0x2B020701: pop ebx */ 17936 esp = ebp; /* 0x2B020702: mov esp, ebp */ 17937 ebp = POP32_VAL(esp); /* 0x2B020704: pop ebp */ 17938 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B020705: ret 4 */ 17939 RECOMP_REGS_OUT(); 17940 } 17941 17942 void sub_2B0206F2(void) { 17943 int _fpu_cmp = 0; 17944 uint32_t _cf = 0; 17945 int _df = 1; 17946 uint32_t _flag_k = FK_NONE; 17947 uint32_t _flag_a = 0, _flag_b = 0; 17948 uint32_t _itail_tgt = 0; 17949 RECOMP_REGS_LOCALS 17950 RECOMP_ENTER(0x2B0206F2u); 17951 17952 L_2B0206F2: 17953 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17954 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17955 esp = esp + 4; /* 0x2B0206F2: add esp, 4 */ 17956 _flag_k = FK_ADD; 17957 ecx = MEM32(ebp + (-0xC)); /* 0x2B0206F5: mov ecx, dword ptr [ebp - 0xc] */ 17958 edi = POP32_VAL(esp); /* 0x2B0206F8: pop edi */ 17959 esi = POP32_VAL(esp); /* 0x2B0206F9: pop esi */ 17960 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0206FA: mov dword ptr fs:[0], ecx */ 17961 ebx = POP32_VAL(esp); /* 0x2B020701: pop ebx */ 17962 esp = ebp; /* 0x2B020702: mov esp, ebp */ 17963 ebp = POP32_VAL(esp); /* 0x2B020704: pop ebp */ 17964 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B020705: ret 4 */ 17965 RECOMP_REGS_OUT(); 17966 } 17967 17968 void sub_2B0206F5(void) { 17969 int _fpu_cmp = 0; 17970 uint32_t _cf = 0; 17971 int _df = 1; 17972 uint32_t _flag_k = FK_NONE; 17973 uint32_t _flag_a = 0, _flag_b = 0; 17974 uint32_t _itail_tgt = 0; 17975 RECOMP_REGS_LOCALS 17976 RECOMP_ENTER(0x2B0206F5u); 17977 17978 L_2B0206F5: 17979 ecx = MEM32(ebp + (-0xC)); /* 0x2B0206F5: mov ecx, dword ptr [ebp - 0xc] */ 17980 edi = POP32_VAL(esp); /* 0x2B0206F8: pop edi */ 17981 esi = POP32_VAL(esp); /* 0x2B0206F9: pop esi */ 17982 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0206FA: mov dword ptr fs:[0], ecx */ 17983 ebx = POP32_VAL(esp); /* 0x2B020701: pop ebx */ 17984 esp = ebp; /* 0x2B020702: mov esp, ebp */ 17985 ebp = POP32_VAL(esp); /* 0x2B020704: pop ebp */ 17986 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B020705: ret 4 */ 17987 RECOMP_REGS_OUT(); 17988 } 17989 17990 void sub_2B020730(void) { 17991 int _fpu_cmp = 0; 17992 uint32_t _cf = 0; 17993 int _df = 1; 17994 uint32_t _flag_k = FK_NONE; 17995 uint32_t _flag_a = 0, _flag_b = 0; 17996 uint32_t _itail_tgt = 0; 17997 RECOMP_REGS_LOCALS 17998 RECOMP_ENTER(0x2B020730u); 17999 18000 L_2B020730: 18001 PUSH32(esp, ebp); /* 0x2B020730: push ebp */ 18002 ebp = esp; /* 0x2B020731: mov ebp, esp */ 18003 eax = MEM32(ebp + 0x8); /* 0x2B020733: mov eax, dword ptr [ebp + 8] */ 18004 MEM32(eax + 0x5C) = 0x12u; /* 0x2B020736: mov dword ptr [eax + 0x5c], 0x12 */ 18005 ebp = POP32_VAL(esp); /* 0x2B02073D: pop ebp */ 18006 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02073E: ret */ 18007 RECOMP_REGS_OUT(); 18008 } 18009 18010 void sub_2B020740(void) { 18011 int _fpu_cmp = 0; 18012 uint32_t _cf = 0; 18013 int _df = 1; 18014 uint32_t _flag_k = FK_NONE; 18015 uint32_t _flag_a = 0, _flag_b = 0; 18016 uint32_t _itail_tgt = 0; 18017 RECOMP_REGS_LOCALS 18018 RECOMP_ENTER(0x2B020740u); 18019 18020 L_2B020740: 18021 PUSH32(esp, ebp); /* 0x2B020740: push ebp */ 18022 ebp = esp; /* 0x2B020741: mov ebp, esp */ 18023 eax = MEM32(ebp + 0xC); /* 0x2B020743: mov eax, dword ptr [ebp + 0xc] */ 18024 PUSH32(esp, esi); /* 0x2B020746: push esi */ 18025 PUSH32(esp, 0); /* 0x2B020747: push 0 */ 18026 esi = ecx; /* 0x2B020749: mov esi, ecx */ 18027 ecx = MEM32(ebp + 0x8); /* 0x2B02074B: mov ecx, dword ptr [ebp + 8] */ 18028 PUSH32(esp, eax); /* 0x2B02074E: push eax */ 18029 PUSH32(esp, ecx); /* 0x2B02074F: push ecx */ 18030 ecx = MEM32(esi + 0x68); /* 0x2B020750: mov ecx, dword ptr [esi + 0x68] */ 18031 RECOMP_ICALL(0x2B02AEB0u); /* 0x2B020753: call 0x2b02aeb0 */ /* not lifted */ 18032 RECOMP_FLAGS_IN(); 18033 edx = MEM32(esi + 0x68); /* 0x2B020758: mov edx, dword ptr [esi + 0x68] */ 18034 ecx = MEM32(edx + 0x78); /* 0x2B02075B: mov ecx, dword ptr [edx + 0x78] */ 18035 RECOMP_ICALL(MEM32(0x2B0B5628)); /* 0x2B02075E: call dword ptr [0x2b0b5628] */ 18036 RECOMP_FLAGS_IN(); 18037 esi = POP32_VAL(esp); /* 0x2B020764: pop esi */ 18038 ebp = POP32_VAL(esp); /* 0x2B020765: pop ebp */ 18039 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B020766: ret 8 */ 18040 RECOMP_REGS_OUT(); 18041 } 18042 18043 void sub_2B020770(void) { 18044 int _fpu_cmp = 0; 18045 uint32_t _cf = 0; 18046 int _df = 1; 18047 uint32_t _flag_k = FK_NONE; 18048 uint32_t _flag_a = 0, _flag_b = 0; 18049 uint32_t _itail_tgt = 0; 18050 RECOMP_REGS_LOCALS 18051 RECOMP_ENTER(0x2B020770u); 18052 18053 L_2B020770: 18054 PUSH32(esp, ebp); /* 0x2B020770: push ebp */ 18055 ebp = esp; /* 0x2B020771: mov ebp, esp */ 18056 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020773: push -1 */ 18057 PUSH32(esp, 0x2B0AD5CDu); /* 0x2B020775: push 0x2b0ad5cd */ 18058 eax = MEM32(FS_BASE + (0)); /* 0x2B02077A: mov eax, dword ptr fs:[0] */ 18059 PUSH32(esp, eax); /* 0x2B020780: push eax */ 18060 MEM32(FS_BASE + (0)) = esp; /* 0x2B020781: mov dword ptr fs:[0], esp */ 18061 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x5Cu); 18062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18063 esp = esp - 0x5Cu; /* 0x2B020788: sub esp, 0x5c */ 18064 _flag_k = FK_CMP; 18065 PUSH32(esp, ebx); /* 0x2B02078B: push ebx */ 18066 PUSH32(esp, esi); /* 0x2B02078C: push esi */ 18067 esi = ecx; /* 0x2B02078D: mov esi, ecx */ 18068 PUSH32(esp, edi); /* 0x2B02078F: push edi */ 18069 edi = MEM32(esi + 0xA0); /* 0x2B020790: mov edi, dword ptr [esi + 0xa0] */ 18070 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18071 ebx = 0; /* 0x2B020796: xor ebx, ebx */ 18072 _cf = 0; 18073 _flag_k = FK_TEST; 18074 /* cmp edi, ebx */ /* 0x2B020798: cmp edi, ebx */ 18075 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 18076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18077 _flag_k = FK_CMP; 18078 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0207AD; /* 0x2B02079A: je 0x2b0207ad */ 18079 L_2B02079C: 18080 ecx = edi; /* 0x2B02079C: mov ecx, edi */ 18081 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B02079E: call dword ptr [0x2b0b5b30] */ 18082 RECOMP_FLAGS_IN(); 18083 PUSH32(esp, edi); /* 0x2B0207A4: push edi */ 18084 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0207A5: call 0x2b0ab1ba */ /* not lifted */ 18085 RECOMP_FLAGS_IN(); 18086 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18087 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18088 esp = esp + 4; /* 0x2B0207AA: add esp, 4 */ 18089 _flag_k = FK_ADD; 18090 L_2B0207AD: 18091 edi = MEM32(esi + 0xA4); /* 0x2B0207AD: mov edi, dword ptr [esi + 0xa4] */ 18092 /* cmp edi, ebx */ /* 0x2B0207B3: cmp edi, ebx */ 18093 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 18094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18095 _flag_k = FK_CMP; 18096 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0207C8; /* 0x2B0207B5: je 0x2b0207c8 */ 18097 L_2B0207B7: 18098 ecx = edi; /* 0x2B0207B7: mov ecx, edi */ 18099 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B0207B9: call dword ptr [0x2b0b5b2c] */ 18100 RECOMP_FLAGS_IN(); 18101 PUSH32(esp, edi); /* 0x2B0207BF: push edi */ 18102 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0207C0: call 0x2b0ab1ba */ /* not lifted */ 18103 RECOMP_FLAGS_IN(); 18104 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18106 esp = esp + 4; /* 0x2B0207C5: add esp, 4 */ 18107 _flag_k = FK_ADD; 18108 L_2B0207C8: 18109 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B0207C8: mov al, byte ptr [ebp - 0xd] */ 18110 PUSH32(esp, ebx); /* 0x2B0207CB: push ebx */ 18111 ecx = ebp + (-0x40); /* 0x2B0207CC: lea ecx, [ebp - 0x40] */ 18112 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(eax)); /* 0x2B0207CF: mov byte ptr [ebp - 0x40], al */ 18113 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B0207D2: call dword ptr [0x2b0b514c] */ 18114 RECOMP_FLAGS_IN(); 18115 MEM32(ebp + (-0x30)) = ebx; /* 0x2B0207D8: mov dword ptr [ebp - 0x30], ebx */ 18116 ecx = MEM32(0x2B0B6048); /* 0x2B0207DB: mov ecx, dword ptr [0x2b0b6048] */ 18117 ecx = MEM32(ecx); /* 0x2B0207E1: mov ecx, dword ptr [ecx] */ 18118 PUSH32(esp, 1); /* 0x2B0207E3: push 1 */ 18119 PUSH32(esp, 0x2B0E3828u); /* 0x2B0207E5: push 0x2b0e3828 */ 18120 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0207EA: mov dword ptr [ebp - 4], ebx */ 18121 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B0207ED: call dword ptr [0x2b0b602c] */ 18122 RECOMP_FLAGS_IN(); 18123 /* cmp eax, ebx */ /* 0x2B0207F3: cmp eax, ebx */ 18124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18126 _flag_k = FK_CMP; 18127 MEM32(ebp + (-0x14)) = eax; /* 0x2B0207F5: mov dword ptr [ebp - 0x14], eax */ 18128 if (CMP_NE(_flag_a, _flag_b)) goto L_2B020847; /* 0x2B0207F8: jne 0x2b020847 */ 18129 L_2B0207FA: 18130 eax = MEM32(ebp + (-0x30)); /* 0x2B0207FA: mov eax, dword ptr [ebp - 0x30] */ 18131 /* cmp eax, ebx */ /* 0x2B0207FD: cmp eax, ebx */ 18132 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18134 _flag_k = FK_CMP; 18135 MEM32(ebp + (-0x4)) = 1; /* 0x2B0207FF: mov dword ptr [ebp - 4], 1 */ 18136 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020824; /* 0x2B020806: je 0x2b020824 */ 18137 L_2B020808: 18138 esi = MEM32(eax + 0x2C); /* 0x2B020808: mov esi, dword ptr [eax + 0x2c] */ 18139 ecx = eax; /* 0x2B02080B: mov ecx, eax */ 18140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 18141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18142 eax = eax + 0x2Cu; /* 0x2B02080D: add eax, 0x2c */ 18143 _flag_k = FK_ADD; 18144 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 18145 esi = esi - 1; /* 0x2B020810: dec esi */ 18146 _flag_k = FK_DEC; 18147 edx = esi; /* 0x2B020811: mov edx, esi */ 18148 /* cmp edx, ebx */ /* 0x2B020813: cmp edx, ebx */ 18149 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 18150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18151 _flag_k = FK_CMP; 18152 MEM32(eax) = esi; /* 0x2B020815: mov dword ptr [eax], esi */ 18153 if (CMP_NE(_flag_a, _flag_b)) goto L_2B020824; /* 0x2B020817: jne 0x2b020824 */ 18154 L_2B020819: 18155 /* cmp ecx, ebx */ /* 0x2B020819: cmp ecx, ebx */ 18156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 18157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18158 _flag_k = FK_CMP; 18159 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020824; /* 0x2B02081B: je 0x2b020824 */ 18160 L_2B02081D: 18161 PUSH32(esp, 1); /* 0x2B02081D: push 1 */ 18162 RECOMP_ICALL(0x2B007900u); /* 0x2B02081F: call 0x2b007900 */ /* not lifted */ 18163 RECOMP_FLAGS_IN(); 18164 L_2B020824: 18165 PUSH32(esp, 1); /* 0x2B020824: push 1 */ 18166 ecx = ebp + (-0x40); /* 0x2B020826: lea ecx, [ebp - 0x40] */ 18167 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B020829: mov dword ptr [ebp - 4], 0xffffffff */ 18168 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020830: call dword ptr [0x2b0b514c] */ 18169 RECOMP_FLAGS_IN(); 18170 edi = POP32_VAL(esp); /* 0x2B020836: pop edi */ 18171 esi = POP32_VAL(esp); /* 0x2B020837: pop esi */ 18172 ebx = POP32_VAL(esp); /* 0x2B020838: pop ebx */ 18173 ecx = MEM32(ebp + (-0xC)); /* 0x2B020839: mov ecx, dword ptr [ebp - 0xc] */ 18174 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02083C: mov dword ptr fs:[0], ecx */ 18175 esp = ebp; /* 0x2B020843: mov esp, ebp */ 18176 ebp = POP32_VAL(esp); /* 0x2B020845: pop ebp */ 18177 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020846: ret */ 18178 L_2B020847: 18179 edx = ebp + (-0x1C); /* 0x2B020847: lea edx, [ebp - 0x1c] */ 18180 PUSH32(esp, edx); /* 0x2B02084A: push edx */ 18181 ecx = ebp + (-0x14); /* 0x2B02084B: lea ecx, [ebp - 0x14] */ 18182 PUSH32(esp, ecx); /* 0x2B02084E: push ecx */ 18183 PUSH32(esp, eax); /* 0x2B02084F: push eax */ 18184 ecx = esi; /* 0x2B020850: mov ecx, esi */ 18185 RECOMP_ICALL(0x2B038B40u); /* 0x2B020852: call 0x2b038b40 */ /* not lifted */ 18186 RECOMP_FLAGS_IN(); 18187 edx = MEM32(ebp + (-0x14)); /* 0x2B020857: mov edx, dword ptr [ebp - 0x14] */ 18188 PUSH32(esp, edx); /* 0x2B02085A: push edx */ 18189 RECOMP_ICALL(MEM32(0x2B0B5F14)); /* 0x2B02085B: call dword ptr [0x2b0b5f14] */ 18190 RECOMP_FLAGS_IN(); 18191 edx = eax; /* 0x2B020861: mov edx, eax */ 18192 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18193 ecx = ecx | 0xFFFFFFFFu; /* 0x2B020863: or ecx, 0xffffffff */ 18194 _cf = 0; 18195 _flag_k = FK_TEST; 18196 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18197 eax = 0; /* 0x2B020866: xor eax, eax */ 18198 _cf = 0; 18199 _flag_k = FK_TEST; 18200 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18201 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18202 esp = esp + 4; /* 0x2B020868: add esp, 4 */ 18203 _flag_k = FK_ADD; 18204 edi = edx; /* 0x2B02086B: mov edi, edx */ 18205 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; } /* 0x2B02086D: repne scasb al, byte ptr es:[edi] */ 18206 ecx = ~ecx; /* 0x2B02086F: not ecx */ 18207 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18208 ecx = ecx - 1; /* 0x2B020871: dec ecx */ 18209 _flag_k = FK_DEC; 18210 ebx = ecx; /* 0x2B020872: mov ebx, ecx */ 18211 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18212 edi = 0; /* 0x2B020874: xor edi, edi */ 18213 _cf = 0; 18214 _flag_k = FK_TEST; 18215 /* test ebx, ebx */ /* 0x2B020876: test ebx, ebx */ 18216 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 18217 _cf = 0; 18218 _flag_k = FK_TEST; 18219 if (TEST_LE(_flag_a, _flag_b)) goto L_2B0208A1; /* 0x2B020878: jle 0x2b0208a1 */ 18220 L_2B02087A: 18221 eax = ebp + (-0x68); /* 0x2B02087A: lea eax, [ebp - 0x68] */ 18222 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 18223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18224 edx = edx - eax; /* 0x2B02087D: sub edx, eax */ 18225 _flag_k = FK_CMP; 18226 MEM32(ebp + (-0x18)) = edx; /* 0x2B02087F: mov dword ptr [ebp - 0x18], edx */ 18227 goto L_2B020887; /* 0x2B020882: jmp 0x2b020887 */ 18228 L_2B020884: 18229 edx = MEM32(ebp + (-0x18)); /* 0x2B020884: mov edx, dword ptr [ebp - 0x18] */ 18230 L_2B020887: 18231 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 18232 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18233 edx = edx + edi; /* 0x2B020887: add edx, edi */ 18234 _flag_k = FK_ADD; 18235 ecx = (int32_t)(int8_t)MEM8(ebp + edx + (-0x68)); /* 0x2B020889: movsx ecx, byte ptr [ebp + edx - 0x68] */ 18236 PUSH32(esp, ecx); /* 0x2B02088E: push ecx */ 18237 RECOMP_ICALL(MEM32(0x2B0B5230)); /* 0x2B02088F: call dword ptr [0x2b0b5230] */ 18238 RECOMP_FLAGS_IN(); 18239 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18240 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18241 esp = esp + 4; /* 0x2B020895: add esp, 4 */ 18242 _flag_k = FK_ADD; 18243 MEM8(ebp + edi + (-0x68)) = (uint8_t)(LO8(eax)); /* 0x2B020898: mov byte ptr [ebp + edi - 0x68], al */ 18244 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 18245 edi = edi + 1; /* 0x2B02089C: inc edi */ 18246 _flag_k = FK_INC; 18247 /* cmp edi, ebx */ /* 0x2B02089D: cmp edi, ebx */ 18248 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 18249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18250 _flag_k = FK_CMP; 18251 RECOMP_BACKEDGE(); 18252 if (CMP_L(_flag_a, _flag_b)) goto L_2B020884; /* 0x2B02089F: jl 0x2b020884 */ 18253 L_2B0208A1: 18254 edx = MEM32(ebp + (-0x1C)); /* 0x2B0208A1: mov edx, dword ptr [ebp - 0x1c] */ 18255 PUSH32(esp, edx); /* 0x2B0208A4: push edx */ 18256 MEM8(ebp + edi + (-0x68)) = (uint8_t)(0); /* 0x2B0208A5: mov byte ptr [ebp + edi - 0x68], 0 */ 18257 RECOMP_ICALL(MEM32(0x2B0B5F18)); /* 0x2B0208AA: call dword ptr [0x2b0b5f18] */ 18258 RECOMP_FLAGS_IN(); 18259 PUSH32(esp, eax); /* 0x2B0208B0: push eax */ 18260 eax = ebp + (-0x68); /* 0x2B0208B1: lea eax, [ebp - 0x68] */ 18261 PUSH32(esp, eax); /* 0x2B0208B4: push eax */ 18262 ecx = ebp + (-0x40); /* 0x2B0208B5: lea ecx, [ebp - 0x40] */ 18263 PUSH32(esp, 0x2B0E39ACu); /* 0x2B0208B8: push 0x2b0e39ac */ 18264 PUSH32(esp, ecx); /* 0x2B0208BD: push ecx */ 18265 RECOMP_ICALL(0x2B020AF0u); /* 0x2B0208BE: call 0x2b020af0 */ /* not lifted */ 18266 RECOMP_FLAGS_IN(); 18267 PUSH32(esp, 8); /* 0x2B0208C3: push 8 */ 18268 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0208C5: call 0x2b0ab212 */ /* not lifted */ 18269 RECOMP_FLAGS_IN(); 18270 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 18271 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18272 esp = esp + 0x18u; /* 0x2B0208CA: add esp, 0x18 */ 18273 _flag_k = FK_ADD; 18274 MEM32(ebp + (-0x18)) = eax; /* 0x2B0208CD: mov dword ptr [ebp - 0x18], eax */ 18275 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18276 ebx = 0; /* 0x2B0208D0: xor ebx, ebx */ 18277 _cf = 0; 18278 _flag_k = FK_TEST; 18279 /* cmp eax, ebx */ /* 0x2B0208D2: cmp eax, ebx */ 18280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18282 _flag_k = FK_CMP; 18283 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B0208D4: mov byte ptr [ebp - 4], 2 */ 18284 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0208F0; /* 0x2B0208D8: je 0x2b0208f0 */ 18285 L_2B0208DA: 18286 edx = MEM32(esi + 0x38); /* 0x2B0208DA: mov edx, dword ptr [esi + 0x38] */ 18287 ecx = MEM32(esi + 0x48); /* 0x2B0208DD: mov ecx, dword ptr [esi + 0x48] */ 18288 PUSH32(esp, edx); /* 0x2B0208E0: push edx */ 18289 PUSH32(esp, ecx); /* 0x2B0208E1: push ecx */ 18290 edx = ebp + (-0x40); /* 0x2B0208E2: lea edx, [ebp - 0x40] */ 18291 PUSH32(esp, edx); /* 0x2B0208E5: push edx */ 18292 ecx = eax; /* 0x2B0208E6: mov ecx, eax */ 18293 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B0208E8: call dword ptr [0x2b0b5b20] */ 18294 RECOMP_FLAGS_IN(); 18295 goto L_2B0208F2; /* 0x2B0208EE: jmp 0x2b0208f2 */ 18296 L_2B0208F0: 18297 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18298 eax = 0; /* 0x2B0208F0: xor eax, eax */ 18299 _cf = 0; 18300 _flag_k = FK_TEST; 18301 L_2B0208F2: 18302 MEM32(esi + 0xA0) = eax; /* 0x2B0208F2: mov dword ptr [esi + 0xa0], eax */ 18303 eax = MEM32(eax + 0x4); /* 0x2B0208F8: mov eax, dword ptr [eax + 4] */ 18304 PUSH32(esp, 1); /* 0x2B0208FB: push 1 */ 18305 ecx = eax; /* 0x2B0208FD: mov ecx, eax */ 18306 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B0208FF: mov byte ptr [ebp - 4], 0 */ 18307 RECOMP_ICALL(MEM32(0x2B0B5B1C)); /* 0x2B020903: call dword ptr [0x2b0b5b1c] */ 18308 RECOMP_FLAGS_IN(); 18309 eax = MEM32(esi + 0xA0); /* 0x2B020909: mov eax, dword ptr [esi + 0xa0] */ 18310 ecx = MEM32(eax + 0x4); /* 0x2B02090F: mov ecx, dword ptr [eax + 4] */ 18311 PUSH32(esp, 0x44400000u); /* 0x2B020912: push 0x44400000 */ 18312 PUSH32(esp, 0x44800000u); /* 0x2B020917: push 0x44800000 */ 18313 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B02091C: call dword ptr [0x2b0b5b18] */ 18314 RECOMP_FLAGS_IN(); 18315 ecx = MEM32(esi + 0xA0); /* 0x2B020922: mov ecx, dword ptr [esi + 0xa0] */ 18316 ecx = MEM32(ecx + 0x4); /* 0x2B020928: mov ecx, dword ptr [ecx + 4] */ 18317 PUSH32(esp, 0x3F51EB85u); /* 0x2B02092B: push 0x3f51eb85 */ 18318 PUSH32(esp, 0x3E2E147Bu); /* 0x2B020930: push 0x3e2e147b */ 18319 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B020935: call dword ptr [0x2b0b5b14] */ 18320 RECOMP_FLAGS_IN(); 18321 edx = MEM32(esi + 0xA0); /* 0x2B02093B: mov edx, dword ptr [esi + 0xa0] */ 18322 ecx = MEM32(edx + 0x4); /* 0x2B020941: mov ecx, dword ptr [edx + 4] */ 18323 PUSH32(esp, 0x00FFFFFFu); /* 0x2B020944: push 0xffffff */ 18324 RECOMP_ICALL(MEM32(0x2B0B5B48)); /* 0x2B020949: call dword ptr [0x2b0b5b48] */ 18325 RECOMP_FLAGS_IN(); 18326 PUSH32(esp, 0x14u); /* 0x2B02094F: push 0x14 */ 18327 RECOMP_ICALL(0x2B0AB212u); /* 0x2B020951: call 0x2b0ab212 */ /* not lifted */ 18328 RECOMP_FLAGS_IN(); 18329 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18331 esp = esp + 4; /* 0x2B020956: add esp, 4 */ 18332 _flag_k = FK_ADD; 18333 MEM32(ebp + (-0x18)) = eax; /* 0x2B020959: mov dword ptr [ebp - 0x18], eax */ 18334 /* cmp eax, ebx */ /* 0x2B02095C: cmp eax, ebx */ 18335 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18337 _flag_k = FK_CMP; 18338 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B02095E: mov byte ptr [ebp - 4], 3 */ 18339 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020972; /* 0x2B020962: je 0x2b020972 */ 18340 L_2B020964: 18341 ecx = MEM32(esi + 0x38); /* 0x2B020964: mov ecx, dword ptr [esi + 0x38] */ 18342 PUSH32(esp, ecx); /* 0x2B020967: push ecx */ 18343 ecx = eax; /* 0x2B020968: mov ecx, eax */ 18344 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B02096A: call dword ptr [0x2b0b5b10] */ 18345 RECOMP_FLAGS_IN(); 18346 goto L_2B020974; /* 0x2B020970: jmp 0x2b020974 */ 18347 L_2B020972: 18348 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18349 eax = 0; /* 0x2B020972: xor eax, eax */ 18350 _cf = 0; 18351 _flag_k = FK_TEST; 18352 L_2B020974: 18353 PUSH32(esp, 0x006666AAu); /* 0x2B020974: push 0x6666aa */ 18354 ecx = eax; /* 0x2B020979: mov ecx, eax */ 18355 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B02097B: mov byte ptr [ebp - 4], 0 */ 18356 MEM32(esi + 0xA4) = eax; /* 0x2B02097F: mov dword ptr [esi + 0xa4], eax */ 18357 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B020985: call dword ptr [0x2b0b5b0c] */ 18358 RECOMP_FLAGS_IN(); 18359 ecx = MEM32(esi + 0xA4); /* 0x2B02098B: mov ecx, dword ptr [esi + 0xa4] */ 18360 PUSH32(esp, 0xB4u); /* 0x2B020991: push 0xb4 */ 18361 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B020996: call dword ptr [0x2b0b5b08] */ 18362 RECOMP_FLAGS_IN(); 18363 edi = MEM32(esi + 0x20); /* 0x2B02099C: mov edi, dword ptr [esi + 0x20] */ 18364 MEM32(ebp + (-0x24)) = ebx; /* 0x2B02099F: mov dword ptr [ebp - 0x24], ebx */ 18365 MEM32(ebp + (-0x20)) = ebx; /* 0x2B0209A2: mov dword ptr [ebp - 0x20], ebx */ 18366 eax = MEM32(edi + 0x4); /* 0x2B0209A5: mov eax, dword ptr [edi + 4] */ 18367 edx = MEM32(eax + 0x34); /* 0x2B0209A8: mov edx, dword ptr [eax + 0x34] */ 18368 MEM32(ebp + (-0x18)) = edx; /* 0x2B0209AB: mov dword ptr [ebp - 0x18], edx */ 18369 fp_push((double)(int32_t)MEM32(ebp + (-0x18))); /* 0x2B0209AE: fild dword ptr [ebp - 0x18] */ 18370 _st[0] *= (double)*(float*)ADDR(esi + 0x4C); /* 0x2B0209B1: fmul dword ptr [esi + 0x4c] */ 18371 _st[0] *= (double)*(float*)ADDR(0x2B0B64B4); /* 0x2B0209B4: fmul dword ptr [0x2b0b64b4] */ 18372 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0209BA: call 0x2b0ab220 */ /* not lifted */ 18373 RECOMP_FLAGS_IN(); 18374 MEM32(ebp + (-0x24)) = eax; /* 0x2B0209BF: mov dword ptr [ebp - 0x24], eax */ 18375 edi = MEM32(edi + 0x4); /* 0x2B0209C2: mov edi, dword ptr [edi + 4] */ 18376 eax = MEM32(edi + 0x38); /* 0x2B0209C5: mov eax, dword ptr [edi + 0x38] */ 18377 MEM32(ebp + (-0x18)) = eax; /* 0x2B0209C8: mov dword ptr [ebp - 0x18], eax */ 18378 fp_push((double)(int32_t)MEM32(ebp + (-0x18))); /* 0x2B0209CB: fild dword ptr [ebp - 0x18] */ 18379 _st[0] *= (double)*(float*)ADDR(esi + 0x50); /* 0x2B0209CE: fmul dword ptr [esi + 0x50] */ 18380 _st[0] *= (double)*(float*)ADDR(0x2B0B64B0); /* 0x2B0209D1: fmul dword ptr [0x2b0b64b0] */ 18381 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0209D7: call 0x2b0ab220 */ /* not lifted */ 18382 RECOMP_FLAGS_IN(); 18383 ecx = ebp + (-0x24); /* 0x2B0209DC: lea ecx, [ebp - 0x24] */ 18384 PUSH32(esp, ecx); /* 0x2B0209DF: push ecx */ 18385 ecx = MEM32(esi + 0xA4); /* 0x2B0209E0: mov ecx, dword ptr [esi + 0xa4] */ 18386 MEM32(ebp + (-0x20)) = eax; /* 0x2B0209E6: mov dword ptr [ebp - 0x20], eax */ 18387 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B0209E9: call dword ptr [0x2b0b5b04] */ 18388 RECOMP_FLAGS_IN(); 18389 fp_push(*(float*)&MEM32(esi + 0x54)); /* 0x2B0209EF: fld dword ptr [esi + 0x54] */ 18390 _st[0] *= *(double*)ADDR(0x2B0B6480); /* 0x2B0209F2: fmul qword ptr [0x2b0b6480] */ 18391 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0209F8: call 0x2b0ab220 */ /* not lifted */ 18392 RECOMP_FLAGS_IN(); 18393 fp_push(*(float*)&MEM32(esi + 0x58)); /* 0x2B0209FD: fld dword ptr [esi + 0x58] */ 18394 _st[0] *= *(double*)ADDR(0x2B0B6538); /* 0x2B020A00: fmul qword ptr [0x2b0b6538] */ 18395 ecx = eax; /* 0x2B020A06: mov ecx, eax */ 18396 eax = MEM32(ebp + (-0x24)); /* 0x2B020A08: mov eax, dword ptr [ebp - 0x24] */ 18397 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B020A0B: cdq */ 18398 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18400 eax = eax - edx; /* 0x2B020A0C: sub eax, edx */ 18401 _flag_k = FK_CMP; 18402 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B020A0E: sar eax, 1 */ 18403 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18404 eax = (uint32_t)((int32_t)eax >> 1u); 18405 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 18406 _cf = (eax) != 0; 18407 eax = (uint32_t)(-(int32_t)eax); /* 0x2B020A10: neg eax */ 18408 _flag_k = FK_CMP; 18409 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18411 eax = eax - ecx; /* 0x2B020A12: sub eax, ecx */ 18412 _flag_k = FK_CMP; 18413 MEM32(ebp + (-0x2C)) = eax; /* 0x2B020A14: mov dword ptr [ebp - 0x2c], eax */ 18414 RECOMP_ICALL(0x2B0AB220u); /* 0x2B020A17: call 0x2b0ab220 */ /* not lifted */ 18415 RECOMP_FLAGS_IN(); 18416 ecx = eax; /* 0x2B020A1C: mov ecx, eax */ 18417 eax = MEM32(ebp + (-0x20)); /* 0x2B020A1E: mov eax, dword ptr [ebp - 0x20] */ 18418 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B020A21: cdq */ 18419 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 18420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18421 eax = eax - edx; /* 0x2B020A22: sub eax, edx */ 18422 _flag_k = FK_CMP; 18423 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B020A24: sar eax, 1 */ 18424 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18425 eax = (uint32_t)((int32_t)eax >> 1u); 18426 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 18427 _cf = (eax) != 0; 18428 eax = (uint32_t)(-(int32_t)eax); /* 0x2B020A26: neg eax */ 18429 _flag_k = FK_CMP; 18430 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18432 eax = eax - ecx; /* 0x2B020A28: sub eax, ecx */ 18433 _flag_k = FK_CMP; 18434 ecx = MEM32(esi + 0xA4); /* 0x2B020A2A: mov ecx, dword ptr [esi + 0xa4] */ 18435 edx = ebp + (-0x2C); /* 0x2B020A30: lea edx, [ebp - 0x2c] */ 18436 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 18437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18438 eax = eax - 2; /* 0x2B020A33: sub eax, 2 */ 18439 _flag_k = FK_CMP; 18440 PUSH32(esp, edx); /* 0x2B020A36: push edx */ 18441 MEM32(ebp + (-0x28)) = eax; /* 0x2B020A37: mov dword ptr [ebp - 0x28], eax */ 18442 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B020A3A: call dword ptr [0x2b0b5b00] */ 18443 RECOMP_FLAGS_IN(); 18444 esi = MEM32(ebp + (-0x30)); /* 0x2B020A40: mov esi, dword ptr [ebp - 0x30] */ 18445 /* cmp esi, ebx */ /* 0x2B020A43: cmp esi, ebx */ 18446 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 18447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18448 _flag_k = FK_CMP; 18449 MEM32(ebp + (-0x4)) = 4; /* 0x2B020A45: mov dword ptr [ebp - 4], 4 */ 18450 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020AA8; /* 0x2B020A4C: je 0x2b020aa8 */ 18451 L_2B020A4E: 18452 edx = MEM32(esi + 0x2C); /* 0x2B020A4E: mov edx, dword ptr [esi + 0x2c] */ 18453 eax = esi + 0x2C; /* 0x2B020A51: lea eax, [esi + 0x2c] */ 18454 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 18455 edx = edx - 1; /* 0x2B020A54: dec edx */ 18456 _flag_k = FK_DEC; 18457 ecx = edx; /* 0x2B020A55: mov ecx, edx */ 18458 /* cmp ecx, ebx */ /* 0x2B020A57: cmp ecx, ebx */ 18459 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 18460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18461 _flag_k = FK_CMP; 18462 MEM32(eax) = edx; /* 0x2B020A59: mov dword ptr [eax], edx */ 18463 if (CMP_NE(_flag_a, _flag_b)) goto L_2B020AA8; /* 0x2B020A5B: jne 0x2b020aa8 */ 18464 L_2B020A5D: 18465 /* cmp esi, ebx */ /* 0x2B020A5D: cmp esi, ebx */ 18466 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 18467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18468 _flag_k = FK_CMP; 18469 MEM32(ebp + (-0x18)) = esi; /* 0x2B020A5F: mov dword ptr [ebp - 0x18], esi */ 18470 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020AA8; /* 0x2B020A62: je 0x2b020aa8 */ 18471 L_2B020A64: 18472 PUSH32(esp, 1); /* 0x2B020A64: push 1 */ 18473 ecx = esi + 0x1C; /* 0x2B020A66: lea ecx, [esi + 0x1c] */ 18474 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B020A69: mov byte ptr [ebp - 4], 5 */ 18475 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020A6D: call dword ptr [0x2b0b514c] */ 18476 RECOMP_FLAGS_IN(); 18477 eax = MEM32(esi + 0x10); /* 0x2B020A73: mov eax, dword ptr [esi + 0x10] */ 18478 /* cmp eax, ebx */ /* 0x2B020A76: cmp eax, ebx */ 18479 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18481 _flag_k = FK_CMP; 18482 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020A96; /* 0x2B020A78: je 0x2b020a96 */ 18483 L_2B020A7A: 18484 ecx = eax + (-0x1); /* 0x2B020A7A: lea ecx, [eax - 1] */ 18485 SET_LO8(eax, MEM8(ecx)); /* 0x2B020A7D: mov al, byte ptr [ecx] */ 18486 /* test LO8(eax), LO8(eax) */ /* 0x2B020A7F: test al, al */ 18487 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18488 _cf = 0; 18489 _flag_k = FK_NARROW(FK_TEST, 24); 18490 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020A8D; /* 0x2B020A81: je 0x2b020a8d */ 18491 L_2B020A83: 18492 /* cmp LO8(eax), 0xFFu */ /* 0x2B020A83: cmp al, 0xff */ 18493 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18495 _flag_k = FK_NARROW(FK_CMP, 24); 18496 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020A8D; /* 0x2B020A85: je 0x2b020a8d */ 18497 L_2B020A87: 18498 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18499 SET_LO8(eax, LO8(eax) - 1); /* 0x2B020A87: dec al */ 18500 _flag_k = FK_NARROW(FK_DEC, 24); 18501 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020A89: mov byte ptr [ecx], al */ 18502 goto L_2B020A96; /* 0x2B020A8B: jmp 0x2b020a96 */ 18503 L_2B020A8D: 18504 PUSH32(esp, ecx); /* 0x2B020A8D: push ecx */ 18505 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020A8E: call 0x2b0ab1ba */ /* not lifted */ 18506 RECOMP_FLAGS_IN(); 18507 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18508 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18509 esp = esp + 4; /* 0x2B020A93: add esp, 4 */ 18510 _flag_k = FK_ADD; 18511 L_2B020A96: 18512 PUSH32(esp, esi); /* 0x2B020A96: push esi */ 18513 MEM32(esi + 0x10) = ebx; /* 0x2B020A97: mov dword ptr [esi + 0x10], ebx */ 18514 MEM32(esi + 0x14) = ebx; /* 0x2B020A9A: mov dword ptr [esi + 0x14], ebx */ 18515 MEM32(esi + 0x18) = ebx; /* 0x2B020A9D: mov dword ptr [esi + 0x18], ebx */ 18516 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020AA0: call 0x2b0ab1ba */ /* not lifted */ 18517 RECOMP_FLAGS_IN(); 18518 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18519 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18520 esp = esp + 4; /* 0x2B020AA5: add esp, 4 */ 18521 _flag_k = FK_ADD; 18522 L_2B020AA8: 18523 ecx = MEM32(ebp + (-0x3C)); /* 0x2B020AA8: mov ecx, dword ptr [ebp - 0x3c] */ 18524 /* cmp ecx, ebx */ /* 0x2B020AAB: cmp ecx, ebx */ 18525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 18526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18527 _flag_k = FK_CMP; 18528 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020ADA; /* 0x2B020AAD: je 0x2b020ada */ 18529 L_2B020AAF: 18530 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B020AAF: mov al, byte ptr [ecx - 1] */ 18531 /* test LO8(eax), LO8(eax) */ /* 0x2B020AB2: test al, al */ 18532 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18533 _cf = 0; 18534 _flag_k = FK_NARROW(FK_TEST, 24); 18535 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020AD0; /* 0x2B020AB4: je 0x2b020ad0 */ 18536 L_2B020AB6: 18537 /* cmp LO8(eax), 0xFFu */ /* 0x2B020AB6: cmp al, 0xff */ 18538 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18540 _flag_k = FK_NARROW(FK_CMP, 24); 18541 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020AD0; /* 0x2B020AB8: je 0x2b020ad0 */ 18542 L_2B020ABA: 18543 edi = POP32_VAL(esp); /* 0x2B020ABA: pop edi */ 18544 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18545 SET_LO8(eax, LO8(eax) - 1); /* 0x2B020ABB: dec al */ 18546 _flag_k = FK_NARROW(FK_DEC, 24); 18547 esi = POP32_VAL(esp); /* 0x2B020ABD: pop esi */ 18548 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B020ABE: mov byte ptr [ecx - 1], al */ 18549 ebx = POP32_VAL(esp); /* 0x2B020AC1: pop ebx */ 18550 ecx = MEM32(ebp + (-0xC)); /* 0x2B020AC2: mov ecx, dword ptr [ebp - 0xc] */ 18551 MEM32(FS_BASE + (0)) = ecx; /* 0x2B020AC5: mov dword ptr fs:[0], ecx */ 18552 esp = ebp; /* 0x2B020ACC: mov esp, ebp */ 18553 ebp = POP32_VAL(esp); /* 0x2B020ACE: pop ebp */ 18554 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020ACF: ret */ 18555 L_2B020AD0: 18556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18557 ecx = ecx - 1; /* 0x2B020AD0: dec ecx */ 18558 _flag_k = FK_DEC; 18559 PUSH32(esp, ecx); /* 0x2B020AD1: push ecx */ 18560 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020AD2: call 0x2b0ab1ba */ /* not lifted */ 18561 RECOMP_FLAGS_IN(); 18562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18563 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18564 esp = esp + 4; /* 0x2B020AD7: add esp, 4 */ 18565 _flag_k = FK_ADD; 18566 L_2B020ADA: 18567 ecx = MEM32(ebp + (-0xC)); /* 0x2B020ADA: mov ecx, dword ptr [ebp - 0xc] */ 18568 edi = POP32_VAL(esp); /* 0x2B020ADD: pop edi */ 18569 esi = POP32_VAL(esp); /* 0x2B020ADE: pop esi */ 18570 ebx = POP32_VAL(esp); /* 0x2B020ADF: pop ebx */ 18571 MEM32(FS_BASE + (0)) = ecx; /* 0x2B020AE0: mov dword ptr fs:[0], ecx */ 18572 esp = ebp; /* 0x2B020AE7: mov esp, ebp */ 18573 ebp = POP32_VAL(esp); /* 0x2B020AE9: pop ebp */ 18574 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020AEA: ret */ 18575 RECOMP_REGS_OUT(); 18576 } 18577 18578 void sub_2B020AF0(void) { 18579 int _fpu_cmp = 0; 18580 uint32_t _cf = 0; 18581 int _df = 1; 18582 uint32_t _flag_k = FK_NONE; 18583 uint32_t _flag_a = 0, _flag_b = 0; 18584 uint32_t _itail_tgt = 0; 18585 RECOMP_REGS_LOCALS 18586 RECOMP_ENTER(0x2B020AF0u); 18587 18588 L_2B020AF0: 18589 PUSH32(esp, ebp); /* 0x2B020AF0: push ebp */ 18590 ebp = esp; /* 0x2B020AF1: mov ebp, esp */ 18591 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3ECu); 18592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18593 esp = esp - 0x3ECu; /* 0x2B020AF3: sub esp, 0x3ec */ 18594 _flag_k = FK_CMP; 18595 ecx = MEM32(ebp + 0xC); /* 0x2B020AF9: mov ecx, dword ptr [ebp + 0xc] */ 18596 PUSH32(esp, ebx); /* 0x2B020AFC: push ebx */ 18597 PUSH32(esp, esi); /* 0x2B020AFD: push esi */ 18598 PUSH32(esp, edi); /* 0x2B020AFE: push edi */ 18599 eax = ebp + 0x10; /* 0x2B020AFF: lea eax, [ebp + 0x10] */ 18600 PUSH32(esp, eax); /* 0x2B020B02: push eax */ 18601 PUSH32(esp, ecx); /* 0x2B020B03: push ecx */ 18602 edx = ebp + (-0x3EC); /* 0x2B020B04: lea edx, [ebp - 0x3ec] */ 18603 PUSH32(esp, 0x3E8u); /* 0x2B020B0A: push 0x3e8 */ 18604 PUSH32(esp, edx); /* 0x2B020B0F: push edx */ 18605 RECOMP_ICALL(MEM32(0x2B0B5214)); /* 0x2B020B10: call dword ptr [0x2b0b5214] */ 18606 RECOMP_FLAGS_IN(); 18607 ebx = MEM32(ebp + 0x8); /* 0x2B020B16: mov ebx, dword ptr [ebp + 8] */ 18608 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18609 ecx = ecx | 0xFFFFFFFFu; /* 0x2B020B19: or ecx, 0xffffffff */ 18610 _cf = 0; 18611 _flag_k = FK_TEST; 18612 edx = eax; /* 0x2B020B1C: mov edx, eax */ 18613 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18614 eax = 0; /* 0x2B020B1E: xor eax, eax */ 18615 _cf = 0; 18616 _flag_k = FK_TEST; 18617 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 18618 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18619 esp = esp + 0x10u; /* 0x2B020B20: add esp, 0x10 */ 18620 _flag_k = FK_ADD; 18621 MEM8(ebp + (-0x5)) = (uint8_t)(0); /* 0x2B020B23: mov byte ptr [ebp - 5], 0 */ 18622 edi = ebp + (-0x3EC); /* 0x2B020B27: lea edi, [ebp - 0x3ec] */ 18623 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; } /* 0x2B020B2D: repne scasb al, byte ptr es:[edi] */ 18624 eax = MEM32(0x2B0B515C); /* 0x2B020B2F: mov eax, dword ptr [0x2b0b515c] */ 18625 edi = MEM32(ebx + 0x8); /* 0x2B020B34: mov edi, dword ptr [ebx + 8] */ 18626 ecx = ~ecx; /* 0x2B020B37: not ecx */ 18627 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18628 ecx = ecx - 1; /* 0x2B020B39: dec ecx */ 18629 _flag_k = FK_DEC; 18630 esi = ecx; /* 0x2B020B3A: mov esi, ecx */ 18631 ecx = MEM32(eax); /* 0x2B020B3C: mov ecx, dword ptr [eax] */ 18632 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18634 ecx = ecx - edi; /* 0x2B020B3E: sub ecx, edi */ 18635 _flag_k = FK_CMP; 18636 /* cmp ecx, esi */ /* 0x2B020B40: cmp ecx, esi */ 18637 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 18638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18639 _flag_k = FK_CMP; 18640 MEM32(ebp + (-0x4)) = edx; /* 0x2B020B42: mov dword ptr [ebp - 4], edx */ 18641 if (CMP_A(_flag_a, _flag_b)) goto L_2B020B50; /* 0x2B020B45: ja 0x2b020b50 */ 18642 L_2B020B47: 18643 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B020B47: call dword ptr [0x2b0b51a8] */ 18644 RECOMP_FLAGS_IN(); 18645 edx = MEM32(ebp + (-0x4)); /* 0x2B020B4D: mov edx, dword ptr [ebp - 4] */ 18646 L_2B020B50: 18647 /* test esi, esi */ /* 0x2B020B50: test esi, esi */ 18648 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 18649 _cf = 0; 18650 _flag_k = FK_TEST; 18651 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020BAD; /* 0x2B020B52: jbe 0x2b020bad */ 18652 L_2B020B54: 18653 ecx = MEM32(ebx + 0x8); /* 0x2B020B54: mov ecx, dword ptr [ebx + 8] */ 18654 edi = esi; /* 0x2B020B57: mov edi, esi */ 18655 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 18656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18657 edi = edi + ecx; /* 0x2B020B59: add edi, ecx */ 18658 _flag_k = FK_ADD; 18659 /* cmp edi, 0xFFFFFFFDu */ /* 0x2B020B5B: cmp edi, -3 */ 18660 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFDu); 18661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18662 _flag_k = FK_CMP; 18663 MEM32(ebp + 0x8) = edi; /* 0x2B020B5E: mov dword ptr [ebp + 8], edi */ 18664 if (CMP_BE(_flag_a, _flag_b)) goto L_2B020B6C; /* 0x2B020B61: jbe 0x2b020b6c */ 18665 L_2B020B63: 18666 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B020B63: call dword ptr [0x2b0b51a8] */ 18667 RECOMP_FLAGS_IN(); 18668 edx = MEM32(ebp + (-0x4)); /* 0x2B020B69: mov edx, dword ptr [ebp - 4] */ 18669 L_2B020B6C: 18670 /* cmp edi, MEM32(ebx + 0x8) */ /* 0x2B020B6C: cmp edi, dword ptr [ebx + 8] */ 18671 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 18672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18673 _flag_k = FK_CMP; 18674 if (CMP_AE(_flag_a, _flag_b)) goto L_2B020B74; /* 0x2B020B6F: jae 0x2b020b74 */ 18675 L_2B020B71: 18676 MEM32(ebx + 0x8) = edi; /* 0x2B020B71: mov dword ptr [ebx + 8], edi */ 18677 L_2B020B74: 18678 eax = MEM32(ebx + 0x4); /* 0x2B020B74: mov eax, dword ptr [ebx + 4] */ 18679 /* test eax, eax */ /* 0x2B020B77: test eax, eax */ 18680 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18681 _cf = 0; 18682 _flag_k = FK_TEST; 18683 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020B9F; /* 0x2B020B79: je 0x2b020b9f */ 18684 L_2B020B7B: 18685 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2B020B7B: mov cl, byte ptr [eax - 1] */ 18686 /* test LO8(ecx), LO8(ecx) */ /* 0x2B020B7E: test cl, cl */ 18687 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 18688 _cf = 0; 18689 _flag_k = FK_NARROW(FK_TEST, 24); 18690 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020B9F; /* 0x2B020B80: je 0x2b020b9f */ 18691 L_2B020B82: 18692 /* cmp LO8(ecx), 0xFFu */ /* 0x2B020B82: cmp cl, 0xff */ 18693 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18695 _flag_k = FK_NARROW(FK_CMP, 24); 18696 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020B9F; /* 0x2B020B85: je 0x2b020b9f */ 18697 L_2B020B87: 18698 /* test edi, edi */ /* 0x2B020B87: test edi, edi */ 18699 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18700 _cf = 0; 18701 _flag_k = FK_TEST; 18702 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020BBB; /* 0x2B020B89: jne 0x2b020bbb */ 18703 L_2B020B8B: 18704 PUSH32(esp, 1); /* 0x2B020B8B: push 1 */ 18705 ecx = ebx; /* 0x2B020B8D: mov ecx, ebx */ 18706 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020B8F: call dword ptr [0x2b0b514c] */ 18707 RECOMP_FLAGS_IN(); 18708 eax = MEM32(ebp + (-0x4)); /* 0x2B020B95: mov eax, dword ptr [ebp - 4] */ 18709 edi = POP32_VAL(esp); /* 0x2B020B98: pop edi */ 18710 esi = POP32_VAL(esp); /* 0x2B020B99: pop esi */ 18711 ebx = POP32_VAL(esp); /* 0x2B020B9A: pop ebx */ 18712 esp = ebp; /* 0x2B020B9B: mov esp, ebp */ 18713 ebp = POP32_VAL(esp); /* 0x2B020B9D: pop ebp */ 18714 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020B9E: ret */ 18715 L_2B020B9F: 18716 /* test edi, edi */ /* 0x2B020B9F: test edi, edi */ 18717 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 18718 _cf = 0; 18719 _flag_k = FK_TEST; 18720 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020BB6; /* 0x2B020BA1: jne 0x2b020bb6 */ 18721 L_2B020BA3: 18722 /* test eax, eax */ /* 0x2B020BA3: test eax, eax */ 18723 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18724 _cf = 0; 18725 _flag_k = FK_TEST; 18726 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020BAD; /* 0x2B020BA5: je 0x2b020bad */ 18727 L_2B020BA7: 18728 MEM32(ebx + 0x8) = edi; /* 0x2B020BA7: mov dword ptr [ebx + 8], edi */ 18729 MEM8(eax) = (uint8_t)(0); /* 0x2B020BAA: mov byte ptr [eax], 0 */ 18730 L_2B020BAD: 18731 edi = POP32_VAL(esp); /* 0x2B020BAD: pop edi */ 18732 esi = POP32_VAL(esp); /* 0x2B020BAE: pop esi */ 18733 eax = edx; /* 0x2B020BAF: mov eax, edx */ 18734 ebx = POP32_VAL(esp); /* 0x2B020BB1: pop ebx */ 18735 esp = ebp; /* 0x2B020BB2: mov esp, ebp */ 18736 ebp = POP32_VAL(esp); /* 0x2B020BB4: pop ebp */ 18737 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020BB5: ret */ 18738 L_2B020BB6: 18739 /* cmp MEM32(ebx + 0xC), edi */ /* 0x2B020BB6: cmp dword ptr [ebx + 0xc], edi */ 18740 _flag_a = (uint32_t)(MEM32(ebx + 0xC)); _flag_b = (uint32_t)(edi); 18741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18742 _flag_k = FK_CMP; 18743 if (CMP_AE(_flag_a, _flag_b)) goto L_2B020BC4; /* 0x2B020BB9: jae 0x2b020bc4 */ 18744 L_2B020BBB: 18745 PUSH32(esp, edi); /* 0x2B020BBB: push edi */ 18746 ecx = ebx; /* 0x2B020BBC: mov ecx, ebx */ 18747 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B020BBE: call dword ptr [0x2b0b5110] */ 18748 RECOMP_FLAGS_IN(); 18749 L_2B020BC4: 18750 edx = MEM32(ebx + 0x8); /* 0x2B020BC4: mov edx, dword ptr [ebx + 8] */ 18751 edi = MEM32(ebx + 0x4); /* 0x2B020BC7: mov edi, dword ptr [ebx + 4] */ 18752 eax = MEM32(ebp + 0x8); /* 0x2B020BCA: mov eax, dword ptr [ebp + 8] */ 18753 ecx = esi; /* 0x2B020BCD: mov ecx, esi */ 18754 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 18755 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18756 edi = edi + edx; /* 0x2B020BCF: add edi, edx */ 18757 _flag_k = FK_ADD; 18758 edx = ecx; /* 0x2B020BD1: mov edx, ecx */ 18759 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B020BD3: shr ecx, 2 */ 18760 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18761 ecx = ecx >> 2u; /* 0x2B020BD3: shr ecx, 2 */ 18762 esi = ebp + (-0x3EC); /* 0x2B020BD6: lea esi, [ebp - 0x3ec] */ 18763 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B020BDC: 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; } 18764 ecx = edx; /* 0x2B020BDE: mov ecx, edx */ 18765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18766 ecx = ecx & 3; /* 0x2B020BE0: and ecx, 3 */ 18767 _cf = 0; 18768 _flag_k = FK_TEST; 18769 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B020BE3: 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; } 18770 ecx = MEM32(ebx + 0x4); /* 0x2B020BE5: mov ecx, dword ptr [ebx + 4] */ 18771 edi = POP32_VAL(esp); /* 0x2B020BE8: pop edi */ 18772 MEM32(ebx + 0x8) = eax; /* 0x2B020BE9: mov dword ptr [ebx + 8], eax */ 18773 esi = POP32_VAL(esp); /* 0x2B020BEC: pop esi */ 18774 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B020BED: mov byte ptr [ecx + eax], 0 */ 18775 eax = MEM32(ebp + (-0x4)); /* 0x2B020BF1: mov eax, dword ptr [ebp - 4] */ 18776 ebx = POP32_VAL(esp); /* 0x2B020BF4: pop ebx */ 18777 esp = ebp; /* 0x2B020BF5: mov esp, ebp */ 18778 ebp = POP32_VAL(esp); /* 0x2B020BF7: pop ebp */ 18779 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020BF8: ret */ 18780 RECOMP_REGS_OUT(); 18781 } 18782 18783 void sub_2B020C00(void) { 18784 int _fpu_cmp = 0; 18785 uint32_t _cf = 0; 18786 int _df = 1; 18787 uint32_t _flag_k = FK_NONE; 18788 uint32_t _flag_a = 0, _flag_b = 0; 18789 uint32_t _itail_tgt = 0; 18790 RECOMP_REGS_LOCALS 18791 RECOMP_ENTER(0x2B020C00u); 18792 18793 L_2B020C00: 18794 PUSH32(esp, esi); /* 0x2B020C00: push esi */ 18795 esi = ecx; /* 0x2B020C01: mov esi, ecx */ 18796 eax = MEM32(esi + 0x9C); /* 0x2B020C03: mov eax, dword ptr [esi + 0x9c] */ 18797 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B020C09: mov byte ptr [eax + 8], 0 */ 18798 eax = MEM32(esi + 0xA0); /* 0x2B020C0D: mov eax, dword ptr [esi + 0xa0] */ 18799 /* test eax, eax */ /* 0x2B020C13: test eax, eax */ 18800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18801 _cf = 0; 18802 _flag_k = FK_TEST; 18803 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020C2C; /* 0x2B020C15: je 0x2b020c2c */ 18804 L_2B020C17: 18805 ecx = MEM32(eax + 0x4); /* 0x2B020C17: mov ecx, dword ptr [eax + 4] */ 18806 RECOMP_ICALL(MEM32(0x2B0B5BAC)); /* 0x2B020C1A: call dword ptr [0x2b0b5bac] */ 18807 RECOMP_FLAGS_IN(); 18808 ecx = MEM32(esi + 0xA4); /* 0x2B020C20: mov ecx, dword ptr [esi + 0xa4] */ 18809 RECOMP_ICALL(MEM32(0x2B0B5B38)); /* 0x2B020C26: call dword ptr [0x2b0b5b38] */ 18810 RECOMP_FLAGS_IN(); 18811 L_2B020C2C: 18812 ecx = esi; /* 0x2B020C2C: mov ecx, esi */ 18813 RECOMP_ICALL(0x2B0380A0u); /* 0x2B020C2E: call 0x2b0380a0 */ /* not lifted */ 18814 RECOMP_FLAGS_IN(); 18815 esi = POP32_VAL(esp); /* 0x2B020C33: pop esi */ 18816 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020C34: ret */ 18817 RECOMP_REGS_OUT(); 18818 } 18819 18820 void sub_2B020C40(void) { 18821 int _fpu_cmp = 0; 18822 uint32_t _cf = 0; 18823 int _df = 1; 18824 uint32_t _flag_k = FK_NONE; 18825 uint32_t _flag_a = 0, _flag_b = 0; 18826 uint32_t _itail_tgt = 0; 18827 RECOMP_REGS_LOCALS 18828 RECOMP_ENTER(0x2B020C40u); 18829 18830 L_2B020C40: 18831 PUSH32(esp, esi); /* 0x2B020C40: push esi */ 18832 esi = ecx; /* 0x2B020C41: mov esi, ecx */ 18833 eax = MEM32(esi + 0x9C); /* 0x2B020C43: mov eax, dword ptr [esi + 0x9c] */ 18834 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B020C49: mov byte ptr [eax + 8], 1 */ 18835 eax = MEM32(esi + 0xA0); /* 0x2B020C4D: mov eax, dword ptr [esi + 0xa0] */ 18836 /* test eax, eax */ /* 0x2B020C53: test eax, eax */ 18837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18838 _cf = 0; 18839 _flag_k = FK_TEST; 18840 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020C6C; /* 0x2B020C55: je 0x2b020c6c */ 18841 L_2B020C57: 18842 ecx = MEM32(eax + 0x4); /* 0x2B020C57: mov ecx, dword ptr [eax + 4] */ 18843 RECOMP_ICALL(MEM32(0x2B0B5BB4)); /* 0x2B020C5A: call dword ptr [0x2b0b5bb4] */ 18844 RECOMP_FLAGS_IN(); 18845 ecx = MEM32(esi + 0xA4); /* 0x2B020C60: mov ecx, dword ptr [esi + 0xa4] */ 18846 RECOMP_ICALL(MEM32(0x2B0B5B40)); /* 0x2B020C66: call dword ptr [0x2b0b5b40] */ 18847 RECOMP_FLAGS_IN(); 18848 L_2B020C6C: 18849 ecx = esi; /* 0x2B020C6C: mov ecx, esi */ 18850 RECOMP_ICALL(0x2B038120u); /* 0x2B020C6E: call 0x2b038120 */ /* not lifted */ 18851 RECOMP_FLAGS_IN(); 18852 esi = POP32_VAL(esp); /* 0x2B020C73: pop esi */ 18853 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020C74: ret */ 18854 RECOMP_REGS_OUT(); 18855 } 18856 18857 void sub_2B020C80(void) { 18858 int _fpu_cmp = 0; 18859 uint32_t _cf = 0; 18860 int _df = 1; 18861 uint32_t _flag_k = FK_NONE; 18862 uint32_t _flag_a = 0, _flag_b = 0; 18863 uint32_t _itail_tgt = 0; 18864 RECOMP_REGS_LOCALS 18865 RECOMP_ENTER(0x2B020C80u); 18866 18867 L_2B020C80: 18868 eax = MEM32(ecx + 0x9C); /* 0x2B020C80: mov eax, dword ptr [ecx + 0x9c] */ 18869 MEM8(eax + 0x8) = (uint8_t)(0); /* 0x2B020C86: mov byte ptr [eax + 8], 0 */ 18870 goto L_2B0381A0; /* 0x2B020C8A: jmp 0x2b0381a0 */ 18871 L_2B0381A0: 18872 PUSH32(esp, esi); /* 0x2B0381A0: push esi */ 18873 esi = ecx; /* 0x2B0381A1: mov esi, ecx */ 18874 ecx = MEM32(esi + 0xC); /* 0x2B0381A3: mov ecx, dword ptr [esi + 0xc] */ 18875 PUSH32(esp, edi); /* 0x2B0381A6: push edi */ 18876 edi = MEM32(0x2B0B5B34); /* 0x2B0381A7: mov edi, dword ptr [0x2b0b5b34] */ 18877 RECOMP_ICALL(edi); /* 0x2B0381AD: call edi */ 18878 RECOMP_FLAGS_IN(); 18879 ecx = MEM32(esi + 0x14); /* 0x2B0381AF: mov ecx, dword ptr [esi + 0x14] */ 18880 RECOMP_ICALL(edi); /* 0x2B0381B2: call edi */ 18881 RECOMP_FLAGS_IN(); 18882 ecx = MEM32(esi + 0x1C); /* 0x2B0381B4: mov ecx, dword ptr [esi + 0x1c] */ 18883 RECOMP_ICALL(edi); /* 0x2B0381B7: call edi */ 18884 RECOMP_FLAGS_IN(); 18885 edi = POP32_VAL(esp); /* 0x2B0381B9: pop edi */ 18886 esi = POP32_VAL(esp); /* 0x2B0381BA: pop esi */ 18887 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0381BB: ret */ 18888 RECOMP_REGS_OUT(); 18889 } 18890 18891 void sub_2B020C90(void) { 18892 int _fpu_cmp = 0; 18893 uint32_t _cf = 0; 18894 int _df = 1; 18895 uint32_t _flag_k = FK_NONE; 18896 uint32_t _flag_a = 0, _flag_b = 0; 18897 uint32_t _itail_tgt = 0; 18898 RECOMP_REGS_LOCALS 18899 RECOMP_ENTER(0x2B020C90u); 18900 18901 L_2B020C90: 18902 eax = MEM32(ecx + 0x9C); /* 0x2B020C90: mov eax, dword ptr [ecx + 0x9c] */ 18903 MEM8(eax + 0x8) = (uint8_t)(1); /* 0x2B020C96: mov byte ptr [eax + 8], 1 */ 18904 goto L_2B0381C0; /* 0x2B020C9A: jmp 0x2b0381c0 */ 18905 L_2B0381C0: 18906 PUSH32(esp, esi); /* 0x2B0381C0: push esi */ 18907 esi = ecx; /* 0x2B0381C1: mov esi, ecx */ 18908 ecx = MEM32(esi + 0xC); /* 0x2B0381C3: mov ecx, dword ptr [esi + 0xc] */ 18909 PUSH32(esp, edi); /* 0x2B0381C6: push edi */ 18910 edi = MEM32(0x2B0B5B3C); /* 0x2B0381C7: mov edi, dword ptr [0x2b0b5b3c] */ 18911 RECOMP_ICALL(edi); /* 0x2B0381CD: call edi */ 18912 RECOMP_FLAGS_IN(); 18913 ecx = MEM32(esi + 0x14); /* 0x2B0381CF: mov ecx, dword ptr [esi + 0x14] */ 18914 RECOMP_ICALL(edi); /* 0x2B0381D2: call edi */ 18915 RECOMP_FLAGS_IN(); 18916 ecx = MEM32(esi + 0x1C); /* 0x2B0381D4: mov ecx, dword ptr [esi + 0x1c] */ 18917 RECOMP_ICALL(edi); /* 0x2B0381D7: call edi */ 18918 RECOMP_FLAGS_IN(); 18919 edi = POP32_VAL(esp); /* 0x2B0381D9: pop edi */ 18920 esi = POP32_VAL(esp); /* 0x2B0381DA: pop esi */ 18921 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0381DB: ret */ 18922 RECOMP_REGS_OUT(); 18923 } 18924 18925 void sub_2B020CA0(void) { 18926 int _fpu_cmp = 0; 18927 uint32_t _cf = 0; 18928 int _df = 1; 18929 uint32_t _flag_k = FK_NONE; 18930 uint32_t _flag_a = 0, _flag_b = 0; 18931 uint32_t _itail_tgt = 0; 18932 RECOMP_REGS_LOCALS 18933 RECOMP_ENTER(0x2B020CA0u); 18934 18935 L_2B020CA0: 18936 PUSH32(esp, ebp); /* 0x2B020CA0: push ebp */ 18937 ebp = esp; /* 0x2B020CA1: mov ebp, esp */ 18938 PUSH32(esp, ecx); /* 0x2B020CA3: push ecx */ 18939 SET_LO8(edx, MEM8(ebp + (-0x1))); /* 0x2B020CA4: mov dl, byte ptr [ebp - 1] */ 18940 eax = ecx; /* 0x2B020CA7: mov eax, ecx */ 18941 SET_LO8(ecx, MEM8(ebp + (-0x1))); /* 0x2B020CA9: mov cl, byte ptr [ebp - 1] */ 18942 MEM8(eax) = (uint8_t)(LO8(ecx)); /* 0x2B020CAC: mov byte ptr [eax], cl */ 18943 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18944 ecx = 0; /* 0x2B020CAE: xor ecx, ecx */ 18945 _cf = 0; 18946 _flag_k = FK_TEST; 18947 MEM32(eax + 0x4) = ecx; /* 0x2B020CB0: mov dword ptr [eax + 4], ecx */ 18948 MEM32(eax + 0x8) = ecx; /* 0x2B020CB3: mov dword ptr [eax + 8], ecx */ 18949 MEM32(eax + 0xC) = ecx; /* 0x2B020CB6: mov dword ptr [eax + 0xc], ecx */ 18950 MEM32(eax + 0x10) = ecx; /* 0x2B020CB9: mov dword ptr [eax + 0x10], ecx */ 18951 MEM8(eax + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B020CBC: mov byte ptr [eax + 0x14], dl */ 18952 MEM32(eax + 0x18) = ecx; /* 0x2B020CBF: mov dword ptr [eax + 0x18], ecx */ 18953 MEM32(eax + 0x1C) = ecx; /* 0x2B020CC2: mov dword ptr [eax + 0x1c], ecx */ 18954 MEM32(eax + 0x20) = ecx; /* 0x2B020CC5: mov dword ptr [eax + 0x20], ecx */ 18955 MEM32(eax + 0x24) = ecx; /* 0x2B020CC8: mov dword ptr [eax + 0x24], ecx */ 18956 esp = ebp; /* 0x2B020CCB: mov esp, ebp */ 18957 ebp = POP32_VAL(esp); /* 0x2B020CCD: pop ebp */ 18958 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020CCE: ret */ 18959 RECOMP_REGS_OUT(); 18960 } 18961 18962 void sub_2B020CD0(void) { 18963 int _fpu_cmp = 0; 18964 uint32_t _cf = 0; 18965 int _df = 1; 18966 uint32_t _flag_k = FK_NONE; 18967 uint32_t _flag_a = 0, _flag_b = 0; 18968 uint32_t _itail_tgt = 0; 18969 RECOMP_REGS_LOCALS 18970 RECOMP_ENTER(0x2B020CD0u); 18971 18972 L_2B020CD0: 18973 PUSH32(esp, ebp); /* 0x2B020CD0: push ebp */ 18974 ebp = esp; /* 0x2B020CD1: mov ebp, esp */ 18975 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B020CD3: push -1 */ 18976 PUSH32(esp, 0x2B0AD613u); /* 0x2B020CD5: push 0x2b0ad613 */ 18977 eax = MEM32(FS_BASE + (0)); /* 0x2B020CDA: mov eax, dword ptr fs:[0] */ 18978 PUSH32(esp, eax); /* 0x2B020CE0: push eax */ 18979 MEM32(FS_BASE + (0)) = esp; /* 0x2B020CE1: mov dword ptr fs:[0], esp */ 18980 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18982 esp = esp - 0xCu; /* 0x2B020CE8: sub esp, 0xc */ 18983 _flag_k = FK_CMP; 18984 PUSH32(esp, ebx); /* 0x2B020CEB: push ebx */ 18985 PUSH32(esp, esi); /* 0x2B020CEC: push esi */ 18986 ebx = ecx + 0x4; /* 0x2B020CED: lea ebx, [ecx + 4] */ 18987 PUSH32(esp, edi); /* 0x2B020CF0: push edi */ 18988 MEM32(ebp + (-0x10)) = ebx; /* 0x2B020CF1: mov dword ptr [ebp - 0x10], ebx */ 18989 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18990 edx = 0; /* 0x2B020CF4: xor edx, edx */ 18991 _cf = 0; 18992 _flag_k = FK_TEST; 18993 esi = ebx + 0x14; /* 0x2B020CF6: lea esi, [ebx + 0x14] */ 18994 MEM32(ebp + (-0x4)) = edx; /* 0x2B020CF9: mov dword ptr [ebp - 4], edx */ 18995 MEM32(ebp + (-0x14)) = esi; /* 0x2B020CFC: mov dword ptr [ebp - 0x14], esi */ 18996 edi = MEM32(esi + 0x10); /* 0x2B020CFF: mov edi, dword ptr [esi + 0x10] */ 18997 /* cmp edi, edx */ /* 0x2B020D02: cmp edi, edx */ 18998 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 18999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19000 _flag_k = FK_CMP; 19001 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D04: je 0x2b020d3b */ 19002 L_2B020D06: 19003 _flag_a = (uint32_t)(MEM32(edi + 0x2C)); _flag_b = (uint32_t)(1); 19004 MEM32(edi + 0x2C) = MEM32(edi + 0x2C) - 1; /* 0x2B020D06: dec dword ptr [edi + 0x2c] */ 19005 _flag_k = FK_DEC; 19006 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D09: jne 0x2b020d3b */ 19007 L_2B020D0B: 19008 /* cmp edi, edx */ /* 0x2B020D0B: cmp edi, edx */ 19009 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 19010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19011 _flag_k = FK_CMP; 19012 MEM32(ebp + (-0x18)) = edi; /* 0x2B020D0D: mov dword ptr [ebp - 0x18], edi */ 19013 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D3B; /* 0x2B020D10: je 0x2b020d3b */ 19014 L_2B020D12: 19015 PUSH32(esp, 1); /* 0x2B020D12: push 1 */ 19016 ecx = edi + 0x1C; /* 0x2B020D14: lea ecx, [edi + 0x1c] */ 19017 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B020D17: mov byte ptr [ebp - 4], 2 */ 19018 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D1B: call dword ptr [0x2b0b514c] */ 19019 RECOMP_FLAGS_IN(); 19020 PUSH32(esp, 1); /* 0x2B020D21: push 1 */ 19021 ecx = edi + 0xC; /* 0x2B020D23: lea ecx, [edi + 0xc] */ 19022 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B020D26: mov byte ptr [ebp - 4], 1 */ 19023 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D2A: call dword ptr [0x2b0b514c] */ 19024 RECOMP_FLAGS_IN(); 19025 PUSH32(esp, edi); /* 0x2B020D30: push edi */ 19026 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D31: call 0x2b0ab1ba */ /* not lifted */ 19027 RECOMP_FLAGS_IN(); 19028 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19030 esp = esp + 4; /* 0x2B020D36: add esp, 4 */ 19031 _flag_k = FK_ADD; 19032 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19033 edx = 0; /* 0x2B020D39: xor edx, edx */ 19034 _cf = 0; 19035 _flag_k = FK_TEST; 19036 L_2B020D3B: 19037 eax = MEM32(esi + 0x4); /* 0x2B020D3B: mov eax, dword ptr [esi + 4] */ 19038 /* cmp eax, edx */ /* 0x2B020D3E: cmp eax, edx */ 19039 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19041 _flag_k = FK_CMP; 19042 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D60; /* 0x2B020D40: je 0x2b020d60 */ 19043 L_2B020D42: 19044 ecx = eax + (-0x1); /* 0x2B020D42: lea ecx, [eax - 1] */ 19045 SET_LO8(eax, MEM8(ecx)); /* 0x2B020D45: mov al, byte ptr [ecx] */ 19046 /* test LO8(eax), LO8(eax) */ /* 0x2B020D47: test al, al */ 19047 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19048 _cf = 0; 19049 _flag_k = FK_NARROW(FK_TEST, 24); 19050 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D49: je 0x2b020d55 */ 19051 L_2B020D4B: 19052 /* cmp LO8(eax), 0xFFu */ /* 0x2B020D4B: cmp al, 0xff */ 19053 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 19054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19055 _flag_k = FK_NARROW(FK_CMP, 24); 19056 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020D55; /* 0x2B020D4D: je 0x2b020d55 */ 19057 L_2B020D4F: 19058 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 19059 SET_LO8(eax, LO8(eax) - 1); /* 0x2B020D4F: dec al */ 19060 _flag_k = FK_NARROW(FK_DEC, 24); 19061 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020D51: mov byte ptr [ecx], al */ 19062 goto L_2B020D60; /* 0x2B020D53: jmp 0x2b020d60 */ 19063 L_2B020D55: 19064 PUSH32(esp, ecx); /* 0x2B020D55: push ecx */ 19065 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020D56: call 0x2b0ab1ba */ /* not lifted */ 19066 RECOMP_FLAGS_IN(); 19067 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19068 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19069 esp = esp + 4; /* 0x2B020D5B: add esp, 4 */ 19070 _flag_k = FK_ADD; 19071 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19072 edx = 0; /* 0x2B020D5E: xor edx, edx */ 19073 _cf = 0; 19074 _flag_k = FK_TEST; 19075 L_2B020D60: 19076 MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */ 19077 MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */ 19078 MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */ 19079 esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */ 19080 /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */ 19081 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 19082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19083 _flag_k = FK_CMP; 19084 MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */ 19085 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */ 19086 L_2B020D77: 19087 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 19088 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */ 19089 _flag_k = FK_DEC; 19090 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */ 19091 L_2B020D7C: 19092 /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */ 19093 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 19094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19095 _flag_k = FK_CMP; 19096 MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */ 19097 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */ 19098 L_2B020D83: 19099 PUSH32(esp, 1); /* 0x2B020D83: push 1 */ 19100 ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */ 19101 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */ 19102 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */ 19103 RECOMP_FLAGS_IN(); 19104 PUSH32(esp, 1); /* 0x2B020D92: push 1 */ 19105 ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */ 19106 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */ 19107 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */ 19108 RECOMP_FLAGS_IN(); 19109 PUSH32(esp, esi); /* 0x2B020DA1: push esi */ 19110 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */ 19111 RECOMP_FLAGS_IN(); 19112 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19113 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19114 esp = esp + 4; /* 0x2B020DA7: add esp, 4 */ 19115 _flag_k = FK_ADD; 19116 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19117 edx = 0; /* 0x2B020DAA: xor edx, edx */ 19118 _cf = 0; 19119 _flag_k = FK_TEST; 19120 L_2B020DAC: 19121 eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */ 19122 /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */ 19123 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19125 _flag_k = FK_CMP; 19126 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */ 19127 L_2B020DB3: 19128 ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */ 19129 SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */ 19130 /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */ 19131 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19132 _cf = 0; 19133 _flag_k = FK_NARROW(FK_TEST, 24); 19134 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */ 19135 L_2B020DBC: 19136 /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */ 19137 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 19138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19139 _flag_k = FK_NARROW(FK_CMP, 24); 19140 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */ 19141 L_2B020DC0: 19142 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 19143 SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */ 19144 _flag_k = FK_NARROW(FK_DEC, 24); 19145 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */ 19146 goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */ 19147 L_2B020DC6: 19148 PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */ 19149 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */ 19150 RECOMP_FLAGS_IN(); 19151 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19152 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19153 esp = esp + 4; /* 0x2B020DCC: add esp, 4 */ 19154 _flag_k = FK_ADD; 19155 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19156 edx = 0; /* 0x2B020DCF: xor edx, edx */ 19157 _cf = 0; 19158 _flag_k = FK_TEST; 19159 L_2B020DD1: 19160 ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */ 19161 edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */ 19162 MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */ 19163 MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */ 19164 MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */ 19165 esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */ 19166 ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */ 19167 MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */ 19168 esp = ebp; /* 0x2B020DE7: mov esp, ebp */ 19169 ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */ 19170 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret */ 19171 RECOMP_REGS_OUT(); 19172 } 19173 19174 void sub_2B020D60(void) { 19175 int _fpu_cmp = 0; 19176 uint32_t _cf = 0; 19177 int _df = 1; 19178 uint32_t _flag_k = FK_NONE; 19179 uint32_t _flag_a = 0, _flag_b = 0; 19180 uint32_t _itail_tgt = 0; 19181 RECOMP_REGS_LOCALS 19182 RECOMP_ENTER(0x2B020D60u); 19183 19184 L_2B020D60: 19185 MEM32(esi + 0x4) = edx; /* 0x2B020D60: mov dword ptr [esi + 4], edx */ 19186 MEM32(esi + 0x8) = edx; /* 0x2B020D63: mov dword ptr [esi + 8], edx */ 19187 MEM32(esi + 0xC) = edx; /* 0x2B020D66: mov dword ptr [esi + 0xc], edx */ 19188 esi = MEM32(ebx + 0x10); /* 0x2B020D69: mov esi, dword ptr [ebx + 0x10] */ 19189 /* cmp esi, edx */ /* 0x2B020D6C: cmp esi, edx */ 19190 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 19191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19192 _flag_k = FK_CMP; 19193 MEM32(ebp + (-0x4)) = 3; /* 0x2B020D6E: mov dword ptr [ebp - 4], 3 */ 19194 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D75: je 0x2b020dac */ 19195 L_2B020D77: 19196 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 19197 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B020D77: dec dword ptr [esi + 0x2c] */ 19198 _flag_k = FK_DEC; 19199 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D7A: jne 0x2b020dac */ 19200 L_2B020D7C: 19201 /* cmp esi, edx */ /* 0x2B020D7C: cmp esi, edx */ 19202 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 19203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19204 _flag_k = FK_CMP; 19205 MEM32(ebp + (-0x18)) = esi; /* 0x2B020D7E: mov dword ptr [ebp - 0x18], esi */ 19206 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DAC; /* 0x2B020D81: je 0x2b020dac */ 19207 L_2B020D83: 19208 PUSH32(esp, 1); /* 0x2B020D83: push 1 */ 19209 ecx = esi + 0x1C; /* 0x2B020D85: lea ecx, [esi + 0x1c] */ 19210 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B020D88: mov byte ptr [ebp - 4], 4 */ 19211 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D8C: call dword ptr [0x2b0b514c] */ 19212 RECOMP_FLAGS_IN(); 19213 PUSH32(esp, 1); /* 0x2B020D92: push 1 */ 19214 ecx = esi + 0xC; /* 0x2B020D94: lea ecx, [esi + 0xc] */ 19215 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B020D97: mov byte ptr [ebp - 4], 3 */ 19216 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B020D9B: call dword ptr [0x2b0b514c] */ 19217 RECOMP_FLAGS_IN(); 19218 PUSH32(esp, esi); /* 0x2B020DA1: push esi */ 19219 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DA2: call 0x2b0ab1ba */ /* not lifted */ 19220 RECOMP_FLAGS_IN(); 19221 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19222 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19223 esp = esp + 4; /* 0x2B020DA7: add esp, 4 */ 19224 _flag_k = FK_ADD; 19225 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19226 edx = 0; /* 0x2B020DAA: xor edx, edx */ 19227 _cf = 0; 19228 _flag_k = FK_TEST; 19229 L_2B020DAC: 19230 eax = MEM32(ebx + 0x4); /* 0x2B020DAC: mov eax, dword ptr [ebx + 4] */ 19231 /* cmp eax, edx */ /* 0x2B020DAF: cmp eax, edx */ 19232 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 19233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19234 _flag_k = FK_CMP; 19235 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DD1; /* 0x2B020DB1: je 0x2b020dd1 */ 19236 L_2B020DB3: 19237 ecx = eax + (-0x1); /* 0x2B020DB3: lea ecx, [eax - 1] */ 19238 SET_LO8(eax, MEM8(ecx)); /* 0x2B020DB6: mov al, byte ptr [ecx] */ 19239 /* test LO8(eax), LO8(eax) */ /* 0x2B020DB8: test al, al */ 19240 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19241 _cf = 0; 19242 _flag_k = FK_NARROW(FK_TEST, 24); 19243 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBA: je 0x2b020dc6 */ 19244 L_2B020DBC: 19245 /* cmp LO8(eax), 0xFFu */ /* 0x2B020DBC: cmp al, 0xff */ 19246 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 19247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19248 _flag_k = FK_NARROW(FK_CMP, 24); 19249 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020DC6; /* 0x2B020DBE: je 0x2b020dc6 */ 19250 L_2B020DC0: 19251 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 19252 SET_LO8(eax, LO8(eax) - 1); /* 0x2B020DC0: dec al */ 19253 _flag_k = FK_NARROW(FK_DEC, 24); 19254 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B020DC2: mov byte ptr [ecx], al */ 19255 goto L_2B020DD1; /* 0x2B020DC4: jmp 0x2b020dd1 */ 19256 L_2B020DC6: 19257 PUSH32(esp, ecx); /* 0x2B020DC6: push ecx */ 19258 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B020DC7: call 0x2b0ab1ba */ /* not lifted */ 19259 RECOMP_FLAGS_IN(); 19260 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19261 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19262 esp = esp + 4; /* 0x2B020DCC: add esp, 4 */ 19263 _flag_k = FK_ADD; 19264 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19265 edx = 0; /* 0x2B020DCF: xor edx, edx */ 19266 _cf = 0; 19267 _flag_k = FK_TEST; 19268 L_2B020DD1: 19269 ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */ 19270 edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */ 19271 MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */ 19272 MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */ 19273 MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */ 19274 esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */ 19275 ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */ 19276 MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */ 19277 esp = ebp; /* 0x2B020DE7: mov esp, ebp */ 19278 ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */ 19279 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret */ 19280 RECOMP_REGS_OUT(); 19281 } 19282 19283 void sub_2B020DD1(void) { 19284 int _fpu_cmp = 0; 19285 uint32_t _cf = 0; 19286 int _df = 1; 19287 uint32_t _flag_k = FK_NONE; 19288 uint32_t _flag_a = 0, _flag_b = 0; 19289 uint32_t _itail_tgt = 0; 19290 RECOMP_REGS_LOCALS 19291 RECOMP_ENTER(0x2B020DD1u); 19292 19293 L_2B020DD1: 19294 ecx = MEM32(ebp + (-0xC)); /* 0x2B020DD1: mov ecx, dword ptr [ebp - 0xc] */ 19295 edi = POP32_VAL(esp); /* 0x2B020DD4: pop edi */ 19296 MEM32(ebx + 0x4) = edx; /* 0x2B020DD5: mov dword ptr [ebx + 4], edx */ 19297 MEM32(ebx + 0x8) = edx; /* 0x2B020DD8: mov dword ptr [ebx + 8], edx */ 19298 MEM32(ebx + 0xC) = edx; /* 0x2B020DDB: mov dword ptr [ebx + 0xc], edx */ 19299 esi = POP32_VAL(esp); /* 0x2B020DDE: pop esi */ 19300 ebx = POP32_VAL(esp); /* 0x2B020DDF: pop ebx */ 19301 MEM32(FS_BASE + (0)) = ecx; /* 0x2B020DE0: mov dword ptr fs:[0], ecx */ 19302 esp = ebp; /* 0x2B020DE7: mov esp, ebp */ 19303 ebp = POP32_VAL(esp); /* 0x2B020DE9: pop ebp */ 19304 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B020DEA: ret */ 19305 RECOMP_REGS_OUT(); 19306 } 19307 19308 void sub_2B020DF0(void) { 19309 int _fpu_cmp = 0; 19310 uint32_t _cf = 0; 19311 int _df = 1; 19312 uint32_t _flag_k = FK_NONE; 19313 uint32_t _flag_a = 0, _flag_b = 0; 19314 uint32_t _itail_tgt = 0; 19315 RECOMP_REGS_LOCALS 19316 RECOMP_ENTER(0x2B020DF0u); 19317 19318 L_2B020DF0: 19319 PUSH32(esp, ebp); /* 0x2B020DF0: push ebp */ 19320 ebp = esp; /* 0x2B020DF1: mov ebp, esp */ 19321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 19322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19323 esp = esp - 0x10u; /* 0x2B020DF3: sub esp, 0x10 */ 19324 _flag_k = FK_CMP; 19325 PUSH32(esp, ebx); /* 0x2B020DF6: push ebx */ 19326 ebx = ecx; /* 0x2B020DF7: mov ebx, ecx */ 19327 edx = MEM32(ebx + 0x4); /* 0x2B020DF9: mov edx, dword ptr [ebx + 4] */ 19328 ecx = MEM32(ebx + 0x8); /* 0x2B020DFC: mov ecx, dword ptr [ebx + 8] */ 19329 PUSH32(esp, esi); /* 0x2B020DFF: push esi */ 19330 esi = MEM32(edx + 0x4); /* 0x2B020E00: mov esi, dword ptr [edx + 4] */ 19331 /* cmp esi, ecx */ /* 0x2B020E03: cmp esi, ecx */ 19332 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 19333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19334 _flag_k = FK_CMP; 19335 PUSH32(esp, edi); /* 0x2B020E05: push edi */ 19336 edi = edx; /* 0x2B020E06: mov edi, edx */ 19337 SET_LO8(eax, 1); /* 0x2B020E08: mov al, 1 */ 19338 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B020E2E; /* 0x2B020E0A: je 0x2b020e2e */ 19339 L_2B020E0C: 19340 eax = MEM32(ebp + 0xC); /* 0x2B020E0C: mov eax, dword ptr [ebp + 0xc] */ 19341 eax = MEM32(eax); /* 0x2B020E0F: mov eax, dword ptr [eax] */ 19342 MEM32(ebp + (-0x4)) = eax; /* 0x2B020E11: mov dword ptr [ebp - 4], eax */ 19343 L_2B020E14: 19344 eax = MEM32(ebp + (-0x4)); /* 0x2B020E14: mov eax, dword ptr [ebp - 4] */ 19345 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B020E17: cmp eax, dword ptr [esi + 0xc] */ 19346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 19347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19348 _flag_k = FK_CMP; 19349 edi = esi; /* 0x2B020E1A: mov edi, esi */ 19350 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B020E1C: setl al */ 19351 /* test LO8(eax), LO8(eax) */ /* 0x2B020E1F: test al, al */ 19352 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19353 _cf = 0; 19354 _flag_k = FK_NARROW(FK_TEST, 24); 19355 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020E27; /* 0x2B020E21: je 0x2b020e27 */ 19356 L_2B020E23: 19357 esi = MEM32(esi); /* 0x2B020E23: mov esi, dword ptr [esi] */ 19358 goto L_2B020E2A; /* 0x2B020E25: jmp 0x2b020e2a */ 19359 L_2B020E27: 19360 esi = MEM32(esi + 0x8); /* 0x2B020E27: mov esi, dword ptr [esi + 8] */ 19361 L_2B020E2A: 19362 /* cmp esi, ecx */ /* 0x2B020E2A: cmp esi, ecx */ 19363 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 19364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19365 _flag_k = FK_CMP; 19366 RECOMP_BACKEDGE(); 19367 if (CMP_NE(_flag_a, _flag_b)) goto L_2B020E14; /* 0x2B020E2C: jne 0x2b020e14 */ 19368 L_2B020E2E: 19369 SET_LO8(ecx, MEM8(ebx + 0xC)); /* 0x2B020E2E: mov cl, byte ptr [ebx + 0xc] */ 19370 /* test LO8(ecx), LO8(ecx) */ /* 0x2B020E31: test cl, cl */ 19371 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 19372 _cf = 0; 19373 _flag_k = FK_NARROW(FK_TEST, 24); 19374 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020E53; /* 0x2B020E33: je 0x2b020e53 */ 19375 L_2B020E35: 19376 ecx = MEM32(ebp + 0xC); /* 0x2B020E35: mov ecx, dword ptr [ebp + 0xc] */ 19377 PUSH32(esp, ecx); /* 0x2B020E38: push ecx */ 19378 PUSH32(esp, edi); /* 0x2B020E39: push edi */ 19379 PUSH32(esp, esi); /* 0x2B020E3A: push esi */ 19380 edx = ebp + (-0x8); /* 0x2B020E3B: lea edx, [ebp - 8] */ 19381 PUSH32(esp, edx); /* 0x2B020E3E: push edx */ 19382 ecx = ebx; /* 0x2B020E3F: mov ecx, ebx */ 19383 RECOMP_ICALL(0x2B0215D0u); /* 0x2B020E41: call 0x2b0215d0 */ /* not lifted */ 19384 RECOMP_FLAGS_IN(); 19385 eax = MEM32(eax); /* 0x2B020E46: mov eax, dword ptr [eax] */ 19386 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B020E48: mov byte ptr [ebp - 0xc], 1 */ 19387 ecx = eax; /* 0x2B020E4C: mov ecx, eax */ 19388 eax = MEM32(ebp + (-0xC)); /* 0x2B020E4E: mov eax, dword ptr [ebp - 0xc] */ 19389 goto L_2B020EB5; /* 0x2B020E51: jmp 0x2b020eb5 */ 19390 L_2B020E53: 19391 /* test LO8(eax), LO8(eax) */ /* 0x2B020E53: test al, al */ 19392 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19393 _cf = 0; 19394 _flag_k = FK_NARROW(FK_TEST, 24); 19395 ecx = edi; /* 0x2B020E55: mov ecx, edi */ 19396 MEM32(ebp + (-0x4)) = ecx; /* 0x2B020E57: mov dword ptr [ebp - 4], ecx */ 19397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020E89; /* 0x2B020E5A: je 0x2b020e89 */ 19398 L_2B020E5C: 19399 /* cmp edi, MEM32(edx) */ /* 0x2B020E5C: cmp edi, dword ptr [edx] */ 19400 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx)); 19401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19402 _flag_k = FK_CMP; 19403 if (CMP_NE(_flag_a, _flag_b)) goto L_2B020E7E; /* 0x2B020E5E: jne 0x2b020e7e */ 19404 L_2B020E60: 19405 eax = MEM32(ebp + 0xC); /* 0x2B020E60: mov eax, dword ptr [ebp + 0xc] */ 19406 PUSH32(esp, eax); /* 0x2B020E63: push eax */ 19407 PUSH32(esp, edi); /* 0x2B020E64: push edi */ 19408 PUSH32(esp, esi); /* 0x2B020E65: push esi */ 19409 ecx = ebp + (-0xC); /* 0x2B020E66: lea ecx, [ebp - 0xc] */ 19410 PUSH32(esp, ecx); /* 0x2B020E69: push ecx */ 19411 ecx = ebx; /* 0x2B020E6A: mov ecx, ebx */ 19412 RECOMP_ICALL(0x2B0215D0u); /* 0x2B020E6C: call 0x2b0215d0 */ /* not lifted */ 19413 RECOMP_FLAGS_IN(); 19414 eax = MEM32(eax); /* 0x2B020E71: mov eax, dword ptr [eax] */ 19415 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B020E73: mov byte ptr [ebp - 0xc], 1 */ 19416 ecx = eax; /* 0x2B020E77: mov ecx, eax */ 19417 eax = MEM32(ebp + (-0xC)); /* 0x2B020E79: mov eax, dword ptr [ebp - 0xc] */ 19418 goto L_2B020EB5; /* 0x2B020E7C: jmp 0x2b020eb5 */ 19419 L_2B020E7E: 19420 ecx = ebp + (-0x4); /* 0x2B020E7E: lea ecx, [ebp - 4] */ 19421 RECOMP_ICALL(0x2B021810u); /* 0x2B020E81: call 0x2b021810 */ /* not lifted */ 19422 RECOMP_FLAGS_IN(); 19423 ecx = MEM32(ebp + (-0x4)); /* 0x2B020E86: mov ecx, dword ptr [ebp - 4] */ 19424 L_2B020E89: 19425 edx = MEM32(ecx + 0xC); /* 0x2B020E89: mov edx, dword ptr [ecx + 0xc] */ 19426 eax = MEM32(ebp + 0xC); /* 0x2B020E8C: mov eax, dword ptr [ebp + 0xc] */ 19427 /* cmp edx, MEM32(eax) */ /* 0x2B020E8F: cmp edx, dword ptr [eax] */ 19428 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 19429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19430 _flag_k = FK_CMP; 19431 if (CMP_GE(_flag_a, _flag_b)) goto L_2B020EAE; /* 0x2B020E91: jge 0x2b020eae */ 19432 L_2B020E93: 19433 PUSH32(esp, eax); /* 0x2B020E93: push eax */ 19434 PUSH32(esp, edi); /* 0x2B020E94: push edi */ 19435 PUSH32(esp, esi); /* 0x2B020E95: push esi */ 19436 eax = ebp + 0xC; /* 0x2B020E96: lea eax, [ebp + 0xc] */ 19437 PUSH32(esp, eax); /* 0x2B020E99: push eax */ 19438 ecx = ebx; /* 0x2B020E9A: mov ecx, ebx */ 19439 RECOMP_ICALL(0x2B0215D0u); /* 0x2B020E9C: call 0x2b0215d0 */ /* not lifted */ 19440 RECOMP_FLAGS_IN(); 19441 eax = MEM32(eax); /* 0x2B020EA1: mov eax, dword ptr [eax] */ 19442 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B020EA3: mov byte ptr [ebp - 0xc], 1 */ 19443 ecx = eax; /* 0x2B020EA7: mov ecx, eax */ 19444 eax = MEM32(ebp + (-0xC)); /* 0x2B020EA9: mov eax, dword ptr [ebp - 0xc] */ 19445 goto L_2B020EB5; /* 0x2B020EAC: jmp 0x2b020eb5 */ 19446 L_2B020EAE: 19447 MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x2B020EAE: mov byte ptr [ebp - 0xc], 0 */ 19448 eax = MEM32(ebp + (-0xC)); /* 0x2B020EB2: mov eax, dword ptr [ebp - 0xc] */ 19449 L_2B020EB5: 19450 MEM8(ebp + (-0xC)) = (uint8_t)(LO8(eax)); /* 0x2B020EB5: mov byte ptr [ebp - 0xc], al */ 19451 eax = MEM32(ebp + 0x8); /* 0x2B020EB8: mov eax, dword ptr [ebp + 8] */ 19452 edi = POP32_VAL(esp); /* 0x2B020EBB: pop edi */ 19453 MEM32(eax) = ecx; /* 0x2B020EBC: mov dword ptr [eax], ecx */ 19454 ecx = MEM32(ebp + (-0xC)); /* 0x2B020EBE: mov ecx, dword ptr [ebp - 0xc] */ 19455 esi = POP32_VAL(esp); /* 0x2B020EC1: pop esi */ 19456 MEM32(eax + 0x4) = ecx; /* 0x2B020EC2: mov dword ptr [eax + 4], ecx */ 19457 ebx = POP32_VAL(esp); /* 0x2B020EC5: pop ebx */ 19458 esp = ebp; /* 0x2B020EC6: mov esp, ebp */ 19459 ebp = POP32_VAL(esp); /* 0x2B020EC8: pop ebp */ 19460 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B020EC9: ret 8 */ 19461 RECOMP_REGS_OUT(); 19462 } 19463 19464 void sub_2B020ED0(void) { 19465 int _fpu_cmp = 0; 19466 uint32_t _cf = 0; 19467 int _df = 1; 19468 uint32_t _flag_k = FK_NONE; 19469 uint32_t _flag_a = 0, _flag_b = 0; 19470 uint32_t _itail_tgt = 0; 19471 RECOMP_REGS_LOCALS 19472 RECOMP_ENTER(0x2B020ED0u); 19473 19474 L_2B020ED0: 19475 PUSH32(esp, ebp); /* 0x2B020ED0: push ebp */ 19476 ebp = esp; /* 0x2B020ED1: mov ebp, esp */ 19477 eax = MEM32(ebp + 0x10); /* 0x2B020ED3: mov eax, dword ptr [ebp + 0x10] */ 19478 edx = MEM32(ebp + 0x8); /* 0x2B020ED6: mov edx, dword ptr [ebp + 8] */ 19479 PUSH32(esp, ebx); /* 0x2B020ED9: push ebx */ 19480 PUSH32(esp, esi); /* 0x2B020EDA: push esi */ 19481 esi = ecx; /* 0x2B020EDB: mov esi, ecx */ 19482 SET_LO8(ecx, MEM8(eax)); /* 0x2B020EDD: mov cl, byte ptr [eax] */ 19483 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2B020EDF: mov byte ptr [esi], cl */ 19484 SET_LO8(eax, MEM8(edx)); /* 0x2B020EE1: mov al, byte ptr [edx] */ 19485 SET_LO8(ecx, MEM8(ebp + 0xC)); /* 0x2B020EE3: mov cl, byte ptr [ebp + 0xc] */ 19486 PUSH32(esp, edi); /* 0x2B020EE6: push edi */ 19487 PUSH32(esp, 0x3Cu); /* 0x2B020EE7: push 0x3c */ 19488 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B020EE9: mov byte ptr [esi + 1], al */ 19489 MEM8(esi + 0xC) = (uint8_t)(LO8(ecx)); /* 0x2B020EEC: mov byte ptr [esi + 0xc], cl */ 19490 RECOMP_ICALL(0x2B0AB212u); /* 0x2B020EEF: call 0x2b0ab212 */ /* not lifted */ 19491 RECOMP_FLAGS_IN(); 19492 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19493 ebx = 0; /* 0x2B020EF4: xor ebx, ebx */ 19494 _cf = 0; 19495 _flag_k = FK_TEST; 19496 MEM32(eax + 0x4) = ebx; /* 0x2B020EF6: mov dword ptr [eax + 4], ebx */ 19497 MEM8(eax + 0x39) = (uint8_t)(LO8(ebx)); /* 0x2B020EF9: mov byte ptr [eax + 0x39], bl */ 19498 SET_LO8(ecx, 1); /* 0x2B020EFC: mov cl, 1 */ 19499 MEM8(eax + 0x38) = (uint8_t)(LO8(ecx)); /* 0x2B020EFE: mov byte ptr [eax + 0x38], cl */ 19500 MEM32(esi + 0x8) = eax; /* 0x2B020F01: mov dword ptr [esi + 8], eax */ 19501 MEM8(eax + 0x39) = (uint8_t)(LO8(ecx)); /* 0x2B020F04: mov byte ptr [eax + 0x39], cl */ 19502 edx = MEM32(esi + 0x8); /* 0x2B020F07: mov edx, dword ptr [esi + 8] */ 19503 MEM32(edx) = ebx; /* 0x2B020F0A: mov dword ptr [edx], ebx */ 19504 eax = MEM32(esi + 0x8); /* 0x2B020F0C: mov eax, dword ptr [esi + 8] */ 19505 MEM32(eax + 0x8) = ebx; /* 0x2B020F0F: mov dword ptr [eax + 8], ebx */ 19506 edi = MEM32(esi + 0x8); /* 0x2B020F12: mov edi, dword ptr [esi + 8] */ 19507 PUSH32(esp, 0x3Cu); /* 0x2B020F15: push 0x3c */ 19508 RECOMP_ICALL(0x2B0AB212u); /* 0x2B020F17: call 0x2b0ab212 */ /* not lifted */ 19509 RECOMP_FLAGS_IN(); 19510 MEM32(eax + 0x4) = edi; /* 0x2B020F1C: mov dword ptr [eax + 4], edi */ 19511 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B020F1F: mov byte ptr [eax + 0x38], bl */ 19512 MEM8(eax + 0x39) = (uint8_t)(LO8(ebx)); /* 0x2B020F22: mov byte ptr [eax + 0x39], bl */ 19513 MEM32(esi + 0x4) = eax; /* 0x2B020F25: mov dword ptr [esi + 4], eax */ 19514 MEM32(eax) = eax; /* 0x2B020F28: mov dword ptr [eax], eax */ 19515 eax = MEM32(esi + 0x4); /* 0x2B020F2A: mov eax, dword ptr [esi + 4] */ 19516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19518 esp = esp + 8; /* 0x2B020F2D: add esp, 8 */ 19519 _flag_k = FK_ADD; 19520 MEM32(eax + 0x8) = eax; /* 0x2B020F30: mov dword ptr [eax + 8], eax */ 19521 edi = POP32_VAL(esp); /* 0x2B020F33: pop edi */ 19522 MEM32(esi + 0x10) = ebx; /* 0x2B020F34: mov dword ptr [esi + 0x10], ebx */ 19523 eax = esi; /* 0x2B020F37: mov eax, esi */ 19524 esi = POP32_VAL(esp); /* 0x2B020F39: pop esi */ 19525 ebx = POP32_VAL(esp); /* 0x2B020F3A: pop ebx */ 19526 ebp = POP32_VAL(esp); /* 0x2B020F3B: pop ebp */ 19527 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B020F3C: ret 0xc */ 19528 RECOMP_REGS_OUT(); 19529 } 19530 19531 void sub_2B020F40(void) { 19532 int _fpu_cmp = 0; 19533 uint32_t _cf = 0; 19534 int _df = 1; 19535 uint32_t _flag_k = FK_NONE; 19536 uint32_t _flag_a = 0, _flag_b = 0; 19537 uint32_t _itail_tgt = 0; 19538 RECOMP_REGS_LOCALS 19539 RECOMP_ENTER(0x2B020F40u); 19540 19541 L_2B020F40: 19542 PUSH32(esp, ebp); /* 0x2B020F40: push ebp */ 19543 ebp = esp; /* 0x2B020F41: mov ebp, esp */ 19544 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19546 esp = esp - 0xCu; /* 0x2B020F43: sub esp, 0xc */ 19547 _flag_k = FK_CMP; 19548 PUSH32(esp, ebx); /* 0x2B020F46: push ebx */ 19549 PUSH32(esp, esi); /* 0x2B020F47: push esi */ 19550 esi = ecx; /* 0x2B020F48: mov esi, ecx */ 19551 eax = MEM32(esi + 0x4); /* 0x2B020F4A: mov eax, dword ptr [esi + 4] */ 19552 ecx = MEM32(ebp + 0x8); /* 0x2B020F4D: mov ecx, dword ptr [ebp + 8] */ 19553 edx = MEM32(ecx + 0x4); /* 0x2B020F50: mov edx, dword ptr [ecx + 4] */ 19554 ebx = MEM32(edx + 0x4); /* 0x2B020F53: mov ebx, dword ptr [edx + 4] */ 19555 MEM32(ebp + (-0xC)) = eax; /* 0x2B020F56: mov dword ptr [ebp - 0xc], eax */ 19556 eax = MEM32(esi + 0x8); /* 0x2B020F59: mov eax, dword ptr [esi + 8] */ 19557 MEM32(ebp + (-0x8)) = eax; /* 0x2B020F5C: mov dword ptr [ebp - 8], eax */ 19558 SET_LO8(eax, MEM8(ebx + 0x39)); /* 0x2B020F5F: mov al, byte ptr [ebx + 0x39] */ 19559 /* test LO8(eax), LO8(eax) */ /* 0x2B020F62: test al, al */ 19560 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19561 _cf = 0; 19562 _flag_k = FK_NARROW(FK_TEST, 24); 19563 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020FCB; /* 0x2B020F64: jne 0x2b020fcb */ 19564 L_2B020F66: 19565 SET_LO8(ecx, MEM8(ebx + 0x38)); /* 0x2B020F66: mov cl, byte ptr [ebx + 0x38] */ 19566 PUSH32(esp, edi); /* 0x2B020F69: push edi */ 19567 PUSH32(esp, 0x3Cu); /* 0x2B020F6A: push 0x3c */ 19568 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B020F6C: mov byte ptr [ebp - 1], cl */ 19569 RECOMP_ICALL(0x2B0AB212u); /* 0x2B020F6F: call 0x2b0ab212 */ /* not lifted */ 19570 RECOMP_FLAGS_IN(); 19571 edx = MEM32(ebp + (-0xC)); /* 0x2B020F74: mov edx, dword ptr [ebp - 0xc] */ 19572 edi = eax; /* 0x2B020F77: mov edi, eax */ 19573 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B020F79: mov al, byte ptr [ebp - 1] */ 19574 ecx = ebx + 0xC; /* 0x2B020F7C: lea ecx, [ebx + 0xc] */ 19575 MEM32(edi + 0x4) = edx; /* 0x2B020F7F: mov dword ptr [edi + 4], edx */ 19576 PUSH32(esp, ecx); /* 0x2B020F82: push ecx */ 19577 edx = edi + 0xC; /* 0x2B020F83: lea edx, [edi + 0xc] */ 19578 PUSH32(esp, edx); /* 0x2B020F86: push edx */ 19579 MEM8(edi + 0x38) = (uint8_t)(LO8(eax)); /* 0x2B020F87: mov byte ptr [edi + 0x38], al */ 19580 MEM8(edi + 0x39) = (uint8_t)(0); /* 0x2B020F8A: mov byte ptr [edi + 0x39], 0 */ 19581 RECOMP_ICALL(0x2B0218C0u); /* 0x2B020F8E: call 0x2b0218c0 */ /* not lifted */ 19582 RECOMP_FLAGS_IN(); 19583 eax = MEM32(esi + 0x8); /* 0x2B020F93: mov eax, dword ptr [esi + 8] */ 19584 edx = MEM32(ebp + (-0x8)); /* 0x2B020F96: mov edx, dword ptr [ebp - 8] */ 19585 MEM32(edi) = eax; /* 0x2B020F99: mov dword ptr [edi], eax */ 19586 ecx = MEM32(esi + 0x8); /* 0x2B020F9B: mov ecx, dword ptr [esi + 8] */ 19587 MEM32(edi + 0x8) = ecx; /* 0x2B020F9E: mov dword ptr [edi + 8], ecx */ 19588 eax = MEM32(esi + 0x8); /* 0x2B020FA1: mov eax, dword ptr [esi + 8] */ 19589 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 19590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19591 esp = esp + 0xCu; /* 0x2B020FA4: add esp, 0xc */ 19592 _flag_k = FK_ADD; 19593 /* cmp edx, eax */ /* 0x2B020FA7: cmp edx, eax */ 19594 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 19595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19596 _flag_k = FK_CMP; 19597 if (CMP_NE(_flag_a, _flag_b)) goto L_2B020FAE; /* 0x2B020FA9: jne 0x2b020fae */ 19598 L_2B020FAB: 19599 MEM32(ebp + (-0x8)) = edi; /* 0x2B020FAB: mov dword ptr [ebp - 8], edi */ 19600 L_2B020FAE: 19601 eax = MEM32(ebx); /* 0x2B020FAE: mov eax, dword ptr [ebx] */ 19602 PUSH32(esp, edi); /* 0x2B020FB0: push edi */ 19603 PUSH32(esp, eax); /* 0x2B020FB1: push eax */ 19604 ecx = esi; /* 0x2B020FB2: mov ecx, esi */ 19605 RECOMP_ICALL(0x2B0214D0u); /* 0x2B020FB4: call 0x2b0214d0 */ /* not lifted */ 19606 RECOMP_FLAGS_IN(); 19607 MEM32(edi) = eax; /* 0x2B020FB9: mov dword ptr [edi], eax */ 19608 ecx = MEM32(ebx + 0x8); /* 0x2B020FBB: mov ecx, dword ptr [ebx + 8] */ 19609 PUSH32(esp, edi); /* 0x2B020FBE: push edi */ 19610 PUSH32(esp, ecx); /* 0x2B020FBF: push ecx */ 19611 ecx = esi; /* 0x2B020FC0: mov ecx, esi */ 19612 RECOMP_ICALL(0x2B0214D0u); /* 0x2B020FC2: call 0x2b0214d0 */ /* not lifted */ 19613 RECOMP_FLAGS_IN(); 19614 MEM32(edi + 0x8) = eax; /* 0x2B020FC7: mov dword ptr [edi + 8], eax */ 19615 edi = POP32_VAL(esp); /* 0x2B020FCA: pop edi */ 19616 L_2B020FCB: 19617 edx = MEM32(esi + 0x4); /* 0x2B020FCB: mov edx, dword ptr [esi + 4] */ 19618 eax = MEM32(ebp + (-0x8)); /* 0x2B020FCE: mov eax, dword ptr [ebp - 8] */ 19619 ecx = MEM32(ebp + 0x8); /* 0x2B020FD1: mov ecx, dword ptr [ebp + 8] */ 19620 MEM32(edx + 0x4) = eax; /* 0x2B020FD4: mov dword ptr [edx + 4], eax */ 19621 edx = MEM32(ecx + 0x10); /* 0x2B020FD7: mov edx, dword ptr [ecx + 0x10] */ 19622 ecx = MEM32(esi + 0x8); /* 0x2B020FDA: mov ecx, dword ptr [esi + 8] */ 19623 MEM32(esi + 0x10) = edx; /* 0x2B020FDD: mov dword ptr [esi + 0x10], edx */ 19624 edx = MEM32(esi + 0x4); /* 0x2B020FE0: mov edx, dword ptr [esi + 4] */ 19625 eax = MEM32(edx + 0x4); /* 0x2B020FE3: mov eax, dword ptr [edx + 4] */ 19626 /* cmp eax, ecx */ /* 0x2B020FE6: cmp eax, ecx */ 19627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19629 _flag_k = FK_CMP; 19630 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021027; /* 0x2B020FE8: je 0x2b021027 */ 19631 L_2B020FEA: 19632 ecx = MEM32(eax); /* 0x2B020FEA: mov ecx, dword ptr [eax] */ 19633 SET_LO8(ebx, MEM8(ecx + 0x39)); /* 0x2B020FEC: mov bl, byte ptr [ecx + 0x39] */ 19634 /* test LO8(ebx), LO8(ebx) */ /* 0x2B020FEF: test bl, bl */ 19635 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19636 _cf = 0; 19637 _flag_k = FK_NARROW(FK_TEST, 24); 19638 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B020FFE; /* 0x2B020FF1: jne 0x2b020ffe */ 19639 L_2B020FF3: 19640 eax = ecx; /* 0x2B020FF3: mov eax, ecx */ 19641 ecx = MEM32(eax); /* 0x2B020FF5: mov ecx, dword ptr [eax] */ 19642 SET_LO8(ebx, MEM8(ecx + 0x39)); /* 0x2B020FF7: mov bl, byte ptr [ecx + 0x39] */ 19643 /* test LO8(ebx), LO8(ebx) */ /* 0x2B020FFA: test bl, bl */ 19644 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19645 _cf = 0; 19646 _flag_k = FK_NARROW(FK_TEST, 24); 19647 RECOMP_BACKEDGE(); 19648 if (TEST_Z(_flag_a, _flag_b)) goto L_2B020FF3; /* 0x2B020FFC: je 0x2b020ff3 */ 19649 L_2B020FFE: 19650 MEM32(edx) = eax; /* 0x2B020FFE: mov dword ptr [edx], eax */ 19651 esi = MEM32(esi + 0x4); /* 0x2B021000: mov esi, dword ptr [esi + 4] */ 19652 ecx = MEM32(esi + 0x4); /* 0x2B021003: mov ecx, dword ptr [esi + 4] */ 19653 eax = MEM32(ecx + 0x8); /* 0x2B021006: mov eax, dword ptr [ecx + 8] */ 19654 SET_LO8(edx, MEM8(eax + 0x39)); /* 0x2B021009: mov dl, byte ptr [eax + 0x39] */ 19655 /* test LO8(edx), LO8(edx) */ /* 0x2B02100C: test dl, dl */ 19656 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19657 _cf = 0; 19658 _flag_k = FK_NARROW(FK_TEST, 24); 19659 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02101C; /* 0x2B02100E: jne 0x2b02101c */ 19660 L_2B021010: 19661 ecx = eax; /* 0x2B021010: mov ecx, eax */ 19662 eax = MEM32(ecx + 0x8); /* 0x2B021012: mov eax, dword ptr [ecx + 8] */ 19663 SET_LO8(edx, MEM8(eax + 0x39)); /* 0x2B021015: mov dl, byte ptr [eax + 0x39] */ 19664 /* test LO8(edx), LO8(edx) */ /* 0x2B021018: test dl, dl */ 19665 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19666 _cf = 0; 19667 _flag_k = FK_NARROW(FK_TEST, 24); 19668 RECOMP_BACKEDGE(); 19669 if (TEST_Z(_flag_a, _flag_b)) goto L_2B021010; /* 0x2B02101A: je 0x2b021010 */ 19670 L_2B02101C: 19671 MEM32(esi + 0x8) = ecx; /* 0x2B02101C: mov dword ptr [esi + 8], ecx */ 19672 esi = POP32_VAL(esp); /* 0x2B02101F: pop esi */ 19673 ebx = POP32_VAL(esp); /* 0x2B021020: pop ebx */ 19674 esp = ebp; /* 0x2B021021: mov esp, ebp */ 19675 ebp = POP32_VAL(esp); /* 0x2B021023: pop ebp */ 19676 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B021024: ret 4 */ 19677 L_2B021027: 19678 MEM32(edx) = edx; /* 0x2B021027: mov dword ptr [edx], edx */ 19679 esi = MEM32(esi + 0x4); /* 0x2B021029: mov esi, dword ptr [esi + 4] */ 19680 MEM32(esi + 0x8) = esi; /* 0x2B02102C: mov dword ptr [esi + 8], esi */ 19681 esi = POP32_VAL(esp); /* 0x2B02102F: pop esi */ 19682 ebx = POP32_VAL(esp); /* 0x2B021030: pop ebx */ 19683 esp = ebp; /* 0x2B021031: mov esp, ebp */ 19684 ebp = POP32_VAL(esp); /* 0x2B021033: pop ebp */ 19685 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B021034: ret 4 */ 19686 RECOMP_REGS_OUT(); 19687 } 19688 19689 void sub_2B021040(void) { 19690 int _fpu_cmp = 0; 19691 uint32_t _cf = 0; 19692 int _df = 1; 19693 uint32_t _flag_k = FK_NONE; 19694 uint32_t _flag_a = 0, _flag_b = 0; 19695 uint32_t _itail_tgt = 0; 19696 RECOMP_REGS_LOCALS 19697 RECOMP_ENTER(0x2B021040u); 19698 19699 L_2B021040: 19700 PUSH32(esp, ebp); /* 0x2B021040: push ebp */ 19701 ebp = esp; /* 0x2B021041: mov ebp, esp */ 19702 eax = MEM32(FS_BASE + (0)); /* 0x2B021043: mov eax, dword ptr fs:[0] */ 19703 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B021049: push -1 */ 19704 PUSH32(esp, 0x2B0AD629u); /* 0x2B02104B: push 0x2b0ad629 */ 19705 PUSH32(esp, eax); /* 0x2B021050: push eax */ 19706 eax = MEM32(ebp + 0x8); /* 0x2B021051: mov eax, dword ptr [ebp + 8] */ 19707 MEM32(FS_BASE + (0)) = esp; /* 0x2B021054: mov dword ptr fs:[0], esp */ 19708 PUSH32(esp, ebx); /* 0x2B02105B: push ebx */ 19709 ebx = MEM32(ebp + 0xC); /* 0x2B02105C: mov ebx, dword ptr [ebp + 0xc] */ 19710 PUSH32(esp, esi); /* 0x2B02105F: push esi */ 19711 esi = ecx; /* 0x2B021060: mov esi, ecx */ 19712 ecx = MEM32(eax); /* 0x2B021062: mov ecx, dword ptr [eax] */ 19713 PUSH32(esp, edi); /* 0x2B021064: push edi */ 19714 edi = esi + 0x4; /* 0x2B021065: lea edi, [esi + 4] */ 19715 MEM32(esi) = ecx; /* 0x2B021068: mov dword ptr [esi], ecx */ 19716 PUSH32(esp, ebx); /* 0x2B02106A: push ebx */ 19717 ecx = edi; /* 0x2B02106B: mov ecx, edi */ 19718 MEM32(ebp + 0x8) = edi; /* 0x2B02106D: mov dword ptr [ebp + 8], edi */ 19719 RECOMP_ICALL(MEM32(0x2B0B5B6C)); /* 0x2B021070: call dword ptr [0x2b0b5b6c] */ 19720 RECOMP_FLAGS_IN(); 19721 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x14u); 19722 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19723 ebx = ebx + 0x14u; /* 0x2B021076: add ebx, 0x14 */ 19724 _flag_k = FK_ADD; 19725 PUSH32(esp, ebx); /* 0x2B021079: push ebx */ 19726 ecx = edi + 0x14; /* 0x2B02107A: lea ecx, [edi + 0x14] */ 19727 MEM32(ebp + (-0x4)) = 0; /* 0x2B02107D: mov dword ptr [ebp - 4], 0 */ 19728 RECOMP_ICALL(MEM32(0x2B0B5B6C)); /* 0x2B021084: call dword ptr [0x2b0b5b6c] */ 19729 RECOMP_FLAGS_IN(); 19730 ecx = MEM32(ebp + (-0xC)); /* 0x2B02108A: mov ecx, dword ptr [ebp - 0xc] */ 19731 edi = POP32_VAL(esp); /* 0x2B02108D: pop edi */ 19732 eax = esi; /* 0x2B02108E: mov eax, esi */ 19733 esi = POP32_VAL(esp); /* 0x2B021090: pop esi */ 19734 MEM32(FS_BASE + (0)) = ecx; /* 0x2B021091: mov dword ptr fs:[0], ecx */ 19735 ebx = POP32_VAL(esp); /* 0x2B021098: pop ebx */ 19736 esp = ebp; /* 0x2B021099: mov esp, ebp */ 19737 ebp = POP32_VAL(esp); /* 0x2B02109B: pop ebp */ 19738 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02109C: ret 8 */ 19739 RECOMP_REGS_OUT(); 19740 } 19741 19742 void sub_2B0210A0(void) { 19743 int _fpu_cmp = 0; 19744 uint32_t _cf = 0; 19745 int _df = 1; 19746 uint32_t _flag_k = FK_NONE; 19747 uint32_t _flag_a = 0, _flag_b = 0; 19748 uint32_t _itail_tgt = 0; 19749 RECOMP_REGS_LOCALS 19750 RECOMP_ENTER(0x2B0210A0u); 19751 19752 L_2B0210A0: 19753 PUSH32(esp, ebp); /* 0x2B0210A0: push ebp */ 19754 ebp = esp; /* 0x2B0210A1: mov ebp, esp */ 19755 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0210A3: push -1 */ 19756 PUSH32(esp, 0x2B0AD649u); /* 0x2B0210A5: push 0x2b0ad649 */ 19757 eax = MEM32(FS_BASE + (0)); /* 0x2B0210AA: mov eax, dword ptr fs:[0] */ 19758 PUSH32(esp, eax); /* 0x2B0210B0: push eax */ 19759 MEM32(FS_BASE + (0)) = esp; /* 0x2B0210B1: mov dword ptr fs:[0], esp */ 19760 PUSH32(esp, ecx); /* 0x2B0210B8: push ecx */ 19761 PUSH32(esp, ebx); /* 0x2B0210B9: push ebx */ 19762 ebx = MEM32(0x2B0B5B6C); /* 0x2B0210BA: mov ebx, dword ptr [0x2b0b5b6c] */ 19763 PUSH32(esp, esi); /* 0x2B0210C0: push esi */ 19764 PUSH32(esp, edi); /* 0x2B0210C1: push edi */ 19765 edi = MEM32(ebp + 0x8); /* 0x2B0210C2: mov edi, dword ptr [ebp + 8] */ 19766 esi = ecx; /* 0x2B0210C5: mov esi, ecx */ 19767 PUSH32(esp, edi); /* 0x2B0210C7: push edi */ 19768 MEM32(ebp + (-0x10)) = esi; /* 0x2B0210C8: mov dword ptr [ebp - 0x10], esi */ 19769 RECOMP_ICALL(ebx); /* 0x2B0210CB: call ebx */ 19770 RECOMP_FLAGS_IN(); 19771 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x14u); 19772 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19773 edi = edi + 0x14u; /* 0x2B0210CD: add edi, 0x14 */ 19774 _flag_k = FK_ADD; 19775 PUSH32(esp, edi); /* 0x2B0210D0: push edi */ 19776 ecx = esi + 0x14; /* 0x2B0210D1: lea ecx, [esi + 0x14] */ 19777 MEM32(ebp + (-0x4)) = 0; /* 0x2B0210D4: mov dword ptr [ebp - 4], 0 */ 19778 RECOMP_ICALL(ebx); /* 0x2B0210DB: call ebx */ 19779 RECOMP_FLAGS_IN(); 19780 ecx = MEM32(ebp + (-0xC)); /* 0x2B0210DD: mov ecx, dword ptr [ebp - 0xc] */ 19781 edi = POP32_VAL(esp); /* 0x2B0210E0: pop edi */ 19782 eax = esi; /* 0x2B0210E1: mov eax, esi */ 19783 esi = POP32_VAL(esp); /* 0x2B0210E3: pop esi */ 19784 ebx = POP32_VAL(esp); /* 0x2B0210E4: pop ebx */ 19785 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0210E5: mov dword ptr fs:[0], ecx */ 19786 esp = ebp; /* 0x2B0210EC: mov esp, ebp */ 19787 ebp = POP32_VAL(esp); /* 0x2B0210EE: pop ebp */ 19788 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0210EF: ret 4 */ 19789 RECOMP_REGS_OUT(); 19790 } 19791 19792 void sub_2B021100(void) { 19793 int _fpu_cmp = 0; 19794 uint32_t _cf = 0; 19795 int _df = 1; 19796 uint32_t _flag_k = FK_NONE; 19797 uint32_t _flag_a = 0, _flag_b = 0; 19798 uint32_t _itail_tgt = 0; 19799 RECOMP_REGS_LOCALS 19800 RECOMP_ENTER(0x2B021100u); 19801 19802 L_2B021100: 19803 PUSH32(esp, ebp); /* 0x2B021100: push ebp */ 19804 ebp = esp; /* 0x2B021101: mov ebp, esp */ 19805 PUSH32(esp, ecx); /* 0x2B021103: push ecx */ 19806 PUSH32(esp, ebx); /* 0x2B021104: push ebx */ 19807 PUSH32(esp, esi); /* 0x2B021105: push esi */ 19808 esi = MEM32(ebp + 0xC); /* 0x2B021106: mov esi, dword ptr [ebp + 0xc] */ 19809 PUSH32(esp, edi); /* 0x2B021109: push edi */ 19810 edi = ecx; /* 0x2B02110A: mov edi, ecx */ 19811 ecx = ebp + 0xC; /* 0x2B02110C: lea ecx, [ebp + 0xc] */ 19812 RECOMP_ICALL(0x2B021870u); /* 0x2B02110F: call 0x2b021870 */ /* not lifted */ 19813 RECOMP_FLAGS_IN(); 19814 edx = MEM32(esi); /* 0x2B021114: mov edx, dword ptr [esi] */ 19815 eax = MEM32(edi + 0x8); /* 0x2B021116: mov eax, dword ptr [edi + 8] */ 19816 /* cmp edx, eax */ /* 0x2B021119: cmp edx, eax */ 19817 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 19818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19819 _flag_k = FK_CMP; 19820 MEM32(ebp + (-0x4)) = esi; /* 0x2B02111B: mov dword ptr [ebp - 4], esi */ 19821 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021140; /* 0x2B02111E: jne 0x2b021140 */ 19822 L_2B021120: 19823 eax = MEM32(esi + 0x8); /* 0x2B021120: mov eax, dword ptr [esi + 8] */ 19824 L_2B021123: 19825 ecx = MEM32(ebp + (-0x4)); /* 0x2B021123: mov ecx, dword ptr [ebp - 4] */ 19826 edx = MEM32(ecx + 0x4); /* 0x2B021126: mov edx, dword ptr [ecx + 4] */ 19827 MEM32(eax + 0x4) = edx; /* 0x2B021129: mov dword ptr [eax + 4], edx */ 19828 ecx = MEM32(edi + 0x4); /* 0x2B02112C: mov ecx, dword ptr [edi + 4] */ 19829 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B02112F: cmp dword ptr [ecx + 4], esi */ 19830 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 19831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19832 _flag_k = FK_CMP; 19833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211C3; /* 0x2B021132: jne 0x2b0211c3 */ 19834 L_2B021138: 19835 MEM32(ecx + 0x4) = eax; /* 0x2B021138: mov dword ptr [ecx + 4], eax */ 19836 goto L_2B0211D1; /* 0x2B02113B: jmp 0x2b0211d1 */ 19837 L_2B021140: 19838 ecx = MEM32(esi + 0x8); /* 0x2B021140: mov ecx, dword ptr [esi + 8] */ 19839 /* cmp ecx, eax */ /* 0x2B021143: cmp ecx, eax */ 19840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 19841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19842 _flag_k = FK_CMP; 19843 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02114B; /* 0x2B021145: jne 0x2b02114b */ 19844 L_2B021147: 19845 eax = edx; /* 0x2B021147: mov eax, edx */ 19846 RECOMP_BACKEDGE(); 19847 goto L_2B021123; /* 0x2B021149: jmp 0x2b021123 */ 19848 L_2B02114B: 19849 eax = MEM32(ecx); /* 0x2B02114B: mov eax, dword ptr [ecx] */ 19850 SET_LO8(ebx, MEM8(eax + 0x39)); /* 0x2B02114D: mov bl, byte ptr [eax + 0x39] */ 19851 /* test LO8(ebx), LO8(ebx) */ /* 0x2B021150: test bl, bl */ 19852 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19853 _cf = 0; 19854 _flag_k = FK_NARROW(FK_TEST, 24); 19855 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02115F; /* 0x2B021152: jne 0x2b02115f */ 19856 L_2B021154: 19857 ecx = eax; /* 0x2B021154: mov ecx, eax */ 19858 eax = MEM32(ecx); /* 0x2B021156: mov eax, dword ptr [ecx] */ 19859 SET_LO8(ebx, MEM8(eax + 0x39)); /* 0x2B021158: mov bl, byte ptr [eax + 0x39] */ 19860 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02115B: test bl, bl */ 19861 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 19862 _cf = 0; 19863 _flag_k = FK_NARROW(FK_TEST, 24); 19864 RECOMP_BACKEDGE(); 19865 if (TEST_Z(_flag_a, _flag_b)) goto L_2B021154; /* 0x2B02115D: je 0x2b021154 */ 19866 L_2B02115F: 19867 /* cmp ecx, esi */ /* 0x2B02115F: cmp ecx, esi */ 19868 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 19869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19870 _flag_k = FK_CMP; 19871 eax = MEM32(ecx + 0x8); /* 0x2B021161: mov eax, dword ptr [ecx + 8] */ 19872 MEM32(ebp + (-0x4)) = ecx; /* 0x2B021164: mov dword ptr [ebp - 4], ecx */ 19873 RECOMP_BACKEDGE(); 19874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021123; /* 0x2B021167: je 0x2b021123 */ 19875 L_2B021169: 19876 MEM32(edx + 0x4) = ecx; /* 0x2B021169: mov dword ptr [edx + 4], ecx */ 19877 edx = MEM32(esi); /* 0x2B02116C: mov edx, dword ptr [esi] */ 19878 MEM32(ecx) = edx; /* 0x2B02116E: mov dword ptr [ecx], edx */ 19879 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021170: cmp ecx, dword ptr [esi + 8] */ 19880 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19882 _flag_k = FK_CMP; 19883 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02117A; /* 0x2B021173: jne 0x2b02117a */ 19884 L_2B021175: 19885 MEM32(eax + 0x4) = ecx; /* 0x2B021175: mov dword ptr [eax + 4], ecx */ 19886 goto L_2B021191; /* 0x2B021178: jmp 0x2b021191 */ 19887 L_2B02117A: 19888 edx = MEM32(ecx + 0x4); /* 0x2B02117A: mov edx, dword ptr [ecx + 4] */ 19889 MEM32(eax + 0x4) = edx; /* 0x2B02117D: mov dword ptr [eax + 4], edx */ 19890 edx = MEM32(ecx + 0x4); /* 0x2B021180: mov edx, dword ptr [ecx + 4] */ 19891 MEM32(edx) = eax; /* 0x2B021183: mov dword ptr [edx], eax */ 19892 edx = MEM32(esi + 0x8); /* 0x2B021185: mov edx, dword ptr [esi + 8] */ 19893 MEM32(ecx + 0x8) = edx; /* 0x2B021188: mov dword ptr [ecx + 8], edx */ 19894 edx = MEM32(esi + 0x8); /* 0x2B02118B: mov edx, dword ptr [esi + 8] */ 19895 MEM32(edx + 0x4) = ecx; /* 0x2B02118E: mov dword ptr [edx + 4], ecx */ 19896 L_2B021191: 19897 edx = MEM32(edi + 0x4); /* 0x2B021191: mov edx, dword ptr [edi + 4] */ 19898 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B021194: cmp dword ptr [edx + 4], esi */ 19899 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 19900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19901 _flag_k = FK_CMP; 19902 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02119E; /* 0x2B021197: jne 0x2b02119e */ 19903 L_2B021199: 19904 MEM32(edx + 0x4) = ecx; /* 0x2B021199: mov dword ptr [edx + 4], ecx */ 19905 goto L_2B0211AC; /* 0x2B02119C: jmp 0x2b0211ac */ 19906 L_2B02119E: 19907 edx = MEM32(esi + 0x4); /* 0x2B02119E: mov edx, dword ptr [esi + 4] */ 19908 /* cmp MEM32(edx), esi */ /* 0x2B0211A1: cmp dword ptr [edx], esi */ 19909 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 19910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19911 _flag_k = FK_CMP; 19912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211A9; /* 0x2B0211A3: jne 0x2b0211a9 */ 19913 L_2B0211A5: 19914 MEM32(edx) = ecx; /* 0x2B0211A5: mov dword ptr [edx], ecx */ 19915 goto L_2B0211AC; /* 0x2B0211A7: jmp 0x2b0211ac */ 19916 L_2B0211A9: 19917 MEM32(edx + 0x8) = ecx; /* 0x2B0211A9: mov dword ptr [edx + 8], ecx */ 19918 L_2B0211AC: 19919 edx = MEM32(esi + 0x4); /* 0x2B0211AC: mov edx, dword ptr [esi + 4] */ 19920 MEM32(ecx + 0x4) = edx; /* 0x2B0211AF: mov dword ptr [ecx + 4], edx */ 19921 SET_LO8(ebx, MEM8(esi + 0x38)); /* 0x2B0211B2: mov bl, byte ptr [esi + 0x38] */ 19922 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0211B5: mov dl, byte ptr [ecx + 0x38] */ 19923 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0211B8: mov byte ptr [ecx + 0x38], bl */ 19924 MEM8(esi + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B0211BB: mov byte ptr [esi + 0x38], dl */ 19925 MEM32(ebp + (-0x4)) = esi; /* 0x2B0211BE: mov dword ptr [ebp - 4], esi */ 19926 goto L_2B021228; /* 0x2B0211C1: jmp 0x2b021228 */ 19927 L_2B0211C3: 19928 ecx = MEM32(esi + 0x4); /* 0x2B0211C3: mov ecx, dword ptr [esi + 4] */ 19929 /* cmp MEM32(ecx), esi */ /* 0x2B0211C6: cmp dword ptr [ecx], esi */ 19930 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 19931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19932 _flag_k = FK_CMP; 19933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211CE; /* 0x2B0211C8: jne 0x2b0211ce */ 19934 L_2B0211CA: 19935 MEM32(ecx) = eax; /* 0x2B0211CA: mov dword ptr [ecx], eax */ 19936 goto L_2B0211D1; /* 0x2B0211CC: jmp 0x2b0211d1 */ 19937 L_2B0211CE: 19938 MEM32(ecx + 0x8) = eax; /* 0x2B0211CE: mov dword ptr [ecx + 8], eax */ 19939 L_2B0211D1: 19940 ebx = MEM32(edi + 0x4); /* 0x2B0211D1: mov ebx, dword ptr [edi + 4] */ 19941 /* cmp MEM32(ebx), esi */ /* 0x2B0211D4: cmp dword ptr [ebx], esi */ 19942 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 19943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19944 _flag_k = FK_CMP; 19945 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211FB; /* 0x2B0211D6: jne 0x2b0211fb */ 19946 L_2B0211D8: 19947 ecx = MEM32(esi + 0x8); /* 0x2B0211D8: mov ecx, dword ptr [esi + 8] */ 19948 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B0211DB: cmp ecx, dword ptr [edi + 8] */ 19949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19951 _flag_k = FK_CMP; 19952 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211E5; /* 0x2B0211DE: jne 0x2b0211e5 */ 19953 L_2B0211E0: 19954 edx = MEM32(esi + 0x4); /* 0x2B0211E0: mov edx, dword ptr [esi + 4] */ 19955 goto L_2B0211F9; /* 0x2B0211E3: jmp 0x2b0211f9 */ 19956 L_2B0211E5: 19957 ecx = MEM32(eax); /* 0x2B0211E5: mov ecx, dword ptr [eax] */ 19958 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B0211E7: cmp byte ptr [ecx + 0x39], 0 */ 19959 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 19960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19961 _flag_k = FK_NARROW(FK_CMP, 24); 19962 edx = eax; /* 0x2B0211EB: mov edx, eax */ 19963 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211F9; /* 0x2B0211ED: jne 0x2b0211f9 */ 19964 L_2B0211EF: 19965 edx = ecx; /* 0x2B0211EF: mov edx, ecx */ 19966 ecx = MEM32(edx); /* 0x2B0211F1: mov ecx, dword ptr [edx] */ 19967 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B0211F3: cmp byte ptr [ecx + 0x39], 0 */ 19968 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 19969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19970 _flag_k = FK_NARROW(FK_CMP, 24); 19971 RECOMP_BACKEDGE(); 19972 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0211EF; /* 0x2B0211F7: je 0x2b0211ef */ 19973 L_2B0211F9: 19974 MEM32(ebx) = edx; /* 0x2B0211F9: mov dword ptr [ebx], edx */ 19975 L_2B0211FB: 19976 ebx = MEM32(edi + 0x4); /* 0x2B0211FB: mov ebx, dword ptr [edi + 4] */ 19977 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B0211FE: cmp dword ptr [ebx + 8], esi */ 19978 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 19979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19980 _flag_k = FK_CMP; 19981 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021228; /* 0x2B021201: jne 0x2b021228 */ 19982 L_2B021203: 19983 ecx = MEM32(esi); /* 0x2B021203: mov ecx, dword ptr [esi] */ 19984 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B021205: cmp ecx, dword ptr [edi + 8] */ 19985 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19987 _flag_k = FK_CMP; 19988 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02120F; /* 0x2B021208: jne 0x2b02120f */ 19989 L_2B02120A: 19990 edx = MEM32(esi + 0x4); /* 0x2B02120A: mov edx, dword ptr [esi + 4] */ 19991 goto L_2B021225; /* 0x2B02120D: jmp 0x2b021225 */ 19992 L_2B02120F: 19993 ecx = MEM32(eax + 0x8); /* 0x2B02120F: mov ecx, dword ptr [eax + 8] */ 19994 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B021212: cmp byte ptr [ecx + 0x39], 0 */ 19995 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 19996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19997 _flag_k = FK_NARROW(FK_CMP, 24); 19998 edx = eax; /* 0x2B021216: mov edx, eax */ 19999 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021225; /* 0x2B021218: jne 0x2b021225 */ 20000 L_2B02121A: 20001 edx = ecx; /* 0x2B02121A: mov edx, ecx */ 20002 ecx = MEM32(edx + 0x8); /* 0x2B02121C: mov ecx, dword ptr [edx + 8] */ 20003 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B02121F: cmp byte ptr [ecx + 0x39], 0 */ 20004 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 20005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20006 _flag_k = FK_NARROW(FK_CMP, 24); 20007 RECOMP_BACKEDGE(); 20008 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02121A; /* 0x2B021223: je 0x2b02121a */ 20009 L_2B021225: 20010 MEM32(ebx + 0x8) = edx; /* 0x2B021225: mov dword ptr [ebx + 8], edx */ 20011 L_2B021228: 20012 esi = MEM32(ebp + (-0x4)); /* 0x2B021228: mov esi, dword ptr [ebp - 4] */ 20013 SET_LO8(ecx, MEM8(esi + 0x38)); /* 0x2B02122B: mov cl, byte ptr [esi + 0x38] */ 20014 SET_LO8(ebx, 1); /* 0x2B02122E: mov bl, 1 */ 20015 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B021230: cmp cl, bl */ 20016 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20018 _flag_k = FK_NARROW(FK_CMP, 24); 20019 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021498; /* 0x2B021232: jne 0x2b021498 */ 20020 L_2B021238: 20021 ecx = MEM32(edi + 0x4); /* 0x2B021238: mov ecx, dword ptr [edi + 4] */ 20022 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02123B: cmp eax, dword ptr [ecx + 4] */ 20023 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20025 _flag_k = FK_CMP; 20026 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B02123E: je 0x2b021492 */ 20027 L_2B021244: 20028 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 20029 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20031 _flag_k = FK_NARROW(FK_CMP, 24); 20032 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 20033 L_2B02124D: 20034 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 20035 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 20036 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 20037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 20038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20039 _flag_k = FK_CMP; 20040 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 20041 L_2B021256: 20042 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 20043 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 20044 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 20045 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20046 _cf = 0; 20047 _flag_k = FK_NARROW(FK_TEST, 24); 20048 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 20049 L_2B021260: 20050 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 20051 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 20052 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 20053 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 20054 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 20055 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 20056 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 20057 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 20058 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 20059 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20061 _flag_k = FK_CMP; 20062 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 20063 L_2B02127C: 20064 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 20065 L_2B02127F: 20066 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 20067 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 20068 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 20069 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 20070 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20072 _flag_k = FK_CMP; 20073 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 20074 L_2B02128D: 20075 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 20076 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 20077 L_2B021292: 20078 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 20079 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 20080 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20082 _flag_k = FK_CMP; 20083 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 20084 L_2B021299: 20085 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 20086 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 20087 L_2B02129D: 20088 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 20089 L_2B0212A0: 20090 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 20091 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 20092 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 20093 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 20094 L_2B0212AB: 20095 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 20096 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 20097 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20099 _flag_k = FK_NARROW(FK_CMP, 24); 20100 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 20101 L_2B0212B6: 20102 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 20103 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 20104 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20106 _flag_k = FK_NARROW(FK_CMP, 24); 20107 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 20108 L_2B0212C2: 20109 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 20110 L_2B0212C4: 20111 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 20112 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 20113 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20114 _cf = 0; 20115 _flag_k = FK_NARROW(FK_TEST, 24); 20116 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 20117 L_2B0212CB: 20118 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 20119 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 20120 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 20121 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 20122 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 20123 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 20124 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 20125 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 20126 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 20127 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20129 _flag_k = FK_CMP; 20130 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 20131 L_2B0212E7: 20132 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 20133 L_2B0212EA: 20134 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 20135 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 20136 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 20137 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 20138 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20140 _flag_k = FK_CMP; 20141 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 20142 L_2B0212F8: 20143 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 20144 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 20145 L_2B0212FD: 20146 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 20147 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 20148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20150 _flag_k = FK_CMP; 20151 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 20152 L_2B021305: 20153 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 20154 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 20155 L_2B02130A: 20156 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 20157 L_2B02130C: 20158 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 20159 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 20160 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 20161 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 20162 L_2B021317: 20163 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 20164 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 20165 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20167 _flag_k = FK_NARROW(FK_CMP, 24); 20168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 20169 L_2B021323: 20170 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 20171 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 20172 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20174 _flag_k = FK_NARROW(FK_CMP, 24); 20175 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 20176 L_2B02132E: 20177 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 20178 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 20179 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 20180 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 20181 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20183 _flag_k = FK_CMP; 20184 RECOMP_BACKEDGE(); 20185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 20186 L_2B021341: 20187 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 20188 L_2B021346: 20189 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 20190 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 20191 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20193 _flag_k = FK_NARROW(FK_CMP, 24); 20194 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 20195 L_2B02134E: 20196 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 20197 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 20198 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 20199 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 20200 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 20201 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 20202 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 20203 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 20204 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20206 _flag_k = FK_CMP; 20207 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 20208 L_2B021366: 20209 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 20210 L_2B021369: 20211 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 20212 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 20213 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 20214 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 20215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20217 _flag_k = FK_CMP; 20218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 20219 L_2B021377: 20220 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 20221 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 20222 L_2B02137C: 20223 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 20224 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 20225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20227 _flag_k = FK_CMP; 20228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 20229 L_2B021384: 20230 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 20231 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 20232 L_2B021389: 20233 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 20234 L_2B02138B: 20235 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 20236 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 20237 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 20238 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 20239 L_2B021397: 20240 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 20241 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 20242 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 20243 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 20244 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 20245 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 20246 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 20247 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 20248 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 20249 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 20250 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 20251 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 20252 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 20253 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20255 _flag_k = FK_CMP; 20256 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 20257 L_2B0213BE: 20258 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 20259 L_2B0213C1: 20260 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 20261 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 20262 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 20263 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 20264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20266 _flag_k = FK_CMP; 20267 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 20268 L_2B0213CF: 20269 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 20270 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 20271 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 20272 L_2B0213D9: 20273 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 20274 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 20275 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20277 _flag_k = FK_CMP; 20278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 20279 L_2B0213E0: 20280 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 20281 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 20282 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 20283 L_2B0213E9: 20284 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 20285 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 20286 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 20287 L_2B0213F3: 20288 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 20289 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 20290 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20292 _flag_k = FK_NARROW(FK_CMP, 24); 20293 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 20294 L_2B0213FA: 20295 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 20296 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 20297 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 20298 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 20299 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 20300 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 20301 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 20302 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 20303 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20305 _flag_k = FK_CMP; 20306 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 20307 L_2B021413: 20308 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 20309 L_2B021416: 20310 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 20311 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 20312 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 20313 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 20314 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20316 _flag_k = FK_CMP; 20317 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 20318 L_2B021424: 20319 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 20320 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 20321 L_2B021429: 20322 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 20323 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 20324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20326 _flag_k = FK_CMP; 20327 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 20328 L_2B021430: 20329 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 20330 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 20331 L_2B021434: 20332 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 20333 L_2B021437: 20334 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 20335 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 20336 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 20337 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 20338 L_2B021441: 20339 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 20340 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 20341 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 20342 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 20343 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 20344 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 20345 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 20346 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 20347 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 20348 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 20349 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 20350 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 20351 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 20352 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20354 _flag_k = FK_CMP; 20355 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 20356 L_2B021467: 20357 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 20358 L_2B02146A: 20359 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 20360 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 20361 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 20362 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 20363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20365 _flag_k = FK_CMP; 20366 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 20367 L_2B021478: 20368 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 20369 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 20370 L_2B02147D: 20371 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 20372 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 20373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20375 _flag_k = FK_CMP; 20376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 20377 L_2B021485: 20378 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 20379 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 20380 L_2B02148A: 20381 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 20382 L_2B02148C: 20383 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 20384 L_2B02148F: 20385 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 20386 L_2B021492: 20387 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 20388 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 20389 L_2B021498: 20390 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 20391 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 20392 RECOMP_FLAGS_IN(); 20393 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 20394 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 20395 RECOMP_FLAGS_IN(); 20396 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 20397 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 20398 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20400 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 20401 _flag_k = FK_ADD; 20402 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20403 eax = eax - 1; /* 0x2B0214AF: dec eax */ 20404 _flag_k = FK_DEC; 20405 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 20406 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 20407 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 20408 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 20409 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 20410 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 20411 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 20412 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 20413 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 20414 RECOMP_REGS_OUT(); 20415 } 20416 20417 void sub_2B0211D1(void) { 20418 int _fpu_cmp = 0; 20419 uint32_t _cf = 0; 20420 int _df = 1; 20421 uint32_t _flag_k = FK_NONE; 20422 uint32_t _flag_a = 0, _flag_b = 0; 20423 uint32_t _itail_tgt = 0; 20424 RECOMP_REGS_LOCALS 20425 RECOMP_ENTER(0x2B0211D1u); 20426 20427 L_2B0211D1: 20428 ebx = MEM32(edi + 0x4); /* 0x2B0211D1: mov ebx, dword ptr [edi + 4] */ 20429 /* cmp MEM32(ebx), esi */ /* 0x2B0211D4: cmp dword ptr [ebx], esi */ 20430 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 20431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20432 _flag_k = FK_CMP; 20433 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211FB; /* 0x2B0211D6: jne 0x2b0211fb */ 20434 L_2B0211D8: 20435 ecx = MEM32(esi + 0x8); /* 0x2B0211D8: mov ecx, dword ptr [esi + 8] */ 20436 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B0211DB: cmp ecx, dword ptr [edi + 8] */ 20437 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20439 _flag_k = FK_CMP; 20440 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211E5; /* 0x2B0211DE: jne 0x2b0211e5 */ 20441 L_2B0211E0: 20442 edx = MEM32(esi + 0x4); /* 0x2B0211E0: mov edx, dword ptr [esi + 4] */ 20443 goto L_2B0211F9; /* 0x2B0211E3: jmp 0x2b0211f9 */ 20444 L_2B0211E5: 20445 ecx = MEM32(eax); /* 0x2B0211E5: mov ecx, dword ptr [eax] */ 20446 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B0211E7: cmp byte ptr [ecx + 0x39], 0 */ 20447 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 20448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20449 _flag_k = FK_NARROW(FK_CMP, 24); 20450 edx = eax; /* 0x2B0211EB: mov edx, eax */ 20451 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0211F9; /* 0x2B0211ED: jne 0x2b0211f9 */ 20452 L_2B0211EF: 20453 edx = ecx; /* 0x2B0211EF: mov edx, ecx */ 20454 ecx = MEM32(edx); /* 0x2B0211F1: mov ecx, dword ptr [edx] */ 20455 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B0211F3: cmp byte ptr [ecx + 0x39], 0 */ 20456 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 20457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20458 _flag_k = FK_NARROW(FK_CMP, 24); 20459 RECOMP_BACKEDGE(); 20460 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0211EF; /* 0x2B0211F7: je 0x2b0211ef */ 20461 L_2B0211F9: 20462 MEM32(ebx) = edx; /* 0x2B0211F9: mov dword ptr [ebx], edx */ 20463 L_2B0211FB: 20464 ebx = MEM32(edi + 0x4); /* 0x2B0211FB: mov ebx, dword ptr [edi + 4] */ 20465 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B0211FE: cmp dword ptr [ebx + 8], esi */ 20466 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 20467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20468 _flag_k = FK_CMP; 20469 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021228; /* 0x2B021201: jne 0x2b021228 */ 20470 L_2B021203: 20471 ecx = MEM32(esi); /* 0x2B021203: mov ecx, dword ptr [esi] */ 20472 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B021205: cmp ecx, dword ptr [edi + 8] */ 20473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20475 _flag_k = FK_CMP; 20476 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02120F; /* 0x2B021208: jne 0x2b02120f */ 20477 L_2B02120A: 20478 edx = MEM32(esi + 0x4); /* 0x2B02120A: mov edx, dword ptr [esi + 4] */ 20479 goto L_2B021225; /* 0x2B02120D: jmp 0x2b021225 */ 20480 L_2B02120F: 20481 ecx = MEM32(eax + 0x8); /* 0x2B02120F: mov ecx, dword ptr [eax + 8] */ 20482 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B021212: cmp byte ptr [ecx + 0x39], 0 */ 20483 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 20484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20485 _flag_k = FK_NARROW(FK_CMP, 24); 20486 edx = eax; /* 0x2B021216: mov edx, eax */ 20487 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021225; /* 0x2B021218: jne 0x2b021225 */ 20488 L_2B02121A: 20489 edx = ecx; /* 0x2B02121A: mov edx, ecx */ 20490 ecx = MEM32(edx + 0x8); /* 0x2B02121C: mov ecx, dword ptr [edx + 8] */ 20491 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B02121F: cmp byte ptr [ecx + 0x39], 0 */ 20492 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 20493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20494 _flag_k = FK_NARROW(FK_CMP, 24); 20495 RECOMP_BACKEDGE(); 20496 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02121A; /* 0x2B021223: je 0x2b02121a */ 20497 L_2B021225: 20498 MEM32(ebx + 0x8) = edx; /* 0x2B021225: mov dword ptr [ebx + 8], edx */ 20499 L_2B021228: 20500 esi = MEM32(ebp + (-0x4)); /* 0x2B021228: mov esi, dword ptr [ebp - 4] */ 20501 SET_LO8(ecx, MEM8(esi + 0x38)); /* 0x2B02122B: mov cl, byte ptr [esi + 0x38] */ 20502 SET_LO8(ebx, 1); /* 0x2B02122E: mov bl, 1 */ 20503 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B021230: cmp cl, bl */ 20504 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20506 _flag_k = FK_NARROW(FK_CMP, 24); 20507 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021498; /* 0x2B021232: jne 0x2b021498 */ 20508 L_2B021238: 20509 ecx = MEM32(edi + 0x4); /* 0x2B021238: mov ecx, dword ptr [edi + 4] */ 20510 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02123B: cmp eax, dword ptr [ecx + 4] */ 20511 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20513 _flag_k = FK_CMP; 20514 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B02123E: je 0x2b021492 */ 20515 L_2B021244: 20516 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 20517 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20519 _flag_k = FK_NARROW(FK_CMP, 24); 20520 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 20521 L_2B02124D: 20522 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 20523 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 20524 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 20525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 20526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20527 _flag_k = FK_CMP; 20528 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 20529 L_2B021256: 20530 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 20531 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 20532 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 20533 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20534 _cf = 0; 20535 _flag_k = FK_NARROW(FK_TEST, 24); 20536 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 20537 L_2B021260: 20538 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 20539 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 20540 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 20541 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 20542 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 20543 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 20544 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 20545 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 20546 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 20547 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20549 _flag_k = FK_CMP; 20550 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 20551 L_2B02127C: 20552 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 20553 L_2B02127F: 20554 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 20555 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 20556 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 20557 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 20558 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20560 _flag_k = FK_CMP; 20561 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 20562 L_2B02128D: 20563 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 20564 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 20565 L_2B021292: 20566 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 20567 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 20568 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20570 _flag_k = FK_CMP; 20571 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 20572 L_2B021299: 20573 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 20574 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 20575 L_2B02129D: 20576 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 20577 L_2B0212A0: 20578 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 20579 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 20580 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 20581 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 20582 L_2B0212AB: 20583 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 20584 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 20585 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20587 _flag_k = FK_NARROW(FK_CMP, 24); 20588 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 20589 L_2B0212B6: 20590 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 20591 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 20592 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20594 _flag_k = FK_NARROW(FK_CMP, 24); 20595 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 20596 L_2B0212C2: 20597 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 20598 L_2B0212C4: 20599 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 20600 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 20601 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20602 _cf = 0; 20603 _flag_k = FK_NARROW(FK_TEST, 24); 20604 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 20605 L_2B0212CB: 20606 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 20607 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 20608 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 20609 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 20610 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 20611 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 20612 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 20613 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 20614 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 20615 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20617 _flag_k = FK_CMP; 20618 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 20619 L_2B0212E7: 20620 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 20621 L_2B0212EA: 20622 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 20623 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 20624 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 20625 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 20626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20628 _flag_k = FK_CMP; 20629 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 20630 L_2B0212F8: 20631 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 20632 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 20633 L_2B0212FD: 20634 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 20635 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 20636 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20638 _flag_k = FK_CMP; 20639 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 20640 L_2B021305: 20641 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 20642 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 20643 L_2B02130A: 20644 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 20645 L_2B02130C: 20646 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 20647 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 20648 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 20649 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 20650 L_2B021317: 20651 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 20652 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 20653 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20655 _flag_k = FK_NARROW(FK_CMP, 24); 20656 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 20657 L_2B021323: 20658 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 20659 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 20660 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20662 _flag_k = FK_NARROW(FK_CMP, 24); 20663 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 20664 L_2B02132E: 20665 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 20666 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 20667 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 20668 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 20669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20671 _flag_k = FK_CMP; 20672 RECOMP_BACKEDGE(); 20673 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 20674 L_2B021341: 20675 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 20676 L_2B021346: 20677 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 20678 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 20679 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20681 _flag_k = FK_NARROW(FK_CMP, 24); 20682 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 20683 L_2B02134E: 20684 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 20685 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 20686 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 20687 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 20688 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 20689 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 20690 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 20691 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 20692 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20694 _flag_k = FK_CMP; 20695 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 20696 L_2B021366: 20697 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 20698 L_2B021369: 20699 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 20700 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 20701 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 20702 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 20703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20705 _flag_k = FK_CMP; 20706 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 20707 L_2B021377: 20708 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 20709 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 20710 L_2B02137C: 20711 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 20712 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 20713 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20715 _flag_k = FK_CMP; 20716 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 20717 L_2B021384: 20718 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 20719 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 20720 L_2B021389: 20721 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 20722 L_2B02138B: 20723 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 20724 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 20725 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 20726 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 20727 L_2B021397: 20728 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 20729 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 20730 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 20731 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 20732 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 20733 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 20734 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 20735 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 20736 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 20737 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 20738 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 20739 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 20740 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 20741 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20743 _flag_k = FK_CMP; 20744 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 20745 L_2B0213BE: 20746 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 20747 L_2B0213C1: 20748 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 20749 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 20750 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 20751 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 20752 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20754 _flag_k = FK_CMP; 20755 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 20756 L_2B0213CF: 20757 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 20758 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 20759 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 20760 L_2B0213D9: 20761 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 20762 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 20763 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20765 _flag_k = FK_CMP; 20766 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 20767 L_2B0213E0: 20768 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 20769 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 20770 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 20771 L_2B0213E9: 20772 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 20773 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 20774 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 20775 L_2B0213F3: 20776 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 20777 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 20778 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20780 _flag_k = FK_NARROW(FK_CMP, 24); 20781 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 20782 L_2B0213FA: 20783 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 20784 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 20785 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 20786 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 20787 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 20788 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 20789 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 20790 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 20791 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20793 _flag_k = FK_CMP; 20794 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 20795 L_2B021413: 20796 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 20797 L_2B021416: 20798 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 20799 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 20800 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 20801 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 20802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20804 _flag_k = FK_CMP; 20805 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 20806 L_2B021424: 20807 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 20808 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 20809 L_2B021429: 20810 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 20811 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 20812 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 20813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20814 _flag_k = FK_CMP; 20815 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 20816 L_2B021430: 20817 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 20818 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 20819 L_2B021434: 20820 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 20821 L_2B021437: 20822 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 20823 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 20824 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 20825 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 20826 L_2B021441: 20827 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 20828 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 20829 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 20830 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 20831 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 20832 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 20833 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 20834 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 20835 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 20836 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 20837 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 20838 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 20839 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 20840 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20842 _flag_k = FK_CMP; 20843 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 20844 L_2B021467: 20845 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 20846 L_2B02146A: 20847 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 20848 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 20849 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 20850 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 20851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 20852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20853 _flag_k = FK_CMP; 20854 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 20855 L_2B021478: 20856 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 20857 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 20858 L_2B02147D: 20859 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 20860 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 20861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20863 _flag_k = FK_CMP; 20864 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 20865 L_2B021485: 20866 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 20867 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 20868 L_2B02148A: 20869 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 20870 L_2B02148C: 20871 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 20872 L_2B02148F: 20873 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 20874 L_2B021492: 20875 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 20876 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 20877 L_2B021498: 20878 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 20879 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 20880 RECOMP_FLAGS_IN(); 20881 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 20882 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 20883 RECOMP_FLAGS_IN(); 20884 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 20885 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 20886 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20887 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20888 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 20889 _flag_k = FK_ADD; 20890 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20891 eax = eax - 1; /* 0x2B0214AF: dec eax */ 20892 _flag_k = FK_DEC; 20893 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 20894 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 20895 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 20896 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 20897 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 20898 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 20899 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 20900 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 20901 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 20902 RECOMP_REGS_OUT(); 20903 } 20904 20905 void sub_2B0211F9(void) { 20906 int _fpu_cmp = 0; 20907 uint32_t _cf = 0; 20908 int _df = 1; 20909 uint32_t _flag_k = FK_NONE; 20910 uint32_t _flag_a = 0, _flag_b = 0; 20911 uint32_t _itail_tgt = 0; 20912 RECOMP_REGS_LOCALS 20913 RECOMP_ENTER(0x2B0211F9u); 20914 20915 L_2B0211F9: 20916 MEM32(ebx) = edx; /* 0x2B0211F9: mov dword ptr [ebx], edx */ 20917 ebx = MEM32(edi + 0x4); /* 0x2B0211FB: mov ebx, dword ptr [edi + 4] */ 20918 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B0211FE: cmp dword ptr [ebx + 8], esi */ 20919 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 20920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20921 _flag_k = FK_CMP; 20922 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021228; /* 0x2B021201: jne 0x2b021228 */ 20923 L_2B021203: 20924 ecx = MEM32(esi); /* 0x2B021203: mov ecx, dword ptr [esi] */ 20925 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B021205: cmp ecx, dword ptr [edi + 8] */ 20926 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20928 _flag_k = FK_CMP; 20929 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02120F; /* 0x2B021208: jne 0x2b02120f */ 20930 L_2B02120A: 20931 edx = MEM32(esi + 0x4); /* 0x2B02120A: mov edx, dword ptr [esi + 4] */ 20932 goto L_2B021225; /* 0x2B02120D: jmp 0x2b021225 */ 20933 L_2B02120F: 20934 ecx = MEM32(eax + 0x8); /* 0x2B02120F: mov ecx, dword ptr [eax + 8] */ 20935 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B021212: cmp byte ptr [ecx + 0x39], 0 */ 20936 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 20937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20938 _flag_k = FK_NARROW(FK_CMP, 24); 20939 edx = eax; /* 0x2B021216: mov edx, eax */ 20940 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021225; /* 0x2B021218: jne 0x2b021225 */ 20941 L_2B02121A: 20942 edx = ecx; /* 0x2B02121A: mov edx, ecx */ 20943 ecx = MEM32(edx + 0x8); /* 0x2B02121C: mov ecx, dword ptr [edx + 8] */ 20944 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x2B02121F: cmp byte ptr [ecx + 0x39], 0 */ 20945 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 20946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20947 _flag_k = FK_NARROW(FK_CMP, 24); 20948 RECOMP_BACKEDGE(); 20949 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02121A; /* 0x2B021223: je 0x2b02121a */ 20950 L_2B021225: 20951 MEM32(ebx + 0x8) = edx; /* 0x2B021225: mov dword ptr [ebx + 8], edx */ 20952 L_2B021228: 20953 esi = MEM32(ebp + (-0x4)); /* 0x2B021228: mov esi, dword ptr [ebp - 4] */ 20954 SET_LO8(ecx, MEM8(esi + 0x38)); /* 0x2B02122B: mov cl, byte ptr [esi + 0x38] */ 20955 SET_LO8(ebx, 1); /* 0x2B02122E: mov bl, 1 */ 20956 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B021230: cmp cl, bl */ 20957 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20959 _flag_k = FK_NARROW(FK_CMP, 24); 20960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021498; /* 0x2B021232: jne 0x2b021498 */ 20961 L_2B021238: 20962 ecx = MEM32(edi + 0x4); /* 0x2B021238: mov ecx, dword ptr [edi + 4] */ 20963 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02123B: cmp eax, dword ptr [ecx + 4] */ 20964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20966 _flag_k = FK_CMP; 20967 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B02123E: je 0x2b021492 */ 20968 L_2B021244: 20969 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 20970 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 20971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20972 _flag_k = FK_NARROW(FK_CMP, 24); 20973 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 20974 L_2B02124D: 20975 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 20976 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 20977 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 20978 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 20979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20980 _flag_k = FK_CMP; 20981 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 20982 L_2B021256: 20983 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 20984 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 20985 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 20986 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20987 _cf = 0; 20988 _flag_k = FK_NARROW(FK_TEST, 24); 20989 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 20990 L_2B021260: 20991 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 20992 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 20993 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 20994 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 20995 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 20996 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 20997 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 20998 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 20999 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 21000 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21002 _flag_k = FK_CMP; 21003 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 21004 L_2B02127C: 21005 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 21006 L_2B02127F: 21007 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 21008 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 21009 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 21010 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 21011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21013 _flag_k = FK_CMP; 21014 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 21015 L_2B02128D: 21016 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 21017 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 21018 L_2B021292: 21019 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 21020 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 21021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21023 _flag_k = FK_CMP; 21024 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 21025 L_2B021299: 21026 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 21027 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 21028 L_2B02129D: 21029 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 21030 L_2B0212A0: 21031 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 21032 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 21033 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 21034 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 21035 L_2B0212AB: 21036 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 21037 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 21038 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21040 _flag_k = FK_NARROW(FK_CMP, 24); 21041 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 21042 L_2B0212B6: 21043 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 21044 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 21045 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21047 _flag_k = FK_NARROW(FK_CMP, 24); 21048 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 21049 L_2B0212C2: 21050 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 21051 L_2B0212C4: 21052 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 21053 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 21054 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21055 _cf = 0; 21056 _flag_k = FK_NARROW(FK_TEST, 24); 21057 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 21058 L_2B0212CB: 21059 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 21060 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 21061 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 21062 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 21063 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 21064 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 21065 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 21066 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 21067 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 21068 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21070 _flag_k = FK_CMP; 21071 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 21072 L_2B0212E7: 21073 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 21074 L_2B0212EA: 21075 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 21076 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 21077 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 21078 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 21079 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21081 _flag_k = FK_CMP; 21082 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 21083 L_2B0212F8: 21084 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 21085 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 21086 L_2B0212FD: 21087 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 21088 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 21089 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21091 _flag_k = FK_CMP; 21092 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 21093 L_2B021305: 21094 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 21095 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 21096 L_2B02130A: 21097 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 21098 L_2B02130C: 21099 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 21100 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 21101 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 21102 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 21103 L_2B021317: 21104 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 21105 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 21106 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21108 _flag_k = FK_NARROW(FK_CMP, 24); 21109 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 21110 L_2B021323: 21111 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 21112 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 21113 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21115 _flag_k = FK_NARROW(FK_CMP, 24); 21116 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 21117 L_2B02132E: 21118 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 21119 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 21120 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 21121 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 21122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21124 _flag_k = FK_CMP; 21125 RECOMP_BACKEDGE(); 21126 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 21127 L_2B021341: 21128 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 21129 L_2B021346: 21130 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 21131 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 21132 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21134 _flag_k = FK_NARROW(FK_CMP, 24); 21135 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 21136 L_2B02134E: 21137 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 21138 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 21139 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 21140 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 21141 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 21142 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 21143 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 21144 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 21145 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21147 _flag_k = FK_CMP; 21148 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 21149 L_2B021366: 21150 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 21151 L_2B021369: 21152 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 21153 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 21154 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 21155 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 21156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21158 _flag_k = FK_CMP; 21159 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 21160 L_2B021377: 21161 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 21162 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 21163 L_2B02137C: 21164 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 21165 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 21166 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21168 _flag_k = FK_CMP; 21169 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 21170 L_2B021384: 21171 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 21172 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 21173 L_2B021389: 21174 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 21175 L_2B02138B: 21176 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 21177 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 21178 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 21179 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 21180 L_2B021397: 21181 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 21182 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 21183 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 21184 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 21185 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 21186 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 21187 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 21188 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 21189 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 21190 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 21191 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 21192 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 21193 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 21194 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21196 _flag_k = FK_CMP; 21197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 21198 L_2B0213BE: 21199 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 21200 L_2B0213C1: 21201 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 21202 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 21203 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 21204 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 21205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21207 _flag_k = FK_CMP; 21208 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 21209 L_2B0213CF: 21210 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 21211 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 21212 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 21213 L_2B0213D9: 21214 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 21215 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 21216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21218 _flag_k = FK_CMP; 21219 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 21220 L_2B0213E0: 21221 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 21222 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 21223 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 21224 L_2B0213E9: 21225 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 21226 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 21227 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 21228 L_2B0213F3: 21229 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 21230 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 21231 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21233 _flag_k = FK_NARROW(FK_CMP, 24); 21234 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 21235 L_2B0213FA: 21236 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 21237 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 21238 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 21239 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 21240 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 21241 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 21242 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 21243 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 21244 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21246 _flag_k = FK_CMP; 21247 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 21248 L_2B021413: 21249 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 21250 L_2B021416: 21251 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 21252 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 21253 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 21254 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 21255 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21257 _flag_k = FK_CMP; 21258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 21259 L_2B021424: 21260 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 21261 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 21262 L_2B021429: 21263 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 21264 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 21265 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21267 _flag_k = FK_CMP; 21268 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 21269 L_2B021430: 21270 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 21271 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 21272 L_2B021434: 21273 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 21274 L_2B021437: 21275 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 21276 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 21277 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 21278 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 21279 L_2B021441: 21280 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 21281 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 21282 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 21283 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 21284 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 21285 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 21286 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 21287 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 21288 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 21289 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 21290 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 21291 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 21292 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 21293 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21295 _flag_k = FK_CMP; 21296 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 21297 L_2B021467: 21298 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 21299 L_2B02146A: 21300 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 21301 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 21302 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 21303 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 21304 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21306 _flag_k = FK_CMP; 21307 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 21308 L_2B021478: 21309 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 21310 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 21311 L_2B02147D: 21312 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 21313 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 21314 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21316 _flag_k = FK_CMP; 21317 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 21318 L_2B021485: 21319 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 21320 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 21321 L_2B02148A: 21322 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 21323 L_2B02148C: 21324 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 21325 L_2B02148F: 21326 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 21327 L_2B021492: 21328 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 21329 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 21330 L_2B021498: 21331 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 21332 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 21333 RECOMP_FLAGS_IN(); 21334 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 21335 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 21336 RECOMP_FLAGS_IN(); 21337 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 21338 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 21339 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21340 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21341 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 21342 _flag_k = FK_ADD; 21343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 21344 eax = eax - 1; /* 0x2B0214AF: dec eax */ 21345 _flag_k = FK_DEC; 21346 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 21347 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 21348 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 21349 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 21350 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 21351 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 21352 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 21353 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 21354 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 21355 RECOMP_REGS_OUT(); 21356 } 21357 21358 void sub_2B021225(void) { 21359 int _fpu_cmp = 0; 21360 uint32_t _cf = 0; 21361 int _df = 1; 21362 uint32_t _flag_k = FK_NONE; 21363 uint32_t _flag_a = 0, _flag_b = 0; 21364 uint32_t _itail_tgt = 0; 21365 RECOMP_REGS_LOCALS 21366 RECOMP_ENTER(0x2B021225u); 21367 21368 L_2B021225: 21369 MEM32(ebx + 0x8) = edx; /* 0x2B021225: mov dword ptr [ebx + 8], edx */ 21370 esi = MEM32(ebp + (-0x4)); /* 0x2B021228: mov esi, dword ptr [ebp - 4] */ 21371 SET_LO8(ecx, MEM8(esi + 0x38)); /* 0x2B02122B: mov cl, byte ptr [esi + 0x38] */ 21372 SET_LO8(ebx, 1); /* 0x2B02122E: mov bl, 1 */ 21373 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B021230: cmp cl, bl */ 21374 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21376 _flag_k = FK_NARROW(FK_CMP, 24); 21377 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021498; /* 0x2B021232: jne 0x2b021498 */ 21378 L_2B021238: 21379 ecx = MEM32(edi + 0x4); /* 0x2B021238: mov ecx, dword ptr [edi + 4] */ 21380 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02123B: cmp eax, dword ptr [ecx + 4] */ 21381 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21383 _flag_k = FK_CMP; 21384 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B02123E: je 0x2b021492 */ 21385 L_2B021244: 21386 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 21387 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21389 _flag_k = FK_NARROW(FK_CMP, 24); 21390 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 21391 L_2B02124D: 21392 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 21393 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 21394 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 21395 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21397 _flag_k = FK_CMP; 21398 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 21399 L_2B021256: 21400 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 21401 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 21402 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 21403 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21404 _cf = 0; 21405 _flag_k = FK_NARROW(FK_TEST, 24); 21406 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 21407 L_2B021260: 21408 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 21409 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 21410 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 21411 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 21412 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 21413 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 21414 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 21415 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 21416 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 21417 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21419 _flag_k = FK_CMP; 21420 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 21421 L_2B02127C: 21422 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 21423 L_2B02127F: 21424 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 21425 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 21426 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 21427 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 21428 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21430 _flag_k = FK_CMP; 21431 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 21432 L_2B02128D: 21433 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 21434 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 21435 L_2B021292: 21436 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 21437 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 21438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21440 _flag_k = FK_CMP; 21441 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 21442 L_2B021299: 21443 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 21444 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 21445 L_2B02129D: 21446 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 21447 L_2B0212A0: 21448 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 21449 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 21450 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 21451 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 21452 L_2B0212AB: 21453 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 21454 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 21455 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21457 _flag_k = FK_NARROW(FK_CMP, 24); 21458 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 21459 L_2B0212B6: 21460 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 21461 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 21462 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21464 _flag_k = FK_NARROW(FK_CMP, 24); 21465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 21466 L_2B0212C2: 21467 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 21468 L_2B0212C4: 21469 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 21470 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 21471 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21472 _cf = 0; 21473 _flag_k = FK_NARROW(FK_TEST, 24); 21474 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 21475 L_2B0212CB: 21476 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 21477 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 21478 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 21479 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 21480 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 21481 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 21482 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 21483 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 21484 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 21485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21487 _flag_k = FK_CMP; 21488 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 21489 L_2B0212E7: 21490 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 21491 L_2B0212EA: 21492 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 21493 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 21494 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 21495 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 21496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21498 _flag_k = FK_CMP; 21499 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 21500 L_2B0212F8: 21501 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 21502 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 21503 L_2B0212FD: 21504 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 21505 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 21506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21508 _flag_k = FK_CMP; 21509 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 21510 L_2B021305: 21511 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 21512 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 21513 L_2B02130A: 21514 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 21515 L_2B02130C: 21516 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 21517 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 21518 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 21519 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 21520 L_2B021317: 21521 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 21522 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 21523 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21525 _flag_k = FK_NARROW(FK_CMP, 24); 21526 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 21527 L_2B021323: 21528 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 21529 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 21530 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21532 _flag_k = FK_NARROW(FK_CMP, 24); 21533 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 21534 L_2B02132E: 21535 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 21536 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 21537 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 21538 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 21539 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21541 _flag_k = FK_CMP; 21542 RECOMP_BACKEDGE(); 21543 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 21544 L_2B021341: 21545 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 21546 L_2B021346: 21547 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 21548 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 21549 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21551 _flag_k = FK_NARROW(FK_CMP, 24); 21552 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 21553 L_2B02134E: 21554 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 21555 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 21556 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 21557 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 21558 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 21559 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 21560 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 21561 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 21562 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21564 _flag_k = FK_CMP; 21565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 21566 L_2B021366: 21567 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 21568 L_2B021369: 21569 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 21570 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 21571 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 21572 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 21573 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21575 _flag_k = FK_CMP; 21576 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 21577 L_2B021377: 21578 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 21579 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 21580 L_2B02137C: 21581 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 21582 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 21583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21585 _flag_k = FK_CMP; 21586 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 21587 L_2B021384: 21588 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 21589 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 21590 L_2B021389: 21591 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 21592 L_2B02138B: 21593 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 21594 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 21595 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 21596 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 21597 L_2B021397: 21598 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 21599 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 21600 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 21601 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 21602 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 21603 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 21604 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 21605 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 21606 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 21607 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 21608 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 21609 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 21610 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 21611 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21613 _flag_k = FK_CMP; 21614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 21615 L_2B0213BE: 21616 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 21617 L_2B0213C1: 21618 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 21619 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 21620 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 21621 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 21622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21624 _flag_k = FK_CMP; 21625 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 21626 L_2B0213CF: 21627 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 21628 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 21629 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 21630 L_2B0213D9: 21631 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 21632 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 21633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21635 _flag_k = FK_CMP; 21636 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 21637 L_2B0213E0: 21638 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 21639 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 21640 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 21641 L_2B0213E9: 21642 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 21643 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 21644 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 21645 L_2B0213F3: 21646 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 21647 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 21648 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21650 _flag_k = FK_NARROW(FK_CMP, 24); 21651 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 21652 L_2B0213FA: 21653 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 21654 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 21655 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 21656 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 21657 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 21658 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 21659 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 21660 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 21661 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21663 _flag_k = FK_CMP; 21664 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 21665 L_2B021413: 21666 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 21667 L_2B021416: 21668 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 21669 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 21670 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 21671 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 21672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21674 _flag_k = FK_CMP; 21675 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 21676 L_2B021424: 21677 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 21678 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 21679 L_2B021429: 21680 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 21681 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 21682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21684 _flag_k = FK_CMP; 21685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 21686 L_2B021430: 21687 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 21688 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 21689 L_2B021434: 21690 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 21691 L_2B021437: 21692 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 21693 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 21694 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 21695 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 21696 L_2B021441: 21697 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 21698 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 21699 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 21700 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 21701 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 21702 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 21703 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 21704 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 21705 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 21706 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 21707 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 21708 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 21709 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 21710 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21712 _flag_k = FK_CMP; 21713 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 21714 L_2B021467: 21715 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 21716 L_2B02146A: 21717 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 21718 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 21719 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 21720 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 21721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21723 _flag_k = FK_CMP; 21724 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 21725 L_2B021478: 21726 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 21727 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 21728 L_2B02147D: 21729 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 21730 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 21731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21733 _flag_k = FK_CMP; 21734 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 21735 L_2B021485: 21736 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 21737 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 21738 L_2B02148A: 21739 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 21740 L_2B02148C: 21741 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 21742 L_2B02148F: 21743 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 21744 L_2B021492: 21745 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 21746 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 21747 L_2B021498: 21748 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 21749 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 21750 RECOMP_FLAGS_IN(); 21751 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 21752 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 21753 RECOMP_FLAGS_IN(); 21754 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 21755 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 21756 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21757 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21758 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 21759 _flag_k = FK_ADD; 21760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 21761 eax = eax - 1; /* 0x2B0214AF: dec eax */ 21762 _flag_k = FK_DEC; 21763 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 21764 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 21765 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 21766 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 21767 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 21768 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 21769 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 21770 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 21771 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 21772 RECOMP_REGS_OUT(); 21773 } 21774 21775 void sub_2B021244(void) { 21776 int _fpu_cmp = 0; 21777 uint32_t _cf = 0; 21778 int _df = 1; 21779 uint32_t _flag_k = FK_NONE; 21780 uint32_t _flag_a = 0, _flag_b = 0; 21781 uint32_t _itail_tgt = 0; 21782 RECOMP_REGS_LOCALS 21783 RECOMP_ENTER(0x2B021244u); 21784 21785 L_2B021244: 21786 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 21787 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21789 _flag_k = FK_NARROW(FK_CMP, 24); 21790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 21791 L_2B02124D: 21792 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 21793 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 21794 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 21795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21797 _flag_k = FK_CMP; 21798 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 21799 L_2B021256: 21800 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 21801 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 21802 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 21803 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21804 _cf = 0; 21805 _flag_k = FK_NARROW(FK_TEST, 24); 21806 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 21807 L_2B021260: 21808 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 21809 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 21810 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 21811 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 21812 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 21813 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 21814 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 21815 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 21816 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 21817 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21819 _flag_k = FK_CMP; 21820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 21821 L_2B02127C: 21822 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 21823 L_2B02127F: 21824 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 21825 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 21826 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 21827 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 21828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21830 _flag_k = FK_CMP; 21831 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 21832 L_2B02128D: 21833 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 21834 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 21835 L_2B021292: 21836 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 21837 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 21838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 21839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21840 _flag_k = FK_CMP; 21841 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 21842 L_2B021299: 21843 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 21844 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 21845 L_2B02129D: 21846 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 21847 L_2B0212A0: 21848 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 21849 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 21850 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 21851 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 21852 L_2B0212AB: 21853 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 21854 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 21855 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21857 _flag_k = FK_NARROW(FK_CMP, 24); 21858 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 21859 L_2B0212B6: 21860 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 21861 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 21862 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21864 _flag_k = FK_NARROW(FK_CMP, 24); 21865 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 21866 L_2B0212C2: 21867 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 21868 L_2B0212C4: 21869 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 21870 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 21871 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21872 _cf = 0; 21873 _flag_k = FK_NARROW(FK_TEST, 24); 21874 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 21875 L_2B0212CB: 21876 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 21877 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 21878 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 21879 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 21880 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 21881 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 21882 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 21883 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 21884 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 21885 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21887 _flag_k = FK_CMP; 21888 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 21889 L_2B0212E7: 21890 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 21891 L_2B0212EA: 21892 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 21893 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 21894 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 21895 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 21896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21898 _flag_k = FK_CMP; 21899 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 21900 L_2B0212F8: 21901 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 21902 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 21903 L_2B0212FD: 21904 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 21905 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 21906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21908 _flag_k = FK_CMP; 21909 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 21910 L_2B021305: 21911 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 21912 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 21913 L_2B02130A: 21914 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 21915 L_2B02130C: 21916 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 21917 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 21918 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 21919 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 21920 L_2B021317: 21921 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 21922 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 21923 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21925 _flag_k = FK_NARROW(FK_CMP, 24); 21926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 21927 L_2B021323: 21928 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 21929 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 21930 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21932 _flag_k = FK_NARROW(FK_CMP, 24); 21933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 21934 L_2B02132E: 21935 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 21936 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 21937 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 21938 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 21939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21941 _flag_k = FK_CMP; 21942 RECOMP_BACKEDGE(); 21943 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 21944 L_2B021341: 21945 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 21946 L_2B021346: 21947 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 21948 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 21949 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21951 _flag_k = FK_NARROW(FK_CMP, 24); 21952 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 21953 L_2B02134E: 21954 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 21955 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 21956 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 21957 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 21958 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 21959 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 21960 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 21961 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 21962 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21964 _flag_k = FK_CMP; 21965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 21966 L_2B021366: 21967 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 21968 L_2B021369: 21969 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 21970 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 21971 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 21972 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 21973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 21974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21975 _flag_k = FK_CMP; 21976 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 21977 L_2B021377: 21978 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 21979 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 21980 L_2B02137C: 21981 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 21982 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 21983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21985 _flag_k = FK_CMP; 21986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 21987 L_2B021384: 21988 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 21989 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 21990 L_2B021389: 21991 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 21992 L_2B02138B: 21993 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 21994 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 21995 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 21996 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 21997 L_2B021397: 21998 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 21999 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 22000 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 22001 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 22002 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 22003 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 22004 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 22005 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 22006 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 22007 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 22008 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 22009 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 22010 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 22011 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22013 _flag_k = FK_CMP; 22014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 22015 L_2B0213BE: 22016 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 22017 L_2B0213C1: 22018 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 22019 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 22020 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 22021 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 22022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22024 _flag_k = FK_CMP; 22025 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 22026 L_2B0213CF: 22027 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 22028 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 22029 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 22030 L_2B0213D9: 22031 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 22032 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 22033 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22035 _flag_k = FK_CMP; 22036 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 22037 L_2B0213E0: 22038 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 22039 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 22040 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 22041 L_2B0213E9: 22042 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 22043 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 22044 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 22045 L_2B0213F3: 22046 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 22047 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 22048 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22050 _flag_k = FK_NARROW(FK_CMP, 24); 22051 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 22052 L_2B0213FA: 22053 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 22054 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 22055 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 22056 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 22057 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 22058 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 22059 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 22060 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 22061 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22063 _flag_k = FK_CMP; 22064 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 22065 L_2B021413: 22066 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 22067 L_2B021416: 22068 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 22069 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 22070 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 22071 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 22072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22074 _flag_k = FK_CMP; 22075 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 22076 L_2B021424: 22077 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 22078 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 22079 L_2B021429: 22080 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 22081 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 22082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22084 _flag_k = FK_CMP; 22085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 22086 L_2B021430: 22087 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 22088 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 22089 L_2B021434: 22090 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 22091 L_2B021437: 22092 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 22093 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 22094 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 22095 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 22096 L_2B021441: 22097 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 22098 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 22099 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 22100 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 22101 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 22102 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 22103 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 22104 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 22105 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 22106 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 22107 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 22108 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 22109 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 22110 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22112 _flag_k = FK_CMP; 22113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 22114 L_2B021467: 22115 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 22116 L_2B02146A: 22117 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 22118 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 22119 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 22120 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 22121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22123 _flag_k = FK_CMP; 22124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 22125 L_2B021478: 22126 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 22127 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 22128 L_2B02147D: 22129 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 22130 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 22131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22133 _flag_k = FK_CMP; 22134 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 22135 L_2B021485: 22136 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 22137 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 22138 L_2B02148A: 22139 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 22140 L_2B02148C: 22141 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 22142 L_2B02148F: 22143 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 22144 L_2B021492: 22145 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 22146 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 22147 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 22148 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 22149 RECOMP_FLAGS_IN(); 22150 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 22151 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 22152 RECOMP_FLAGS_IN(); 22153 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 22154 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 22155 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22156 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22157 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 22158 _flag_k = FK_ADD; 22159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22160 eax = eax - 1; /* 0x2B0214AF: dec eax */ 22161 _flag_k = FK_DEC; 22162 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 22163 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 22164 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 22165 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 22166 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 22167 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 22168 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 22169 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 22170 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 22171 RECOMP_REGS_OUT(); 22172 } 22173 22174 void sub_2B0212A0(void) { 22175 int _fpu_cmp = 0; 22176 uint32_t _cf = 0; 22177 int _df = 1; 22178 uint32_t _flag_k = FK_NONE; 22179 uint32_t _flag_a = 0, _flag_b = 0; 22180 uint32_t _itail_tgt = 0; 22181 RECOMP_REGS_LOCALS 22182 RECOMP_ENTER(0x2B0212A0u); 22183 22184 goto L_2B0212A0; 22185 L_2B021244: 22186 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 22187 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22189 _flag_k = FK_NARROW(FK_CMP, 24); 22190 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 22191 L_2B02124D: 22192 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 22193 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 22194 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 22195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 22196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22197 _flag_k = FK_CMP; 22198 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 22199 L_2B021256: 22200 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 22201 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 22202 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 22203 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22204 _cf = 0; 22205 _flag_k = FK_NARROW(FK_TEST, 24); 22206 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 22207 L_2B021260: 22208 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 22209 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 22210 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 22211 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 22212 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 22213 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 22214 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 22215 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 22216 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 22217 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22219 _flag_k = FK_CMP; 22220 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 22221 L_2B02127C: 22222 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 22223 L_2B02127F: 22224 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 22225 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 22226 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 22227 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 22228 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22230 _flag_k = FK_CMP; 22231 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 22232 L_2B02128D: 22233 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 22234 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 22235 L_2B021292: 22236 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 22237 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 22238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22240 _flag_k = FK_CMP; 22241 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 22242 L_2B021299: 22243 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 22244 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 22245 L_2B02129D: 22246 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 22247 L_2B0212A0: 22248 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 22249 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 22250 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 22251 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 22252 L_2B0212AB: 22253 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 22254 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 22255 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22257 _flag_k = FK_NARROW(FK_CMP, 24); 22258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 22259 L_2B0212B6: 22260 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 22261 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 22262 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22264 _flag_k = FK_NARROW(FK_CMP, 24); 22265 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 22266 L_2B0212C2: 22267 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 22268 L_2B0212C4: 22269 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 22270 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 22271 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22272 _cf = 0; 22273 _flag_k = FK_NARROW(FK_TEST, 24); 22274 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 22275 L_2B0212CB: 22276 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 22277 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 22278 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 22279 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 22280 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 22281 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 22282 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 22283 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 22284 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 22285 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22287 _flag_k = FK_CMP; 22288 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 22289 L_2B0212E7: 22290 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 22291 L_2B0212EA: 22292 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 22293 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 22294 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 22295 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 22296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22298 _flag_k = FK_CMP; 22299 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 22300 L_2B0212F8: 22301 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 22302 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 22303 L_2B0212FD: 22304 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 22305 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 22306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22308 _flag_k = FK_CMP; 22309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 22310 L_2B021305: 22311 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 22312 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 22313 L_2B02130A: 22314 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 22315 L_2B02130C: 22316 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 22317 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 22318 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 22319 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 22320 L_2B021317: 22321 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 22322 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 22323 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22325 _flag_k = FK_NARROW(FK_CMP, 24); 22326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 22327 L_2B021323: 22328 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 22329 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 22330 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22332 _flag_k = FK_NARROW(FK_CMP, 24); 22333 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 22334 L_2B02132E: 22335 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 22336 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 22337 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 22338 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 22339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22341 _flag_k = FK_CMP; 22342 RECOMP_BACKEDGE(); 22343 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 22344 L_2B021341: 22345 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 22346 L_2B021346: 22347 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 22348 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 22349 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22351 _flag_k = FK_NARROW(FK_CMP, 24); 22352 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 22353 L_2B02134E: 22354 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 22355 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 22356 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 22357 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 22358 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 22359 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 22360 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 22361 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 22362 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22364 _flag_k = FK_CMP; 22365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 22366 L_2B021366: 22367 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 22368 L_2B021369: 22369 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 22370 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 22371 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 22372 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 22373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22375 _flag_k = FK_CMP; 22376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 22377 L_2B021377: 22378 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 22379 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 22380 L_2B02137C: 22381 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 22382 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 22383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22385 _flag_k = FK_CMP; 22386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 22387 L_2B021384: 22388 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 22389 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 22390 L_2B021389: 22391 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 22392 L_2B02138B: 22393 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 22394 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 22395 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 22396 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 22397 L_2B021397: 22398 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 22399 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 22400 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 22401 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 22402 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 22403 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 22404 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 22405 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 22406 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 22407 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 22408 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 22409 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 22410 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 22411 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22413 _flag_k = FK_CMP; 22414 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 22415 L_2B0213BE: 22416 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 22417 L_2B0213C1: 22418 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 22419 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 22420 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 22421 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 22422 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22424 _flag_k = FK_CMP; 22425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 22426 L_2B0213CF: 22427 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 22428 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 22429 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 22430 L_2B0213D9: 22431 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 22432 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 22433 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22435 _flag_k = FK_CMP; 22436 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 22437 L_2B0213E0: 22438 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 22439 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 22440 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 22441 L_2B0213E9: 22442 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 22443 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 22444 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 22445 L_2B0213F3: 22446 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 22447 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 22448 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22450 _flag_k = FK_NARROW(FK_CMP, 24); 22451 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 22452 L_2B0213FA: 22453 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 22454 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 22455 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 22456 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 22457 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 22458 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 22459 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 22460 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 22461 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22463 _flag_k = FK_CMP; 22464 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 22465 L_2B021413: 22466 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 22467 L_2B021416: 22468 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 22469 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 22470 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 22471 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 22472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22474 _flag_k = FK_CMP; 22475 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 22476 L_2B021424: 22477 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 22478 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 22479 L_2B021429: 22480 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 22481 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 22482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22484 _flag_k = FK_CMP; 22485 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 22486 L_2B021430: 22487 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 22488 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 22489 L_2B021434: 22490 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 22491 L_2B021437: 22492 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 22493 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 22494 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 22495 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 22496 L_2B021441: 22497 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 22498 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 22499 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 22500 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 22501 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 22502 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 22503 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 22504 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 22505 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 22506 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 22507 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 22508 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 22509 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 22510 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22512 _flag_k = FK_CMP; 22513 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 22514 L_2B021467: 22515 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 22516 L_2B02146A: 22517 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 22518 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 22519 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 22520 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 22521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22523 _flag_k = FK_CMP; 22524 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 22525 L_2B021478: 22526 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 22527 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 22528 L_2B02147D: 22529 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 22530 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 22531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22533 _flag_k = FK_CMP; 22534 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 22535 L_2B021485: 22536 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 22537 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 22538 L_2B02148A: 22539 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 22540 L_2B02148C: 22541 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 22542 L_2B02148F: 22543 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 22544 L_2B021492: 22545 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 22546 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 22547 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 22548 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 22549 RECOMP_FLAGS_IN(); 22550 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 22551 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 22552 RECOMP_FLAGS_IN(); 22553 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 22554 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 22555 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22556 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22557 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 22558 _flag_k = FK_ADD; 22559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22560 eax = eax - 1; /* 0x2B0214AF: dec eax */ 22561 _flag_k = FK_DEC; 22562 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 22563 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 22564 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 22565 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 22566 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 22567 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 22568 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 22569 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 22570 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 22571 RECOMP_REGS_OUT(); 22572 } 22573 22574 void sub_2B0212AB(void) { 22575 int _fpu_cmp = 0; 22576 uint32_t _cf = 0; 22577 int _df = 1; 22578 uint32_t _flag_k = FK_NONE; 22579 uint32_t _flag_a = 0, _flag_b = 0; 22580 uint32_t _itail_tgt = 0; 22581 RECOMP_REGS_LOCALS 22582 RECOMP_ENTER(0x2B0212ABu); 22583 22584 goto L_2B0212AB; 22585 L_2B021244: 22586 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 22587 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22589 _flag_k = FK_NARROW(FK_CMP, 24); 22590 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 22591 L_2B02124D: 22592 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 22593 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 22594 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 22595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 22596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22597 _flag_k = FK_CMP; 22598 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 22599 L_2B021256: 22600 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 22601 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 22602 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 22603 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22604 _cf = 0; 22605 _flag_k = FK_NARROW(FK_TEST, 24); 22606 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 22607 L_2B021260: 22608 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 22609 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 22610 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 22611 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 22612 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 22613 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 22614 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 22615 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 22616 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 22617 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22619 _flag_k = FK_CMP; 22620 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 22621 L_2B02127C: 22622 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 22623 L_2B02127F: 22624 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 22625 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 22626 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 22627 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 22628 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22630 _flag_k = FK_CMP; 22631 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 22632 L_2B02128D: 22633 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 22634 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 22635 L_2B021292: 22636 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 22637 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 22638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22640 _flag_k = FK_CMP; 22641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 22642 L_2B021299: 22643 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 22644 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 22645 L_2B02129D: 22646 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 22647 L_2B0212A0: 22648 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 22649 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 22650 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 22651 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 22652 L_2B0212AB: 22653 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 22654 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 22655 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22657 _flag_k = FK_NARROW(FK_CMP, 24); 22658 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 22659 L_2B0212B6: 22660 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 22661 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 22662 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22664 _flag_k = FK_NARROW(FK_CMP, 24); 22665 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 22666 L_2B0212C2: 22667 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 22668 L_2B0212C4: 22669 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 22670 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 22671 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22672 _cf = 0; 22673 _flag_k = FK_NARROW(FK_TEST, 24); 22674 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 22675 L_2B0212CB: 22676 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 22677 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 22678 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 22679 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 22680 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 22681 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 22682 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 22683 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 22684 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 22685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22687 _flag_k = FK_CMP; 22688 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 22689 L_2B0212E7: 22690 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 22691 L_2B0212EA: 22692 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 22693 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 22694 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 22695 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 22696 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22698 _flag_k = FK_CMP; 22699 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 22700 L_2B0212F8: 22701 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 22702 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 22703 L_2B0212FD: 22704 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 22705 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 22706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22708 _flag_k = FK_CMP; 22709 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 22710 L_2B021305: 22711 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 22712 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 22713 L_2B02130A: 22714 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 22715 L_2B02130C: 22716 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 22717 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 22718 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 22719 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 22720 L_2B021317: 22721 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 22722 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 22723 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22725 _flag_k = FK_NARROW(FK_CMP, 24); 22726 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 22727 L_2B021323: 22728 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 22729 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 22730 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22732 _flag_k = FK_NARROW(FK_CMP, 24); 22733 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 22734 L_2B02132E: 22735 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 22736 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 22737 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 22738 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 22739 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22741 _flag_k = FK_CMP; 22742 RECOMP_BACKEDGE(); 22743 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 22744 L_2B021341: 22745 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 22746 L_2B021346: 22747 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 22748 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 22749 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22751 _flag_k = FK_NARROW(FK_CMP, 24); 22752 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 22753 L_2B02134E: 22754 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 22755 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 22756 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 22757 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 22758 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 22759 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 22760 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 22761 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 22762 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22764 _flag_k = FK_CMP; 22765 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 22766 L_2B021366: 22767 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 22768 L_2B021369: 22769 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 22770 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 22771 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 22772 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 22773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22775 _flag_k = FK_CMP; 22776 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 22777 L_2B021377: 22778 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 22779 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 22780 L_2B02137C: 22781 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 22782 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 22783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22785 _flag_k = FK_CMP; 22786 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 22787 L_2B021384: 22788 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 22789 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 22790 L_2B021389: 22791 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 22792 L_2B02138B: 22793 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 22794 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 22795 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 22796 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 22797 L_2B021397: 22798 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 22799 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 22800 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 22801 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 22802 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 22803 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 22804 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 22805 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 22806 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 22807 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 22808 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 22809 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 22810 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 22811 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22813 _flag_k = FK_CMP; 22814 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 22815 L_2B0213BE: 22816 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 22817 L_2B0213C1: 22818 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 22819 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 22820 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 22821 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 22822 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22823 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22824 _flag_k = FK_CMP; 22825 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 22826 L_2B0213CF: 22827 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 22828 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 22829 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 22830 L_2B0213D9: 22831 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 22832 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 22833 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22835 _flag_k = FK_CMP; 22836 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 22837 L_2B0213E0: 22838 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 22839 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 22840 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 22841 L_2B0213E9: 22842 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 22843 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 22844 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 22845 L_2B0213F3: 22846 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 22847 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 22848 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22850 _flag_k = FK_NARROW(FK_CMP, 24); 22851 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 22852 L_2B0213FA: 22853 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 22854 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 22855 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 22856 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 22857 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 22858 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 22859 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 22860 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 22861 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22863 _flag_k = FK_CMP; 22864 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 22865 L_2B021413: 22866 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 22867 L_2B021416: 22868 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 22869 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 22870 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 22871 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 22872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22874 _flag_k = FK_CMP; 22875 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 22876 L_2B021424: 22877 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 22878 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 22879 L_2B021429: 22880 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 22881 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 22882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 22883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22884 _flag_k = FK_CMP; 22885 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 22886 L_2B021430: 22887 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 22888 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 22889 L_2B021434: 22890 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 22891 L_2B021437: 22892 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 22893 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 22894 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 22895 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 22896 L_2B021441: 22897 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 22898 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 22899 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 22900 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 22901 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 22902 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 22903 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 22904 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 22905 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 22906 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 22907 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 22908 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 22909 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 22910 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22912 _flag_k = FK_CMP; 22913 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 22914 L_2B021467: 22915 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 22916 L_2B02146A: 22917 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 22918 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 22919 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 22920 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 22921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 22922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22923 _flag_k = FK_CMP; 22924 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 22925 L_2B021478: 22926 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 22927 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 22928 L_2B02147D: 22929 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 22930 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 22931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22933 _flag_k = FK_CMP; 22934 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 22935 L_2B021485: 22936 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 22937 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 22938 L_2B02148A: 22939 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 22940 L_2B02148C: 22941 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 22942 L_2B02148F: 22943 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 22944 L_2B021492: 22945 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 22946 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 22947 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 22948 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 22949 RECOMP_FLAGS_IN(); 22950 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 22951 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 22952 RECOMP_FLAGS_IN(); 22953 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 22954 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 22955 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 22956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 22957 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 22958 _flag_k = FK_ADD; 22959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 22960 eax = eax - 1; /* 0x2B0214AF: dec eax */ 22961 _flag_k = FK_DEC; 22962 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 22963 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 22964 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 22965 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 22966 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 22967 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 22968 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 22969 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 22970 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 22971 RECOMP_REGS_OUT(); 22972 } 22973 22974 void sub_2B0212C4(void) { 22975 int _fpu_cmp = 0; 22976 uint32_t _cf = 0; 22977 int _df = 1; 22978 uint32_t _flag_k = FK_NONE; 22979 uint32_t _flag_a = 0, _flag_b = 0; 22980 uint32_t _itail_tgt = 0; 22981 RECOMP_REGS_LOCALS 22982 RECOMP_ENTER(0x2B0212C4u); 22983 22984 goto L_2B0212C4; 22985 L_2B021244: 22986 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 22987 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22989 _flag_k = FK_NARROW(FK_CMP, 24); 22990 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 22991 L_2B02124D: 22992 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 22993 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 22994 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 22995 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 22996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22997 _flag_k = FK_CMP; 22998 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 22999 L_2B021256: 23000 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 23001 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 23002 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 23003 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23004 _cf = 0; 23005 _flag_k = FK_NARROW(FK_TEST, 24); 23006 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 23007 L_2B021260: 23008 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 23009 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 23010 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 23011 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 23012 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 23013 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 23014 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 23015 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 23016 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 23017 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23019 _flag_k = FK_CMP; 23020 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 23021 L_2B02127C: 23022 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 23023 L_2B02127F: 23024 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 23025 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 23026 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 23027 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 23028 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23030 _flag_k = FK_CMP; 23031 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 23032 L_2B02128D: 23033 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 23034 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 23035 L_2B021292: 23036 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 23037 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 23038 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23040 _flag_k = FK_CMP; 23041 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 23042 L_2B021299: 23043 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 23044 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 23045 L_2B02129D: 23046 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 23047 L_2B0212A0: 23048 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 23049 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 23050 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 23051 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 23052 L_2B0212AB: 23053 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 23054 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 23055 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23057 _flag_k = FK_NARROW(FK_CMP, 24); 23058 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 23059 L_2B0212B6: 23060 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 23061 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 23062 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23064 _flag_k = FK_NARROW(FK_CMP, 24); 23065 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 23066 L_2B0212C2: 23067 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 23068 L_2B0212C4: 23069 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 23070 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 23071 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23072 _cf = 0; 23073 _flag_k = FK_NARROW(FK_TEST, 24); 23074 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 23075 L_2B0212CB: 23076 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 23077 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 23078 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 23079 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 23080 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 23081 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 23082 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 23083 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 23084 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 23085 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23087 _flag_k = FK_CMP; 23088 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 23089 L_2B0212E7: 23090 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 23091 L_2B0212EA: 23092 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 23093 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 23094 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 23095 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 23096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23098 _flag_k = FK_CMP; 23099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 23100 L_2B0212F8: 23101 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 23102 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 23103 L_2B0212FD: 23104 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 23105 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 23106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23108 _flag_k = FK_CMP; 23109 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 23110 L_2B021305: 23111 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 23112 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 23113 L_2B02130A: 23114 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 23115 L_2B02130C: 23116 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 23117 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 23118 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 23119 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 23120 L_2B021317: 23121 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 23122 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 23123 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23125 _flag_k = FK_NARROW(FK_CMP, 24); 23126 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 23127 L_2B021323: 23128 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 23129 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 23130 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23132 _flag_k = FK_NARROW(FK_CMP, 24); 23133 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 23134 L_2B02132E: 23135 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 23136 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 23137 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 23138 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 23139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23141 _flag_k = FK_CMP; 23142 RECOMP_BACKEDGE(); 23143 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 23144 L_2B021341: 23145 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 23146 L_2B021346: 23147 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 23148 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 23149 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23151 _flag_k = FK_NARROW(FK_CMP, 24); 23152 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 23153 L_2B02134E: 23154 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 23155 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 23156 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 23157 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 23158 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 23159 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 23160 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 23161 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 23162 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23164 _flag_k = FK_CMP; 23165 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 23166 L_2B021366: 23167 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 23168 L_2B021369: 23169 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 23170 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 23171 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 23172 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 23173 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23175 _flag_k = FK_CMP; 23176 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 23177 L_2B021377: 23178 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 23179 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 23180 L_2B02137C: 23181 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 23182 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 23183 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23185 _flag_k = FK_CMP; 23186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 23187 L_2B021384: 23188 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 23189 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 23190 L_2B021389: 23191 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 23192 L_2B02138B: 23193 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 23194 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 23195 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 23196 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 23197 L_2B021397: 23198 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 23199 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 23200 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 23201 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 23202 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 23203 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 23204 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 23205 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 23206 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 23207 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 23208 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 23209 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 23210 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 23211 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23213 _flag_k = FK_CMP; 23214 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 23215 L_2B0213BE: 23216 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 23217 L_2B0213C1: 23218 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 23219 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 23220 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 23221 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 23222 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23224 _flag_k = FK_CMP; 23225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 23226 L_2B0213CF: 23227 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 23228 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 23229 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 23230 L_2B0213D9: 23231 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 23232 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 23233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23235 _flag_k = FK_CMP; 23236 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 23237 L_2B0213E0: 23238 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 23239 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 23240 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 23241 L_2B0213E9: 23242 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 23243 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 23244 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 23245 L_2B0213F3: 23246 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 23247 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 23248 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23250 _flag_k = FK_NARROW(FK_CMP, 24); 23251 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 23252 L_2B0213FA: 23253 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 23254 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 23255 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 23256 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 23257 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 23258 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 23259 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 23260 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 23261 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23263 _flag_k = FK_CMP; 23264 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 23265 L_2B021413: 23266 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 23267 L_2B021416: 23268 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 23269 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 23270 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 23271 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 23272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23274 _flag_k = FK_CMP; 23275 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 23276 L_2B021424: 23277 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 23278 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 23279 L_2B021429: 23280 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 23281 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 23282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23284 _flag_k = FK_CMP; 23285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 23286 L_2B021430: 23287 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 23288 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 23289 L_2B021434: 23290 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 23291 L_2B021437: 23292 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 23293 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 23294 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 23295 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 23296 L_2B021441: 23297 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 23298 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 23299 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 23300 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 23301 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 23302 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 23303 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 23304 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 23305 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 23306 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 23307 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 23308 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 23309 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 23310 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23312 _flag_k = FK_CMP; 23313 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 23314 L_2B021467: 23315 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 23316 L_2B02146A: 23317 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 23318 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 23319 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 23320 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 23321 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23323 _flag_k = FK_CMP; 23324 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 23325 L_2B021478: 23326 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 23327 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 23328 L_2B02147D: 23329 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 23330 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 23331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23333 _flag_k = FK_CMP; 23334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 23335 L_2B021485: 23336 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 23337 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 23338 L_2B02148A: 23339 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 23340 L_2B02148C: 23341 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 23342 L_2B02148F: 23343 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 23344 L_2B021492: 23345 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 23346 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 23347 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 23348 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 23349 RECOMP_FLAGS_IN(); 23350 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 23351 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 23352 RECOMP_FLAGS_IN(); 23353 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 23354 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 23355 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 23356 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23357 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 23358 _flag_k = FK_ADD; 23359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 23360 eax = eax - 1; /* 0x2B0214AF: dec eax */ 23361 _flag_k = FK_DEC; 23362 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 23363 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 23364 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 23365 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 23366 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 23367 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 23368 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 23369 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 23370 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 23371 RECOMP_REGS_OUT(); 23372 } 23373 23374 void sub_2B02130C(void) { 23375 int _fpu_cmp = 0; 23376 uint32_t _cf = 0; 23377 int _df = 1; 23378 uint32_t _flag_k = FK_NONE; 23379 uint32_t _flag_a = 0, _flag_b = 0; 23380 uint32_t _itail_tgt = 0; 23381 RECOMP_REGS_LOCALS 23382 RECOMP_ENTER(0x2B02130Cu); 23383 23384 goto L_2B02130C; 23385 L_2B021244: 23386 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 23387 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23389 _flag_k = FK_NARROW(FK_CMP, 24); 23390 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 23391 L_2B02124D: 23392 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 23393 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 23394 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 23395 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 23396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23397 _flag_k = FK_CMP; 23398 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 23399 L_2B021256: 23400 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 23401 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 23402 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 23403 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23404 _cf = 0; 23405 _flag_k = FK_NARROW(FK_TEST, 24); 23406 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 23407 L_2B021260: 23408 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 23409 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 23410 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 23411 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 23412 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 23413 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 23414 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 23415 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 23416 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 23417 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23419 _flag_k = FK_CMP; 23420 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 23421 L_2B02127C: 23422 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 23423 L_2B02127F: 23424 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 23425 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 23426 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 23427 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 23428 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23430 _flag_k = FK_CMP; 23431 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 23432 L_2B02128D: 23433 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 23434 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 23435 L_2B021292: 23436 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 23437 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 23438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23440 _flag_k = FK_CMP; 23441 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 23442 L_2B021299: 23443 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 23444 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 23445 L_2B02129D: 23446 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 23447 L_2B0212A0: 23448 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 23449 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 23450 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 23451 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 23452 L_2B0212AB: 23453 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 23454 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 23455 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23457 _flag_k = FK_NARROW(FK_CMP, 24); 23458 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 23459 L_2B0212B6: 23460 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 23461 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 23462 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23464 _flag_k = FK_NARROW(FK_CMP, 24); 23465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 23466 L_2B0212C2: 23467 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 23468 L_2B0212C4: 23469 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 23470 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 23471 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23472 _cf = 0; 23473 _flag_k = FK_NARROW(FK_TEST, 24); 23474 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 23475 L_2B0212CB: 23476 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 23477 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 23478 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 23479 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 23480 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 23481 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 23482 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 23483 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 23484 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 23485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23487 _flag_k = FK_CMP; 23488 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 23489 L_2B0212E7: 23490 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 23491 L_2B0212EA: 23492 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 23493 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 23494 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 23495 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 23496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23498 _flag_k = FK_CMP; 23499 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 23500 L_2B0212F8: 23501 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 23502 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 23503 L_2B0212FD: 23504 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 23505 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 23506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23508 _flag_k = FK_CMP; 23509 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 23510 L_2B021305: 23511 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 23512 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 23513 L_2B02130A: 23514 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 23515 L_2B02130C: 23516 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 23517 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 23518 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 23519 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 23520 L_2B021317: 23521 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 23522 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 23523 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23525 _flag_k = FK_NARROW(FK_CMP, 24); 23526 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 23527 L_2B021323: 23528 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 23529 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 23530 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23532 _flag_k = FK_NARROW(FK_CMP, 24); 23533 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 23534 L_2B02132E: 23535 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 23536 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 23537 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 23538 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 23539 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23541 _flag_k = FK_CMP; 23542 RECOMP_BACKEDGE(); 23543 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 23544 L_2B021341: 23545 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 23546 L_2B021346: 23547 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 23548 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 23549 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23551 _flag_k = FK_NARROW(FK_CMP, 24); 23552 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 23553 L_2B02134E: 23554 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 23555 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 23556 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 23557 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 23558 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 23559 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 23560 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 23561 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 23562 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23564 _flag_k = FK_CMP; 23565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 23566 L_2B021366: 23567 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 23568 L_2B021369: 23569 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 23570 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 23571 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 23572 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 23573 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23575 _flag_k = FK_CMP; 23576 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 23577 L_2B021377: 23578 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 23579 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 23580 L_2B02137C: 23581 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 23582 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 23583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23585 _flag_k = FK_CMP; 23586 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 23587 L_2B021384: 23588 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 23589 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 23590 L_2B021389: 23591 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 23592 L_2B02138B: 23593 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 23594 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 23595 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 23596 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 23597 L_2B021397: 23598 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 23599 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 23600 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 23601 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 23602 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 23603 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 23604 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 23605 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 23606 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 23607 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 23608 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 23609 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 23610 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 23611 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23613 _flag_k = FK_CMP; 23614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 23615 L_2B0213BE: 23616 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 23617 L_2B0213C1: 23618 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 23619 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 23620 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 23621 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 23622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23624 _flag_k = FK_CMP; 23625 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 23626 L_2B0213CF: 23627 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 23628 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 23629 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 23630 L_2B0213D9: 23631 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 23632 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 23633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23635 _flag_k = FK_CMP; 23636 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 23637 L_2B0213E0: 23638 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 23639 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 23640 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 23641 L_2B0213E9: 23642 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 23643 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 23644 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 23645 L_2B0213F3: 23646 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 23647 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 23648 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23650 _flag_k = FK_NARROW(FK_CMP, 24); 23651 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 23652 L_2B0213FA: 23653 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 23654 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 23655 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 23656 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 23657 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 23658 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 23659 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 23660 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 23661 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23663 _flag_k = FK_CMP; 23664 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 23665 L_2B021413: 23666 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 23667 L_2B021416: 23668 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 23669 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 23670 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 23671 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 23672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23674 _flag_k = FK_CMP; 23675 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 23676 L_2B021424: 23677 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 23678 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 23679 L_2B021429: 23680 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 23681 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 23682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23684 _flag_k = FK_CMP; 23685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 23686 L_2B021430: 23687 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 23688 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 23689 L_2B021434: 23690 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 23691 L_2B021437: 23692 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 23693 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 23694 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 23695 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 23696 L_2B021441: 23697 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 23698 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 23699 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 23700 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 23701 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 23702 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 23703 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 23704 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 23705 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 23706 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 23707 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 23708 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 23709 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 23710 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23712 _flag_k = FK_CMP; 23713 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 23714 L_2B021467: 23715 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 23716 L_2B02146A: 23717 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 23718 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 23719 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 23720 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 23721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23723 _flag_k = FK_CMP; 23724 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 23725 L_2B021478: 23726 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 23727 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 23728 L_2B02147D: 23729 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 23730 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 23731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23733 _flag_k = FK_CMP; 23734 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 23735 L_2B021485: 23736 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 23737 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 23738 L_2B02148A: 23739 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 23740 L_2B02148C: 23741 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 23742 L_2B02148F: 23743 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 23744 L_2B021492: 23745 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 23746 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 23747 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 23748 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 23749 RECOMP_FLAGS_IN(); 23750 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 23751 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 23752 RECOMP_FLAGS_IN(); 23753 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 23754 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 23755 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 23756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 23757 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 23758 _flag_k = FK_ADD; 23759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 23760 eax = eax - 1; /* 0x2B0214AF: dec eax */ 23761 _flag_k = FK_DEC; 23762 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 23763 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 23764 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 23765 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 23766 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 23767 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 23768 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 23769 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 23770 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 23771 RECOMP_REGS_OUT(); 23772 } 23773 23774 void sub_2B021317(void) { 23775 int _fpu_cmp = 0; 23776 uint32_t _cf = 0; 23777 int _df = 1; 23778 uint32_t _flag_k = FK_NONE; 23779 uint32_t _flag_a = 0, _flag_b = 0; 23780 uint32_t _itail_tgt = 0; 23781 RECOMP_REGS_LOCALS 23782 RECOMP_ENTER(0x2B021317u); 23783 23784 goto L_2B021317; 23785 L_2B021244: 23786 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 23787 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23789 _flag_k = FK_NARROW(FK_CMP, 24); 23790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 23791 L_2B02124D: 23792 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 23793 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 23794 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 23795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 23796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23797 _flag_k = FK_CMP; 23798 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 23799 L_2B021256: 23800 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 23801 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 23802 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 23803 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23804 _cf = 0; 23805 _flag_k = FK_NARROW(FK_TEST, 24); 23806 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 23807 L_2B021260: 23808 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 23809 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 23810 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 23811 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 23812 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 23813 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 23814 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 23815 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 23816 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 23817 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23819 _flag_k = FK_CMP; 23820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 23821 L_2B02127C: 23822 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 23823 L_2B02127F: 23824 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 23825 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 23826 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 23827 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 23828 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23830 _flag_k = FK_CMP; 23831 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 23832 L_2B02128D: 23833 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 23834 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 23835 L_2B021292: 23836 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 23837 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 23838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 23839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23840 _flag_k = FK_CMP; 23841 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 23842 L_2B021299: 23843 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 23844 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 23845 L_2B02129D: 23846 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 23847 L_2B0212A0: 23848 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 23849 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 23850 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 23851 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 23852 L_2B0212AB: 23853 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 23854 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 23855 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23857 _flag_k = FK_NARROW(FK_CMP, 24); 23858 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 23859 L_2B0212B6: 23860 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 23861 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 23862 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23864 _flag_k = FK_NARROW(FK_CMP, 24); 23865 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 23866 L_2B0212C2: 23867 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 23868 L_2B0212C4: 23869 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 23870 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 23871 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23872 _cf = 0; 23873 _flag_k = FK_NARROW(FK_TEST, 24); 23874 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 23875 L_2B0212CB: 23876 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 23877 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 23878 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 23879 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 23880 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 23881 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 23882 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 23883 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 23884 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 23885 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23887 _flag_k = FK_CMP; 23888 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 23889 L_2B0212E7: 23890 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 23891 L_2B0212EA: 23892 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 23893 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 23894 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 23895 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 23896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23898 _flag_k = FK_CMP; 23899 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 23900 L_2B0212F8: 23901 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 23902 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 23903 L_2B0212FD: 23904 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 23905 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 23906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23908 _flag_k = FK_CMP; 23909 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 23910 L_2B021305: 23911 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 23912 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 23913 L_2B02130A: 23914 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 23915 L_2B02130C: 23916 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 23917 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 23918 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 23919 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 23920 L_2B021317: 23921 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 23922 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 23923 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23925 _flag_k = FK_NARROW(FK_CMP, 24); 23926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 23927 L_2B021323: 23928 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 23929 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 23930 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23932 _flag_k = FK_NARROW(FK_CMP, 24); 23933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 23934 L_2B02132E: 23935 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 23936 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 23937 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 23938 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 23939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23941 _flag_k = FK_CMP; 23942 RECOMP_BACKEDGE(); 23943 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 23944 L_2B021341: 23945 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 23946 L_2B021346: 23947 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 23948 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 23949 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 23950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23951 _flag_k = FK_NARROW(FK_CMP, 24); 23952 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 23953 L_2B02134E: 23954 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 23955 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 23956 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 23957 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 23958 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 23959 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 23960 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 23961 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 23962 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23964 _flag_k = FK_CMP; 23965 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 23966 L_2B021366: 23967 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 23968 L_2B021369: 23969 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 23970 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 23971 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 23972 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 23973 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 23974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23975 _flag_k = FK_CMP; 23976 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 23977 L_2B021377: 23978 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 23979 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 23980 L_2B02137C: 23981 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 23982 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 23983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23985 _flag_k = FK_CMP; 23986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 23987 L_2B021384: 23988 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 23989 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 23990 L_2B021389: 23991 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 23992 L_2B02138B: 23993 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 23994 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 23995 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 23996 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 23997 L_2B021397: 23998 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 23999 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 24000 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 24001 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 24002 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 24003 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 24004 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 24005 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 24006 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 24007 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 24008 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 24009 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 24010 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 24011 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24013 _flag_k = FK_CMP; 24014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 24015 L_2B0213BE: 24016 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 24017 L_2B0213C1: 24018 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 24019 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 24020 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 24021 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 24022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24024 _flag_k = FK_CMP; 24025 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 24026 L_2B0213CF: 24027 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 24028 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 24029 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 24030 L_2B0213D9: 24031 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 24032 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 24033 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 24034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24035 _flag_k = FK_CMP; 24036 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 24037 L_2B0213E0: 24038 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 24039 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 24040 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 24041 L_2B0213E9: 24042 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 24043 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 24044 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 24045 L_2B0213F3: 24046 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 24047 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 24048 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24050 _flag_k = FK_NARROW(FK_CMP, 24); 24051 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 24052 L_2B0213FA: 24053 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 24054 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 24055 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 24056 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 24057 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 24058 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 24059 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 24060 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 24061 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24063 _flag_k = FK_CMP; 24064 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 24065 L_2B021413: 24066 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 24067 L_2B021416: 24068 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 24069 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 24070 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 24071 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 24072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24074 _flag_k = FK_CMP; 24075 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 24076 L_2B021424: 24077 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 24078 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 24079 L_2B021429: 24080 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 24081 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 24082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 24083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24084 _flag_k = FK_CMP; 24085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 24086 L_2B021430: 24087 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 24088 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 24089 L_2B021434: 24090 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 24091 L_2B021437: 24092 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 24093 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 24094 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 24095 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 24096 L_2B021441: 24097 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 24098 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 24099 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 24100 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 24101 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 24102 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 24103 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 24104 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 24105 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 24106 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 24107 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 24108 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 24109 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 24110 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24112 _flag_k = FK_CMP; 24113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 24114 L_2B021467: 24115 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 24116 L_2B02146A: 24117 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 24118 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 24119 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 24120 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 24121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24123 _flag_k = FK_CMP; 24124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 24125 L_2B021478: 24126 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 24127 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 24128 L_2B02147D: 24129 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 24130 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 24131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24133 _flag_k = FK_CMP; 24134 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 24135 L_2B021485: 24136 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 24137 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 24138 L_2B02148A: 24139 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 24140 L_2B02148C: 24141 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 24142 L_2B02148F: 24143 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 24144 L_2B021492: 24145 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 24146 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 24147 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 24148 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 24149 RECOMP_FLAGS_IN(); 24150 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 24151 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 24152 RECOMP_FLAGS_IN(); 24153 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 24154 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 24155 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 24156 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24157 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 24158 _flag_k = FK_ADD; 24159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 24160 eax = eax - 1; /* 0x2B0214AF: dec eax */ 24161 _flag_k = FK_DEC; 24162 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 24163 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 24164 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 24165 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 24166 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 24167 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 24168 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 24169 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 24170 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 24171 RECOMP_REGS_OUT(); 24172 } 24173 24174 void sub_2B02132E(void) { 24175 int _fpu_cmp = 0; 24176 uint32_t _cf = 0; 24177 int _df = 1; 24178 uint32_t _flag_k = FK_NONE; 24179 uint32_t _flag_a = 0, _flag_b = 0; 24180 uint32_t _itail_tgt = 0; 24181 RECOMP_REGS_LOCALS 24182 RECOMP_ENTER(0x2B02132Eu); 24183 24184 goto L_2B02132E; 24185 L_2B021244: 24186 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x2B021244: cmp byte ptr [eax + 0x38], bl */ 24187 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24189 _flag_k = FK_NARROW(FK_CMP, 24); 24190 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021492; /* 0x2B021247: jne 0x2b021492 */ 24191 L_2B02124D: 24192 edx = MEM32(eax + 0x4); /* 0x2B02124D: mov edx, dword ptr [eax + 4] */ 24193 ecx = MEM32(edx); /* 0x2B021250: mov ecx, dword ptr [edx] */ 24194 /* cmp eax, ecx */ /* 0x2B021252: cmp eax, ecx */ 24195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 24196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24197 _flag_k = FK_CMP; 24198 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212C4; /* 0x2B021254: jne 0x2b0212c4 */ 24199 L_2B021256: 24200 ecx = MEM32(edx + 0x8); /* 0x2B021256: mov ecx, dword ptr [edx + 8] */ 24201 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B021259: mov dl, byte ptr [ecx + 0x38] */ 24202 /* test LO8(edx), LO8(edx) */ /* 0x2B02125C: test dl, dl */ 24203 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 24204 _cf = 0; 24205 _flag_k = FK_NARROW(FK_TEST, 24); 24206 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0212AB; /* 0x2B02125E: jne 0x2b0212ab */ 24207 L_2B021260: 24208 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021260: mov byte ptr [ecx + 0x38], bl */ 24209 edx = MEM32(eax + 0x4); /* 0x2B021263: mov edx, dword ptr [eax + 4] */ 24210 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x2B021266: mov byte ptr [edx + 0x38], 0 */ 24211 ecx = MEM32(eax + 0x4); /* 0x2B02126A: mov ecx, dword ptr [eax + 4] */ 24212 edx = MEM32(ecx + 0x8); /* 0x2B02126D: mov edx, dword ptr [ecx + 8] */ 24213 esi = MEM32(edx); /* 0x2B021270: mov esi, dword ptr [edx] */ 24214 MEM32(ecx + 0x8) = esi; /* 0x2B021272: mov dword ptr [ecx + 8], esi */ 24215 esi = MEM32(edx); /* 0x2B021275: mov esi, dword ptr [edx] */ 24216 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021277: cmp esi, dword ptr [edi + 8] */ 24217 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24219 _flag_k = FK_CMP; 24220 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02127F; /* 0x2B02127A: je 0x2b02127f */ 24221 L_2B02127C: 24222 MEM32(esi + 0x4) = ecx; /* 0x2B02127C: mov dword ptr [esi + 4], ecx */ 24223 L_2B02127F: 24224 esi = MEM32(ecx + 0x4); /* 0x2B02127F: mov esi, dword ptr [ecx + 4] */ 24225 MEM32(edx + 0x4) = esi; /* 0x2B021282: mov dword ptr [edx + 4], esi */ 24226 esi = MEM32(edi + 0x4); /* 0x2B021285: mov esi, dword ptr [edi + 4] */ 24227 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021288: cmp ecx, dword ptr [esi + 4] */ 24228 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24230 _flag_k = FK_CMP; 24231 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021292; /* 0x2B02128B: jne 0x2b021292 */ 24232 L_2B02128D: 24233 MEM32(esi + 0x4) = edx; /* 0x2B02128D: mov dword ptr [esi + 4], edx */ 24234 goto L_2B0212A0; /* 0x2B021290: jmp 0x2b0212a0 */ 24235 L_2B021292: 24236 esi = MEM32(ecx + 0x4); /* 0x2B021292: mov esi, dword ptr [ecx + 4] */ 24237 /* cmp ecx, MEM32(esi) */ /* 0x2B021295: cmp ecx, dword ptr [esi] */ 24238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 24239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24240 _flag_k = FK_CMP; 24241 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02129D; /* 0x2B021297: jne 0x2b02129d */ 24242 L_2B021299: 24243 MEM32(esi) = edx; /* 0x2B021299: mov dword ptr [esi], edx */ 24244 goto L_2B0212A0; /* 0x2B02129B: jmp 0x2b0212a0 */ 24245 L_2B02129D: 24246 MEM32(esi + 0x8) = edx; /* 0x2B02129D: mov dword ptr [esi + 8], edx */ 24247 L_2B0212A0: 24248 MEM32(edx) = ecx; /* 0x2B0212A0: mov dword ptr [edx], ecx */ 24249 MEM32(ecx + 0x4) = edx; /* 0x2B0212A2: mov dword ptr [ecx + 4], edx */ 24250 ecx = MEM32(eax + 0x4); /* 0x2B0212A5: mov ecx, dword ptr [eax + 4] */ 24251 ecx = MEM32(ecx + 0x8); /* 0x2B0212A8: mov ecx, dword ptr [ecx + 8] */ 24252 L_2B0212AB: 24253 edx = MEM32(ecx); /* 0x2B0212AB: mov edx, dword ptr [ecx] */ 24254 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212AD: cmp byte ptr [edx + 0x38], bl */ 24255 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24257 _flag_k = FK_NARROW(FK_CMP, 24); 24258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212B0: jne 0x2b021346 */ 24259 L_2B0212B6: 24260 edx = MEM32(ecx + 0x8); /* 0x2B0212B6: mov edx, dword ptr [ecx + 8] */ 24261 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0212B9: cmp byte ptr [edx + 0x38], bl */ 24262 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24264 _flag_k = FK_NARROW(FK_CMP, 24); 24265 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021346; /* 0x2B0212BC: jne 0x2b021346 */ 24266 L_2B0212C2: 24267 goto L_2B02132E; /* 0x2B0212C2: jmp 0x2b02132e */ 24268 L_2B0212C4: 24269 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x2B0212C4: mov dl, byte ptr [ecx + 0x38] */ 24270 /* test LO8(edx), LO8(edx) */ /* 0x2B0212C7: test dl, dl */ 24271 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 24272 _cf = 0; 24273 _flag_k = FK_NARROW(FK_TEST, 24); 24274 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B021317; /* 0x2B0212C9: jne 0x2b021317 */ 24275 L_2B0212CB: 24276 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0212CB: mov byte ptr [ecx + 0x38], bl */ 24277 ecx = MEM32(eax + 0x4); /* 0x2B0212CE: mov ecx, dword ptr [eax + 4] */ 24278 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B0212D1: mov byte ptr [ecx + 0x38], 0 */ 24279 ecx = MEM32(eax + 0x4); /* 0x2B0212D5: mov ecx, dword ptr [eax + 4] */ 24280 edx = MEM32(ecx); /* 0x2B0212D8: mov edx, dword ptr [ecx] */ 24281 esi = MEM32(edx + 0x8); /* 0x2B0212DA: mov esi, dword ptr [edx + 8] */ 24282 MEM32(ecx) = esi; /* 0x2B0212DD: mov dword ptr [ecx], esi */ 24283 esi = MEM32(edx + 0x8); /* 0x2B0212DF: mov esi, dword ptr [edx + 8] */ 24284 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0212E2: cmp esi, dword ptr [edi + 8] */ 24285 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24287 _flag_k = FK_CMP; 24288 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0212EA; /* 0x2B0212E5: je 0x2b0212ea */ 24289 L_2B0212E7: 24290 MEM32(esi + 0x4) = ecx; /* 0x2B0212E7: mov dword ptr [esi + 4], ecx */ 24291 L_2B0212EA: 24292 esi = MEM32(ecx + 0x4); /* 0x2B0212EA: mov esi, dword ptr [ecx + 4] */ 24293 MEM32(edx + 0x4) = esi; /* 0x2B0212ED: mov dword ptr [edx + 4], esi */ 24294 esi = MEM32(edi + 0x4); /* 0x2B0212F0: mov esi, dword ptr [edi + 4] */ 24295 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0212F3: cmp ecx, dword ptr [esi + 4] */ 24296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24298 _flag_k = FK_CMP; 24299 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0212FD; /* 0x2B0212F6: jne 0x2b0212fd */ 24300 L_2B0212F8: 24301 MEM32(esi + 0x4) = edx; /* 0x2B0212F8: mov dword ptr [esi + 4], edx */ 24302 goto L_2B02130C; /* 0x2B0212FB: jmp 0x2b02130c */ 24303 L_2B0212FD: 24304 esi = MEM32(ecx + 0x4); /* 0x2B0212FD: mov esi, dword ptr [ecx + 4] */ 24305 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021300: cmp ecx, dword ptr [esi + 8] */ 24306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24308 _flag_k = FK_CMP; 24309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02130A; /* 0x2B021303: jne 0x2b02130a */ 24310 L_2B021305: 24311 MEM32(esi + 0x8) = edx; /* 0x2B021305: mov dword ptr [esi + 8], edx */ 24312 goto L_2B02130C; /* 0x2B021308: jmp 0x2b02130c */ 24313 L_2B02130A: 24314 MEM32(esi) = edx; /* 0x2B02130A: mov dword ptr [esi], edx */ 24315 L_2B02130C: 24316 MEM32(edx + 0x8) = ecx; /* 0x2B02130C: mov dword ptr [edx + 8], ecx */ 24317 MEM32(ecx + 0x4) = edx; /* 0x2B02130F: mov dword ptr [ecx + 4], edx */ 24318 edx = MEM32(eax + 0x4); /* 0x2B021312: mov edx, dword ptr [eax + 4] */ 24319 ecx = MEM32(edx); /* 0x2B021315: mov ecx, dword ptr [edx] */ 24320 L_2B021317: 24321 edx = MEM32(ecx + 0x8); /* 0x2B021317: mov edx, dword ptr [ecx + 8] */ 24322 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B02131A: cmp byte ptr [edx + 0x38], bl */ 24323 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24325 _flag_k = FK_NARROW(FK_CMP, 24); 24326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B02131D: jne 0x2b0213f3 */ 24327 L_2B021323: 24328 edx = MEM32(ecx); /* 0x2B021323: mov edx, dword ptr [ecx] */ 24329 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021325: cmp byte ptr [edx + 0x38], bl */ 24330 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24332 _flag_k = FK_NARROW(FK_CMP, 24); 24333 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213F3; /* 0x2B021328: jne 0x2b0213f3 */ 24334 L_2B02132E: 24335 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B02132E: mov byte ptr [ecx + 0x38], 0 */ 24336 ecx = MEM32(edi + 0x4); /* 0x2B021332: mov ecx, dword ptr [edi + 4] */ 24337 eax = MEM32(eax + 0x4); /* 0x2B021335: mov eax, dword ptr [eax + 4] */ 24338 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B021338: cmp eax, dword ptr [ecx + 4] */ 24339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 24340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24341 _flag_k = FK_CMP; 24342 RECOMP_BACKEDGE(); 24343 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021244; /* 0x2B02133B: jne 0x2b021244 */ 24344 L_2B021341: 24345 goto L_2B021492; /* 0x2B021341: jmp 0x2b021492 */ 24346 L_2B021346: 24347 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 24348 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 24349 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24351 _flag_k = FK_NARROW(FK_CMP, 24); 24352 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 24353 L_2B02134E: 24354 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 24355 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 24356 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 24357 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 24358 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 24359 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 24360 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 24361 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 24362 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24364 _flag_k = FK_CMP; 24365 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 24366 L_2B021366: 24367 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 24368 L_2B021369: 24369 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 24370 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 24371 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 24372 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 24373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24375 _flag_k = FK_CMP; 24376 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 24377 L_2B021377: 24378 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 24379 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 24380 L_2B02137C: 24381 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 24382 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 24383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24385 _flag_k = FK_CMP; 24386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 24387 L_2B021384: 24388 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 24389 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 24390 L_2B021389: 24391 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 24392 L_2B02138B: 24393 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 24394 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 24395 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 24396 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 24397 L_2B021397: 24398 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 24399 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 24400 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 24401 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 24402 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 24403 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 24404 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 24405 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 24406 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 24407 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 24408 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 24409 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 24410 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 24411 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24413 _flag_k = FK_CMP; 24414 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 24415 L_2B0213BE: 24416 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 24417 L_2B0213C1: 24418 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 24419 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 24420 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 24421 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 24422 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24424 _flag_k = FK_CMP; 24425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 24426 L_2B0213CF: 24427 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 24428 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 24429 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 24430 L_2B0213D9: 24431 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 24432 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 24433 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 24434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24435 _flag_k = FK_CMP; 24436 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 24437 L_2B0213E0: 24438 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 24439 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 24440 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 24441 L_2B0213E9: 24442 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 24443 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 24444 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 24445 L_2B0213F3: 24446 edx = MEM32(ecx); /* 0x2B0213F3: mov edx, dword ptr [ecx] */ 24447 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B0213F5: cmp byte ptr [edx + 0x38], bl */ 24448 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24450 _flag_k = FK_NARROW(FK_CMP, 24); 24451 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021441; /* 0x2B0213F8: jne 0x2b021441 */ 24452 L_2B0213FA: 24453 edx = MEM32(ecx + 0x8); /* 0x2B0213FA: mov edx, dword ptr [ecx + 8] */ 24454 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213FD: mov byte ptr [edx + 0x38], bl */ 24455 edx = MEM32(ecx + 0x8); /* 0x2B021400: mov edx, dword ptr [ecx + 8] */ 24456 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021403: mov byte ptr [ecx + 0x38], 0 */ 24457 esi = MEM32(edx); /* 0x2B021407: mov esi, dword ptr [edx] */ 24458 MEM32(ecx + 0x8) = esi; /* 0x2B021409: mov dword ptr [ecx + 8], esi */ 24459 esi = MEM32(edx); /* 0x2B02140C: mov esi, dword ptr [edx] */ 24460 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02140E: cmp esi, dword ptr [edi + 8] */ 24461 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24463 _flag_k = FK_CMP; 24464 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021416; /* 0x2B021411: je 0x2b021416 */ 24465 L_2B021413: 24466 MEM32(esi + 0x4) = ecx; /* 0x2B021413: mov dword ptr [esi + 4], ecx */ 24467 L_2B021416: 24468 esi = MEM32(ecx + 0x4); /* 0x2B021416: mov esi, dword ptr [ecx + 4] */ 24469 MEM32(edx + 0x4) = esi; /* 0x2B021419: mov dword ptr [edx + 4], esi */ 24470 esi = MEM32(edi + 0x4); /* 0x2B02141C: mov esi, dword ptr [edi + 4] */ 24471 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02141F: cmp ecx, dword ptr [esi + 4] */ 24472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24474 _flag_k = FK_CMP; 24475 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021429; /* 0x2B021422: jne 0x2b021429 */ 24476 L_2B021424: 24477 MEM32(esi + 0x4) = edx; /* 0x2B021424: mov dword ptr [esi + 4], edx */ 24478 goto L_2B021437; /* 0x2B021427: jmp 0x2b021437 */ 24479 L_2B021429: 24480 esi = MEM32(ecx + 0x4); /* 0x2B021429: mov esi, dword ptr [ecx + 4] */ 24481 /* cmp ecx, MEM32(esi) */ /* 0x2B02142C: cmp ecx, dword ptr [esi] */ 24482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 24483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24484 _flag_k = FK_CMP; 24485 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021434; /* 0x2B02142E: jne 0x2b021434 */ 24486 L_2B021430: 24487 MEM32(esi) = edx; /* 0x2B021430: mov dword ptr [esi], edx */ 24488 goto L_2B021437; /* 0x2B021432: jmp 0x2b021437 */ 24489 L_2B021434: 24490 MEM32(esi + 0x8) = edx; /* 0x2B021434: mov dword ptr [esi + 8], edx */ 24491 L_2B021437: 24492 MEM32(edx) = ecx; /* 0x2B021437: mov dword ptr [edx], ecx */ 24493 MEM32(ecx + 0x4) = edx; /* 0x2B021439: mov dword ptr [ecx + 4], edx */ 24494 ecx = MEM32(eax + 0x4); /* 0x2B02143C: mov ecx, dword ptr [eax + 4] */ 24495 ecx = MEM32(ecx); /* 0x2B02143F: mov ecx, dword ptr [ecx] */ 24496 L_2B021441: 24497 edx = MEM32(eax + 0x4); /* 0x2B021441: mov edx, dword ptr [eax + 4] */ 24498 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B021444: mov dl, byte ptr [edx + 0x38] */ 24499 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B021447: mov byte ptr [ecx + 0x38], dl */ 24500 edx = MEM32(eax + 0x4); /* 0x2B02144A: mov edx, dword ptr [eax + 4] */ 24501 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B02144D: mov byte ptr [edx + 0x38], bl */ 24502 ecx = MEM32(ecx); /* 0x2B021450: mov ecx, dword ptr [ecx] */ 24503 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021452: mov byte ptr [ecx + 0x38], bl */ 24504 ecx = MEM32(eax + 0x4); /* 0x2B021455: mov ecx, dword ptr [eax + 4] */ 24505 edx = MEM32(ecx); /* 0x2B021458: mov edx, dword ptr [ecx] */ 24506 esi = MEM32(edx + 0x8); /* 0x2B02145A: mov esi, dword ptr [edx + 8] */ 24507 MEM32(ecx) = esi; /* 0x2B02145D: mov dword ptr [ecx], esi */ 24508 esi = MEM32(edx + 0x8); /* 0x2B02145F: mov esi, dword ptr [edx + 8] */ 24509 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021462: cmp esi, dword ptr [edi + 8] */ 24510 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24512 _flag_k = FK_CMP; 24513 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02146A; /* 0x2B021465: je 0x2b02146a */ 24514 L_2B021467: 24515 MEM32(esi + 0x4) = ecx; /* 0x2B021467: mov dword ptr [esi + 4], ecx */ 24516 L_2B02146A: 24517 esi = MEM32(ecx + 0x4); /* 0x2B02146A: mov esi, dword ptr [ecx + 4] */ 24518 MEM32(edx + 0x4) = esi; /* 0x2B02146D: mov dword ptr [edx + 4], esi */ 24519 esi = MEM32(edi + 0x4); /* 0x2B021470: mov esi, dword ptr [edi + 4] */ 24520 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021473: cmp ecx, dword ptr [esi + 4] */ 24521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24523 _flag_k = FK_CMP; 24524 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02147D; /* 0x2B021476: jne 0x2b02147d */ 24525 L_2B021478: 24526 MEM32(esi + 0x4) = edx; /* 0x2B021478: mov dword ptr [esi + 4], edx */ 24527 goto L_2B02148C; /* 0x2B02147B: jmp 0x2b02148c */ 24528 L_2B02147D: 24529 esi = MEM32(ecx + 0x4); /* 0x2B02147D: mov esi, dword ptr [ecx + 4] */ 24530 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B021480: cmp ecx, dword ptr [esi + 8] */ 24531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24533 _flag_k = FK_CMP; 24534 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02148A; /* 0x2B021483: jne 0x2b02148a */ 24535 L_2B021485: 24536 MEM32(esi + 0x8) = edx; /* 0x2B021485: mov dword ptr [esi + 8], edx */ 24537 goto L_2B02148C; /* 0x2B021488: jmp 0x2b02148c */ 24538 L_2B02148A: 24539 MEM32(esi) = edx; /* 0x2B02148A: mov dword ptr [esi], edx */ 24540 L_2B02148C: 24541 MEM32(edx + 0x8) = ecx; /* 0x2B02148C: mov dword ptr [edx + 8], ecx */ 24542 L_2B02148F: 24543 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 24544 L_2B021492: 24545 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 24546 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 24547 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 24548 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 24549 RECOMP_FLAGS_IN(); 24550 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 24551 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 24552 RECOMP_FLAGS_IN(); 24553 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 24554 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 24555 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 24556 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24557 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 24558 _flag_k = FK_ADD; 24559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 24560 eax = eax - 1; /* 0x2B0214AF: dec eax */ 24561 _flag_k = FK_DEC; 24562 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 24563 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 24564 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 24565 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 24566 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 24567 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 24568 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 24569 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 24570 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 24571 RECOMP_REGS_OUT(); 24572 } 24573 24574 void sub_2B021346(void) { 24575 int _fpu_cmp = 0; 24576 uint32_t _cf = 0; 24577 int _df = 1; 24578 uint32_t _flag_k = FK_NONE; 24579 uint32_t _flag_a = 0, _flag_b = 0; 24580 uint32_t _itail_tgt = 0; 24581 RECOMP_REGS_LOCALS 24582 RECOMP_ENTER(0x2B021346u); 24583 24584 L_2B021346: 24585 edx = MEM32(ecx + 0x8); /* 0x2B021346: mov edx, dword ptr [ecx + 8] */ 24586 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x2B021349: cmp byte ptr [edx + 0x38], bl */ 24587 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 24588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24589 _flag_k = FK_NARROW(FK_CMP, 24); 24590 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021397; /* 0x2B02134C: jne 0x2b021397 */ 24591 L_2B02134E: 24592 edx = MEM32(ecx); /* 0x2B02134E: mov edx, dword ptr [ecx] */ 24593 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021350: mov byte ptr [edx + 0x38], bl */ 24594 edx = MEM32(ecx); /* 0x2B021353: mov edx, dword ptr [ecx] */ 24595 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x2B021355: mov byte ptr [ecx + 0x38], 0 */ 24596 esi = MEM32(edx + 0x8); /* 0x2B021359: mov esi, dword ptr [edx + 8] */ 24597 MEM32(ecx) = esi; /* 0x2B02135C: mov dword ptr [ecx], esi */ 24598 esi = MEM32(edx + 0x8); /* 0x2B02135E: mov esi, dword ptr [edx + 8] */ 24599 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B021361: cmp esi, dword ptr [edi + 8] */ 24600 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24602 _flag_k = FK_CMP; 24603 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B021369; /* 0x2B021364: je 0x2b021369 */ 24604 L_2B021366: 24605 MEM32(esi + 0x4) = ecx; /* 0x2B021366: mov dword ptr [esi + 4], ecx */ 24606 L_2B021369: 24607 esi = MEM32(ecx + 0x4); /* 0x2B021369: mov esi, dword ptr [ecx + 4] */ 24608 MEM32(edx + 0x4) = esi; /* 0x2B02136C: mov dword ptr [edx + 4], esi */ 24609 esi = MEM32(edi + 0x4); /* 0x2B02136F: mov esi, dword ptr [edi + 4] */ 24610 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B021372: cmp ecx, dword ptr [esi + 4] */ 24611 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24613 _flag_k = FK_CMP; 24614 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02137C; /* 0x2B021375: jne 0x2b02137c */ 24615 L_2B021377: 24616 MEM32(esi + 0x4) = edx; /* 0x2B021377: mov dword ptr [esi + 4], edx */ 24617 goto L_2B02138B; /* 0x2B02137A: jmp 0x2b02138b */ 24618 L_2B02137C: 24619 esi = MEM32(ecx + 0x4); /* 0x2B02137C: mov esi, dword ptr [ecx + 4] */ 24620 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B02137F: cmp ecx, dword ptr [esi + 8] */ 24621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24623 _flag_k = FK_CMP; 24624 if (CMP_NE(_flag_a, _flag_b)) goto L_2B021389; /* 0x2B021382: jne 0x2b021389 */ 24625 L_2B021384: 24626 MEM32(esi + 0x8) = edx; /* 0x2B021384: mov dword ptr [esi + 8], edx */ 24627 goto L_2B02138B; /* 0x2B021387: jmp 0x2b02138b */ 24628 L_2B021389: 24629 MEM32(esi) = edx; /* 0x2B021389: mov dword ptr [esi], edx */ 24630 L_2B02138B: 24631 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 24632 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 24633 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 24634 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 24635 L_2B021397: 24636 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 24637 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 24638 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 24639 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 24640 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 24641 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 24642 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 24643 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 24644 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 24645 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 24646 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 24647 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 24648 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 24649 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24651 _flag_k = FK_CMP; 24652 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 24653 L_2B0213BE: 24654 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 24655 L_2B0213C1: 24656 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 24657 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 24658 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 24659 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 24660 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24662 _flag_k = FK_CMP; 24663 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 24664 L_2B0213CF: 24665 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 24666 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 24667 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 24668 L_2B0213D9: 24669 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 24670 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 24671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 24672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24673 _flag_k = FK_CMP; 24674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 24675 L_2B0213E0: 24676 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 24677 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 24678 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 24679 L_2B0213E9: 24680 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 24681 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 24682 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 24683 L_2B02148F: 24684 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 24685 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 24686 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 24687 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 24688 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 24689 RECOMP_FLAGS_IN(); 24690 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 24691 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 24692 RECOMP_FLAGS_IN(); 24693 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 24694 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 24695 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 24696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24697 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 24698 _flag_k = FK_ADD; 24699 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 24700 eax = eax - 1; /* 0x2B0214AF: dec eax */ 24701 _flag_k = FK_DEC; 24702 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 24703 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 24704 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 24705 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 24706 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 24707 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 24708 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 24709 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 24710 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 24711 RECOMP_REGS_OUT(); 24712 } 24713 24714 void sub_2B02138B(void) { 24715 int _fpu_cmp = 0; 24716 uint32_t _cf = 0; 24717 int _df = 1; 24718 uint32_t _flag_k = FK_NONE; 24719 uint32_t _flag_a = 0, _flag_b = 0; 24720 uint32_t _itail_tgt = 0; 24721 RECOMP_REGS_LOCALS 24722 RECOMP_ENTER(0x2B02138Bu); 24723 24724 L_2B02138B: 24725 MEM32(edx + 0x8) = ecx; /* 0x2B02138B: mov dword ptr [edx + 8], ecx */ 24726 MEM32(ecx + 0x4) = edx; /* 0x2B02138E: mov dword ptr [ecx + 4], edx */ 24727 ecx = MEM32(eax + 0x4); /* 0x2B021391: mov ecx, dword ptr [eax + 4] */ 24728 ecx = MEM32(ecx + 0x8); /* 0x2B021394: mov ecx, dword ptr [ecx + 8] */ 24729 edx = MEM32(eax + 0x4); /* 0x2B021397: mov edx, dword ptr [eax + 4] */ 24730 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x2B02139A: mov dl, byte ptr [edx + 0x38] */ 24731 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x2B02139D: mov byte ptr [ecx + 0x38], dl */ 24732 edx = MEM32(eax + 0x4); /* 0x2B0213A0: mov edx, dword ptr [eax + 4] */ 24733 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A3: mov byte ptr [edx + 0x38], bl */ 24734 ecx = MEM32(ecx + 0x8); /* 0x2B0213A6: mov ecx, dword ptr [ecx + 8] */ 24735 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B0213A9: mov byte ptr [ecx + 0x38], bl */ 24736 ecx = MEM32(eax + 0x4); /* 0x2B0213AC: mov ecx, dword ptr [eax + 4] */ 24737 edx = MEM32(ecx + 0x8); /* 0x2B0213AF: mov edx, dword ptr [ecx + 8] */ 24738 esi = MEM32(edx); /* 0x2B0213B2: mov esi, dword ptr [edx] */ 24739 MEM32(ecx + 0x8) = esi; /* 0x2B0213B4: mov dword ptr [ecx + 8], esi */ 24740 esi = MEM32(edx); /* 0x2B0213B7: mov esi, dword ptr [edx] */ 24741 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0213B9: cmp esi, dword ptr [edi + 8] */ 24742 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24744 _flag_k = FK_CMP; 24745 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0213C1; /* 0x2B0213BC: je 0x2b0213c1 */ 24746 L_2B0213BE: 24747 MEM32(esi + 0x4) = ecx; /* 0x2B0213BE: mov dword ptr [esi + 4], ecx */ 24748 L_2B0213C1: 24749 esi = MEM32(ecx + 0x4); /* 0x2B0213C1: mov esi, dword ptr [ecx + 4] */ 24750 MEM32(edx + 0x4) = esi; /* 0x2B0213C4: mov dword ptr [edx + 4], esi */ 24751 esi = MEM32(edi + 0x4); /* 0x2B0213C7: mov esi, dword ptr [edi + 4] */ 24752 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0213CA: cmp ecx, dword ptr [esi + 4] */ 24753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 24754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24755 _flag_k = FK_CMP; 24756 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213D9; /* 0x2B0213CD: jne 0x2b0213d9 */ 24757 L_2B0213CF: 24758 MEM32(esi + 0x4) = edx; /* 0x2B0213CF: mov dword ptr [esi + 4], edx */ 24759 MEM32(edx) = ecx; /* 0x2B0213D2: mov dword ptr [edx], ecx */ 24760 goto L_2B02148F; /* 0x2B0213D4: jmp 0x2b02148f */ 24761 L_2B0213D9: 24762 esi = MEM32(ecx + 0x4); /* 0x2B0213D9: mov esi, dword ptr [ecx + 4] */ 24763 /* cmp ecx, MEM32(esi) */ /* 0x2B0213DC: cmp ecx, dword ptr [esi] */ 24764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 24765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24766 _flag_k = FK_CMP; 24767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0213E9; /* 0x2B0213DE: jne 0x2b0213e9 */ 24768 L_2B0213E0: 24769 MEM32(esi) = edx; /* 0x2B0213E0: mov dword ptr [esi], edx */ 24770 MEM32(edx) = ecx; /* 0x2B0213E2: mov dword ptr [edx], ecx */ 24771 goto L_2B02148F; /* 0x2B0213E4: jmp 0x2b02148f */ 24772 L_2B0213E9: 24773 MEM32(esi + 0x8) = edx; /* 0x2B0213E9: mov dword ptr [esi + 8], edx */ 24774 MEM32(edx) = ecx; /* 0x2B0213EC: mov dword ptr [edx], ecx */ 24775 goto L_2B02148F; /* 0x2B0213EE: jmp 0x2b02148f */ 24776 L_2B02148F: 24777 MEM32(ecx + 0x4) = edx; /* 0x2B02148F: mov dword ptr [ecx + 4], edx */ 24778 esi = MEM32(ebp + (-0x4)); /* 0x2B021492: mov esi, dword ptr [ebp - 4] */ 24779 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x2B021495: mov byte ptr [eax + 0x38], bl */ 24780 ecx = esi + 0xC; /* 0x2B021498: lea ecx, [esi + 0xc] */ 24781 RECOMP_ICALL(0x2B020CD0u); /* 0x2B02149B: call 0x2b020cd0 */ /* not lifted */ 24782 RECOMP_FLAGS_IN(); 24783 PUSH32(esp, esi); /* 0x2B0214A0: push esi */ 24784 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0214A1: call 0x2b0ab1ba */ /* not lifted */ 24785 RECOMP_FLAGS_IN(); 24786 eax = MEM32(edi + 0x10); /* 0x2B0214A6: mov eax, dword ptr [edi + 0x10] */ 24787 edx = MEM32(ebp + 0xC); /* 0x2B0214A9: mov edx, dword ptr [ebp + 0xc] */ 24788 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 24789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24790 esp = esp + 4; /* 0x2B0214AC: add esp, 4 */ 24791 _flag_k = FK_ADD; 24792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 24793 eax = eax - 1; /* 0x2B0214AF: dec eax */ 24794 _flag_k = FK_DEC; 24795 MEM32(edi + 0x10) = eax; /* 0x2B0214B0: mov dword ptr [edi + 0x10], eax */ 24796 eax = MEM32(ebp + 0x8); /* 0x2B0214B3: mov eax, dword ptr [ebp + 8] */ 24797 edi = POP32_VAL(esp); /* 0x2B0214B6: pop edi */ 24798 esi = POP32_VAL(esp); /* 0x2B0214B7: pop esi */ 24799 MEM32(eax) = edx; /* 0x2B0214B8: mov dword ptr [eax], edx */ 24800 ebx = POP32_VAL(esp); /* 0x2B0214BA: pop ebx */ 24801 esp = ebp; /* 0x2B0214BB: mov esp, ebp */ 24802 ebp = POP32_VAL(esp); /* 0x2B0214BD: pop ebp */ 24803 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0214BE: ret 8 */ 24804 RECOMP_REGS_OUT(); 24805 }