client/game/ddr.dll/lifted-0027.c (1158128B)
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_2B062280(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(0x2B062280u); 17 18 L_2B062280: 19 PUSH32(esp, 0x2B062290u); /* 0x2B062280: push 0x2b062290 */ 20 RECOMP_ICALL(0x2B0AB39Fu); /* 0x2B062285: call 0x2b0ab39f */ /* not lifted */ 21 RECOMP_FLAGS_IN(); 22 ecx = POP32_VAL(esp); /* 0x2B06228A: pop ecx */ 23 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06228B: ret */ 24 RECOMP_REGS_OUT(); 25 } 26 27 void sub_2B062290(void) { 28 int _fpu_cmp = 0; 29 uint32_t _cf = 0; 30 int _df = 1; 31 uint32_t _flag_k = FK_NONE; 32 uint32_t _flag_a = 0, _flag_b = 0; 33 uint32_t _itail_tgt = 0; 34 RECOMP_REGS_LOCALS 35 RECOMP_ENTER(0x2B062290u); 36 37 L_2B062290: 38 SET_LO8(ecx, MEM8(0x2B0EECFC)); /* 0x2B062290: mov cl, byte ptr [0x2b0eecfc] */ 39 SET_LO8(eax, 1); /* 0x2B062296: mov al, 1 */ 40 /* test LO8(eax), LO8(ecx) */ /* 0x2B062298: test al, cl */ 41 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 42 _cf = 0; 43 _flag_k = FK_NARROW(FK_TEST, 24); 44 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0622AE; /* 0x2B06229A: jne 0x2b0622ae */ 45 L_2B06229C: 46 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 47 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B06229C: or cl, al */ 48 _cf = 0; 49 _flag_k = FK_NARROW(FK_TEST, 24); 50 MEM8(0x2B0EECFC) = (uint8_t)(LO8(ecx)); /* 0x2B06229E: mov byte ptr [0x2b0eecfc], cl */ 51 ecx = 0x2B0EECE8u; /* 0x2B0622A4: mov ecx, 0x2b0eece8 */ 52 goto L_2B0622B0; /* 0x2B0622A9: jmp 0x2b0622b0 */ 53 L_2B0622AE: 54 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0622AE: ret */ 55 L_2B0622B0: 56 PUSH32(esp, ebp); /* 0x2B0622B0: push ebp */ 57 ebp = esp; /* 0x2B0622B1: mov ebp, esp */ 58 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 59 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 60 esp = esp - 8; /* 0x2B0622B3: sub esp, 8 */ 61 _flag_k = FK_CMP; 62 PUSH32(esp, ebx); /* 0x2B0622B6: push ebx */ 63 PUSH32(esp, esi); /* 0x2B0622B7: push esi */ 64 esi = ecx; /* 0x2B0622B8: mov esi, ecx */ 65 ecx = MEM32(esi + 0x10); /* 0x2B0622BA: mov ecx, dword ptr [esi + 0x10] */ 66 /* test ecx, ecx */ /* 0x2B0622BD: test ecx, ecx */ 67 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 68 _cf = 0; 69 _flag_k = FK_TEST; 70 PUSH32(esp, edi); /* 0x2B0622BF: push edi */ 71 edi = MEM32(esi + 0x4); /* 0x2B0622C0: mov edi, dword ptr [esi + 4] */ 72 eax = MEM32(edi); /* 0x2B0622C3: mov eax, dword ptr [edi] */ 73 MEM32(ebp + (-0x4)) = eax; /* 0x2B0622C5: mov dword ptr [ebp - 4], eax */ 74 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062325; /* 0x2B0622C8: je 0x2b062325 */ 75 L_2B0622CA: 76 ecx = eax; /* 0x2B0622CA: mov ecx, eax */ 77 /* cmp eax, ecx */ /* 0x2B0622CC: cmp eax, ecx */ 78 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 79 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 80 _flag_k = FK_CMP; 81 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062325; /* 0x2B0622CE: jne 0x2b062325 */ 82 L_2B0622D0: 83 /* cmp edi, edi */ /* 0x2B0622D0: cmp edi, edi */ 84 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 85 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 86 _flag_k = FK_CMP; 87 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062325; /* 0x2B0622D2: jne 0x2b062325 */ 88 L_2B0622D4: 89 ebx = MEM32(edi + 0x4); /* 0x2B0622D4: mov ebx, dword ptr [edi + 4] */ 90 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0622D7: cmp ebx, dword ptr [esi + 8] */ 91 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 92 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 93 _flag_k = FK_CMP; 94 edi = ebx; /* 0x2B0622DA: mov edi, ebx */ 95 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0622FD; /* 0x2B0622DC: je 0x2b0622fd */ 96 L_2B0622DE: 97 eax = MEM32(edi + 0x8); /* 0x2B0622DE: mov eax, dword ptr [edi + 8] */ 98 PUSH32(esp, eax); /* 0x2B0622E1: push eax */ 99 ecx = esi; /* 0x2B0622E2: mov ecx, esi */ 100 RECOMP_ICALL(0x2B02FFD0u); /* 0x2B0622E4: call 0x2b02ffd0 */ /* not lifted */ 101 RECOMP_FLAGS_IN(); 102 edi = MEM32(edi); /* 0x2B0622E9: mov edi, dword ptr [edi] */ 103 PUSH32(esp, ebx); /* 0x2B0622EB: push ebx */ 104 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0622EC: call 0x2b0ab1ba */ /* not lifted */ 105 RECOMP_FLAGS_IN(); 106 eax = MEM32(esi + 0x8); /* 0x2B0622F1: mov eax, dword ptr [esi + 8] */ 107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 109 esp = esp + 4; /* 0x2B0622F4: add esp, 4 */ 110 _flag_k = FK_ADD; 111 /* cmp edi, eax */ /* 0x2B0622F7: cmp edi, eax */ 112 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 114 _flag_k = FK_CMP; 115 ebx = edi; /* 0x2B0622F9: mov ebx, edi */ 116 RECOMP_BACKEDGE(); 117 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0622DE; /* 0x2B0622FB: jne 0x2b0622de */ 118 L_2B0622FD: 119 ecx = MEM32(esi + 0x4); /* 0x2B0622FD: mov ecx, dword ptr [esi + 4] */ 120 edx = MEM32(esi + 0x8); /* 0x2B062300: mov edx, dword ptr [esi + 8] */ 121 MEM32(ecx + 0x4) = edx; /* 0x2B062303: mov dword ptr [ecx + 4], edx */ 122 eax = MEM32(esi + 0x4); /* 0x2B062306: mov eax, dword ptr [esi + 4] */ 123 MEM32(esi + 0x10) = 0; /* 0x2B062309: mov dword ptr [esi + 0x10], 0 */ 124 MEM32(eax) = eax; /* 0x2B062310: mov dword ptr [eax], eax */ 125 eax = MEM32(esi + 0x4); /* 0x2B062312: mov eax, dword ptr [esi + 4] */ 126 MEM32(eax + 0x8) = eax; /* 0x2B062315: mov dword ptr [eax + 8], eax */ 127 eax = ebp + (-0x8); /* 0x2B062318: lea eax, [ebp - 8] */ 128 PUSH32(esp, eax); /* 0x2B06231B: push eax */ 129 ecx = esi; /* 0x2B06231C: mov ecx, esi */ 130 RECOMP_ICALL(0x2B018B60u); /* 0x2B06231E: call 0x2b018b60 */ /* not lifted */ 131 RECOMP_FLAGS_IN(); 132 goto L_2B062346; /* 0x2B062323: jmp 0x2b062346 */ 133 L_2B062325: 134 /* cmp eax, edi */ /* 0x2B062325: cmp eax, edi */ 135 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 137 _flag_k = FK_CMP; 138 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062346; /* 0x2B062327: je 0x2b062346 */ 139 L_2B062329: 140 ecx = ebp + (-0x4); /* 0x2B062329: lea ecx, [ebp - 4] */ 141 ebx = eax; /* 0x2B06232C: mov ebx, eax */ 142 RECOMP_ICALL(0x2B030080u); /* 0x2B06232E: call 0x2b030080 */ /* not lifted */ 143 RECOMP_FLAGS_IN(); 144 PUSH32(esp, ebx); /* 0x2B062333: push ebx */ 145 ecx = ebp + (-0x8); /* 0x2B062334: lea ecx, [ebp - 8] */ 146 PUSH32(esp, ecx); /* 0x2B062337: push ecx */ 147 ecx = esi; /* 0x2B062338: mov ecx, esi */ 148 RECOMP_ICALL(0x2B02FC10u); /* 0x2B06233A: call 0x2b02fc10 */ /* not lifted */ 149 RECOMP_FLAGS_IN(); 150 eax = MEM32(ebp + (-0x4)); /* 0x2B06233F: mov eax, dword ptr [ebp - 4] */ 151 /* cmp eax, edi */ /* 0x2B062342: cmp eax, edi */ 152 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 154 _flag_k = FK_CMP; 155 RECOMP_BACKEDGE(); 156 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062329; /* 0x2B062344: jne 0x2b062329 */ 157 L_2B062346: 158 edx = MEM32(esi + 0x4); /* 0x2B062346: mov edx, dword ptr [esi + 4] */ 159 PUSH32(esp, edx); /* 0x2B062349: push edx */ 160 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06234A: call 0x2b0ab1ba */ /* not lifted */ 161 RECOMP_FLAGS_IN(); 162 eax = MEM32(esi + 0x8); /* 0x2B06234F: mov eax, dword ptr [esi + 8] */ 163 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 164 edi = 0; /* 0x2B062352: xor edi, edi */ 165 _cf = 0; 166 _flag_k = FK_TEST; 167 PUSH32(esp, eax); /* 0x2B062354: push eax */ 168 MEM32(esi + 0x4) = edi; /* 0x2B062355: mov dword ptr [esi + 4], edi */ 169 MEM32(esi + 0x10) = edi; /* 0x2B062358: mov dword ptr [esi + 0x10], edi */ 170 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06235B: call 0x2b0ab1ba */ /* not lifted */ 171 RECOMP_FLAGS_IN(); 172 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 173 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 174 esp = esp + 8; /* 0x2B062360: add esp, 8 */ 175 _flag_k = FK_ADD; 176 MEM32(esi + 0x8) = edi; /* 0x2B062363: mov dword ptr [esi + 8], edi */ 177 edi = POP32_VAL(esp); /* 0x2B062366: pop edi */ 178 esi = POP32_VAL(esp); /* 0x2B062367: pop esi */ 179 ebx = POP32_VAL(esp); /* 0x2B062368: pop ebx */ 180 esp = ebp; /* 0x2B062369: mov esp, ebp */ 181 ebp = POP32_VAL(esp); /* 0x2B06236B: pop ebp */ 182 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06236C: ret */ 183 RECOMP_REGS_OUT(); 184 } 185 186 void sub_2B0622B0(void) { 187 int _fpu_cmp = 0; 188 uint32_t _cf = 0; 189 int _df = 1; 190 uint32_t _flag_k = FK_NONE; 191 uint32_t _flag_a = 0, _flag_b = 0; 192 uint32_t _itail_tgt = 0; 193 RECOMP_REGS_LOCALS 194 RECOMP_ENTER(0x2B0622B0u); 195 196 L_2B0622B0: 197 PUSH32(esp, ebp); /* 0x2B0622B0: push ebp */ 198 ebp = esp; /* 0x2B0622B1: mov ebp, esp */ 199 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 201 esp = esp - 8; /* 0x2B0622B3: sub esp, 8 */ 202 _flag_k = FK_CMP; 203 PUSH32(esp, ebx); /* 0x2B0622B6: push ebx */ 204 PUSH32(esp, esi); /* 0x2B0622B7: push esi */ 205 esi = ecx; /* 0x2B0622B8: mov esi, ecx */ 206 ecx = MEM32(esi + 0x10); /* 0x2B0622BA: mov ecx, dword ptr [esi + 0x10] */ 207 /* test ecx, ecx */ /* 0x2B0622BD: test ecx, ecx */ 208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 209 _cf = 0; 210 _flag_k = FK_TEST; 211 PUSH32(esp, edi); /* 0x2B0622BF: push edi */ 212 edi = MEM32(esi + 0x4); /* 0x2B0622C0: mov edi, dword ptr [esi + 4] */ 213 eax = MEM32(edi); /* 0x2B0622C3: mov eax, dword ptr [edi] */ 214 MEM32(ebp + (-0x4)) = eax; /* 0x2B0622C5: mov dword ptr [ebp - 4], eax */ 215 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062325; /* 0x2B0622C8: je 0x2b062325 */ 216 L_2B0622CA: 217 ecx = eax; /* 0x2B0622CA: mov ecx, eax */ 218 /* cmp eax, ecx */ /* 0x2B0622CC: cmp eax, ecx */ 219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 221 _flag_k = FK_CMP; 222 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062325; /* 0x2B0622CE: jne 0x2b062325 */ 223 L_2B0622D0: 224 /* cmp edi, edi */ /* 0x2B0622D0: cmp edi, edi */ 225 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 227 _flag_k = FK_CMP; 228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062325; /* 0x2B0622D2: jne 0x2b062325 */ 229 L_2B0622D4: 230 ebx = MEM32(edi + 0x4); /* 0x2B0622D4: mov ebx, dword ptr [edi + 4] */ 231 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0622D7: cmp ebx, dword ptr [esi + 8] */ 232 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 234 _flag_k = FK_CMP; 235 edi = ebx; /* 0x2B0622DA: mov edi, ebx */ 236 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0622FD; /* 0x2B0622DC: je 0x2b0622fd */ 237 L_2B0622DE: 238 eax = MEM32(edi + 0x8); /* 0x2B0622DE: mov eax, dword ptr [edi + 8] */ 239 PUSH32(esp, eax); /* 0x2B0622E1: push eax */ 240 ecx = esi; /* 0x2B0622E2: mov ecx, esi */ 241 RECOMP_ICALL(0x2B02FFD0u); /* 0x2B0622E4: call 0x2b02ffd0 */ /* not lifted */ 242 RECOMP_FLAGS_IN(); 243 edi = MEM32(edi); /* 0x2B0622E9: mov edi, dword ptr [edi] */ 244 PUSH32(esp, ebx); /* 0x2B0622EB: push ebx */ 245 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0622EC: call 0x2b0ab1ba */ /* not lifted */ 246 RECOMP_FLAGS_IN(); 247 eax = MEM32(esi + 0x8); /* 0x2B0622F1: mov eax, dword ptr [esi + 8] */ 248 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 249 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 250 esp = esp + 4; /* 0x2B0622F4: add esp, 4 */ 251 _flag_k = FK_ADD; 252 /* cmp edi, eax */ /* 0x2B0622F7: cmp edi, eax */ 253 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 255 _flag_k = FK_CMP; 256 ebx = edi; /* 0x2B0622F9: mov ebx, edi */ 257 RECOMP_BACKEDGE(); 258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0622DE; /* 0x2B0622FB: jne 0x2b0622de */ 259 L_2B0622FD: 260 ecx = MEM32(esi + 0x4); /* 0x2B0622FD: mov ecx, dword ptr [esi + 4] */ 261 edx = MEM32(esi + 0x8); /* 0x2B062300: mov edx, dword ptr [esi + 8] */ 262 MEM32(ecx + 0x4) = edx; /* 0x2B062303: mov dword ptr [ecx + 4], edx */ 263 eax = MEM32(esi + 0x4); /* 0x2B062306: mov eax, dword ptr [esi + 4] */ 264 MEM32(esi + 0x10) = 0; /* 0x2B062309: mov dword ptr [esi + 0x10], 0 */ 265 MEM32(eax) = eax; /* 0x2B062310: mov dword ptr [eax], eax */ 266 eax = MEM32(esi + 0x4); /* 0x2B062312: mov eax, dword ptr [esi + 4] */ 267 MEM32(eax + 0x8) = eax; /* 0x2B062315: mov dword ptr [eax + 8], eax */ 268 eax = ebp + (-0x8); /* 0x2B062318: lea eax, [ebp - 8] */ 269 PUSH32(esp, eax); /* 0x2B06231B: push eax */ 270 ecx = esi; /* 0x2B06231C: mov ecx, esi */ 271 RECOMP_ICALL(0x2B018B60u); /* 0x2B06231E: call 0x2b018b60 */ /* not lifted */ 272 RECOMP_FLAGS_IN(); 273 goto L_2B062346; /* 0x2B062323: jmp 0x2b062346 */ 274 L_2B062325: 275 /* cmp eax, edi */ /* 0x2B062325: cmp eax, edi */ 276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 278 _flag_k = FK_CMP; 279 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062346; /* 0x2B062327: je 0x2b062346 */ 280 L_2B062329: 281 ecx = ebp + (-0x4); /* 0x2B062329: lea ecx, [ebp - 4] */ 282 ebx = eax; /* 0x2B06232C: mov ebx, eax */ 283 RECOMP_ICALL(0x2B030080u); /* 0x2B06232E: call 0x2b030080 */ /* not lifted */ 284 RECOMP_FLAGS_IN(); 285 PUSH32(esp, ebx); /* 0x2B062333: push ebx */ 286 ecx = ebp + (-0x8); /* 0x2B062334: lea ecx, [ebp - 8] */ 287 PUSH32(esp, ecx); /* 0x2B062337: push ecx */ 288 ecx = esi; /* 0x2B062338: mov ecx, esi */ 289 RECOMP_ICALL(0x2B02FC10u); /* 0x2B06233A: call 0x2b02fc10 */ /* not lifted */ 290 RECOMP_FLAGS_IN(); 291 eax = MEM32(ebp + (-0x4)); /* 0x2B06233F: mov eax, dword ptr [ebp - 4] */ 292 /* cmp eax, edi */ /* 0x2B062342: cmp eax, edi */ 293 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 295 _flag_k = FK_CMP; 296 RECOMP_BACKEDGE(); 297 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062329; /* 0x2B062344: jne 0x2b062329 */ 298 L_2B062346: 299 edx = MEM32(esi + 0x4); /* 0x2B062346: mov edx, dword ptr [esi + 4] */ 300 PUSH32(esp, edx); /* 0x2B062349: push edx */ 301 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06234A: call 0x2b0ab1ba */ /* not lifted */ 302 RECOMP_FLAGS_IN(); 303 eax = MEM32(esi + 0x8); /* 0x2B06234F: mov eax, dword ptr [esi + 8] */ 304 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 305 edi = 0; /* 0x2B062352: xor edi, edi */ 306 _cf = 0; 307 _flag_k = FK_TEST; 308 PUSH32(esp, eax); /* 0x2B062354: push eax */ 309 MEM32(esi + 0x4) = edi; /* 0x2B062355: mov dword ptr [esi + 4], edi */ 310 MEM32(esi + 0x10) = edi; /* 0x2B062358: mov dword ptr [esi + 0x10], edi */ 311 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06235B: call 0x2b0ab1ba */ /* not lifted */ 312 RECOMP_FLAGS_IN(); 313 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 315 esp = esp + 8; /* 0x2B062360: add esp, 8 */ 316 _flag_k = FK_ADD; 317 MEM32(esi + 0x8) = edi; /* 0x2B062363: mov dword ptr [esi + 8], edi */ 318 edi = POP32_VAL(esp); /* 0x2B062366: pop edi */ 319 esi = POP32_VAL(esp); /* 0x2B062367: pop esi */ 320 ebx = POP32_VAL(esp); /* 0x2B062368: pop ebx */ 321 esp = ebp; /* 0x2B062369: mov esp, ebp */ 322 ebp = POP32_VAL(esp); /* 0x2B06236B: pop ebp */ 323 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06236C: ret */ 324 RECOMP_REGS_OUT(); 325 } 326 327 void sub_2B062346(void) { 328 int _fpu_cmp = 0; 329 uint32_t _cf = 0; 330 int _df = 1; 331 uint32_t _flag_k = FK_NONE; 332 uint32_t _flag_a = 0, _flag_b = 0; 333 uint32_t _itail_tgt = 0; 334 RECOMP_REGS_LOCALS 335 RECOMP_ENTER(0x2B062346u); 336 337 L_2B062346: 338 edx = MEM32(esi + 0x4); /* 0x2B062346: mov edx, dword ptr [esi + 4] */ 339 PUSH32(esp, edx); /* 0x2B062349: push edx */ 340 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06234A: call 0x2b0ab1ba */ /* not lifted */ 341 RECOMP_FLAGS_IN(); 342 eax = MEM32(esi + 0x8); /* 0x2B06234F: mov eax, dword ptr [esi + 8] */ 343 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 344 edi = 0; /* 0x2B062352: xor edi, edi */ 345 _cf = 0; 346 _flag_k = FK_TEST; 347 PUSH32(esp, eax); /* 0x2B062354: push eax */ 348 MEM32(esi + 0x4) = edi; /* 0x2B062355: mov dword ptr [esi + 4], edi */ 349 MEM32(esi + 0x10) = edi; /* 0x2B062358: mov dword ptr [esi + 0x10], edi */ 350 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06235B: call 0x2b0ab1ba */ /* not lifted */ 351 RECOMP_FLAGS_IN(); 352 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 353 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 354 esp = esp + 8; /* 0x2B062360: add esp, 8 */ 355 _flag_k = FK_ADD; 356 MEM32(esi + 0x8) = edi; /* 0x2B062363: mov dword ptr [esi + 8], edi */ 357 edi = POP32_VAL(esp); /* 0x2B062366: pop edi */ 358 esi = POP32_VAL(esp); /* 0x2B062367: pop esi */ 359 ebx = POP32_VAL(esp); /* 0x2B062368: pop ebx */ 360 esp = ebp; /* 0x2B062369: mov esp, ebp */ 361 ebp = POP32_VAL(esp); /* 0x2B06236B: pop ebp */ 362 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06236C: ret */ 363 RECOMP_REGS_OUT(); 364 } 365 366 void sub_2B062370(void) { 367 int _fpu_cmp = 0; 368 uint32_t _cf = 0; 369 int _df = 1; 370 uint32_t _flag_k = FK_NONE; 371 uint32_t _flag_a = 0, _flag_b = 0; 372 uint32_t _itail_tgt = 0; 373 RECOMP_REGS_LOCALS 374 RECOMP_ENTER(0x2B062370u); 375 376 L_2B062370: 377 PUSH32(esp, ebp); /* 0x2B062370: push ebp */ 378 ebp = esp; /* 0x2B062371: mov ebp, esp */ 379 eax = MEM32(0x2B0EECEC); /* 0x2B062373: mov eax, dword ptr [0x2b0eecec] */ 380 PUSH32(esp, esi); /* 0x2B062378: push esi */ 381 esi = MEM32(eax); /* 0x2B062379: mov esi, dword ptr [eax] */ 382 /* cmp esi, eax */ /* 0x2B06237B: cmp esi, eax */ 383 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 385 _flag_k = FK_CMP; 386 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0623E4; /* 0x2B06237D: je 0x2b0623e4 */ 387 L_2B06237F: 388 PUSH32(esp, ebx); /* 0x2B06237F: push ebx */ 389 ebx = MEM32(ebp + 0x8); /* 0x2B062380: mov ebx, dword ptr [ebp + 8] */ 390 PUSH32(esp, edi); /* 0x2B062383: push edi */ 391 L_2B062384: 392 eax = MEM32(esi + 0x8); /* 0x2B062384: mov eax, dword ptr [esi + 8] */ 393 SET_LO8(ecx, MEM8(eax + 0x11)); /* 0x2B062387: mov cl, byte ptr [eax + 0x11] */ 394 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06238A: test cl, cl */ 395 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 396 _cf = 0; 397 _flag_k = FK_NARROW(FK_TEST, 24); 398 edi = MEM32(esi + 0xC); /* 0x2B06238C: mov edi, dword ptr [esi + 0xc] */ 399 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0623A9; /* 0x2B06238F: jne 0x2b0623a9 */ 400 L_2B062391: 401 esi = eax; /* 0x2B062391: mov esi, eax */ 402 eax = MEM32(esi); /* 0x2B062393: mov eax, dword ptr [esi] */ 403 SET_LO8(ecx, MEM8(eax + 0x11)); /* 0x2B062395: mov cl, byte ptr [eax + 0x11] */ 404 /* test LO8(ecx), LO8(ecx) */ /* 0x2B062398: test cl, cl */ 405 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 406 _cf = 0; 407 _flag_k = FK_NARROW(FK_TEST, 24); 408 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0623C2; /* 0x2B06239A: jne 0x2b0623c2 */ 409 L_2B06239C: 410 esi = eax; /* 0x2B06239C: mov esi, eax */ 411 eax = MEM32(esi); /* 0x2B06239E: mov eax, dword ptr [esi] */ 412 SET_LO8(ecx, MEM8(eax + 0x11)); /* 0x2B0623A0: mov cl, byte ptr [eax + 0x11] */ 413 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0623A3: test cl, cl */ 414 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 415 _cf = 0; 416 _flag_k = FK_NARROW(FK_TEST, 24); 417 RECOMP_BACKEDGE(); 418 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06239C; /* 0x2B0623A5: je 0x2b06239c */ 419 L_2B0623A7: 420 goto L_2B0623C2; /* 0x2B0623A7: jmp 0x2b0623c2 */ 421 L_2B0623A9: 422 eax = MEM32(esi + 0x4); /* 0x2B0623A9: mov eax, dword ptr [esi + 4] */ 423 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0623AC: cmp esi, dword ptr [eax + 8] */ 424 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 426 _flag_k = FK_CMP; 427 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0623BB; /* 0x2B0623AF: jne 0x2b0623bb */ 428 L_2B0623B1: 429 esi = eax; /* 0x2B0623B1: mov esi, eax */ 430 eax = MEM32(eax + 0x4); /* 0x2B0623B3: mov eax, dword ptr [eax + 4] */ 431 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0623B6: cmp esi, dword ptr [eax + 8] */ 432 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 434 _flag_k = FK_CMP; 435 RECOMP_BACKEDGE(); 436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0623B1; /* 0x2B0623B9: je 0x2b0623b1 */ 437 L_2B0623BB: 438 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B0623BB: cmp dword ptr [esi + 8], eax */ 439 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 441 _flag_k = FK_CMP; 442 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0623C2; /* 0x2B0623BE: je 0x2b0623c2 */ 443 L_2B0623C0: 444 esi = eax; /* 0x2B0623C0: mov esi, eax */ 445 L_2B0623C2: 446 eax = MEM32(edi); /* 0x2B0623C2: mov eax, dword ptr [edi] */ 447 PUSH32(esp, ebx); /* 0x2B0623C4: push ebx */ 448 ecx = edi; /* 0x2B0623C5: mov ecx, edi */ 449 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x2B0623C7: call dword ptr [eax + 8] */ 450 RECOMP_FLAGS_IN(); 451 /* test LO8(eax), LO8(eax) */ /* 0x2B0623CA: test al, al */ 452 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 453 _cf = 0; 454 _flag_k = FK_NARROW(FK_TEST, 24); 455 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0623DA; /* 0x2B0623CC: je 0x2b0623da */ 456 L_2B0623CE: 457 /* test edi, edi */ /* 0x2B0623CE: test edi, edi */ 458 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 459 _cf = 0; 460 _flag_k = FK_TEST; 461 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0623DA; /* 0x2B0623D0: je 0x2b0623da */ 462 L_2B0623D2: 463 edx = MEM32(edi); /* 0x2B0623D2: mov edx, dword ptr [edi] */ 464 PUSH32(esp, 1); /* 0x2B0623D4: push 1 */ 465 ecx = edi; /* 0x2B0623D6: mov ecx, edi */ 466 RECOMP_ICALL(MEM32(edx)); /* 0x2B0623D8: call dword ptr [edx] */ 467 RECOMP_FLAGS_IN(); 468 L_2B0623DA: 469 /* cmp esi, MEM32(0x2B0EECEC) */ /* 0x2B0623DA: cmp esi, dword ptr [0x2b0eecec] */ 470 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(0x2B0EECEC)); 471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 472 _flag_k = FK_CMP; 473 RECOMP_BACKEDGE(); 474 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062384; /* 0x2B0623E0: jne 0x2b062384 */ 475 L_2B0623E2: 476 edi = POP32_VAL(esp); /* 0x2B0623E2: pop edi */ 477 ebx = POP32_VAL(esp); /* 0x2B0623E3: pop ebx */ 478 L_2B0623E4: 479 esi = POP32_VAL(esp); /* 0x2B0623E4: pop esi */ 480 ebp = POP32_VAL(esp); /* 0x2B0623E5: pop ebp */ 481 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0623E6: ret */ 482 RECOMP_REGS_OUT(); 483 } 484 485 void sub_2B0623F0(void) { 486 int _fpu_cmp = 0; 487 uint32_t _cf = 0; 488 int _df = 1; 489 uint32_t _flag_k = FK_NONE; 490 uint32_t _flag_a = 0, _flag_b = 0; 491 uint32_t _itail_tgt = 0; 492 RECOMP_REGS_LOCALS 493 RECOMP_ENTER(0x2B0623F0u); 494 495 L_2B0623F0: 496 PUSH32(esp, 0x4B18967Fu); /* 0x2B0623F0: push 0x4b18967f */ 497 RECOMP_ICALL(0x2B062370u); /* 0x2B0623F5: call 0x2b062370 */ /* not lifted */ 498 RECOMP_FLAGS_IN(); 499 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 500 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 501 esp = esp + 4; /* 0x2B0623FA: add esp, 4 */ 502 _flag_k = FK_ADD; 503 L_2B0623FD: 504 edx = MEM32(0x2B0EECEC); /* 0x2B0623FD: mov edx, dword ptr [0x2b0eecec] */ 505 L_2B062403: 506 eax = MEM32(edx); /* 0x2B062403: mov eax, dword ptr [edx] */ 507 /* cmp eax, edx */ /* 0x2B062405: cmp eax, edx */ 508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 510 _flag_k = FK_CMP; 511 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062418; /* 0x2B062407: je 0x2b062418 */ 512 L_2B062409: 513 ecx = MEM32(eax + 0xC); /* 0x2B062409: mov ecx, dword ptr [eax + 0xc] */ 514 /* test ecx, ecx */ /* 0x2B06240C: test ecx, ecx */ 515 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 516 _cf = 0; 517 _flag_k = FK_TEST; 518 RECOMP_BACKEDGE(); 519 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062403; /* 0x2B06240E: je 0x2b062403 */ 520 L_2B062410: 521 eax = MEM32(ecx); /* 0x2B062410: mov eax, dword ptr [ecx] */ 522 PUSH32(esp, 1); /* 0x2B062412: push 1 */ 523 RECOMP_ICALL(MEM32(eax)); /* 0x2B062414: call dword ptr [eax] */ 524 RECOMP_FLAGS_IN(); 525 RECOMP_BACKEDGE(); 526 goto L_2B0623FD; /* 0x2B062416: jmp 0x2b0623fd */ 527 L_2B062418: 528 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B062418: ret */ 529 RECOMP_REGS_OUT(); 530 } 531 532 void sub_2B0623FD(void) { 533 int _fpu_cmp = 0; 534 uint32_t _cf = 0; 535 int _df = 1; 536 uint32_t _flag_k = FK_NONE; 537 uint32_t _flag_a = 0, _flag_b = 0; 538 uint32_t _itail_tgt = 0; 539 RECOMP_REGS_LOCALS 540 RECOMP_ENTER(0x2B0623FDu); 541 542 L_2B0623FD: 543 edx = MEM32(0x2B0EECEC); /* 0x2B0623FD: mov edx, dword ptr [0x2b0eecec] */ 544 L_2B062403: 545 eax = MEM32(edx); /* 0x2B062403: mov eax, dword ptr [edx] */ 546 /* cmp eax, edx */ /* 0x2B062405: cmp eax, edx */ 547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 549 _flag_k = FK_CMP; 550 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062418; /* 0x2B062407: je 0x2b062418 */ 551 L_2B062409: 552 ecx = MEM32(eax + 0xC); /* 0x2B062409: mov ecx, dword ptr [eax + 0xc] */ 553 /* test ecx, ecx */ /* 0x2B06240C: test ecx, ecx */ 554 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 555 _cf = 0; 556 _flag_k = FK_TEST; 557 RECOMP_BACKEDGE(); 558 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062403; /* 0x2B06240E: je 0x2b062403 */ 559 L_2B062410: 560 eax = MEM32(ecx); /* 0x2B062410: mov eax, dword ptr [ecx] */ 561 PUSH32(esp, 1); /* 0x2B062412: push 1 */ 562 RECOMP_ICALL(MEM32(eax)); /* 0x2B062414: call dword ptr [eax] */ 563 RECOMP_FLAGS_IN(); 564 RECOMP_BACKEDGE(); 565 goto L_2B0623FD; /* 0x2B062416: jmp 0x2b0623fd */ 566 L_2B062418: 567 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B062418: ret */ 568 RECOMP_REGS_OUT(); 569 } 570 571 void sub_2B062420(void) { 572 int _fpu_cmp = 0; 573 uint32_t _cf = 0; 574 int _df = 1; 575 uint32_t _flag_k = FK_NONE; 576 uint32_t _flag_a = 0, _flag_b = 0; 577 uint32_t _itail_tgt = 0; 578 RECOMP_REGS_LOCALS 579 RECOMP_ENTER(0x2B062420u); 580 581 L_2B062420: 582 PUSH32(esp, ebp); /* 0x2B062420: push ebp */ 583 ebp = esp; /* 0x2B062421: mov ebp, esp */ 584 SET_LO8(eax, MEM8(ecx + 0x4)); /* 0x2B062423: mov al, byte ptr [ecx + 4] */ 585 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 586 edx = 0; /* 0x2B062426: xor edx, edx */ 587 _cf = 0; 588 _flag_k = FK_TEST; 589 /* cmp LO8(eax), LO8(edx) */ /* 0x2B062428: cmp al, dl */ 590 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 592 _flag_k = FK_NARROW(FK_CMP, 24); 593 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062463; /* 0x2B06242A: je 0x2b062463 */ 594 L_2B06242C: 595 fp_push(*(float*)&MEM32(ecx + 0xC)); /* 0x2B06242C: fld dword ptr [ecx + 0xc] */ 596 _st[0] -= (double)*(float*)ADDR(ebp + 0x8); /* 0x2B06242F: fsub dword ptr [ebp + 8] */ 597 { float _v = (float)_st[0]; *(float*)ADDR(ecx + 0xC) = _v; } /* 0x2B062432: fst dword ptr [ecx + 0xc] */ 598 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062435: fcomp dword ptr [0x2b0b61b8] */ 599 fp_pop(); 600 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06243B: fnstsw ax */ 601 /* test HI8(eax), 1 */ /* 0x2B06243D: test ah, 1 */ 602 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 603 _cf = 0; 604 _flag_k = FK_NARROW(FK_TEST, 24); 605 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062463; /* 0x2B062440: je 0x2b062463 */ 606 L_2B062442: 607 eax = MEM32(ecx + 0x10); /* 0x2B062442: mov eax, dword ptr [ecx + 0x10] */ 608 /* cmp eax, edx */ /* 0x2B062445: cmp eax, edx */ 609 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 611 _flag_k = FK_CMP; 612 MEM32(ecx + 0xC) = edx; /* 0x2B062447: mov dword ptr [ecx + 0xc], edx */ 613 MEM8(ecx + 0x4) = (uint8_t)(LO8(edx)); /* 0x2B06244A: mov byte ptr [ecx + 4], dl */ 614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06245D; /* 0x2B06244D: je 0x2b06245d */ 615 L_2B06244F: 616 PUSH32(esp, ecx); /* 0x2B06244F: push ecx */ 617 ecx = MEM32(ecx + 0x14); /* 0x2B062450: mov ecx, dword ptr [ecx + 0x14] */ 618 PUSH32(esp, ecx); /* 0x2B062453: push ecx */ 619 RECOMP_ICALL(eax); /* 0x2B062454: call eax */ 620 RECOMP_FLAGS_IN(); 621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 623 esp = esp + 8; /* 0x2B062456: add esp, 8 */ 624 _flag_k = FK_ADD; 625 ebp = POP32_VAL(esp); /* 0x2B062459: pop ebp */ 626 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B06245A: ret 4 */ 627 L_2B06245D: 628 SET_LO8(eax, 1); /* 0x2B06245D: mov al, 1 */ 629 ebp = POP32_VAL(esp); /* 0x2B06245F: pop ebp */ 630 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B062460: ret 4 */ 631 L_2B062463: 632 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 633 SET_LO8(eax, 0); /* 0x2B062463: xor al, al */ 634 _cf = 0; 635 _flag_k = FK_NARROW(FK_TEST, 24); 636 ebp = POP32_VAL(esp); /* 0x2B062465: pop ebp */ 637 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B062466: ret 4 */ 638 RECOMP_REGS_OUT(); 639 } 640 641 void sub_2B062470(void) { 642 int _fpu_cmp = 0; 643 uint32_t _cf = 0; 644 int _df = 1; 645 uint32_t _flag_k = FK_NONE; 646 uint32_t _flag_a = 0, _flag_b = 0; 647 uint32_t _itail_tgt = 0; 648 RECOMP_REGS_LOCALS 649 RECOMP_ENTER(0x2B062470u); 650 651 L_2B062470: 652 PUSH32(esp, ebp); /* 0x2B062470: push ebp */ 653 ebp = esp; /* 0x2B062471: mov ebp, esp */ 654 eax = MEM32(ebp + 0xC); /* 0x2B062473: mov eax, dword ptr [ebp + 0xc] */ 655 edx = MEM32(ebp + 0x8); /* 0x2B062476: mov edx, dword ptr [ebp + 8] */ 656 PUSH32(esp, ebx); /* 0x2B062479: push ebx */ 657 PUSH32(esp, esi); /* 0x2B06247A: push esi */ 658 esi = ecx; /* 0x2B06247B: mov esi, ecx */ 659 SET_LO8(ecx, MEM8(eax)); /* 0x2B06247D: mov cl, byte ptr [eax] */ 660 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2B06247F: mov byte ptr [esi], cl */ 661 SET_LO8(eax, MEM8(edx)); /* 0x2B062481: mov al, byte ptr [edx] */ 662 PUSH32(esp, edi); /* 0x2B062483: push edi */ 663 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 664 ebx = 0; /* 0x2B062484: xor ebx, ebx */ 665 _cf = 0; 666 _flag_k = FK_TEST; 667 PUSH32(esp, 0x14u); /* 0x2B062486: push 0x14 */ 668 MEM8(esi + 0x1) = (uint8_t)(LO8(eax)); /* 0x2B062488: mov byte ptr [esi + 1], al */ 669 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B06248B: mov byte ptr [esi + 0xc], bl */ 670 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06248E: call 0x2b0ab212 */ /* not lifted */ 671 RECOMP_FLAGS_IN(); 672 MEM32(eax + 0x4) = ebx; /* 0x2B062493: mov dword ptr [eax + 4], ebx */ 673 MEM8(eax + 0x11) = (uint8_t)(LO8(ebx)); /* 0x2B062496: mov byte ptr [eax + 0x11], bl */ 674 SET_LO8(ecx, 1); /* 0x2B062499: mov cl, 1 */ 675 MEM8(eax + 0x10) = (uint8_t)(LO8(ecx)); /* 0x2B06249B: mov byte ptr [eax + 0x10], cl */ 676 MEM32(esi + 0x8) = eax; /* 0x2B06249E: mov dword ptr [esi + 8], eax */ 677 MEM8(eax + 0x11) = (uint8_t)(LO8(ecx)); /* 0x2B0624A1: mov byte ptr [eax + 0x11], cl */ 678 ecx = MEM32(esi + 0x8); /* 0x2B0624A4: mov ecx, dword ptr [esi + 8] */ 679 MEM32(ecx) = ebx; /* 0x2B0624A7: mov dword ptr [ecx], ebx */ 680 edx = MEM32(esi + 0x8); /* 0x2B0624A9: mov edx, dword ptr [esi + 8] */ 681 MEM32(edx + 0x8) = ebx; /* 0x2B0624AC: mov dword ptr [edx + 8], ebx */ 682 edi = MEM32(esi + 0x8); /* 0x2B0624AF: mov edi, dword ptr [esi + 8] */ 683 PUSH32(esp, 0x14u); /* 0x2B0624B2: push 0x14 */ 684 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0624B4: call 0x2b0ab212 */ /* not lifted */ 685 RECOMP_FLAGS_IN(); 686 MEM32(eax + 0x4) = edi; /* 0x2B0624B9: mov dword ptr [eax + 4], edi */ 687 MEM8(eax + 0x10) = (uint8_t)(LO8(ebx)); /* 0x2B0624BC: mov byte ptr [eax + 0x10], bl */ 688 MEM8(eax + 0x11) = (uint8_t)(LO8(ebx)); /* 0x2B0624BF: mov byte ptr [eax + 0x11], bl */ 689 MEM32(esi + 0x4) = eax; /* 0x2B0624C2: mov dword ptr [esi + 4], eax */ 690 MEM32(eax) = eax; /* 0x2B0624C5: mov dword ptr [eax], eax */ 691 eax = MEM32(esi + 0x4); /* 0x2B0624C7: mov eax, dword ptr [esi + 4] */ 692 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 693 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 694 esp = esp + 8; /* 0x2B0624CA: add esp, 8 */ 695 _flag_k = FK_ADD; 696 MEM32(eax + 0x8) = eax; /* 0x2B0624CD: mov dword ptr [eax + 8], eax */ 697 edi = POP32_VAL(esp); /* 0x2B0624D0: pop edi */ 698 MEM32(esi + 0x10) = ebx; /* 0x2B0624D1: mov dword ptr [esi + 0x10], ebx */ 699 eax = esi; /* 0x2B0624D4: mov eax, esi */ 700 esi = POP32_VAL(esp); /* 0x2B0624D6: pop esi */ 701 ebx = POP32_VAL(esp); /* 0x2B0624D7: pop ebx */ 702 ebp = POP32_VAL(esp); /* 0x2B0624D8: pop ebp */ 703 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0624D9: ret 8 */ 704 RECOMP_REGS_OUT(); 705 } 706 707 void sub_2B0624E0(void) { 708 int _fpu_cmp = 0; 709 uint32_t _cf = 0; 710 int _df = 1; 711 uint32_t _flag_k = FK_NONE; 712 uint32_t _flag_a = 0, _flag_b = 0; 713 uint32_t _itail_tgt = 0; 714 RECOMP_REGS_LOCALS 715 RECOMP_ENTER(0x2B0624E0u); 716 717 L_2B0624E0: 718 PUSH32(esp, ebp); /* 0x2B0624E0: push ebp */ 719 ebp = esp; /* 0x2B0624E1: mov ebp, esp */ 720 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0624E3: push -1 */ 721 PUSH32(esp, 0x2B0B0916u); /* 0x2B0624E5: push 0x2b0b0916 */ 722 eax = MEM32(FS_BASE + (0)); /* 0x2B0624EA: mov eax, dword ptr fs:[0] */ 723 PUSH32(esp, eax); /* 0x2B0624F0: push eax */ 724 MEM32(FS_BASE + (0)) = esp; /* 0x2B0624F1: mov dword ptr fs:[0], esp */ 725 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x8Cu); 726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 727 esp = esp - 0x8Cu; /* 0x2B0624F8: sub esp, 0x8c */ 728 _flag_k = FK_CMP; 729 eax = MEM32(ebp + 0x8); /* 0x2B0624FE: mov eax, dword ptr [ebp + 8] */ 730 PUSH32(esp, ebx); /* 0x2B062501: push ebx */ 731 ebx = ecx; /* 0x2B062502: mov ebx, ecx */ 732 /* cmp ebx, eax */ /* 0x2B062504: cmp ebx, eax */ 733 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 735 _flag_k = FK_CMP; 736 MEM32(ebp + (-0x10)) = ebx; /* 0x2B062506: mov dword ptr [ebp - 0x10], ebx */ 737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062515; /* 0x2B062509: je 0x2b062515 */ 738 L_2B06250B: 739 ecx = MEM32(eax); /* 0x2B06250B: mov ecx, dword ptr [eax] */ 740 MEM32(ebx) = ecx; /* 0x2B06250D: mov dword ptr [ebx], ecx */ 741 edx = MEM32(eax + 0x4); /* 0x2B06250F: mov edx, dword ptr [eax + 4] */ 742 MEM32(ebx + 0x4) = edx; /* 0x2B062512: mov dword ptr [ebx + 4], edx */ 743 L_2B062515: 744 SET_LO8(ecx, MEM8(ebp + 0x13)); /* 0x2B062515: mov cl, byte ptr [ebp + 0x13] */ 745 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B062518: mov al, byte ptr [ebp + 0x10] */ 746 PUSH32(esp, esi); /* 0x2B06251B: push esi */ 747 PUSH32(esp, edi); /* 0x2B06251C: push edi */ 748 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 749 edi = 0; /* 0x2B06251D: xor edi, edi */ 750 _cf = 0; 751 _flag_k = FK_TEST; 752 MEM32(ebx + 0x14) = edi; /* 0x2B06251F: mov dword ptr [ebx + 0x14], edi */ 753 MEM32(ebx + 0x18) = edi; /* 0x2B062522: mov dword ptr [ebx + 0x18], edi */ 754 MEM32(ebx + 0x20) = 0x00FFFFFFu; /* 0x2B062525: mov dword ptr [ebx + 0x20], 0xffffff */ 755 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(ecx)); /* 0x2B06252C: mov byte ptr [ebp - 0x28], cl */ 756 MEM32(ebx + 0x28) = edi; /* 0x2B06252F: mov dword ptr [ebx + 0x28], edi */ 757 MEM32(ebx + 0x2C) = edi; /* 0x2B062532: mov dword ptr [ebx + 0x2c], edi */ 758 MEM32(ebx + 0x30) = edi; /* 0x2B062535: mov dword ptr [ebx + 0x30], edi */ 759 PUSH32(esp, edi); /* 0x2B062538: push edi */ 760 ecx = ebp + (-0x28); /* 0x2B062539: lea ecx, [ebp - 0x28] */ 761 MEM8(ebx + 0x34) = (uint8_t)(LO8(eax)); /* 0x2B06253C: mov byte ptr [ebx + 0x34], al */ 762 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B06253F: call dword ptr [0x2b0b514c] */ 763 RECOMP_FLAGS_IN(); 764 MEM32(ebp + (-0x18)) = edi; /* 0x2B062545: mov dword ptr [ebp - 0x18], edi */ 765 PUSH32(esp, ebx); /* 0x2B062548: push ebx */ 766 MEM32(ebp + (-0x4)) = edi; /* 0x2B062549: mov dword ptr [ebp - 4], edi */ 767 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B06254C: call dword ptr [0x2b0b5d6c] */ 768 RECOMP_FLAGS_IN(); 769 ecx = eax; /* 0x2B062552: mov ecx, eax */ 770 RECOMP_ICALL(MEM32(0x2B0B5DE0)); /* 0x2B062554: call dword ptr [0x2b0b5de0] */ 771 RECOMP_FLAGS_IN(); 772 esi = eax; /* 0x2B06255A: mov esi, eax */ 773 /* cmp esi, edi */ /* 0x2B06255C: cmp esi, edi */ 774 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 776 _flag_k = FK_CMP; 777 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062643; /* 0x2B06255E: je 0x2b062643 */ 778 L_2B062564: 779 /* cmp MEM8(esi), 0 */ /* 0x2B062564: cmp byte ptr [esi], 0 */ 780 _flag_a = (uint32_t)(MEM8(esi)) << 24; _flag_b = (uint32_t)(0) << 24; 781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 782 _flag_k = FK_NARROW(FK_CMP, 24); 783 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062643; /* 0x2B062567: je 0x2b062643 */ 784 L_2B06256D: 785 edx = MEM32(0x2B0B515C); /* 0x2B06256D: mov edx, dword ptr [0x2b0b515c] */ 786 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 787 eax = 0; /* 0x2B062573: xor eax, eax */ 788 _cf = 0; 789 _flag_k = FK_TEST; 790 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 791 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062575: or ecx, 0xffffffff */ 792 _cf = 0; 793 _flag_k = FK_TEST; 794 edi = esi; /* 0x2B062578: mov edi, esi */ 795 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; } /* 0x2B06257A: repne scasb al, byte ptr es:[edi] */ 796 eax = MEM32(edx); /* 0x2B06257C: mov eax, dword ptr [edx] */ 797 edx = MEM32(ebp + (-0x20)); /* 0x2B06257E: mov edx, dword ptr [ebp - 0x20] */ 798 ecx = ~ecx; /* 0x2B062581: not ecx */ 799 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 800 ecx = ecx - 1; /* 0x2B062583: dec ecx */ 801 _flag_k = FK_DEC; 802 edi = ecx; /* 0x2B062584: mov edi, ecx */ 803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 805 eax = eax - edx; /* 0x2B062586: sub eax, edx */ 806 _flag_k = FK_CMP; 807 /* cmp eax, edi */ /* 0x2B062588: cmp eax, edi */ 808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 810 _flag_k = FK_CMP; 811 if (CMP_A(_flag_a, _flag_b)) goto L_2B062592; /* 0x2B06258A: ja 0x2b062592 */ 812 L_2B06258C: 813 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06258C: call dword ptr [0x2b0b51a8] */ 814 RECOMP_FLAGS_IN(); 815 L_2B062592: 816 /* test edi, edi */ /* 0x2B062592: test edi, edi */ 817 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 818 _cf = 0; 819 _flag_k = FK_TEST; 820 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0625D6; /* 0x2B062594: jbe 0x2b0625d6 */ 821 L_2B062596: 822 ecx = MEM32(ebp + (-0x20)); /* 0x2B062596: mov ecx, dword ptr [ebp - 0x20] */ 823 eax = ecx + edi; /* 0x2B062599: lea eax, [ecx + edi] */ 824 PUSH32(esp, 0); /* 0x2B06259C: push 0 */ 825 PUSH32(esp, eax); /* 0x2B06259E: push eax */ 826 ecx = ebp + (-0x28); /* 0x2B06259F: lea ecx, [ebp - 0x28] */ 827 MEM32(ebp + (-0x14)) = eax; /* 0x2B0625A2: mov dword ptr [ebp - 0x14], eax */ 828 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0625A5: call dword ptr [0x2b0b5154] */ 829 RECOMP_FLAGS_IN(); 830 /* test LO8(eax), LO8(eax) */ /* 0x2B0625AB: test al, al */ 831 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 832 _cf = 0; 833 _flag_k = FK_NARROW(FK_TEST, 24); 834 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0625D6; /* 0x2B0625AD: je 0x2b0625d6 */ 835 L_2B0625AF: 836 edx = MEM32(ebp + (-0x24)); /* 0x2B0625AF: mov edx, dword ptr [ebp - 0x24] */ 837 eax = MEM32(ebp + (-0x20)); /* 0x2B0625B2: mov eax, dword ptr [ebp - 0x20] */ 838 ecx = edi; /* 0x2B0625B5: mov ecx, edi */ 839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 840 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 841 eax = eax + edx; /* 0x2B0625B7: add eax, edx */ 842 _flag_k = FK_ADD; 843 edx = ecx; /* 0x2B0625B9: mov edx, ecx */ 844 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0625BB: shr ecx, 2 */ 845 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 846 ecx = ecx >> 2u; /* 0x2B0625BB: shr ecx, 2 */ 847 edi = eax; /* 0x2B0625BE: mov edi, eax */ 848 eax = MEM32(ebp + (-0x14)); /* 0x2B0625C0: mov eax, dword ptr [ebp - 0x14] */ 849 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0625C3: 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; } 850 ecx = edx; /* 0x2B0625C5: mov ecx, edx */ 851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 852 ecx = ecx & 3; /* 0x2B0625C7: and ecx, 3 */ 853 _cf = 0; 854 _flag_k = FK_TEST; 855 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0625CA: 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; } 856 PUSH32(esp, eax); /* 0x2B0625CC: push eax */ 857 ecx = ebp + (-0x28); /* 0x2B0625CD: lea ecx, [ebp - 0x28] */ 858 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0625D0: call dword ptr [0x2b0b5150] */ 859 RECOMP_FLAGS_IN(); 860 L_2B0625D6: 861 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 862 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0625D6: or ecx, 0xffffffff */ 863 _cf = 0; 864 _flag_k = FK_TEST; 865 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 866 eax = 0; /* 0x2B0625D9: xor eax, eax */ 867 _cf = 0; 868 _flag_k = FK_TEST; 869 edi = 0x2B0E19F8u; /* 0x2B0625DB: mov edi, 0x2b0e19f8 */ 870 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; } /* 0x2B0625E0: repne scasb al, byte ptr es:[edi] */ 871 ecx = ~ecx; /* 0x2B0625E2: not ecx */ 872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 873 ecx = ecx - 1; /* 0x2B0625E4: dec ecx */ 874 _flag_k = FK_DEC; 875 esi = ecx; /* 0x2B0625E5: mov esi, ecx */ 876 ecx = MEM32(0x2B0B515C); /* 0x2B0625E7: mov ecx, dword ptr [0x2b0b515c] */ 877 edx = MEM32(ecx); /* 0x2B0625ED: mov edx, dword ptr [ecx] */ 878 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 880 edx = edx - MEM32(ebp + (-0x20)); /* 0x2B0625EF: sub edx, dword ptr [ebp - 0x20] */ 881 _flag_k = FK_CMP; 882 /* cmp edx, esi */ /* 0x2B0625F2: cmp edx, esi */ 883 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 885 _flag_k = FK_CMP; 886 if (CMP_A(_flag_a, _flag_b)) goto L_2B0625FC; /* 0x2B0625F4: ja 0x2b0625fc */ 887 L_2B0625F6: 888 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0625F6: call dword ptr [0x2b0b51a8] */ 889 RECOMP_FLAGS_IN(); 890 L_2B0625FC: 891 /* test esi, esi */ /* 0x2B0625FC: test esi, esi */ 892 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 893 _cf = 0; 894 _flag_k = FK_TEST; 895 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062643; /* 0x2B0625FE: jbe 0x2b062643 */ 896 L_2B062600: 897 eax = MEM32(ebp + (-0x20)); /* 0x2B062600: mov eax, dword ptr [ebp - 0x20] */ 898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 900 eax = eax + esi; /* 0x2B062603: add eax, esi */ 901 _flag_k = FK_ADD; 902 PUSH32(esp, 0); /* 0x2B062605: push 0 */ 903 PUSH32(esp, eax); /* 0x2B062607: push eax */ 904 ecx = ebp + (-0x28); /* 0x2B062608: lea ecx, [ebp - 0x28] */ 905 MEM32(ebp + (-0x14)) = eax; /* 0x2B06260B: mov dword ptr [ebp - 0x14], eax */ 906 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B06260E: call dword ptr [0x2b0b5154] */ 907 RECOMP_FLAGS_IN(); 908 /* test LO8(eax), LO8(eax) */ /* 0x2B062614: test al, al */ 909 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 910 _cf = 0; 911 _flag_k = FK_NARROW(FK_TEST, 24); 912 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062643; /* 0x2B062616: je 0x2b062643 */ 913 L_2B062618: 914 ecx = MEM32(ebp + (-0x24)); /* 0x2B062618: mov ecx, dword ptr [ebp - 0x24] */ 915 edx = MEM32(ebp + (-0x20)); /* 0x2B06261B: mov edx, dword ptr [ebp - 0x20] */ 916 edi = edx + ecx; /* 0x2B06261E: lea edi, [edx + ecx] */ 917 ecx = esi; /* 0x2B062621: mov ecx, esi */ 918 eax = ecx; /* 0x2B062623: mov eax, ecx */ 919 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062625: shr ecx, 2 */ 920 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 921 ecx = ecx >> 2u; /* 0x2B062625: shr ecx, 2 */ 922 esi = 0x2B0E19F8u; /* 0x2B062628: mov esi, 0x2b0e19f8 */ 923 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06262D: 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; } 924 ecx = eax; /* 0x2B06262F: mov ecx, eax */ 925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 926 ecx = ecx & 3; /* 0x2B062631: and ecx, 3 */ 927 _cf = 0; 928 _flag_k = FK_TEST; 929 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062634: 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; } 930 ecx = MEM32(ebp + (-0x14)); /* 0x2B062636: mov ecx, dword ptr [ebp - 0x14] */ 931 PUSH32(esp, ecx); /* 0x2B062639: push ecx */ 932 ecx = ebp + (-0x28); /* 0x2B06263A: lea ecx, [ebp - 0x28] */ 933 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06263D: call dword ptr [0x2b0b5150] */ 934 RECOMP_FLAGS_IN(); 935 L_2B062643: 936 PUSH32(esp, 0); /* 0x2B062643: push 0 */ 937 PUSH32(esp, ebx); /* 0x2B062645: push ebx */ 938 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B062646: call dword ptr [0x2b0b5d6c] */ 939 RECOMP_FLAGS_IN(); 940 ecx = eax; /* 0x2B06264C: mov ecx, eax */ 941 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B06264E: call dword ptr [0x2b0b5ee0] */ 942 RECOMP_FLAGS_IN(); 943 /* test eax, 0x00400000u */ /* 0x2B062654: test eax, 0x400000 */ 944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x00400000u); 945 _cf = 0; 946 _flag_k = FK_TEST; 947 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062902; /* 0x2B062659: je 0x2b062902 */ 948 L_2B06265F: 949 /* cmp MEM32(ebx), 0xC350u */ /* 0x2B06265F: cmp dword ptr [ebx], 0xc350 */ 950 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(0xC350u); 951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 952 _flag_k = FK_CMP; 953 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062902; /* 0x2B062665: jne 0x2b062902 */ 954 L_2B06266B: 955 PUSH32(esp, ebx); /* 0x2B06266B: push ebx */ 956 MEM8(ebp + (-0x29)) = (uint8_t)(1); /* 0x2B06266C: mov byte ptr [ebp - 0x29], 1 */ 957 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B062670: call dword ptr [0x2b0b5d6c] */ 958 RECOMP_FLAGS_IN(); 959 ecx = eax; /* 0x2B062676: mov ecx, eax */ 960 RECOMP_ICALL(MEM32(0x2B0B5DE4)); /* 0x2B062678: call dword ptr [0x2b0b5de4] */ 961 RECOMP_FLAGS_IN(); 962 edx = MEM32(0x2B0B515C); /* 0x2B06267E: mov edx, dword ptr [0x2b0b515c] */ 963 esi = eax; /* 0x2B062684: mov esi, eax */ 964 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 965 eax = 0; /* 0x2B062686: xor eax, eax */ 966 _cf = 0; 967 _flag_k = FK_TEST; 968 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 969 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062688: or ecx, 0xffffffff */ 970 _cf = 0; 971 _flag_k = FK_TEST; 972 edi = esi; /* 0x2B06268B: mov edi, esi */ 973 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; } /* 0x2B06268D: repne scasb al, byte ptr es:[edi] */ 974 eax = MEM32(edx); /* 0x2B06268F: mov eax, dword ptr [edx] */ 975 edx = MEM32(ebp + (-0x20)); /* 0x2B062691: mov edx, dword ptr [ebp - 0x20] */ 976 ecx = ~ecx; /* 0x2B062694: not ecx */ 977 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 978 ecx = ecx - 1; /* 0x2B062696: dec ecx */ 979 _flag_k = FK_DEC; 980 edi = ecx; /* 0x2B062697: mov edi, ecx */ 981 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 983 eax = eax - edx; /* 0x2B062699: sub eax, edx */ 984 _flag_k = FK_CMP; 985 /* cmp eax, edi */ /* 0x2B06269B: cmp eax, edi */ 986 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 988 _flag_k = FK_CMP; 989 if (CMP_A(_flag_a, _flag_b)) goto L_2B0626A5; /* 0x2B06269D: ja 0x2b0626a5 */ 990 L_2B06269F: 991 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06269F: call dword ptr [0x2b0b51a8] */ 992 RECOMP_FLAGS_IN(); 993 L_2B0626A5: 994 /* test edi, edi */ /* 0x2B0626A5: test edi, edi */ 995 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 996 _cf = 0; 997 _flag_k = FK_TEST; 998 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0626E9; /* 0x2B0626A7: jbe 0x2b0626e9 */ 999 L_2B0626A9: 1000 ecx = MEM32(ebp + (-0x20)); /* 0x2B0626A9: mov ecx, dword ptr [ebp - 0x20] */ 1001 eax = ecx + edi; /* 0x2B0626AC: lea eax, [ecx + edi] */ 1002 PUSH32(esp, 0); /* 0x2B0626AF: push 0 */ 1003 PUSH32(esp, eax); /* 0x2B0626B1: push eax */ 1004 ecx = ebp + (-0x28); /* 0x2B0626B2: lea ecx, [ebp - 0x28] */ 1005 MEM32(ebp + (-0x14)) = eax; /* 0x2B0626B5: mov dword ptr [ebp - 0x14], eax */ 1006 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0626B8: call dword ptr [0x2b0b5154] */ 1007 RECOMP_FLAGS_IN(); 1008 /* test LO8(eax), LO8(eax) */ /* 0x2B0626BE: test al, al */ 1009 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1010 _cf = 0; 1011 _flag_k = FK_NARROW(FK_TEST, 24); 1012 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0626E9; /* 0x2B0626C0: je 0x2b0626e9 */ 1013 L_2B0626C2: 1014 edx = MEM32(ebp + (-0x24)); /* 0x2B0626C2: mov edx, dword ptr [ebp - 0x24] */ 1015 eax = MEM32(ebp + (-0x20)); /* 0x2B0626C5: mov eax, dword ptr [ebp - 0x20] */ 1016 ecx = edi; /* 0x2B0626C8: mov ecx, edi */ 1017 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1018 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1019 eax = eax + edx; /* 0x2B0626CA: add eax, edx */ 1020 _flag_k = FK_ADD; 1021 edx = ecx; /* 0x2B0626CC: mov edx, ecx */ 1022 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0626CE: shr ecx, 2 */ 1023 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1024 ecx = ecx >> 2u; /* 0x2B0626CE: shr ecx, 2 */ 1025 edi = eax; /* 0x2B0626D1: mov edi, eax */ 1026 eax = MEM32(ebp + (-0x14)); /* 0x2B0626D3: mov eax, dword ptr [ebp - 0x14] */ 1027 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0626D6: 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; } 1028 ecx = edx; /* 0x2B0626D8: mov ecx, edx */ 1029 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1030 ecx = ecx & 3; /* 0x2B0626DA: and ecx, 3 */ 1031 _cf = 0; 1032 _flag_k = FK_TEST; 1033 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0626DD: 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; } 1034 PUSH32(esp, eax); /* 0x2B0626DF: push eax */ 1035 ecx = ebp + (-0x28); /* 0x2B0626E0: lea ecx, [ebp - 0x28] */ 1036 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B0626E3: call dword ptr [0x2b0b5150] */ 1037 RECOMP_FLAGS_IN(); 1038 L_2B0626E9: 1039 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1040 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0626E9: or ecx, 0xffffffff */ 1041 _cf = 0; 1042 _flag_k = FK_TEST; 1043 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1044 eax = 0; /* 0x2B0626EC: xor eax, eax */ 1045 _cf = 0; 1046 _flag_k = FK_TEST; 1047 edi = 0x2B0E19F8u; /* 0x2B0626EE: mov edi, 0x2b0e19f8 */ 1048 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; } /* 0x2B0626F3: repne scasb al, byte ptr es:[edi] */ 1049 ecx = ~ecx; /* 0x2B0626F5: not ecx */ 1050 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1051 ecx = ecx - 1; /* 0x2B0626F7: dec ecx */ 1052 _flag_k = FK_DEC; 1053 edi = ecx; /* 0x2B0626F8: mov edi, ecx */ 1054 ecx = MEM32(0x2B0B515C); /* 0x2B0626FA: mov ecx, dword ptr [0x2b0b515c] */ 1055 edx = MEM32(ecx); /* 0x2B062700: mov edx, dword ptr [ecx] */ 1056 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 1057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1058 edx = edx - MEM32(ebp + (-0x20)); /* 0x2B062702: sub edx, dword ptr [ebp - 0x20] */ 1059 _flag_k = FK_CMP; 1060 /* cmp edx, edi */ /* 0x2B062705: cmp edx, edi */ 1061 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 1062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1063 _flag_k = FK_CMP; 1064 if (CMP_A(_flag_a, _flag_b)) goto L_2B06270F; /* 0x2B062707: ja 0x2b06270f */ 1065 L_2B062709: 1066 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B062709: call dword ptr [0x2b0b51a8] */ 1067 RECOMP_FLAGS_IN(); 1068 L_2B06270F: 1069 /* test edi, edi */ /* 0x2B06270F: test edi, edi */ 1070 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1071 _cf = 0; 1072 _flag_k = FK_TEST; 1073 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062758; /* 0x2B062711: jbe 0x2b062758 */ 1074 L_2B062713: 1075 eax = MEM32(ebp + (-0x20)); /* 0x2B062713: mov eax, dword ptr [ebp - 0x20] */ 1076 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1077 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1078 eax = eax + edi; /* 0x2B062716: add eax, edi */ 1079 _flag_k = FK_ADD; 1080 PUSH32(esp, 0); /* 0x2B062718: push 0 */ 1081 PUSH32(esp, eax); /* 0x2B06271A: push eax */ 1082 ecx = ebp + (-0x28); /* 0x2B06271B: lea ecx, [ebp - 0x28] */ 1083 MEM32(ebp + (-0x14)) = eax; /* 0x2B06271E: mov dword ptr [ebp - 0x14], eax */ 1084 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062721: call dword ptr [0x2b0b5154] */ 1085 RECOMP_FLAGS_IN(); 1086 /* test LO8(eax), LO8(eax) */ /* 0x2B062727: test al, al */ 1087 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1088 _cf = 0; 1089 _flag_k = FK_NARROW(FK_TEST, 24); 1090 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062758; /* 0x2B062729: je 0x2b062758 */ 1091 L_2B06272B: 1092 ecx = MEM32(ebp + (-0x24)); /* 0x2B06272B: mov ecx, dword ptr [ebp - 0x24] */ 1093 edx = MEM32(ebp + (-0x20)); /* 0x2B06272E: mov edx, dword ptr [ebp - 0x20] */ 1094 eax = edx + ecx; /* 0x2B062731: lea eax, [edx + ecx] */ 1095 ecx = edi; /* 0x2B062734: mov ecx, edi */ 1096 edi = eax; /* 0x2B062736: mov edi, eax */ 1097 eax = ecx; /* 0x2B062738: mov eax, ecx */ 1098 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06273A: shr ecx, 2 */ 1099 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1100 ecx = ecx >> 2u; /* 0x2B06273A: shr ecx, 2 */ 1101 esi = 0x2B0E19F8u; /* 0x2B06273D: mov esi, 0x2b0e19f8 */ 1102 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062742: 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; } 1103 ecx = eax; /* 0x2B062744: mov ecx, eax */ 1104 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1105 ecx = ecx & 3; /* 0x2B062746: and ecx, 3 */ 1106 _cf = 0; 1107 _flag_k = FK_TEST; 1108 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062749: 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; } 1109 ecx = MEM32(ebp + (-0x14)); /* 0x2B06274B: mov ecx, dword ptr [ebp - 0x14] */ 1110 PUSH32(esp, ecx); /* 0x2B06274E: push ecx */ 1111 ecx = ebp + (-0x28); /* 0x2B06274F: lea ecx, [ebp - 0x28] */ 1112 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B062752: call dword ptr [0x2b0b5150] */ 1113 RECOMP_FLAGS_IN(); 1114 L_2B062758: 1115 edi = MEM32(0x2B0B5D6C); /* 0x2B062758: mov edi, dword ptr [0x2b0b5d6c] */ 1116 PUSH32(esp, ebx); /* 0x2B06275E: push ebx */ 1117 RECOMP_ICALL(edi); /* 0x2B06275F: call edi */ 1118 RECOMP_FLAGS_IN(); 1119 ecx = eax; /* 0x2B062761: mov ecx, eax */ 1120 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B062763: call dword ptr [0x2b0b5d50] */ 1121 RECOMP_FLAGS_IN(); 1122 esi = eax; /* 0x2B062769: mov esi, eax */ 1123 PUSH32(esp, ebx); /* 0x2B06276B: push ebx */ 1124 MEM32(ebp + (-0x14)) = esi; /* 0x2B06276C: mov dword ptr [ebp - 0x14], esi */ 1125 RECOMP_ICALL(edi); /* 0x2B06276F: call edi */ 1126 RECOMP_FLAGS_IN(); 1127 ecx = eax; /* 0x2B062771: mov ecx, eax */ 1128 RECOMP_ICALL(MEM32(0x2B0B5E94)); /* 0x2B062773: call dword ptr [0x2b0b5e94] */ 1129 RECOMP_FLAGS_IN(); 1130 /* test LO8(eax), LO8(eax) */ /* 0x2B062779: test al, al */ 1131 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1132 _cf = 0; 1133 _flag_k = FK_NARROW(FK_TEST, 24); 1134 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062980; /* 0x2B06277B: jne 0x2b062980 */ 1135 L_2B062781: 1136 edx = MEM32(ebp + 0x8); /* 0x2B062781: mov edx, dword ptr [ebp + 8] */ 1137 PUSH32(esp, 0xE0u); /* 0x2B062784: push 0xe0 */ 1138 PUSH32(esp, edx); /* 0x2B062789: push edx */ 1139 RECOMP_ICALL(edi); /* 0x2B06278A: call edi */ 1140 RECOMP_FLAGS_IN(); 1141 ecx = eax; /* 0x2B06278C: mov ecx, eax */ 1142 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B06278E: call dword ptr [0x2b0b5ee0] */ 1143 RECOMP_FLAGS_IN(); 1144 /* cmp eax, 0x499602D2u */ /* 0x2B062794: cmp eax, 0x499602d2 */ 1145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 1146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1147 _flag_k = FK_CMP; 1148 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06290B; /* 0x2B062799: je 0x2b06290b */ 1149 L_2B06279F: 1150 /* test eax, 0x04000001u */ /* 0x2B06279F: test eax, 0x4000001 */ 1151 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x04000001u); 1152 _cf = 0; 1153 _flag_k = FK_TEST; 1154 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06290B; /* 0x2B0627A4: je 0x2b06290b */ 1155 L_2B0627AA: 1156 edx = MEM32(ebp + (-0x20)); /* 0x2B0627AA: mov edx, dword ptr [ebp - 0x20] */ 1157 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1158 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0627AD: or ecx, 0xffffffff */ 1159 _cf = 0; 1160 _flag_k = FK_TEST; 1161 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1162 eax = 0; /* 0x2B0627B0: xor eax, eax */ 1163 _cf = 0; 1164 _flag_k = FK_TEST; 1165 edi = 0x2B0EAF40u; /* 0x2B0627B2: mov edi, 0x2b0eaf40 */ 1166 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; } /* 0x2B0627B7: repne scasb al, byte ptr es:[edi] */ 1167 eax = MEM32(0x2B0B515C); /* 0x2B0627B9: mov eax, dword ptr [0x2b0b515c] */ 1168 ecx = ~ecx; /* 0x2B0627BE: not ecx */ 1169 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1170 ecx = ecx - 1; /* 0x2B0627C0: dec ecx */ 1171 _flag_k = FK_DEC; 1172 edi = ecx; /* 0x2B0627C1: mov edi, ecx */ 1173 ecx = MEM32(eax); /* 0x2B0627C3: mov ecx, dword ptr [eax] */ 1174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1176 ecx = ecx - edx; /* 0x2B0627C5: sub ecx, edx */ 1177 _flag_k = FK_CMP; 1178 /* cmp ecx, edi */ /* 0x2B0627C7: cmp ecx, edi */ 1179 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 1180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1181 _flag_k = FK_CMP; 1182 if (CMP_A(_flag_a, _flag_b)) goto L_2B0627D1; /* 0x2B0627C9: ja 0x2b0627d1 */ 1183 L_2B0627CB: 1184 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0627CB: call dword ptr [0x2b0b51a8] */ 1185 RECOMP_FLAGS_IN(); 1186 L_2B0627D1: 1187 /* test edi, edi */ /* 0x2B0627D1: test edi, edi */ 1188 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1189 _cf = 0; 1190 _flag_k = FK_TEST; 1191 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06281D; /* 0x2B0627D3: jbe 0x2b06281d */ 1192 L_2B0627D5: 1193 edx = MEM32(ebp + (-0x20)); /* 0x2B0627D5: mov edx, dword ptr [ebp - 0x20] */ 1194 eax = edx + edi; /* 0x2B0627D8: lea eax, [edx + edi] */ 1195 PUSH32(esp, 0); /* 0x2B0627DB: push 0 */ 1196 PUSH32(esp, eax); /* 0x2B0627DD: push eax */ 1197 ecx = ebp + (-0x28); /* 0x2B0627DE: lea ecx, [ebp - 0x28] */ 1198 MEM32(ebp + (-0x10)) = eax; /* 0x2B0627E1: mov dword ptr [ebp - 0x10], eax */ 1199 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0627E4: call dword ptr [0x2b0b5154] */ 1200 RECOMP_FLAGS_IN(); 1201 /* test LO8(eax), LO8(eax) */ /* 0x2B0627EA: test al, al */ 1202 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1203 _cf = 0; 1204 _flag_k = FK_NARROW(FK_TEST, 24); 1205 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06281D; /* 0x2B0627EC: je 0x2b06281d */ 1206 L_2B0627EE: 1207 ecx = MEM32(ebp + (-0x20)); /* 0x2B0627EE: mov ecx, dword ptr [ebp - 0x20] */ 1208 eax = MEM32(ebp + (-0x24)); /* 0x2B0627F1: mov eax, dword ptr [ebp - 0x24] */ 1209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1211 eax = eax + ecx; /* 0x2B0627F4: add eax, ecx */ 1212 _flag_k = FK_ADD; 1213 ecx = edi; /* 0x2B0627F6: mov ecx, edi */ 1214 edx = ecx; /* 0x2B0627F8: mov edx, ecx */ 1215 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0627FA: shr ecx, 2 */ 1216 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1217 ecx = ecx >> 2u; /* 0x2B0627FA: shr ecx, 2 */ 1218 edi = eax; /* 0x2B0627FD: mov edi, eax */ 1219 eax = MEM32(ebp + (-0x10)); /* 0x2B0627FF: mov eax, dword ptr [ebp - 0x10] */ 1220 esi = 0x2B0EAF40u; /* 0x2B062802: mov esi, 0x2b0eaf40 */ 1221 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062807: 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; } 1222 ecx = edx; /* 0x2B062809: mov ecx, edx */ 1223 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1224 ecx = ecx & 3; /* 0x2B06280B: and ecx, 3 */ 1225 _cf = 0; 1226 _flag_k = FK_TEST; 1227 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06280E: 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; } 1228 PUSH32(esp, eax); /* 0x2B062810: push eax */ 1229 ecx = ebp + (-0x28); /* 0x2B062811: lea ecx, [ebp - 0x28] */ 1230 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B062814: call dword ptr [0x2b0b5150] */ 1231 RECOMP_FLAGS_IN(); 1232 esi = MEM32(ebp + (-0x14)); /* 0x2B06281A: mov esi, dword ptr [ebp - 0x14] */ 1233 L_2B06281D: 1234 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1235 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06281D: or ecx, 0xffffffff */ 1236 _cf = 0; 1237 _flag_k = FK_TEST; 1238 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1239 eax = 0; /* 0x2B062820: xor eax, eax */ 1240 _cf = 0; 1241 _flag_k = FK_TEST; 1242 edi = esi; /* 0x2B062822: mov edi, esi */ 1243 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; } /* 0x2B062824: repne scasb al, byte ptr es:[edi] */ 1244 ecx = ~ecx; /* 0x2B062826: not ecx */ 1245 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1246 ecx = ecx - 1; /* 0x2B062828: dec ecx */ 1247 _flag_k = FK_DEC; 1248 esi = ecx; /* 0x2B062829: mov esi, ecx */ 1249 ecx = MEM32(0x2B0B515C); /* 0x2B06282B: mov ecx, dword ptr [0x2b0b515c] */ 1250 edx = MEM32(ecx); /* 0x2B062831: mov edx, dword ptr [ecx] */ 1251 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 1252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1253 edx = edx - MEM32(ebp + (-0x20)); /* 0x2B062833: sub edx, dword ptr [ebp - 0x20] */ 1254 _flag_k = FK_CMP; 1255 /* cmp edx, esi */ /* 0x2B062836: cmp edx, esi */ 1256 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1258 _flag_k = FK_CMP; 1259 if (CMP_A(_flag_a, _flag_b)) goto L_2B062840; /* 0x2B062838: ja 0x2b062840 */ 1260 L_2B06283A: 1261 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06283A: call dword ptr [0x2b0b51a8] */ 1262 RECOMP_FLAGS_IN(); 1263 L_2B062840: 1264 /* test esi, esi */ /* 0x2B062840: test esi, esi */ 1265 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1266 _cf = 0; 1267 _flag_k = FK_TEST; 1268 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062885; /* 0x2B062842: jbe 0x2b062885 */ 1269 L_2B062844: 1270 eax = MEM32(ebp + (-0x20)); /* 0x2B062844: mov eax, dword ptr [ebp - 0x20] */ 1271 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1272 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1273 eax = eax + esi; /* 0x2B062847: add eax, esi */ 1274 _flag_k = FK_ADD; 1275 PUSH32(esp, 0); /* 0x2B062849: push 0 */ 1276 PUSH32(esp, eax); /* 0x2B06284B: push eax */ 1277 ecx = ebp + (-0x28); /* 0x2B06284C: lea ecx, [ebp - 0x28] */ 1278 MEM32(ebp + (-0x10)) = eax; /* 0x2B06284F: mov dword ptr [ebp - 0x10], eax */ 1279 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062852: call dword ptr [0x2b0b5154] */ 1280 RECOMP_FLAGS_IN(); 1281 /* test LO8(eax), LO8(eax) */ /* 0x2B062858: test al, al */ 1282 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1283 _cf = 0; 1284 _flag_k = FK_NARROW(FK_TEST, 24); 1285 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062885; /* 0x2B06285A: je 0x2b062885 */ 1286 L_2B06285C: 1287 ecx = MEM32(ebp + (-0x24)); /* 0x2B06285C: mov ecx, dword ptr [ebp - 0x24] */ 1288 edx = MEM32(ebp + (-0x20)); /* 0x2B06285F: mov edx, dword ptr [ebp - 0x20] */ 1289 edi = edx + ecx; /* 0x2B062862: lea edi, [edx + ecx] */ 1290 ecx = esi; /* 0x2B062865: mov ecx, esi */ 1291 esi = MEM32(ebp + (-0x14)); /* 0x2B062867: mov esi, dword ptr [ebp - 0x14] */ 1292 eax = ecx; /* 0x2B06286A: mov eax, ecx */ 1293 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06286C: shr ecx, 2 */ 1294 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1295 ecx = ecx >> 2u; /* 0x2B06286C: shr ecx, 2 */ 1296 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06286F: 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; } 1297 ecx = eax; /* 0x2B062871: mov ecx, eax */ 1298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1299 ecx = ecx & 3; /* 0x2B062873: and ecx, 3 */ 1300 _cf = 0; 1301 _flag_k = FK_TEST; 1302 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062876: 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; } 1303 ecx = MEM32(ebp + (-0x10)); /* 0x2B062878: mov ecx, dword ptr [ebp - 0x10] */ 1304 PUSH32(esp, ecx); /* 0x2B06287B: push ecx */ 1305 ecx = ebp + (-0x28); /* 0x2B06287C: lea ecx, [ebp - 0x28] */ 1306 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06287F: call dword ptr [0x2b0b5150] */ 1307 RECOMP_FLAGS_IN(); 1308 L_2B062885: 1309 edx = MEM32(0x2B0B515C); /* 0x2B062885: mov edx, dword ptr [0x2b0b515c] */ 1310 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1311 eax = 0; /* 0x2B06288B: xor eax, eax */ 1312 _cf = 0; 1313 _flag_k = FK_TEST; 1314 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1315 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06288D: or ecx, 0xffffffff */ 1316 _cf = 0; 1317 _flag_k = FK_TEST; 1318 edi = 0x2B0EAF3Cu; /* 0x2B062890: mov edi, 0x2b0eaf3c */ 1319 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; } /* 0x2B062895: repne scasb al, byte ptr es:[edi] */ 1320 eax = MEM32(edx); /* 0x2B062897: mov eax, dword ptr [edx] */ 1321 edx = MEM32(ebp + (-0x20)); /* 0x2B062899: mov edx, dword ptr [ebp - 0x20] */ 1322 ecx = ~ecx; /* 0x2B06289C: not ecx */ 1323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1324 ecx = ecx - 1; /* 0x2B06289E: dec ecx */ 1325 _flag_k = FK_DEC; 1326 esi = ecx; /* 0x2B06289F: mov esi, ecx */ 1327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1329 eax = eax - edx; /* 0x2B0628A1: sub eax, edx */ 1330 _flag_k = FK_CMP; 1331 /* cmp eax, esi */ /* 0x2B0628A3: cmp eax, esi */ 1332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1334 _flag_k = FK_CMP; 1335 if (CMP_A(_flag_a, _flag_b)) goto L_2B0628AD; /* 0x2B0628A5: ja 0x2b0628ad */ 1336 L_2B0628A7: 1337 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0628A7: call dword ptr [0x2b0b51a8] */ 1338 RECOMP_FLAGS_IN(); 1339 L_2B0628AD: 1340 /* test esi, esi */ /* 0x2B0628AD: test esi, esi */ 1341 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1342 _cf = 0; 1343 _flag_k = FK_TEST; 1344 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B0628AF: jbe 0x2b0629e8 */ 1345 L_2B0628B5: 1346 ecx = MEM32(ebp + (-0x20)); /* 0x2B0628B5: mov ecx, dword ptr [ebp - 0x20] */ 1347 eax = ecx + esi; /* 0x2B0628B8: lea eax, [ecx + esi] */ 1348 PUSH32(esp, 0); /* 0x2B0628BB: push 0 */ 1349 PUSH32(esp, eax); /* 0x2B0628BD: push eax */ 1350 ecx = ebp + (-0x28); /* 0x2B0628BE: lea ecx, [ebp - 0x28] */ 1351 MEM32(ebp + (-0x10)) = eax; /* 0x2B0628C1: mov dword ptr [ebp - 0x10], eax */ 1352 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0628C4: call dword ptr [0x2b0b5154] */ 1353 RECOMP_FLAGS_IN(); 1354 /* test LO8(eax), LO8(eax) */ /* 0x2B0628CA: test al, al */ 1355 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1356 _cf = 0; 1357 _flag_k = FK_NARROW(FK_TEST, 24); 1358 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B0628CC: je 0x2b0629e8 */ 1359 L_2B0628D2: 1360 eax = MEM32(ebp + (-0x20)); /* 0x2B0628D2: mov eax, dword ptr [ebp - 0x20] */ 1361 edx = MEM32(ebp + (-0x24)); /* 0x2B0628D5: mov edx, dword ptr [ebp - 0x24] */ 1362 ecx = esi; /* 0x2B0628D8: mov ecx, esi */ 1363 edi = eax + edx; /* 0x2B0628DA: lea edi, [eax + edx] */ 1364 eax = MEM32(ebp + (-0x10)); /* 0x2B0628DD: mov eax, dword ptr [ebp - 0x10] */ 1365 edx = ecx; /* 0x2B0628E0: mov edx, ecx */ 1366 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0628E2: shr ecx, 2 */ 1367 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1368 ecx = ecx >> 2u; /* 0x2B0628E2: shr ecx, 2 */ 1369 esi = 0x2B0EAF3Cu; /* 0x2B0628E5: mov esi, 0x2b0eaf3c */ 1370 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0628EA: 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; } 1371 ecx = edx; /* 0x2B0628EC: mov ecx, edx */ 1372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1373 ecx = ecx & 3; /* 0x2B0628EE: and ecx, 3 */ 1374 _cf = 0; 1375 _flag_k = FK_TEST; 1376 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0628F1: 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; } 1377 ecx = MEM32(ebp + (-0x24)); /* 0x2B0628F3: mov ecx, dword ptr [ebp - 0x24] */ 1378 MEM32(ebp + (-0x20)) = eax; /* 0x2B0628F6: mov dword ptr [ebp - 0x20], eax */ 1379 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0628F9: mov byte ptr [ecx + eax], 0 */ 1380 goto L_2B0629E8; /* 0x2B0628FD: jmp 0x2b0629e8 */ 1381 L_2B062902: 1382 MEM8(ebp + (-0x29)) = (uint8_t)(0); /* 0x2B062902: mov byte ptr [ebp - 0x29], 0 */ 1383 RECOMP_BACKEDGE(); 1384 goto L_2B062758; /* 0x2B062906: jmp 0x2b062758 */ 1385 L_2B06290B: 1386 edx = MEM32(0x2B0B515C); /* 0x2B06290B: mov edx, dword ptr [0x2b0b515c] */ 1387 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1388 eax = 0; /* 0x2B062911: xor eax, eax */ 1389 _cf = 0; 1390 _flag_k = FK_TEST; 1391 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1392 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062913: or ecx, 0xffffffff */ 1393 _cf = 0; 1394 _flag_k = FK_TEST; 1395 edi = esi; /* 0x2B062916: mov edi, esi */ 1396 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; } /* 0x2B062918: repne scasb al, byte ptr es:[edi] */ 1397 eax = MEM32(edx); /* 0x2B06291A: mov eax, dword ptr [edx] */ 1398 edx = MEM32(ebp + (-0x20)); /* 0x2B06291C: mov edx, dword ptr [ebp - 0x20] */ 1399 ecx = ~ecx; /* 0x2B06291F: not ecx */ 1400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1401 ecx = ecx - 1; /* 0x2B062921: dec ecx */ 1402 _flag_k = FK_DEC; 1403 esi = ecx; /* 0x2B062922: mov esi, ecx */ 1404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1406 eax = eax - edx; /* 0x2B062924: sub eax, edx */ 1407 _flag_k = FK_CMP; 1408 /* cmp eax, esi */ /* 0x2B062926: cmp eax, esi */ 1409 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1411 _flag_k = FK_CMP; 1412 if (CMP_A(_flag_a, _flag_b)) goto L_2B062930; /* 0x2B062928: ja 0x2b062930 */ 1413 L_2B06292A: 1414 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06292A: call dword ptr [0x2b0b51a8] */ 1415 RECOMP_FLAGS_IN(); 1416 L_2B062930: 1417 /* test esi, esi */ /* 0x2B062930: test esi, esi */ 1418 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1419 _cf = 0; 1420 _flag_k = FK_TEST; 1421 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B062932: jbe 0x2b0629e8 */ 1422 L_2B062938: 1423 ecx = MEM32(ebp + (-0x20)); /* 0x2B062938: mov ecx, dword ptr [ebp - 0x20] */ 1424 eax = ecx + esi; /* 0x2B06293B: lea eax, [ecx + esi] */ 1425 PUSH32(esp, 0); /* 0x2B06293E: push 0 */ 1426 PUSH32(esp, eax); /* 0x2B062940: push eax */ 1427 ecx = ebp + (-0x28); /* 0x2B062941: lea ecx, [ebp - 0x28] */ 1428 MEM32(ebp + (-0x10)) = eax; /* 0x2B062944: mov dword ptr [ebp - 0x10], eax */ 1429 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062947: call dword ptr [0x2b0b5154] */ 1430 RECOMP_FLAGS_IN(); 1431 /* test LO8(eax), LO8(eax) */ /* 0x2B06294D: test al, al */ 1432 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1433 _cf = 0; 1434 _flag_k = FK_NARROW(FK_TEST, 24); 1435 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B06294F: je 0x2b0629e8 */ 1436 L_2B062955: 1437 eax = MEM32(ebp + (-0x20)); /* 0x2B062955: mov eax, dword ptr [ebp - 0x20] */ 1438 edx = MEM32(ebp + (-0x24)); /* 0x2B062958: mov edx, dword ptr [ebp - 0x24] */ 1439 ecx = esi; /* 0x2B06295B: mov ecx, esi */ 1440 esi = MEM32(ebp + (-0x14)); /* 0x2B06295D: mov esi, dword ptr [ebp - 0x14] */ 1441 edi = eax + edx; /* 0x2B062960: lea edi, [eax + edx] */ 1442 eax = MEM32(ebp + (-0x10)); /* 0x2B062963: mov eax, dword ptr [ebp - 0x10] */ 1443 edx = ecx; /* 0x2B062966: mov edx, ecx */ 1444 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062968: shr ecx, 2 */ 1445 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1446 ecx = ecx >> 2u; /* 0x2B062968: shr ecx, 2 */ 1447 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06296B: 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; } 1448 ecx = edx; /* 0x2B06296D: mov ecx, edx */ 1449 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1450 ecx = ecx & 3; /* 0x2B06296F: and ecx, 3 */ 1451 _cf = 0; 1452 _flag_k = FK_TEST; 1453 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062972: 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; } 1454 ecx = MEM32(ebp + (-0x24)); /* 0x2B062974: mov ecx, dword ptr [ebp - 0x24] */ 1455 MEM32(ebp + (-0x20)) = eax; /* 0x2B062977: mov dword ptr [ebp - 0x20], eax */ 1456 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06297A: mov byte ptr [ecx + eax], 0 */ 1457 goto L_2B0629E8; /* 0x2B06297E: jmp 0x2b0629e8 */ 1458 L_2B062980: 1459 edx = MEM32(0x2B0B515C); /* 0x2B062980: mov edx, dword ptr [0x2b0b515c] */ 1460 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1461 eax = 0; /* 0x2B062986: xor eax, eax */ 1462 _cf = 0; 1463 _flag_k = FK_TEST; 1464 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1465 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062988: or ecx, 0xffffffff */ 1466 _cf = 0; 1467 _flag_k = FK_TEST; 1468 edi = esi; /* 0x2B06298B: mov edi, esi */ 1469 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; } /* 0x2B06298D: repne scasb al, byte ptr es:[edi] */ 1470 eax = MEM32(edx); /* 0x2B06298F: mov eax, dword ptr [edx] */ 1471 edx = MEM32(ebp + (-0x20)); /* 0x2B062991: mov edx, dword ptr [ebp - 0x20] */ 1472 ecx = ~ecx; /* 0x2B062994: not ecx */ 1473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1474 ecx = ecx - 1; /* 0x2B062996: dec ecx */ 1475 _flag_k = FK_DEC; 1476 esi = ecx; /* 0x2B062997: mov esi, ecx */ 1477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1479 eax = eax - edx; /* 0x2B062999: sub eax, edx */ 1480 _flag_k = FK_CMP; 1481 /* cmp eax, esi */ /* 0x2B06299B: cmp eax, esi */ 1482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1484 _flag_k = FK_CMP; 1485 if (CMP_A(_flag_a, _flag_b)) goto L_2B0629A5; /* 0x2B06299D: ja 0x2b0629a5 */ 1486 L_2B06299F: 1487 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06299F: call dword ptr [0x2b0b51a8] */ 1488 RECOMP_FLAGS_IN(); 1489 L_2B0629A5: 1490 /* test esi, esi */ /* 0x2B0629A5: test esi, esi */ 1491 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1492 _cf = 0; 1493 _flag_k = FK_TEST; 1494 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B0629A7: jbe 0x2b0629e8 */ 1495 L_2B0629A9: 1496 ecx = MEM32(ebp + (-0x20)); /* 0x2B0629A9: mov ecx, dword ptr [ebp - 0x20] */ 1497 ebx = ecx + esi; /* 0x2B0629AC: lea ebx, [ecx + esi] */ 1498 PUSH32(esp, 0); /* 0x2B0629AF: push 0 */ 1499 PUSH32(esp, ebx); /* 0x2B0629B1: push ebx */ 1500 ecx = ebp + (-0x28); /* 0x2B0629B2: lea ecx, [ebp - 0x28] */ 1501 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0629B5: call dword ptr [0x2b0b5154] */ 1502 RECOMP_FLAGS_IN(); 1503 /* test LO8(eax), LO8(eax) */ /* 0x2B0629BB: test al, al */ 1504 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1505 _cf = 0; 1506 _flag_k = FK_NARROW(FK_TEST, 24); 1507 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E5; /* 0x2B0629BD: je 0x2b0629e5 */ 1508 L_2B0629BF: 1509 eax = MEM32(ebp + (-0x20)); /* 0x2B0629BF: mov eax, dword ptr [ebp - 0x20] */ 1510 edx = MEM32(ebp + (-0x24)); /* 0x2B0629C2: mov edx, dword ptr [ebp - 0x24] */ 1511 ecx = esi; /* 0x2B0629C5: mov ecx, esi */ 1512 esi = MEM32(ebp + (-0x14)); /* 0x2B0629C7: mov esi, dword ptr [ebp - 0x14] */ 1513 edi = eax + edx; /* 0x2B0629CA: lea edi, [eax + edx] */ 1514 edx = ecx; /* 0x2B0629CD: mov edx, ecx */ 1515 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0629CF: shr ecx, 2 */ 1516 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1517 ecx = ecx >> 2u; /* 0x2B0629CF: shr ecx, 2 */ 1518 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0629D2: 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; } 1519 ecx = edx; /* 0x2B0629D4: mov ecx, edx */ 1520 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1521 ecx = ecx & 3; /* 0x2B0629D6: and ecx, 3 */ 1522 _cf = 0; 1523 _flag_k = FK_TEST; 1524 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0629D9: 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; } 1525 eax = MEM32(ebp + (-0x24)); /* 0x2B0629DB: mov eax, dword ptr [ebp - 0x24] */ 1526 MEM32(ebp + (-0x20)) = ebx; /* 0x2B0629DE: mov dword ptr [ebp - 0x20], ebx */ 1527 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B0629E1: mov byte ptr [eax + ebx], 0 */ 1528 L_2B0629E5: 1529 ebx = MEM32(ebp + (-0x10)); /* 0x2B0629E5: mov ebx, dword ptr [ebp - 0x10] */ 1530 L_2B0629E8: 1531 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x2B0629E8: mov al, byte ptr [ebp - 0x29] */ 1532 /* test LO8(eax), LO8(eax) */ /* 0x2B0629EB: test al, al */ 1533 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1534 _cf = 0; 1535 _flag_k = FK_NARROW(FK_TEST, 24); 1536 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062AE7; /* 0x2B0629ED: je 0x2b062ae7 */ 1537 L_2B0629F3: 1538 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1539 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0629F3: or ecx, 0xffffffff */ 1540 _cf = 0; 1541 _flag_k = FK_TEST; 1542 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1543 eax = 0; /* 0x2B0629F6: xor eax, eax */ 1544 _cf = 0; 1545 _flag_k = FK_TEST; 1546 edi = 0x2B0E19F8u; /* 0x2B0629F8: mov edi, 0x2b0e19f8 */ 1547 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; } /* 0x2B0629FD: repne scasb al, byte ptr es:[edi] */ 1548 ecx = ~ecx; /* 0x2B0629FF: not ecx */ 1549 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1550 ecx = ecx - 1; /* 0x2B062A01: dec ecx */ 1551 _flag_k = FK_DEC; 1552 esi = ecx; /* 0x2B062A02: mov esi, ecx */ 1553 ecx = MEM32(0x2B0B515C); /* 0x2B062A04: mov ecx, dword ptr [0x2b0b515c] */ 1554 edx = MEM32(ecx); /* 0x2B062A0A: mov edx, dword ptr [ecx] */ 1555 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 1556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1557 edx = edx - MEM32(ebp + (-0x20)); /* 0x2B062A0C: sub edx, dword ptr [ebp - 0x20] */ 1558 _flag_k = FK_CMP; 1559 /* cmp edx, esi */ /* 0x2B062A0F: cmp edx, esi */ 1560 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 1561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1562 _flag_k = FK_CMP; 1563 if (CMP_A(_flag_a, _flag_b)) goto L_2B062A19; /* 0x2B062A11: ja 0x2b062a19 */ 1564 L_2B062A13: 1565 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B062A13: call dword ptr [0x2b0b51a8] */ 1566 RECOMP_FLAGS_IN(); 1567 L_2B062A19: 1568 /* test esi, esi */ /* 0x2B062A19: test esi, esi */ 1569 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1570 _cf = 0; 1571 _flag_k = FK_TEST; 1572 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062A60; /* 0x2B062A1B: jbe 0x2b062a60 */ 1573 L_2B062A1D: 1574 eax = MEM32(ebp + (-0x20)); /* 0x2B062A1D: mov eax, dword ptr [ebp - 0x20] */ 1575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1576 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1577 eax = eax + esi; /* 0x2B062A20: add eax, esi */ 1578 _flag_k = FK_ADD; 1579 PUSH32(esp, 0); /* 0x2B062A22: push 0 */ 1580 PUSH32(esp, eax); /* 0x2B062A24: push eax */ 1581 ecx = ebp + (-0x28); /* 0x2B062A25: lea ecx, [ebp - 0x28] */ 1582 MEM32(ebp + (-0x10)) = eax; /* 0x2B062A28: mov dword ptr [ebp - 0x10], eax */ 1583 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062A2B: call dword ptr [0x2b0b5154] */ 1584 RECOMP_FLAGS_IN(); 1585 /* test LO8(eax), LO8(eax) */ /* 0x2B062A31: test al, al */ 1586 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1587 _cf = 0; 1588 _flag_k = FK_NARROW(FK_TEST, 24); 1589 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062A60; /* 0x2B062A33: je 0x2b062a60 */ 1590 L_2B062A35: 1591 ecx = MEM32(ebp + (-0x24)); /* 0x2B062A35: mov ecx, dword ptr [ebp - 0x24] */ 1592 edx = MEM32(ebp + (-0x20)); /* 0x2B062A38: mov edx, dword ptr [ebp - 0x20] */ 1593 edi = edx + ecx; /* 0x2B062A3B: lea edi, [edx + ecx] */ 1594 ecx = esi; /* 0x2B062A3E: mov ecx, esi */ 1595 eax = ecx; /* 0x2B062A40: mov eax, ecx */ 1596 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062A42: shr ecx, 2 */ 1597 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1598 ecx = ecx >> 2u; /* 0x2B062A42: shr ecx, 2 */ 1599 esi = 0x2B0E19F8u; /* 0x2B062A45: mov esi, 0x2b0e19f8 */ 1600 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062A4A: 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; } 1601 ecx = eax; /* 0x2B062A4C: mov ecx, eax */ 1602 eax = MEM32(ebp + (-0x10)); /* 0x2B062A4E: mov eax, dword ptr [ebp - 0x10] */ 1603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1604 ecx = ecx & 3; /* 0x2B062A51: and ecx, 3 */ 1605 _cf = 0; 1606 _flag_k = FK_TEST; 1607 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062A54: 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; } 1608 ecx = MEM32(ebp + (-0x24)); /* 0x2B062A56: mov ecx, dword ptr [ebp - 0x24] */ 1609 MEM32(ebp + (-0x20)) = eax; /* 0x2B062A59: mov dword ptr [ebp - 0x20], eax */ 1610 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B062A5C: mov byte ptr [ecx + eax], 0 */ 1611 L_2B062A60: 1612 PUSH32(esp, ebx); /* 0x2B062A60: push ebx */ 1613 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B062A61: call dword ptr [0x2b0b5d6c] */ 1614 RECOMP_FLAGS_IN(); 1615 ecx = eax; /* 0x2B062A67: mov ecx, eax */ 1616 RECOMP_ICALL(MEM32(0x2B0B5DE8)); /* 0x2B062A69: call dword ptr [0x2b0b5de8] */ 1617 RECOMP_FLAGS_IN(); 1618 edx = MEM32(0x2B0B515C); /* 0x2B062A6F: mov edx, dword ptr [0x2b0b515c] */ 1619 esi = eax; /* 0x2B062A75: mov esi, eax */ 1620 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1621 eax = 0; /* 0x2B062A77: xor eax, eax */ 1622 _cf = 0; 1623 _flag_k = FK_TEST; 1624 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 1625 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062A79: or ecx, 0xffffffff */ 1626 _cf = 0; 1627 _flag_k = FK_TEST; 1628 edi = esi; /* 0x2B062A7C: mov edi, esi */ 1629 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; } /* 0x2B062A7E: repne scasb al, byte ptr es:[edi] */ 1630 eax = MEM32(edx); /* 0x2B062A80: mov eax, dword ptr [edx] */ 1631 edx = MEM32(ebp + (-0x20)); /* 0x2B062A82: mov edx, dword ptr [ebp - 0x20] */ 1632 ecx = ~ecx; /* 0x2B062A85: not ecx */ 1633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1634 ecx = ecx - 1; /* 0x2B062A87: dec ecx */ 1635 _flag_k = FK_DEC; 1636 edi = ecx; /* 0x2B062A88: mov edi, ecx */ 1637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1639 eax = eax - edx; /* 0x2B062A8A: sub eax, edx */ 1640 _flag_k = FK_CMP; 1641 /* cmp eax, edi */ /* 0x2B062A8C: cmp eax, edi */ 1642 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1644 _flag_k = FK_CMP; 1645 if (CMP_A(_flag_a, _flag_b)) goto L_2B062A96; /* 0x2B062A8E: ja 0x2b062a96 */ 1646 L_2B062A90: 1647 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B062A90: call dword ptr [0x2b0b51a8] */ 1648 RECOMP_FLAGS_IN(); 1649 L_2B062A96: 1650 /* test edi, edi */ /* 0x2B062A96: test edi, edi */ 1651 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1652 _cf = 0; 1653 _flag_k = FK_TEST; 1654 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062ADA; /* 0x2B062A98: jbe 0x2b062ada */ 1655 L_2B062A9A: 1656 ecx = MEM32(ebp + (-0x20)); /* 0x2B062A9A: mov ecx, dword ptr [ebp - 0x20] */ 1657 eax = ecx + edi; /* 0x2B062A9D: lea eax, [ecx + edi] */ 1658 PUSH32(esp, 0); /* 0x2B062AA0: push 0 */ 1659 PUSH32(esp, eax); /* 0x2B062AA2: push eax */ 1660 ecx = ebp + (-0x28); /* 0x2B062AA3: lea ecx, [ebp - 0x28] */ 1661 MEM32(ebp + (-0x10)) = eax; /* 0x2B062AA6: mov dword ptr [ebp - 0x10], eax */ 1662 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062AA9: call dword ptr [0x2b0b5154] */ 1663 RECOMP_FLAGS_IN(); 1664 /* test LO8(eax), LO8(eax) */ /* 0x2B062AAF: test al, al */ 1665 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1666 _cf = 0; 1667 _flag_k = FK_NARROW(FK_TEST, 24); 1668 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062ADA; /* 0x2B062AB1: je 0x2b062ada */ 1669 L_2B062AB3: 1670 edx = MEM32(ebp + (-0x24)); /* 0x2B062AB3: mov edx, dword ptr [ebp - 0x24] */ 1671 eax = MEM32(ebp + (-0x20)); /* 0x2B062AB6: mov eax, dword ptr [ebp - 0x20] */ 1672 ecx = edi; /* 0x2B062AB9: mov ecx, edi */ 1673 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1674 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1675 eax = eax + edx; /* 0x2B062ABB: add eax, edx */ 1676 _flag_k = FK_ADD; 1677 edx = ecx; /* 0x2B062ABD: mov edx, ecx */ 1678 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062ABF: shr ecx, 2 */ 1679 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1680 ecx = ecx >> 2u; /* 0x2B062ABF: shr ecx, 2 */ 1681 edi = eax; /* 0x2B062AC2: mov edi, eax */ 1682 eax = MEM32(ebp + (-0x10)); /* 0x2B062AC4: mov eax, dword ptr [ebp - 0x10] */ 1683 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062AC7: 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; } 1684 ecx = edx; /* 0x2B062AC9: mov ecx, edx */ 1685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 1686 ecx = ecx & 3; /* 0x2B062ACB: and ecx, 3 */ 1687 _cf = 0; 1688 _flag_k = FK_TEST; 1689 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062ACE: 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; } 1690 ecx = MEM32(ebp + (-0x24)); /* 0x2B062AD0: mov ecx, dword ptr [ebp - 0x24] */ 1691 MEM32(ebp + (-0x20)) = eax; /* 0x2B062AD3: mov dword ptr [ebp - 0x20], eax */ 1692 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B062AD6: mov byte ptr [ecx + eax], 0 */ 1693 L_2B062ADA: 1694 PUSH32(esp, 0x1Eu); /* 0x2B062ADA: push 0x1e */ 1695 PUSH32(esp, 0); /* 0x2B062ADC: push 0 */ 1696 ecx = ebp + (-0x28); /* 0x2B062ADE: lea ecx, [ebp - 0x28] */ 1697 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B062AE1: call dword ptr [0x2b0b5a74] */ 1698 RECOMP_FLAGS_IN(); 1699 L_2B062AE7: 1700 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1701 esi = 0; /* 0x2B062AE7: xor esi, esi */ 1702 _cf = 0; 1703 _flag_k = FK_TEST; 1704 MEM32(ebp + (-0x10)) = esi; /* 0x2B062AE9: mov dword ptr [ebp - 0x10], esi */ 1705 MEM32(ebp + (-0x14)) = esi; /* 0x2B062AEC: mov dword ptr [ebp - 0x14], esi */ 1706 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B062AEF: call dword ptr [0x2b0b5b64] */ 1707 RECOMP_FLAGS_IN(); 1708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 1709 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1710 eax = eax + 0xD4u; /* 0x2B062AF5: add eax, 0xd4 */ 1711 _flag_k = FK_ADD; 1712 MEM32(ebp + (-0x3C)) = eax; /* 0x2B062AFA: mov dword ptr [ebp - 0x3c], eax */ 1713 SET_LO8(eax, MEM8(0x2B0EAF38)); /* 0x2B062AFD: mov al, byte ptr [0x2b0eaf38] */ 1714 /* test LO8(eax), LO8(eax) */ /* 0x2B062B02: test al, al */ 1715 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1716 _cf = 0; 1717 _flag_k = FK_NARROW(FK_TEST, 24); 1718 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062B60; /* 0x2B062B04: je 0x2b062b60 */ 1719 L_2B062B06: 1720 edx = MEM32(ebp + 0x8); /* 0x2B062B06: mov edx, dword ptr [ebp + 8] */ 1721 edi = MEM32(0x2B0B5D6C); /* 0x2B062B09: mov edi, dword ptr [0x2b0b5d6c] */ 1722 PUSH32(esp, edx); /* 0x2B062B0F: push edx */ 1723 RECOMP_ICALL(edi); /* 0x2B062B10: call edi */ 1724 RECOMP_FLAGS_IN(); 1725 ecx = eax; /* 0x2B062B12: mov ecx, eax */ 1726 RECOMP_ICALL(MEM32(0x2B0B5DEC)); /* 0x2B062B14: call dword ptr [0x2b0b5dec] */ 1727 RECOMP_FLAGS_IN(); 1728 /* test eax, eax */ /* 0x2B062B1A: test eax, eax */ 1729 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1730 _cf = 0; 1731 _flag_k = FK_TEST; 1732 MEM32(ebp + (-0x10)) = eax; /* 0x2B062B1C: mov dword ptr [ebp - 0x10], eax */ 1733 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062B60; /* 0x2B062B1F: je 0x2b062b60 */ 1734 L_2B062B21: 1735 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B062B21: push -1 */ 1736 PUSH32(esp, esi); /* 0x2B062B23: push esi */ 1737 PUSH32(esp, 2); /* 0x2B062B24: push 2 */ 1738 ecx = eax; /* 0x2B062B26: mov ecx, eax */ 1739 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B062B28: call dword ptr [0x2b0b59b8] */ 1740 RECOMP_FLAGS_IN(); 1741 esi = eax; /* 0x2B062B2E: mov esi, eax */ 1742 eax = MEM32(ebp + 0x8); /* 0x2B062B30: mov eax, dword ptr [ebp + 8] */ 1743 PUSH32(esp, 0x21u); /* 0x2B062B33: push 0x21 */ 1744 PUSH32(esp, eax); /* 0x2B062B35: push eax */ 1745 RECOMP_ICALL(edi); /* 0x2B062B36: call edi */ 1746 RECOMP_FLAGS_IN(); 1747 ecx = eax; /* 0x2B062B38: mov ecx, eax */ 1748 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B062B3A: call dword ptr [0x2b0b5ee0] */ 1749 RECOMP_FLAGS_IN(); 1750 /* cmp eax, 2 */ /* 0x2B062B40: cmp eax, 2 */ 1751 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 1752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1753 _flag_k = FK_CMP; 1754 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062B4E; /* 0x2B062B43: jne 0x2b062b4e */ 1755 L_2B062B45: 1756 MEM32(ebp + (-0x14)) = 0x00AA88AAu; /* 0x2B062B45: mov dword ptr [ebp - 0x14], 0xaa88aa */ 1757 goto L_2B062B60; /* 0x2B062B4C: jmp 0x2b062b60 */ 1758 L_2B062B4E: 1759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1760 eax = eax - 1; /* 0x2B062B4E: dec eax */ 1761 _flag_k = FK_DEC; 1762 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 1763 _cf = (eax) != 0; 1764 eax = (uint32_t)(-(int32_t)eax); /* 0x2B062B4F: neg eax */ 1765 _flag_k = FK_CMP; 1766 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B062B51: sbb eax, eax */ 1767 eax = _sc ? 0xFFFFFFFFu : 0; 1768 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 1769 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 1770 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2200u); 1771 eax = eax & 0x2200u; /* 0x2B062B53: and eax, 0x2200 */ 1772 _cf = 0; 1773 _flag_k = FK_TEST; 1774 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x008888AAu); 1775 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1776 eax = eax + 0x008888AAu; /* 0x2B062B58: add eax, 0x8888aa */ 1777 _flag_k = FK_ADD; 1778 MEM32(ebp + (-0x14)) = eax; /* 0x2B062B5D: mov dword ptr [ebp - 0x14], eax */ 1779 L_2B062B60: 1780 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B062B60: push -1 */ 1781 PUSH32(esp, 0); /* 0x2B062B62: push 0 */ 1782 PUSH32(esp, 2); /* 0x2B062B64: push 2 */ 1783 ecx = ebp + (-0x28); /* 0x2B062B66: lea ecx, [ebp - 0x28] */ 1784 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B062B69: call dword ptr [0x2b0b59b8] */ 1785 RECOMP_FLAGS_IN(); 1786 /* cmp esi, eax */ /* 0x2B062B6F: cmp esi, eax */ 1787 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1789 _flag_k = FK_CMP; 1790 if (CMP_LE(_flag_a, _flag_b)) goto L_2B062B75; /* 0x2B062B71: jle 0x2b062b75 */ 1791 L_2B062B73: 1792 eax = esi; /* 0x2B062B73: mov eax, esi */ 1793 L_2B062B75: 1794 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1795 ecx = 0; /* 0x2B062B75: xor ecx, ecx */ 1796 _cf = 0; 1797 _flag_k = FK_TEST; 1798 /* cmp eax, 0x80u */ /* 0x2B062B77: cmp eax, 0x80 */ 1799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 1800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1801 _flag_k = FK_CMP; 1802 SET_LO8(ecx, (CMP_LE(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B062B7C: setle cl */ 1803 PUSH32(esp, 0x34u); /* 0x2B062B7F: push 0x34 */ 1804 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1805 ecx = ecx - 1; /* 0x2B062B81: dec ecx */ 1806 _flag_k = FK_DEC; 1807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 1808 ecx = ecx & 0x80u; /* 0x2B062B82: and ecx, 0x80 */ 1809 _cf = 0; 1810 _flag_k = FK_TEST; 1811 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 1812 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1813 ecx = ecx + 0x80u; /* 0x2B062B88: add ecx, 0x80 */ 1814 _flag_k = FK_ADD; 1815 esi = ecx; /* 0x2B062B8E: mov esi, ecx */ 1816 MEM32(ebp + 0x8) = esi; /* 0x2B062B90: mov dword ptr [ebp + 8], esi */ 1817 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062B93: call 0x2b0ab212 */ /* not lifted */ 1818 RECOMP_FLAGS_IN(); 1819 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1820 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1821 esp = esp + 4; /* 0x2B062B98: add esp, 4 */ 1822 _flag_k = FK_ADD; 1823 MEM32(ebp + (-0x3C)) = eax; /* 0x2B062B9B: mov dword ptr [ebp - 0x3c], eax */ 1824 /* test eax, eax */ /* 0x2B062B9E: test eax, eax */ 1825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1826 _cf = 0; 1827 _flag_k = FK_TEST; 1828 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B062BA0: mov byte ptr [ebp - 4], 1 */ 1829 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062BB5; /* 0x2B062BA4: je 0x2b062bb5 */ 1830 L_2B062BA6: 1831 PUSH32(esp, 2); /* 0x2B062BA6: push 2 */ 1832 PUSH32(esp, 0x20u); /* 0x2B062BA8: push 0x20 */ 1833 PUSH32(esp, esi); /* 0x2B062BAA: push esi */ 1834 ecx = eax; /* 0x2B062BAB: mov ecx, eax */ 1835 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B062BAD: call dword ptr [0x2b0b5650] */ 1836 RECOMP_FLAGS_IN(); 1837 goto L_2B062BB7; /* 0x2B062BB3: jmp 0x2b062bb7 */ 1838 L_2B062BB5: 1839 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1840 eax = 0; /* 0x2B062BB5: xor eax, eax */ 1841 _cf = 0; 1842 _flag_k = FK_TEST; 1843 L_2B062BB7: 1844 PUSH32(esp, 1); /* 0x2B062BB7: push 1 */ 1845 PUSH32(esp, 0); /* 0x2B062BB9: push 0 */ 1846 PUSH32(esp, 0); /* 0x2B062BBB: push 0 */ 1847 ecx = eax; /* 0x2B062BBD: mov ecx, eax */ 1848 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062BBF: mov byte ptr [ebp - 4], 0 */ 1849 MEM32(ebx + 0xC) = eax; /* 0x2B062BC3: mov dword ptr [ebx + 0xc], eax */ 1850 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B062BC6: call dword ptr [0x2b0b564c] */ 1851 RECOMP_FLAGS_IN(); 1852 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B062BCC: mov al, byte ptr [ebp + 0xc] */ 1853 /* test LO8(eax), LO8(eax) */ /* 0x2B062BCF: test al, al */ 1854 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1855 _cf = 0; 1856 _flag_k = FK_NARROW(FK_TEST, 24); 1857 PUSH32(esp, 2); /* 0x2B062BD1: push 2 */ 1858 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062BDC; /* 0x2B062BD3: jne 0x2b062bdc */ 1859 L_2B062BD5: 1860 PUSH32(esp, 0x108u); /* 0x2B062BD5: push 0x108 */ 1861 goto L_2B062BE1; /* 0x2B062BDA: jmp 0x2b062be1 */ 1862 L_2B062BDC: 1863 PUSH32(esp, 0x109u); /* 0x2B062BDC: push 0x109 */ 1864 L_2B062BE1: 1865 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062BE1: call dword ptr [0x2b0b5f80] */ 1866 RECOMP_FLAGS_IN(); 1867 ecx = eax; /* 0x2B062BE7: mov ecx, eax */ 1868 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062BE9: call dword ptr [0x2b0b5fbc] */ 1869 RECOMP_FLAGS_IN(); 1870 edi = MEM32(0x2B0B5554); /* 0x2B062BEF: mov edi, dword ptr [0x2b0b5554] */ 1871 esi = eax; /* 0x2B062BF5: mov esi, eax */ 1872 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B062BF7: mov al, byte ptr [ebp + 0x10] */ 1873 /* test LO8(eax), LO8(eax) */ /* 0x2B062BFA: test al, al */ 1874 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1875 _cf = 0; 1876 _flag_k = FK_NARROW(FK_TEST, 24); 1877 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062C6F; /* 0x2B062BFC: je 0x2b062c6f */ 1878 L_2B062BFE: 1879 eax = MEM32(esi + 0xC); /* 0x2B062BFE: mov eax, dword ptr [esi + 0xc] */ 1880 ecx = MEM32(esi + 0x8); /* 0x2B062C01: mov ecx, dword ptr [esi + 8] */ 1881 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C04: cdq */ 1882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1884 eax = eax - edx; /* 0x2B062C05: sub eax, edx */ 1885 _flag_k = FK_CMP; 1886 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1887 edx = 0; /* 0x2B062C07: xor edx, edx */ 1888 _cf = 0; 1889 _flag_k = FK_TEST; 1890 PUSH32(esp, 0xFF00u); /* 0x2B062C09: push 0xff00 */ 1891 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C0E: sar eax, 1 */ 1892 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1893 eax = (uint32_t)((int32_t)eax >> 1u); 1894 MEM32(ebp + (-0x60)) = edx; /* 0x2B062C10: mov dword ptr [ebp - 0x60], edx */ 1895 MEM32(ebp + (-0x5C)) = edx; /* 0x2B062C13: mov dword ptr [ebp - 0x5c], edx */ 1896 MEM32(ebp + (-0x40)) = edx; /* 0x2B062C16: mov dword ptr [ebp - 0x40], edx */ 1897 MEM32(ebp + (-0x3C)) = edx; /* 0x2B062C19: mov dword ptr [ebp - 0x3c], edx */ 1898 PUSH32(esp, esi); /* 0x2B062C1C: push esi */ 1899 edx = ebp + (-0x40); /* 0x2B062C1D: lea edx, [ebp - 0x40] */ 1900 MEM32(ebp + (-0x58)) = eax; /* 0x2B062C20: mov dword ptr [ebp - 0x58], eax */ 1901 PUSH32(esp, edx); /* 0x2B062C23: push edx */ 1902 eax = ebp + (-0x60); /* 0x2B062C24: lea eax, [ebp - 0x60] */ 1903 MEM32(ebp + (-0x54)) = ecx; /* 0x2B062C27: mov dword ptr [ebp - 0x54], ecx */ 1904 ecx = MEM32(ebx + 0xC); /* 0x2B062C2A: mov ecx, dword ptr [ebx + 0xc] */ 1905 PUSH32(esp, eax); /* 0x2B062C2D: push eax */ 1906 RECOMP_ICALL(edi); /* 0x2B062C2E: call edi */ 1907 RECOMP_FLAGS_IN(); 1908 ecx = MEM32(esi + 0xC); /* 0x2B062C30: mov ecx, dword ptr [esi + 0xc] */ 1909 eax = ecx; /* 0x2B062C33: mov eax, ecx */ 1910 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C35: cdq */ 1911 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1913 eax = eax - edx; /* 0x2B062C36: sub eax, edx */ 1914 _flag_k = FK_CMP; 1915 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062C38: mov dword ptr [ebp - 0x48], ecx */ 1916 ecx = MEM32(esi + 0x8); /* 0x2B062C3B: mov ecx, dword ptr [esi + 8] */ 1917 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C3E: sar eax, 1 */ 1918 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1919 eax = (uint32_t)((int32_t)eax >> 1u); 1920 MEM32(ebp + (-0x44)) = ecx; /* 0x2B062C40: mov dword ptr [ebp - 0x44], ecx */ 1921 ecx = MEM32(ebx + 0xC); /* 0x2B062C43: mov ecx, dword ptr [ebx + 0xc] */ 1922 MEM32(ebp + (-0x50)) = eax; /* 0x2B062C46: mov dword ptr [ebp - 0x50], eax */ 1923 MEM32(ebp + (-0x4C)) = 0; /* 0x2B062C49: mov dword ptr [ebp - 0x4c], 0 */ 1924 edx = MEM32(ecx + 0xC); /* 0x2B062C50: mov edx, dword ptr [ecx + 0xc] */ 1925 PUSH32(esp, 0xFF00u); /* 0x2B062C53: push 0xff00 */ 1926 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1928 edx = edx - eax; /* 0x2B062C58: sub edx, eax */ 1929 _flag_k = FK_CMP; 1930 PUSH32(esp, esi); /* 0x2B062C5A: push esi */ 1931 eax = ebp + (-0x38); /* 0x2B062C5B: lea eax, [ebp - 0x38] */ 1932 MEM32(ebp + (-0x38)) = edx; /* 0x2B062C5E: mov dword ptr [ebp - 0x38], edx */ 1933 PUSH32(esp, eax); /* 0x2B062C61: push eax */ 1934 edx = ebp + (-0x50); /* 0x2B062C62: lea edx, [ebp - 0x50] */ 1935 PUSH32(esp, edx); /* 0x2B062C65: push edx */ 1936 MEM32(ebp + (-0x34)) = 0; /* 0x2B062C66: mov dword ptr [ebp - 0x34], 0 */ 1937 RECOMP_ICALL(edi); /* 0x2B062C6D: call edi */ 1938 RECOMP_FLAGS_IN(); 1939 L_2B062C6F: 1940 PUSH32(esp, esi); /* 0x2B062C6F: push esi */ 1941 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C70: call dword ptr [0x2b0b5f80] */ 1942 RECOMP_FLAGS_IN(); 1943 ecx = eax; /* 0x2B062C76: mov ecx, eax */ 1944 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062C78: call dword ptr [0x2b0b5fb8] */ 1945 RECOMP_FLAGS_IN(); 1946 eax = MEM32(0x2B0B610C); /* 0x2B062C7E: mov eax, dword ptr [0x2b0b610c] */ 1947 ecx = MEM32(eax); /* 0x2B062C83: mov ecx, dword ptr [eax] */ 1948 PUSH32(esp, ebx); /* 0x2B062C85: push ebx */ 1949 RECOMP_ICALL(MEM32(0x2B0B611C)); /* 0x2B062C86: call dword ptr [0x2b0b611c] */ 1950 RECOMP_FLAGS_IN(); 1951 /* test LO8(eax), LO8(eax) */ /* 0x2B062C8C: test al, al */ 1952 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1953 _cf = 0; 1954 _flag_k = FK_NARROW(FK_TEST, 24); 1955 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062CFD; /* 0x2B062C8E: je 0x2b062cfd */ 1956 L_2B062C90: 1957 PUSH32(esp, 2); /* 0x2B062C90: push 2 */ 1958 PUSH32(esp, 0x107u); /* 0x2B062C92: push 0x107 */ 1959 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C97: call dword ptr [0x2b0b5f80] */ 1960 RECOMP_FLAGS_IN(); 1961 ecx = eax; /* 0x2B062C9D: mov ecx, eax */ 1962 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062C9F: call dword ptr [0x2b0b5fbc] */ 1963 RECOMP_FLAGS_IN(); 1964 esi = eax; /* 0x2B062CA5: mov esi, eax */ 1965 ecx = MEM32(esi + 0xC); /* 0x2B062CA7: mov ecx, dword ptr [esi + 0xc] */ 1966 eax = MEM32(esi + 0x8); /* 0x2B062CAA: mov eax, dword ptr [esi + 8] */ 1967 MEM32(ebp + (-0x44)) = eax; /* 0x2B062CAD: mov dword ptr [ebp - 0x44], eax */ 1968 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1969 edx = 0; /* 0x2B062CB0: xor edx, edx */ 1970 _cf = 0; 1971 _flag_k = FK_TEST; 1972 MEM32(ebp + (-0x50)) = edx; /* 0x2B062CB2: mov dword ptr [ebp - 0x50], edx */ 1973 MEM32(ebp + (-0x4C)) = edx; /* 0x2B062CB5: mov dword ptr [ebp - 0x4c], edx */ 1974 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062CB8: mov dword ptr [ebp - 0x48], ecx */ 1975 ecx = MEM32(ebx + 0xC); /* 0x2B062CBB: mov ecx, dword ptr [ebx + 0xc] */ 1976 edx = MEM32(esi + 0xC); /* 0x2B062CBE: mov edx, dword ptr [esi + 0xc] */ 1977 eax = MEM32(ecx + 0xC); /* 0x2B062CC1: mov eax, dword ptr [ecx + 0xc] */ 1978 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1980 eax = eax - edx; /* 0x2B062CC4: sub eax, edx */ 1981 _flag_k = FK_CMP; 1982 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CC6: cdq */ 1983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1985 eax = eax - edx; /* 0x2B062CC7: sub eax, edx */ 1986 _flag_k = FK_CMP; 1987 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CC9: sar eax, 1 */ 1988 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 1989 eax = (uint32_t)((int32_t)eax >> 1u); 1990 MEM32(ebp + (-0x38)) = eax; /* 0x2B062CCB: mov dword ptr [ebp - 0x38], eax */ 1991 edx = MEM32(esi + 0x8); /* 0x2B062CCE: mov edx, dword ptr [esi + 8] */ 1992 eax = MEM32(ecx + 0x8); /* 0x2B062CD1: mov eax, dword ptr [ecx + 8] */ 1993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1995 eax = eax - edx; /* 0x2B062CD4: sub eax, edx */ 1996 _flag_k = FK_CMP; 1997 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CD6: cdq */ 1998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2000 eax = eax - edx; /* 0x2B062CD7: sub eax, edx */ 2001 _flag_k = FK_CMP; 2002 PUSH32(esp, 0xFF00u); /* 0x2B062CD9: push 0xff00 */ 2003 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CDE: sar eax, 1 */ 2004 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2005 eax = (uint32_t)((int32_t)eax >> 1u); 2006 PUSH32(esp, esi); /* 0x2B062CE0: push esi */ 2007 edx = ebp + (-0x38); /* 0x2B062CE1: lea edx, [ebp - 0x38] */ 2008 MEM32(ebp + (-0x34)) = eax; /* 0x2B062CE4: mov dword ptr [ebp - 0x34], eax */ 2009 PUSH32(esp, edx); /* 0x2B062CE7: push edx */ 2010 eax = ebp + (-0x50); /* 0x2B062CE8: lea eax, [ebp - 0x50] */ 2011 PUSH32(esp, eax); /* 0x2B062CEB: push eax */ 2012 RECOMP_ICALL(edi); /* 0x2B062CEC: call edi */ 2013 RECOMP_FLAGS_IN(); 2014 PUSH32(esp, esi); /* 0x2B062CEE: push esi */ 2015 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062CEF: call dword ptr [0x2b0b5f80] */ 2016 RECOMP_FLAGS_IN(); 2017 ecx = eax; /* 0x2B062CF5: mov ecx, eax */ 2018 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062CF7: call dword ptr [0x2b0b5fb8] */ 2019 RECOMP_FLAGS_IN(); 2020 L_2B062CFD: 2021 ecx = MEM32(ebx + 0xC); /* 0x2B062CFD: mov ecx, dword ptr [ebx + 0xc] */ 2022 PUSH32(esp, ecx); /* 0x2B062D00: push ecx */ 2023 PUSH32(esp, 0x800u); /* 0x2B062D01: push 0x800 */ 2024 PUSH32(esp, 2); /* 0x2B062D06: push 2 */ 2025 ecx = ebp + (-0x98); /* 0x2B062D08: lea ecx, [ebp - 0x98] */ 2026 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B062D0E: call dword ptr [0x2b0b5bf0] */ 2027 RECOMP_FLAGS_IN(); 2028 esi = MEM32(0x2B0B5B78); /* 0x2B062D14: mov esi, dword ptr [0x2b0b5b78] */ 2029 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2030 edi = 0; /* 0x2B062D1A: xor edi, edi */ 2031 _cf = 0; 2032 _flag_k = FK_TEST; 2033 PUSH32(esp, edi); /* 0x2B062D1C: push edi */ 2034 PUSH32(esp, edi); /* 0x2B062D1D: push edi */ 2035 PUSH32(esp, 1); /* 0x2B062D1E: push 1 */ 2036 PUSH32(esp, edi); /* 0x2B062D20: push edi */ 2037 edx = ebp + (-0x28); /* 0x2B062D21: lea edx, [ebp - 0x28] */ 2038 PUSH32(esp, edx); /* 0x2B062D24: push edx */ 2039 ecx = ebp + (-0x98); /* 0x2B062D25: lea ecx, [ebp - 0x98] */ 2040 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D2B: mov byte ptr [ebp - 4], 2 */ 2041 MEM32(ebp + (-0x68)) = 0x00FFFFFFu; /* 0x2B062D2F: mov dword ptr [ebp - 0x68], 0xffffff */ 2042 RECOMP_ICALL(esi); /* 0x2B062D36: call esi */ 2043 RECOMP_FLAGS_IN(); 2044 eax = MEM32(ebp + (-0x10)); /* 0x2B062D38: mov eax, dword ptr [ebp - 0x10] */ 2045 /* cmp eax, edi */ /* 0x2B062D3B: cmp eax, edi */ 2046 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2048 _flag_k = FK_CMP; 2049 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D53; /* 0x2B062D3D: je 0x2b062d53 */ 2050 L_2B062D3F: 2051 ecx = MEM32(ebp + (-0x14)); /* 0x2B062D3F: mov ecx, dword ptr [ebp - 0x14] */ 2052 PUSH32(esp, edi); /* 0x2B062D42: push edi */ 2053 PUSH32(esp, edi); /* 0x2B062D43: push edi */ 2054 PUSH32(esp, 0x13u); /* 0x2B062D44: push 0x13 */ 2055 PUSH32(esp, edi); /* 0x2B062D46: push edi */ 2056 MEM32(ebp + (-0x68)) = ecx; /* 0x2B062D47: mov dword ptr [ebp - 0x68], ecx */ 2057 PUSH32(esp, eax); /* 0x2B062D4A: push eax */ 2058 ecx = ebp + (-0x98); /* 0x2B062D4B: lea ecx, [ebp - 0x98] */ 2059 RECOMP_ICALL(esi); /* 0x2B062D51: call esi */ 2060 RECOMP_FLAGS_IN(); 2061 L_2B062D53: 2062 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B062D53: fild dword ptr [ebp + 8] */ 2063 PUSH32(esp, 0x14u); /* 0x2B062D56: push 0x14 */ 2064 _st[0] *= (double)*(float*)ADDR(0x2B0B6D10); /* 0x2B062D58: fmul dword ptr [0x2b0b6d10] */ 2065 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x2B062D5E: fstp dword ptr [ebp + 0x10] */ 2066 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D61: call 0x2b0ab212 */ /* not lifted */ 2067 RECOMP_FLAGS_IN(); 2068 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2069 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2070 esp = esp + 4; /* 0x2B062D66: add esp, 4 */ 2071 _flag_k = FK_ADD; 2072 MEM32(ebp + 0xC) = eax; /* 0x2B062D69: mov dword ptr [ebp + 0xc], eax */ 2073 /* cmp eax, edi */ /* 0x2B062D6C: cmp eax, edi */ 2074 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2076 _flag_k = FK_CMP; 2077 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B062D6E: mov byte ptr [ebp - 4], 3 */ 2078 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D90; /* 0x2B062D72: je 0x2b062d90 */ 2079 L_2B062D74: 2080 edx = MEM32(ebx + 0xC); /* 0x2B062D74: mov edx, dword ptr [ebx + 0xc] */ 2081 ecx = MEM32(edx + 0x28); /* 0x2B062D77: mov ecx, dword ptr [edx + 0x28] */ 2082 PUSH32(esp, ecx); /* 0x2B062D7A: push ecx */ 2083 ecx = MEM32(edx); /* 0x2B062D7B: mov ecx, dword ptr [edx] */ 2084 PUSH32(esp, ecx); /* 0x2B062D7D: push ecx */ 2085 ecx = MEM32(edx + 0x8); /* 0x2B062D7E: mov ecx, dword ptr [edx + 8] */ 2086 edx = MEM32(edx + 0xC); /* 0x2B062D81: mov edx, dword ptr [edx + 0xc] */ 2087 PUSH32(esp, ecx); /* 0x2B062D84: push ecx */ 2088 PUSH32(esp, edx); /* 0x2B062D85: push edx */ 2089 ecx = eax; /* 0x2B062D86: mov ecx, eax */ 2090 RECOMP_ICALL(MEM32(0x2B0B54CC)); /* 0x2B062D88: call dword ptr [0x2b0b54cc] */ 2091 RECOMP_FLAGS_IN(); 2092 goto L_2B062D92; /* 0x2B062D8E: jmp 0x2b062d92 */ 2093 L_2B062D90: 2094 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2095 eax = 0; /* 0x2B062D90: xor eax, eax */ 2096 _cf = 0; 2097 _flag_k = FK_TEST; 2098 L_2B062D92: 2099 PUSH32(esp, 4); /* 0x2B062D92: push 4 */ 2100 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D94: mov byte ptr [ebp - 4], 2 */ 2101 MEM32(ebx + 0x8) = eax; /* 0x2B062D98: mov dword ptr [ebx + 8], eax */ 2102 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D9B: call 0x2b0ab212 */ /* not lifted */ 2103 RECOMP_FLAGS_IN(); 2104 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2105 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2106 esp = esp + 4; /* 0x2B062DA0: add esp, 4 */ 2107 _flag_k = FK_ADD; 2108 MEM32(ebp + 0xC) = eax; /* 0x2B062DA3: mov dword ptr [ebp + 0xc], eax */ 2109 /* cmp eax, edi */ /* 0x2B062DA6: cmp eax, edi */ 2110 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2112 _flag_k = FK_CMP; 2113 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B062DA8: mov byte ptr [ebp - 4], 4 */ 2114 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062DC5; /* 0x2B062DAC: je 0x2b062dc5 */ 2115 L_2B062DAE: 2116 ecx = MEM32(ebx + 0x8); /* 0x2B062DAE: mov ecx, dword ptr [ebx + 8] */ 2117 edx = MEM32(ebp + 0x10); /* 0x2B062DB1: mov edx, dword ptr [ebp + 0x10] */ 2118 PUSH32(esp, ecx); /* 0x2B062DB4: push ecx */ 2119 PUSH32(esp, 0x3E99999Au); /* 0x2B062DB5: push 0x3e99999a */ 2120 PUSH32(esp, edx); /* 0x2B062DBA: push edx */ 2121 ecx = eax; /* 0x2B062DBB: mov ecx, eax */ 2122 RECOMP_ICALL(MEM32(0x2B0B54D0)); /* 0x2B062DBD: call dword ptr [0x2b0b54d0] */ 2123 RECOMP_FLAGS_IN(); 2124 goto L_2B062DC7; /* 0x2B062DC3: jmp 0x2b062dc7 */ 2125 L_2B062DC5: 2126 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2127 eax = 0; /* 0x2B062DC5: xor eax, eax */ 2128 _cf = 0; 2129 _flag_k = FK_TEST; 2130 L_2B062DC7: 2131 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 2132 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 2133 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 2134 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 2135 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 2136 RECOMP_FLAGS_IN(); 2137 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 2138 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 2139 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 2140 RECOMP_FLAGS_IN(); 2141 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 2142 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 2143 RECOMP_FLAGS_IN(); 2144 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 2145 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 2146 fp_pop(); 2147 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 2148 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 2149 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 2150 _cf = 0; 2151 _flag_k = FK_NARROW(FK_TEST, 24); 2152 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 2153 L_2B062DF9: 2154 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 2155 L_2B062E00: 2156 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 2157 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 2158 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 2159 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 2160 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 2161 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 2162 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 2163 RECOMP_FLAGS_IN(); 2164 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 2165 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 2166 RECOMP_FLAGS_IN(); 2167 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 2168 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 2169 fp_pop(); 2170 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 2171 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 2172 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 2173 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 2174 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 2175 _cf = 0; 2176 _flag_k = FK_NARROW(FK_TEST, 24); 2177 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 2178 L_2B062E30: 2179 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 2180 L_2B062E37: 2181 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 2182 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2184 _flag_k = FK_CMP; 2185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 2186 L_2B062E3C: 2187 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 2188 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 2189 fp_pop(); 2190 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 2191 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 2192 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2193 _cf = 0; 2194 _flag_k = FK_NARROW(FK_TEST, 24); 2195 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 2196 L_2B062E4C: 2197 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 2198 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 2199 L_2B062E55: 2200 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 2201 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 2202 fp_pop(); 2203 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 2204 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 2205 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2206 _cf = 0; 2207 _flag_k = FK_NARROW(FK_TEST, 24); 2208 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 2209 L_2B062E65: 2210 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 2211 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 2212 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 2213 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 2214 RECOMP_FLAGS_IN(); 2215 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 2216 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2217 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 2218 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 2219 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 2220 _cf = 0; 2221 _flag_k = FK_TEST; 2222 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 2223 L_2B062E7F: 2224 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 2225 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 2226 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 2227 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 2228 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 2229 RECOMP_FLAGS_IN(); 2230 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 2231 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 2232 _cf = 0; 2233 _flag_k = FK_TEST; 2234 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 2235 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2236 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 2237 L_2B062E9D: 2238 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 2239 L_2B062EA0: 2240 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 2241 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 2242 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 2243 RECOMP_FLAGS_IN(); 2244 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 2245 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 2246 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2248 _flag_k = FK_CMP; 2249 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 2250 L_2B062EB7: 2251 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 2252 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 2253 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 2254 edx = edx - 1; /* 0x2B062EBD: dec edx */ 2255 _flag_k = FK_DEC; 2256 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 2257 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 2258 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2260 _flag_k = FK_CMP; 2261 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 2262 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 2263 L_2B062EC6: 2264 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 2265 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 2266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2267 _flag_k = FK_CMP; 2268 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 2269 L_2B062ECA: 2270 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 2271 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 2272 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2274 _flag_k = FK_CMP; 2275 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 2276 L_2B062ED1: 2277 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 2278 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 2279 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 2280 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2281 _cf = 0; 2282 _flag_k = FK_NARROW(FK_TEST, 24); 2283 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 2284 L_2B062EDA: 2285 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 2286 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2288 _flag_k = FK_NARROW(FK_CMP, 24); 2289 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 2290 L_2B062EDE: 2291 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2292 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 2293 _flag_k = FK_NARROW(FK_DEC, 24); 2294 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 2295 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 2296 L_2B062EE4: 2297 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 2298 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 2299 RECOMP_FLAGS_IN(); 2300 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2301 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2302 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 2303 _flag_k = FK_ADD; 2304 L_2B062EED: 2305 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 2306 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 2307 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 2308 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 2309 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 2310 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2312 _flag_k = FK_CMP; 2313 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 2314 L_2B062EFD: 2315 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 2316 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 2317 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 2318 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2319 _cf = 0; 2320 _flag_k = FK_NARROW(FK_TEST, 24); 2321 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 2322 L_2B062F06: 2323 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 2324 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2326 _flag_k = FK_NARROW(FK_CMP, 24); 2327 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 2328 L_2B062F0A: 2329 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2330 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 2331 _flag_k = FK_NARROW(FK_DEC, 24); 2332 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 2333 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 2334 L_2B062F10: 2335 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 2336 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 2337 RECOMP_FLAGS_IN(); 2338 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2340 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 2341 _flag_k = FK_ADD; 2342 L_2B062F19: 2343 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 2344 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 2345 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 2346 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 2347 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 2348 RECOMP_FLAGS_IN(); 2349 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2350 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2351 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 2352 _flag_k = FK_ADD; 2353 L_2B062F2B: 2354 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 2355 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 2356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2358 _flag_k = FK_CMP; 2359 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 2360 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 2361 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 2362 L_2B062F34: 2363 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 2364 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 2365 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2366 _cf = 0; 2367 _flag_k = FK_NARROW(FK_TEST, 24); 2368 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 2369 L_2B062F3B: 2370 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 2371 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2373 _flag_k = FK_NARROW(FK_CMP, 24); 2374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 2375 L_2B062F3F: 2376 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2377 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 2378 _flag_k = FK_NARROW(FK_DEC, 24); 2379 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 2380 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 2381 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 2382 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 2383 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 2384 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 2385 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 2386 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 2387 L_2B062F57: 2388 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2389 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 2390 _flag_k = FK_DEC; 2391 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 2392 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 2393 RECOMP_FLAGS_IN(); 2394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2396 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 2397 _flag_k = FK_ADD; 2398 L_2B062F61: 2399 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 2400 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 2401 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 2402 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 2403 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 2404 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 2405 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 2406 RECOMP_REGS_OUT(); 2407 } 2408 2409 void sub_2B062758(void) { 2410 int _fpu_cmp = 0; 2411 uint32_t _cf = 0; 2412 int _df = 1; 2413 uint32_t _flag_k = FK_NONE; 2414 uint32_t _flag_a = 0, _flag_b = 0; 2415 uint32_t _itail_tgt = 0; 2416 RECOMP_REGS_LOCALS 2417 RECOMP_ENTER(0x2B062758u); 2418 2419 L_2B062758: 2420 edi = MEM32(0x2B0B5D6C); /* 0x2B062758: mov edi, dword ptr [0x2b0b5d6c] */ 2421 PUSH32(esp, ebx); /* 0x2B06275E: push ebx */ 2422 RECOMP_ICALL(edi); /* 0x2B06275F: call edi */ 2423 RECOMP_FLAGS_IN(); 2424 ecx = eax; /* 0x2B062761: mov ecx, eax */ 2425 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B062763: call dword ptr [0x2b0b5d50] */ 2426 RECOMP_FLAGS_IN(); 2427 esi = eax; /* 0x2B062769: mov esi, eax */ 2428 PUSH32(esp, ebx); /* 0x2B06276B: push ebx */ 2429 MEM32(ebp + (-0x14)) = esi; /* 0x2B06276C: mov dword ptr [ebp - 0x14], esi */ 2430 RECOMP_ICALL(edi); /* 0x2B06276F: call edi */ 2431 RECOMP_FLAGS_IN(); 2432 ecx = eax; /* 0x2B062771: mov ecx, eax */ 2433 RECOMP_ICALL(MEM32(0x2B0B5E94)); /* 0x2B062773: call dword ptr [0x2b0b5e94] */ 2434 RECOMP_FLAGS_IN(); 2435 /* test LO8(eax), LO8(eax) */ /* 0x2B062779: test al, al */ 2436 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2437 _cf = 0; 2438 _flag_k = FK_NARROW(FK_TEST, 24); 2439 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062980; /* 0x2B06277B: jne 0x2b062980 */ 2440 L_2B062781: 2441 edx = MEM32(ebp + 0x8); /* 0x2B062781: mov edx, dword ptr [ebp + 8] */ 2442 PUSH32(esp, 0xE0u); /* 0x2B062784: push 0xe0 */ 2443 PUSH32(esp, edx); /* 0x2B062789: push edx */ 2444 RECOMP_ICALL(edi); /* 0x2B06278A: call edi */ 2445 RECOMP_FLAGS_IN(); 2446 ecx = eax; /* 0x2B06278C: mov ecx, eax */ 2447 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B06278E: call dword ptr [0x2b0b5ee0] */ 2448 RECOMP_FLAGS_IN(); 2449 /* cmp eax, 0x499602D2u */ /* 0x2B062794: cmp eax, 0x499602d2 */ 2450 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x499602D2u); 2451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2452 _flag_k = FK_CMP; 2453 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06290B; /* 0x2B062799: je 0x2b06290b */ 2454 L_2B06279F: 2455 /* test eax, 0x04000001u */ /* 0x2B06279F: test eax, 0x4000001 */ 2456 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x04000001u); 2457 _cf = 0; 2458 _flag_k = FK_TEST; 2459 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06290B; /* 0x2B0627A4: je 0x2b06290b */ 2460 L_2B0627AA: 2461 edx = MEM32(ebp + (-0x20)); /* 0x2B0627AA: mov edx, dword ptr [ebp - 0x20] */ 2462 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2463 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0627AD: or ecx, 0xffffffff */ 2464 _cf = 0; 2465 _flag_k = FK_TEST; 2466 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2467 eax = 0; /* 0x2B0627B0: xor eax, eax */ 2468 _cf = 0; 2469 _flag_k = FK_TEST; 2470 edi = 0x2B0EAF40u; /* 0x2B0627B2: mov edi, 0x2b0eaf40 */ 2471 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; } /* 0x2B0627B7: repne scasb al, byte ptr es:[edi] */ 2472 eax = MEM32(0x2B0B515C); /* 0x2B0627B9: mov eax, dword ptr [0x2b0b515c] */ 2473 ecx = ~ecx; /* 0x2B0627BE: not ecx */ 2474 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2475 ecx = ecx - 1; /* 0x2B0627C0: dec ecx */ 2476 _flag_k = FK_DEC; 2477 edi = ecx; /* 0x2B0627C1: mov edi, ecx */ 2478 ecx = MEM32(eax); /* 0x2B0627C3: mov ecx, dword ptr [eax] */ 2479 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2481 ecx = ecx - edx; /* 0x2B0627C5: sub ecx, edx */ 2482 _flag_k = FK_CMP; 2483 /* cmp ecx, edi */ /* 0x2B0627C7: cmp ecx, edi */ 2484 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 2485 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2486 _flag_k = FK_CMP; 2487 if (CMP_A(_flag_a, _flag_b)) goto L_2B0627D1; /* 0x2B0627C9: ja 0x2b0627d1 */ 2488 L_2B0627CB: 2489 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0627CB: call dword ptr [0x2b0b51a8] */ 2490 RECOMP_FLAGS_IN(); 2491 L_2B0627D1: 2492 /* test edi, edi */ /* 0x2B0627D1: test edi, edi */ 2493 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2494 _cf = 0; 2495 _flag_k = FK_TEST; 2496 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06281D; /* 0x2B0627D3: jbe 0x2b06281d */ 2497 L_2B0627D5: 2498 edx = MEM32(ebp + (-0x20)); /* 0x2B0627D5: mov edx, dword ptr [ebp - 0x20] */ 2499 eax = edx + edi; /* 0x2B0627D8: lea eax, [edx + edi] */ 2500 PUSH32(esp, 0); /* 0x2B0627DB: push 0 */ 2501 PUSH32(esp, eax); /* 0x2B0627DD: push eax */ 2502 ecx = ebp + (-0x28); /* 0x2B0627DE: lea ecx, [ebp - 0x28] */ 2503 MEM32(ebp + (-0x10)) = eax; /* 0x2B0627E1: mov dword ptr [ebp - 0x10], eax */ 2504 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0627E4: call dword ptr [0x2b0b5154] */ 2505 RECOMP_FLAGS_IN(); 2506 /* test LO8(eax), LO8(eax) */ /* 0x2B0627EA: test al, al */ 2507 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2508 _cf = 0; 2509 _flag_k = FK_NARROW(FK_TEST, 24); 2510 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06281D; /* 0x2B0627EC: je 0x2b06281d */ 2511 L_2B0627EE: 2512 ecx = MEM32(ebp + (-0x20)); /* 0x2B0627EE: mov ecx, dword ptr [ebp - 0x20] */ 2513 eax = MEM32(ebp + (-0x24)); /* 0x2B0627F1: mov eax, dword ptr [ebp - 0x24] */ 2514 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2515 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2516 eax = eax + ecx; /* 0x2B0627F4: add eax, ecx */ 2517 _flag_k = FK_ADD; 2518 ecx = edi; /* 0x2B0627F6: mov ecx, edi */ 2519 edx = ecx; /* 0x2B0627F8: mov edx, ecx */ 2520 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0627FA: shr ecx, 2 */ 2521 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2522 ecx = ecx >> 2u; /* 0x2B0627FA: shr ecx, 2 */ 2523 edi = eax; /* 0x2B0627FD: mov edi, eax */ 2524 eax = MEM32(ebp + (-0x10)); /* 0x2B0627FF: mov eax, dword ptr [ebp - 0x10] */ 2525 esi = 0x2B0EAF40u; /* 0x2B062802: mov esi, 0x2b0eaf40 */ 2526 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062807: 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; } 2527 ecx = edx; /* 0x2B062809: mov ecx, edx */ 2528 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2529 ecx = ecx & 3; /* 0x2B06280B: and ecx, 3 */ 2530 _cf = 0; 2531 _flag_k = FK_TEST; 2532 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B06280E: 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; } 2533 PUSH32(esp, eax); /* 0x2B062810: push eax */ 2534 ecx = ebp + (-0x28); /* 0x2B062811: lea ecx, [ebp - 0x28] */ 2535 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B062814: call dword ptr [0x2b0b5150] */ 2536 RECOMP_FLAGS_IN(); 2537 esi = MEM32(ebp + (-0x14)); /* 0x2B06281A: mov esi, dword ptr [ebp - 0x14] */ 2538 L_2B06281D: 2539 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2540 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06281D: or ecx, 0xffffffff */ 2541 _cf = 0; 2542 _flag_k = FK_TEST; 2543 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2544 eax = 0; /* 0x2B062820: xor eax, eax */ 2545 _cf = 0; 2546 _flag_k = FK_TEST; 2547 edi = esi; /* 0x2B062822: mov edi, esi */ 2548 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; } /* 0x2B062824: repne scasb al, byte ptr es:[edi] */ 2549 ecx = ~ecx; /* 0x2B062826: not ecx */ 2550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2551 ecx = ecx - 1; /* 0x2B062828: dec ecx */ 2552 _flag_k = FK_DEC; 2553 esi = ecx; /* 0x2B062829: mov esi, ecx */ 2554 ecx = MEM32(0x2B0B515C); /* 0x2B06282B: mov ecx, dword ptr [0x2b0b515c] */ 2555 edx = MEM32(ecx); /* 0x2B062831: mov edx, dword ptr [ecx] */ 2556 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 2557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2558 edx = edx - MEM32(ebp + (-0x20)); /* 0x2B062833: sub edx, dword ptr [ebp - 0x20] */ 2559 _flag_k = FK_CMP; 2560 /* cmp edx, esi */ /* 0x2B062836: cmp edx, esi */ 2561 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 2562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2563 _flag_k = FK_CMP; 2564 if (CMP_A(_flag_a, _flag_b)) goto L_2B062840; /* 0x2B062838: ja 0x2b062840 */ 2565 L_2B06283A: 2566 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06283A: call dword ptr [0x2b0b51a8] */ 2567 RECOMP_FLAGS_IN(); 2568 L_2B062840: 2569 /* test esi, esi */ /* 0x2B062840: test esi, esi */ 2570 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2571 _cf = 0; 2572 _flag_k = FK_TEST; 2573 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062885; /* 0x2B062842: jbe 0x2b062885 */ 2574 L_2B062844: 2575 eax = MEM32(ebp + (-0x20)); /* 0x2B062844: mov eax, dword ptr [ebp - 0x20] */ 2576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2577 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2578 eax = eax + esi; /* 0x2B062847: add eax, esi */ 2579 _flag_k = FK_ADD; 2580 PUSH32(esp, 0); /* 0x2B062849: push 0 */ 2581 PUSH32(esp, eax); /* 0x2B06284B: push eax */ 2582 ecx = ebp + (-0x28); /* 0x2B06284C: lea ecx, [ebp - 0x28] */ 2583 MEM32(ebp + (-0x10)) = eax; /* 0x2B06284F: mov dword ptr [ebp - 0x10], eax */ 2584 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062852: call dword ptr [0x2b0b5154] */ 2585 RECOMP_FLAGS_IN(); 2586 /* test LO8(eax), LO8(eax) */ /* 0x2B062858: test al, al */ 2587 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2588 _cf = 0; 2589 _flag_k = FK_NARROW(FK_TEST, 24); 2590 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062885; /* 0x2B06285A: je 0x2b062885 */ 2591 L_2B06285C: 2592 ecx = MEM32(ebp + (-0x24)); /* 0x2B06285C: mov ecx, dword ptr [ebp - 0x24] */ 2593 edx = MEM32(ebp + (-0x20)); /* 0x2B06285F: mov edx, dword ptr [ebp - 0x20] */ 2594 edi = edx + ecx; /* 0x2B062862: lea edi, [edx + ecx] */ 2595 ecx = esi; /* 0x2B062865: mov ecx, esi */ 2596 esi = MEM32(ebp + (-0x14)); /* 0x2B062867: mov esi, dword ptr [ebp - 0x14] */ 2597 eax = ecx; /* 0x2B06286A: mov eax, ecx */ 2598 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B06286C: shr ecx, 2 */ 2599 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2600 ecx = ecx >> 2u; /* 0x2B06286C: shr ecx, 2 */ 2601 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06286F: 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; } 2602 ecx = eax; /* 0x2B062871: mov ecx, eax */ 2603 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2604 ecx = ecx & 3; /* 0x2B062873: and ecx, 3 */ 2605 _cf = 0; 2606 _flag_k = FK_TEST; 2607 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062876: 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; } 2608 ecx = MEM32(ebp + (-0x10)); /* 0x2B062878: mov ecx, dword ptr [ebp - 0x10] */ 2609 PUSH32(esp, ecx); /* 0x2B06287B: push ecx */ 2610 ecx = ebp + (-0x28); /* 0x2B06287C: lea ecx, [ebp - 0x28] */ 2611 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B06287F: call dword ptr [0x2b0b5150] */ 2612 RECOMP_FLAGS_IN(); 2613 L_2B062885: 2614 edx = MEM32(0x2B0B515C); /* 0x2B062885: mov edx, dword ptr [0x2b0b515c] */ 2615 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2616 eax = 0; /* 0x2B06288B: xor eax, eax */ 2617 _cf = 0; 2618 _flag_k = FK_TEST; 2619 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2620 ecx = ecx | 0xFFFFFFFFu; /* 0x2B06288D: or ecx, 0xffffffff */ 2621 _cf = 0; 2622 _flag_k = FK_TEST; 2623 edi = 0x2B0EAF3Cu; /* 0x2B062890: mov edi, 0x2b0eaf3c */ 2624 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; } /* 0x2B062895: repne scasb al, byte ptr es:[edi] */ 2625 eax = MEM32(edx); /* 0x2B062897: mov eax, dword ptr [edx] */ 2626 edx = MEM32(ebp + (-0x20)); /* 0x2B062899: mov edx, dword ptr [ebp - 0x20] */ 2627 ecx = ~ecx; /* 0x2B06289C: not ecx */ 2628 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2629 ecx = ecx - 1; /* 0x2B06289E: dec ecx */ 2630 _flag_k = FK_DEC; 2631 esi = ecx; /* 0x2B06289F: mov esi, ecx */ 2632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2634 eax = eax - edx; /* 0x2B0628A1: sub eax, edx */ 2635 _flag_k = FK_CMP; 2636 /* cmp eax, esi */ /* 0x2B0628A3: cmp eax, esi */ 2637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2639 _flag_k = FK_CMP; 2640 if (CMP_A(_flag_a, _flag_b)) goto L_2B0628AD; /* 0x2B0628A5: ja 0x2b0628ad */ 2641 L_2B0628A7: 2642 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B0628A7: call dword ptr [0x2b0b51a8] */ 2643 RECOMP_FLAGS_IN(); 2644 L_2B0628AD: 2645 /* test esi, esi */ /* 0x2B0628AD: test esi, esi */ 2646 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2647 _cf = 0; 2648 _flag_k = FK_TEST; 2649 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B0628AF: jbe 0x2b0629e8 */ 2650 L_2B0628B5: 2651 ecx = MEM32(ebp + (-0x20)); /* 0x2B0628B5: mov ecx, dword ptr [ebp - 0x20] */ 2652 eax = ecx + esi; /* 0x2B0628B8: lea eax, [ecx + esi] */ 2653 PUSH32(esp, 0); /* 0x2B0628BB: push 0 */ 2654 PUSH32(esp, eax); /* 0x2B0628BD: push eax */ 2655 ecx = ebp + (-0x28); /* 0x2B0628BE: lea ecx, [ebp - 0x28] */ 2656 MEM32(ebp + (-0x10)) = eax; /* 0x2B0628C1: mov dword ptr [ebp - 0x10], eax */ 2657 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0628C4: call dword ptr [0x2b0b5154] */ 2658 RECOMP_FLAGS_IN(); 2659 /* test LO8(eax), LO8(eax) */ /* 0x2B0628CA: test al, al */ 2660 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2661 _cf = 0; 2662 _flag_k = FK_NARROW(FK_TEST, 24); 2663 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B0628CC: je 0x2b0629e8 */ 2664 L_2B0628D2: 2665 eax = MEM32(ebp + (-0x20)); /* 0x2B0628D2: mov eax, dword ptr [ebp - 0x20] */ 2666 edx = MEM32(ebp + (-0x24)); /* 0x2B0628D5: mov edx, dword ptr [ebp - 0x24] */ 2667 ecx = esi; /* 0x2B0628D8: mov ecx, esi */ 2668 edi = eax + edx; /* 0x2B0628DA: lea edi, [eax + edx] */ 2669 eax = MEM32(ebp + (-0x10)); /* 0x2B0628DD: mov eax, dword ptr [ebp - 0x10] */ 2670 edx = ecx; /* 0x2B0628E0: mov edx, ecx */ 2671 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0628E2: shr ecx, 2 */ 2672 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2673 ecx = ecx >> 2u; /* 0x2B0628E2: shr ecx, 2 */ 2674 esi = 0x2B0EAF3Cu; /* 0x2B0628E5: mov esi, 0x2b0eaf3c */ 2675 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0628EA: 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; } 2676 ecx = edx; /* 0x2B0628EC: mov ecx, edx */ 2677 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2678 ecx = ecx & 3; /* 0x2B0628EE: and ecx, 3 */ 2679 _cf = 0; 2680 _flag_k = FK_TEST; 2681 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0628F1: 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; } 2682 ecx = MEM32(ebp + (-0x24)); /* 0x2B0628F3: mov ecx, dword ptr [ebp - 0x24] */ 2683 MEM32(ebp + (-0x20)) = eax; /* 0x2B0628F6: mov dword ptr [ebp - 0x20], eax */ 2684 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B0628F9: mov byte ptr [ecx + eax], 0 */ 2685 goto L_2B0629E8; /* 0x2B0628FD: jmp 0x2b0629e8 */ 2686 L_2B06290B: 2687 edx = MEM32(0x2B0B515C); /* 0x2B06290B: mov edx, dword ptr [0x2b0b515c] */ 2688 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2689 eax = 0; /* 0x2B062911: xor eax, eax */ 2690 _cf = 0; 2691 _flag_k = FK_TEST; 2692 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2693 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062913: or ecx, 0xffffffff */ 2694 _cf = 0; 2695 _flag_k = FK_TEST; 2696 edi = esi; /* 0x2B062916: mov edi, esi */ 2697 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; } /* 0x2B062918: repne scasb al, byte ptr es:[edi] */ 2698 eax = MEM32(edx); /* 0x2B06291A: mov eax, dword ptr [edx] */ 2699 edx = MEM32(ebp + (-0x20)); /* 0x2B06291C: mov edx, dword ptr [ebp - 0x20] */ 2700 ecx = ~ecx; /* 0x2B06291F: not ecx */ 2701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2702 ecx = ecx - 1; /* 0x2B062921: dec ecx */ 2703 _flag_k = FK_DEC; 2704 esi = ecx; /* 0x2B062922: mov esi, ecx */ 2705 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2707 eax = eax - edx; /* 0x2B062924: sub eax, edx */ 2708 _flag_k = FK_CMP; 2709 /* cmp eax, esi */ /* 0x2B062926: cmp eax, esi */ 2710 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2712 _flag_k = FK_CMP; 2713 if (CMP_A(_flag_a, _flag_b)) goto L_2B062930; /* 0x2B062928: ja 0x2b062930 */ 2714 L_2B06292A: 2715 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06292A: call dword ptr [0x2b0b51a8] */ 2716 RECOMP_FLAGS_IN(); 2717 L_2B062930: 2718 /* test esi, esi */ /* 0x2B062930: test esi, esi */ 2719 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2720 _cf = 0; 2721 _flag_k = FK_TEST; 2722 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B062932: jbe 0x2b0629e8 */ 2723 L_2B062938: 2724 ecx = MEM32(ebp + (-0x20)); /* 0x2B062938: mov ecx, dword ptr [ebp - 0x20] */ 2725 eax = ecx + esi; /* 0x2B06293B: lea eax, [ecx + esi] */ 2726 PUSH32(esp, 0); /* 0x2B06293E: push 0 */ 2727 PUSH32(esp, eax); /* 0x2B062940: push eax */ 2728 ecx = ebp + (-0x28); /* 0x2B062941: lea ecx, [ebp - 0x28] */ 2729 MEM32(ebp + (-0x10)) = eax; /* 0x2B062944: mov dword ptr [ebp - 0x10], eax */ 2730 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062947: call dword ptr [0x2b0b5154] */ 2731 RECOMP_FLAGS_IN(); 2732 /* test LO8(eax), LO8(eax) */ /* 0x2B06294D: test al, al */ 2733 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2734 _cf = 0; 2735 _flag_k = FK_NARROW(FK_TEST, 24); 2736 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B06294F: je 0x2b0629e8 */ 2737 L_2B062955: 2738 eax = MEM32(ebp + (-0x20)); /* 0x2B062955: mov eax, dword ptr [ebp - 0x20] */ 2739 edx = MEM32(ebp + (-0x24)); /* 0x2B062958: mov edx, dword ptr [ebp - 0x24] */ 2740 ecx = esi; /* 0x2B06295B: mov ecx, esi */ 2741 esi = MEM32(ebp + (-0x14)); /* 0x2B06295D: mov esi, dword ptr [ebp - 0x14] */ 2742 edi = eax + edx; /* 0x2B062960: lea edi, [eax + edx] */ 2743 eax = MEM32(ebp + (-0x10)); /* 0x2B062963: mov eax, dword ptr [ebp - 0x10] */ 2744 edx = ecx; /* 0x2B062966: mov edx, ecx */ 2745 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062968: shr ecx, 2 */ 2746 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2747 ecx = ecx >> 2u; /* 0x2B062968: shr ecx, 2 */ 2748 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B06296B: 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; } 2749 ecx = edx; /* 0x2B06296D: mov ecx, edx */ 2750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2751 ecx = ecx & 3; /* 0x2B06296F: and ecx, 3 */ 2752 _cf = 0; 2753 _flag_k = FK_TEST; 2754 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062972: 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; } 2755 ecx = MEM32(ebp + (-0x24)); /* 0x2B062974: mov ecx, dword ptr [ebp - 0x24] */ 2756 MEM32(ebp + (-0x20)) = eax; /* 0x2B062977: mov dword ptr [ebp - 0x20], eax */ 2757 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B06297A: mov byte ptr [ecx + eax], 0 */ 2758 goto L_2B0629E8; /* 0x2B06297E: jmp 0x2b0629e8 */ 2759 L_2B062980: 2760 edx = MEM32(0x2B0B515C); /* 0x2B062980: mov edx, dword ptr [0x2b0b515c] */ 2761 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2762 eax = 0; /* 0x2B062986: xor eax, eax */ 2763 _cf = 0; 2764 _flag_k = FK_TEST; 2765 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2766 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062988: or ecx, 0xffffffff */ 2767 _cf = 0; 2768 _flag_k = FK_TEST; 2769 edi = esi; /* 0x2B06298B: mov edi, esi */ 2770 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; } /* 0x2B06298D: repne scasb al, byte ptr es:[edi] */ 2771 eax = MEM32(edx); /* 0x2B06298F: mov eax, dword ptr [edx] */ 2772 edx = MEM32(ebp + (-0x20)); /* 0x2B062991: mov edx, dword ptr [ebp - 0x20] */ 2773 ecx = ~ecx; /* 0x2B062994: not ecx */ 2774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2775 ecx = ecx - 1; /* 0x2B062996: dec ecx */ 2776 _flag_k = FK_DEC; 2777 esi = ecx; /* 0x2B062997: mov esi, ecx */ 2778 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2780 eax = eax - edx; /* 0x2B062999: sub eax, edx */ 2781 _flag_k = FK_CMP; 2782 /* cmp eax, esi */ /* 0x2B06299B: cmp eax, esi */ 2783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2785 _flag_k = FK_CMP; 2786 if (CMP_A(_flag_a, _flag_b)) goto L_2B0629A5; /* 0x2B06299D: ja 0x2b0629a5 */ 2787 L_2B06299F: 2788 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B06299F: call dword ptr [0x2b0b51a8] */ 2789 RECOMP_FLAGS_IN(); 2790 L_2B0629A5: 2791 /* test esi, esi */ /* 0x2B0629A5: test esi, esi */ 2792 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2793 _cf = 0; 2794 _flag_k = FK_TEST; 2795 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E8; /* 0x2B0629A7: jbe 0x2b0629e8 */ 2796 L_2B0629A9: 2797 ecx = MEM32(ebp + (-0x20)); /* 0x2B0629A9: mov ecx, dword ptr [ebp - 0x20] */ 2798 ebx = ecx + esi; /* 0x2B0629AC: lea ebx, [ecx + esi] */ 2799 PUSH32(esp, 0); /* 0x2B0629AF: push 0 */ 2800 PUSH32(esp, ebx); /* 0x2B0629B1: push ebx */ 2801 ecx = ebp + (-0x28); /* 0x2B0629B2: lea ecx, [ebp - 0x28] */ 2802 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B0629B5: call dword ptr [0x2b0b5154] */ 2803 RECOMP_FLAGS_IN(); 2804 /* test LO8(eax), LO8(eax) */ /* 0x2B0629BB: test al, al */ 2805 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2806 _cf = 0; 2807 _flag_k = FK_NARROW(FK_TEST, 24); 2808 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0629E5; /* 0x2B0629BD: je 0x2b0629e5 */ 2809 L_2B0629BF: 2810 eax = MEM32(ebp + (-0x20)); /* 0x2B0629BF: mov eax, dword ptr [ebp - 0x20] */ 2811 edx = MEM32(ebp + (-0x24)); /* 0x2B0629C2: mov edx, dword ptr [ebp - 0x24] */ 2812 ecx = esi; /* 0x2B0629C5: mov ecx, esi */ 2813 esi = MEM32(ebp + (-0x14)); /* 0x2B0629C7: mov esi, dword ptr [ebp - 0x14] */ 2814 edi = eax + edx; /* 0x2B0629CA: lea edi, [eax + edx] */ 2815 edx = ecx; /* 0x2B0629CD: mov edx, ecx */ 2816 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B0629CF: shr ecx, 2 */ 2817 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2818 ecx = ecx >> 2u; /* 0x2B0629CF: shr ecx, 2 */ 2819 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B0629D2: 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; } 2820 ecx = edx; /* 0x2B0629D4: mov ecx, edx */ 2821 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2822 ecx = ecx & 3; /* 0x2B0629D6: and ecx, 3 */ 2823 _cf = 0; 2824 _flag_k = FK_TEST; 2825 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B0629D9: 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; } 2826 eax = MEM32(ebp + (-0x24)); /* 0x2B0629DB: mov eax, dword ptr [ebp - 0x24] */ 2827 MEM32(ebp + (-0x20)) = ebx; /* 0x2B0629DE: mov dword ptr [ebp - 0x20], ebx */ 2828 MEM8(eax + ebx) = (uint8_t)(0); /* 0x2B0629E1: mov byte ptr [eax + ebx], 0 */ 2829 L_2B0629E5: 2830 ebx = MEM32(ebp + (-0x10)); /* 0x2B0629E5: mov ebx, dword ptr [ebp - 0x10] */ 2831 L_2B0629E8: 2832 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x2B0629E8: mov al, byte ptr [ebp - 0x29] */ 2833 /* test LO8(eax), LO8(eax) */ /* 0x2B0629EB: test al, al */ 2834 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2835 _cf = 0; 2836 _flag_k = FK_NARROW(FK_TEST, 24); 2837 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062AE7; /* 0x2B0629ED: je 0x2b062ae7 */ 2838 L_2B0629F3: 2839 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2840 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0629F3: or ecx, 0xffffffff */ 2841 _cf = 0; 2842 _flag_k = FK_TEST; 2843 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2844 eax = 0; /* 0x2B0629F6: xor eax, eax */ 2845 _cf = 0; 2846 _flag_k = FK_TEST; 2847 edi = 0x2B0E19F8u; /* 0x2B0629F8: mov edi, 0x2b0e19f8 */ 2848 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; } /* 0x2B0629FD: repne scasb al, byte ptr es:[edi] */ 2849 ecx = ~ecx; /* 0x2B0629FF: not ecx */ 2850 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2851 ecx = ecx - 1; /* 0x2B062A01: dec ecx */ 2852 _flag_k = FK_DEC; 2853 esi = ecx; /* 0x2B062A02: mov esi, ecx */ 2854 ecx = MEM32(0x2B0B515C); /* 0x2B062A04: mov ecx, dword ptr [0x2b0b515c] */ 2855 edx = MEM32(ecx); /* 0x2B062A0A: mov edx, dword ptr [ecx] */ 2856 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 2857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2858 edx = edx - MEM32(ebp + (-0x20)); /* 0x2B062A0C: sub edx, dword ptr [ebp - 0x20] */ 2859 _flag_k = FK_CMP; 2860 /* cmp edx, esi */ /* 0x2B062A0F: cmp edx, esi */ 2861 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 2862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2863 _flag_k = FK_CMP; 2864 if (CMP_A(_flag_a, _flag_b)) goto L_2B062A19; /* 0x2B062A11: ja 0x2b062a19 */ 2865 L_2B062A13: 2866 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B062A13: call dword ptr [0x2b0b51a8] */ 2867 RECOMP_FLAGS_IN(); 2868 L_2B062A19: 2869 /* test esi, esi */ /* 0x2B062A19: test esi, esi */ 2870 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 2871 _cf = 0; 2872 _flag_k = FK_TEST; 2873 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062A60; /* 0x2B062A1B: jbe 0x2b062a60 */ 2874 L_2B062A1D: 2875 eax = MEM32(ebp + (-0x20)); /* 0x2B062A1D: mov eax, dword ptr [ebp - 0x20] */ 2876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 2877 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2878 eax = eax + esi; /* 0x2B062A20: add eax, esi */ 2879 _flag_k = FK_ADD; 2880 PUSH32(esp, 0); /* 0x2B062A22: push 0 */ 2881 PUSH32(esp, eax); /* 0x2B062A24: push eax */ 2882 ecx = ebp + (-0x28); /* 0x2B062A25: lea ecx, [ebp - 0x28] */ 2883 MEM32(ebp + (-0x10)) = eax; /* 0x2B062A28: mov dword ptr [ebp - 0x10], eax */ 2884 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062A2B: call dword ptr [0x2b0b5154] */ 2885 RECOMP_FLAGS_IN(); 2886 /* test LO8(eax), LO8(eax) */ /* 0x2B062A31: test al, al */ 2887 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2888 _cf = 0; 2889 _flag_k = FK_NARROW(FK_TEST, 24); 2890 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062A60; /* 0x2B062A33: je 0x2b062a60 */ 2891 L_2B062A35: 2892 ecx = MEM32(ebp + (-0x24)); /* 0x2B062A35: mov ecx, dword ptr [ebp - 0x24] */ 2893 edx = MEM32(ebp + (-0x20)); /* 0x2B062A38: mov edx, dword ptr [ebp - 0x20] */ 2894 edi = edx + ecx; /* 0x2B062A3B: lea edi, [edx + ecx] */ 2895 ecx = esi; /* 0x2B062A3E: mov ecx, esi */ 2896 eax = ecx; /* 0x2B062A40: mov eax, ecx */ 2897 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062A42: shr ecx, 2 */ 2898 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2899 ecx = ecx >> 2u; /* 0x2B062A42: shr ecx, 2 */ 2900 esi = 0x2B0E19F8u; /* 0x2B062A45: mov esi, 0x2b0e19f8 */ 2901 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062A4A: 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; } 2902 ecx = eax; /* 0x2B062A4C: mov ecx, eax */ 2903 eax = MEM32(ebp + (-0x10)); /* 0x2B062A4E: mov eax, dword ptr [ebp - 0x10] */ 2904 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2905 ecx = ecx & 3; /* 0x2B062A51: and ecx, 3 */ 2906 _cf = 0; 2907 _flag_k = FK_TEST; 2908 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062A54: 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; } 2909 ecx = MEM32(ebp + (-0x24)); /* 0x2B062A56: mov ecx, dword ptr [ebp - 0x24] */ 2910 MEM32(ebp + (-0x20)) = eax; /* 0x2B062A59: mov dword ptr [ebp - 0x20], eax */ 2911 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B062A5C: mov byte ptr [ecx + eax], 0 */ 2912 L_2B062A60: 2913 PUSH32(esp, ebx); /* 0x2B062A60: push ebx */ 2914 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B062A61: call dword ptr [0x2b0b5d6c] */ 2915 RECOMP_FLAGS_IN(); 2916 ecx = eax; /* 0x2B062A67: mov ecx, eax */ 2917 RECOMP_ICALL(MEM32(0x2B0B5DE8)); /* 0x2B062A69: call dword ptr [0x2b0b5de8] */ 2918 RECOMP_FLAGS_IN(); 2919 edx = MEM32(0x2B0B515C); /* 0x2B062A6F: mov edx, dword ptr [0x2b0b515c] */ 2920 esi = eax; /* 0x2B062A75: mov esi, eax */ 2921 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2922 eax = 0; /* 0x2B062A77: xor eax, eax */ 2923 _cf = 0; 2924 _flag_k = FK_TEST; 2925 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 2926 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062A79: or ecx, 0xffffffff */ 2927 _cf = 0; 2928 _flag_k = FK_TEST; 2929 edi = esi; /* 0x2B062A7C: mov edi, esi */ 2930 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; } /* 0x2B062A7E: repne scasb al, byte ptr es:[edi] */ 2931 eax = MEM32(edx); /* 0x2B062A80: mov eax, dword ptr [edx] */ 2932 edx = MEM32(ebp + (-0x20)); /* 0x2B062A82: mov edx, dword ptr [ebp - 0x20] */ 2933 ecx = ~ecx; /* 0x2B062A85: not ecx */ 2934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 2935 ecx = ecx - 1; /* 0x2B062A87: dec ecx */ 2936 _flag_k = FK_DEC; 2937 edi = ecx; /* 0x2B062A88: mov edi, ecx */ 2938 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2940 eax = eax - edx; /* 0x2B062A8A: sub eax, edx */ 2941 _flag_k = FK_CMP; 2942 /* cmp eax, edi */ /* 0x2B062A8C: cmp eax, edi */ 2943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2945 _flag_k = FK_CMP; 2946 if (CMP_A(_flag_a, _flag_b)) goto L_2B062A96; /* 0x2B062A8E: ja 0x2b062a96 */ 2947 L_2B062A90: 2948 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B062A90: call dword ptr [0x2b0b51a8] */ 2949 RECOMP_FLAGS_IN(); 2950 L_2B062A96: 2951 /* test edi, edi */ /* 0x2B062A96: test edi, edi */ 2952 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2953 _cf = 0; 2954 _flag_k = FK_TEST; 2955 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062ADA; /* 0x2B062A98: jbe 0x2b062ada */ 2956 L_2B062A9A: 2957 ecx = MEM32(ebp + (-0x20)); /* 0x2B062A9A: mov ecx, dword ptr [ebp - 0x20] */ 2958 eax = ecx + edi; /* 0x2B062A9D: lea eax, [ecx + edi] */ 2959 PUSH32(esp, 0); /* 0x2B062AA0: push 0 */ 2960 PUSH32(esp, eax); /* 0x2B062AA2: push eax */ 2961 ecx = ebp + (-0x28); /* 0x2B062AA3: lea ecx, [ebp - 0x28] */ 2962 MEM32(ebp + (-0x10)) = eax; /* 0x2B062AA6: mov dword ptr [ebp - 0x10], eax */ 2963 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062AA9: call dword ptr [0x2b0b5154] */ 2964 RECOMP_FLAGS_IN(); 2965 /* test LO8(eax), LO8(eax) */ /* 0x2B062AAF: test al, al */ 2966 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2967 _cf = 0; 2968 _flag_k = FK_NARROW(FK_TEST, 24); 2969 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062ADA; /* 0x2B062AB1: je 0x2b062ada */ 2970 L_2B062AB3: 2971 edx = MEM32(ebp + (-0x24)); /* 0x2B062AB3: mov edx, dword ptr [ebp - 0x24] */ 2972 eax = MEM32(ebp + (-0x20)); /* 0x2B062AB6: mov eax, dword ptr [ebp - 0x20] */ 2973 ecx = edi; /* 0x2B062AB9: mov ecx, edi */ 2974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 2975 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2976 eax = eax + edx; /* 0x2B062ABB: add eax, edx */ 2977 _flag_k = FK_ADD; 2978 edx = ecx; /* 0x2B062ABD: mov edx, ecx */ 2979 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062ABF: shr ecx, 2 */ 2980 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 2981 ecx = ecx >> 2u; /* 0x2B062ABF: shr ecx, 2 */ 2982 edi = eax; /* 0x2B062AC2: mov edi, eax */ 2983 eax = MEM32(ebp + (-0x10)); /* 0x2B062AC4: mov eax, dword ptr [ebp - 0x10] */ 2984 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062AC7: 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; } 2985 ecx = edx; /* 0x2B062AC9: mov ecx, edx */ 2986 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 2987 ecx = ecx & 3; /* 0x2B062ACB: and ecx, 3 */ 2988 _cf = 0; 2989 _flag_k = FK_TEST; 2990 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062ACE: 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; } 2991 ecx = MEM32(ebp + (-0x24)); /* 0x2B062AD0: mov ecx, dword ptr [ebp - 0x24] */ 2992 MEM32(ebp + (-0x20)) = eax; /* 0x2B062AD3: mov dword ptr [ebp - 0x20], eax */ 2993 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B062AD6: mov byte ptr [ecx + eax], 0 */ 2994 L_2B062ADA: 2995 PUSH32(esp, 0x1Eu); /* 0x2B062ADA: push 0x1e */ 2996 PUSH32(esp, 0); /* 0x2B062ADC: push 0 */ 2997 ecx = ebp + (-0x28); /* 0x2B062ADE: lea ecx, [ebp - 0x28] */ 2998 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B062AE1: call dword ptr [0x2b0b5a74] */ 2999 RECOMP_FLAGS_IN(); 3000 L_2B062AE7: 3001 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3002 esi = 0; /* 0x2B062AE7: xor esi, esi */ 3003 _cf = 0; 3004 _flag_k = FK_TEST; 3005 MEM32(ebp + (-0x10)) = esi; /* 0x2B062AE9: mov dword ptr [ebp - 0x10], esi */ 3006 MEM32(ebp + (-0x14)) = esi; /* 0x2B062AEC: mov dword ptr [ebp - 0x14], esi */ 3007 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B062AEF: call dword ptr [0x2b0b5b64] */ 3008 RECOMP_FLAGS_IN(); 3009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 3010 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3011 eax = eax + 0xD4u; /* 0x2B062AF5: add eax, 0xd4 */ 3012 _flag_k = FK_ADD; 3013 MEM32(ebp + (-0x3C)) = eax; /* 0x2B062AFA: mov dword ptr [ebp - 0x3c], eax */ 3014 SET_LO8(eax, MEM8(0x2B0EAF38)); /* 0x2B062AFD: mov al, byte ptr [0x2b0eaf38] */ 3015 /* test LO8(eax), LO8(eax) */ /* 0x2B062B02: test al, al */ 3016 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3017 _cf = 0; 3018 _flag_k = FK_NARROW(FK_TEST, 24); 3019 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062B60; /* 0x2B062B04: je 0x2b062b60 */ 3020 L_2B062B06: 3021 edx = MEM32(ebp + 0x8); /* 0x2B062B06: mov edx, dword ptr [ebp + 8] */ 3022 edi = MEM32(0x2B0B5D6C); /* 0x2B062B09: mov edi, dword ptr [0x2b0b5d6c] */ 3023 PUSH32(esp, edx); /* 0x2B062B0F: push edx */ 3024 RECOMP_ICALL(edi); /* 0x2B062B10: call edi */ 3025 RECOMP_FLAGS_IN(); 3026 ecx = eax; /* 0x2B062B12: mov ecx, eax */ 3027 RECOMP_ICALL(MEM32(0x2B0B5DEC)); /* 0x2B062B14: call dword ptr [0x2b0b5dec] */ 3028 RECOMP_FLAGS_IN(); 3029 /* test eax, eax */ /* 0x2B062B1A: test eax, eax */ 3030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3031 _cf = 0; 3032 _flag_k = FK_TEST; 3033 MEM32(ebp + (-0x10)) = eax; /* 0x2B062B1C: mov dword ptr [ebp - 0x10], eax */ 3034 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062B60; /* 0x2B062B1F: je 0x2b062b60 */ 3035 L_2B062B21: 3036 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B062B21: push -1 */ 3037 PUSH32(esp, esi); /* 0x2B062B23: push esi */ 3038 PUSH32(esp, 2); /* 0x2B062B24: push 2 */ 3039 ecx = eax; /* 0x2B062B26: mov ecx, eax */ 3040 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B062B28: call dword ptr [0x2b0b59b8] */ 3041 RECOMP_FLAGS_IN(); 3042 esi = eax; /* 0x2B062B2E: mov esi, eax */ 3043 eax = MEM32(ebp + 0x8); /* 0x2B062B30: mov eax, dword ptr [ebp + 8] */ 3044 PUSH32(esp, 0x21u); /* 0x2B062B33: push 0x21 */ 3045 PUSH32(esp, eax); /* 0x2B062B35: push eax */ 3046 RECOMP_ICALL(edi); /* 0x2B062B36: call edi */ 3047 RECOMP_FLAGS_IN(); 3048 ecx = eax; /* 0x2B062B38: mov ecx, eax */ 3049 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B062B3A: call dword ptr [0x2b0b5ee0] */ 3050 RECOMP_FLAGS_IN(); 3051 /* cmp eax, 2 */ /* 0x2B062B40: cmp eax, 2 */ 3052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3054 _flag_k = FK_CMP; 3055 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062B4E; /* 0x2B062B43: jne 0x2b062b4e */ 3056 L_2B062B45: 3057 MEM32(ebp + (-0x14)) = 0x00AA88AAu; /* 0x2B062B45: mov dword ptr [ebp - 0x14], 0xaa88aa */ 3058 goto L_2B062B60; /* 0x2B062B4C: jmp 0x2b062b60 */ 3059 L_2B062B4E: 3060 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3061 eax = eax - 1; /* 0x2B062B4E: dec eax */ 3062 _flag_k = FK_DEC; 3063 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3064 _cf = (eax) != 0; 3065 eax = (uint32_t)(-(int32_t)eax); /* 0x2B062B4F: neg eax */ 3066 _flag_k = FK_CMP; 3067 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B062B51: sbb eax, eax */ 3068 eax = _sc ? 0xFFFFFFFFu : 0; 3069 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3070 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2200u); 3072 eax = eax & 0x2200u; /* 0x2B062B53: and eax, 0x2200 */ 3073 _cf = 0; 3074 _flag_k = FK_TEST; 3075 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x008888AAu); 3076 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3077 eax = eax + 0x008888AAu; /* 0x2B062B58: add eax, 0x8888aa */ 3078 _flag_k = FK_ADD; 3079 MEM32(ebp + (-0x14)) = eax; /* 0x2B062B5D: mov dword ptr [ebp - 0x14], eax */ 3080 L_2B062B60: 3081 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B062B60: push -1 */ 3082 PUSH32(esp, 0); /* 0x2B062B62: push 0 */ 3083 PUSH32(esp, 2); /* 0x2B062B64: push 2 */ 3084 ecx = ebp + (-0x28); /* 0x2B062B66: lea ecx, [ebp - 0x28] */ 3085 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B062B69: call dword ptr [0x2b0b59b8] */ 3086 RECOMP_FLAGS_IN(); 3087 /* cmp esi, eax */ /* 0x2B062B6F: cmp esi, eax */ 3088 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3090 _flag_k = FK_CMP; 3091 if (CMP_LE(_flag_a, _flag_b)) goto L_2B062B75; /* 0x2B062B71: jle 0x2b062b75 */ 3092 L_2B062B73: 3093 eax = esi; /* 0x2B062B73: mov eax, esi */ 3094 L_2B062B75: 3095 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3096 ecx = 0; /* 0x2B062B75: xor ecx, ecx */ 3097 _cf = 0; 3098 _flag_k = FK_TEST; 3099 /* cmp eax, 0x80u */ /* 0x2B062B77: cmp eax, 0x80 */ 3100 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 3101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3102 _flag_k = FK_CMP; 3103 SET_LO8(ecx, (CMP_LE(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B062B7C: setle cl */ 3104 PUSH32(esp, 0x34u); /* 0x2B062B7F: push 0x34 */ 3105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3106 ecx = ecx - 1; /* 0x2B062B81: dec ecx */ 3107 _flag_k = FK_DEC; 3108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 3109 ecx = ecx & 0x80u; /* 0x2B062B82: and ecx, 0x80 */ 3110 _cf = 0; 3111 _flag_k = FK_TEST; 3112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 3113 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3114 ecx = ecx + 0x80u; /* 0x2B062B88: add ecx, 0x80 */ 3115 _flag_k = FK_ADD; 3116 esi = ecx; /* 0x2B062B8E: mov esi, ecx */ 3117 MEM32(ebp + 0x8) = esi; /* 0x2B062B90: mov dword ptr [ebp + 8], esi */ 3118 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062B93: call 0x2b0ab212 */ /* not lifted */ 3119 RECOMP_FLAGS_IN(); 3120 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3122 esp = esp + 4; /* 0x2B062B98: add esp, 4 */ 3123 _flag_k = FK_ADD; 3124 MEM32(ebp + (-0x3C)) = eax; /* 0x2B062B9B: mov dword ptr [ebp - 0x3c], eax */ 3125 /* test eax, eax */ /* 0x2B062B9E: test eax, eax */ 3126 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3127 _cf = 0; 3128 _flag_k = FK_TEST; 3129 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B062BA0: mov byte ptr [ebp - 4], 1 */ 3130 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062BB5; /* 0x2B062BA4: je 0x2b062bb5 */ 3131 L_2B062BA6: 3132 PUSH32(esp, 2); /* 0x2B062BA6: push 2 */ 3133 PUSH32(esp, 0x20u); /* 0x2B062BA8: push 0x20 */ 3134 PUSH32(esp, esi); /* 0x2B062BAA: push esi */ 3135 ecx = eax; /* 0x2B062BAB: mov ecx, eax */ 3136 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B062BAD: call dword ptr [0x2b0b5650] */ 3137 RECOMP_FLAGS_IN(); 3138 goto L_2B062BB7; /* 0x2B062BB3: jmp 0x2b062bb7 */ 3139 L_2B062BB5: 3140 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3141 eax = 0; /* 0x2B062BB5: xor eax, eax */ 3142 _cf = 0; 3143 _flag_k = FK_TEST; 3144 L_2B062BB7: 3145 PUSH32(esp, 1); /* 0x2B062BB7: push 1 */ 3146 PUSH32(esp, 0); /* 0x2B062BB9: push 0 */ 3147 PUSH32(esp, 0); /* 0x2B062BBB: push 0 */ 3148 ecx = eax; /* 0x2B062BBD: mov ecx, eax */ 3149 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062BBF: mov byte ptr [ebp - 4], 0 */ 3150 MEM32(ebx + 0xC) = eax; /* 0x2B062BC3: mov dword ptr [ebx + 0xc], eax */ 3151 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B062BC6: call dword ptr [0x2b0b564c] */ 3152 RECOMP_FLAGS_IN(); 3153 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B062BCC: mov al, byte ptr [ebp + 0xc] */ 3154 /* test LO8(eax), LO8(eax) */ /* 0x2B062BCF: test al, al */ 3155 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3156 _cf = 0; 3157 _flag_k = FK_NARROW(FK_TEST, 24); 3158 PUSH32(esp, 2); /* 0x2B062BD1: push 2 */ 3159 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062BDC; /* 0x2B062BD3: jne 0x2b062bdc */ 3160 L_2B062BD5: 3161 PUSH32(esp, 0x108u); /* 0x2B062BD5: push 0x108 */ 3162 goto L_2B062BE1; /* 0x2B062BDA: jmp 0x2b062be1 */ 3163 L_2B062BDC: 3164 PUSH32(esp, 0x109u); /* 0x2B062BDC: push 0x109 */ 3165 L_2B062BE1: 3166 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062BE1: call dword ptr [0x2b0b5f80] */ 3167 RECOMP_FLAGS_IN(); 3168 ecx = eax; /* 0x2B062BE7: mov ecx, eax */ 3169 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062BE9: call dword ptr [0x2b0b5fbc] */ 3170 RECOMP_FLAGS_IN(); 3171 edi = MEM32(0x2B0B5554); /* 0x2B062BEF: mov edi, dword ptr [0x2b0b5554] */ 3172 esi = eax; /* 0x2B062BF5: mov esi, eax */ 3173 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B062BF7: mov al, byte ptr [ebp + 0x10] */ 3174 /* test LO8(eax), LO8(eax) */ /* 0x2B062BFA: test al, al */ 3175 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3176 _cf = 0; 3177 _flag_k = FK_NARROW(FK_TEST, 24); 3178 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062C6F; /* 0x2B062BFC: je 0x2b062c6f */ 3179 L_2B062BFE: 3180 eax = MEM32(esi + 0xC); /* 0x2B062BFE: mov eax, dword ptr [esi + 0xc] */ 3181 ecx = MEM32(esi + 0x8); /* 0x2B062C01: mov ecx, dword ptr [esi + 8] */ 3182 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C04: cdq */ 3183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3185 eax = eax - edx; /* 0x2B062C05: sub eax, edx */ 3186 _flag_k = FK_CMP; 3187 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3188 edx = 0; /* 0x2B062C07: xor edx, edx */ 3189 _cf = 0; 3190 _flag_k = FK_TEST; 3191 PUSH32(esp, 0xFF00u); /* 0x2B062C09: push 0xff00 */ 3192 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C0E: sar eax, 1 */ 3193 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3194 eax = (uint32_t)((int32_t)eax >> 1u); 3195 MEM32(ebp + (-0x60)) = edx; /* 0x2B062C10: mov dword ptr [ebp - 0x60], edx */ 3196 MEM32(ebp + (-0x5C)) = edx; /* 0x2B062C13: mov dword ptr [ebp - 0x5c], edx */ 3197 MEM32(ebp + (-0x40)) = edx; /* 0x2B062C16: mov dword ptr [ebp - 0x40], edx */ 3198 MEM32(ebp + (-0x3C)) = edx; /* 0x2B062C19: mov dword ptr [ebp - 0x3c], edx */ 3199 PUSH32(esp, esi); /* 0x2B062C1C: push esi */ 3200 edx = ebp + (-0x40); /* 0x2B062C1D: lea edx, [ebp - 0x40] */ 3201 MEM32(ebp + (-0x58)) = eax; /* 0x2B062C20: mov dword ptr [ebp - 0x58], eax */ 3202 PUSH32(esp, edx); /* 0x2B062C23: push edx */ 3203 eax = ebp + (-0x60); /* 0x2B062C24: lea eax, [ebp - 0x60] */ 3204 MEM32(ebp + (-0x54)) = ecx; /* 0x2B062C27: mov dword ptr [ebp - 0x54], ecx */ 3205 ecx = MEM32(ebx + 0xC); /* 0x2B062C2A: mov ecx, dword ptr [ebx + 0xc] */ 3206 PUSH32(esp, eax); /* 0x2B062C2D: push eax */ 3207 RECOMP_ICALL(edi); /* 0x2B062C2E: call edi */ 3208 RECOMP_FLAGS_IN(); 3209 ecx = MEM32(esi + 0xC); /* 0x2B062C30: mov ecx, dword ptr [esi + 0xc] */ 3210 eax = ecx; /* 0x2B062C33: mov eax, ecx */ 3211 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C35: cdq */ 3212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3214 eax = eax - edx; /* 0x2B062C36: sub eax, edx */ 3215 _flag_k = FK_CMP; 3216 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062C38: mov dword ptr [ebp - 0x48], ecx */ 3217 ecx = MEM32(esi + 0x8); /* 0x2B062C3B: mov ecx, dword ptr [esi + 8] */ 3218 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C3E: sar eax, 1 */ 3219 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3220 eax = (uint32_t)((int32_t)eax >> 1u); 3221 MEM32(ebp + (-0x44)) = ecx; /* 0x2B062C40: mov dword ptr [ebp - 0x44], ecx */ 3222 ecx = MEM32(ebx + 0xC); /* 0x2B062C43: mov ecx, dword ptr [ebx + 0xc] */ 3223 MEM32(ebp + (-0x50)) = eax; /* 0x2B062C46: mov dword ptr [ebp - 0x50], eax */ 3224 MEM32(ebp + (-0x4C)) = 0; /* 0x2B062C49: mov dword ptr [ebp - 0x4c], 0 */ 3225 edx = MEM32(ecx + 0xC); /* 0x2B062C50: mov edx, dword ptr [ecx + 0xc] */ 3226 PUSH32(esp, 0xFF00u); /* 0x2B062C53: push 0xff00 */ 3227 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 3228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3229 edx = edx - eax; /* 0x2B062C58: sub edx, eax */ 3230 _flag_k = FK_CMP; 3231 PUSH32(esp, esi); /* 0x2B062C5A: push esi */ 3232 eax = ebp + (-0x38); /* 0x2B062C5B: lea eax, [ebp - 0x38] */ 3233 MEM32(ebp + (-0x38)) = edx; /* 0x2B062C5E: mov dword ptr [ebp - 0x38], edx */ 3234 PUSH32(esp, eax); /* 0x2B062C61: push eax */ 3235 edx = ebp + (-0x50); /* 0x2B062C62: lea edx, [ebp - 0x50] */ 3236 PUSH32(esp, edx); /* 0x2B062C65: push edx */ 3237 MEM32(ebp + (-0x34)) = 0; /* 0x2B062C66: mov dword ptr [ebp - 0x34], 0 */ 3238 RECOMP_ICALL(edi); /* 0x2B062C6D: call edi */ 3239 RECOMP_FLAGS_IN(); 3240 L_2B062C6F: 3241 PUSH32(esp, esi); /* 0x2B062C6F: push esi */ 3242 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C70: call dword ptr [0x2b0b5f80] */ 3243 RECOMP_FLAGS_IN(); 3244 ecx = eax; /* 0x2B062C76: mov ecx, eax */ 3245 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062C78: call dword ptr [0x2b0b5fb8] */ 3246 RECOMP_FLAGS_IN(); 3247 eax = MEM32(0x2B0B610C); /* 0x2B062C7E: mov eax, dword ptr [0x2b0b610c] */ 3248 ecx = MEM32(eax); /* 0x2B062C83: mov ecx, dword ptr [eax] */ 3249 PUSH32(esp, ebx); /* 0x2B062C85: push ebx */ 3250 RECOMP_ICALL(MEM32(0x2B0B611C)); /* 0x2B062C86: call dword ptr [0x2b0b611c] */ 3251 RECOMP_FLAGS_IN(); 3252 /* test LO8(eax), LO8(eax) */ /* 0x2B062C8C: test al, al */ 3253 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3254 _cf = 0; 3255 _flag_k = FK_NARROW(FK_TEST, 24); 3256 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062CFD; /* 0x2B062C8E: je 0x2b062cfd */ 3257 L_2B062C90: 3258 PUSH32(esp, 2); /* 0x2B062C90: push 2 */ 3259 PUSH32(esp, 0x107u); /* 0x2B062C92: push 0x107 */ 3260 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C97: call dword ptr [0x2b0b5f80] */ 3261 RECOMP_FLAGS_IN(); 3262 ecx = eax; /* 0x2B062C9D: mov ecx, eax */ 3263 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062C9F: call dword ptr [0x2b0b5fbc] */ 3264 RECOMP_FLAGS_IN(); 3265 esi = eax; /* 0x2B062CA5: mov esi, eax */ 3266 ecx = MEM32(esi + 0xC); /* 0x2B062CA7: mov ecx, dword ptr [esi + 0xc] */ 3267 eax = MEM32(esi + 0x8); /* 0x2B062CAA: mov eax, dword ptr [esi + 8] */ 3268 MEM32(ebp + (-0x44)) = eax; /* 0x2B062CAD: mov dword ptr [ebp - 0x44], eax */ 3269 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3270 edx = 0; /* 0x2B062CB0: xor edx, edx */ 3271 _cf = 0; 3272 _flag_k = FK_TEST; 3273 MEM32(ebp + (-0x50)) = edx; /* 0x2B062CB2: mov dword ptr [ebp - 0x50], edx */ 3274 MEM32(ebp + (-0x4C)) = edx; /* 0x2B062CB5: mov dword ptr [ebp - 0x4c], edx */ 3275 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062CB8: mov dword ptr [ebp - 0x48], ecx */ 3276 ecx = MEM32(ebx + 0xC); /* 0x2B062CBB: mov ecx, dword ptr [ebx + 0xc] */ 3277 edx = MEM32(esi + 0xC); /* 0x2B062CBE: mov edx, dword ptr [esi + 0xc] */ 3278 eax = MEM32(ecx + 0xC); /* 0x2B062CC1: mov eax, dword ptr [ecx + 0xc] */ 3279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3281 eax = eax - edx; /* 0x2B062CC4: sub eax, edx */ 3282 _flag_k = FK_CMP; 3283 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CC6: cdq */ 3284 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3286 eax = eax - edx; /* 0x2B062CC7: sub eax, edx */ 3287 _flag_k = FK_CMP; 3288 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CC9: sar eax, 1 */ 3289 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3290 eax = (uint32_t)((int32_t)eax >> 1u); 3291 MEM32(ebp + (-0x38)) = eax; /* 0x2B062CCB: mov dword ptr [ebp - 0x38], eax */ 3292 edx = MEM32(esi + 0x8); /* 0x2B062CCE: mov edx, dword ptr [esi + 8] */ 3293 eax = MEM32(ecx + 0x8); /* 0x2B062CD1: mov eax, dword ptr [ecx + 8] */ 3294 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3296 eax = eax - edx; /* 0x2B062CD4: sub eax, edx */ 3297 _flag_k = FK_CMP; 3298 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CD6: cdq */ 3299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3301 eax = eax - edx; /* 0x2B062CD7: sub eax, edx */ 3302 _flag_k = FK_CMP; 3303 PUSH32(esp, 0xFF00u); /* 0x2B062CD9: push 0xff00 */ 3304 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CDE: sar eax, 1 */ 3305 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3306 eax = (uint32_t)((int32_t)eax >> 1u); 3307 PUSH32(esp, esi); /* 0x2B062CE0: push esi */ 3308 edx = ebp + (-0x38); /* 0x2B062CE1: lea edx, [ebp - 0x38] */ 3309 MEM32(ebp + (-0x34)) = eax; /* 0x2B062CE4: mov dword ptr [ebp - 0x34], eax */ 3310 PUSH32(esp, edx); /* 0x2B062CE7: push edx */ 3311 eax = ebp + (-0x50); /* 0x2B062CE8: lea eax, [ebp - 0x50] */ 3312 PUSH32(esp, eax); /* 0x2B062CEB: push eax */ 3313 RECOMP_ICALL(edi); /* 0x2B062CEC: call edi */ 3314 RECOMP_FLAGS_IN(); 3315 PUSH32(esp, esi); /* 0x2B062CEE: push esi */ 3316 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062CEF: call dword ptr [0x2b0b5f80] */ 3317 RECOMP_FLAGS_IN(); 3318 ecx = eax; /* 0x2B062CF5: mov ecx, eax */ 3319 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062CF7: call dword ptr [0x2b0b5fb8] */ 3320 RECOMP_FLAGS_IN(); 3321 L_2B062CFD: 3322 ecx = MEM32(ebx + 0xC); /* 0x2B062CFD: mov ecx, dword ptr [ebx + 0xc] */ 3323 PUSH32(esp, ecx); /* 0x2B062D00: push ecx */ 3324 PUSH32(esp, 0x800u); /* 0x2B062D01: push 0x800 */ 3325 PUSH32(esp, 2); /* 0x2B062D06: push 2 */ 3326 ecx = ebp + (-0x98); /* 0x2B062D08: lea ecx, [ebp - 0x98] */ 3327 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B062D0E: call dword ptr [0x2b0b5bf0] */ 3328 RECOMP_FLAGS_IN(); 3329 esi = MEM32(0x2B0B5B78); /* 0x2B062D14: mov esi, dword ptr [0x2b0b5b78] */ 3330 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3331 edi = 0; /* 0x2B062D1A: xor edi, edi */ 3332 _cf = 0; 3333 _flag_k = FK_TEST; 3334 PUSH32(esp, edi); /* 0x2B062D1C: push edi */ 3335 PUSH32(esp, edi); /* 0x2B062D1D: push edi */ 3336 PUSH32(esp, 1); /* 0x2B062D1E: push 1 */ 3337 PUSH32(esp, edi); /* 0x2B062D20: push edi */ 3338 edx = ebp + (-0x28); /* 0x2B062D21: lea edx, [ebp - 0x28] */ 3339 PUSH32(esp, edx); /* 0x2B062D24: push edx */ 3340 ecx = ebp + (-0x98); /* 0x2B062D25: lea ecx, [ebp - 0x98] */ 3341 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D2B: mov byte ptr [ebp - 4], 2 */ 3342 MEM32(ebp + (-0x68)) = 0x00FFFFFFu; /* 0x2B062D2F: mov dword ptr [ebp - 0x68], 0xffffff */ 3343 RECOMP_ICALL(esi); /* 0x2B062D36: call esi */ 3344 RECOMP_FLAGS_IN(); 3345 eax = MEM32(ebp + (-0x10)); /* 0x2B062D38: mov eax, dword ptr [ebp - 0x10] */ 3346 /* cmp eax, edi */ /* 0x2B062D3B: cmp eax, edi */ 3347 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3349 _flag_k = FK_CMP; 3350 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D53; /* 0x2B062D3D: je 0x2b062d53 */ 3351 L_2B062D3F: 3352 ecx = MEM32(ebp + (-0x14)); /* 0x2B062D3F: mov ecx, dword ptr [ebp - 0x14] */ 3353 PUSH32(esp, edi); /* 0x2B062D42: push edi */ 3354 PUSH32(esp, edi); /* 0x2B062D43: push edi */ 3355 PUSH32(esp, 0x13u); /* 0x2B062D44: push 0x13 */ 3356 PUSH32(esp, edi); /* 0x2B062D46: push edi */ 3357 MEM32(ebp + (-0x68)) = ecx; /* 0x2B062D47: mov dword ptr [ebp - 0x68], ecx */ 3358 PUSH32(esp, eax); /* 0x2B062D4A: push eax */ 3359 ecx = ebp + (-0x98); /* 0x2B062D4B: lea ecx, [ebp - 0x98] */ 3360 RECOMP_ICALL(esi); /* 0x2B062D51: call esi */ 3361 RECOMP_FLAGS_IN(); 3362 L_2B062D53: 3363 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B062D53: fild dword ptr [ebp + 8] */ 3364 PUSH32(esp, 0x14u); /* 0x2B062D56: push 0x14 */ 3365 _st[0] *= (double)*(float*)ADDR(0x2B0B6D10); /* 0x2B062D58: fmul dword ptr [0x2b0b6d10] */ 3366 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x2B062D5E: fstp dword ptr [ebp + 0x10] */ 3367 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D61: call 0x2b0ab212 */ /* not lifted */ 3368 RECOMP_FLAGS_IN(); 3369 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3371 esp = esp + 4; /* 0x2B062D66: add esp, 4 */ 3372 _flag_k = FK_ADD; 3373 MEM32(ebp + 0xC) = eax; /* 0x2B062D69: mov dword ptr [ebp + 0xc], eax */ 3374 /* cmp eax, edi */ /* 0x2B062D6C: cmp eax, edi */ 3375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3377 _flag_k = FK_CMP; 3378 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B062D6E: mov byte ptr [ebp - 4], 3 */ 3379 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D90; /* 0x2B062D72: je 0x2b062d90 */ 3380 L_2B062D74: 3381 edx = MEM32(ebx + 0xC); /* 0x2B062D74: mov edx, dword ptr [ebx + 0xc] */ 3382 ecx = MEM32(edx + 0x28); /* 0x2B062D77: mov ecx, dword ptr [edx + 0x28] */ 3383 PUSH32(esp, ecx); /* 0x2B062D7A: push ecx */ 3384 ecx = MEM32(edx); /* 0x2B062D7B: mov ecx, dword ptr [edx] */ 3385 PUSH32(esp, ecx); /* 0x2B062D7D: push ecx */ 3386 ecx = MEM32(edx + 0x8); /* 0x2B062D7E: mov ecx, dword ptr [edx + 8] */ 3387 edx = MEM32(edx + 0xC); /* 0x2B062D81: mov edx, dword ptr [edx + 0xc] */ 3388 PUSH32(esp, ecx); /* 0x2B062D84: push ecx */ 3389 PUSH32(esp, edx); /* 0x2B062D85: push edx */ 3390 ecx = eax; /* 0x2B062D86: mov ecx, eax */ 3391 RECOMP_ICALL(MEM32(0x2B0B54CC)); /* 0x2B062D88: call dword ptr [0x2b0b54cc] */ 3392 RECOMP_FLAGS_IN(); 3393 goto L_2B062D92; /* 0x2B062D8E: jmp 0x2b062d92 */ 3394 L_2B062D90: 3395 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3396 eax = 0; /* 0x2B062D90: xor eax, eax */ 3397 _cf = 0; 3398 _flag_k = FK_TEST; 3399 L_2B062D92: 3400 PUSH32(esp, 4); /* 0x2B062D92: push 4 */ 3401 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D94: mov byte ptr [ebp - 4], 2 */ 3402 MEM32(ebx + 0x8) = eax; /* 0x2B062D98: mov dword ptr [ebx + 8], eax */ 3403 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D9B: call 0x2b0ab212 */ /* not lifted */ 3404 RECOMP_FLAGS_IN(); 3405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3407 esp = esp + 4; /* 0x2B062DA0: add esp, 4 */ 3408 _flag_k = FK_ADD; 3409 MEM32(ebp + 0xC) = eax; /* 0x2B062DA3: mov dword ptr [ebp + 0xc], eax */ 3410 /* cmp eax, edi */ /* 0x2B062DA6: cmp eax, edi */ 3411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3413 _flag_k = FK_CMP; 3414 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B062DA8: mov byte ptr [ebp - 4], 4 */ 3415 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062DC5; /* 0x2B062DAC: je 0x2b062dc5 */ 3416 L_2B062DAE: 3417 ecx = MEM32(ebx + 0x8); /* 0x2B062DAE: mov ecx, dword ptr [ebx + 8] */ 3418 edx = MEM32(ebp + 0x10); /* 0x2B062DB1: mov edx, dword ptr [ebp + 0x10] */ 3419 PUSH32(esp, ecx); /* 0x2B062DB4: push ecx */ 3420 PUSH32(esp, 0x3E99999Au); /* 0x2B062DB5: push 0x3e99999a */ 3421 PUSH32(esp, edx); /* 0x2B062DBA: push edx */ 3422 ecx = eax; /* 0x2B062DBB: mov ecx, eax */ 3423 RECOMP_ICALL(MEM32(0x2B0B54D0)); /* 0x2B062DBD: call dword ptr [0x2b0b54d0] */ 3424 RECOMP_FLAGS_IN(); 3425 goto L_2B062DC7; /* 0x2B062DC3: jmp 0x2b062dc7 */ 3426 L_2B062DC5: 3427 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3428 eax = 0; /* 0x2B062DC5: xor eax, eax */ 3429 _cf = 0; 3430 _flag_k = FK_TEST; 3431 L_2B062DC7: 3432 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 3433 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 3434 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 3435 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 3436 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 3437 RECOMP_FLAGS_IN(); 3438 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 3439 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 3440 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 3441 RECOMP_FLAGS_IN(); 3442 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 3443 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 3444 RECOMP_FLAGS_IN(); 3445 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 3446 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 3447 fp_pop(); 3448 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 3449 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 3450 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 3451 _cf = 0; 3452 _flag_k = FK_NARROW(FK_TEST, 24); 3453 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 3454 L_2B062DF9: 3455 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 3456 L_2B062E00: 3457 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 3458 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 3459 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 3460 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 3461 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 3462 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 3463 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 3464 RECOMP_FLAGS_IN(); 3465 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 3466 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 3467 RECOMP_FLAGS_IN(); 3468 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 3469 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 3470 fp_pop(); 3471 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 3472 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 3473 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 3474 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 3475 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 3476 _cf = 0; 3477 _flag_k = FK_NARROW(FK_TEST, 24); 3478 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 3479 L_2B062E30: 3480 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 3481 L_2B062E37: 3482 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 3483 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3485 _flag_k = FK_CMP; 3486 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 3487 L_2B062E3C: 3488 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 3489 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 3490 fp_pop(); 3491 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 3492 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 3493 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3494 _cf = 0; 3495 _flag_k = FK_NARROW(FK_TEST, 24); 3496 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 3497 L_2B062E4C: 3498 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 3499 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 3500 L_2B062E55: 3501 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 3502 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 3503 fp_pop(); 3504 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 3505 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 3506 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3507 _cf = 0; 3508 _flag_k = FK_NARROW(FK_TEST, 24); 3509 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 3510 L_2B062E65: 3511 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 3512 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 3513 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 3514 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 3515 RECOMP_FLAGS_IN(); 3516 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 3517 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3518 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 3519 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 3520 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 3521 _cf = 0; 3522 _flag_k = FK_TEST; 3523 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 3524 L_2B062E7F: 3525 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 3526 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 3527 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 3528 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 3529 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 3530 RECOMP_FLAGS_IN(); 3531 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 3532 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 3533 _cf = 0; 3534 _flag_k = FK_TEST; 3535 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 3536 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3537 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 3538 L_2B062E9D: 3539 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 3540 L_2B062EA0: 3541 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 3542 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 3543 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 3544 RECOMP_FLAGS_IN(); 3545 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 3546 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 3547 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 3548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3549 _flag_k = FK_CMP; 3550 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 3551 L_2B062EB7: 3552 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 3553 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 3554 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 3555 edx = edx - 1; /* 0x2B062EBD: dec edx */ 3556 _flag_k = FK_DEC; 3557 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 3558 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 3559 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3561 _flag_k = FK_CMP; 3562 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 3563 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 3564 L_2B062EC6: 3565 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 3566 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 3567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3568 _flag_k = FK_CMP; 3569 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 3570 L_2B062ECA: 3571 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 3572 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 3573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3575 _flag_k = FK_CMP; 3576 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 3577 L_2B062ED1: 3578 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 3579 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 3580 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 3581 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3582 _cf = 0; 3583 _flag_k = FK_NARROW(FK_TEST, 24); 3584 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 3585 L_2B062EDA: 3586 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 3587 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3589 _flag_k = FK_NARROW(FK_CMP, 24); 3590 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 3591 L_2B062EDE: 3592 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3593 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 3594 _flag_k = FK_NARROW(FK_DEC, 24); 3595 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 3596 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 3597 L_2B062EE4: 3598 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 3599 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 3600 RECOMP_FLAGS_IN(); 3601 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3602 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3603 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 3604 _flag_k = FK_ADD; 3605 L_2B062EED: 3606 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 3607 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 3608 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 3609 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 3610 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 3611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3613 _flag_k = FK_CMP; 3614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 3615 L_2B062EFD: 3616 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 3617 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 3618 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 3619 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3620 _cf = 0; 3621 _flag_k = FK_NARROW(FK_TEST, 24); 3622 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 3623 L_2B062F06: 3624 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 3625 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3627 _flag_k = FK_NARROW(FK_CMP, 24); 3628 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 3629 L_2B062F0A: 3630 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3631 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 3632 _flag_k = FK_NARROW(FK_DEC, 24); 3633 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 3634 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 3635 L_2B062F10: 3636 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 3637 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 3638 RECOMP_FLAGS_IN(); 3639 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3640 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3641 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 3642 _flag_k = FK_ADD; 3643 L_2B062F19: 3644 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 3645 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 3646 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 3647 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 3648 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 3649 RECOMP_FLAGS_IN(); 3650 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3651 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3652 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 3653 _flag_k = FK_ADD; 3654 L_2B062F2B: 3655 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 3656 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 3657 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 3658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3659 _flag_k = FK_CMP; 3660 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 3661 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 3662 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 3663 L_2B062F34: 3664 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 3665 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 3666 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3667 _cf = 0; 3668 _flag_k = FK_NARROW(FK_TEST, 24); 3669 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 3670 L_2B062F3B: 3671 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 3672 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3674 _flag_k = FK_NARROW(FK_CMP, 24); 3675 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 3676 L_2B062F3F: 3677 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3678 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 3679 _flag_k = FK_NARROW(FK_DEC, 24); 3680 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 3681 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 3682 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 3683 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 3684 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 3685 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 3686 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 3687 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 3688 L_2B062F57: 3689 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3690 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 3691 _flag_k = FK_DEC; 3692 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 3693 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 3694 RECOMP_FLAGS_IN(); 3695 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3697 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 3698 _flag_k = FK_ADD; 3699 L_2B062F61: 3700 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 3701 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 3702 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 3703 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 3704 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 3705 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 3706 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 3707 RECOMP_REGS_OUT(); 3708 } 3709 3710 void sub_2B0629E8(void) { 3711 int _fpu_cmp = 0; 3712 uint32_t _cf = 0; 3713 int _df = 1; 3714 uint32_t _flag_k = FK_NONE; 3715 uint32_t _flag_a = 0, _flag_b = 0; 3716 uint32_t _itail_tgt = 0; 3717 RECOMP_REGS_LOCALS 3718 RECOMP_ENTER(0x2B0629E8u); 3719 3720 L_2B0629E8: 3721 SET_LO8(eax, MEM8(ebp + (-0x29))); /* 0x2B0629E8: mov al, byte ptr [ebp - 0x29] */ 3722 /* test LO8(eax), LO8(eax) */ /* 0x2B0629EB: test al, al */ 3723 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3724 _cf = 0; 3725 _flag_k = FK_NARROW(FK_TEST, 24); 3726 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062AE7; /* 0x2B0629ED: je 0x2b062ae7 */ 3727 L_2B0629F3: 3728 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3729 ecx = ecx | 0xFFFFFFFFu; /* 0x2B0629F3: or ecx, 0xffffffff */ 3730 _cf = 0; 3731 _flag_k = FK_TEST; 3732 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3733 eax = 0; /* 0x2B0629F6: xor eax, eax */ 3734 _cf = 0; 3735 _flag_k = FK_TEST; 3736 edi = 0x2B0E19F8u; /* 0x2B0629F8: mov edi, 0x2b0e19f8 */ 3737 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; } /* 0x2B0629FD: repne scasb al, byte ptr es:[edi] */ 3738 ecx = ~ecx; /* 0x2B0629FF: not ecx */ 3739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3740 ecx = ecx - 1; /* 0x2B062A01: dec ecx */ 3741 _flag_k = FK_DEC; 3742 esi = ecx; /* 0x2B062A02: mov esi, ecx */ 3743 ecx = MEM32(0x2B0B515C); /* 0x2B062A04: mov ecx, dword ptr [0x2b0b515c] */ 3744 edx = MEM32(ecx); /* 0x2B062A0A: mov edx, dword ptr [ecx] */ 3745 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x20))); 3746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3747 edx = edx - MEM32(ebp + (-0x20)); /* 0x2B062A0C: sub edx, dword ptr [ebp - 0x20] */ 3748 _flag_k = FK_CMP; 3749 /* cmp edx, esi */ /* 0x2B062A0F: cmp edx, esi */ 3750 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 3751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3752 _flag_k = FK_CMP; 3753 if (CMP_A(_flag_a, _flag_b)) goto L_2B062A19; /* 0x2B062A11: ja 0x2b062a19 */ 3754 L_2B062A13: 3755 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B062A13: call dword ptr [0x2b0b51a8] */ 3756 RECOMP_FLAGS_IN(); 3757 L_2B062A19: 3758 /* test esi, esi */ /* 0x2B062A19: test esi, esi */ 3759 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 3760 _cf = 0; 3761 _flag_k = FK_TEST; 3762 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062A60; /* 0x2B062A1B: jbe 0x2b062a60 */ 3763 L_2B062A1D: 3764 eax = MEM32(ebp + (-0x20)); /* 0x2B062A1D: mov eax, dword ptr [ebp - 0x20] */ 3765 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 3766 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3767 eax = eax + esi; /* 0x2B062A20: add eax, esi */ 3768 _flag_k = FK_ADD; 3769 PUSH32(esp, 0); /* 0x2B062A22: push 0 */ 3770 PUSH32(esp, eax); /* 0x2B062A24: push eax */ 3771 ecx = ebp + (-0x28); /* 0x2B062A25: lea ecx, [ebp - 0x28] */ 3772 MEM32(ebp + (-0x10)) = eax; /* 0x2B062A28: mov dword ptr [ebp - 0x10], eax */ 3773 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062A2B: call dword ptr [0x2b0b5154] */ 3774 RECOMP_FLAGS_IN(); 3775 /* test LO8(eax), LO8(eax) */ /* 0x2B062A31: test al, al */ 3776 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3777 _cf = 0; 3778 _flag_k = FK_NARROW(FK_TEST, 24); 3779 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062A60; /* 0x2B062A33: je 0x2b062a60 */ 3780 L_2B062A35: 3781 ecx = MEM32(ebp + (-0x24)); /* 0x2B062A35: mov ecx, dword ptr [ebp - 0x24] */ 3782 edx = MEM32(ebp + (-0x20)); /* 0x2B062A38: mov edx, dword ptr [ebp - 0x20] */ 3783 edi = edx + ecx; /* 0x2B062A3B: lea edi, [edx + ecx] */ 3784 ecx = esi; /* 0x2B062A3E: mov ecx, esi */ 3785 eax = ecx; /* 0x2B062A40: mov eax, ecx */ 3786 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062A42: shr ecx, 2 */ 3787 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3788 ecx = ecx >> 2u; /* 0x2B062A42: shr ecx, 2 */ 3789 esi = 0x2B0E19F8u; /* 0x2B062A45: mov esi, 0x2b0e19f8 */ 3790 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062A4A: 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; } 3791 ecx = eax; /* 0x2B062A4C: mov ecx, eax */ 3792 eax = MEM32(ebp + (-0x10)); /* 0x2B062A4E: mov eax, dword ptr [ebp - 0x10] */ 3793 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3794 ecx = ecx & 3; /* 0x2B062A51: and ecx, 3 */ 3795 _cf = 0; 3796 _flag_k = FK_TEST; 3797 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062A54: 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; } 3798 ecx = MEM32(ebp + (-0x24)); /* 0x2B062A56: mov ecx, dword ptr [ebp - 0x24] */ 3799 MEM32(ebp + (-0x20)) = eax; /* 0x2B062A59: mov dword ptr [ebp - 0x20], eax */ 3800 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B062A5C: mov byte ptr [ecx + eax], 0 */ 3801 L_2B062A60: 3802 PUSH32(esp, ebx); /* 0x2B062A60: push ebx */ 3803 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B062A61: call dword ptr [0x2b0b5d6c] */ 3804 RECOMP_FLAGS_IN(); 3805 ecx = eax; /* 0x2B062A67: mov ecx, eax */ 3806 RECOMP_ICALL(MEM32(0x2B0B5DE8)); /* 0x2B062A69: call dword ptr [0x2b0b5de8] */ 3807 RECOMP_FLAGS_IN(); 3808 edx = MEM32(0x2B0B515C); /* 0x2B062A6F: mov edx, dword ptr [0x2b0b515c] */ 3809 esi = eax; /* 0x2B062A75: mov esi, eax */ 3810 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3811 eax = 0; /* 0x2B062A77: xor eax, eax */ 3812 _cf = 0; 3813 _flag_k = FK_TEST; 3814 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 3815 ecx = ecx | 0xFFFFFFFFu; /* 0x2B062A79: or ecx, 0xffffffff */ 3816 _cf = 0; 3817 _flag_k = FK_TEST; 3818 edi = esi; /* 0x2B062A7C: mov edi, esi */ 3819 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; } /* 0x2B062A7E: repne scasb al, byte ptr es:[edi] */ 3820 eax = MEM32(edx); /* 0x2B062A80: mov eax, dword ptr [edx] */ 3821 edx = MEM32(ebp + (-0x20)); /* 0x2B062A82: mov edx, dword ptr [ebp - 0x20] */ 3822 ecx = ~ecx; /* 0x2B062A85: not ecx */ 3823 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3824 ecx = ecx - 1; /* 0x2B062A87: dec ecx */ 3825 _flag_k = FK_DEC; 3826 edi = ecx; /* 0x2B062A88: mov edi, ecx */ 3827 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3829 eax = eax - edx; /* 0x2B062A8A: sub eax, edx */ 3830 _flag_k = FK_CMP; 3831 /* cmp eax, edi */ /* 0x2B062A8C: cmp eax, edi */ 3832 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 3833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3834 _flag_k = FK_CMP; 3835 if (CMP_A(_flag_a, _flag_b)) goto L_2B062A96; /* 0x2B062A8E: ja 0x2b062a96 */ 3836 L_2B062A90: 3837 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B062A90: call dword ptr [0x2b0b51a8] */ 3838 RECOMP_FLAGS_IN(); 3839 L_2B062A96: 3840 /* test edi, edi */ /* 0x2B062A96: test edi, edi */ 3841 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3842 _cf = 0; 3843 _flag_k = FK_TEST; 3844 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062ADA; /* 0x2B062A98: jbe 0x2b062ada */ 3845 L_2B062A9A: 3846 ecx = MEM32(ebp + (-0x20)); /* 0x2B062A9A: mov ecx, dword ptr [ebp - 0x20] */ 3847 eax = ecx + edi; /* 0x2B062A9D: lea eax, [ecx + edi] */ 3848 PUSH32(esp, 0); /* 0x2B062AA0: push 0 */ 3849 PUSH32(esp, eax); /* 0x2B062AA2: push eax */ 3850 ecx = ebp + (-0x28); /* 0x2B062AA3: lea ecx, [ebp - 0x28] */ 3851 MEM32(ebp + (-0x10)) = eax; /* 0x2B062AA6: mov dword ptr [ebp - 0x10], eax */ 3852 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B062AA9: call dword ptr [0x2b0b5154] */ 3853 RECOMP_FLAGS_IN(); 3854 /* test LO8(eax), LO8(eax) */ /* 0x2B062AAF: test al, al */ 3855 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3856 _cf = 0; 3857 _flag_k = FK_NARROW(FK_TEST, 24); 3858 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062ADA; /* 0x2B062AB1: je 0x2b062ada */ 3859 L_2B062AB3: 3860 edx = MEM32(ebp + (-0x24)); /* 0x2B062AB3: mov edx, dword ptr [ebp - 0x24] */ 3861 eax = MEM32(ebp + (-0x20)); /* 0x2B062AB6: mov eax, dword ptr [ebp - 0x20] */ 3862 ecx = edi; /* 0x2B062AB9: mov ecx, edi */ 3863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 3864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3865 eax = eax + edx; /* 0x2B062ABB: add eax, edx */ 3866 _flag_k = FK_ADD; 3867 edx = ecx; /* 0x2B062ABD: mov edx, ecx */ 3868 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B062ABF: shr ecx, 2 */ 3869 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 3870 ecx = ecx >> 2u; /* 0x2B062ABF: shr ecx, 2 */ 3871 edi = eax; /* 0x2B062AC2: mov edi, eax */ 3872 eax = MEM32(ebp + (-0x10)); /* 0x2B062AC4: mov eax, dword ptr [ebp - 0x10] */ 3873 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B062AC7: 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; } 3874 ecx = edx; /* 0x2B062AC9: mov ecx, edx */ 3875 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 3876 ecx = ecx & 3; /* 0x2B062ACB: and ecx, 3 */ 3877 _cf = 0; 3878 _flag_k = FK_TEST; 3879 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B062ACE: 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; } 3880 ecx = MEM32(ebp + (-0x24)); /* 0x2B062AD0: mov ecx, dword ptr [ebp - 0x24] */ 3881 MEM32(ebp + (-0x20)) = eax; /* 0x2B062AD3: mov dword ptr [ebp - 0x20], eax */ 3882 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B062AD6: mov byte ptr [ecx + eax], 0 */ 3883 L_2B062ADA: 3884 PUSH32(esp, 0x1Eu); /* 0x2B062ADA: push 0x1e */ 3885 PUSH32(esp, 0); /* 0x2B062ADC: push 0 */ 3886 ecx = ebp + (-0x28); /* 0x2B062ADE: lea ecx, [ebp - 0x28] */ 3887 RECOMP_ICALL(MEM32(0x2B0B5A74)); /* 0x2B062AE1: call dword ptr [0x2b0b5a74] */ 3888 RECOMP_FLAGS_IN(); 3889 L_2B062AE7: 3890 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3891 esi = 0; /* 0x2B062AE7: xor esi, esi */ 3892 _cf = 0; 3893 _flag_k = FK_TEST; 3894 MEM32(ebp + (-0x10)) = esi; /* 0x2B062AE9: mov dword ptr [ebp - 0x10], esi */ 3895 MEM32(ebp + (-0x14)) = esi; /* 0x2B062AEC: mov dword ptr [ebp - 0x14], esi */ 3896 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B062AEF: call dword ptr [0x2b0b5b64] */ 3897 RECOMP_FLAGS_IN(); 3898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 3899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3900 eax = eax + 0xD4u; /* 0x2B062AF5: add eax, 0xd4 */ 3901 _flag_k = FK_ADD; 3902 MEM32(ebp + (-0x3C)) = eax; /* 0x2B062AFA: mov dword ptr [ebp - 0x3c], eax */ 3903 SET_LO8(eax, MEM8(0x2B0EAF38)); /* 0x2B062AFD: mov al, byte ptr [0x2b0eaf38] */ 3904 /* test LO8(eax), LO8(eax) */ /* 0x2B062B02: test al, al */ 3905 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3906 _cf = 0; 3907 _flag_k = FK_NARROW(FK_TEST, 24); 3908 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062B60; /* 0x2B062B04: je 0x2b062b60 */ 3909 L_2B062B06: 3910 edx = MEM32(ebp + 0x8); /* 0x2B062B06: mov edx, dword ptr [ebp + 8] */ 3911 edi = MEM32(0x2B0B5D6C); /* 0x2B062B09: mov edi, dword ptr [0x2b0b5d6c] */ 3912 PUSH32(esp, edx); /* 0x2B062B0F: push edx */ 3913 RECOMP_ICALL(edi); /* 0x2B062B10: call edi */ 3914 RECOMP_FLAGS_IN(); 3915 ecx = eax; /* 0x2B062B12: mov ecx, eax */ 3916 RECOMP_ICALL(MEM32(0x2B0B5DEC)); /* 0x2B062B14: call dword ptr [0x2b0b5dec] */ 3917 RECOMP_FLAGS_IN(); 3918 /* test eax, eax */ /* 0x2B062B1A: test eax, eax */ 3919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3920 _cf = 0; 3921 _flag_k = FK_TEST; 3922 MEM32(ebp + (-0x10)) = eax; /* 0x2B062B1C: mov dword ptr [ebp - 0x10], eax */ 3923 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062B60; /* 0x2B062B1F: je 0x2b062b60 */ 3924 L_2B062B21: 3925 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B062B21: push -1 */ 3926 PUSH32(esp, esi); /* 0x2B062B23: push esi */ 3927 PUSH32(esp, 2); /* 0x2B062B24: push 2 */ 3928 ecx = eax; /* 0x2B062B26: mov ecx, eax */ 3929 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B062B28: call dword ptr [0x2b0b59b8] */ 3930 RECOMP_FLAGS_IN(); 3931 esi = eax; /* 0x2B062B2E: mov esi, eax */ 3932 eax = MEM32(ebp + 0x8); /* 0x2B062B30: mov eax, dword ptr [ebp + 8] */ 3933 PUSH32(esp, 0x21u); /* 0x2B062B33: push 0x21 */ 3934 PUSH32(esp, eax); /* 0x2B062B35: push eax */ 3935 RECOMP_ICALL(edi); /* 0x2B062B36: call edi */ 3936 RECOMP_FLAGS_IN(); 3937 ecx = eax; /* 0x2B062B38: mov ecx, eax */ 3938 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B062B3A: call dword ptr [0x2b0b5ee0] */ 3939 RECOMP_FLAGS_IN(); 3940 /* cmp eax, 2 */ /* 0x2B062B40: cmp eax, 2 */ 3941 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3943 _flag_k = FK_CMP; 3944 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062B4E; /* 0x2B062B43: jne 0x2b062b4e */ 3945 L_2B062B45: 3946 MEM32(ebp + (-0x14)) = 0x00AA88AAu; /* 0x2B062B45: mov dword ptr [ebp - 0x14], 0xaa88aa */ 3947 goto L_2B062B60; /* 0x2B062B4C: jmp 0x2b062b60 */ 3948 L_2B062B4E: 3949 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3950 eax = eax - 1; /* 0x2B062B4E: dec eax */ 3951 _flag_k = FK_DEC; 3952 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 3953 _cf = (eax) != 0; 3954 eax = (uint32_t)(-(int32_t)eax); /* 0x2B062B4F: neg eax */ 3955 _flag_k = FK_CMP; 3956 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B062B51: sbb eax, eax */ 3957 eax = _sc ? 0xFFFFFFFFu : 0; 3958 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 3959 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 3960 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2200u); 3961 eax = eax & 0x2200u; /* 0x2B062B53: and eax, 0x2200 */ 3962 _cf = 0; 3963 _flag_k = FK_TEST; 3964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x008888AAu); 3965 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3966 eax = eax + 0x008888AAu; /* 0x2B062B58: add eax, 0x8888aa */ 3967 _flag_k = FK_ADD; 3968 MEM32(ebp + (-0x14)) = eax; /* 0x2B062B5D: mov dword ptr [ebp - 0x14], eax */ 3969 L_2B062B60: 3970 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B062B60: push -1 */ 3971 PUSH32(esp, 0); /* 0x2B062B62: push 0 */ 3972 PUSH32(esp, 2); /* 0x2B062B64: push 2 */ 3973 ecx = ebp + (-0x28); /* 0x2B062B66: lea ecx, [ebp - 0x28] */ 3974 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B062B69: call dword ptr [0x2b0b59b8] */ 3975 RECOMP_FLAGS_IN(); 3976 /* cmp esi, eax */ /* 0x2B062B6F: cmp esi, eax */ 3977 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 3978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3979 _flag_k = FK_CMP; 3980 if (CMP_LE(_flag_a, _flag_b)) goto L_2B062B75; /* 0x2B062B71: jle 0x2b062b75 */ 3981 L_2B062B73: 3982 eax = esi; /* 0x2B062B73: mov eax, esi */ 3983 L_2B062B75: 3984 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3985 ecx = 0; /* 0x2B062B75: xor ecx, ecx */ 3986 _cf = 0; 3987 _flag_k = FK_TEST; 3988 /* cmp eax, 0x80u */ /* 0x2B062B77: cmp eax, 0x80 */ 3989 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 3990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3991 _flag_k = FK_CMP; 3992 SET_LO8(ecx, (CMP_LE(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B062B7C: setle cl */ 3993 PUSH32(esp, 0x34u); /* 0x2B062B7F: push 0x34 */ 3994 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 3995 ecx = ecx - 1; /* 0x2B062B81: dec ecx */ 3996 _flag_k = FK_DEC; 3997 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 3998 ecx = ecx & 0x80u; /* 0x2B062B82: and ecx, 0x80 */ 3999 _cf = 0; 4000 _flag_k = FK_TEST; 4001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 4002 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4003 ecx = ecx + 0x80u; /* 0x2B062B88: add ecx, 0x80 */ 4004 _flag_k = FK_ADD; 4005 esi = ecx; /* 0x2B062B8E: mov esi, ecx */ 4006 MEM32(ebp + 0x8) = esi; /* 0x2B062B90: mov dword ptr [ebp + 8], esi */ 4007 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062B93: call 0x2b0ab212 */ /* not lifted */ 4008 RECOMP_FLAGS_IN(); 4009 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4010 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4011 esp = esp + 4; /* 0x2B062B98: add esp, 4 */ 4012 _flag_k = FK_ADD; 4013 MEM32(ebp + (-0x3C)) = eax; /* 0x2B062B9B: mov dword ptr [ebp - 0x3c], eax */ 4014 /* test eax, eax */ /* 0x2B062B9E: test eax, eax */ 4015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4016 _cf = 0; 4017 _flag_k = FK_TEST; 4018 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B062BA0: mov byte ptr [ebp - 4], 1 */ 4019 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062BB5; /* 0x2B062BA4: je 0x2b062bb5 */ 4020 L_2B062BA6: 4021 PUSH32(esp, 2); /* 0x2B062BA6: push 2 */ 4022 PUSH32(esp, 0x20u); /* 0x2B062BA8: push 0x20 */ 4023 PUSH32(esp, esi); /* 0x2B062BAA: push esi */ 4024 ecx = eax; /* 0x2B062BAB: mov ecx, eax */ 4025 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B062BAD: call dword ptr [0x2b0b5650] */ 4026 RECOMP_FLAGS_IN(); 4027 goto L_2B062BB7; /* 0x2B062BB3: jmp 0x2b062bb7 */ 4028 L_2B062BB5: 4029 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4030 eax = 0; /* 0x2B062BB5: xor eax, eax */ 4031 _cf = 0; 4032 _flag_k = FK_TEST; 4033 L_2B062BB7: 4034 PUSH32(esp, 1); /* 0x2B062BB7: push 1 */ 4035 PUSH32(esp, 0); /* 0x2B062BB9: push 0 */ 4036 PUSH32(esp, 0); /* 0x2B062BBB: push 0 */ 4037 ecx = eax; /* 0x2B062BBD: mov ecx, eax */ 4038 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062BBF: mov byte ptr [ebp - 4], 0 */ 4039 MEM32(ebx + 0xC) = eax; /* 0x2B062BC3: mov dword ptr [ebx + 0xc], eax */ 4040 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B062BC6: call dword ptr [0x2b0b564c] */ 4041 RECOMP_FLAGS_IN(); 4042 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B062BCC: mov al, byte ptr [ebp + 0xc] */ 4043 /* test LO8(eax), LO8(eax) */ /* 0x2B062BCF: test al, al */ 4044 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4045 _cf = 0; 4046 _flag_k = FK_NARROW(FK_TEST, 24); 4047 PUSH32(esp, 2); /* 0x2B062BD1: push 2 */ 4048 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062BDC; /* 0x2B062BD3: jne 0x2b062bdc */ 4049 L_2B062BD5: 4050 PUSH32(esp, 0x108u); /* 0x2B062BD5: push 0x108 */ 4051 goto L_2B062BE1; /* 0x2B062BDA: jmp 0x2b062be1 */ 4052 L_2B062BDC: 4053 PUSH32(esp, 0x109u); /* 0x2B062BDC: push 0x109 */ 4054 L_2B062BE1: 4055 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062BE1: call dword ptr [0x2b0b5f80] */ 4056 RECOMP_FLAGS_IN(); 4057 ecx = eax; /* 0x2B062BE7: mov ecx, eax */ 4058 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062BE9: call dword ptr [0x2b0b5fbc] */ 4059 RECOMP_FLAGS_IN(); 4060 edi = MEM32(0x2B0B5554); /* 0x2B062BEF: mov edi, dword ptr [0x2b0b5554] */ 4061 esi = eax; /* 0x2B062BF5: mov esi, eax */ 4062 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B062BF7: mov al, byte ptr [ebp + 0x10] */ 4063 /* test LO8(eax), LO8(eax) */ /* 0x2B062BFA: test al, al */ 4064 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4065 _cf = 0; 4066 _flag_k = FK_NARROW(FK_TEST, 24); 4067 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062C6F; /* 0x2B062BFC: je 0x2b062c6f */ 4068 L_2B062BFE: 4069 eax = MEM32(esi + 0xC); /* 0x2B062BFE: mov eax, dword ptr [esi + 0xc] */ 4070 ecx = MEM32(esi + 0x8); /* 0x2B062C01: mov ecx, dword ptr [esi + 8] */ 4071 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C04: cdq */ 4072 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4074 eax = eax - edx; /* 0x2B062C05: sub eax, edx */ 4075 _flag_k = FK_CMP; 4076 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4077 edx = 0; /* 0x2B062C07: xor edx, edx */ 4078 _cf = 0; 4079 _flag_k = FK_TEST; 4080 PUSH32(esp, 0xFF00u); /* 0x2B062C09: push 0xff00 */ 4081 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C0E: sar eax, 1 */ 4082 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4083 eax = (uint32_t)((int32_t)eax >> 1u); 4084 MEM32(ebp + (-0x60)) = edx; /* 0x2B062C10: mov dword ptr [ebp - 0x60], edx */ 4085 MEM32(ebp + (-0x5C)) = edx; /* 0x2B062C13: mov dword ptr [ebp - 0x5c], edx */ 4086 MEM32(ebp + (-0x40)) = edx; /* 0x2B062C16: mov dword ptr [ebp - 0x40], edx */ 4087 MEM32(ebp + (-0x3C)) = edx; /* 0x2B062C19: mov dword ptr [ebp - 0x3c], edx */ 4088 PUSH32(esp, esi); /* 0x2B062C1C: push esi */ 4089 edx = ebp + (-0x40); /* 0x2B062C1D: lea edx, [ebp - 0x40] */ 4090 MEM32(ebp + (-0x58)) = eax; /* 0x2B062C20: mov dword ptr [ebp - 0x58], eax */ 4091 PUSH32(esp, edx); /* 0x2B062C23: push edx */ 4092 eax = ebp + (-0x60); /* 0x2B062C24: lea eax, [ebp - 0x60] */ 4093 MEM32(ebp + (-0x54)) = ecx; /* 0x2B062C27: mov dword ptr [ebp - 0x54], ecx */ 4094 ecx = MEM32(ebx + 0xC); /* 0x2B062C2A: mov ecx, dword ptr [ebx + 0xc] */ 4095 PUSH32(esp, eax); /* 0x2B062C2D: push eax */ 4096 RECOMP_ICALL(edi); /* 0x2B062C2E: call edi */ 4097 RECOMP_FLAGS_IN(); 4098 ecx = MEM32(esi + 0xC); /* 0x2B062C30: mov ecx, dword ptr [esi + 0xc] */ 4099 eax = ecx; /* 0x2B062C33: mov eax, ecx */ 4100 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C35: cdq */ 4101 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4103 eax = eax - edx; /* 0x2B062C36: sub eax, edx */ 4104 _flag_k = FK_CMP; 4105 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062C38: mov dword ptr [ebp - 0x48], ecx */ 4106 ecx = MEM32(esi + 0x8); /* 0x2B062C3B: mov ecx, dword ptr [esi + 8] */ 4107 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C3E: sar eax, 1 */ 4108 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4109 eax = (uint32_t)((int32_t)eax >> 1u); 4110 MEM32(ebp + (-0x44)) = ecx; /* 0x2B062C40: mov dword ptr [ebp - 0x44], ecx */ 4111 ecx = MEM32(ebx + 0xC); /* 0x2B062C43: mov ecx, dword ptr [ebx + 0xc] */ 4112 MEM32(ebp + (-0x50)) = eax; /* 0x2B062C46: mov dword ptr [ebp - 0x50], eax */ 4113 MEM32(ebp + (-0x4C)) = 0; /* 0x2B062C49: mov dword ptr [ebp - 0x4c], 0 */ 4114 edx = MEM32(ecx + 0xC); /* 0x2B062C50: mov edx, dword ptr [ecx + 0xc] */ 4115 PUSH32(esp, 0xFF00u); /* 0x2B062C53: push 0xff00 */ 4116 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 4117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4118 edx = edx - eax; /* 0x2B062C58: sub edx, eax */ 4119 _flag_k = FK_CMP; 4120 PUSH32(esp, esi); /* 0x2B062C5A: push esi */ 4121 eax = ebp + (-0x38); /* 0x2B062C5B: lea eax, [ebp - 0x38] */ 4122 MEM32(ebp + (-0x38)) = edx; /* 0x2B062C5E: mov dword ptr [ebp - 0x38], edx */ 4123 PUSH32(esp, eax); /* 0x2B062C61: push eax */ 4124 edx = ebp + (-0x50); /* 0x2B062C62: lea edx, [ebp - 0x50] */ 4125 PUSH32(esp, edx); /* 0x2B062C65: push edx */ 4126 MEM32(ebp + (-0x34)) = 0; /* 0x2B062C66: mov dword ptr [ebp - 0x34], 0 */ 4127 RECOMP_ICALL(edi); /* 0x2B062C6D: call edi */ 4128 RECOMP_FLAGS_IN(); 4129 L_2B062C6F: 4130 PUSH32(esp, esi); /* 0x2B062C6F: push esi */ 4131 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C70: call dword ptr [0x2b0b5f80] */ 4132 RECOMP_FLAGS_IN(); 4133 ecx = eax; /* 0x2B062C76: mov ecx, eax */ 4134 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062C78: call dword ptr [0x2b0b5fb8] */ 4135 RECOMP_FLAGS_IN(); 4136 eax = MEM32(0x2B0B610C); /* 0x2B062C7E: mov eax, dword ptr [0x2b0b610c] */ 4137 ecx = MEM32(eax); /* 0x2B062C83: mov ecx, dword ptr [eax] */ 4138 PUSH32(esp, ebx); /* 0x2B062C85: push ebx */ 4139 RECOMP_ICALL(MEM32(0x2B0B611C)); /* 0x2B062C86: call dword ptr [0x2b0b611c] */ 4140 RECOMP_FLAGS_IN(); 4141 /* test LO8(eax), LO8(eax) */ /* 0x2B062C8C: test al, al */ 4142 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4143 _cf = 0; 4144 _flag_k = FK_NARROW(FK_TEST, 24); 4145 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062CFD; /* 0x2B062C8E: je 0x2b062cfd */ 4146 L_2B062C90: 4147 PUSH32(esp, 2); /* 0x2B062C90: push 2 */ 4148 PUSH32(esp, 0x107u); /* 0x2B062C92: push 0x107 */ 4149 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C97: call dword ptr [0x2b0b5f80] */ 4150 RECOMP_FLAGS_IN(); 4151 ecx = eax; /* 0x2B062C9D: mov ecx, eax */ 4152 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062C9F: call dword ptr [0x2b0b5fbc] */ 4153 RECOMP_FLAGS_IN(); 4154 esi = eax; /* 0x2B062CA5: mov esi, eax */ 4155 ecx = MEM32(esi + 0xC); /* 0x2B062CA7: mov ecx, dword ptr [esi + 0xc] */ 4156 eax = MEM32(esi + 0x8); /* 0x2B062CAA: mov eax, dword ptr [esi + 8] */ 4157 MEM32(ebp + (-0x44)) = eax; /* 0x2B062CAD: mov dword ptr [ebp - 0x44], eax */ 4158 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4159 edx = 0; /* 0x2B062CB0: xor edx, edx */ 4160 _cf = 0; 4161 _flag_k = FK_TEST; 4162 MEM32(ebp + (-0x50)) = edx; /* 0x2B062CB2: mov dword ptr [ebp - 0x50], edx */ 4163 MEM32(ebp + (-0x4C)) = edx; /* 0x2B062CB5: mov dword ptr [ebp - 0x4c], edx */ 4164 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062CB8: mov dword ptr [ebp - 0x48], ecx */ 4165 ecx = MEM32(ebx + 0xC); /* 0x2B062CBB: mov ecx, dword ptr [ebx + 0xc] */ 4166 edx = MEM32(esi + 0xC); /* 0x2B062CBE: mov edx, dword ptr [esi + 0xc] */ 4167 eax = MEM32(ecx + 0xC); /* 0x2B062CC1: mov eax, dword ptr [ecx + 0xc] */ 4168 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4170 eax = eax - edx; /* 0x2B062CC4: sub eax, edx */ 4171 _flag_k = FK_CMP; 4172 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CC6: cdq */ 4173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4175 eax = eax - edx; /* 0x2B062CC7: sub eax, edx */ 4176 _flag_k = FK_CMP; 4177 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CC9: sar eax, 1 */ 4178 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4179 eax = (uint32_t)((int32_t)eax >> 1u); 4180 MEM32(ebp + (-0x38)) = eax; /* 0x2B062CCB: mov dword ptr [ebp - 0x38], eax */ 4181 edx = MEM32(esi + 0x8); /* 0x2B062CCE: mov edx, dword ptr [esi + 8] */ 4182 eax = MEM32(ecx + 0x8); /* 0x2B062CD1: mov eax, dword ptr [ecx + 8] */ 4183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4185 eax = eax - edx; /* 0x2B062CD4: sub eax, edx */ 4186 _flag_k = FK_CMP; 4187 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CD6: cdq */ 4188 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4190 eax = eax - edx; /* 0x2B062CD7: sub eax, edx */ 4191 _flag_k = FK_CMP; 4192 PUSH32(esp, 0xFF00u); /* 0x2B062CD9: push 0xff00 */ 4193 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CDE: sar eax, 1 */ 4194 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4195 eax = (uint32_t)((int32_t)eax >> 1u); 4196 PUSH32(esp, esi); /* 0x2B062CE0: push esi */ 4197 edx = ebp + (-0x38); /* 0x2B062CE1: lea edx, [ebp - 0x38] */ 4198 MEM32(ebp + (-0x34)) = eax; /* 0x2B062CE4: mov dword ptr [ebp - 0x34], eax */ 4199 PUSH32(esp, edx); /* 0x2B062CE7: push edx */ 4200 eax = ebp + (-0x50); /* 0x2B062CE8: lea eax, [ebp - 0x50] */ 4201 PUSH32(esp, eax); /* 0x2B062CEB: push eax */ 4202 RECOMP_ICALL(edi); /* 0x2B062CEC: call edi */ 4203 RECOMP_FLAGS_IN(); 4204 PUSH32(esp, esi); /* 0x2B062CEE: push esi */ 4205 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062CEF: call dword ptr [0x2b0b5f80] */ 4206 RECOMP_FLAGS_IN(); 4207 ecx = eax; /* 0x2B062CF5: mov ecx, eax */ 4208 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062CF7: call dword ptr [0x2b0b5fb8] */ 4209 RECOMP_FLAGS_IN(); 4210 L_2B062CFD: 4211 ecx = MEM32(ebx + 0xC); /* 0x2B062CFD: mov ecx, dword ptr [ebx + 0xc] */ 4212 PUSH32(esp, ecx); /* 0x2B062D00: push ecx */ 4213 PUSH32(esp, 0x800u); /* 0x2B062D01: push 0x800 */ 4214 PUSH32(esp, 2); /* 0x2B062D06: push 2 */ 4215 ecx = ebp + (-0x98); /* 0x2B062D08: lea ecx, [ebp - 0x98] */ 4216 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B062D0E: call dword ptr [0x2b0b5bf0] */ 4217 RECOMP_FLAGS_IN(); 4218 esi = MEM32(0x2B0B5B78); /* 0x2B062D14: mov esi, dword ptr [0x2b0b5b78] */ 4219 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4220 edi = 0; /* 0x2B062D1A: xor edi, edi */ 4221 _cf = 0; 4222 _flag_k = FK_TEST; 4223 PUSH32(esp, edi); /* 0x2B062D1C: push edi */ 4224 PUSH32(esp, edi); /* 0x2B062D1D: push edi */ 4225 PUSH32(esp, 1); /* 0x2B062D1E: push 1 */ 4226 PUSH32(esp, edi); /* 0x2B062D20: push edi */ 4227 edx = ebp + (-0x28); /* 0x2B062D21: lea edx, [ebp - 0x28] */ 4228 PUSH32(esp, edx); /* 0x2B062D24: push edx */ 4229 ecx = ebp + (-0x98); /* 0x2B062D25: lea ecx, [ebp - 0x98] */ 4230 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D2B: mov byte ptr [ebp - 4], 2 */ 4231 MEM32(ebp + (-0x68)) = 0x00FFFFFFu; /* 0x2B062D2F: mov dword ptr [ebp - 0x68], 0xffffff */ 4232 RECOMP_ICALL(esi); /* 0x2B062D36: call esi */ 4233 RECOMP_FLAGS_IN(); 4234 eax = MEM32(ebp + (-0x10)); /* 0x2B062D38: mov eax, dword ptr [ebp - 0x10] */ 4235 /* cmp eax, edi */ /* 0x2B062D3B: cmp eax, edi */ 4236 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4238 _flag_k = FK_CMP; 4239 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D53; /* 0x2B062D3D: je 0x2b062d53 */ 4240 L_2B062D3F: 4241 ecx = MEM32(ebp + (-0x14)); /* 0x2B062D3F: mov ecx, dword ptr [ebp - 0x14] */ 4242 PUSH32(esp, edi); /* 0x2B062D42: push edi */ 4243 PUSH32(esp, edi); /* 0x2B062D43: push edi */ 4244 PUSH32(esp, 0x13u); /* 0x2B062D44: push 0x13 */ 4245 PUSH32(esp, edi); /* 0x2B062D46: push edi */ 4246 MEM32(ebp + (-0x68)) = ecx; /* 0x2B062D47: mov dword ptr [ebp - 0x68], ecx */ 4247 PUSH32(esp, eax); /* 0x2B062D4A: push eax */ 4248 ecx = ebp + (-0x98); /* 0x2B062D4B: lea ecx, [ebp - 0x98] */ 4249 RECOMP_ICALL(esi); /* 0x2B062D51: call esi */ 4250 RECOMP_FLAGS_IN(); 4251 L_2B062D53: 4252 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B062D53: fild dword ptr [ebp + 8] */ 4253 PUSH32(esp, 0x14u); /* 0x2B062D56: push 0x14 */ 4254 _st[0] *= (double)*(float*)ADDR(0x2B0B6D10); /* 0x2B062D58: fmul dword ptr [0x2b0b6d10] */ 4255 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x2B062D5E: fstp dword ptr [ebp + 0x10] */ 4256 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D61: call 0x2b0ab212 */ /* not lifted */ 4257 RECOMP_FLAGS_IN(); 4258 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4260 esp = esp + 4; /* 0x2B062D66: add esp, 4 */ 4261 _flag_k = FK_ADD; 4262 MEM32(ebp + 0xC) = eax; /* 0x2B062D69: mov dword ptr [ebp + 0xc], eax */ 4263 /* cmp eax, edi */ /* 0x2B062D6C: cmp eax, edi */ 4264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4266 _flag_k = FK_CMP; 4267 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B062D6E: mov byte ptr [ebp - 4], 3 */ 4268 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D90; /* 0x2B062D72: je 0x2b062d90 */ 4269 L_2B062D74: 4270 edx = MEM32(ebx + 0xC); /* 0x2B062D74: mov edx, dword ptr [ebx + 0xc] */ 4271 ecx = MEM32(edx + 0x28); /* 0x2B062D77: mov ecx, dword ptr [edx + 0x28] */ 4272 PUSH32(esp, ecx); /* 0x2B062D7A: push ecx */ 4273 ecx = MEM32(edx); /* 0x2B062D7B: mov ecx, dword ptr [edx] */ 4274 PUSH32(esp, ecx); /* 0x2B062D7D: push ecx */ 4275 ecx = MEM32(edx + 0x8); /* 0x2B062D7E: mov ecx, dword ptr [edx + 8] */ 4276 edx = MEM32(edx + 0xC); /* 0x2B062D81: mov edx, dword ptr [edx + 0xc] */ 4277 PUSH32(esp, ecx); /* 0x2B062D84: push ecx */ 4278 PUSH32(esp, edx); /* 0x2B062D85: push edx */ 4279 ecx = eax; /* 0x2B062D86: mov ecx, eax */ 4280 RECOMP_ICALL(MEM32(0x2B0B54CC)); /* 0x2B062D88: call dword ptr [0x2b0b54cc] */ 4281 RECOMP_FLAGS_IN(); 4282 goto L_2B062D92; /* 0x2B062D8E: jmp 0x2b062d92 */ 4283 L_2B062D90: 4284 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4285 eax = 0; /* 0x2B062D90: xor eax, eax */ 4286 _cf = 0; 4287 _flag_k = FK_TEST; 4288 L_2B062D92: 4289 PUSH32(esp, 4); /* 0x2B062D92: push 4 */ 4290 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D94: mov byte ptr [ebp - 4], 2 */ 4291 MEM32(ebx + 0x8) = eax; /* 0x2B062D98: mov dword ptr [ebx + 8], eax */ 4292 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D9B: call 0x2b0ab212 */ /* not lifted */ 4293 RECOMP_FLAGS_IN(); 4294 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4295 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4296 esp = esp + 4; /* 0x2B062DA0: add esp, 4 */ 4297 _flag_k = FK_ADD; 4298 MEM32(ebp + 0xC) = eax; /* 0x2B062DA3: mov dword ptr [ebp + 0xc], eax */ 4299 /* cmp eax, edi */ /* 0x2B062DA6: cmp eax, edi */ 4300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4302 _flag_k = FK_CMP; 4303 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B062DA8: mov byte ptr [ebp - 4], 4 */ 4304 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062DC5; /* 0x2B062DAC: je 0x2b062dc5 */ 4305 L_2B062DAE: 4306 ecx = MEM32(ebx + 0x8); /* 0x2B062DAE: mov ecx, dword ptr [ebx + 8] */ 4307 edx = MEM32(ebp + 0x10); /* 0x2B062DB1: mov edx, dword ptr [ebp + 0x10] */ 4308 PUSH32(esp, ecx); /* 0x2B062DB4: push ecx */ 4309 PUSH32(esp, 0x3E99999Au); /* 0x2B062DB5: push 0x3e99999a */ 4310 PUSH32(esp, edx); /* 0x2B062DBA: push edx */ 4311 ecx = eax; /* 0x2B062DBB: mov ecx, eax */ 4312 RECOMP_ICALL(MEM32(0x2B0B54D0)); /* 0x2B062DBD: call dword ptr [0x2b0b54d0] */ 4313 RECOMP_FLAGS_IN(); 4314 goto L_2B062DC7; /* 0x2B062DC3: jmp 0x2b062dc7 */ 4315 L_2B062DC5: 4316 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4317 eax = 0; /* 0x2B062DC5: xor eax, eax */ 4318 _cf = 0; 4319 _flag_k = FK_TEST; 4320 L_2B062DC7: 4321 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 4322 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 4323 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 4324 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 4325 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 4326 RECOMP_FLAGS_IN(); 4327 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 4328 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 4329 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 4330 RECOMP_FLAGS_IN(); 4331 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 4332 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 4333 RECOMP_FLAGS_IN(); 4334 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 4335 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 4336 fp_pop(); 4337 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 4338 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 4339 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4340 _cf = 0; 4341 _flag_k = FK_NARROW(FK_TEST, 24); 4342 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 4343 L_2B062DF9: 4344 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 4345 L_2B062E00: 4346 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 4347 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 4348 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 4349 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 4350 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 4351 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 4352 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 4353 RECOMP_FLAGS_IN(); 4354 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 4355 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 4356 RECOMP_FLAGS_IN(); 4357 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 4358 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 4359 fp_pop(); 4360 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 4361 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 4362 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 4363 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 4364 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4365 _cf = 0; 4366 _flag_k = FK_NARROW(FK_TEST, 24); 4367 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 4368 L_2B062E30: 4369 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 4370 L_2B062E37: 4371 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 4372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 4373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4374 _flag_k = FK_CMP; 4375 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 4376 L_2B062E3C: 4377 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 4378 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 4379 fp_pop(); 4380 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 4381 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 4382 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4383 _cf = 0; 4384 _flag_k = FK_NARROW(FK_TEST, 24); 4385 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 4386 L_2B062E4C: 4387 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 4388 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 4389 L_2B062E55: 4390 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 4391 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 4392 fp_pop(); 4393 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 4394 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 4395 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4396 _cf = 0; 4397 _flag_k = FK_NARROW(FK_TEST, 24); 4398 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 4399 L_2B062E65: 4400 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 4401 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 4402 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 4403 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 4404 RECOMP_FLAGS_IN(); 4405 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 4406 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4407 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 4408 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 4409 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 4410 _cf = 0; 4411 _flag_k = FK_TEST; 4412 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 4413 L_2B062E7F: 4414 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 4415 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 4416 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 4417 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 4418 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 4419 RECOMP_FLAGS_IN(); 4420 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 4421 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 4422 _cf = 0; 4423 _flag_k = FK_TEST; 4424 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 4425 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4426 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 4427 L_2B062E9D: 4428 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 4429 L_2B062EA0: 4430 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 4431 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 4432 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 4433 RECOMP_FLAGS_IN(); 4434 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 4435 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 4436 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 4437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4438 _flag_k = FK_CMP; 4439 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 4440 L_2B062EB7: 4441 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 4442 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 4443 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 4444 edx = edx - 1; /* 0x2B062EBD: dec edx */ 4445 _flag_k = FK_DEC; 4446 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 4447 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 4448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4450 _flag_k = FK_CMP; 4451 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 4452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 4453 L_2B062EC6: 4454 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 4455 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 4456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4457 _flag_k = FK_CMP; 4458 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 4459 L_2B062ECA: 4460 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 4461 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 4462 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4464 _flag_k = FK_CMP; 4465 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 4466 L_2B062ED1: 4467 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 4468 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 4469 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 4470 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4471 _cf = 0; 4472 _flag_k = FK_NARROW(FK_TEST, 24); 4473 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 4474 L_2B062EDA: 4475 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 4476 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4478 _flag_k = FK_NARROW(FK_CMP, 24); 4479 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 4480 L_2B062EDE: 4481 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4482 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 4483 _flag_k = FK_NARROW(FK_DEC, 24); 4484 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 4485 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 4486 L_2B062EE4: 4487 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 4488 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 4489 RECOMP_FLAGS_IN(); 4490 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4492 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 4493 _flag_k = FK_ADD; 4494 L_2B062EED: 4495 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 4496 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 4497 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 4498 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 4499 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 4500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4502 _flag_k = FK_CMP; 4503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 4504 L_2B062EFD: 4505 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 4506 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 4507 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 4508 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4509 _cf = 0; 4510 _flag_k = FK_NARROW(FK_TEST, 24); 4511 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 4512 L_2B062F06: 4513 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 4514 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4516 _flag_k = FK_NARROW(FK_CMP, 24); 4517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 4518 L_2B062F0A: 4519 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4520 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 4521 _flag_k = FK_NARROW(FK_DEC, 24); 4522 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 4523 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 4524 L_2B062F10: 4525 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 4526 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 4527 RECOMP_FLAGS_IN(); 4528 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4529 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4530 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 4531 _flag_k = FK_ADD; 4532 L_2B062F19: 4533 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 4534 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 4535 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 4536 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 4537 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 4538 RECOMP_FLAGS_IN(); 4539 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4540 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4541 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 4542 _flag_k = FK_ADD; 4543 L_2B062F2B: 4544 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 4545 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 4546 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 4547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4548 _flag_k = FK_CMP; 4549 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 4550 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 4551 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 4552 L_2B062F34: 4553 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 4554 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 4555 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4556 _cf = 0; 4557 _flag_k = FK_NARROW(FK_TEST, 24); 4558 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 4559 L_2B062F3B: 4560 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 4561 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4563 _flag_k = FK_NARROW(FK_CMP, 24); 4564 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 4565 L_2B062F3F: 4566 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4567 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 4568 _flag_k = FK_NARROW(FK_DEC, 24); 4569 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 4570 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 4571 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 4572 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 4573 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 4574 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 4575 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 4576 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 4577 L_2B062F57: 4578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4579 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 4580 _flag_k = FK_DEC; 4581 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 4582 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 4583 RECOMP_FLAGS_IN(); 4584 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4586 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 4587 _flag_k = FK_ADD; 4588 L_2B062F61: 4589 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 4590 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 4591 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 4592 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 4593 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 4594 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 4595 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 4596 RECOMP_REGS_OUT(); 4597 } 4598 4599 void sub_2B062B60(void) { 4600 int _fpu_cmp = 0; 4601 uint32_t _cf = 0; 4602 int _df = 1; 4603 uint32_t _flag_k = FK_NONE; 4604 uint32_t _flag_a = 0, _flag_b = 0; 4605 uint32_t _itail_tgt = 0; 4606 RECOMP_REGS_LOCALS 4607 RECOMP_ENTER(0x2B062B60u); 4608 4609 L_2B062B60: 4610 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B062B60: push -1 */ 4611 PUSH32(esp, 0); /* 0x2B062B62: push 0 */ 4612 PUSH32(esp, 2); /* 0x2B062B64: push 2 */ 4613 ecx = ebp + (-0x28); /* 0x2B062B66: lea ecx, [ebp - 0x28] */ 4614 RECOMP_ICALL(MEM32(0x2B0B59B8)); /* 0x2B062B69: call dword ptr [0x2b0b59b8] */ 4615 RECOMP_FLAGS_IN(); 4616 /* cmp esi, eax */ /* 0x2B062B6F: cmp esi, eax */ 4617 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 4618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4619 _flag_k = FK_CMP; 4620 if (CMP_LE(_flag_a, _flag_b)) goto L_2B062B75; /* 0x2B062B71: jle 0x2b062b75 */ 4621 L_2B062B73: 4622 eax = esi; /* 0x2B062B73: mov eax, esi */ 4623 L_2B062B75: 4624 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4625 ecx = 0; /* 0x2B062B75: xor ecx, ecx */ 4626 _cf = 0; 4627 _flag_k = FK_TEST; 4628 /* cmp eax, 0x80u */ /* 0x2B062B77: cmp eax, 0x80 */ 4629 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x80u); 4630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4631 _flag_k = FK_CMP; 4632 SET_LO8(ecx, (CMP_LE(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B062B7C: setle cl */ 4633 PUSH32(esp, 0x34u); /* 0x2B062B7F: push 0x34 */ 4634 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 4635 ecx = ecx - 1; /* 0x2B062B81: dec ecx */ 4636 _flag_k = FK_DEC; 4637 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 4638 ecx = ecx & 0x80u; /* 0x2B062B82: and ecx, 0x80 */ 4639 _cf = 0; 4640 _flag_k = FK_TEST; 4641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x80u); 4642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4643 ecx = ecx + 0x80u; /* 0x2B062B88: add ecx, 0x80 */ 4644 _flag_k = FK_ADD; 4645 esi = ecx; /* 0x2B062B8E: mov esi, ecx */ 4646 MEM32(ebp + 0x8) = esi; /* 0x2B062B90: mov dword ptr [ebp + 8], esi */ 4647 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062B93: call 0x2b0ab212 */ /* not lifted */ 4648 RECOMP_FLAGS_IN(); 4649 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4651 esp = esp + 4; /* 0x2B062B98: add esp, 4 */ 4652 _flag_k = FK_ADD; 4653 MEM32(ebp + (-0x3C)) = eax; /* 0x2B062B9B: mov dword ptr [ebp - 0x3c], eax */ 4654 /* test eax, eax */ /* 0x2B062B9E: test eax, eax */ 4655 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4656 _cf = 0; 4657 _flag_k = FK_TEST; 4658 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B062BA0: mov byte ptr [ebp - 4], 1 */ 4659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062BB5; /* 0x2B062BA4: je 0x2b062bb5 */ 4660 L_2B062BA6: 4661 PUSH32(esp, 2); /* 0x2B062BA6: push 2 */ 4662 PUSH32(esp, 0x20u); /* 0x2B062BA8: push 0x20 */ 4663 PUSH32(esp, esi); /* 0x2B062BAA: push esi */ 4664 ecx = eax; /* 0x2B062BAB: mov ecx, eax */ 4665 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B062BAD: call dword ptr [0x2b0b5650] */ 4666 RECOMP_FLAGS_IN(); 4667 goto L_2B062BB7; /* 0x2B062BB3: jmp 0x2b062bb7 */ 4668 L_2B062BB5: 4669 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4670 eax = 0; /* 0x2B062BB5: xor eax, eax */ 4671 _cf = 0; 4672 _flag_k = FK_TEST; 4673 L_2B062BB7: 4674 PUSH32(esp, 1); /* 0x2B062BB7: push 1 */ 4675 PUSH32(esp, 0); /* 0x2B062BB9: push 0 */ 4676 PUSH32(esp, 0); /* 0x2B062BBB: push 0 */ 4677 ecx = eax; /* 0x2B062BBD: mov ecx, eax */ 4678 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062BBF: mov byte ptr [ebp - 4], 0 */ 4679 MEM32(ebx + 0xC) = eax; /* 0x2B062BC3: mov dword ptr [ebx + 0xc], eax */ 4680 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B062BC6: call dword ptr [0x2b0b564c] */ 4681 RECOMP_FLAGS_IN(); 4682 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B062BCC: mov al, byte ptr [ebp + 0xc] */ 4683 /* test LO8(eax), LO8(eax) */ /* 0x2B062BCF: test al, al */ 4684 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4685 _cf = 0; 4686 _flag_k = FK_NARROW(FK_TEST, 24); 4687 PUSH32(esp, 2); /* 0x2B062BD1: push 2 */ 4688 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062BDC; /* 0x2B062BD3: jne 0x2b062bdc */ 4689 L_2B062BD5: 4690 PUSH32(esp, 0x108u); /* 0x2B062BD5: push 0x108 */ 4691 goto L_2B062BE1; /* 0x2B062BDA: jmp 0x2b062be1 */ 4692 L_2B062BDC: 4693 PUSH32(esp, 0x109u); /* 0x2B062BDC: push 0x109 */ 4694 L_2B062BE1: 4695 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062BE1: call dword ptr [0x2b0b5f80] */ 4696 RECOMP_FLAGS_IN(); 4697 ecx = eax; /* 0x2B062BE7: mov ecx, eax */ 4698 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062BE9: call dword ptr [0x2b0b5fbc] */ 4699 RECOMP_FLAGS_IN(); 4700 edi = MEM32(0x2B0B5554); /* 0x2B062BEF: mov edi, dword ptr [0x2b0b5554] */ 4701 esi = eax; /* 0x2B062BF5: mov esi, eax */ 4702 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B062BF7: mov al, byte ptr [ebp + 0x10] */ 4703 /* test LO8(eax), LO8(eax) */ /* 0x2B062BFA: test al, al */ 4704 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4705 _cf = 0; 4706 _flag_k = FK_NARROW(FK_TEST, 24); 4707 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062C6F; /* 0x2B062BFC: je 0x2b062c6f */ 4708 L_2B062BFE: 4709 eax = MEM32(esi + 0xC); /* 0x2B062BFE: mov eax, dword ptr [esi + 0xc] */ 4710 ecx = MEM32(esi + 0x8); /* 0x2B062C01: mov ecx, dword ptr [esi + 8] */ 4711 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C04: cdq */ 4712 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4714 eax = eax - edx; /* 0x2B062C05: sub eax, edx */ 4715 _flag_k = FK_CMP; 4716 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4717 edx = 0; /* 0x2B062C07: xor edx, edx */ 4718 _cf = 0; 4719 _flag_k = FK_TEST; 4720 PUSH32(esp, 0xFF00u); /* 0x2B062C09: push 0xff00 */ 4721 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C0E: sar eax, 1 */ 4722 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4723 eax = (uint32_t)((int32_t)eax >> 1u); 4724 MEM32(ebp + (-0x60)) = edx; /* 0x2B062C10: mov dword ptr [ebp - 0x60], edx */ 4725 MEM32(ebp + (-0x5C)) = edx; /* 0x2B062C13: mov dword ptr [ebp - 0x5c], edx */ 4726 MEM32(ebp + (-0x40)) = edx; /* 0x2B062C16: mov dword ptr [ebp - 0x40], edx */ 4727 MEM32(ebp + (-0x3C)) = edx; /* 0x2B062C19: mov dword ptr [ebp - 0x3c], edx */ 4728 PUSH32(esp, esi); /* 0x2B062C1C: push esi */ 4729 edx = ebp + (-0x40); /* 0x2B062C1D: lea edx, [ebp - 0x40] */ 4730 MEM32(ebp + (-0x58)) = eax; /* 0x2B062C20: mov dword ptr [ebp - 0x58], eax */ 4731 PUSH32(esp, edx); /* 0x2B062C23: push edx */ 4732 eax = ebp + (-0x60); /* 0x2B062C24: lea eax, [ebp - 0x60] */ 4733 MEM32(ebp + (-0x54)) = ecx; /* 0x2B062C27: mov dword ptr [ebp - 0x54], ecx */ 4734 ecx = MEM32(ebx + 0xC); /* 0x2B062C2A: mov ecx, dword ptr [ebx + 0xc] */ 4735 PUSH32(esp, eax); /* 0x2B062C2D: push eax */ 4736 RECOMP_ICALL(edi); /* 0x2B062C2E: call edi */ 4737 RECOMP_FLAGS_IN(); 4738 ecx = MEM32(esi + 0xC); /* 0x2B062C30: mov ecx, dword ptr [esi + 0xc] */ 4739 eax = ecx; /* 0x2B062C33: mov eax, ecx */ 4740 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C35: cdq */ 4741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4743 eax = eax - edx; /* 0x2B062C36: sub eax, edx */ 4744 _flag_k = FK_CMP; 4745 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062C38: mov dword ptr [ebp - 0x48], ecx */ 4746 ecx = MEM32(esi + 0x8); /* 0x2B062C3B: mov ecx, dword ptr [esi + 8] */ 4747 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C3E: sar eax, 1 */ 4748 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4749 eax = (uint32_t)((int32_t)eax >> 1u); 4750 MEM32(ebp + (-0x44)) = ecx; /* 0x2B062C40: mov dword ptr [ebp - 0x44], ecx */ 4751 ecx = MEM32(ebx + 0xC); /* 0x2B062C43: mov ecx, dword ptr [ebx + 0xc] */ 4752 MEM32(ebp + (-0x50)) = eax; /* 0x2B062C46: mov dword ptr [ebp - 0x50], eax */ 4753 MEM32(ebp + (-0x4C)) = 0; /* 0x2B062C49: mov dword ptr [ebp - 0x4c], 0 */ 4754 edx = MEM32(ecx + 0xC); /* 0x2B062C50: mov edx, dword ptr [ecx + 0xc] */ 4755 PUSH32(esp, 0xFF00u); /* 0x2B062C53: push 0xff00 */ 4756 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 4757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4758 edx = edx - eax; /* 0x2B062C58: sub edx, eax */ 4759 _flag_k = FK_CMP; 4760 PUSH32(esp, esi); /* 0x2B062C5A: push esi */ 4761 eax = ebp + (-0x38); /* 0x2B062C5B: lea eax, [ebp - 0x38] */ 4762 MEM32(ebp + (-0x38)) = edx; /* 0x2B062C5E: mov dword ptr [ebp - 0x38], edx */ 4763 PUSH32(esp, eax); /* 0x2B062C61: push eax */ 4764 edx = ebp + (-0x50); /* 0x2B062C62: lea edx, [ebp - 0x50] */ 4765 PUSH32(esp, edx); /* 0x2B062C65: push edx */ 4766 MEM32(ebp + (-0x34)) = 0; /* 0x2B062C66: mov dword ptr [ebp - 0x34], 0 */ 4767 RECOMP_ICALL(edi); /* 0x2B062C6D: call edi */ 4768 RECOMP_FLAGS_IN(); 4769 L_2B062C6F: 4770 PUSH32(esp, esi); /* 0x2B062C6F: push esi */ 4771 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C70: call dword ptr [0x2b0b5f80] */ 4772 RECOMP_FLAGS_IN(); 4773 ecx = eax; /* 0x2B062C76: mov ecx, eax */ 4774 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062C78: call dword ptr [0x2b0b5fb8] */ 4775 RECOMP_FLAGS_IN(); 4776 eax = MEM32(0x2B0B610C); /* 0x2B062C7E: mov eax, dword ptr [0x2b0b610c] */ 4777 ecx = MEM32(eax); /* 0x2B062C83: mov ecx, dword ptr [eax] */ 4778 PUSH32(esp, ebx); /* 0x2B062C85: push ebx */ 4779 RECOMP_ICALL(MEM32(0x2B0B611C)); /* 0x2B062C86: call dword ptr [0x2b0b611c] */ 4780 RECOMP_FLAGS_IN(); 4781 /* test LO8(eax), LO8(eax) */ /* 0x2B062C8C: test al, al */ 4782 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4783 _cf = 0; 4784 _flag_k = FK_NARROW(FK_TEST, 24); 4785 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062CFD; /* 0x2B062C8E: je 0x2b062cfd */ 4786 L_2B062C90: 4787 PUSH32(esp, 2); /* 0x2B062C90: push 2 */ 4788 PUSH32(esp, 0x107u); /* 0x2B062C92: push 0x107 */ 4789 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C97: call dword ptr [0x2b0b5f80] */ 4790 RECOMP_FLAGS_IN(); 4791 ecx = eax; /* 0x2B062C9D: mov ecx, eax */ 4792 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062C9F: call dword ptr [0x2b0b5fbc] */ 4793 RECOMP_FLAGS_IN(); 4794 esi = eax; /* 0x2B062CA5: mov esi, eax */ 4795 ecx = MEM32(esi + 0xC); /* 0x2B062CA7: mov ecx, dword ptr [esi + 0xc] */ 4796 eax = MEM32(esi + 0x8); /* 0x2B062CAA: mov eax, dword ptr [esi + 8] */ 4797 MEM32(ebp + (-0x44)) = eax; /* 0x2B062CAD: mov dword ptr [ebp - 0x44], eax */ 4798 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4799 edx = 0; /* 0x2B062CB0: xor edx, edx */ 4800 _cf = 0; 4801 _flag_k = FK_TEST; 4802 MEM32(ebp + (-0x50)) = edx; /* 0x2B062CB2: mov dword ptr [ebp - 0x50], edx */ 4803 MEM32(ebp + (-0x4C)) = edx; /* 0x2B062CB5: mov dword ptr [ebp - 0x4c], edx */ 4804 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062CB8: mov dword ptr [ebp - 0x48], ecx */ 4805 ecx = MEM32(ebx + 0xC); /* 0x2B062CBB: mov ecx, dword ptr [ebx + 0xc] */ 4806 edx = MEM32(esi + 0xC); /* 0x2B062CBE: mov edx, dword ptr [esi + 0xc] */ 4807 eax = MEM32(ecx + 0xC); /* 0x2B062CC1: mov eax, dword ptr [ecx + 0xc] */ 4808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4810 eax = eax - edx; /* 0x2B062CC4: sub eax, edx */ 4811 _flag_k = FK_CMP; 4812 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CC6: cdq */ 4813 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4815 eax = eax - edx; /* 0x2B062CC7: sub eax, edx */ 4816 _flag_k = FK_CMP; 4817 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CC9: sar eax, 1 */ 4818 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4819 eax = (uint32_t)((int32_t)eax >> 1u); 4820 MEM32(ebp + (-0x38)) = eax; /* 0x2B062CCB: mov dword ptr [ebp - 0x38], eax */ 4821 edx = MEM32(esi + 0x8); /* 0x2B062CCE: mov edx, dword ptr [esi + 8] */ 4822 eax = MEM32(ecx + 0x8); /* 0x2B062CD1: mov eax, dword ptr [ecx + 8] */ 4823 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4825 eax = eax - edx; /* 0x2B062CD4: sub eax, edx */ 4826 _flag_k = FK_CMP; 4827 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CD6: cdq */ 4828 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 4829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4830 eax = eax - edx; /* 0x2B062CD7: sub eax, edx */ 4831 _flag_k = FK_CMP; 4832 PUSH32(esp, 0xFF00u); /* 0x2B062CD9: push 0xff00 */ 4833 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CDE: sar eax, 1 */ 4834 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 4835 eax = (uint32_t)((int32_t)eax >> 1u); 4836 PUSH32(esp, esi); /* 0x2B062CE0: push esi */ 4837 edx = ebp + (-0x38); /* 0x2B062CE1: lea edx, [ebp - 0x38] */ 4838 MEM32(ebp + (-0x34)) = eax; /* 0x2B062CE4: mov dword ptr [ebp - 0x34], eax */ 4839 PUSH32(esp, edx); /* 0x2B062CE7: push edx */ 4840 eax = ebp + (-0x50); /* 0x2B062CE8: lea eax, [ebp - 0x50] */ 4841 PUSH32(esp, eax); /* 0x2B062CEB: push eax */ 4842 RECOMP_ICALL(edi); /* 0x2B062CEC: call edi */ 4843 RECOMP_FLAGS_IN(); 4844 PUSH32(esp, esi); /* 0x2B062CEE: push esi */ 4845 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062CEF: call dword ptr [0x2b0b5f80] */ 4846 RECOMP_FLAGS_IN(); 4847 ecx = eax; /* 0x2B062CF5: mov ecx, eax */ 4848 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062CF7: call dword ptr [0x2b0b5fb8] */ 4849 RECOMP_FLAGS_IN(); 4850 L_2B062CFD: 4851 ecx = MEM32(ebx + 0xC); /* 0x2B062CFD: mov ecx, dword ptr [ebx + 0xc] */ 4852 PUSH32(esp, ecx); /* 0x2B062D00: push ecx */ 4853 PUSH32(esp, 0x800u); /* 0x2B062D01: push 0x800 */ 4854 PUSH32(esp, 2); /* 0x2B062D06: push 2 */ 4855 ecx = ebp + (-0x98); /* 0x2B062D08: lea ecx, [ebp - 0x98] */ 4856 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B062D0E: call dword ptr [0x2b0b5bf0] */ 4857 RECOMP_FLAGS_IN(); 4858 esi = MEM32(0x2B0B5B78); /* 0x2B062D14: mov esi, dword ptr [0x2b0b5b78] */ 4859 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4860 edi = 0; /* 0x2B062D1A: xor edi, edi */ 4861 _cf = 0; 4862 _flag_k = FK_TEST; 4863 PUSH32(esp, edi); /* 0x2B062D1C: push edi */ 4864 PUSH32(esp, edi); /* 0x2B062D1D: push edi */ 4865 PUSH32(esp, 1); /* 0x2B062D1E: push 1 */ 4866 PUSH32(esp, edi); /* 0x2B062D20: push edi */ 4867 edx = ebp + (-0x28); /* 0x2B062D21: lea edx, [ebp - 0x28] */ 4868 PUSH32(esp, edx); /* 0x2B062D24: push edx */ 4869 ecx = ebp + (-0x98); /* 0x2B062D25: lea ecx, [ebp - 0x98] */ 4870 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D2B: mov byte ptr [ebp - 4], 2 */ 4871 MEM32(ebp + (-0x68)) = 0x00FFFFFFu; /* 0x2B062D2F: mov dword ptr [ebp - 0x68], 0xffffff */ 4872 RECOMP_ICALL(esi); /* 0x2B062D36: call esi */ 4873 RECOMP_FLAGS_IN(); 4874 eax = MEM32(ebp + (-0x10)); /* 0x2B062D38: mov eax, dword ptr [ebp - 0x10] */ 4875 /* cmp eax, edi */ /* 0x2B062D3B: cmp eax, edi */ 4876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4878 _flag_k = FK_CMP; 4879 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D53; /* 0x2B062D3D: je 0x2b062d53 */ 4880 L_2B062D3F: 4881 ecx = MEM32(ebp + (-0x14)); /* 0x2B062D3F: mov ecx, dword ptr [ebp - 0x14] */ 4882 PUSH32(esp, edi); /* 0x2B062D42: push edi */ 4883 PUSH32(esp, edi); /* 0x2B062D43: push edi */ 4884 PUSH32(esp, 0x13u); /* 0x2B062D44: push 0x13 */ 4885 PUSH32(esp, edi); /* 0x2B062D46: push edi */ 4886 MEM32(ebp + (-0x68)) = ecx; /* 0x2B062D47: mov dword ptr [ebp - 0x68], ecx */ 4887 PUSH32(esp, eax); /* 0x2B062D4A: push eax */ 4888 ecx = ebp + (-0x98); /* 0x2B062D4B: lea ecx, [ebp - 0x98] */ 4889 RECOMP_ICALL(esi); /* 0x2B062D51: call esi */ 4890 RECOMP_FLAGS_IN(); 4891 L_2B062D53: 4892 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B062D53: fild dword ptr [ebp + 8] */ 4893 PUSH32(esp, 0x14u); /* 0x2B062D56: push 0x14 */ 4894 _st[0] *= (double)*(float*)ADDR(0x2B0B6D10); /* 0x2B062D58: fmul dword ptr [0x2b0b6d10] */ 4895 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x2B062D5E: fstp dword ptr [ebp + 0x10] */ 4896 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D61: call 0x2b0ab212 */ /* not lifted */ 4897 RECOMP_FLAGS_IN(); 4898 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4900 esp = esp + 4; /* 0x2B062D66: add esp, 4 */ 4901 _flag_k = FK_ADD; 4902 MEM32(ebp + 0xC) = eax; /* 0x2B062D69: mov dword ptr [ebp + 0xc], eax */ 4903 /* cmp eax, edi */ /* 0x2B062D6C: cmp eax, edi */ 4904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4906 _flag_k = FK_CMP; 4907 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B062D6E: mov byte ptr [ebp - 4], 3 */ 4908 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D90; /* 0x2B062D72: je 0x2b062d90 */ 4909 L_2B062D74: 4910 edx = MEM32(ebx + 0xC); /* 0x2B062D74: mov edx, dword ptr [ebx + 0xc] */ 4911 ecx = MEM32(edx + 0x28); /* 0x2B062D77: mov ecx, dword ptr [edx + 0x28] */ 4912 PUSH32(esp, ecx); /* 0x2B062D7A: push ecx */ 4913 ecx = MEM32(edx); /* 0x2B062D7B: mov ecx, dword ptr [edx] */ 4914 PUSH32(esp, ecx); /* 0x2B062D7D: push ecx */ 4915 ecx = MEM32(edx + 0x8); /* 0x2B062D7E: mov ecx, dword ptr [edx + 8] */ 4916 edx = MEM32(edx + 0xC); /* 0x2B062D81: mov edx, dword ptr [edx + 0xc] */ 4917 PUSH32(esp, ecx); /* 0x2B062D84: push ecx */ 4918 PUSH32(esp, edx); /* 0x2B062D85: push edx */ 4919 ecx = eax; /* 0x2B062D86: mov ecx, eax */ 4920 RECOMP_ICALL(MEM32(0x2B0B54CC)); /* 0x2B062D88: call dword ptr [0x2b0b54cc] */ 4921 RECOMP_FLAGS_IN(); 4922 goto L_2B062D92; /* 0x2B062D8E: jmp 0x2b062d92 */ 4923 L_2B062D90: 4924 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4925 eax = 0; /* 0x2B062D90: xor eax, eax */ 4926 _cf = 0; 4927 _flag_k = FK_TEST; 4928 L_2B062D92: 4929 PUSH32(esp, 4); /* 0x2B062D92: push 4 */ 4930 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D94: mov byte ptr [ebp - 4], 2 */ 4931 MEM32(ebx + 0x8) = eax; /* 0x2B062D98: mov dword ptr [ebx + 8], eax */ 4932 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D9B: call 0x2b0ab212 */ /* not lifted */ 4933 RECOMP_FLAGS_IN(); 4934 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4935 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4936 esp = esp + 4; /* 0x2B062DA0: add esp, 4 */ 4937 _flag_k = FK_ADD; 4938 MEM32(ebp + 0xC) = eax; /* 0x2B062DA3: mov dword ptr [ebp + 0xc], eax */ 4939 /* cmp eax, edi */ /* 0x2B062DA6: cmp eax, edi */ 4940 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 4941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4942 _flag_k = FK_CMP; 4943 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B062DA8: mov byte ptr [ebp - 4], 4 */ 4944 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062DC5; /* 0x2B062DAC: je 0x2b062dc5 */ 4945 L_2B062DAE: 4946 ecx = MEM32(ebx + 0x8); /* 0x2B062DAE: mov ecx, dword ptr [ebx + 8] */ 4947 edx = MEM32(ebp + 0x10); /* 0x2B062DB1: mov edx, dword ptr [ebp + 0x10] */ 4948 PUSH32(esp, ecx); /* 0x2B062DB4: push ecx */ 4949 PUSH32(esp, 0x3E99999Au); /* 0x2B062DB5: push 0x3e99999a */ 4950 PUSH32(esp, edx); /* 0x2B062DBA: push edx */ 4951 ecx = eax; /* 0x2B062DBB: mov ecx, eax */ 4952 RECOMP_ICALL(MEM32(0x2B0B54D0)); /* 0x2B062DBD: call dword ptr [0x2b0b54d0] */ 4953 RECOMP_FLAGS_IN(); 4954 goto L_2B062DC7; /* 0x2B062DC3: jmp 0x2b062dc7 */ 4955 L_2B062DC5: 4956 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 4957 eax = 0; /* 0x2B062DC5: xor eax, eax */ 4958 _cf = 0; 4959 _flag_k = FK_TEST; 4960 L_2B062DC7: 4961 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 4962 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 4963 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 4964 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 4965 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 4966 RECOMP_FLAGS_IN(); 4967 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 4968 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 4969 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 4970 RECOMP_FLAGS_IN(); 4971 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 4972 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 4973 RECOMP_FLAGS_IN(); 4974 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 4975 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 4976 fp_pop(); 4977 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 4978 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 4979 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 4980 _cf = 0; 4981 _flag_k = FK_NARROW(FK_TEST, 24); 4982 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 4983 L_2B062DF9: 4984 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 4985 L_2B062E00: 4986 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 4987 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 4988 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 4989 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 4990 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 4991 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 4992 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 4993 RECOMP_FLAGS_IN(); 4994 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 4995 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 4996 RECOMP_FLAGS_IN(); 4997 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 4998 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 4999 fp_pop(); 5000 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 5001 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 5002 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 5003 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 5004 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5005 _cf = 0; 5006 _flag_k = FK_NARROW(FK_TEST, 24); 5007 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 5008 L_2B062E30: 5009 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 5010 L_2B062E37: 5011 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 5012 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5014 _flag_k = FK_CMP; 5015 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 5016 L_2B062E3C: 5017 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 5018 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 5019 fp_pop(); 5020 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 5021 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 5022 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5023 _cf = 0; 5024 _flag_k = FK_NARROW(FK_TEST, 24); 5025 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 5026 L_2B062E4C: 5027 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 5028 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 5029 L_2B062E55: 5030 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 5031 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 5032 fp_pop(); 5033 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 5034 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 5035 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5036 _cf = 0; 5037 _flag_k = FK_NARROW(FK_TEST, 24); 5038 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 5039 L_2B062E65: 5040 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 5041 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 5042 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 5043 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 5044 RECOMP_FLAGS_IN(); 5045 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 5046 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5047 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 5048 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 5049 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 5050 _cf = 0; 5051 _flag_k = FK_TEST; 5052 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 5053 L_2B062E7F: 5054 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 5055 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 5056 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 5057 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 5058 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 5059 RECOMP_FLAGS_IN(); 5060 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 5061 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 5062 _cf = 0; 5063 _flag_k = FK_TEST; 5064 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 5065 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5066 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 5067 L_2B062E9D: 5068 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 5069 L_2B062EA0: 5070 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 5071 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 5072 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 5073 RECOMP_FLAGS_IN(); 5074 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 5075 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 5076 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5078 _flag_k = FK_CMP; 5079 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 5080 L_2B062EB7: 5081 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 5082 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 5083 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 5084 edx = edx - 1; /* 0x2B062EBD: dec edx */ 5085 _flag_k = FK_DEC; 5086 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 5087 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 5088 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5090 _flag_k = FK_CMP; 5091 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 5092 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 5093 L_2B062EC6: 5094 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 5095 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5097 _flag_k = FK_CMP; 5098 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 5099 L_2B062ECA: 5100 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 5101 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 5102 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5104 _flag_k = FK_CMP; 5105 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 5106 L_2B062ED1: 5107 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 5108 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 5109 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 5110 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5111 _cf = 0; 5112 _flag_k = FK_NARROW(FK_TEST, 24); 5113 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 5114 L_2B062EDA: 5115 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 5116 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5118 _flag_k = FK_NARROW(FK_CMP, 24); 5119 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 5120 L_2B062EDE: 5121 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5122 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 5123 _flag_k = FK_NARROW(FK_DEC, 24); 5124 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 5125 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 5126 L_2B062EE4: 5127 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 5128 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 5129 RECOMP_FLAGS_IN(); 5130 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5131 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5132 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 5133 _flag_k = FK_ADD; 5134 L_2B062EED: 5135 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 5136 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 5137 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 5138 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 5139 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 5140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5142 _flag_k = FK_CMP; 5143 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 5144 L_2B062EFD: 5145 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 5146 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 5147 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 5148 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5149 _cf = 0; 5150 _flag_k = FK_NARROW(FK_TEST, 24); 5151 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 5152 L_2B062F06: 5153 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 5154 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5156 _flag_k = FK_NARROW(FK_CMP, 24); 5157 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 5158 L_2B062F0A: 5159 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5160 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 5161 _flag_k = FK_NARROW(FK_DEC, 24); 5162 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 5163 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 5164 L_2B062F10: 5165 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 5166 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 5167 RECOMP_FLAGS_IN(); 5168 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5170 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 5171 _flag_k = FK_ADD; 5172 L_2B062F19: 5173 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 5174 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 5175 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 5176 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 5177 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 5178 RECOMP_FLAGS_IN(); 5179 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5180 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5181 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 5182 _flag_k = FK_ADD; 5183 L_2B062F2B: 5184 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 5185 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 5186 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5188 _flag_k = FK_CMP; 5189 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 5190 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 5191 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 5192 L_2B062F34: 5193 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 5194 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 5195 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5196 _cf = 0; 5197 _flag_k = FK_NARROW(FK_TEST, 24); 5198 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 5199 L_2B062F3B: 5200 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 5201 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5203 _flag_k = FK_NARROW(FK_CMP, 24); 5204 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 5205 L_2B062F3F: 5206 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5207 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 5208 _flag_k = FK_NARROW(FK_DEC, 24); 5209 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 5210 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 5211 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 5212 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 5213 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 5214 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 5215 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 5216 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 5217 L_2B062F57: 5218 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5219 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 5220 _flag_k = FK_DEC; 5221 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 5222 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 5223 RECOMP_FLAGS_IN(); 5224 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5225 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5226 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 5227 _flag_k = FK_ADD; 5228 L_2B062F61: 5229 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 5230 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 5231 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 5232 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 5233 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 5234 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 5235 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 5236 RECOMP_REGS_OUT(); 5237 } 5238 5239 void sub_2B062BB7(void) { 5240 int _fpu_cmp = 0; 5241 uint32_t _cf = 0; 5242 int _df = 1; 5243 uint32_t _flag_k = FK_NONE; 5244 uint32_t _flag_a = 0, _flag_b = 0; 5245 uint32_t _itail_tgt = 0; 5246 RECOMP_REGS_LOCALS 5247 RECOMP_ENTER(0x2B062BB7u); 5248 5249 L_2B062BB7: 5250 PUSH32(esp, 1); /* 0x2B062BB7: push 1 */ 5251 PUSH32(esp, 0); /* 0x2B062BB9: push 0 */ 5252 PUSH32(esp, 0); /* 0x2B062BBB: push 0 */ 5253 ecx = eax; /* 0x2B062BBD: mov ecx, eax */ 5254 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062BBF: mov byte ptr [ebp - 4], 0 */ 5255 MEM32(ebx + 0xC) = eax; /* 0x2B062BC3: mov dword ptr [ebx + 0xc], eax */ 5256 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B062BC6: call dword ptr [0x2b0b564c] */ 5257 RECOMP_FLAGS_IN(); 5258 SET_LO8(eax, MEM8(ebp + 0xC)); /* 0x2B062BCC: mov al, byte ptr [ebp + 0xc] */ 5259 /* test LO8(eax), LO8(eax) */ /* 0x2B062BCF: test al, al */ 5260 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5261 _cf = 0; 5262 _flag_k = FK_NARROW(FK_TEST, 24); 5263 PUSH32(esp, 2); /* 0x2B062BD1: push 2 */ 5264 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062BDC; /* 0x2B062BD3: jne 0x2b062bdc */ 5265 L_2B062BD5: 5266 PUSH32(esp, 0x108u); /* 0x2B062BD5: push 0x108 */ 5267 goto L_2B062BE1; /* 0x2B062BDA: jmp 0x2b062be1 */ 5268 L_2B062BDC: 5269 PUSH32(esp, 0x109u); /* 0x2B062BDC: push 0x109 */ 5270 L_2B062BE1: 5271 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062BE1: call dword ptr [0x2b0b5f80] */ 5272 RECOMP_FLAGS_IN(); 5273 ecx = eax; /* 0x2B062BE7: mov ecx, eax */ 5274 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062BE9: call dword ptr [0x2b0b5fbc] */ 5275 RECOMP_FLAGS_IN(); 5276 edi = MEM32(0x2B0B5554); /* 0x2B062BEF: mov edi, dword ptr [0x2b0b5554] */ 5277 esi = eax; /* 0x2B062BF5: mov esi, eax */ 5278 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B062BF7: mov al, byte ptr [ebp + 0x10] */ 5279 /* test LO8(eax), LO8(eax) */ /* 0x2B062BFA: test al, al */ 5280 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5281 _cf = 0; 5282 _flag_k = FK_NARROW(FK_TEST, 24); 5283 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062C6F; /* 0x2B062BFC: je 0x2b062c6f */ 5284 L_2B062BFE: 5285 eax = MEM32(esi + 0xC); /* 0x2B062BFE: mov eax, dword ptr [esi + 0xc] */ 5286 ecx = MEM32(esi + 0x8); /* 0x2B062C01: mov ecx, dword ptr [esi + 8] */ 5287 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C04: cdq */ 5288 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5290 eax = eax - edx; /* 0x2B062C05: sub eax, edx */ 5291 _flag_k = FK_CMP; 5292 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5293 edx = 0; /* 0x2B062C07: xor edx, edx */ 5294 _cf = 0; 5295 _flag_k = FK_TEST; 5296 PUSH32(esp, 0xFF00u); /* 0x2B062C09: push 0xff00 */ 5297 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C0E: sar eax, 1 */ 5298 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5299 eax = (uint32_t)((int32_t)eax >> 1u); 5300 MEM32(ebp + (-0x60)) = edx; /* 0x2B062C10: mov dword ptr [ebp - 0x60], edx */ 5301 MEM32(ebp + (-0x5C)) = edx; /* 0x2B062C13: mov dword ptr [ebp - 0x5c], edx */ 5302 MEM32(ebp + (-0x40)) = edx; /* 0x2B062C16: mov dword ptr [ebp - 0x40], edx */ 5303 MEM32(ebp + (-0x3C)) = edx; /* 0x2B062C19: mov dword ptr [ebp - 0x3c], edx */ 5304 PUSH32(esp, esi); /* 0x2B062C1C: push esi */ 5305 edx = ebp + (-0x40); /* 0x2B062C1D: lea edx, [ebp - 0x40] */ 5306 MEM32(ebp + (-0x58)) = eax; /* 0x2B062C20: mov dword ptr [ebp - 0x58], eax */ 5307 PUSH32(esp, edx); /* 0x2B062C23: push edx */ 5308 eax = ebp + (-0x60); /* 0x2B062C24: lea eax, [ebp - 0x60] */ 5309 MEM32(ebp + (-0x54)) = ecx; /* 0x2B062C27: mov dword ptr [ebp - 0x54], ecx */ 5310 ecx = MEM32(ebx + 0xC); /* 0x2B062C2A: mov ecx, dword ptr [ebx + 0xc] */ 5311 PUSH32(esp, eax); /* 0x2B062C2D: push eax */ 5312 RECOMP_ICALL(edi); /* 0x2B062C2E: call edi */ 5313 RECOMP_FLAGS_IN(); 5314 ecx = MEM32(esi + 0xC); /* 0x2B062C30: mov ecx, dword ptr [esi + 0xc] */ 5315 eax = ecx; /* 0x2B062C33: mov eax, ecx */ 5316 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C35: cdq */ 5317 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5319 eax = eax - edx; /* 0x2B062C36: sub eax, edx */ 5320 _flag_k = FK_CMP; 5321 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062C38: mov dword ptr [ebp - 0x48], ecx */ 5322 ecx = MEM32(esi + 0x8); /* 0x2B062C3B: mov ecx, dword ptr [esi + 8] */ 5323 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C3E: sar eax, 1 */ 5324 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5325 eax = (uint32_t)((int32_t)eax >> 1u); 5326 MEM32(ebp + (-0x44)) = ecx; /* 0x2B062C40: mov dword ptr [ebp - 0x44], ecx */ 5327 ecx = MEM32(ebx + 0xC); /* 0x2B062C43: mov ecx, dword ptr [ebx + 0xc] */ 5328 MEM32(ebp + (-0x50)) = eax; /* 0x2B062C46: mov dword ptr [ebp - 0x50], eax */ 5329 MEM32(ebp + (-0x4C)) = 0; /* 0x2B062C49: mov dword ptr [ebp - 0x4c], 0 */ 5330 edx = MEM32(ecx + 0xC); /* 0x2B062C50: mov edx, dword ptr [ecx + 0xc] */ 5331 PUSH32(esp, 0xFF00u); /* 0x2B062C53: push 0xff00 */ 5332 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5334 edx = edx - eax; /* 0x2B062C58: sub edx, eax */ 5335 _flag_k = FK_CMP; 5336 PUSH32(esp, esi); /* 0x2B062C5A: push esi */ 5337 eax = ebp + (-0x38); /* 0x2B062C5B: lea eax, [ebp - 0x38] */ 5338 MEM32(ebp + (-0x38)) = edx; /* 0x2B062C5E: mov dword ptr [ebp - 0x38], edx */ 5339 PUSH32(esp, eax); /* 0x2B062C61: push eax */ 5340 edx = ebp + (-0x50); /* 0x2B062C62: lea edx, [ebp - 0x50] */ 5341 PUSH32(esp, edx); /* 0x2B062C65: push edx */ 5342 MEM32(ebp + (-0x34)) = 0; /* 0x2B062C66: mov dword ptr [ebp - 0x34], 0 */ 5343 RECOMP_ICALL(edi); /* 0x2B062C6D: call edi */ 5344 RECOMP_FLAGS_IN(); 5345 L_2B062C6F: 5346 PUSH32(esp, esi); /* 0x2B062C6F: push esi */ 5347 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C70: call dword ptr [0x2b0b5f80] */ 5348 RECOMP_FLAGS_IN(); 5349 ecx = eax; /* 0x2B062C76: mov ecx, eax */ 5350 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062C78: call dword ptr [0x2b0b5fb8] */ 5351 RECOMP_FLAGS_IN(); 5352 eax = MEM32(0x2B0B610C); /* 0x2B062C7E: mov eax, dword ptr [0x2b0b610c] */ 5353 ecx = MEM32(eax); /* 0x2B062C83: mov ecx, dword ptr [eax] */ 5354 PUSH32(esp, ebx); /* 0x2B062C85: push ebx */ 5355 RECOMP_ICALL(MEM32(0x2B0B611C)); /* 0x2B062C86: call dword ptr [0x2b0b611c] */ 5356 RECOMP_FLAGS_IN(); 5357 /* test LO8(eax), LO8(eax) */ /* 0x2B062C8C: test al, al */ 5358 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5359 _cf = 0; 5360 _flag_k = FK_NARROW(FK_TEST, 24); 5361 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062CFD; /* 0x2B062C8E: je 0x2b062cfd */ 5362 L_2B062C90: 5363 PUSH32(esp, 2); /* 0x2B062C90: push 2 */ 5364 PUSH32(esp, 0x107u); /* 0x2B062C92: push 0x107 */ 5365 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C97: call dword ptr [0x2b0b5f80] */ 5366 RECOMP_FLAGS_IN(); 5367 ecx = eax; /* 0x2B062C9D: mov ecx, eax */ 5368 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062C9F: call dword ptr [0x2b0b5fbc] */ 5369 RECOMP_FLAGS_IN(); 5370 esi = eax; /* 0x2B062CA5: mov esi, eax */ 5371 ecx = MEM32(esi + 0xC); /* 0x2B062CA7: mov ecx, dword ptr [esi + 0xc] */ 5372 eax = MEM32(esi + 0x8); /* 0x2B062CAA: mov eax, dword ptr [esi + 8] */ 5373 MEM32(ebp + (-0x44)) = eax; /* 0x2B062CAD: mov dword ptr [ebp - 0x44], eax */ 5374 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5375 edx = 0; /* 0x2B062CB0: xor edx, edx */ 5376 _cf = 0; 5377 _flag_k = FK_TEST; 5378 MEM32(ebp + (-0x50)) = edx; /* 0x2B062CB2: mov dword ptr [ebp - 0x50], edx */ 5379 MEM32(ebp + (-0x4C)) = edx; /* 0x2B062CB5: mov dword ptr [ebp - 0x4c], edx */ 5380 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062CB8: mov dword ptr [ebp - 0x48], ecx */ 5381 ecx = MEM32(ebx + 0xC); /* 0x2B062CBB: mov ecx, dword ptr [ebx + 0xc] */ 5382 edx = MEM32(esi + 0xC); /* 0x2B062CBE: mov edx, dword ptr [esi + 0xc] */ 5383 eax = MEM32(ecx + 0xC); /* 0x2B062CC1: mov eax, dword ptr [ecx + 0xc] */ 5384 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5386 eax = eax - edx; /* 0x2B062CC4: sub eax, edx */ 5387 _flag_k = FK_CMP; 5388 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CC6: cdq */ 5389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5391 eax = eax - edx; /* 0x2B062CC7: sub eax, edx */ 5392 _flag_k = FK_CMP; 5393 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CC9: sar eax, 1 */ 5394 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5395 eax = (uint32_t)((int32_t)eax >> 1u); 5396 MEM32(ebp + (-0x38)) = eax; /* 0x2B062CCB: mov dword ptr [ebp - 0x38], eax */ 5397 edx = MEM32(esi + 0x8); /* 0x2B062CCE: mov edx, dword ptr [esi + 8] */ 5398 eax = MEM32(ecx + 0x8); /* 0x2B062CD1: mov eax, dword ptr [ecx + 8] */ 5399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5401 eax = eax - edx; /* 0x2B062CD4: sub eax, edx */ 5402 _flag_k = FK_CMP; 5403 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CD6: cdq */ 5404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5406 eax = eax - edx; /* 0x2B062CD7: sub eax, edx */ 5407 _flag_k = FK_CMP; 5408 PUSH32(esp, 0xFF00u); /* 0x2B062CD9: push 0xff00 */ 5409 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CDE: sar eax, 1 */ 5410 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5411 eax = (uint32_t)((int32_t)eax >> 1u); 5412 PUSH32(esp, esi); /* 0x2B062CE0: push esi */ 5413 edx = ebp + (-0x38); /* 0x2B062CE1: lea edx, [ebp - 0x38] */ 5414 MEM32(ebp + (-0x34)) = eax; /* 0x2B062CE4: mov dword ptr [ebp - 0x34], eax */ 5415 PUSH32(esp, edx); /* 0x2B062CE7: push edx */ 5416 eax = ebp + (-0x50); /* 0x2B062CE8: lea eax, [ebp - 0x50] */ 5417 PUSH32(esp, eax); /* 0x2B062CEB: push eax */ 5418 RECOMP_ICALL(edi); /* 0x2B062CEC: call edi */ 5419 RECOMP_FLAGS_IN(); 5420 PUSH32(esp, esi); /* 0x2B062CEE: push esi */ 5421 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062CEF: call dword ptr [0x2b0b5f80] */ 5422 RECOMP_FLAGS_IN(); 5423 ecx = eax; /* 0x2B062CF5: mov ecx, eax */ 5424 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062CF7: call dword ptr [0x2b0b5fb8] */ 5425 RECOMP_FLAGS_IN(); 5426 L_2B062CFD: 5427 ecx = MEM32(ebx + 0xC); /* 0x2B062CFD: mov ecx, dword ptr [ebx + 0xc] */ 5428 PUSH32(esp, ecx); /* 0x2B062D00: push ecx */ 5429 PUSH32(esp, 0x800u); /* 0x2B062D01: push 0x800 */ 5430 PUSH32(esp, 2); /* 0x2B062D06: push 2 */ 5431 ecx = ebp + (-0x98); /* 0x2B062D08: lea ecx, [ebp - 0x98] */ 5432 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B062D0E: call dword ptr [0x2b0b5bf0] */ 5433 RECOMP_FLAGS_IN(); 5434 esi = MEM32(0x2B0B5B78); /* 0x2B062D14: mov esi, dword ptr [0x2b0b5b78] */ 5435 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5436 edi = 0; /* 0x2B062D1A: xor edi, edi */ 5437 _cf = 0; 5438 _flag_k = FK_TEST; 5439 PUSH32(esp, edi); /* 0x2B062D1C: push edi */ 5440 PUSH32(esp, edi); /* 0x2B062D1D: push edi */ 5441 PUSH32(esp, 1); /* 0x2B062D1E: push 1 */ 5442 PUSH32(esp, edi); /* 0x2B062D20: push edi */ 5443 edx = ebp + (-0x28); /* 0x2B062D21: lea edx, [ebp - 0x28] */ 5444 PUSH32(esp, edx); /* 0x2B062D24: push edx */ 5445 ecx = ebp + (-0x98); /* 0x2B062D25: lea ecx, [ebp - 0x98] */ 5446 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D2B: mov byte ptr [ebp - 4], 2 */ 5447 MEM32(ebp + (-0x68)) = 0x00FFFFFFu; /* 0x2B062D2F: mov dword ptr [ebp - 0x68], 0xffffff */ 5448 RECOMP_ICALL(esi); /* 0x2B062D36: call esi */ 5449 RECOMP_FLAGS_IN(); 5450 eax = MEM32(ebp + (-0x10)); /* 0x2B062D38: mov eax, dword ptr [ebp - 0x10] */ 5451 /* cmp eax, edi */ /* 0x2B062D3B: cmp eax, edi */ 5452 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5454 _flag_k = FK_CMP; 5455 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D53; /* 0x2B062D3D: je 0x2b062d53 */ 5456 L_2B062D3F: 5457 ecx = MEM32(ebp + (-0x14)); /* 0x2B062D3F: mov ecx, dword ptr [ebp - 0x14] */ 5458 PUSH32(esp, edi); /* 0x2B062D42: push edi */ 5459 PUSH32(esp, edi); /* 0x2B062D43: push edi */ 5460 PUSH32(esp, 0x13u); /* 0x2B062D44: push 0x13 */ 5461 PUSH32(esp, edi); /* 0x2B062D46: push edi */ 5462 MEM32(ebp + (-0x68)) = ecx; /* 0x2B062D47: mov dword ptr [ebp - 0x68], ecx */ 5463 PUSH32(esp, eax); /* 0x2B062D4A: push eax */ 5464 ecx = ebp + (-0x98); /* 0x2B062D4B: lea ecx, [ebp - 0x98] */ 5465 RECOMP_ICALL(esi); /* 0x2B062D51: call esi */ 5466 RECOMP_FLAGS_IN(); 5467 L_2B062D53: 5468 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B062D53: fild dword ptr [ebp + 8] */ 5469 PUSH32(esp, 0x14u); /* 0x2B062D56: push 0x14 */ 5470 _st[0] *= (double)*(float*)ADDR(0x2B0B6D10); /* 0x2B062D58: fmul dword ptr [0x2b0b6d10] */ 5471 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x2B062D5E: fstp dword ptr [ebp + 0x10] */ 5472 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D61: call 0x2b0ab212 */ /* not lifted */ 5473 RECOMP_FLAGS_IN(); 5474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5476 esp = esp + 4; /* 0x2B062D66: add esp, 4 */ 5477 _flag_k = FK_ADD; 5478 MEM32(ebp + 0xC) = eax; /* 0x2B062D69: mov dword ptr [ebp + 0xc], eax */ 5479 /* cmp eax, edi */ /* 0x2B062D6C: cmp eax, edi */ 5480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5482 _flag_k = FK_CMP; 5483 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B062D6E: mov byte ptr [ebp - 4], 3 */ 5484 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D90; /* 0x2B062D72: je 0x2b062d90 */ 5485 L_2B062D74: 5486 edx = MEM32(ebx + 0xC); /* 0x2B062D74: mov edx, dword ptr [ebx + 0xc] */ 5487 ecx = MEM32(edx + 0x28); /* 0x2B062D77: mov ecx, dword ptr [edx + 0x28] */ 5488 PUSH32(esp, ecx); /* 0x2B062D7A: push ecx */ 5489 ecx = MEM32(edx); /* 0x2B062D7B: mov ecx, dword ptr [edx] */ 5490 PUSH32(esp, ecx); /* 0x2B062D7D: push ecx */ 5491 ecx = MEM32(edx + 0x8); /* 0x2B062D7E: mov ecx, dword ptr [edx + 8] */ 5492 edx = MEM32(edx + 0xC); /* 0x2B062D81: mov edx, dword ptr [edx + 0xc] */ 5493 PUSH32(esp, ecx); /* 0x2B062D84: push ecx */ 5494 PUSH32(esp, edx); /* 0x2B062D85: push edx */ 5495 ecx = eax; /* 0x2B062D86: mov ecx, eax */ 5496 RECOMP_ICALL(MEM32(0x2B0B54CC)); /* 0x2B062D88: call dword ptr [0x2b0b54cc] */ 5497 RECOMP_FLAGS_IN(); 5498 goto L_2B062D92; /* 0x2B062D8E: jmp 0x2b062d92 */ 5499 L_2B062D90: 5500 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5501 eax = 0; /* 0x2B062D90: xor eax, eax */ 5502 _cf = 0; 5503 _flag_k = FK_TEST; 5504 L_2B062D92: 5505 PUSH32(esp, 4); /* 0x2B062D92: push 4 */ 5506 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D94: mov byte ptr [ebp - 4], 2 */ 5507 MEM32(ebx + 0x8) = eax; /* 0x2B062D98: mov dword ptr [ebx + 8], eax */ 5508 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D9B: call 0x2b0ab212 */ /* not lifted */ 5509 RECOMP_FLAGS_IN(); 5510 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5511 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5512 esp = esp + 4; /* 0x2B062DA0: add esp, 4 */ 5513 _flag_k = FK_ADD; 5514 MEM32(ebp + 0xC) = eax; /* 0x2B062DA3: mov dword ptr [ebp + 0xc], eax */ 5515 /* cmp eax, edi */ /* 0x2B062DA6: cmp eax, edi */ 5516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5518 _flag_k = FK_CMP; 5519 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B062DA8: mov byte ptr [ebp - 4], 4 */ 5520 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062DC5; /* 0x2B062DAC: je 0x2b062dc5 */ 5521 L_2B062DAE: 5522 ecx = MEM32(ebx + 0x8); /* 0x2B062DAE: mov ecx, dword ptr [ebx + 8] */ 5523 edx = MEM32(ebp + 0x10); /* 0x2B062DB1: mov edx, dword ptr [ebp + 0x10] */ 5524 PUSH32(esp, ecx); /* 0x2B062DB4: push ecx */ 5525 PUSH32(esp, 0x3E99999Au); /* 0x2B062DB5: push 0x3e99999a */ 5526 PUSH32(esp, edx); /* 0x2B062DBA: push edx */ 5527 ecx = eax; /* 0x2B062DBB: mov ecx, eax */ 5528 RECOMP_ICALL(MEM32(0x2B0B54D0)); /* 0x2B062DBD: call dword ptr [0x2b0b54d0] */ 5529 RECOMP_FLAGS_IN(); 5530 goto L_2B062DC7; /* 0x2B062DC3: jmp 0x2b062dc7 */ 5531 L_2B062DC5: 5532 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5533 eax = 0; /* 0x2B062DC5: xor eax, eax */ 5534 _cf = 0; 5535 _flag_k = FK_TEST; 5536 L_2B062DC7: 5537 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 5538 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 5539 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 5540 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 5541 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 5542 RECOMP_FLAGS_IN(); 5543 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 5544 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 5545 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 5546 RECOMP_FLAGS_IN(); 5547 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 5548 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 5549 RECOMP_FLAGS_IN(); 5550 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 5551 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 5552 fp_pop(); 5553 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 5554 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 5555 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5556 _cf = 0; 5557 _flag_k = FK_NARROW(FK_TEST, 24); 5558 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 5559 L_2B062DF9: 5560 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 5561 L_2B062E00: 5562 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 5563 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 5564 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 5565 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 5566 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 5567 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 5568 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 5569 RECOMP_FLAGS_IN(); 5570 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 5571 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 5572 RECOMP_FLAGS_IN(); 5573 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 5574 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 5575 fp_pop(); 5576 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 5577 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 5578 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 5579 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 5580 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 5581 _cf = 0; 5582 _flag_k = FK_NARROW(FK_TEST, 24); 5583 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 5584 L_2B062E30: 5585 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 5586 L_2B062E37: 5587 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 5588 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 5589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5590 _flag_k = FK_CMP; 5591 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 5592 L_2B062E3C: 5593 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 5594 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 5595 fp_pop(); 5596 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 5597 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 5598 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5599 _cf = 0; 5600 _flag_k = FK_NARROW(FK_TEST, 24); 5601 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 5602 L_2B062E4C: 5603 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 5604 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 5605 L_2B062E55: 5606 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 5607 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 5608 fp_pop(); 5609 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 5610 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 5611 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5612 _cf = 0; 5613 _flag_k = FK_NARROW(FK_TEST, 24); 5614 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 5615 L_2B062E65: 5616 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 5617 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 5618 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 5619 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 5620 RECOMP_FLAGS_IN(); 5621 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 5622 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5623 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 5624 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 5625 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 5626 _cf = 0; 5627 _flag_k = FK_TEST; 5628 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 5629 L_2B062E7F: 5630 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 5631 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 5632 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 5633 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 5634 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 5635 RECOMP_FLAGS_IN(); 5636 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 5637 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 5638 _cf = 0; 5639 _flag_k = FK_TEST; 5640 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 5641 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5642 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 5643 L_2B062E9D: 5644 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 5645 L_2B062EA0: 5646 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 5647 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 5648 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 5649 RECOMP_FLAGS_IN(); 5650 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 5651 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 5652 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5654 _flag_k = FK_CMP; 5655 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 5656 L_2B062EB7: 5657 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 5658 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 5659 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 5660 edx = edx - 1; /* 0x2B062EBD: dec edx */ 5661 _flag_k = FK_DEC; 5662 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 5663 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 5664 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5666 _flag_k = FK_CMP; 5667 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 5668 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 5669 L_2B062EC6: 5670 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 5671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 5672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5673 _flag_k = FK_CMP; 5674 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 5675 L_2B062ECA: 5676 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 5677 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 5678 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5680 _flag_k = FK_CMP; 5681 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 5682 L_2B062ED1: 5683 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 5684 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 5685 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 5686 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5687 _cf = 0; 5688 _flag_k = FK_NARROW(FK_TEST, 24); 5689 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 5690 L_2B062EDA: 5691 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 5692 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5694 _flag_k = FK_NARROW(FK_CMP, 24); 5695 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 5696 L_2B062EDE: 5697 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5698 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 5699 _flag_k = FK_NARROW(FK_DEC, 24); 5700 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 5701 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 5702 L_2B062EE4: 5703 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 5704 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 5705 RECOMP_FLAGS_IN(); 5706 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5708 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 5709 _flag_k = FK_ADD; 5710 L_2B062EED: 5711 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 5712 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 5713 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 5714 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 5715 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 5716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 5717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5718 _flag_k = FK_CMP; 5719 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 5720 L_2B062EFD: 5721 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 5722 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 5723 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 5724 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5725 _cf = 0; 5726 _flag_k = FK_NARROW(FK_TEST, 24); 5727 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 5728 L_2B062F06: 5729 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 5730 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5732 _flag_k = FK_NARROW(FK_CMP, 24); 5733 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 5734 L_2B062F0A: 5735 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5736 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 5737 _flag_k = FK_NARROW(FK_DEC, 24); 5738 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 5739 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 5740 L_2B062F10: 5741 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 5742 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 5743 RECOMP_FLAGS_IN(); 5744 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5745 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5746 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 5747 _flag_k = FK_ADD; 5748 L_2B062F19: 5749 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 5750 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 5751 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 5752 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 5753 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 5754 RECOMP_FLAGS_IN(); 5755 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5757 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 5758 _flag_k = FK_ADD; 5759 L_2B062F2B: 5760 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 5761 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 5762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 5763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5764 _flag_k = FK_CMP; 5765 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 5766 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 5767 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 5768 L_2B062F34: 5769 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 5770 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 5771 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5772 _cf = 0; 5773 _flag_k = FK_NARROW(FK_TEST, 24); 5774 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 5775 L_2B062F3B: 5776 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 5777 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 5778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5779 _flag_k = FK_NARROW(FK_CMP, 24); 5780 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 5781 L_2B062F3F: 5782 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 5783 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 5784 _flag_k = FK_NARROW(FK_DEC, 24); 5785 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 5786 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 5787 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 5788 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 5789 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 5790 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 5791 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 5792 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 5793 L_2B062F57: 5794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 5795 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 5796 _flag_k = FK_DEC; 5797 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 5798 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 5799 RECOMP_FLAGS_IN(); 5800 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5801 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5802 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 5803 _flag_k = FK_ADD; 5804 L_2B062F61: 5805 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 5806 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 5807 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 5808 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 5809 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 5810 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 5811 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 5812 RECOMP_REGS_OUT(); 5813 } 5814 5815 void sub_2B062BE1(void) { 5816 int _fpu_cmp = 0; 5817 uint32_t _cf = 0; 5818 int _df = 1; 5819 uint32_t _flag_k = FK_NONE; 5820 uint32_t _flag_a = 0, _flag_b = 0; 5821 uint32_t _itail_tgt = 0; 5822 RECOMP_REGS_LOCALS 5823 RECOMP_ENTER(0x2B062BE1u); 5824 5825 L_2B062BE1: 5826 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062BE1: call dword ptr [0x2b0b5f80] */ 5827 RECOMP_FLAGS_IN(); 5828 ecx = eax; /* 0x2B062BE7: mov ecx, eax */ 5829 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062BE9: call dword ptr [0x2b0b5fbc] */ 5830 RECOMP_FLAGS_IN(); 5831 edi = MEM32(0x2B0B5554); /* 0x2B062BEF: mov edi, dword ptr [0x2b0b5554] */ 5832 esi = eax; /* 0x2B062BF5: mov esi, eax */ 5833 SET_LO8(eax, MEM8(ebp + 0x10)); /* 0x2B062BF7: mov al, byte ptr [ebp + 0x10] */ 5834 /* test LO8(eax), LO8(eax) */ /* 0x2B062BFA: test al, al */ 5835 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5836 _cf = 0; 5837 _flag_k = FK_NARROW(FK_TEST, 24); 5838 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062C6F; /* 0x2B062BFC: je 0x2b062c6f */ 5839 L_2B062BFE: 5840 eax = MEM32(esi + 0xC); /* 0x2B062BFE: mov eax, dword ptr [esi + 0xc] */ 5841 ecx = MEM32(esi + 0x8); /* 0x2B062C01: mov ecx, dword ptr [esi + 8] */ 5842 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C04: cdq */ 5843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5845 eax = eax - edx; /* 0x2B062C05: sub eax, edx */ 5846 _flag_k = FK_CMP; 5847 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5848 edx = 0; /* 0x2B062C07: xor edx, edx */ 5849 _cf = 0; 5850 _flag_k = FK_TEST; 5851 PUSH32(esp, 0xFF00u); /* 0x2B062C09: push 0xff00 */ 5852 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C0E: sar eax, 1 */ 5853 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5854 eax = (uint32_t)((int32_t)eax >> 1u); 5855 MEM32(ebp + (-0x60)) = edx; /* 0x2B062C10: mov dword ptr [ebp - 0x60], edx */ 5856 MEM32(ebp + (-0x5C)) = edx; /* 0x2B062C13: mov dword ptr [ebp - 0x5c], edx */ 5857 MEM32(ebp + (-0x40)) = edx; /* 0x2B062C16: mov dword ptr [ebp - 0x40], edx */ 5858 MEM32(ebp + (-0x3C)) = edx; /* 0x2B062C19: mov dword ptr [ebp - 0x3c], edx */ 5859 PUSH32(esp, esi); /* 0x2B062C1C: push esi */ 5860 edx = ebp + (-0x40); /* 0x2B062C1D: lea edx, [ebp - 0x40] */ 5861 MEM32(ebp + (-0x58)) = eax; /* 0x2B062C20: mov dword ptr [ebp - 0x58], eax */ 5862 PUSH32(esp, edx); /* 0x2B062C23: push edx */ 5863 eax = ebp + (-0x60); /* 0x2B062C24: lea eax, [ebp - 0x60] */ 5864 MEM32(ebp + (-0x54)) = ecx; /* 0x2B062C27: mov dword ptr [ebp - 0x54], ecx */ 5865 ecx = MEM32(ebx + 0xC); /* 0x2B062C2A: mov ecx, dword ptr [ebx + 0xc] */ 5866 PUSH32(esp, eax); /* 0x2B062C2D: push eax */ 5867 RECOMP_ICALL(edi); /* 0x2B062C2E: call edi */ 5868 RECOMP_FLAGS_IN(); 5869 ecx = MEM32(esi + 0xC); /* 0x2B062C30: mov ecx, dword ptr [esi + 0xc] */ 5870 eax = ecx; /* 0x2B062C33: mov eax, ecx */ 5871 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062C35: cdq */ 5872 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5874 eax = eax - edx; /* 0x2B062C36: sub eax, edx */ 5875 _flag_k = FK_CMP; 5876 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062C38: mov dword ptr [ebp - 0x48], ecx */ 5877 ecx = MEM32(esi + 0x8); /* 0x2B062C3B: mov ecx, dword ptr [esi + 8] */ 5878 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062C3E: sar eax, 1 */ 5879 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5880 eax = (uint32_t)((int32_t)eax >> 1u); 5881 MEM32(ebp + (-0x44)) = ecx; /* 0x2B062C40: mov dword ptr [ebp - 0x44], ecx */ 5882 ecx = MEM32(ebx + 0xC); /* 0x2B062C43: mov ecx, dword ptr [ebx + 0xc] */ 5883 MEM32(ebp + (-0x50)) = eax; /* 0x2B062C46: mov dword ptr [ebp - 0x50], eax */ 5884 MEM32(ebp + (-0x4C)) = 0; /* 0x2B062C49: mov dword ptr [ebp - 0x4c], 0 */ 5885 edx = MEM32(ecx + 0xC); /* 0x2B062C50: mov edx, dword ptr [ecx + 0xc] */ 5886 PUSH32(esp, 0xFF00u); /* 0x2B062C53: push 0xff00 */ 5887 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 5888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5889 edx = edx - eax; /* 0x2B062C58: sub edx, eax */ 5890 _flag_k = FK_CMP; 5891 PUSH32(esp, esi); /* 0x2B062C5A: push esi */ 5892 eax = ebp + (-0x38); /* 0x2B062C5B: lea eax, [ebp - 0x38] */ 5893 MEM32(ebp + (-0x38)) = edx; /* 0x2B062C5E: mov dword ptr [ebp - 0x38], edx */ 5894 PUSH32(esp, eax); /* 0x2B062C61: push eax */ 5895 edx = ebp + (-0x50); /* 0x2B062C62: lea edx, [ebp - 0x50] */ 5896 PUSH32(esp, edx); /* 0x2B062C65: push edx */ 5897 MEM32(ebp + (-0x34)) = 0; /* 0x2B062C66: mov dword ptr [ebp - 0x34], 0 */ 5898 RECOMP_ICALL(edi); /* 0x2B062C6D: call edi */ 5899 RECOMP_FLAGS_IN(); 5900 L_2B062C6F: 5901 PUSH32(esp, esi); /* 0x2B062C6F: push esi */ 5902 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C70: call dword ptr [0x2b0b5f80] */ 5903 RECOMP_FLAGS_IN(); 5904 ecx = eax; /* 0x2B062C76: mov ecx, eax */ 5905 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062C78: call dword ptr [0x2b0b5fb8] */ 5906 RECOMP_FLAGS_IN(); 5907 eax = MEM32(0x2B0B610C); /* 0x2B062C7E: mov eax, dword ptr [0x2b0b610c] */ 5908 ecx = MEM32(eax); /* 0x2B062C83: mov ecx, dword ptr [eax] */ 5909 PUSH32(esp, ebx); /* 0x2B062C85: push ebx */ 5910 RECOMP_ICALL(MEM32(0x2B0B611C)); /* 0x2B062C86: call dword ptr [0x2b0b611c] */ 5911 RECOMP_FLAGS_IN(); 5912 /* test LO8(eax), LO8(eax) */ /* 0x2B062C8C: test al, al */ 5913 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 5914 _cf = 0; 5915 _flag_k = FK_NARROW(FK_TEST, 24); 5916 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062CFD; /* 0x2B062C8E: je 0x2b062cfd */ 5917 L_2B062C90: 5918 PUSH32(esp, 2); /* 0x2B062C90: push 2 */ 5919 PUSH32(esp, 0x107u); /* 0x2B062C92: push 0x107 */ 5920 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062C97: call dword ptr [0x2b0b5f80] */ 5921 RECOMP_FLAGS_IN(); 5922 ecx = eax; /* 0x2B062C9D: mov ecx, eax */ 5923 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B062C9F: call dword ptr [0x2b0b5fbc] */ 5924 RECOMP_FLAGS_IN(); 5925 esi = eax; /* 0x2B062CA5: mov esi, eax */ 5926 ecx = MEM32(esi + 0xC); /* 0x2B062CA7: mov ecx, dword ptr [esi + 0xc] */ 5927 eax = MEM32(esi + 0x8); /* 0x2B062CAA: mov eax, dword ptr [esi + 8] */ 5928 MEM32(ebp + (-0x44)) = eax; /* 0x2B062CAD: mov dword ptr [ebp - 0x44], eax */ 5929 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5930 edx = 0; /* 0x2B062CB0: xor edx, edx */ 5931 _cf = 0; 5932 _flag_k = FK_TEST; 5933 MEM32(ebp + (-0x50)) = edx; /* 0x2B062CB2: mov dword ptr [ebp - 0x50], edx */ 5934 MEM32(ebp + (-0x4C)) = edx; /* 0x2B062CB5: mov dword ptr [ebp - 0x4c], edx */ 5935 MEM32(ebp + (-0x48)) = ecx; /* 0x2B062CB8: mov dword ptr [ebp - 0x48], ecx */ 5936 ecx = MEM32(ebx + 0xC); /* 0x2B062CBB: mov ecx, dword ptr [ebx + 0xc] */ 5937 edx = MEM32(esi + 0xC); /* 0x2B062CBE: mov edx, dword ptr [esi + 0xc] */ 5938 eax = MEM32(ecx + 0xC); /* 0x2B062CC1: mov eax, dword ptr [ecx + 0xc] */ 5939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5941 eax = eax - edx; /* 0x2B062CC4: sub eax, edx */ 5942 _flag_k = FK_CMP; 5943 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CC6: cdq */ 5944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5946 eax = eax - edx; /* 0x2B062CC7: sub eax, edx */ 5947 _flag_k = FK_CMP; 5948 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CC9: sar eax, 1 */ 5949 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5950 eax = (uint32_t)((int32_t)eax >> 1u); 5951 MEM32(ebp + (-0x38)) = eax; /* 0x2B062CCB: mov dword ptr [ebp - 0x38], eax */ 5952 edx = MEM32(esi + 0x8); /* 0x2B062CCE: mov edx, dword ptr [esi + 8] */ 5953 eax = MEM32(ecx + 0x8); /* 0x2B062CD1: mov eax, dword ptr [ecx + 8] */ 5954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5956 eax = eax - edx; /* 0x2B062CD4: sub eax, edx */ 5957 _flag_k = FK_CMP; 5958 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B062CD6: cdq */ 5959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 5960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5961 eax = eax - edx; /* 0x2B062CD7: sub eax, edx */ 5962 _flag_k = FK_CMP; 5963 PUSH32(esp, 0xFF00u); /* 0x2B062CD9: push 0xff00 */ 5964 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B062CDE: sar eax, 1 */ 5965 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 5966 eax = (uint32_t)((int32_t)eax >> 1u); 5967 PUSH32(esp, esi); /* 0x2B062CE0: push esi */ 5968 edx = ebp + (-0x38); /* 0x2B062CE1: lea edx, [ebp - 0x38] */ 5969 MEM32(ebp + (-0x34)) = eax; /* 0x2B062CE4: mov dword ptr [ebp - 0x34], eax */ 5970 PUSH32(esp, edx); /* 0x2B062CE7: push edx */ 5971 eax = ebp + (-0x50); /* 0x2B062CE8: lea eax, [ebp - 0x50] */ 5972 PUSH32(esp, eax); /* 0x2B062CEB: push eax */ 5973 RECOMP_ICALL(edi); /* 0x2B062CEC: call edi */ 5974 RECOMP_FLAGS_IN(); 5975 PUSH32(esp, esi); /* 0x2B062CEE: push esi */ 5976 RECOMP_ICALL(MEM32(0x2B0B5F80)); /* 0x2B062CEF: call dword ptr [0x2b0b5f80] */ 5977 RECOMP_FLAGS_IN(); 5978 ecx = eax; /* 0x2B062CF5: mov ecx, eax */ 5979 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B062CF7: call dword ptr [0x2b0b5fb8] */ 5980 RECOMP_FLAGS_IN(); 5981 L_2B062CFD: 5982 ecx = MEM32(ebx + 0xC); /* 0x2B062CFD: mov ecx, dword ptr [ebx + 0xc] */ 5983 PUSH32(esp, ecx); /* 0x2B062D00: push ecx */ 5984 PUSH32(esp, 0x800u); /* 0x2B062D01: push 0x800 */ 5985 PUSH32(esp, 2); /* 0x2B062D06: push 2 */ 5986 ecx = ebp + (-0x98); /* 0x2B062D08: lea ecx, [ebp - 0x98] */ 5987 RECOMP_ICALL(MEM32(0x2B0B5BF0)); /* 0x2B062D0E: call dword ptr [0x2b0b5bf0] */ 5988 RECOMP_FLAGS_IN(); 5989 esi = MEM32(0x2B0B5B78); /* 0x2B062D14: mov esi, dword ptr [0x2b0b5b78] */ 5990 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 5991 edi = 0; /* 0x2B062D1A: xor edi, edi */ 5992 _cf = 0; 5993 _flag_k = FK_TEST; 5994 PUSH32(esp, edi); /* 0x2B062D1C: push edi */ 5995 PUSH32(esp, edi); /* 0x2B062D1D: push edi */ 5996 PUSH32(esp, 1); /* 0x2B062D1E: push 1 */ 5997 PUSH32(esp, edi); /* 0x2B062D20: push edi */ 5998 edx = ebp + (-0x28); /* 0x2B062D21: lea edx, [ebp - 0x28] */ 5999 PUSH32(esp, edx); /* 0x2B062D24: push edx */ 6000 ecx = ebp + (-0x98); /* 0x2B062D25: lea ecx, [ebp - 0x98] */ 6001 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D2B: mov byte ptr [ebp - 4], 2 */ 6002 MEM32(ebp + (-0x68)) = 0x00FFFFFFu; /* 0x2B062D2F: mov dword ptr [ebp - 0x68], 0xffffff */ 6003 RECOMP_ICALL(esi); /* 0x2B062D36: call esi */ 6004 RECOMP_FLAGS_IN(); 6005 eax = MEM32(ebp + (-0x10)); /* 0x2B062D38: mov eax, dword ptr [ebp - 0x10] */ 6006 /* cmp eax, edi */ /* 0x2B062D3B: cmp eax, edi */ 6007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6009 _flag_k = FK_CMP; 6010 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D53; /* 0x2B062D3D: je 0x2b062d53 */ 6011 L_2B062D3F: 6012 ecx = MEM32(ebp + (-0x14)); /* 0x2B062D3F: mov ecx, dword ptr [ebp - 0x14] */ 6013 PUSH32(esp, edi); /* 0x2B062D42: push edi */ 6014 PUSH32(esp, edi); /* 0x2B062D43: push edi */ 6015 PUSH32(esp, 0x13u); /* 0x2B062D44: push 0x13 */ 6016 PUSH32(esp, edi); /* 0x2B062D46: push edi */ 6017 MEM32(ebp + (-0x68)) = ecx; /* 0x2B062D47: mov dword ptr [ebp - 0x68], ecx */ 6018 PUSH32(esp, eax); /* 0x2B062D4A: push eax */ 6019 ecx = ebp + (-0x98); /* 0x2B062D4B: lea ecx, [ebp - 0x98] */ 6020 RECOMP_ICALL(esi); /* 0x2B062D51: call esi */ 6021 RECOMP_FLAGS_IN(); 6022 L_2B062D53: 6023 fp_push((double)(int32_t)MEM32(ebp + 0x8)); /* 0x2B062D53: fild dword ptr [ebp + 8] */ 6024 PUSH32(esp, 0x14u); /* 0x2B062D56: push 0x14 */ 6025 _st[0] *= (double)*(float*)ADDR(0x2B0B6D10); /* 0x2B062D58: fmul dword ptr [0x2b0b6d10] */ 6026 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + 0x10) = _v; } /* 0x2B062D5E: fstp dword ptr [ebp + 0x10] */ 6027 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D61: call 0x2b0ab212 */ /* not lifted */ 6028 RECOMP_FLAGS_IN(); 6029 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6030 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6031 esp = esp + 4; /* 0x2B062D66: add esp, 4 */ 6032 _flag_k = FK_ADD; 6033 MEM32(ebp + 0xC) = eax; /* 0x2B062D69: mov dword ptr [ebp + 0xc], eax */ 6034 /* cmp eax, edi */ /* 0x2B062D6C: cmp eax, edi */ 6035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6037 _flag_k = FK_CMP; 6038 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B062D6E: mov byte ptr [ebp - 4], 3 */ 6039 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062D90; /* 0x2B062D72: je 0x2b062d90 */ 6040 L_2B062D74: 6041 edx = MEM32(ebx + 0xC); /* 0x2B062D74: mov edx, dword ptr [ebx + 0xc] */ 6042 ecx = MEM32(edx + 0x28); /* 0x2B062D77: mov ecx, dword ptr [edx + 0x28] */ 6043 PUSH32(esp, ecx); /* 0x2B062D7A: push ecx */ 6044 ecx = MEM32(edx); /* 0x2B062D7B: mov ecx, dword ptr [edx] */ 6045 PUSH32(esp, ecx); /* 0x2B062D7D: push ecx */ 6046 ecx = MEM32(edx + 0x8); /* 0x2B062D7E: mov ecx, dword ptr [edx + 8] */ 6047 edx = MEM32(edx + 0xC); /* 0x2B062D81: mov edx, dword ptr [edx + 0xc] */ 6048 PUSH32(esp, ecx); /* 0x2B062D84: push ecx */ 6049 PUSH32(esp, edx); /* 0x2B062D85: push edx */ 6050 ecx = eax; /* 0x2B062D86: mov ecx, eax */ 6051 RECOMP_ICALL(MEM32(0x2B0B54CC)); /* 0x2B062D88: call dword ptr [0x2b0b54cc] */ 6052 RECOMP_FLAGS_IN(); 6053 goto L_2B062D92; /* 0x2B062D8E: jmp 0x2b062d92 */ 6054 L_2B062D90: 6055 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6056 eax = 0; /* 0x2B062D90: xor eax, eax */ 6057 _cf = 0; 6058 _flag_k = FK_TEST; 6059 L_2B062D92: 6060 PUSH32(esp, 4); /* 0x2B062D92: push 4 */ 6061 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D94: mov byte ptr [ebp - 4], 2 */ 6062 MEM32(ebx + 0x8) = eax; /* 0x2B062D98: mov dword ptr [ebx + 8], eax */ 6063 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D9B: call 0x2b0ab212 */ /* not lifted */ 6064 RECOMP_FLAGS_IN(); 6065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6067 esp = esp + 4; /* 0x2B062DA0: add esp, 4 */ 6068 _flag_k = FK_ADD; 6069 MEM32(ebp + 0xC) = eax; /* 0x2B062DA3: mov dword ptr [ebp + 0xc], eax */ 6070 /* cmp eax, edi */ /* 0x2B062DA6: cmp eax, edi */ 6071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6073 _flag_k = FK_CMP; 6074 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B062DA8: mov byte ptr [ebp - 4], 4 */ 6075 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062DC5; /* 0x2B062DAC: je 0x2b062dc5 */ 6076 L_2B062DAE: 6077 ecx = MEM32(ebx + 0x8); /* 0x2B062DAE: mov ecx, dword ptr [ebx + 8] */ 6078 edx = MEM32(ebp + 0x10); /* 0x2B062DB1: mov edx, dword ptr [ebp + 0x10] */ 6079 PUSH32(esp, ecx); /* 0x2B062DB4: push ecx */ 6080 PUSH32(esp, 0x3E99999Au); /* 0x2B062DB5: push 0x3e99999a */ 6081 PUSH32(esp, edx); /* 0x2B062DBA: push edx */ 6082 ecx = eax; /* 0x2B062DBB: mov ecx, eax */ 6083 RECOMP_ICALL(MEM32(0x2B0B54D0)); /* 0x2B062DBD: call dword ptr [0x2b0b54d0] */ 6084 RECOMP_FLAGS_IN(); 6085 goto L_2B062DC7; /* 0x2B062DC3: jmp 0x2b062dc7 */ 6086 L_2B062DC5: 6087 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6088 eax = 0; /* 0x2B062DC5: xor eax, eax */ 6089 _cf = 0; 6090 _flag_k = FK_TEST; 6091 L_2B062DC7: 6092 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 6093 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 6094 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 6095 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 6096 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 6097 RECOMP_FLAGS_IN(); 6098 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 6099 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 6100 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 6101 RECOMP_FLAGS_IN(); 6102 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 6103 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 6104 RECOMP_FLAGS_IN(); 6105 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 6106 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 6107 fp_pop(); 6108 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 6109 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 6110 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6111 _cf = 0; 6112 _flag_k = FK_NARROW(FK_TEST, 24); 6113 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 6114 L_2B062DF9: 6115 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 6116 L_2B062E00: 6117 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 6118 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 6119 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 6120 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 6121 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 6122 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 6123 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 6124 RECOMP_FLAGS_IN(); 6125 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 6126 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 6127 RECOMP_FLAGS_IN(); 6128 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 6129 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 6130 fp_pop(); 6131 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 6132 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 6133 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 6134 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 6135 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6136 _cf = 0; 6137 _flag_k = FK_NARROW(FK_TEST, 24); 6138 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 6139 L_2B062E30: 6140 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 6141 L_2B062E37: 6142 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 6143 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6145 _flag_k = FK_CMP; 6146 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 6147 L_2B062E3C: 6148 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 6149 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 6150 fp_pop(); 6151 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 6152 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 6153 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6154 _cf = 0; 6155 _flag_k = FK_NARROW(FK_TEST, 24); 6156 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 6157 L_2B062E4C: 6158 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 6159 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 6160 L_2B062E55: 6161 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 6162 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 6163 fp_pop(); 6164 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 6165 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 6166 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6167 _cf = 0; 6168 _flag_k = FK_NARROW(FK_TEST, 24); 6169 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 6170 L_2B062E65: 6171 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 6172 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 6173 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 6174 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 6175 RECOMP_FLAGS_IN(); 6176 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 6177 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6178 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 6179 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 6180 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 6181 _cf = 0; 6182 _flag_k = FK_TEST; 6183 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 6184 L_2B062E7F: 6185 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 6186 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 6187 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 6188 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 6189 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 6190 RECOMP_FLAGS_IN(); 6191 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 6192 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 6193 _cf = 0; 6194 _flag_k = FK_TEST; 6195 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 6196 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6197 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 6198 L_2B062E9D: 6199 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 6200 L_2B062EA0: 6201 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 6202 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 6203 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 6204 RECOMP_FLAGS_IN(); 6205 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 6206 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 6207 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6209 _flag_k = FK_CMP; 6210 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 6211 L_2B062EB7: 6212 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 6213 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 6214 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6215 edx = edx - 1; /* 0x2B062EBD: dec edx */ 6216 _flag_k = FK_DEC; 6217 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 6218 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 6219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6221 _flag_k = FK_CMP; 6222 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 6223 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 6224 L_2B062EC6: 6225 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 6226 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6228 _flag_k = FK_CMP; 6229 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 6230 L_2B062ECA: 6231 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 6232 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 6233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6235 _flag_k = FK_CMP; 6236 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 6237 L_2B062ED1: 6238 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 6239 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 6240 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 6241 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6242 _cf = 0; 6243 _flag_k = FK_NARROW(FK_TEST, 24); 6244 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 6245 L_2B062EDA: 6246 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 6247 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6249 _flag_k = FK_NARROW(FK_CMP, 24); 6250 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 6251 L_2B062EDE: 6252 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6253 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 6254 _flag_k = FK_NARROW(FK_DEC, 24); 6255 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 6256 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 6257 L_2B062EE4: 6258 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 6259 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 6260 RECOMP_FLAGS_IN(); 6261 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6262 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6263 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 6264 _flag_k = FK_ADD; 6265 L_2B062EED: 6266 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 6267 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 6268 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 6269 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 6270 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 6271 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6273 _flag_k = FK_CMP; 6274 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 6275 L_2B062EFD: 6276 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 6277 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 6278 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 6279 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6280 _cf = 0; 6281 _flag_k = FK_NARROW(FK_TEST, 24); 6282 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 6283 L_2B062F06: 6284 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 6285 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6287 _flag_k = FK_NARROW(FK_CMP, 24); 6288 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 6289 L_2B062F0A: 6290 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6291 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 6292 _flag_k = FK_NARROW(FK_DEC, 24); 6293 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 6294 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 6295 L_2B062F10: 6296 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 6297 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 6298 RECOMP_FLAGS_IN(); 6299 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6300 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6301 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 6302 _flag_k = FK_ADD; 6303 L_2B062F19: 6304 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 6305 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 6306 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 6307 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 6308 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 6309 RECOMP_FLAGS_IN(); 6310 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6312 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 6313 _flag_k = FK_ADD; 6314 L_2B062F2B: 6315 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 6316 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 6317 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6319 _flag_k = FK_CMP; 6320 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 6321 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 6322 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 6323 L_2B062F34: 6324 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 6325 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 6326 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6327 _cf = 0; 6328 _flag_k = FK_NARROW(FK_TEST, 24); 6329 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 6330 L_2B062F3B: 6331 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 6332 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6334 _flag_k = FK_NARROW(FK_CMP, 24); 6335 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 6336 L_2B062F3F: 6337 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6338 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 6339 _flag_k = FK_NARROW(FK_DEC, 24); 6340 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 6341 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 6342 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 6343 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 6344 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 6345 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 6346 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 6347 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 6348 L_2B062F57: 6349 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6350 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 6351 _flag_k = FK_DEC; 6352 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 6353 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 6354 RECOMP_FLAGS_IN(); 6355 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6356 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6357 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 6358 _flag_k = FK_ADD; 6359 L_2B062F61: 6360 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 6361 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 6362 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 6363 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 6364 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 6365 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 6366 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 6367 RECOMP_REGS_OUT(); 6368 } 6369 6370 void sub_2B062D92(void) { 6371 int _fpu_cmp = 0; 6372 uint32_t _cf = 0; 6373 int _df = 1; 6374 uint32_t _flag_k = FK_NONE; 6375 uint32_t _flag_a = 0, _flag_b = 0; 6376 uint32_t _itail_tgt = 0; 6377 RECOMP_REGS_LOCALS 6378 RECOMP_ENTER(0x2B062D92u); 6379 6380 L_2B062D92: 6381 PUSH32(esp, 4); /* 0x2B062D92: push 4 */ 6382 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062D94: mov byte ptr [ebp - 4], 2 */ 6383 MEM32(ebx + 0x8) = eax; /* 0x2B062D98: mov dword ptr [ebx + 8], eax */ 6384 RECOMP_ICALL(0x2B0AB212u); /* 0x2B062D9B: call 0x2b0ab212 */ /* not lifted */ 6385 RECOMP_FLAGS_IN(); 6386 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6387 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6388 esp = esp + 4; /* 0x2B062DA0: add esp, 4 */ 6389 _flag_k = FK_ADD; 6390 MEM32(ebp + 0xC) = eax; /* 0x2B062DA3: mov dword ptr [ebp + 0xc], eax */ 6391 /* cmp eax, edi */ /* 0x2B062DA6: cmp eax, edi */ 6392 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6394 _flag_k = FK_CMP; 6395 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B062DA8: mov byte ptr [ebp - 4], 4 */ 6396 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062DC5; /* 0x2B062DAC: je 0x2b062dc5 */ 6397 L_2B062DAE: 6398 ecx = MEM32(ebx + 0x8); /* 0x2B062DAE: mov ecx, dword ptr [ebx + 8] */ 6399 edx = MEM32(ebp + 0x10); /* 0x2B062DB1: mov edx, dword ptr [ebp + 0x10] */ 6400 PUSH32(esp, ecx); /* 0x2B062DB4: push ecx */ 6401 PUSH32(esp, 0x3E99999Au); /* 0x2B062DB5: push 0x3e99999a */ 6402 PUSH32(esp, edx); /* 0x2B062DBA: push edx */ 6403 ecx = eax; /* 0x2B062DBB: mov ecx, eax */ 6404 RECOMP_ICALL(MEM32(0x2B0B54D0)); /* 0x2B062DBD: call dword ptr [0x2b0b54d0] */ 6405 RECOMP_FLAGS_IN(); 6406 goto L_2B062DC7; /* 0x2B062DC3: jmp 0x2b062dc7 */ 6407 L_2B062DC5: 6408 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 6409 eax = 0; /* 0x2B062DC5: xor eax, eax */ 6410 _cf = 0; 6411 _flag_k = FK_TEST; 6412 L_2B062DC7: 6413 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 6414 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 6415 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 6416 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 6417 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 6418 RECOMP_FLAGS_IN(); 6419 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 6420 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 6421 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 6422 RECOMP_FLAGS_IN(); 6423 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 6424 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 6425 RECOMP_FLAGS_IN(); 6426 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 6427 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 6428 fp_pop(); 6429 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 6430 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 6431 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6432 _cf = 0; 6433 _flag_k = FK_NARROW(FK_TEST, 24); 6434 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 6435 L_2B062DF9: 6436 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 6437 L_2B062E00: 6438 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 6439 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 6440 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 6441 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 6442 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 6443 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 6444 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 6445 RECOMP_FLAGS_IN(); 6446 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 6447 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 6448 RECOMP_FLAGS_IN(); 6449 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 6450 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 6451 fp_pop(); 6452 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 6453 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 6454 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 6455 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 6456 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6457 _cf = 0; 6458 _flag_k = FK_NARROW(FK_TEST, 24); 6459 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 6460 L_2B062E30: 6461 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 6462 L_2B062E37: 6463 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 6464 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6466 _flag_k = FK_CMP; 6467 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 6468 L_2B062E3C: 6469 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 6470 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 6471 fp_pop(); 6472 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 6473 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 6474 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6475 _cf = 0; 6476 _flag_k = FK_NARROW(FK_TEST, 24); 6477 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 6478 L_2B062E4C: 6479 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 6480 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 6481 L_2B062E55: 6482 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 6483 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 6484 fp_pop(); 6485 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 6486 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 6487 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6488 _cf = 0; 6489 _flag_k = FK_NARROW(FK_TEST, 24); 6490 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 6491 L_2B062E65: 6492 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 6493 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 6494 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 6495 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 6496 RECOMP_FLAGS_IN(); 6497 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 6498 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6499 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 6500 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 6501 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 6502 _cf = 0; 6503 _flag_k = FK_TEST; 6504 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 6505 L_2B062E7F: 6506 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 6507 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 6508 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 6509 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 6510 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 6511 RECOMP_FLAGS_IN(); 6512 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 6513 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 6514 _cf = 0; 6515 _flag_k = FK_TEST; 6516 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 6517 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6518 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 6519 L_2B062E9D: 6520 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 6521 L_2B062EA0: 6522 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 6523 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 6524 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 6525 RECOMP_FLAGS_IN(); 6526 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 6527 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 6528 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6530 _flag_k = FK_CMP; 6531 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 6532 L_2B062EB7: 6533 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 6534 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 6535 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6536 edx = edx - 1; /* 0x2B062EBD: dec edx */ 6537 _flag_k = FK_DEC; 6538 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 6539 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 6540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6542 _flag_k = FK_CMP; 6543 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 6544 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 6545 L_2B062EC6: 6546 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 6547 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6549 _flag_k = FK_CMP; 6550 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 6551 L_2B062ECA: 6552 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 6553 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 6554 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6556 _flag_k = FK_CMP; 6557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 6558 L_2B062ED1: 6559 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 6560 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 6561 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 6562 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6563 _cf = 0; 6564 _flag_k = FK_NARROW(FK_TEST, 24); 6565 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 6566 L_2B062EDA: 6567 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 6568 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6570 _flag_k = FK_NARROW(FK_CMP, 24); 6571 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 6572 L_2B062EDE: 6573 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6574 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 6575 _flag_k = FK_NARROW(FK_DEC, 24); 6576 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 6577 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 6578 L_2B062EE4: 6579 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 6580 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 6581 RECOMP_FLAGS_IN(); 6582 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6584 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 6585 _flag_k = FK_ADD; 6586 L_2B062EED: 6587 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 6588 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 6589 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 6590 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 6591 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 6592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6594 _flag_k = FK_CMP; 6595 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 6596 L_2B062EFD: 6597 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 6598 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 6599 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 6600 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6601 _cf = 0; 6602 _flag_k = FK_NARROW(FK_TEST, 24); 6603 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 6604 L_2B062F06: 6605 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 6606 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6608 _flag_k = FK_NARROW(FK_CMP, 24); 6609 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 6610 L_2B062F0A: 6611 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6612 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 6613 _flag_k = FK_NARROW(FK_DEC, 24); 6614 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 6615 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 6616 L_2B062F10: 6617 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 6618 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 6619 RECOMP_FLAGS_IN(); 6620 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6621 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6622 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 6623 _flag_k = FK_ADD; 6624 L_2B062F19: 6625 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 6626 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 6627 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 6628 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 6629 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 6630 RECOMP_FLAGS_IN(); 6631 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6633 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 6634 _flag_k = FK_ADD; 6635 L_2B062F2B: 6636 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 6637 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 6638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6640 _flag_k = FK_CMP; 6641 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 6642 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 6643 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 6644 L_2B062F34: 6645 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 6646 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 6647 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6648 _cf = 0; 6649 _flag_k = FK_NARROW(FK_TEST, 24); 6650 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 6651 L_2B062F3B: 6652 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 6653 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6655 _flag_k = FK_NARROW(FK_CMP, 24); 6656 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 6657 L_2B062F3F: 6658 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6659 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 6660 _flag_k = FK_NARROW(FK_DEC, 24); 6661 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 6662 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 6663 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 6664 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 6665 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 6666 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 6667 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 6668 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 6669 L_2B062F57: 6670 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6671 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 6672 _flag_k = FK_DEC; 6673 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 6674 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 6675 RECOMP_FLAGS_IN(); 6676 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6677 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6678 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 6679 _flag_k = FK_ADD; 6680 L_2B062F61: 6681 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 6682 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 6683 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 6684 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 6685 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 6686 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 6687 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 6688 RECOMP_REGS_OUT(); 6689 } 6690 6691 void sub_2B062DC7(void) { 6692 int _fpu_cmp = 0; 6693 uint32_t _cf = 0; 6694 int _df = 1; 6695 uint32_t _flag_k = FK_NONE; 6696 uint32_t _flag_a = 0, _flag_b = 0; 6697 uint32_t _itail_tgt = 0; 6698 RECOMP_REGS_LOCALS 6699 RECOMP_ENTER(0x2B062DC7u); 6700 6701 L_2B062DC7: 6702 PUSH32(esp, 7); /* 0x2B062DC7: push 7 */ 6703 ecx = eax; /* 0x2B062DC9: mov ecx, eax */ 6704 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B062DCB: mov byte ptr [ebp - 4], 2 */ 6705 MEM32(ebx + 0x10) = eax; /* 0x2B062DCF: mov dword ptr [ebx + 0x10], eax */ 6706 RECOMP_ICALL(MEM32(0x2B0B5480)); /* 0x2B062DD2: call dword ptr [0x2b0b5480] */ 6707 RECOMP_FLAGS_IN(); 6708 esi = MEM32(0x2B0B5D6C); /* 0x2B062DD8: mov esi, dword ptr [0x2b0b5d6c] */ 6709 PUSH32(esp, ebx); /* 0x2B062DDE: push ebx */ 6710 RECOMP_ICALL(esi); /* 0x2B062DDF: call esi */ 6711 RECOMP_FLAGS_IN(); 6712 ecx = eax; /* 0x2B062DE1: mov ecx, eax */ 6713 RECOMP_ICALL(MEM32(0x2B0B5DF0)); /* 0x2B062DE3: call dword ptr [0x2b0b5df0] */ 6714 RECOMP_FLAGS_IN(); 6715 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062DE9: fst dword ptr [ebx + 0x1c] */ 6716 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062DEC: fcomp dword ptr [0x2b0b61b8] */ 6717 fp_pop(); 6718 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062DF2: fnstsw ax */ 6719 /* test HI8(eax), 0x41u */ /* 0x2B062DF4: test ah, 0x41 */ 6720 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6721 _cf = 0; 6722 _flag_k = FK_NARROW(FK_TEST, 24); 6723 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E00; /* 0x2B062DF7: je 0x2b062e00 */ 6724 L_2B062DF9: 6725 MEM32(ebx + 0x1C) = 0x3FF33333u; /* 0x2B062DF9: mov dword ptr [ebx + 0x1c], 0x3ff33333 */ 6726 L_2B062E00: 6727 fp_push(*(float*)&MEM32(ebx + 0x1C)); /* 0x2B062E00: fld dword ptr [ebx + 0x1c] */ 6728 eax = ebp + (-0x30); /* 0x2B062E03: lea eax, [ebp - 0x30] */ 6729 _st[0] += (double)*(float*)ADDR(0x2B0B6490); /* 0x2B062E06: fadd dword ptr [0x2b0b6490] */ 6730 PUSH32(esp, eax); /* 0x2B062E0C: push eax */ 6731 PUSH32(esp, ebx); /* 0x2B062E0D: push ebx */ 6732 { float _v = (float)fp_pop(); *(float*)ADDR(ebx + 0x1C) = _v; } /* 0x2B062E0E: fstp dword ptr [ebx + 0x1c] */ 6733 RECOMP_ICALL(esi); /* 0x2B062E11: call esi */ 6734 RECOMP_FLAGS_IN(); 6735 ecx = eax; /* 0x2B062E13: mov ecx, eax */ 6736 RECOMP_ICALL(MEM32(0x2B0B5DF4)); /* 0x2B062E15: call dword ptr [0x2b0b5df4] */ 6737 RECOMP_FLAGS_IN(); 6738 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E1B: fld dword ptr [ebp - 0x30] */ 6739 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B63D0)); /* 0x2B062E1E: fcomp dword ptr [0x2b0b63d0] */ 6740 fp_pop(); 6741 ecx = eax; /* 0x2B062E24: mov ecx, eax */ 6742 MEM32(ebx + 0x24) = ecx; /* 0x2B062E26: mov dword ptr [ebx + 0x24], ecx */ 6743 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E29: fnstsw ax */ 6744 /* test HI8(eax), 0x41u */ /* 0x2B062E2B: test ah, 0x41 */ 6745 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 6746 _cf = 0; 6747 _flag_k = FK_NARROW(FK_TEST, 24); 6748 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B062E37; /* 0x2B062E2E: jne 0x2b062e37 */ 6749 L_2B062E30: 6750 MEM32(ebp + (-0x30)) = 0x3F800000u; /* 0x2B062E30: mov dword ptr [ebp - 0x30], 0x3f800000 */ 6751 L_2B062E37: 6752 /* cmp ecx, 3 */ /* 0x2B062E37: cmp ecx, 3 */ 6753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 6754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6755 _flag_k = FK_CMP; 6756 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062EA0; /* 0x2B062E3A: jne 0x2b062ea0 */ 6757 L_2B062E3C: 6758 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E3C: fld dword ptr [ebp - 0x30] */ 6759 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B062E3F: fcomp dword ptr [0x2b0b61b8] */ 6760 fp_pop(); 6761 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E45: fnstsw ax */ 6762 /* test HI8(eax), 1 */ /* 0x2B062E47: test ah, 1 */ 6763 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6764 _cf = 0; 6765 _flag_k = FK_NARROW(FK_TEST, 24); 6766 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E55; /* 0x2B062E4A: je 0x2b062e55 */ 6767 L_2B062E4C: 6768 MEM32(ebx + 0x20) = 0x00AAAAAAu; /* 0x2B062E4C: mov dword ptr [ebx + 0x20], 0xaaaaaa */ 6769 goto L_2B062EA0; /* 0x2B062E53: jmp 0x2b062ea0 */ 6770 L_2B062E55: 6771 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E55: fld dword ptr [ebp - 0x30] */ 6772 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6548)); /* 0x2B062E58: fcomp dword ptr [0x2b0b6548] */ 6773 fp_pop(); 6774 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B062E5E: fnstsw ax */ 6775 /* test HI8(eax), 1 */ /* 0x2B062E60: test ah, 1 */ 6776 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6777 _cf = 0; 6778 _flag_k = FK_NARROW(FK_TEST, 24); 6779 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062E7F; /* 0x2B062E63: je 0x2b062e7f */ 6780 L_2B062E65: 6781 fp_push(*(float*)&MEM32(ebp + (-0x30))); /* 0x2B062E65: fld dword ptr [ebp - 0x30] */ 6782 _st[0] *= (double)*(float*)ADDR(0x2B0B6888); /* 0x2B062E68: fmul dword ptr [0x2b0b6888] */ 6783 _st[0] += _st[0]; /* 0x2B062E6E: fadd st(0), st(0) */ 6784 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E70: call 0x2b0ab220 */ /* not lifted */ 6785 RECOMP_FLAGS_IN(); 6786 if (16u) _cf = (((eax) >> 16) & 1u); /* 0x2B062E75: shl eax, 0x10 */ 6787 if (16u) { _flag_a = recomp_flags_pack((eax << 16u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6788 eax = eax << 16u; /* 0x2B062E75: shl eax, 0x10 */ 6789 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 6790 eax = eax | 0xFF00u; /* 0x2B062E78: or eax, 0xff00 */ 6791 _cf = 0; 6792 _flag_k = FK_TEST; 6793 goto L_2B062E9D; /* 0x2B062E7D: jmp 0x2b062e9d */ 6794 L_2B062E7F: 6795 fp_push(*(float*)&MEM32(0x2B0B63D0)); /* 0x2B062E7F: fld dword ptr [0x2b0b63d0] */ 6796 _st[0] -= (double)*(float*)ADDR(ebp + (-0x30)); /* 0x2B062E85: fsub dword ptr [ebp - 0x30] */ 6797 _st[0] *= (double)*(float*)ADDR(0x2B0B6D0C); /* 0x2B062E88: fmul dword ptr [0x2b0b6d0c] */ 6798 _st[0] += _st[0]; /* 0x2B062E8E: fadd st(0), st(0) */ 6799 RECOMP_ICALL(0x2B0AB220u); /* 0x2B062E90: call 0x2b0ab220 */ /* not lifted */ 6800 RECOMP_FLAGS_IN(); 6801 _flag_a = (uint32_t)((eax | 0xFF00u)); _flag_b = (uint32_t)((eax | 0xFF00u)); 6802 eax = eax | 0xFF00u; /* 0x2B062E95: or eax, 0xff00 */ 6803 _cf = 0; 6804 _flag_k = FK_TEST; 6805 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x2B062E9A: shl eax, 8 */ 6806 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 6807 eax = eax << 8u; /* 0x2B062E9A: shl eax, 8 */ 6808 L_2B062E9D: 6809 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 6810 L_2B062EA0: 6811 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 6812 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 6813 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 6814 RECOMP_FLAGS_IN(); 6815 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 6816 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 6817 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6819 _flag_k = FK_CMP; 6820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 6821 L_2B062EB7: 6822 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 6823 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 6824 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 6825 edx = edx - 1; /* 0x2B062EBD: dec edx */ 6826 _flag_k = FK_DEC; 6827 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 6828 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 6829 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6831 _flag_k = FK_CMP; 6832 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 6833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 6834 L_2B062EC6: 6835 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 6836 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6838 _flag_k = FK_CMP; 6839 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 6840 L_2B062ECA: 6841 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 6842 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 6843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6845 _flag_k = FK_CMP; 6846 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 6847 L_2B062ED1: 6848 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 6849 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 6850 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 6851 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6852 _cf = 0; 6853 _flag_k = FK_NARROW(FK_TEST, 24); 6854 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 6855 L_2B062EDA: 6856 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 6857 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6859 _flag_k = FK_NARROW(FK_CMP, 24); 6860 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 6861 L_2B062EDE: 6862 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6863 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 6864 _flag_k = FK_NARROW(FK_DEC, 24); 6865 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 6866 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 6867 L_2B062EE4: 6868 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 6869 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 6870 RECOMP_FLAGS_IN(); 6871 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6872 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6873 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 6874 _flag_k = FK_ADD; 6875 L_2B062EED: 6876 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 6877 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 6878 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 6879 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 6880 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 6881 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 6882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6883 _flag_k = FK_CMP; 6884 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 6885 L_2B062EFD: 6886 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 6887 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 6888 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 6889 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6890 _cf = 0; 6891 _flag_k = FK_NARROW(FK_TEST, 24); 6892 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 6893 L_2B062F06: 6894 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 6895 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6897 _flag_k = FK_NARROW(FK_CMP, 24); 6898 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 6899 L_2B062F0A: 6900 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6901 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 6902 _flag_k = FK_NARROW(FK_DEC, 24); 6903 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 6904 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 6905 L_2B062F10: 6906 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 6907 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 6908 RECOMP_FLAGS_IN(); 6909 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6910 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6911 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 6912 _flag_k = FK_ADD; 6913 L_2B062F19: 6914 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 6915 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 6916 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 6917 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 6918 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 6919 RECOMP_FLAGS_IN(); 6920 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6921 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6922 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 6923 _flag_k = FK_ADD; 6924 L_2B062F2B: 6925 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 6926 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 6927 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 6928 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6929 _flag_k = FK_CMP; 6930 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 6931 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 6932 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 6933 L_2B062F34: 6934 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 6935 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 6936 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 6937 _cf = 0; 6938 _flag_k = FK_NARROW(FK_TEST, 24); 6939 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 6940 L_2B062F3B: 6941 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 6942 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 6943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6944 _flag_k = FK_NARROW(FK_CMP, 24); 6945 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 6946 L_2B062F3F: 6947 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 6948 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 6949 _flag_k = FK_NARROW(FK_DEC, 24); 6950 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 6951 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 6952 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 6953 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 6954 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 6955 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 6956 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 6957 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 6958 L_2B062F57: 6959 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6960 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 6961 _flag_k = FK_DEC; 6962 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 6963 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 6964 RECOMP_FLAGS_IN(); 6965 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6966 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6967 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 6968 _flag_k = FK_ADD; 6969 L_2B062F61: 6970 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 6971 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 6972 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 6973 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 6974 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 6975 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 6976 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 6977 RECOMP_REGS_OUT(); 6978 } 6979 6980 void sub_2B062E9D(void) { 6981 int _fpu_cmp = 0; 6982 uint32_t _cf = 0; 6983 int _df = 1; 6984 uint32_t _flag_k = FK_NONE; 6985 uint32_t _flag_a = 0, _flag_b = 0; 6986 uint32_t _itail_tgt = 0; 6987 RECOMP_REGS_LOCALS 6988 RECOMP_ENTER(0x2B062E9Du); 6989 6990 L_2B062E9D: 6991 MEM32(ebx + 0x20) = eax; /* 0x2B062E9D: mov dword ptr [ebx + 0x20], eax */ 6992 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 6993 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 6994 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 6995 RECOMP_FLAGS_IN(); 6996 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 6997 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 6998 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 6999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7000 _flag_k = FK_CMP; 7001 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 7002 L_2B062EB7: 7003 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 7004 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 7005 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 7006 edx = edx - 1; /* 0x2B062EBD: dec edx */ 7007 _flag_k = FK_DEC; 7008 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 7009 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 7010 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7012 _flag_k = FK_CMP; 7013 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 7014 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 7015 L_2B062EC6: 7016 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 7017 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 7018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7019 _flag_k = FK_CMP; 7020 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 7021 L_2B062ECA: 7022 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 7023 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 7024 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7026 _flag_k = FK_CMP; 7027 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 7028 L_2B062ED1: 7029 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 7030 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 7031 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 7032 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7033 _cf = 0; 7034 _flag_k = FK_NARROW(FK_TEST, 24); 7035 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 7036 L_2B062EDA: 7037 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 7038 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7040 _flag_k = FK_NARROW(FK_CMP, 24); 7041 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 7042 L_2B062EDE: 7043 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7044 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 7045 _flag_k = FK_NARROW(FK_DEC, 24); 7046 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 7047 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 7048 L_2B062EE4: 7049 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 7050 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 7051 RECOMP_FLAGS_IN(); 7052 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7053 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7054 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 7055 _flag_k = FK_ADD; 7056 L_2B062EED: 7057 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 7058 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 7059 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 7060 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 7061 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 7062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7064 _flag_k = FK_CMP; 7065 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 7066 L_2B062EFD: 7067 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 7068 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 7069 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 7070 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7071 _cf = 0; 7072 _flag_k = FK_NARROW(FK_TEST, 24); 7073 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 7074 L_2B062F06: 7075 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 7076 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7078 _flag_k = FK_NARROW(FK_CMP, 24); 7079 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 7080 L_2B062F0A: 7081 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7082 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 7083 _flag_k = FK_NARROW(FK_DEC, 24); 7084 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 7085 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 7086 L_2B062F10: 7087 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 7088 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 7089 RECOMP_FLAGS_IN(); 7090 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7091 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7092 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 7093 _flag_k = FK_ADD; 7094 L_2B062F19: 7095 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 7096 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 7097 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 7098 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 7099 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 7100 RECOMP_FLAGS_IN(); 7101 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7102 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7103 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 7104 _flag_k = FK_ADD; 7105 L_2B062F2B: 7106 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 7107 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 7108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7110 _flag_k = FK_CMP; 7111 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 7112 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 7113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 7114 L_2B062F34: 7115 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 7116 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 7117 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7118 _cf = 0; 7119 _flag_k = FK_NARROW(FK_TEST, 24); 7120 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 7121 L_2B062F3B: 7122 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 7123 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7125 _flag_k = FK_NARROW(FK_CMP, 24); 7126 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 7127 L_2B062F3F: 7128 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7129 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 7130 _flag_k = FK_NARROW(FK_DEC, 24); 7131 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 7132 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 7133 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 7134 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 7135 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 7136 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 7137 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 7138 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 7139 L_2B062F57: 7140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7141 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 7142 _flag_k = FK_DEC; 7143 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 7144 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 7145 RECOMP_FLAGS_IN(); 7146 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7147 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7148 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 7149 _flag_k = FK_ADD; 7150 L_2B062F61: 7151 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 7152 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 7153 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 7154 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 7155 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 7156 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 7157 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 7158 RECOMP_REGS_OUT(); 7159 } 7160 7161 void sub_2B062EA0(void) { 7162 int _fpu_cmp = 0; 7163 uint32_t _cf = 0; 7164 int _df = 1; 7165 uint32_t _flag_k = FK_NONE; 7166 uint32_t _flag_a = 0, _flag_b = 0; 7167 uint32_t _itail_tgt = 0; 7168 RECOMP_REGS_LOCALS 7169 RECOMP_ENTER(0x2B062EA0u); 7170 7171 L_2B062EA0: 7172 ecx = ebp + (-0x98); /* 0x2B062EA0: lea ecx, [ebp - 0x98] */ 7173 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B062EA6: mov byte ptr [ebp - 4], 0 */ 7174 RECOMP_ICALL(MEM32(0x2B0B5BBC)); /* 0x2B062EAA: call dword ptr [0x2b0b5bbc] */ 7175 RECOMP_FLAGS_IN(); 7176 esi = MEM32(ebp + (-0x18)); /* 0x2B062EB0: mov esi, dword ptr [ebp - 0x18] */ 7177 /* cmp esi, edi */ /* 0x2B062EB3: cmp esi, edi */ 7178 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 7179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7180 _flag_k = FK_CMP; 7181 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EB5: je 0x2b062f2b */ 7182 L_2B062EB7: 7183 edx = MEM32(esi + 0x2C); /* 0x2B062EB7: mov edx, dword ptr [esi + 0x2c] */ 7184 eax = esi + 0x2C; /* 0x2B062EBA: lea eax, [esi + 0x2c] */ 7185 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 7186 edx = edx - 1; /* 0x2B062EBD: dec edx */ 7187 _flag_k = FK_DEC; 7188 ecx = edx; /* 0x2B062EBE: mov ecx, edx */ 7189 /* cmp ecx, edi */ /* 0x2B062EC0: cmp ecx, edi */ 7190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7192 _flag_k = FK_CMP; 7193 MEM32(eax) = edx; /* 0x2B062EC2: mov dword ptr [eax], edx */ 7194 if (CMP_NE(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC4: jne 0x2b062f2b */ 7195 L_2B062EC6: 7196 /* cmp esi, edi */ /* 0x2B062EC6: cmp esi, edi */ 7197 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 7198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7199 _flag_k = FK_CMP; 7200 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F2B; /* 0x2B062EC8: je 0x2b062f2b */ 7201 L_2B062ECA: 7202 eax = MEM32(esi + 0x20); /* 0x2B062ECA: mov eax, dword ptr [esi + 0x20] */ 7203 /* cmp eax, edi */ /* 0x2B062ECD: cmp eax, edi */ 7204 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7206 _flag_k = FK_CMP; 7207 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EED; /* 0x2B062ECF: je 0x2b062eed */ 7208 L_2B062ED1: 7209 ecx = eax + (-0x1); /* 0x2B062ED1: lea ecx, [eax - 1] */ 7210 SET_LO8(eax, MEM8(ecx)); /* 0x2B062ED4: mov al, byte ptr [ecx] */ 7211 /* test LO8(eax), LO8(eax) */ /* 0x2B062ED6: test al, al */ 7212 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7213 _cf = 0; 7214 _flag_k = FK_NARROW(FK_TEST, 24); 7215 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062ED8: je 0x2b062ee4 */ 7216 L_2B062EDA: 7217 /* cmp LO8(eax), 0xFFu */ /* 0x2B062EDA: cmp al, 0xff */ 7218 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7220 _flag_k = FK_NARROW(FK_CMP, 24); 7221 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062EE4; /* 0x2B062EDC: je 0x2b062ee4 */ 7222 L_2B062EDE: 7223 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7224 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062EDE: dec al */ 7225 _flag_k = FK_NARROW(FK_DEC, 24); 7226 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062EE0: mov byte ptr [ecx], al */ 7227 goto L_2B062EED; /* 0x2B062EE2: jmp 0x2b062eed */ 7228 L_2B062EE4: 7229 PUSH32(esp, ecx); /* 0x2B062EE4: push ecx */ 7230 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062EE5: call 0x2b0ab1ba */ /* not lifted */ 7231 RECOMP_FLAGS_IN(); 7232 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7233 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7234 esp = esp + 4; /* 0x2B062EEA: add esp, 4 */ 7235 _flag_k = FK_ADD; 7236 L_2B062EED: 7237 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 7238 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 7239 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 7240 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 7241 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 7242 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7244 _flag_k = FK_CMP; 7245 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 7246 L_2B062EFD: 7247 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 7248 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 7249 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 7250 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7251 _cf = 0; 7252 _flag_k = FK_NARROW(FK_TEST, 24); 7253 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 7254 L_2B062F06: 7255 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 7256 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7258 _flag_k = FK_NARROW(FK_CMP, 24); 7259 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 7260 L_2B062F0A: 7261 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7262 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 7263 _flag_k = FK_NARROW(FK_DEC, 24); 7264 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 7265 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 7266 L_2B062F10: 7267 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 7268 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 7269 RECOMP_FLAGS_IN(); 7270 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7271 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7272 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 7273 _flag_k = FK_ADD; 7274 L_2B062F19: 7275 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 7276 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 7277 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 7278 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 7279 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 7280 RECOMP_FLAGS_IN(); 7281 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7282 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7283 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 7284 _flag_k = FK_ADD; 7285 L_2B062F2B: 7286 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 7287 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 7288 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7290 _flag_k = FK_CMP; 7291 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 7292 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 7293 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 7294 L_2B062F34: 7295 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 7296 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 7297 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7298 _cf = 0; 7299 _flag_k = FK_NARROW(FK_TEST, 24); 7300 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 7301 L_2B062F3B: 7302 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 7303 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7305 _flag_k = FK_NARROW(FK_CMP, 24); 7306 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 7307 L_2B062F3F: 7308 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7309 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 7310 _flag_k = FK_NARROW(FK_DEC, 24); 7311 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 7312 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 7313 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 7314 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 7315 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 7316 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 7317 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 7318 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 7319 L_2B062F57: 7320 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7321 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 7322 _flag_k = FK_DEC; 7323 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 7324 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 7325 RECOMP_FLAGS_IN(); 7326 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7328 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 7329 _flag_k = FK_ADD; 7330 L_2B062F61: 7331 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 7332 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 7333 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 7334 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 7335 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 7336 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 7337 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 7338 RECOMP_REGS_OUT(); 7339 } 7340 7341 void sub_2B062EED(void) { 7342 int _fpu_cmp = 0; 7343 uint32_t _cf = 0; 7344 int _df = 1; 7345 uint32_t _flag_k = FK_NONE; 7346 uint32_t _flag_a = 0, _flag_b = 0; 7347 uint32_t _itail_tgt = 0; 7348 RECOMP_REGS_LOCALS 7349 RECOMP_ENTER(0x2B062EEDu); 7350 7351 L_2B062EED: 7352 MEM32(esi + 0x20) = edi; /* 0x2B062EED: mov dword ptr [esi + 0x20], edi */ 7353 MEM32(esi + 0x24) = edi; /* 0x2B062EF0: mov dword ptr [esi + 0x24], edi */ 7354 MEM32(esi + 0x28) = edi; /* 0x2B062EF3: mov dword ptr [esi + 0x28], edi */ 7355 eax = MEM32(esi + 0x10); /* 0x2B062EF6: mov eax, dword ptr [esi + 0x10] */ 7356 /* cmp eax, edi */ /* 0x2B062EF9: cmp eax, edi */ 7357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 7358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7359 _flag_k = FK_CMP; 7360 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F19; /* 0x2B062EFB: je 0x2b062f19 */ 7361 L_2B062EFD: 7362 ecx = eax + (-0x1); /* 0x2B062EFD: lea ecx, [eax - 1] */ 7363 SET_LO8(eax, MEM8(ecx)); /* 0x2B062F00: mov al, byte ptr [ecx] */ 7364 /* test LO8(eax), LO8(eax) */ /* 0x2B062F02: test al, al */ 7365 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7366 _cf = 0; 7367 _flag_k = FK_NARROW(FK_TEST, 24); 7368 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F04: je 0x2b062f10 */ 7369 L_2B062F06: 7370 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F06: cmp al, 0xff */ 7371 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7373 _flag_k = FK_NARROW(FK_CMP, 24); 7374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F10; /* 0x2B062F08: je 0x2b062f10 */ 7375 L_2B062F0A: 7376 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7377 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F0A: dec al */ 7378 _flag_k = FK_NARROW(FK_DEC, 24); 7379 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B062F0C: mov byte ptr [ecx], al */ 7380 goto L_2B062F19; /* 0x2B062F0E: jmp 0x2b062f19 */ 7381 L_2B062F10: 7382 PUSH32(esp, ecx); /* 0x2B062F10: push ecx */ 7383 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F11: call 0x2b0ab1ba */ /* not lifted */ 7384 RECOMP_FLAGS_IN(); 7385 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7386 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7387 esp = esp + 4; /* 0x2B062F16: add esp, 4 */ 7388 _flag_k = FK_ADD; 7389 L_2B062F19: 7390 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 7391 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 7392 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 7393 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 7394 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 7395 RECOMP_FLAGS_IN(); 7396 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7397 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7398 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 7399 _flag_k = FK_ADD; 7400 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 7401 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 7402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7404 _flag_k = FK_CMP; 7405 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 7406 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 7407 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 7408 L_2B062F34: 7409 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 7410 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 7411 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7412 _cf = 0; 7413 _flag_k = FK_NARROW(FK_TEST, 24); 7414 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 7415 L_2B062F3B: 7416 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 7417 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7419 _flag_k = FK_NARROW(FK_CMP, 24); 7420 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 7421 L_2B062F3F: 7422 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7423 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 7424 _flag_k = FK_NARROW(FK_DEC, 24); 7425 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 7426 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 7427 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 7428 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 7429 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 7430 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 7431 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 7432 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 7433 L_2B062F57: 7434 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7435 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 7436 _flag_k = FK_DEC; 7437 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 7438 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 7439 RECOMP_FLAGS_IN(); 7440 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7441 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7442 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 7443 _flag_k = FK_ADD; 7444 L_2B062F61: 7445 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 7446 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 7447 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 7448 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 7449 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 7450 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 7451 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 7452 RECOMP_REGS_OUT(); 7453 } 7454 7455 void sub_2B062F19(void) { 7456 int _fpu_cmp = 0; 7457 uint32_t _cf = 0; 7458 int _df = 1; 7459 uint32_t _flag_k = FK_NONE; 7460 uint32_t _flag_a = 0, _flag_b = 0; 7461 uint32_t _itail_tgt = 0; 7462 RECOMP_REGS_LOCALS 7463 RECOMP_ENTER(0x2B062F19u); 7464 7465 L_2B062F19: 7466 PUSH32(esp, esi); /* 0x2B062F19: push esi */ 7467 MEM32(esi + 0x10) = edi; /* 0x2B062F1A: mov dword ptr [esi + 0x10], edi */ 7468 MEM32(esi + 0x14) = edi; /* 0x2B062F1D: mov dword ptr [esi + 0x14], edi */ 7469 MEM32(esi + 0x18) = edi; /* 0x2B062F20: mov dword ptr [esi + 0x18], edi */ 7470 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F23: call 0x2b0ab1ba */ /* not lifted */ 7471 RECOMP_FLAGS_IN(); 7472 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7473 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7474 esp = esp + 4; /* 0x2B062F28: add esp, 4 */ 7475 _flag_k = FK_ADD; 7476 ecx = MEM32(ebp + (-0x24)); /* 0x2B062F2B: mov ecx, dword ptr [ebp - 0x24] */ 7477 /* cmp ecx, edi */ /* 0x2B062F2E: cmp ecx, edi */ 7478 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 7479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7480 _flag_k = FK_CMP; 7481 edi = POP32_VAL(esp); /* 0x2B062F30: pop edi */ 7482 esi = POP32_VAL(esp); /* 0x2B062F31: pop esi */ 7483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F61; /* 0x2B062F32: je 0x2b062f61 */ 7484 L_2B062F34: 7485 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B062F34: mov al, byte ptr [ecx - 1] */ 7486 /* test LO8(eax), LO8(eax) */ /* 0x2B062F37: test al, al */ 7487 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7488 _cf = 0; 7489 _flag_k = FK_NARROW(FK_TEST, 24); 7490 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F39: je 0x2b062f57 */ 7491 L_2B062F3B: 7492 /* cmp LO8(eax), 0xFFu */ /* 0x2B062F3B: cmp al, 0xff */ 7493 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 7494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7495 _flag_k = FK_NARROW(FK_CMP, 24); 7496 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B062F57; /* 0x2B062F3D: je 0x2b062f57 */ 7497 L_2B062F3F: 7498 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 7499 SET_LO8(eax, LO8(eax) - 1); /* 0x2B062F3F: dec al */ 7500 _flag_k = FK_NARROW(FK_DEC, 24); 7501 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B062F41: mov byte ptr [ecx - 1], al */ 7502 eax = ebx; /* 0x2B062F44: mov eax, ebx */ 7503 ebx = POP32_VAL(esp); /* 0x2B062F46: pop ebx */ 7504 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F47: mov ecx, dword ptr [ebp - 0xc] */ 7505 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F4A: mov dword ptr fs:[0], ecx */ 7506 esp = ebp; /* 0x2B062F51: mov esp, ebp */ 7507 ebp = POP32_VAL(esp); /* 0x2B062F53: pop ebp */ 7508 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F54: ret 0xc */ 7509 L_2B062F57: 7510 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7511 ecx = ecx - 1; /* 0x2B062F57: dec ecx */ 7512 _flag_k = FK_DEC; 7513 PUSH32(esp, ecx); /* 0x2B062F58: push ecx */ 7514 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F59: call 0x2b0ab1ba */ /* not lifted */ 7515 RECOMP_FLAGS_IN(); 7516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7518 esp = esp + 4; /* 0x2B062F5E: add esp, 4 */ 7519 _flag_k = FK_ADD; 7520 L_2B062F61: 7521 ecx = MEM32(ebp + (-0xC)); /* 0x2B062F61: mov ecx, dword ptr [ebp - 0xc] */ 7522 eax = ebx; /* 0x2B062F64: mov eax, ebx */ 7523 ebx = POP32_VAL(esp); /* 0x2B062F66: pop ebx */ 7524 MEM32(FS_BASE + (0)) = ecx; /* 0x2B062F67: mov dword ptr fs:[0], ecx */ 7525 esp = ebp; /* 0x2B062F6E: mov esp, ebp */ 7526 ebp = POP32_VAL(esp); /* 0x2B062F70: pop ebp */ 7527 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B062F71: ret 0xc */ 7528 RECOMP_REGS_OUT(); 7529 } 7530 7531 void sub_2B062F80(void) { 7532 int _fpu_cmp = 0; 7533 uint32_t _cf = 0; 7534 int _df = 1; 7535 uint32_t _flag_k = FK_NONE; 7536 uint32_t _flag_a = 0, _flag_b = 0; 7537 uint32_t _itail_tgt = 0; 7538 RECOMP_REGS_LOCALS 7539 RECOMP_ENTER(0x2B062F80u); 7540 7541 L_2B062F80: 7542 PUSH32(esp, esi); /* 0x2B062F80: push esi */ 7543 esi = ecx; /* 0x2B062F81: mov esi, ecx */ 7544 PUSH32(esp, edi); /* 0x2B062F83: push edi */ 7545 edi = MEM32(esi + 0x10); /* 0x2B062F84: mov edi, dword ptr [esi + 0x10] */ 7546 /* test edi, edi */ /* 0x2B062F87: test edi, edi */ 7547 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7548 _cf = 0; 7549 _flag_k = FK_TEST; 7550 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062F9C; /* 0x2B062F89: je 0x2b062f9c */ 7551 L_2B062F8B: 7552 ecx = edi; /* 0x2B062F8B: mov ecx, edi */ 7553 RECOMP_ICALL(MEM32(0x2B0B54C4)); /* 0x2B062F8D: call dword ptr [0x2b0b54c4] */ 7554 RECOMP_FLAGS_IN(); 7555 PUSH32(esp, edi); /* 0x2B062F93: push edi */ 7556 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062F94: call 0x2b0ab1ba */ /* not lifted */ 7557 RECOMP_FLAGS_IN(); 7558 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7559 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7560 esp = esp + 4; /* 0x2B062F99: add esp, 4 */ 7561 _flag_k = FK_ADD; 7562 L_2B062F9C: 7563 edi = MEM32(esi + 0x8); /* 0x2B062F9C: mov edi, dword ptr [esi + 8] */ 7564 /* test edi, edi */ /* 0x2B062F9F: test edi, edi */ 7565 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 7566 _cf = 0; 7567 _flag_k = FK_TEST; 7568 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062FB4; /* 0x2B062FA1: je 0x2b062fb4 */ 7569 L_2B062FA3: 7570 ecx = edi; /* 0x2B062FA3: mov ecx, edi */ 7571 RECOMP_ICALL(MEM32(0x2B0B54C8)); /* 0x2B062FA5: call dword ptr [0x2b0b54c8] */ 7572 RECOMP_FLAGS_IN(); 7573 PUSH32(esp, edi); /* 0x2B062FAB: push edi */ 7574 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062FAC: call 0x2b0ab1ba */ /* not lifted */ 7575 RECOMP_FLAGS_IN(); 7576 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7577 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7578 esp = esp + 4; /* 0x2B062FB1: add esp, 4 */ 7579 _flag_k = FK_ADD; 7580 L_2B062FB4: 7581 esi = MEM32(esi + 0xC); /* 0x2B062FB4: mov esi, dword ptr [esi + 0xc] */ 7582 /* test esi, esi */ /* 0x2B062FB7: test esi, esi */ 7583 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 7584 _cf = 0; 7585 _flag_k = FK_TEST; 7586 if (TEST_Z(_flag_a, _flag_b)) goto L_2B062FCC; /* 0x2B062FB9: je 0x2b062fcc */ 7587 L_2B062FBB: 7588 ecx = esi; /* 0x2B062FBB: mov ecx, esi */ 7589 RECOMP_ICALL(MEM32(0x2B0B5644)); /* 0x2B062FBD: call dword ptr [0x2b0b5644] */ 7590 RECOMP_FLAGS_IN(); 7591 PUSH32(esp, esi); /* 0x2B062FC3: push esi */ 7592 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B062FC4: call 0x2b0ab1ba */ /* not lifted */ 7593 RECOMP_FLAGS_IN(); 7594 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7595 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7596 esp = esp + 4; /* 0x2B062FC9: add esp, 4 */ 7597 _flag_k = FK_ADD; 7598 L_2B062FCC: 7599 edi = POP32_VAL(esp); /* 0x2B062FCC: pop edi */ 7600 esi = POP32_VAL(esp); /* 0x2B062FCD: pop esi */ 7601 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B062FCE: ret */ 7602 RECOMP_REGS_OUT(); 7603 } 7604 7605 void sub_2B062FD0(void) { 7606 int _fpu_cmp = 0; 7607 uint32_t _cf = 0; 7608 int _df = 1; 7609 uint32_t _flag_k = FK_NONE; 7610 uint32_t _flag_a = 0, _flag_b = 0; 7611 uint32_t _itail_tgt = 0; 7612 RECOMP_REGS_LOCALS 7613 RECOMP_ENTER(0x2B062FD0u); 7614 7615 L_2B062FD0: 7616 PUSH32(esp, ebp); /* 0x2B062FD0: push ebp */ 7617 ebp = esp; /* 0x2B062FD1: mov ebp, esp */ 7618 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 7619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7620 esp = esp - 0x38u; /* 0x2B062FD3: sub esp, 0x38 */ 7621 _flag_k = FK_CMP; 7622 PUSH32(esp, ebx); /* 0x2B062FD6: push ebx */ 7623 PUSH32(esp, esi); /* 0x2B062FD7: push esi */ 7624 PUSH32(esp, edi); /* 0x2B062FD8: push edi */ 7625 edi = MEM32(0x2B0B5D6C); /* 0x2B062FD9: mov edi, dword ptr [0x2b0b5d6c] */ 7626 eax = ebp + (-0x8); /* 0x2B062FDF: lea eax, [ebp - 8] */ 7627 esi = ecx; /* 0x2B062FE2: mov esi, ecx */ 7628 PUSH32(esp, eax); /* 0x2B062FE4: push eax */ 7629 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7630 ebx = 0; /* 0x2B062FE5: xor ebx, ebx */ 7631 _cf = 0; 7632 _flag_k = FK_TEST; 7633 PUSH32(esp, esi); /* 0x2B062FE7: push esi */ 7634 MEM32(ebp + (-0x28)) = 0; /* 0x2B062FE8: mov dword ptr [ebp - 0x28], 0 */ 7635 MEM32(ebp + (-0x24)) = 0; /* 0x2B062FEF: mov dword ptr [ebp - 0x24], 0 */ 7636 MEM32(ebp + (-0x20)) = 0; /* 0x2B062FF6: mov dword ptr [ebp - 0x20], 0 */ 7637 MEM32(ebp + (-0x8)) = ebx; /* 0x2B062FFD: mov dword ptr [ebp - 8], ebx */ 7638 MEM32(ebp + (-0x4)) = ebx; /* 0x2B063000: mov dword ptr [ebp - 4], ebx */ 7639 RECOMP_ICALL(edi); /* 0x2B063003: call edi */ 7640 RECOMP_FLAGS_IN(); 7641 ecx = eax; /* 0x2B063005: mov ecx, eax */ 7642 RECOMP_ICALL(MEM32(0x2B0B5DD4)); /* 0x2B063007: call dword ptr [0x2b0b5dd4] */ 7643 RECOMP_FLAGS_IN(); 7644 ecx = ebp + (-0x28); /* 0x2B06300D: lea ecx, [ebp - 0x28] */ 7645 PUSH32(esp, ecx); /* 0x2B063010: push ecx */ 7646 PUSH32(esp, esi); /* 0x2B063011: push esi */ 7647 RECOMP_ICALL(edi); /* 0x2B063012: call edi */ 7648 RECOMP_FLAGS_IN(); 7649 ecx = eax; /* 0x2B063014: mov ecx, eax */ 7650 RECOMP_ICALL(MEM32(0x2B0B5DD8)); /* 0x2B063016: call dword ptr [0x2b0b5dd8] */ 7651 RECOMP_FLAGS_IN(); 7652 /* test LO8(eax), LO8(eax) */ /* 0x2B06301C: test al, al */ 7653 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7654 _cf = 0; 7655 _flag_k = FK_NARROW(FK_TEST, 24); 7656 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06317F; /* 0x2B06301E: je 0x2b06317f */ 7657 L_2B063024: 7658 /* cmp MEM32(ebp + (-0x8)), ebx */ /* 0x2B063024: cmp dword ptr [ebp - 8], ebx */ 7659 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(ebx); 7660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7661 _flag_k = FK_CMP; 7662 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06317F; /* 0x2B063027: jne 0x2b06317f */ 7663 L_2B06302D: 7664 /* cmp MEM32(ebp + (-0x4)), ebx */ /* 0x2B06302D: cmp dword ptr [ebp - 4], ebx */ 7665 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(ebx); 7666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7667 _flag_k = FK_CMP; 7668 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06317F; /* 0x2B063030: jne 0x2b06317f */ 7669 L_2B063036: 7670 /* cmp MEM32(esi + 0x24), ebx */ /* 0x2B063036: cmp dword ptr [esi + 0x24], ebx */ 7671 _flag_a = (uint32_t)(MEM32(esi + 0x24)); _flag_b = (uint32_t)(ebx); 7672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7673 _flag_k = FK_CMP; 7674 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06311F; /* 0x2B063039: je 0x2b06311f */ 7675 L_2B06303F: 7676 SET_LO8(eax, MEM8(esi + 0x34)); /* 0x2B06303F: mov al, byte ptr [esi + 0x34] */ 7677 /* test LO8(eax), LO8(eax) */ /* 0x2B063042: test al, al */ 7678 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7679 _cf = 0; 7680 _flag_k = FK_NARROW(FK_TEST, 24); 7681 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06311F; /* 0x2B063044: je 0x2b06311f */ 7682 L_2B06304A: 7683 PUSH32(esp, 0x1Bu); /* 0x2B06304A: push 0x1b */ 7684 PUSH32(esp, esi); /* 0x2B06304C: push esi */ 7685 RECOMP_ICALL(edi); /* 0x2B06304D: call edi */ 7686 RECOMP_FLAGS_IN(); 7687 ecx = eax; /* 0x2B06304F: mov ecx, eax */ 7688 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B063051: call dword ptr [0x2b0b5ee0] */ 7689 RECOMP_FLAGS_IN(); 7690 PUSH32(esp, 1); /* 0x2B063057: push 1 */ 7691 PUSH32(esp, esi); /* 0x2B063059: push esi */ 7692 ebx = eax; /* 0x2B06305A: mov ebx, eax */ 7693 RECOMP_ICALL(edi); /* 0x2B06305C: call edi */ 7694 RECOMP_FLAGS_IN(); 7695 ecx = eax; /* 0x2B06305E: mov ecx, eax */ 7696 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B063060: call dword ptr [0x2b0b5ee0] */ 7697 RECOMP_FLAGS_IN(); 7698 ecx = eax; /* 0x2B063066: mov ecx, eax */ 7699 /* cmp ebx, MEM32(esi + 0x14) */ /* 0x2B063068: cmp ebx, dword ptr [esi + 0x14] */ 7700 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x14)); 7701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7702 _flag_k = FK_CMP; 7703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063076; /* 0x2B06306B: jne 0x2b063076 */ 7704 L_2B06306D: 7705 /* cmp ecx, MEM32(esi + 0x18) */ /* 0x2B06306D: cmp ecx, dword ptr [esi + 0x18] */ 7706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x18)); 7707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7708 _flag_k = FK_CMP; 7709 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06311F; /* 0x2B063070: je 0x2b06311f */ 7710 L_2B063076: 7711 /* test ecx, ecx */ /* 0x2B063076: test ecx, ecx */ 7712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 7713 _cf = 0; 7714 _flag_k = FK_TEST; 7715 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06307F; /* 0x2B063078: ja 0x2b06307f */ 7716 L_2B06307A: 7717 ecx = 1; /* 0x2B06307A: mov ecx, 1 */ 7718 L_2B06307F: 7719 /* cmp ebx, ecx */ /* 0x2B06307F: cmp ebx, ecx */ 7720 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7722 _flag_k = FK_CMP; 7723 MEM32(esi + 0x14) = ebx; /* 0x2B063081: mov dword ptr [esi + 0x14], ebx */ 7724 MEM32(esi + 0x18) = ecx; /* 0x2B063084: mov dword ptr [esi + 0x18], ecx */ 7725 if (CMP_BE(_flag_a, _flag_b)) goto L_2B06308C; /* 0x2B063087: jbe 0x2b06308c */ 7726 L_2B063089: 7727 MEM32(esi + 0x14) = ecx; /* 0x2B063089: mov dword ptr [esi + 0x14], ecx */ 7728 L_2B06308C: 7729 ebx = MEM32(esi + 0xC); /* 0x2B06308C: mov ebx, dword ptr [esi + 0xc] */ 7730 eax = MEM32(ebx + 0xC); /* 0x2B06308F: mov eax, dword ptr [ebx + 0xc] */ 7731 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x40u); 7732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7733 eax = eax - 0x40u; /* 0x2B063092: sub eax, 0x40 */ 7734 _flag_k = FK_CMP; 7735 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B063095: cdq */ 7736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 7737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7738 eax = eax - edx; /* 0x2B063096: sub eax, edx */ 7739 _flag_k = FK_CMP; 7740 edx = MEM32(esi + 0x14); /* 0x2B063098: mov edx, dword ptr [esi + 0x14] */ 7741 edi = eax; /* 0x2B06309B: mov edi, eax */ 7742 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7743 eax = 0; /* 0x2B06309D: xor eax, eax */ 7744 _cf = 0; 7745 _flag_k = FK_TEST; 7746 MEM32(ebp + (-0x10)) = edx; /* 0x2B06309F: mov dword ptr [ebp - 0x10], edx */ 7747 MEM32(ebp + (-0xC)) = eax; /* 0x2B0630A2: mov dword ptr [ebp - 0xc], eax */ 7748 if (1u) _cf = (((edi) >> 0) & 1u); /* 0x2B0630A5: sar edi, 1 */ 7749 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edi >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 7750 edi = (uint32_t)((int32_t)edi >> 1u); 7751 fp_push_i64((int64_t)MEM64(ebp + (-0x10))); /* 0x2B0630A7: fild qword ptr [ebp - 0x10] */ 7752 MEM32(ebp + (-0x10)) = ecx; /* 0x2B0630AA: mov dword ptr [ebp - 0x10], ecx */ 7753 MEM32(ebp + (-0xC)) = eax; /* 0x2B0630AD: mov dword ptr [ebp - 0xc], eax */ 7754 MEM32(ebp + (-0x38)) = edi; /* 0x2B0630B0: mov dword ptr [ebp - 0x38], edi */ 7755 _st[0] *= (double)*(float*)ADDR(0x2B0B6D14); /* 0x2B0630B3: fmul dword ptr [0x2b0b6d14] */ 7756 MEM32(ebp + (-0x34)) = 0xEu; /* 0x2B0630B9: mov dword ptr [ebp - 0x34], 0xe */ 7757 _st[0] = _st[0] / (double)(int32_t)MEM32(ebp + (-0x10)); /* 0x2B0630C0: fidiv dword ptr [ebp - 0x10] */ 7758 RECOMP_ICALL(0x2B0AB220u); /* 0x2B0630C3: call 0x2b0ab220 */ /* not lifted */ 7759 RECOMP_FLAGS_IN(); 7760 edx = MEM32(esi + 0x20); /* 0x2B0630C8: mov edx, dword ptr [esi + 0x20] */ 7761 ecx = edi; /* 0x2B0630CB: mov ecx, edi */ 7762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7764 ecx = ecx - eax; /* 0x2B0630CD: sub ecx, eax */ 7765 _flag_k = FK_CMP; 7766 PUSH32(esp, 0); /* 0x2B0630CF: push 0 */ 7767 MEM32(ebp + (-0x30)) = ecx; /* 0x2B0630D1: mov dword ptr [ebp - 0x30], ecx */ 7768 PUSH32(esp, edx); /* 0x2B0630D4: push edx */ 7769 eax = ebp + (-0x38); /* 0x2B0630D5: lea eax, [ebp - 0x38] */ 7770 ecx = ebx; /* 0x2B0630D8: mov ecx, ebx */ 7771 ebx = MEM32(0x2B0B564C); /* 0x2B0630DA: mov ebx, dword ptr [0x2b0b564c] */ 7772 PUSH32(esp, eax); /* 0x2B0630E0: push eax */ 7773 MEM32(ebp + (-0x2C)) = 0x12u; /* 0x2B0630E1: mov dword ptr [ebp - 0x2c], 0x12 */ 7774 RECOMP_ICALL(ebx); /* 0x2B0630E8: call ebx */ 7775 RECOMP_FLAGS_IN(); 7776 ecx = MEM32(ebp + (-0x30)); /* 0x2B0630EA: mov ecx, dword ptr [ebp - 0x30] */ 7777 PUSH32(esp, 0); /* 0x2B0630ED: push 0 */ 7778 PUSH32(esp, 0x00333333u); /* 0x2B0630EF: push 0x333333 */ 7779 edx = ebp + (-0x38); /* 0x2B0630F4: lea edx, [ebp - 0x38] */ 7780 MEM32(ebp + (-0x38)) = ecx; /* 0x2B0630F7: mov dword ptr [ebp - 0x38], ecx */ 7781 ecx = MEM32(esi + 0xC); /* 0x2B0630FA: mov ecx, dword ptr [esi + 0xc] */ 7782 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x40u); 7783 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7784 edi = edi + 0x40u; /* 0x2B0630FD: add edi, 0x40 */ 7785 _flag_k = FK_ADD; 7786 PUSH32(esp, edx); /* 0x2B063100: push edx */ 7787 MEM32(ebp + (-0x30)) = edi; /* 0x2B063101: mov dword ptr [ebp - 0x30], edi */ 7788 RECOMP_ICALL(ebx); /* 0x2B063104: call ebx */ 7789 RECOMP_FLAGS_IN(); 7790 eax = MEM32(esi + 0xC); /* 0x2B063106: mov eax, dword ptr [esi + 0xc] */ 7791 ecx = MEM32(eax + 0x20); /* 0x2B063109: mov ecx, dword ptr [eax + 0x20] */ 7792 edx = MEM32(eax); /* 0x2B06310C: mov edx, dword ptr [eax] */ 7793 PUSH32(esp, ecx); /* 0x2B06310E: push ecx */ 7794 ecx = MEM32(esi + 0x8); /* 0x2B06310F: mov ecx, dword ptr [esi + 8] */ 7795 PUSH32(esp, edx); /* 0x2B063112: push edx */ 7796 RECOMP_ICALL(MEM32(0x2B0B54B4)); /* 0x2B063113: call dword ptr [0x2b0b54b4] */ 7797 RECOMP_FLAGS_IN(); 7798 edi = MEM32(0x2B0B5D6C); /* 0x2B063119: mov edi, dword ptr [0x2b0b5d6c] */ 7799 L_2B06311F: 7800 PUSH32(esp, esi); /* 0x2B06311F: push esi */ 7801 RECOMP_ICALL(edi); /* 0x2B063120: call edi */ 7802 RECOMP_FLAGS_IN(); 7803 ecx = eax; /* 0x2B063122: mov ecx, eax */ 7804 RECOMP_ICALL(MEM32(0x2B0B5DDC)); /* 0x2B063124: call dword ptr [0x2b0b5ddc] */ 7805 RECOMP_FLAGS_IN(); 7806 ecx = MEM32(eax); /* 0x2B06312A: mov ecx, dword ptr [eax] */ 7807 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B06312C: mov dword ptr [ebp - 0x1c], ecx */ 7808 fp_push(*(float*)&MEM32(ebp + (-0x1C))); /* 0x2B06312F: fld dword ptr [ebp - 0x1c] */ 7809 edx = MEM32(eax + 0x4); /* 0x2B063132: mov edx, dword ptr [eax + 4] */ 7810 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B063135: fcomp dword ptr [0x2b0b61b8] */ 7811 fp_pop(); 7812 ecx = MEM32(esi + 0x10); /* 0x2B06313B: mov ecx, dword ptr [esi + 0x10] */ 7813 MEM32(ebp + (-0x18)) = edx; /* 0x2B06313E: mov dword ptr [ebp - 0x18], edx */ 7814 eax = MEM32(eax + 0x8); /* 0x2B063141: mov eax, dword ptr [eax + 8] */ 7815 MEM32(ebp + (-0x14)) = eax; /* 0x2B063144: mov dword ptr [ebp - 0x14], eax */ 7816 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B063147: fnstsw ax */ 7817 /* test HI8(eax), 0x41u */ /* 0x2B063149: test ah, 0x41 */ 7818 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 7819 _cf = 0; 7820 _flag_k = FK_NARROW(FK_TEST, 24); 7821 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063160; /* 0x2B06314C: je 0x2b063160 */ 7822 L_2B06314E: 7823 RECOMP_ICALL(MEM32(0x2B0B54B8)); /* 0x2B06314E: call dword ptr [0x2b0b54b8] */ 7824 RECOMP_FLAGS_IN(); 7825 edi = POP32_VAL(esp); /* 0x2B063154: pop edi */ 7826 esi = POP32_VAL(esp); /* 0x2B063155: pop esi */ 7827 eax = 1; /* 0x2B063156: mov eax, 1 */ 7828 ebx = POP32_VAL(esp); /* 0x2B06315B: pop ebx */ 7829 esp = ebp; /* 0x2B06315C: mov esp, ebp */ 7830 ebp = POP32_VAL(esp); /* 0x2B06315E: pop ebp */ 7831 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06315F: ret */ 7832 L_2B063160: 7833 RECOMP_ICALL(MEM32(0x2B0B54BC)); /* 0x2B063160: call dword ptr [0x2b0b54bc] */ 7834 RECOMP_FLAGS_IN(); 7835 ecx = ebp + (-0x1C); /* 0x2B063166: lea ecx, [ebp - 0x1c] */ 7836 PUSH32(esp, ecx); /* 0x2B063169: push ecx */ 7837 ecx = MEM32(esi + 0x10); /* 0x2B06316A: mov ecx, dword ptr [esi + 0x10] */ 7838 RECOMP_ICALL(MEM32(0x2B0B54C0)); /* 0x2B06316D: call dword ptr [0x2b0b54c0] */ 7839 RECOMP_FLAGS_IN(); 7840 edi = POP32_VAL(esp); /* 0x2B063173: pop edi */ 7841 esi = POP32_VAL(esp); /* 0x2B063174: pop esi */ 7842 eax = 1; /* 0x2B063175: mov eax, 1 */ 7843 ebx = POP32_VAL(esp); /* 0x2B06317A: pop ebx */ 7844 esp = ebp; /* 0x2B06317B: mov esp, ebp */ 7845 ebp = POP32_VAL(esp); /* 0x2B06317D: pop ebp */ 7846 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06317E: ret */ 7847 L_2B06317F: 7848 edi = POP32_VAL(esp); /* 0x2B06317F: pop edi */ 7849 esi = POP32_VAL(esp); /* 0x2B063180: pop esi */ 7850 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7851 eax = 0; /* 0x2B063181: xor eax, eax */ 7852 _cf = 0; 7853 _flag_k = FK_TEST; 7854 ebx = POP32_VAL(esp); /* 0x2B063183: pop ebx */ 7855 esp = ebp; /* 0x2B063184: mov esp, ebp */ 7856 ebp = POP32_VAL(esp); /* 0x2B063186: pop ebp */ 7857 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063187: ret */ 7858 RECOMP_REGS_OUT(); 7859 } 7860 7861 void sub_2B063190(void) { 7862 int _fpu_cmp = 0; 7863 uint32_t _cf = 0; 7864 int _df = 1; 7865 uint32_t _flag_k = FK_NONE; 7866 uint32_t _flag_a = 0, _flag_b = 0; 7867 uint32_t _itail_tgt = 0; 7868 RECOMP_REGS_LOCALS 7869 RECOMP_ENTER(0x2B063190u); 7870 7871 L_2B063190: 7872 MEM32(0x2B0EEDD8) = 0; /* 0x2B063190: mov dword ptr [0x2b0eedd8], 0 */ 7873 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06319A: ret */ 7874 RECOMP_REGS_OUT(); 7875 } 7876 7877 void sub_2B0631A0(void) { 7878 int _fpu_cmp = 0; 7879 uint32_t _cf = 0; 7880 int _df = 1; 7881 uint32_t _flag_k = FK_NONE; 7882 uint32_t _flag_a = 0, _flag_b = 0; 7883 uint32_t _itail_tgt = 0; 7884 RECOMP_REGS_LOCALS 7885 RECOMP_ENTER(0x2B0631A0u); 7886 7887 L_2B0631A0: 7888 PUSH32(esp, ebp); /* 0x2B0631A0: push ebp */ 7889 ebp = esp; /* 0x2B0631A1: mov ebp, esp */ 7890 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0631A3: push -1 */ 7891 PUSH32(esp, 0x2B0B092Bu); /* 0x2B0631A5: push 0x2b0b092b */ 7892 eax = MEM32(FS_BASE + (0)); /* 0x2B0631AA: mov eax, dword ptr fs:[0] */ 7893 PUSH32(esp, eax); /* 0x2B0631B0: push eax */ 7894 MEM32(FS_BASE + (0)) = esp; /* 0x2B0631B1: mov dword ptr fs:[0], esp */ 7895 PUSH32(esp, ecx); /* 0x2B0631B8: push ecx */ 7896 eax = MEM32(0x2B0EEDD8); /* 0x2B0631B9: mov eax, dword ptr [0x2b0eedd8] */ 7897 /* test eax, eax */ /* 0x2B0631BE: test eax, eax */ 7898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7899 _cf = 0; 7900 _flag_k = FK_TEST; 7901 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0631FB; /* 0x2B0631C0: jne 0x2b0631fb */ 7902 L_2B0631C2: 7903 PUSH32(esp, 8); /* 0x2B0631C2: push 8 */ 7904 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0631C4: call 0x2b0ab212 */ /* not lifted */ 7905 RECOMP_FLAGS_IN(); 7906 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7907 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7908 esp = esp + 4; /* 0x2B0631C9: add esp, 4 */ 7909 _flag_k = FK_ADD; 7910 MEM32(ebp + (-0x10)) = eax; /* 0x2B0631CC: mov dword ptr [ebp - 0x10], eax */ 7911 /* test eax, eax */ /* 0x2B0631CF: test eax, eax */ 7912 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7913 _cf = 0; 7914 _flag_k = FK_TEST; 7915 MEM32(ebp + (-0x4)) = 0; /* 0x2B0631D1: mov dword ptr [ebp - 4], 0 */ 7916 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0631F4; /* 0x2B0631D8: je 0x2b0631f4 */ 7917 L_2B0631DA: 7918 ecx = eax; /* 0x2B0631DA: mov ecx, eax */ 7919 RECOMP_ICALL(0x2B063260u); /* 0x2B0631DC: call 0x2b063260 */ /* not lifted */ 7920 RECOMP_FLAGS_IN(); 7921 MEM32(0x2B0EEDD8) = eax; /* 0x2B0631E1: mov dword ptr [0x2b0eedd8], eax */ 7922 ecx = MEM32(ebp + (-0xC)); /* 0x2B0631E6: mov ecx, dword ptr [ebp - 0xc] */ 7923 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0631E9: mov dword ptr fs:[0], ecx */ 7924 esp = ebp; /* 0x2B0631F0: mov esp, ebp */ 7925 ebp = POP32_VAL(esp); /* 0x2B0631F2: pop ebp */ 7926 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0631F3: ret */ 7927 L_2B0631F4: 7928 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7929 eax = 0; /* 0x2B0631F4: xor eax, eax */ 7930 _cf = 0; 7931 _flag_k = FK_TEST; 7932 MEM32(0x2B0EEDD8) = eax; /* 0x2B0631F6: mov dword ptr [0x2b0eedd8], eax */ 7933 L_2B0631FB: 7934 ecx = MEM32(ebp + (-0xC)); /* 0x2B0631FB: mov ecx, dword ptr [ebp - 0xc] */ 7935 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0631FE: mov dword ptr fs:[0], ecx */ 7936 esp = ebp; /* 0x2B063205: mov esp, ebp */ 7937 ebp = POP32_VAL(esp); /* 0x2B063207: pop ebp */ 7938 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063208: ret */ 7939 RECOMP_REGS_OUT(); 7940 } 7941 7942 void sub_2B063210(void) { 7943 int _fpu_cmp = 0; 7944 uint32_t _cf = 0; 7945 int _df = 1; 7946 uint32_t _flag_k = FK_NONE; 7947 uint32_t _flag_a = 0, _flag_b = 0; 7948 uint32_t _itail_tgt = 0; 7949 RECOMP_REGS_LOCALS 7950 RECOMP_ENTER(0x2B063210u); 7951 7952 L_2B063210: 7953 eax = MEM32(0x2B0EEDD8); /* 0x2B063210: mov eax, dword ptr [0x2b0eedd8] */ 7954 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063215: ret */ 7955 RECOMP_REGS_OUT(); 7956 } 7957 7958 void sub_2B063220(void) { 7959 int _fpu_cmp = 0; 7960 uint32_t _cf = 0; 7961 int _df = 1; 7962 uint32_t _flag_k = FK_NONE; 7963 uint32_t _flag_a = 0, _flag_b = 0; 7964 uint32_t _itail_tgt = 0; 7965 RECOMP_REGS_LOCALS 7966 RECOMP_ENTER(0x2B063220u); 7967 7968 L_2B063220: 7969 goto L_2B063230; /* 0x2B063220: jmp 0x2b063230 */ 7970 L_2B063230: 7971 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7972 eax = 0; /* 0x2B063230: xor eax, eax */ 7973 _cf = 0; 7974 _flag_k = FK_TEST; 7975 MEM32(0x2B0EEDD0) = eax; /* 0x2B063232: mov dword ptr [0x2b0eedd0], eax */ 7976 MEM32(0x2B0EEDD4) = eax; /* 0x2B063237: mov dword ptr [0x2b0eedd4], eax */ 7977 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06323C: ret */ 7978 RECOMP_REGS_OUT(); 7979 } 7980 7981 void sub_2B063230(void) { 7982 int _fpu_cmp = 0; 7983 uint32_t _cf = 0; 7984 int _df = 1; 7985 uint32_t _flag_k = FK_NONE; 7986 uint32_t _flag_a = 0, _flag_b = 0; 7987 uint32_t _itail_tgt = 0; 7988 RECOMP_REGS_LOCALS 7989 RECOMP_ENTER(0x2B063230u); 7990 7991 L_2B063230: 7992 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7993 eax = 0; /* 0x2B063230: xor eax, eax */ 7994 _cf = 0; 7995 _flag_k = FK_TEST; 7996 MEM32(0x2B0EEDD0) = eax; /* 0x2B063232: mov dword ptr [0x2b0eedd0], eax */ 7997 MEM32(0x2B0EEDD4) = eax; /* 0x2B063237: mov dword ptr [0x2b0eedd4], eax */ 7998 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06323C: ret */ 7999 RECOMP_REGS_OUT(); 8000 } 8001 8002 void sub_2B063240(void) { 8003 int _fpu_cmp = 0; 8004 uint32_t _cf = 0; 8005 int _df = 1; 8006 uint32_t _flag_k = FK_NONE; 8007 uint32_t _flag_a = 0, _flag_b = 0; 8008 uint32_t _itail_tgt = 0; 8009 RECOMP_REGS_LOCALS 8010 RECOMP_ENTER(0x2B063240u); 8011 8012 L_2B063240: 8013 goto L_2B063250; /* 0x2B063240: jmp 0x2b063250 */ 8014 L_2B063250: 8015 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8016 eax = 0; /* 0x2B063250: xor eax, eax */ 8017 _cf = 0; 8018 _flag_k = FK_TEST; 8019 MEM32(0x2B0EED00) = eax; /* 0x2B063252: mov dword ptr [0x2b0eed00], eax */ 8020 MEM32(0x2B0EED04) = eax; /* 0x2B063257: mov dword ptr [0x2b0eed04], eax */ 8021 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06325C: ret */ 8022 RECOMP_REGS_OUT(); 8023 } 8024 8025 void sub_2B063250(void) { 8026 int _fpu_cmp = 0; 8027 uint32_t _cf = 0; 8028 int _df = 1; 8029 uint32_t _flag_k = FK_NONE; 8030 uint32_t _flag_a = 0, _flag_b = 0; 8031 uint32_t _itail_tgt = 0; 8032 RECOMP_REGS_LOCALS 8033 RECOMP_ENTER(0x2B063250u); 8034 8035 L_2B063250: 8036 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8037 eax = 0; /* 0x2B063250: xor eax, eax */ 8038 _cf = 0; 8039 _flag_k = FK_TEST; 8040 MEM32(0x2B0EED00) = eax; /* 0x2B063252: mov dword ptr [0x2b0eed00], eax */ 8041 MEM32(0x2B0EED04) = eax; /* 0x2B063257: mov dword ptr [0x2b0eed04], eax */ 8042 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06325C: ret */ 8043 RECOMP_REGS_OUT(); 8044 } 8045 8046 void sub_2B063260(void) { 8047 int _fpu_cmp = 0; 8048 uint32_t _cf = 0; 8049 int _df = 1; 8050 uint32_t _flag_k = FK_NONE; 8051 uint32_t _flag_a = 0, _flag_b = 0; 8052 uint32_t _itail_tgt = 0; 8053 RECOMP_REGS_LOCALS 8054 RECOMP_ENTER(0x2B063260u); 8055 8056 L_2B063260: 8057 PUSH32(esp, ebx); /* 0x2B063260: push ebx */ 8058 PUSH32(esp, esi); /* 0x2B063261: push esi */ 8059 esi = MEM32(0x2B0B53CC); /* 0x2B063262: mov esi, dword ptr [0x2b0b53cc] */ 8060 ebx = ecx; /* 0x2B063268: mov ebx, ecx */ 8061 PUSH32(esp, edi); /* 0x2B06326A: push edi */ 8062 MEM32(ebx) = 0; /* 0x2B06326B: mov dword ptr [ebx], 0 */ 8063 MEM32(ebx + 0x4) = 0; /* 0x2B063271: mov dword ptr [ebx + 4], 0 */ 8064 RECOMP_ICALL(esi); /* 0x2B063278: call esi */ 8065 RECOMP_FLAGS_IN(); 8066 ecx = eax; /* 0x2B06327A: mov ecx, eax */ 8067 RECOMP_ICALL(MEM32(0x2B0B5374)); /* 0x2B06327C: call dword ptr [0x2b0b5374] */ 8068 RECOMP_FLAGS_IN(); 8069 PUSH32(esp, 0); /* 0x2B063282: push 0 */ 8070 PUSH32(esp, 0x1Au); /* 0x2B063284: push 0x1a */ 8071 PUSH32(esp, 1); /* 0x2B063286: push 1 */ 8072 RECOMP_ICALL(esi); /* 0x2B063288: call esi */ 8073 RECOMP_FLAGS_IN(); 8074 ecx = eax; /* 0x2B06328A: mov ecx, eax */ 8075 RECOMP_ICALL(MEM32(0x2B0B5378)); /* 0x2B06328C: call dword ptr [0x2b0b5378] */ 8076 RECOMP_FLAGS_IN(); 8077 PUSH32(esp, 0x2B063A70u); /* 0x2B063292: push 0x2b063a70 */ 8078 RECOMP_ICALL(esi); /* 0x2B063297: call esi */ 8079 RECOMP_FLAGS_IN(); 8080 ecx = eax; /* 0x2B063299: mov ecx, eax */ 8081 RECOMP_ICALL(MEM32(0x2B0B537C)); /* 0x2B06329B: call dword ptr [0x2b0b537c] */ 8082 RECOMP_FLAGS_IN(); 8083 PUSH32(esp, 0x2B0633B0u); /* 0x2B0632A1: push 0x2b0633b0 */ 8084 PUSH32(esp, 5); /* 0x2B0632A6: push 5 */ 8085 RECOMP_ICALL(esi); /* 0x2B0632A8: call esi */ 8086 RECOMP_FLAGS_IN(); 8087 edi = MEM32(0x2B0B5324); /* 0x2B0632AA: mov edi, dword ptr [0x2b0b5324] */ 8088 ecx = eax; /* 0x2B0632B0: mov ecx, eax */ 8089 RECOMP_ICALL(edi); /* 0x2B0632B2: call edi */ 8090 RECOMP_FLAGS_IN(); 8091 PUSH32(esp, 0x2B063420u); /* 0x2B0632B4: push 0x2b063420 */ 8092 PUSH32(esp, 6); /* 0x2B0632B9: push 6 */ 8093 RECOMP_ICALL(esi); /* 0x2B0632BB: call esi */ 8094 RECOMP_FLAGS_IN(); 8095 ecx = eax; /* 0x2B0632BD: mov ecx, eax */ 8096 RECOMP_ICALL(edi); /* 0x2B0632BF: call edi */ 8097 RECOMP_FLAGS_IN(); 8098 PUSH32(esp, 0x2B0634D0u); /* 0x2B0632C1: push 0x2b0634d0 */ 8099 PUSH32(esp, 0x73u); /* 0x2B0632C6: push 0x73 */ 8100 RECOMP_ICALL(esi); /* 0x2B0632C8: call esi */ 8101 RECOMP_FLAGS_IN(); 8102 ecx = eax; /* 0x2B0632CA: mov ecx, eax */ 8103 RECOMP_ICALL(edi); /* 0x2B0632CC: call edi */ 8104 RECOMP_FLAGS_IN(); 8105 PUSH32(esp, 0x2B063510u); /* 0x2B0632CE: push 0x2b063510 */ 8106 PUSH32(esp, 0x10Du); /* 0x2B0632D3: push 0x10d */ 8107 RECOMP_ICALL(esi); /* 0x2B0632D8: call esi */ 8108 RECOMP_FLAGS_IN(); 8109 ecx = eax; /* 0x2B0632DA: mov ecx, eax */ 8110 RECOMP_ICALL(edi); /* 0x2B0632DC: call edi */ 8111 RECOMP_FLAGS_IN(); 8112 PUSH32(esp, 0x2B063550u); /* 0x2B0632DE: push 0x2b063550 */ 8113 PUSH32(esp, 0x10Eu); /* 0x2B0632E3: push 0x10e */ 8114 RECOMP_ICALL(esi); /* 0x2B0632E8: call esi */ 8115 RECOMP_FLAGS_IN(); 8116 ecx = eax; /* 0x2B0632EA: mov ecx, eax */ 8117 RECOMP_ICALL(edi); /* 0x2B0632EC: call edi */ 8118 RECOMP_FLAGS_IN(); 8119 PUSH32(esp, 0x2B063560u); /* 0x2B0632EE: push 0x2b063560 */ 8120 PUSH32(esp, 0x10Fu); /* 0x2B0632F3: push 0x10f */ 8121 RECOMP_ICALL(esi); /* 0x2B0632F8: call esi */ 8122 RECOMP_FLAGS_IN(); 8123 ecx = eax; /* 0x2B0632FA: mov ecx, eax */ 8124 RECOMP_ICALL(edi); /* 0x2B0632FC: call edi */ 8125 RECOMP_FLAGS_IN(); 8126 PUSH32(esp, 0x2B063970u); /* 0x2B0632FE: push 0x2b063970 */ 8127 PUSH32(esp, 0x110u); /* 0x2B063303: push 0x110 */ 8128 RECOMP_ICALL(esi); /* 0x2B063308: call esi */ 8129 RECOMP_FLAGS_IN(); 8130 ecx = eax; /* 0x2B06330A: mov ecx, eax */ 8131 RECOMP_ICALL(edi); /* 0x2B06330C: call edi */ 8132 RECOMP_FLAGS_IN(); 8133 PUSH32(esp, 0x2B063980u); /* 0x2B06330E: push 0x2b063980 */ 8134 PUSH32(esp, 0x111u); /* 0x2B063313: push 0x111 */ 8135 RECOMP_ICALL(esi); /* 0x2B063318: call esi */ 8136 RECOMP_FLAGS_IN(); 8137 ecx = eax; /* 0x2B06331A: mov ecx, eax */ 8138 RECOMP_ICALL(edi); /* 0x2B06331C: call edi */ 8139 RECOMP_FLAGS_IN(); 8140 PUSH32(esp, 0x2B063990u); /* 0x2B06331E: push 0x2b063990 */ 8141 PUSH32(esp, 0x112u); /* 0x2B063323: push 0x112 */ 8142 RECOMP_ICALL(esi); /* 0x2B063328: call esi */ 8143 RECOMP_FLAGS_IN(); 8144 ecx = eax; /* 0x2B06332A: mov ecx, eax */ 8145 RECOMP_ICALL(edi); /* 0x2B06332C: call edi */ 8146 RECOMP_FLAGS_IN(); 8147 PUSH32(esp, 0x2B063D40u); /* 0x2B06332E: push 0x2b063d40 */ 8148 PUSH32(esp, 0x113u); /* 0x2B063333: push 0x113 */ 8149 RECOMP_ICALL(esi); /* 0x2B063338: call esi */ 8150 RECOMP_FLAGS_IN(); 8151 ecx = eax; /* 0x2B06333A: mov ecx, eax */ 8152 RECOMP_ICALL(edi); /* 0x2B06333C: call edi */ 8153 RECOMP_FLAGS_IN(); 8154 PUSH32(esp, 0x2B063DA0u); /* 0x2B06333E: push 0x2b063da0 */ 8155 PUSH32(esp, 0x114u); /* 0x2B063343: push 0x114 */ 8156 RECOMP_ICALL(esi); /* 0x2B063348: call esi */ 8157 RECOMP_FLAGS_IN(); 8158 ecx = eax; /* 0x2B06334A: mov ecx, eax */ 8159 RECOMP_ICALL(edi); /* 0x2B06334C: call edi */ 8160 RECOMP_FLAGS_IN(); 8161 PUSH32(esp, 0x2B063E00u); /* 0x2B06334E: push 0x2b063e00 */ 8162 PUSH32(esp, 0x115u); /* 0x2B063353: push 0x115 */ 8163 RECOMP_ICALL(esi); /* 0x2B063358: call esi */ 8164 RECOMP_FLAGS_IN(); 8165 ecx = eax; /* 0x2B06335A: mov ecx, eax */ 8166 RECOMP_ICALL(edi); /* 0x2B06335C: call edi */ 8167 RECOMP_FLAGS_IN(); 8168 PUSH32(esp, 0x2B063E60u); /* 0x2B06335E: push 0x2b063e60 */ 8169 PUSH32(esp, 0x116u); /* 0x2B063363: push 0x116 */ 8170 RECOMP_ICALL(esi); /* 0x2B063368: call esi */ 8171 RECOMP_FLAGS_IN(); 8172 ecx = eax; /* 0x2B06336A: mov ecx, eax */ 8173 RECOMP_ICALL(edi); /* 0x2B06336C: call edi */ 8174 RECOMP_FLAGS_IN(); 8175 PUSH32(esp, 0x2B063EC0u); /* 0x2B06336E: push 0x2b063ec0 */ 8176 PUSH32(esp, 0x117u); /* 0x2B063373: push 0x117 */ 8177 RECOMP_ICALL(esi); /* 0x2B063378: call esi */ 8178 RECOMP_FLAGS_IN(); 8179 ecx = eax; /* 0x2B06337A: mov ecx, eax */ 8180 RECOMP_ICALL(edi); /* 0x2B06337C: call edi */ 8181 RECOMP_FLAGS_IN(); 8182 PUSH32(esp, 0x2B063F00u); /* 0x2B06337E: push 0x2b063f00 */ 8183 PUSH32(esp, 0x118u); /* 0x2B063383: push 0x118 */ 8184 RECOMP_ICALL(esi); /* 0x2B063388: call esi */ 8185 RECOMP_FLAGS_IN(); 8186 ecx = eax; /* 0x2B06338A: mov ecx, eax */ 8187 RECOMP_ICALL(edi); /* 0x2B06338C: call edi */ 8188 RECOMP_FLAGS_IN(); 8189 PUSH32(esp, 0x2B063F70u); /* 0x2B06338E: push 0x2b063f70 */ 8190 PUSH32(esp, 0x119u); /* 0x2B063393: push 0x119 */ 8191 RECOMP_ICALL(esi); /* 0x2B063398: call esi */ 8192 RECOMP_FLAGS_IN(); 8193 ecx = eax; /* 0x2B06339A: mov ecx, eax */ 8194 RECOMP_ICALL(edi); /* 0x2B06339C: call edi */ 8195 RECOMP_FLAGS_IN(); 8196 edi = POP32_VAL(esp); /* 0x2B06339E: pop edi */ 8197 esi = POP32_VAL(esp); /* 0x2B06339F: pop esi */ 8198 eax = ebx; /* 0x2B0633A0: mov eax, ebx */ 8199 ebx = POP32_VAL(esp); /* 0x2B0633A2: pop ebx */ 8200 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0633A3: ret */ 8201 RECOMP_REGS_OUT(); 8202 } 8203 8204 void sub_2B0633B0(void) { 8205 int _fpu_cmp = 0; 8206 uint32_t _cf = 0; 8207 int _df = 1; 8208 uint32_t _flag_k = FK_NONE; 8209 uint32_t _flag_a = 0, _flag_b = 0; 8210 uint32_t _itail_tgt = 0; 8211 RECOMP_REGS_LOCALS 8212 RECOMP_ENTER(0x2B0633B0u); 8213 8214 L_2B0633B0: 8215 ecx = MEM32(0x2B0EED04); /* 0x2B0633B0: mov ecx, dword ptr [0x2b0eed04] */ 8216 edx = MEM32(0x2B0B6048); /* 0x2B0633B6: mov edx, dword ptr [0x2b0b6048] */ 8217 PUSH32(esp, esi); /* 0x2B0633BC: push esi */ 8218 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8219 eax = 0; /* 0x2B0633BD: xor eax, eax */ 8220 _cf = 0; 8221 _flag_k = FK_TEST; 8222 PUSH32(esp, edi); /* 0x2B0633BF: push edi */ 8223 MEM32(0x2B0EEDDC) = eax; /* 0x2B0633C0: mov dword ptr [0x2b0eeddc], eax */ 8224 MEM32(0x2B0EEDE0) = eax; /* 0x2B0633C5: mov dword ptr [0x2b0eede0], eax */ 8225 eax = MEM32(0x2B0EED00); /* 0x2B0633CA: mov eax, dword ptr [0x2b0eed00] */ 8226 PUSH32(esp, 1); /* 0x2B0633CF: push 1 */ 8227 MEM32(0x2B0EEDD0) = eax; /* 0x2B0633D1: mov dword ptr [0x2b0eedd0], eax */ 8228 MEM32(0x2B0EEDD4) = ecx; /* 0x2B0633D6: mov dword ptr [0x2b0eedd4], ecx */ 8229 esi = MEM32(edx); /* 0x2B0633DC: mov esi, dword ptr [edx] */ 8230 PUSH32(esp, 1); /* 0x2B0633DE: push 1 */ 8231 RECOMP_ICALL(0x2B0631A0u); /* 0x2B0633E0: call 0x2b0631a0 */ /* not lifted */ 8232 RECOMP_FLAGS_IN(); 8233 PUSH32(esp, eax); /* 0x2B0633E5: push eax */ 8234 PUSH32(esp, 0x2B0644C0u); /* 0x2B0633E6: push 0x2b0644c0 */ 8235 ecx = esi; /* 0x2B0633EB: mov ecx, esi */ 8236 esi = MEM32(0x2B0B6050); /* 0x2B0633ED: mov esi, dword ptr [0x2b0b6050] */ 8237 PUSH32(esp, 0x2B0E8AF0u); /* 0x2B0633F3: push 0x2b0e8af0 */ 8238 RECOMP_ICALL(esi); /* 0x2B0633F8: call esi */ 8239 RECOMP_FLAGS_IN(); 8240 eax = MEM32(0x2B0B6048); /* 0x2B0633FA: mov eax, dword ptr [0x2b0b6048] */ 8241 edi = MEM32(eax); /* 0x2B0633FF: mov edi, dword ptr [eax] */ 8242 PUSH32(esp, 1); /* 0x2B063401: push 1 */ 8243 PUSH32(esp, 2); /* 0x2B063403: push 2 */ 8244 RECOMP_ICALL(0x2B0631A0u); /* 0x2B063405: call 0x2b0631a0 */ /* not lifted */ 8245 RECOMP_FLAGS_IN(); 8246 PUSH32(esp, eax); /* 0x2B06340A: push eax */ 8247 PUSH32(esp, 0x2B0645C0u); /* 0x2B06340B: push 0x2b0645c0 */ 8248 PUSH32(esp, 0x2B0E8D8Cu); /* 0x2B063410: push 0x2b0e8d8c */ 8249 ecx = edi; /* 0x2B063415: mov ecx, edi */ 8250 RECOMP_ICALL(esi); /* 0x2B063417: call esi */ 8251 RECOMP_FLAGS_IN(); 8252 edi = POP32_VAL(esp); /* 0x2B063419: pop edi */ 8253 esi = POP32_VAL(esp); /* 0x2B06341A: pop esi */ 8254 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06341B: ret */ 8255 RECOMP_REGS_OUT(); 8256 } 8257 8258 void sub_2B063420(void) { 8259 int _fpu_cmp = 0; 8260 uint32_t _cf = 0; 8261 int _df = 1; 8262 uint32_t _flag_k = FK_NONE; 8263 uint32_t _flag_a = 0, _flag_b = 0; 8264 uint32_t _itail_tgt = 0; 8265 RECOMP_REGS_LOCALS 8266 RECOMP_ENTER(0x2B063420u); 8267 8268 L_2B063420: 8269 PUSH32(esp, esi); /* 0x2B063420: push esi */ 8270 esi = MEM32(0x2B0EEDDC); /* 0x2B063421: mov esi, dword ptr [0x2b0eeddc] */ 8271 /* test esi, esi */ /* 0x2B063427: test esi, esi */ 8272 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8273 _cf = 0; 8274 _flag_k = FK_TEST; 8275 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06343B; /* 0x2B063429: je 0x2b06343b */ 8276 L_2B06342B: 8277 ecx = esi; /* 0x2B06342B: mov ecx, esi */ 8278 RECOMP_ICALL(0x2B062F80u); /* 0x2B06342D: call 0x2b062f80 */ /* not lifted */ 8279 RECOMP_FLAGS_IN(); 8280 PUSH32(esp, esi); /* 0x2B063432: push esi */ 8281 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063433: call 0x2b0ab1ba */ /* not lifted */ 8282 RECOMP_FLAGS_IN(); 8283 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8284 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8285 esp = esp + 4; /* 0x2B063438: add esp, 4 */ 8286 _flag_k = FK_ADD; 8287 L_2B06343B: 8288 esi = MEM32(0x2B0EEDE0); /* 0x2B06343B: mov esi, dword ptr [0x2b0eede0] */ 8289 /* test esi, esi */ /* 0x2B063441: test esi, esi */ 8290 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8291 _cf = 0; 8292 _flag_k = FK_TEST; 8293 MEM32(0x2B0EEDDC) = 0; /* 0x2B063443: mov dword ptr [0x2b0eeddc], 0 */ 8294 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06345F; /* 0x2B06344D: je 0x2b06345f */ 8295 L_2B06344F: 8296 ecx = esi; /* 0x2B06344F: mov ecx, esi */ 8297 RECOMP_ICALL(0x2B062F80u); /* 0x2B063451: call 0x2b062f80 */ /* not lifted */ 8298 RECOMP_FLAGS_IN(); 8299 PUSH32(esp, esi); /* 0x2B063456: push esi */ 8300 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063457: call 0x2b0ab1ba */ /* not lifted */ 8301 RECOMP_FLAGS_IN(); 8302 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8303 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8304 esp = esp + 4; /* 0x2B06345C: add esp, 4 */ 8305 _flag_k = FK_ADD; 8306 L_2B06345F: 8307 esi = MEM32(0x2B0EEDE8); /* 0x2B06345F: mov esi, dword ptr [0x2b0eede8] */ 8308 /* test esi, esi */ /* 0x2B063465: test esi, esi */ 8309 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8310 _cf = 0; 8311 _flag_k = FK_TEST; 8312 MEM32(0x2B0EEDE0) = 0; /* 0x2B063467: mov dword ptr [0x2b0eede0], 0 */ 8313 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063483; /* 0x2B063471: je 0x2b063483 */ 8314 L_2B063473: 8315 ecx = esi; /* 0x2B063473: mov ecx, esi */ 8316 RECOMP_ICALL(0x2B0653E0u); /* 0x2B063475: call 0x2b0653e0 */ /* not lifted */ 8317 RECOMP_FLAGS_IN(); 8318 PUSH32(esp, esi); /* 0x2B06347A: push esi */ 8319 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06347B: call 0x2b0ab1ba */ /* not lifted */ 8320 RECOMP_FLAGS_IN(); 8321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8323 esp = esp + 4; /* 0x2B063480: add esp, 4 */ 8324 _flag_k = FK_ADD; 8325 L_2B063483: 8326 PUSH32(esp, edi); /* 0x2B063483: push edi */ 8327 RECOMP_ICALL(0x2B0631A0u); /* 0x2B063484: call 0x2b0631a0 */ /* not lifted */ 8328 RECOMP_FLAGS_IN(); 8329 edi = MEM32(0x2B0B6054); /* 0x2B063489: mov edi, dword ptr [0x2b0b6054] */ 8330 PUSH32(esp, 1); /* 0x2B06348F: push 1 */ 8331 esi = eax; /* 0x2B063491: mov esi, eax */ 8332 eax = MEM32(0x2B0B6048); /* 0x2B063493: mov eax, dword ptr [0x2b0b6048] */ 8333 ecx = MEM32(eax); /* 0x2B063498: mov ecx, dword ptr [eax] */ 8334 PUSH32(esp, esi); /* 0x2B06349A: push esi */ 8335 PUSH32(esp, 0x2B0644C0u); /* 0x2B06349B: push 0x2b0644c0 */ 8336 PUSH32(esp, 0x2B0E8AF0u); /* 0x2B0634A0: push 0x2b0e8af0 */ 8337 RECOMP_ICALL(edi); /* 0x2B0634A5: call edi */ 8338 RECOMP_FLAGS_IN(); 8339 ecx = MEM32(0x2B0B6048); /* 0x2B0634A7: mov ecx, dword ptr [0x2b0b6048] */ 8340 ecx = MEM32(ecx); /* 0x2B0634AD: mov ecx, dword ptr [ecx] */ 8341 PUSH32(esp, 2); /* 0x2B0634AF: push 2 */ 8342 PUSH32(esp, esi); /* 0x2B0634B1: push esi */ 8343 PUSH32(esp, 0x2B0645C0u); /* 0x2B0634B2: push 0x2b0645c0 */ 8344 PUSH32(esp, 0x2B0E8D8Cu); /* 0x2B0634B7: push 0x2b0e8d8c */ 8345 RECOMP_ICALL(edi); /* 0x2B0634BC: call edi */ 8346 RECOMP_FLAGS_IN(); 8347 /* test esi, esi */ /* 0x2B0634BE: test esi, esi */ 8348 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 8349 _cf = 0; 8350 _flag_k = FK_TEST; 8351 edi = POP32_VAL(esp); /* 0x2B0634C0: pop edi */ 8352 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0634CA; /* 0x2B0634C1: je 0x2b0634ca */ 8353 L_2B0634C3: 8354 ecx = esi; /* 0x2B0634C3: mov ecx, esi */ 8355 RECOMP_ICALL(0x2B064360u); /* 0x2B0634C5: call 0x2b064360 */ /* not lifted */ 8356 RECOMP_FLAGS_IN(); 8357 L_2B0634CA: 8358 esi = POP32_VAL(esp); /* 0x2B0634CA: pop esi */ 8359 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0634CB: ret */ 8360 RECOMP_REGS_OUT(); 8361 } 8362 8363 void sub_2B0634D0(void) { 8364 int _fpu_cmp = 0; 8365 uint32_t _cf = 0; 8366 int _df = 1; 8367 uint32_t _flag_k = FK_NONE; 8368 uint32_t _flag_a = 0, _flag_b = 0; 8369 uint32_t _itail_tgt = 0; 8370 RECOMP_REGS_LOCALS 8371 RECOMP_ENTER(0x2B0634D0u); 8372 8373 L_2B0634D0: 8374 PUSH32(esp, ebp); /* 0x2B0634D0: push ebp */ 8375 ebp = esp; /* 0x2B0634D1: mov ebp, esp */ 8376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8378 esp = esp - 8; /* 0x2B0634D3: sub esp, 8 */ 8379 _flag_k = FK_CMP; 8380 eax = ebp + (-0x8); /* 0x2B0634D6: lea eax, [ebp - 8] */ 8381 PUSH32(esp, eax); /* 0x2B0634D9: push eax */ 8382 MEM32(ebp + (-0x8)) = 0; /* 0x2B0634DA: mov dword ptr [ebp - 8], 0 */ 8383 MEM32(ebp + (-0x4)) = 0; /* 0x2B0634E1: mov dword ptr [ebp - 4], 0 */ 8384 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B0634E8: call dword ptr [0x2b0b53cc] */ 8385 RECOMP_FLAGS_IN(); 8386 ecx = eax; /* 0x2B0634EE: mov ecx, eax */ 8387 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B0634F0: call dword ptr [0x2b0b53ac] */ 8388 RECOMP_FLAGS_IN(); 8389 ecx = ebp + (-0x8); /* 0x2B0634F6: lea ecx, [ebp - 8] */ 8390 PUSH32(esp, 0); /* 0x2B0634F9: push 0 */ 8391 PUSH32(esp, ecx); /* 0x2B0634FB: push ecx */ 8392 RECOMP_ICALL(0x2B0635C0u); /* 0x2B0634FC: call 0x2b0635c0 */ /* not lifted */ 8393 RECOMP_FLAGS_IN(); 8394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8396 esp = esp + 8; /* 0x2B063501: add esp, 8 */ 8397 _flag_k = FK_ADD; 8398 esp = ebp; /* 0x2B063504: mov esp, ebp */ 8399 ebp = POP32_VAL(esp); /* 0x2B063506: pop ebp */ 8400 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063507: ret */ 8401 RECOMP_REGS_OUT(); 8402 } 8403 8404 void sub_2B063510(void) { 8405 int _fpu_cmp = 0; 8406 uint32_t _cf = 0; 8407 int _df = 1; 8408 uint32_t _flag_k = FK_NONE; 8409 uint32_t _flag_a = 0, _flag_b = 0; 8410 uint32_t _itail_tgt = 0; 8411 RECOMP_REGS_LOCALS 8412 RECOMP_ENTER(0x2B063510u); 8413 8414 L_2B063510: 8415 PUSH32(esp, ebp); /* 0x2B063510: push ebp */ 8416 ebp = esp; /* 0x2B063511: mov ebp, esp */ 8417 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8419 esp = esp - 8; /* 0x2B063513: sub esp, 8 */ 8420 _flag_k = FK_CMP; 8421 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8422 eax = 0; /* 0x2B063516: xor eax, eax */ 8423 _cf = 0; 8424 _flag_k = FK_TEST; 8425 MEM32(ebp + (-0x8)) = eax; /* 0x2B063518: mov dword ptr [ebp - 8], eax */ 8426 MEM32(ebp + (-0x4)) = eax; /* 0x2B06351B: mov dword ptr [ebp - 4], eax */ 8427 eax = ebp + (-0x8); /* 0x2B06351E: lea eax, [ebp - 8] */ 8428 PUSH32(esp, eax); /* 0x2B063521: push eax */ 8429 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B063522: call dword ptr [0x2b0b53cc] */ 8430 RECOMP_FLAGS_IN(); 8431 ecx = eax; /* 0x2B063528: mov ecx, eax */ 8432 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B06352A: call dword ptr [0x2b0b53ac] */ 8433 RECOMP_FLAGS_IN(); 8434 ecx = ebp + (-0x8); /* 0x2B063530: lea ecx, [ebp - 8] */ 8435 PUSH32(esp, 1); /* 0x2B063533: push 1 */ 8436 PUSH32(esp, ecx); /* 0x2B063535: push ecx */ 8437 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063536: call 0x2b0635c0 */ /* not lifted */ 8438 RECOMP_FLAGS_IN(); 8439 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8440 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8441 esp = esp + 8; /* 0x2B06353B: add esp, 8 */ 8442 _flag_k = FK_ADD; 8443 esp = ebp; /* 0x2B06353E: mov esp, ebp */ 8444 ebp = POP32_VAL(esp); /* 0x2B063540: pop ebp */ 8445 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063541: ret */ 8446 RECOMP_REGS_OUT(); 8447 } 8448 8449 void sub_2B063550(void) { 8450 int _fpu_cmp = 0; 8451 uint32_t _cf = 0; 8452 int _df = 1; 8453 uint32_t _flag_k = FK_NONE; 8454 uint32_t _flag_a = 0, _flag_b = 0; 8455 uint32_t _itail_tgt = 0; 8456 RECOMP_REGS_LOCALS 8457 RECOMP_ENTER(0x2B063550u); 8458 8459 L_2B063550: 8460 PUSH32(esp, 0x2B0EED00u); /* 0x2B063550: push 0x2b0eed00 */ 8461 RECOMP_ICALL(0x2B063940u); /* 0x2B063555: call 0x2b063940 */ /* not lifted */ 8462 RECOMP_FLAGS_IN(); 8463 ecx = POP32_VAL(esp); /* 0x2B06355A: pop ecx */ 8464 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06355B: ret */ 8465 RECOMP_REGS_OUT(); 8466 } 8467 8468 void sub_2B063560(void) { 8469 int _fpu_cmp = 0; 8470 uint32_t _cf = 0; 8471 int _df = 1; 8472 uint32_t _flag_k = FK_NONE; 8473 uint32_t _flag_a = 0, _flag_b = 0; 8474 uint32_t _itail_tgt = 0; 8475 RECOMP_REGS_LOCALS 8476 RECOMP_ENTER(0x2B063560u); 8477 8478 L_2B063560: 8479 PUSH32(esp, ebp); /* 0x2B063560: push ebp */ 8480 ebp = esp; /* 0x2B063561: mov ebp, esp */ 8481 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8483 esp = esp - 8; /* 0x2B063563: sub esp, 8 */ 8484 _flag_k = FK_CMP; 8485 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8486 eax = 0; /* 0x2B063566: xor eax, eax */ 8487 _cf = 0; 8488 _flag_k = FK_TEST; 8489 MEM32(ebp + (-0x8)) = eax; /* 0x2B063568: mov dword ptr [ebp - 8], eax */ 8490 MEM32(ebp + (-0x4)) = eax; /* 0x2B06356B: mov dword ptr [ebp - 4], eax */ 8491 eax = ebp + (-0x8); /* 0x2B06356E: lea eax, [ebp - 8] */ 8492 PUSH32(esp, eax); /* 0x2B063571: push eax */ 8493 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B063572: call dword ptr [0x2b0b53cc] */ 8494 RECOMP_FLAGS_IN(); 8495 ecx = eax; /* 0x2B063578: mov ecx, eax */ 8496 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B06357A: call dword ptr [0x2b0b53ac] */ 8497 RECOMP_FLAGS_IN(); 8498 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063580: call dword ptr [0x2b0b5b64] */ 8499 RECOMP_FLAGS_IN(); 8500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 8501 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8502 eax = eax + 0xBCu; /* 0x2B063586: add eax, 0xbc */ 8503 _flag_k = FK_ADD; 8504 ecx = ebp + (-0x8); /* 0x2B06358B: lea ecx, [ebp - 8] */ 8505 /* cmp ecx, eax */ /* 0x2B06358E: cmp ecx, eax */ 8506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 8507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8508 _flag_k = FK_CMP; 8509 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063599; /* 0x2B063590: je 0x2b063599 */ 8510 L_2B063592: 8511 ecx = MEM32(eax); /* 0x2B063592: mov ecx, dword ptr [eax] */ 8512 eax = MEM32(eax + 0x4); /* 0x2B063594: mov eax, dword ptr [eax + 4] */ 8513 goto L_2B06359F; /* 0x2B063597: jmp 0x2b06359f */ 8514 L_2B063599: 8515 eax = MEM32(ebp + (-0x4)); /* 0x2B063599: mov eax, dword ptr [ebp - 4] */ 8516 ecx = MEM32(ebp + (-0x8)); /* 0x2B06359C: mov ecx, dword ptr [ebp - 8] */ 8517 L_2B06359F: 8518 /* cmp MEM32(ebp + (-0x4)), eax */ /* 0x2B06359F: cmp dword ptr [ebp - 4], eax */ 8519 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(eax); 8520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8521 _flag_k = FK_CMP; 8522 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0635B6; /* 0x2B0635A2: jne 0x2b0635b6 */ 8523 L_2B0635A4: 8524 /* cmp MEM32(ebp + (-0x8)), ecx */ /* 0x2B0635A4: cmp dword ptr [ebp - 8], ecx */ 8525 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(ecx); 8526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8527 _flag_k = FK_CMP; 8528 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0635B6; /* 0x2B0635A7: jne 0x2b0635b6 */ 8529 L_2B0635A9: 8530 PUSH32(esp, 0x2B0EED00u); /* 0x2B0635A9: push 0x2b0eed00 */ 8531 RECOMP_ICALL(0x2B063940u); /* 0x2B0635AE: call 0x2b063940 */ /* not lifted */ 8532 RECOMP_FLAGS_IN(); 8533 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8534 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8535 esp = esp + 4; /* 0x2B0635B3: add esp, 4 */ 8536 _flag_k = FK_ADD; 8537 L_2B0635B6: 8538 esp = ebp; /* 0x2B0635B6: mov esp, ebp */ 8539 ebp = POP32_VAL(esp); /* 0x2B0635B8: pop ebp */ 8540 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0635B9: ret */ 8541 RECOMP_REGS_OUT(); 8542 } 8543 8544 void sub_2B0635C0(void) { 8545 int _fpu_cmp = 0; 8546 uint32_t _cf = 0; 8547 int _df = 1; 8548 uint32_t _flag_k = FK_NONE; 8549 uint32_t _flag_a = 0, _flag_b = 0; 8550 uint32_t _itail_tgt = 0; 8551 RECOMP_REGS_LOCALS 8552 RECOMP_ENTER(0x2B0635C0u); 8553 8554 L_2B0635C0: 8555 PUSH32(esp, ebp); /* 0x2B0635C0: push ebp */ 8556 ebp = esp; /* 0x2B0635C1: mov ebp, esp */ 8557 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0635C3: push -1 */ 8558 PUSH32(esp, 0x2B0B0977u); /* 0x2B0635C5: push 0x2b0b0977 */ 8559 eax = MEM32(FS_BASE + (0)); /* 0x2B0635CA: mov eax, dword ptr fs:[0] */ 8560 PUSH32(esp, eax); /* 0x2B0635D0: push eax */ 8561 MEM32(FS_BASE + (0)) = esp; /* 0x2B0635D1: mov dword ptr fs:[0], esp */ 8562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8564 esp = esp - 8; /* 0x2B0635D8: sub esp, 8 */ 8565 _flag_k = FK_CMP; 8566 eax = MEM32(0x2B0EEDD8); /* 0x2B0635DB: mov eax, dword ptr [0x2b0eedd8] */ 8567 /* test eax, eax */ /* 0x2B0635E0: test eax, eax */ 8568 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8569 _cf = 0; 8570 _flag_k = FK_TEST; 8571 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0635EB; /* 0x2B0635E2: je 0x2b0635eb */ 8572 L_2B0635E4: 8573 MEM32(eax + 0x4) = 0x42C80000u; /* 0x2B0635E4: mov dword ptr [eax + 4], 0x42c80000 */ 8574 L_2B0635EB: 8575 PUSH32(esp, ebx); /* 0x2B0635EB: push ebx */ 8576 PUSH32(esp, esi); /* 0x2B0635EC: push esi */ 8577 esi = MEM32(ebp + 0x8); /* 0x2B0635ED: mov esi, dword ptr [ebp + 8] */ 8578 /* cmp MEM32(esi), 0 */ /* 0x2B0635F0: cmp dword ptr [esi], 0 */ 8579 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0); 8580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8581 _flag_k = FK_CMP; 8582 PUSH32(esp, edi); /* 0x2B0635F3: push edi */ 8583 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0636AC; /* 0x2B0635F4: jne 0x2b0636ac */ 8584 L_2B0635FA: 8585 eax = MEM32(esi + 0x4); /* 0x2B0635FA: mov eax, dword ptr [esi + 4] */ 8586 /* test eax, eax */ /* 0x2B0635FD: test eax, eax */ 8587 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8588 _cf = 0; 8589 _flag_k = FK_TEST; 8590 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0636AC; /* 0x2B0635FF: jne 0x2b0636ac */ 8591 L_2B063605: 8592 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063605: call dword ptr [0x2b0b5b64] */ 8593 RECOMP_FLAGS_IN(); 8594 ecx = MEM32(esi); /* 0x2B06360B: mov ecx, dword ptr [esi] */ 8595 edi = MEM32(0x2B0B53CC); /* 0x2B06360D: mov edi, dword ptr [0x2b0b53cc] */ 8596 PUSH32(esp, esi); /* 0x2B063613: push esi */ 8597 MEM32(eax + 0xBC) = ecx; /* 0x2B063614: mov dword ptr [eax + 0xbc], ecx */ 8598 edx = MEM32(esi + 0x4); /* 0x2B06361A: mov edx, dword ptr [esi + 4] */ 8599 PUSH32(esp, 0x73u); /* 0x2B06361D: push 0x73 */ 8600 PUSH32(esp, 9); /* 0x2B06361F: push 9 */ 8601 MEM32(eax + 0xC0) = edx; /* 0x2B063621: mov dword ptr [eax + 0xc0], edx */ 8602 RECOMP_ICALL(edi); /* 0x2B063627: call edi */ 8603 RECOMP_FLAGS_IN(); 8604 ebx = MEM32(0x2B0B5380); /* 0x2B063629: mov ebx, dword ptr [0x2b0b5380] */ 8605 ecx = eax; /* 0x2B06362F: mov ecx, eax */ 8606 RECOMP_ICALL(ebx); /* 0x2B063631: call ebx */ 8607 RECOMP_FLAGS_IN(); 8608 PUSH32(esp, esi); /* 0x2B063633: push esi */ 8609 PUSH32(esp, 0x73u); /* 0x2B063634: push 0x73 */ 8610 PUSH32(esp, 0x2Du); /* 0x2B063636: push 0x2d */ 8611 RECOMP_ICALL(edi); /* 0x2B063638: call edi */ 8612 RECOMP_FLAGS_IN(); 8613 ecx = eax; /* 0x2B06363A: mov ecx, eax */ 8614 RECOMP_ICALL(ebx); /* 0x2B06363C: call ebx */ 8615 RECOMP_FLAGS_IN(); 8616 esi = MEM32(0x2B0EEDDC); /* 0x2B06363E: mov esi, dword ptr [0x2b0eeddc] */ 8617 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8618 edi = 0; /* 0x2B063644: xor edi, edi */ 8619 _cf = 0; 8620 _flag_k = FK_TEST; 8621 /* cmp esi, edi */ /* 0x2B063646: cmp esi, edi */ 8622 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 8623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8624 _flag_k = FK_CMP; 8625 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06365A; /* 0x2B063648: je 0x2b06365a */ 8626 L_2B06364A: 8627 ecx = esi; /* 0x2B06364A: mov ecx, esi */ 8628 RECOMP_ICALL(0x2B062F80u); /* 0x2B06364C: call 0x2b062f80 */ /* not lifted */ 8629 RECOMP_FLAGS_IN(); 8630 PUSH32(esp, esi); /* 0x2B063651: push esi */ 8631 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063652: call 0x2b0ab1ba */ /* not lifted */ 8632 RECOMP_FLAGS_IN(); 8633 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8634 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8635 esp = esp + 4; /* 0x2B063657: add esp, 4 */ 8636 _flag_k = FK_ADD; 8637 L_2B06365A: 8638 eax = MEM32(0x2B0EEDE8); /* 0x2B06365A: mov eax, dword ptr [0x2b0eede8] */ 8639 /* cmp eax, edi */ /* 0x2B06365F: cmp eax, edi */ 8640 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8642 _flag_k = FK_CMP; 8643 MEM32(0x2B0EEDDC) = edi; /* 0x2B063661: mov dword ptr [0x2b0eeddc], edi */ 8644 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063694; /* 0x2B063667: jne 0x2b063694 */ 8645 L_2B063669: 8646 PUSH32(esp, 0x54u); /* 0x2B063669: push 0x54 */ 8647 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06366B: call 0x2b0ab212 */ /* not lifted */ 8648 RECOMP_FLAGS_IN(); 8649 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8650 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8651 esp = esp + 4; /* 0x2B063670: add esp, 4 */ 8652 _flag_k = FK_ADD; 8653 MEM32(ebp + 0xC) = eax; /* 0x2B063673: mov dword ptr [ebp + 0xc], eax */ 8654 /* cmp eax, edi */ /* 0x2B063676: cmp eax, edi */ 8655 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 8656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8657 _flag_k = FK_CMP; 8658 MEM32(ebp + (-0x4)) = edi; /* 0x2B063678: mov dword ptr [ebp - 4], edi */ 8659 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063686; /* 0x2B06367B: je 0x2b063686 */ 8660 L_2B06367D: 8661 ecx = eax; /* 0x2B06367D: mov ecx, eax */ 8662 RECOMP_ICALL(0x2B064F40u); /* 0x2B06367F: call 0x2b064f40 */ /* not lifted */ 8663 RECOMP_FLAGS_IN(); 8664 goto L_2B063688; /* 0x2B063684: jmp 0x2b063688 */ 8665 L_2B063686: 8666 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8667 eax = 0; /* 0x2B063686: xor eax, eax */ 8668 _cf = 0; 8669 _flag_k = FK_TEST; 8670 L_2B063688: 8671 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B063688: mov dword ptr [ebp - 4], 0xffffffff */ 8672 MEM32(0x2B0EEDE8) = eax; /* 0x2B06368F: mov dword ptr [0x2b0eede8], eax */ 8673 L_2B063694: 8674 ecx = eax; /* 0x2B063694: mov ecx, eax */ 8675 RECOMP_ICALL(0x2B065930u); /* 0x2B063696: call 0x2b065930 */ /* not lifted */ 8676 RECOMP_FLAGS_IN(); 8677 edi = POP32_VAL(esp); /* 0x2B06369B: pop edi */ 8678 esi = POP32_VAL(esp); /* 0x2B06369C: pop esi */ 8679 ebx = POP32_VAL(esp); /* 0x2B06369D: pop ebx */ 8680 ecx = MEM32(ebp + (-0xC)); /* 0x2B06369E: mov ecx, dword ptr [ebp - 0xc] */ 8681 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0636A1: mov dword ptr fs:[0], ecx */ 8682 esp = ebp; /* 0x2B0636A8: mov esp, ebp */ 8683 ebp = POP32_VAL(esp); /* 0x2B0636AA: pop ebp */ 8684 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0636AB: ret */ 8685 L_2B0636AC: 8686 SET_LO8(ebx, MEM8(ebp + 0xC)); /* 0x2B0636AC: mov bl, byte ptr [ebp + 0xc] */ 8687 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0636AF: test bl, bl */ 8688 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8689 _cf = 0; 8690 _flag_k = FK_NARROW(FK_TEST, 24); 8691 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0636CA; /* 0x2B0636B1: jne 0x2b0636ca */ 8692 L_2B0636B3: 8693 PUSH32(esp, esi); /* 0x2B0636B3: push esi */ 8694 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0636B4: call dword ptr [0x2b0b5d6c] */ 8695 RECOMP_FLAGS_IN(); 8696 ecx = eax; /* 0x2B0636BA: mov ecx, eax */ 8697 RECOMP_ICALL(MEM32(0x2B0B5DCC)); /* 0x2B0636BC: call dword ptr [0x2b0b5dcc] */ 8698 RECOMP_FLAGS_IN(); 8699 /* test LO8(eax), LO8(eax) */ /* 0x2B0636C2: test al, al */ 8700 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8701 _cf = 0; 8702 _flag_k = FK_NARROW(FK_TEST, 24); 8703 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B0636C4: je 0x2b06392f */ 8704 L_2B0636CA: 8705 edi = MEM32(0x2B0B5B64); /* 0x2B0636CA: mov edi, dword ptr [0x2b0b5b64] */ 8706 RECOMP_ICALL(edi); /* 0x2B0636D0: call edi */ 8707 RECOMP_FLAGS_IN(); 8708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 8709 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8710 eax = eax + 0xD4u; /* 0x2B0636D2: add eax, 0xd4 */ 8711 _flag_k = FK_ADD; 8712 PUSH32(esp, eax); /* 0x2B0636D7: push eax */ 8713 ecx = ebp + (-0x14); /* 0x2B0636D8: lea ecx, [ebp - 0x14] */ 8714 RECOMP_ICALL(0x2B007700u); /* 0x2B0636DB: call 0x2b007700 */ /* not lifted */ 8715 RECOMP_FLAGS_IN(); 8716 eax = MEM32(ebp + (-0x10)); /* 0x2B0636E0: mov eax, dword ptr [ebp - 0x10] */ 8717 /* cmp eax, MEM32(esi + 0x4) */ /* 0x2B0636E3: cmp eax, dword ptr [esi + 4] */ 8718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8720 _flag_k = FK_CMP; 8721 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0636EF; /* 0x2B0636E6: jne 0x2b0636ef */ 8722 L_2B0636E8: 8723 ecx = MEM32(ebp + (-0x14)); /* 0x2B0636E8: mov ecx, dword ptr [ebp - 0x14] */ 8724 /* cmp ecx, MEM32(esi) */ /* 0x2B0636EB: cmp ecx, dword ptr [esi] */ 8725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8727 _flag_k = FK_CMP; 8728 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06370B; /* 0x2B0636ED: je 0x2b06370b */ 8729 L_2B0636EF: 8730 PUSH32(esp, 0x100u); /* 0x2B0636EF: push 0x100 */ 8731 PUSH32(esp, esi); /* 0x2B0636F4: push esi */ 8732 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B0636F5: call dword ptr [0x2b0b5d6c] */ 8733 RECOMP_FLAGS_IN(); 8734 ecx = eax; /* 0x2B0636FB: mov ecx, eax */ 8735 RECOMP_ICALL(MEM32(0x2B0B5DD0)); /* 0x2B0636FD: call dword ptr [0x2b0b5dd0] */ 8736 RECOMP_FLAGS_IN(); 8737 /* test LO8(eax), LO8(eax) */ /* 0x2B063703: test al, al */ 8738 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8739 _cf = 0; 8740 _flag_k = FK_NARROW(FK_TEST, 24); 8741 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B063705: jne 0x2b06392f */ 8742 L_2B06370B: 8743 MEM8(0x2B0EEDE4) = (uint8_t)(LO8(ebx)); /* 0x2B06370B: mov byte ptr [0x2b0eede4], bl */ 8744 RECOMP_ICALL(edi); /* 0x2B063711: call edi */ 8745 RECOMP_FLAGS_IN(); 8746 edx = MEM32(esi); /* 0x2B063713: mov edx, dword ptr [esi] */ 8747 ebx = MEM32(0x2B0B53CC); /* 0x2B063715: mov ebx, dword ptr [0x2b0b53cc] */ 8748 PUSH32(esp, esi); /* 0x2B06371B: push esi */ 8749 MEM32(eax + 0xBC) = edx; /* 0x2B06371C: mov dword ptr [eax + 0xbc], edx */ 8750 ecx = MEM32(esi + 0x4); /* 0x2B063722: mov ecx, dword ptr [esi + 4] */ 8751 PUSH32(esp, 0x73u); /* 0x2B063725: push 0x73 */ 8752 PUSH32(esp, 0x2Du); /* 0x2B063727: push 0x2d */ 8753 MEM32(eax + 0xC0) = ecx; /* 0x2B063729: mov dword ptr [eax + 0xc0], ecx */ 8754 RECOMP_ICALL(ebx); /* 0x2B06372F: call ebx */ 8755 RECOMP_FLAGS_IN(); 8756 ecx = eax; /* 0x2B063731: mov ecx, eax */ 8757 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B063733: call dword ptr [0x2b0b5380] */ 8758 RECOMP_FLAGS_IN(); 8759 edi = MEM32(0x2B0EEDDC); /* 0x2B063739: mov edi, dword ptr [0x2b0eeddc] */ 8760 /* test edi, edi */ /* 0x2B06373F: test edi, edi */ 8761 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 8762 _cf = 0; 8763 _flag_k = FK_TEST; 8764 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063753; /* 0x2B063741: je 0x2b063753 */ 8765 L_2B063743: 8766 ecx = edi; /* 0x2B063743: mov ecx, edi */ 8767 RECOMP_ICALL(0x2B062F80u); /* 0x2B063745: call 0x2b062f80 */ /* not lifted */ 8768 RECOMP_FLAGS_IN(); 8769 PUSH32(esp, edi); /* 0x2B06374A: push edi */ 8770 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06374B: call 0x2b0ab1ba */ /* not lifted */ 8771 RECOMP_FLAGS_IN(); 8772 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8774 esp = esp + 4; /* 0x2B063750: add esp, 4 */ 8775 _flag_k = FK_ADD; 8776 L_2B063753: 8777 ecx = MEM32(0x2B0EEDE8); /* 0x2B063753: mov ecx, dword ptr [0x2b0eede8] */ 8778 /* test ecx, ecx */ /* 0x2B063759: test ecx, ecx */ 8779 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8780 _cf = 0; 8781 _flag_k = FK_TEST; 8782 MEM32(0x2B0EEDDC) = 0; /* 0x2B06375B: mov dword ptr [0x2b0eeddc], 0 */ 8783 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0637A8; /* 0x2B063765: jne 0x2b0637a8 */ 8784 L_2B063767: 8785 PUSH32(esp, 0x54u); /* 0x2B063767: push 0x54 */ 8786 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063769: call 0x2b0ab212 */ /* not lifted */ 8787 RECOMP_FLAGS_IN(); 8788 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8789 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8790 esp = esp + 4; /* 0x2B06376E: add esp, 4 */ 8791 _flag_k = FK_ADD; 8792 MEM32(ebp + 0xC) = eax; /* 0x2B063771: mov dword ptr [ebp + 0xc], eax */ 8793 /* test eax, eax */ /* 0x2B063774: test eax, eax */ 8794 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8795 _cf = 0; 8796 _flag_k = FK_TEST; 8797 MEM32(ebp + (-0x4)) = 1; /* 0x2B063776: mov dword ptr [ebp - 4], 1 */ 8798 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063796; /* 0x2B06377D: je 0x2b063796 */ 8799 L_2B06377F: 8800 ecx = eax; /* 0x2B06377F: mov ecx, eax */ 8801 RECOMP_ICALL(0x2B064F40u); /* 0x2B063781: call 0x2b064f40 */ /* not lifted */ 8802 RECOMP_FLAGS_IN(); 8803 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 8804 edi = edi | 0xFFFFFFFFu; /* 0x2B063786: or edi, 0xffffffff */ 8805 _cf = 0; 8806 _flag_k = FK_TEST; 8807 ecx = eax; /* 0x2B063789: mov ecx, eax */ 8808 MEM32(ebp + (-0x4)) = edi; /* 0x2B06378B: mov dword ptr [ebp - 4], edi */ 8809 MEM32(0x2B0EEDE8) = ecx; /* 0x2B06378E: mov dword ptr [0x2b0eede8], ecx */ 8810 goto L_2B0637AB; /* 0x2B063794: jmp 0x2b0637ab */ 8811 L_2B063796: 8812 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8813 eax = 0; /* 0x2B063796: xor eax, eax */ 8814 _cf = 0; 8815 _flag_k = FK_TEST; 8816 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 8817 edi = edi | 0xFFFFFFFFu; /* 0x2B063798: or edi, 0xffffffff */ 8818 _cf = 0; 8819 _flag_k = FK_TEST; 8820 ecx = eax; /* 0x2B06379B: mov ecx, eax */ 8821 MEM32(ebp + (-0x4)) = edi; /* 0x2B06379D: mov dword ptr [ebp - 4], edi */ 8822 MEM32(0x2B0EEDE8) = ecx; /* 0x2B0637A0: mov dword ptr [0x2b0eede8], ecx */ 8823 goto L_2B0637AB; /* 0x2B0637A6: jmp 0x2b0637ab */ 8824 L_2B0637A8: 8825 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 8826 edi = edi | 0xFFFFFFFFu; /* 0x2B0637A8: or edi, 0xffffffff */ 8827 _cf = 0; 8828 _flag_k = FK_TEST; 8829 L_2B0637AB: 8830 RECOMP_ICALL(0x2B065930u); /* 0x2B0637AB: call 0x2b065930 */ /* not lifted */ 8831 RECOMP_FLAGS_IN(); 8832 PUSH32(esp, esi); /* 0x2B0637B0: push esi */ 8833 PUSH32(esp, 0x73u); /* 0x2B0637B1: push 0x73 */ 8834 PUSH32(esp, 9); /* 0x2B0637B3: push 9 */ 8835 RECOMP_ICALL(ebx); /* 0x2B0637B5: call ebx */ 8836 RECOMP_FLAGS_IN(); 8837 ecx = eax; /* 0x2B0637B7: mov ecx, eax */ 8838 RECOMP_ICALL(MEM32(0x2B0B5380)); /* 0x2B0637B9: call dword ptr [0x2b0b5380] */ 8839 RECOMP_FLAGS_IN(); 8840 ebx = MEM32(0x2B0B5D6C); /* 0x2B0637BF: mov ebx, dword ptr [0x2b0b5d6c] */ 8841 PUSH32(esp, 0); /* 0x2B0637C5: push 0 */ 8842 PUSH32(esp, esi); /* 0x2B0637C7: push esi */ 8843 RECOMP_ICALL(ebx); /* 0x2B0637C8: call ebx */ 8844 RECOMP_FLAGS_IN(); 8845 ecx = eax; /* 0x2B0637CA: mov ecx, eax */ 8846 RECOMP_ICALL(MEM32(0x2B0B5EE0)); /* 0x2B0637CC: call dword ptr [0x2b0b5ee0] */ 8847 RECOMP_FLAGS_IN(); 8848 /* test HI8(eax), 4 */ /* 0x2B0637D2: test ah, 4 */ 8849 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(4) << 24; 8850 _cf = 0; 8851 _flag_k = FK_NARROW(FK_TEST, 24); 8852 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06385D; /* 0x2B0637D5: jne 0x2b06385d */ 8853 L_2B0637DB: 8854 PUSH32(esp, 0x38u); /* 0x2B0637DB: push 0x38 */ 8855 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0637DD: call 0x2b0ab212 */ /* not lifted */ 8856 RECOMP_FLAGS_IN(); 8857 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8858 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8859 esp = esp + 4; /* 0x2B0637E2: add esp, 4 */ 8860 _flag_k = FK_ADD; 8861 MEM32(ebp + 0xC) = eax; /* 0x2B0637E5: mov dword ptr [ebp + 0xc], eax */ 8862 /* test eax, eax */ /* 0x2B0637E8: test eax, eax */ 8863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8864 _cf = 0; 8865 _flag_k = FK_TEST; 8866 MEM32(ebp + (-0x4)) = 2; /* 0x2B0637EA: mov dword ptr [ebp - 4], 2 */ 8867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063801; /* 0x2B0637F1: je 0x2b063801 */ 8868 L_2B0637F3: 8869 PUSH32(esp, 1); /* 0x2B0637F3: push 1 */ 8870 PUSH32(esp, 0); /* 0x2B0637F5: push 0 */ 8871 PUSH32(esp, esi); /* 0x2B0637F7: push esi */ 8872 ecx = eax; /* 0x2B0637F8: mov ecx, eax */ 8873 RECOMP_ICALL(0x2B0624E0u); /* 0x2B0637FA: call 0x2b0624e0 */ /* not lifted */ 8874 RECOMP_FLAGS_IN(); 8875 goto L_2B063803; /* 0x2B0637FF: jmp 0x2b063803 */ 8876 L_2B063801: 8877 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8878 eax = 0; /* 0x2B063801: xor eax, eax */ 8879 _cf = 0; 8880 _flag_k = FK_TEST; 8881 L_2B063803: 8882 ecx = MEM32(0x2B0EEDE8); /* 0x2B063803: mov ecx, dword ptr [0x2b0eede8] */ 8883 /* test ecx, ecx */ /* 0x2B063809: test ecx, ecx */ 8884 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8885 _cf = 0; 8886 _flag_k = FK_TEST; 8887 MEM32(0x2B0EEDDC) = eax; /* 0x2B06380B: mov dword ptr [0x2b0eeddc], eax */ 8888 ebx = MEM32(eax + 0x20); /* 0x2B063810: mov ebx, dword ptr [eax + 0x20] */ 8889 MEM32(ebp + (-0x4)) = edi; /* 0x2B063813: mov dword ptr [ebp - 4], edi */ 8890 edi = MEM32(eax + 0x24); /* 0x2B063816: mov edi, dword ptr [eax + 0x24] */ 8891 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06384D; /* 0x2B063819: jne 0x2b06384d */ 8892 L_2B06381B: 8893 PUSH32(esp, 0x54u); /* 0x2B06381B: push 0x54 */ 8894 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06381D: call 0x2b0ab212 */ /* not lifted */ 8895 RECOMP_FLAGS_IN(); 8896 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8897 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8898 esp = esp + 4; /* 0x2B063822: add esp, 4 */ 8899 _flag_k = FK_ADD; 8900 MEM32(ebp + 0xC) = eax; /* 0x2B063825: mov dword ptr [ebp + 0xc], eax */ 8901 /* test eax, eax */ /* 0x2B063828: test eax, eax */ 8902 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8903 _cf = 0; 8904 _flag_k = FK_TEST; 8905 MEM32(ebp + (-0x4)) = 3; /* 0x2B06382A: mov dword ptr [ebp - 4], 3 */ 8906 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06383C; /* 0x2B063831: je 0x2b06383c */ 8907 L_2B063833: 8908 ecx = eax; /* 0x2B063833: mov ecx, eax */ 8909 RECOMP_ICALL(0x2B064F40u); /* 0x2B063835: call 0x2b064f40 */ /* not lifted */ 8910 RECOMP_FLAGS_IN(); 8911 goto L_2B06383E; /* 0x2B06383A: jmp 0x2b06383e */ 8912 L_2B06383C: 8913 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8914 eax = 0; /* 0x2B06383C: xor eax, eax */ 8915 _cf = 0; 8916 _flag_k = FK_TEST; 8917 L_2B06383E: 8918 ecx = eax; /* 0x2B06383E: mov ecx, eax */ 8919 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B063840: mov dword ptr [ebp - 4], 0xffffffff */ 8920 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063847: mov dword ptr [0x2b0eede8], ecx */ 8921 L_2B06384D: 8922 PUSH32(esp, ebx); /* 0x2B06384D: push ebx */ 8923 PUSH32(esp, edi); /* 0x2B06384E: push edi */ 8924 PUSH32(esp, esi); /* 0x2B06384F: push esi */ 8925 RECOMP_ICALL(0x2B0654A0u); /* 0x2B063850: call 0x2b0654a0 */ /* not lifted */ 8926 RECOMP_FLAGS_IN(); 8927 ebx = MEM32(0x2B0B5D6C); /* 0x2B063855: mov ebx, dword ptr [0x2b0b5d6c] */ 8928 goto L_2B06389F; /* 0x2B06385B: jmp 0x2b06389f */ 8929 L_2B06385D: 8930 ecx = MEM32(0x2B0EEDE8); /* 0x2B06385D: mov ecx, dword ptr [0x2b0eede8] */ 8931 /* test ecx, ecx */ /* 0x2B063863: test ecx, ecx */ 8932 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 8933 _cf = 0; 8934 _flag_k = FK_TEST; 8935 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B063895; /* 0x2B063865: jne 0x2b063895 */ 8936 L_2B063867: 8937 PUSH32(esp, 0x54u); /* 0x2B063867: push 0x54 */ 8938 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063869: call 0x2b0ab212 */ /* not lifted */ 8939 RECOMP_FLAGS_IN(); 8940 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8941 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8942 esp = esp + 4; /* 0x2B06386E: add esp, 4 */ 8943 _flag_k = FK_ADD; 8944 MEM32(ebp + 0xC) = eax; /* 0x2B063871: mov dword ptr [ebp + 0xc], eax */ 8945 /* test eax, eax */ /* 0x2B063874: test eax, eax */ 8946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8947 _cf = 0; 8948 _flag_k = FK_TEST; 8949 MEM32(ebp + (-0x4)) = 4; /* 0x2B063876: mov dword ptr [ebp - 4], 4 */ 8950 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063888; /* 0x2B06387D: je 0x2b063888 */ 8951 L_2B06387F: 8952 ecx = eax; /* 0x2B06387F: mov ecx, eax */ 8953 RECOMP_ICALL(0x2B064F40u); /* 0x2B063881: call 0x2b064f40 */ /* not lifted */ 8954 RECOMP_FLAGS_IN(); 8955 goto L_2B06388A; /* 0x2B063886: jmp 0x2b06388a */ 8956 L_2B063888: 8957 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 8958 eax = 0; /* 0x2B063888: xor eax, eax */ 8959 _cf = 0; 8960 _flag_k = FK_TEST; 8961 L_2B06388A: 8962 ecx = eax; /* 0x2B06388A: mov ecx, eax */ 8963 MEM32(ebp + (-0x4)) = edi; /* 0x2B06388C: mov dword ptr [ebp - 4], edi */ 8964 MEM32(0x2B0EEDE8) = ecx; /* 0x2B06388F: mov dword ptr [0x2b0eede8], ecx */ 8965 L_2B063895: 8966 PUSH32(esp, 0); /* 0x2B063895: push 0 */ 8967 PUSH32(esp, 0); /* 0x2B063897: push 0 */ 8968 PUSH32(esp, esi); /* 0x2B063899: push esi */ 8969 RECOMP_ICALL(0x2B0654A0u); /* 0x2B06389A: call 0x2b0654a0 */ /* not lifted */ 8970 RECOMP_FLAGS_IN(); 8971 L_2B06389F: 8972 eax = MEM32(0x2B0EF104); /* 0x2B06389F: mov eax, dword ptr [0x2b0ef104] */ 8973 /* test eax, eax */ /* 0x2B0638A4: test eax, eax */ 8974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 8975 _cf = 0; 8976 _flag_k = FK_TEST; 8977 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B0638A6: je 0x2b06392f */ 8978 L_2B0638AC: 8979 /* cmp MEM8(eax), 0 */ /* 0x2B0638AC: cmp byte ptr [eax], 0 */ 8980 _flag_a = (uint32_t)(MEM8(eax)) << 24; _flag_b = (uint32_t)(0) << 24; 8981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8982 _flag_k = FK_NARROW(FK_CMP, 24); 8983 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B0638AF: je 0x2b06392f */ 8984 L_2B0638B1: 8985 PUSH32(esp, esi); /* 0x2B0638B1: push esi */ 8986 RECOMP_ICALL(ebx); /* 0x2B0638B2: call ebx */ 8987 RECOMP_FLAGS_IN(); 8988 ecx = eax; /* 0x2B0638B4: mov ecx, eax */ 8989 RECOMP_ICALL(MEM32(0x2B0B5E94)); /* 0x2B0638B6: call dword ptr [0x2b0b5e94] */ 8990 RECOMP_FLAGS_IN(); 8991 /* test LO8(eax), LO8(eax) */ /* 0x2B0638BC: test al, al */ 8992 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8993 _cf = 0; 8994 _flag_k = FK_NARROW(FK_TEST, 24); 8995 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0638F1; /* 0x2B0638BE: je 0x2b0638f1 */ 8996 L_2B0638C0: 8997 PUSH32(esp, esi); /* 0x2B0638C0: push esi */ 8998 RECOMP_ICALL(ebx); /* 0x2B0638C1: call ebx */ 8999 RECOMP_FLAGS_IN(); 9000 ecx = eax; /* 0x2B0638C3: mov ecx, eax */ 9001 RECOMP_ICALL(MEM32(0x2B0B5D50)); /* 0x2B0638C5: call dword ptr [0x2b0b5d50] */ 9002 RECOMP_FLAGS_IN(); 9003 /* cmp MEM32(esi), 0xC350u */ /* 0x2B0638CB: cmp dword ptr [esi], 0xc350 */ 9004 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0xC350u); 9005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9006 _flag_k = FK_CMP; 9007 ecx = MEM32(0x2B0EF104); /* 0x2B0638D1: mov ecx, dword ptr [0x2b0ef104] */ 9008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0638E5; /* 0x2B0638D7: jne 0x2b0638e5 */ 9009 L_2B0638D9: 9010 /* test ecx, ecx */ /* 0x2B0638D9: test ecx, ecx */ 9011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9012 _cf = 0; 9013 _flag_k = FK_TEST; 9014 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B0638DB: je 0x2b06392f */ 9015 L_2B0638DD: 9016 PUSH32(esp, eax); /* 0x2B0638DD: push eax */ 9017 PUSH32(esp, 0x2B0EAF64u); /* 0x2B0638DE: push 0x2b0eaf64 */ 9018 goto L_2B06392A; /* 0x2B0638E3: jmp 0x2b06392a */ 9019 L_2B0638E5: 9020 /* test ecx, ecx */ /* 0x2B0638E5: test ecx, ecx */ 9021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9022 _cf = 0; 9023 _flag_k = FK_TEST; 9024 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B0638E7: je 0x2b06392f */ 9025 L_2B0638E9: 9026 PUSH32(esp, eax); /* 0x2B0638E9: push eax */ 9027 PUSH32(esp, 0x2B0EAF58u); /* 0x2B0638EA: push 0x2b0eaf58 */ 9028 goto L_2B06392A; /* 0x2B0638EF: jmp 0x2b06392a */ 9029 L_2B0638F1: 9030 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B0638F1: call dword ptr [0x2b0b5b64] */ 9031 RECOMP_FLAGS_IN(); 9032 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 9033 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9034 eax = eax + 0xD4u; /* 0x2B0638F7: add eax, 0xd4 */ 9035 _flag_k = FK_ADD; 9036 edx = ebp + (-0x14); /* 0x2B0638FC: lea edx, [ebp - 0x14] */ 9037 /* cmp edx, eax */ /* 0x2B0638FF: cmp edx, eax */ 9038 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9040 _flag_k = FK_CMP; 9041 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06390A; /* 0x2B063901: je 0x2b06390a */ 9042 L_2B063903: 9043 ecx = MEM32(eax); /* 0x2B063903: mov ecx, dword ptr [eax] */ 9044 eax = MEM32(eax + 0x4); /* 0x2B063905: mov eax, dword ptr [eax + 4] */ 9045 goto L_2B063910; /* 0x2B063908: jmp 0x2b063910 */ 9046 L_2B06390A: 9047 eax = MEM32(ebp + (-0x10)); /* 0x2B06390A: mov eax, dword ptr [ebp - 0x10] */ 9048 ecx = MEM32(ebp + (-0x14)); /* 0x2B06390D: mov ecx, dword ptr [ebp - 0x14] */ 9049 L_2B063910: 9050 /* cmp MEM32(esi + 0x4), eax */ /* 0x2B063910: cmp dword ptr [esi + 4], eax */ 9051 _flag_a = (uint32_t)(MEM32(esi + 0x4)); _flag_b = (uint32_t)(eax); 9052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9053 _flag_k = FK_CMP; 9054 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063919; /* 0x2B063913: jne 0x2b063919 */ 9055 L_2B063915: 9056 /* cmp MEM32(esi), ecx */ /* 0x2B063915: cmp dword ptr [esi], ecx */ 9057 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(ecx); 9058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9059 _flag_k = FK_CMP; 9060 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B063917: je 0x2b06392f */ 9061 L_2B063919: 9062 ecx = MEM32(0x2B0EF104); /* 0x2B063919: mov ecx, dword ptr [0x2b0ef104] */ 9063 /* test ecx, ecx */ /* 0x2B06391F: test ecx, ecx */ 9064 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9065 _cf = 0; 9066 _flag_k = FK_TEST; 9067 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06392F; /* 0x2B063921: je 0x2b06392f */ 9068 L_2B063923: 9069 PUSH32(esp, 0); /* 0x2B063923: push 0 */ 9070 PUSH32(esp, 0x2B0EAF44u); /* 0x2B063925: push 0x2b0eaf44 */ 9071 L_2B06392A: 9072 RECOMP_ICALL(0x2B08D480u); /* 0x2B06392A: call 0x2b08d480 */ /* not lifted */ 9073 RECOMP_FLAGS_IN(); 9074 L_2B06392F: 9075 ecx = MEM32(ebp + (-0xC)); /* 0x2B06392F: mov ecx, dword ptr [ebp - 0xc] */ 9076 edi = POP32_VAL(esp); /* 0x2B063932: pop edi */ 9077 esi = POP32_VAL(esp); /* 0x2B063933: pop esi */ 9078 ebx = POP32_VAL(esp); /* 0x2B063934: pop ebx */ 9079 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063935: mov dword ptr fs:[0], ecx */ 9080 esp = ebp; /* 0x2B06393C: mov esp, ebp */ 9081 ebp = POP32_VAL(esp); /* 0x2B06393E: pop ebp */ 9082 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06393F: ret */ 9083 RECOMP_REGS_OUT(); 9084 } 9085 9086 void sub_2B063940(void) { 9087 int _fpu_cmp = 0; 9088 uint32_t _cf = 0; 9089 int _df = 1; 9090 uint32_t _flag_k = FK_NONE; 9091 uint32_t _flag_a = 0, _flag_b = 0; 9092 uint32_t _itail_tgt = 0; 9093 RECOMP_REGS_LOCALS 9094 RECOMP_ENTER(0x2B063940u); 9095 9096 L_2B063940: 9097 PUSH32(esp, ebp); /* 0x2B063940: push ebp */ 9098 ebp = esp; /* 0x2B063941: mov ebp, esp */ 9099 eax = MEM32(ebp + 0x8); /* 0x2B063943: mov eax, dword ptr [ebp + 8] */ 9100 ecx = MEM32(eax); /* 0x2B063946: mov ecx, dword ptr [eax] */ 9101 MEM32(0x2B0EEDD0) = ecx; /* 0x2B063948: mov dword ptr [0x2b0eedd0], ecx */ 9102 edx = MEM32(eax + 0x4); /* 0x2B06394E: mov edx, dword ptr [eax + 4] */ 9103 PUSH32(esp, 0); /* 0x2B063951: push 0 */ 9104 PUSH32(esp, 0x2B0EED00u); /* 0x2B063953: push 0x2b0eed00 */ 9105 MEM32(0x2B0EEDD4) = edx; /* 0x2B063958: mov dword ptr [0x2b0eedd4], edx */ 9106 RECOMP_ICALL(0x2B0635C0u); /* 0x2B06395E: call 0x2b0635c0 */ /* not lifted */ 9107 RECOMP_FLAGS_IN(); 9108 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9109 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9110 esp = esp + 8; /* 0x2B063963: add esp, 8 */ 9111 _flag_k = FK_ADD; 9112 ebp = POP32_VAL(esp); /* 0x2B063966: pop ebp */ 9113 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063967: ret */ 9114 RECOMP_REGS_OUT(); 9115 } 9116 9117 void sub_2B063970(void) { 9118 int _fpu_cmp = 0; 9119 uint32_t _cf = 0; 9120 int _df = 1; 9121 uint32_t _flag_k = FK_NONE; 9122 uint32_t _flag_a = 0, _flag_b = 0; 9123 uint32_t _itail_tgt = 0; 9124 RECOMP_REGS_LOCALS 9125 RECOMP_ENTER(0x2B063970u); 9126 9127 L_2B063970: 9128 eax = MEM32(0x2B0EEDE8); /* 0x2B063970: mov eax, dword ptr [0x2b0eede8] */ 9129 /* test eax, eax */ /* 0x2B063975: test eax, eax */ 9130 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9131 _cf = 0; 9132 _flag_k = FK_TEST; 9133 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06397D; /* 0x2B063977: je 0x2b06397d */ 9134 L_2B063979: 9135 MEM8(eax + 0x46) = (uint8_t)(0); /* 0x2B063979: mov byte ptr [eax + 0x46], 0 */ 9136 L_2B06397D: 9137 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06397D: ret */ 9138 RECOMP_REGS_OUT(); 9139 } 9140 9141 void sub_2B063980(void) { 9142 int _fpu_cmp = 0; 9143 uint32_t _cf = 0; 9144 int _df = 1; 9145 uint32_t _flag_k = FK_NONE; 9146 uint32_t _flag_a = 0, _flag_b = 0; 9147 uint32_t _itail_tgt = 0; 9148 RECOMP_REGS_LOCALS 9149 RECOMP_ENTER(0x2B063980u); 9150 9151 L_2B063980: 9152 eax = MEM32(0x2B0EEDE8); /* 0x2B063980: mov eax, dword ptr [0x2b0eede8] */ 9153 /* test eax, eax */ /* 0x2B063985: test eax, eax */ 9154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9155 _cf = 0; 9156 _flag_k = FK_TEST; 9157 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06398D; /* 0x2B063987: je 0x2b06398d */ 9158 L_2B063989: 9159 MEM8(eax + 0x46) = (uint8_t)(1); /* 0x2B063989: mov byte ptr [eax + 0x46], 1 */ 9160 L_2B06398D: 9161 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06398D: ret */ 9162 RECOMP_REGS_OUT(); 9163 } 9164 9165 void sub_2B063990(void) { 9166 int _fpu_cmp = 0; 9167 uint32_t _cf = 0; 9168 int _df = 1; 9169 uint32_t _flag_k = FK_NONE; 9170 uint32_t _flag_a = 0, _flag_b = 0; 9171 uint32_t _itail_tgt = 0; 9172 RECOMP_REGS_LOCALS 9173 RECOMP_ENTER(0x2B063990u); 9174 9175 L_2B063990: 9176 PUSH32(esp, ebp); /* 0x2B063990: push ebp */ 9177 ebp = esp; /* 0x2B063991: mov ebp, esp */ 9178 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9180 esp = esp - 8; /* 0x2B063993: sub esp, 8 */ 9181 _flag_k = FK_CMP; 9182 PUSH32(esp, esi); /* 0x2B063996: push esi */ 9183 esi = MEM32(0x2B0B5B64); /* 0x2B063997: mov esi, dword ptr [0x2b0b5b64] */ 9184 RECOMP_ICALL(esi); /* 0x2B06399D: call esi */ 9185 RECOMP_FLAGS_IN(); 9186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xD4u); 9187 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9188 eax = eax + 0xD4u; /* 0x2B06399F: add eax, 0xd4 */ 9189 _flag_k = FK_ADD; 9190 ecx = ebp + (-0x8); /* 0x2B0639A4: lea ecx, [ebp - 8] */ 9191 /* cmp ecx, eax */ /* 0x2B0639A7: cmp ecx, eax */ 9192 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9194 _flag_k = FK_CMP; 9195 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0639B2; /* 0x2B0639A9: je 0x2b0639b2 */ 9196 L_2B0639AB: 9197 ecx = MEM32(eax); /* 0x2B0639AB: mov ecx, dword ptr [eax] */ 9198 eax = MEM32(eax + 0x4); /* 0x2B0639AD: mov eax, dword ptr [eax + 4] */ 9199 goto L_2B0639B8; /* 0x2B0639B0: jmp 0x2b0639b8 */ 9200 L_2B0639B2: 9201 eax = MEM32(ebp + (-0x4)); /* 0x2B0639B2: mov eax, dword ptr [ebp - 4] */ 9202 ecx = MEM32(ebp + (-0x8)); /* 0x2B0639B5: mov ecx, dword ptr [ebp - 8] */ 9203 L_2B0639B8: 9204 MEM32(ebp + (-0x8)) = ecx; /* 0x2B0639B8: mov dword ptr [ebp - 8], ecx */ 9205 MEM32(ebp + (-0x4)) = eax; /* 0x2B0639BB: mov dword ptr [ebp - 4], eax */ 9206 RECOMP_ICALL(esi); /* 0x2B0639BE: call esi */ 9207 RECOMP_FLAGS_IN(); 9208 ecx = MEM32(eax + 0xBC); /* 0x2B0639C0: mov ecx, dword ptr [eax + 0xbc] */ 9209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 9210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9211 eax = eax + 0xBCu; /* 0x2B0639C6: add eax, 0xbc */ 9212 _flag_k = FK_ADD; 9213 /* test ecx, ecx */ /* 0x2B0639CB: test ecx, ecx */ 9214 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9215 _cf = 0; 9216 _flag_k = FK_TEST; 9217 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0639D6; /* 0x2B0639CD: jne 0x2b0639d6 */ 9218 L_2B0639CF: 9219 ecx = MEM32(eax + 0x4); /* 0x2B0639CF: mov ecx, dword ptr [eax + 4] */ 9220 /* test ecx, ecx */ /* 0x2B0639D2: test ecx, ecx */ 9221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 9222 _cf = 0; 9223 _flag_k = FK_TEST; 9224 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063A50; /* 0x2B0639D4: je 0x2b063a50 */ 9225 L_2B0639D6: 9226 RECOMP_ICALL(esi); /* 0x2B0639D6: call esi */ 9227 RECOMP_FLAGS_IN(); 9228 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 9229 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9230 eax = eax + 0xBCu; /* 0x2B0639D8: add eax, 0xbc */ 9231 _flag_k = FK_ADD; 9232 ecx = ebp + (-0x8); /* 0x2B0639DD: lea ecx, [ebp - 8] */ 9233 /* cmp ecx, eax */ /* 0x2B0639E0: cmp ecx, eax */ 9234 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9236 _flag_k = FK_CMP; 9237 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0639EB; /* 0x2B0639E2: je 0x2b0639eb */ 9238 L_2B0639E4: 9239 ecx = MEM32(eax); /* 0x2B0639E4: mov ecx, dword ptr [eax] */ 9240 eax = MEM32(eax + 0x4); /* 0x2B0639E6: mov eax, dword ptr [eax + 4] */ 9241 goto L_2B0639F1; /* 0x2B0639E9: jmp 0x2b0639f1 */ 9242 L_2B0639EB: 9243 eax = MEM32(ebp + (-0x4)); /* 0x2B0639EB: mov eax, dword ptr [ebp - 4] */ 9244 ecx = MEM32(ebp + (-0x8)); /* 0x2B0639EE: mov ecx, dword ptr [ebp - 8] */ 9245 L_2B0639F1: 9246 /* cmp eax, MEM32(ebp + (-0x4)) */ /* 0x2B0639F1: cmp eax, dword ptr [ebp - 4] */ 9247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 9248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9249 _flag_k = FK_CMP; 9250 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063A2A; /* 0x2B0639F4: jne 0x2b063a2a */ 9251 L_2B0639F6: 9252 /* cmp ecx, MEM32(ebp + (-0x8)) */ /* 0x2B0639F6: cmp ecx, dword ptr [ebp - 8] */ 9253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 9254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9255 _flag_k = FK_CMP; 9256 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063A2A; /* 0x2B0639F9: jne 0x2b063a2a */ 9257 L_2B0639FB: 9258 edx = MEM32(0x2B0EEDD4); /* 0x2B0639FB: mov edx, dword ptr [0x2b0eedd4] */ 9259 /* cmp edx, MEM32(0x2B0EED04) */ /* 0x2B063A01: cmp edx, dword ptr [0x2b0eed04] */ 9260 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(0x2B0EED04)); 9261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9262 _flag_k = FK_CMP; 9263 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063A16; /* 0x2B063A07: jne 0x2b063a16 */ 9264 L_2B063A09: 9265 eax = MEM32(0x2B0EEDD0); /* 0x2B063A09: mov eax, dword ptr [0x2b0eedd0] */ 9266 /* cmp eax, MEM32(0x2B0EED00) */ /* 0x2B063A0E: cmp eax, dword ptr [0x2b0eed00] */ 9267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x2B0EED00)); 9268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9269 _flag_k = FK_CMP; 9270 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063A5E; /* 0x2B063A14: je 0x2b063a5e */ 9271 L_2B063A16: 9272 PUSH32(esp, 0); /* 0x2B063A16: push 0 */ 9273 PUSH32(esp, 0x2B0EEDD0u); /* 0x2B063A18: push 0x2b0eedd0 */ 9274 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063A1D: call 0x2b0635c0 */ /* not lifted */ 9275 RECOMP_FLAGS_IN(); 9276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9278 esp = esp + 8; /* 0x2B063A22: add esp, 8 */ 9279 _flag_k = FK_ADD; 9280 esi = POP32_VAL(esp); /* 0x2B063A25: pop esi */ 9281 esp = ebp; /* 0x2B063A26: mov esp, ebp */ 9282 ebp = POP32_VAL(esp); /* 0x2B063A28: pop ebp */ 9283 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063A29: ret */ 9284 L_2B063A2A: 9285 RECOMP_ICALL(esi); /* 0x2B063A2A: call esi */ 9286 RECOMP_FLAGS_IN(); 9287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 9288 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9289 eax = eax + 0xBCu; /* 0x2B063A2C: add eax, 0xbc */ 9290 _flag_k = FK_ADD; 9291 ecx = ebp + (-0x8); /* 0x2B063A31: lea ecx, [ebp - 8] */ 9292 /* cmp ecx, eax */ /* 0x2B063A34: cmp ecx, eax */ 9293 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9295 _flag_k = FK_CMP; 9296 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063A3F; /* 0x2B063A36: je 0x2b063a3f */ 9297 L_2B063A38: 9298 ecx = MEM32(eax); /* 0x2B063A38: mov ecx, dword ptr [eax] */ 9299 eax = MEM32(eax + 0x4); /* 0x2B063A3A: mov eax, dword ptr [eax + 4] */ 9300 goto L_2B063A45; /* 0x2B063A3D: jmp 0x2b063a45 */ 9301 L_2B063A3F: 9302 eax = MEM32(ebp + (-0x4)); /* 0x2B063A3F: mov eax, dword ptr [ebp - 4] */ 9303 ecx = MEM32(ebp + (-0x8)); /* 0x2B063A42: mov ecx, dword ptr [ebp - 8] */ 9304 L_2B063A45: 9305 MEM32(0x2B0EEDD0) = ecx; /* 0x2B063A45: mov dword ptr [0x2b0eedd0], ecx */ 9306 MEM32(0x2B0EEDD4) = eax; /* 0x2B063A4B: mov dword ptr [0x2b0eedd4], eax */ 9307 L_2B063A50: 9308 edx = ebp + (-0x8); /* 0x2B063A50: lea edx, [ebp - 8] */ 9309 PUSH32(esp, 0); /* 0x2B063A53: push 0 */ 9310 PUSH32(esp, edx); /* 0x2B063A55: push edx */ 9311 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063A56: call 0x2b0635c0 */ /* not lifted */ 9312 RECOMP_FLAGS_IN(); 9313 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9314 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9315 esp = esp + 8; /* 0x2B063A5B: add esp, 8 */ 9316 _flag_k = FK_ADD; 9317 L_2B063A5E: 9318 esi = POP32_VAL(esp); /* 0x2B063A5E: pop esi */ 9319 esp = ebp; /* 0x2B063A5F: mov esp, ebp */ 9320 ebp = POP32_VAL(esp); /* 0x2B063A61: pop ebp */ 9321 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063A62: ret */ 9322 RECOMP_REGS_OUT(); 9323 } 9324 9325 void sub_2B063A70(void) { 9326 int _fpu_cmp = 0; 9327 uint32_t _cf = 0; 9328 int _df = 1; 9329 uint32_t _flag_k = FK_NONE; 9330 uint32_t _flag_a = 0, _flag_b = 0; 9331 uint32_t _itail_tgt = 0; 9332 RECOMP_REGS_LOCALS 9333 RECOMP_ENTER(0x2B063A70u); 9334 9335 L_2B063A70: 9336 PUSH32(esp, ebp); /* 0x2B063A70: push ebp */ 9337 ebp = esp; /* 0x2B063A71: mov ebp, esp */ 9338 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B063A73: push -1 */ 9339 PUSH32(esp, 0x2B0B09BCu); /* 0x2B063A75: push 0x2b0b09bc */ 9340 eax = MEM32(FS_BASE + (0)); /* 0x2B063A7A: mov eax, dword ptr fs:[0] */ 9341 PUSH32(esp, eax); /* 0x2B063A80: push eax */ 9342 MEM32(FS_BASE + (0)) = esp; /* 0x2B063A81: mov dword ptr fs:[0], esp */ 9343 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x24u); 9344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9345 esp = esp - 0x24u; /* 0x2B063A88: sub esp, 0x24 */ 9346 _flag_k = FK_CMP; 9347 PUSH32(esp, ebx); /* 0x2B063A8B: push ebx */ 9348 RECOMP_ICALL(0x2B05FEE0u); /* 0x2B063A8C: call 0x2b05fee0 */ /* not lifted */ 9349 RECOMP_FLAGS_IN(); 9350 SET_LO8(eax, MEM8(0x2B0EA35C)); /* 0x2B063A91: mov al, byte ptr [0x2b0ea35c] */ 9351 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9352 ebx = 0; /* 0x2B063A96: xor ebx, ebx */ 9353 _cf = 0; 9354 _flag_k = FK_TEST; 9355 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B063A98: cmp al, bl */ 9356 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9358 _flag_k = FK_NARROW(FK_CMP, 24); 9359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063A9A: jne 0x2b063d31 */ 9360 L_2B063AA0: 9361 ecx = MEM32(0x2B0EEDDC); /* 0x2B063AA0: mov ecx, dword ptr [0x2b0eeddc] */ 9362 /* cmp ecx, ebx */ /* 0x2B063AA6: cmp ecx, ebx */ 9363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9365 _flag_k = FK_CMP; 9366 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063ADE; /* 0x2B063AA8: je 0x2b063ade */ 9367 L_2B063AAA: 9368 RECOMP_ICALL(0x2B062FD0u); /* 0x2B063AAA: call 0x2b062fd0 */ /* not lifted */ 9369 RECOMP_FLAGS_IN(); 9370 /* test eax, eax */ /* 0x2B063AAF: test eax, eax */ 9371 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9372 _cf = 0; 9373 _flag_k = FK_TEST; 9374 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B063ADE; /* 0x2B063AB1: jne 0x2b063ade */ 9375 L_2B063AB3: 9376 /* cmp MEM8(0x2B0EEDE4), LO8(ebx) */ /* 0x2B063AB3: cmp byte ptr [0x2b0eede4], bl */ 9377 _flag_a = (uint32_t)(MEM8(0x2B0EEDE4)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9379 _flag_k = FK_NARROW(FK_CMP, 24); 9380 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063ADE; /* 0x2B063AB9: jne 0x2b063ade */ 9381 L_2B063ABB: 9382 eax = MEM32(0x2B0EEDDC); /* 0x2B063ABB: mov eax, dword ptr [0x2b0eeddc] */ 9383 ecx = ebp + (-0x24); /* 0x2B063AC0: lea ecx, [ebp - 0x24] */ 9384 /* cmp ecx, eax */ /* 0x2B063AC3: cmp ecx, eax */ 9385 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 9386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9387 _flag_k = FK_CMP; 9388 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063AD2; /* 0x2B063AC5: je 0x2b063ad2 */ 9389 L_2B063AC7: 9390 edx = MEM32(eax); /* 0x2B063AC7: mov edx, dword ptr [eax] */ 9391 MEM32(ebp + (-0x24)) = edx; /* 0x2B063AC9: mov dword ptr [ebp - 0x24], edx */ 9392 eax = MEM32(eax + 0x4); /* 0x2B063ACC: mov eax, dword ptr [eax + 4] */ 9393 MEM32(ebp + (-0x20)) = eax; /* 0x2B063ACF: mov dword ptr [ebp - 0x20], eax */ 9394 L_2B063AD2: 9395 ecx = ebp + (-0x24); /* 0x2B063AD2: lea ecx, [ebp - 0x24] */ 9396 PUSH32(esp, ecx); /* 0x2B063AD5: push ecx */ 9397 RECOMP_ICALL(0x2B063940u); /* 0x2B063AD6: call 0x2b063940 */ /* not lifted */ 9398 RECOMP_FLAGS_IN(); 9399 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9400 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9401 esp = esp + 4; /* 0x2B063ADB: add esp, 4 */ 9402 _flag_k = FK_ADD; 9403 L_2B063ADE: 9404 PUSH32(esp, esi); /* 0x2B063ADE: push esi */ 9405 esi = MEM32(0x2B0B5B64); /* 0x2B063ADF: mov esi, dword ptr [0x2b0b5b64] */ 9406 PUSH32(esp, edi); /* 0x2B063AE5: push edi */ 9407 RECOMP_ICALL(esi); /* 0x2B063AE6: call esi */ 9408 RECOMP_FLAGS_IN(); 9409 ecx = MEM32(eax + 0xBC); /* 0x2B063AE8: mov ecx, dword ptr [eax + 0xbc] */ 9410 edi = MEM32(0x2B0B5D6C); /* 0x2B063AEE: mov edi, dword ptr [0x2b0b5d6c] */ 9411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 9412 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9413 eax = eax + 0xBCu; /* 0x2B063AF4: add eax, 0xbc */ 9414 _flag_k = FK_ADD; 9415 /* cmp ecx, ebx */ /* 0x2B063AF9: cmp ecx, ebx */ 9416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9418 _flag_k = FK_CMP; 9419 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063B3C; /* 0x2B063AFB: jne 0x2b063b3c */ 9420 L_2B063AFD: 9421 /* cmp MEM32(eax + 0x4), ebx */ /* 0x2B063AFD: cmp dword ptr [eax + 4], ebx */ 9422 _flag_a = (uint32_t)(MEM32(eax + 0x4)); _flag_b = (uint32_t)(ebx); 9423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9424 _flag_k = FK_CMP; 9425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063B3C; /* 0x2B063B00: jne 0x2b063b3c */ 9426 L_2B063B02: 9427 edx = MEM32(0x2B0EEDD4); /* 0x2B063B02: mov edx, dword ptr [0x2b0eedd4] */ 9428 /* cmp edx, MEM32(0x2B0EED04) */ /* 0x2B063B08: cmp edx, dword ptr [0x2b0eed04] */ 9429 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(0x2B0EED04)); 9430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9431 _flag_k = FK_CMP; 9432 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063B21; /* 0x2B063B0E: jne 0x2b063b21 */ 9433 L_2B063B10: 9434 eax = MEM32(0x2B0EEDD0); /* 0x2B063B10: mov eax, dword ptr [0x2b0eedd0] */ 9435 /* cmp eax, MEM32(0x2B0EED00) */ /* 0x2B063B15: cmp eax, dword ptr [0x2b0eed00] */ 9436 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(0x2B0EED00)); 9437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9438 _flag_k = FK_CMP; 9439 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063BCA; /* 0x2B063B1B: je 0x2b063bca */ 9440 L_2B063B21: 9441 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9442 ecx = 0; /* 0x2B063B21: xor ecx, ecx */ 9443 _cf = 0; 9444 _flag_k = FK_TEST; 9445 SET_LO8(ecx, MEM8(0x2B0EEDE4)); /* 0x2B063B23: mov cl, byte ptr [0x2b0eede4] */ 9446 PUSH32(esp, ecx); /* 0x2B063B29: push ecx */ 9447 PUSH32(esp, 0x2B0EEDD0u); /* 0x2B063B2A: push 0x2b0eedd0 */ 9448 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063B2F: call 0x2b0635c0 */ /* not lifted */ 9449 RECOMP_FLAGS_IN(); 9450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9452 esp = esp + 8; /* 0x2B063B34: add esp, 8 */ 9453 _flag_k = FK_ADD; 9454 goto L_2B063BCA; /* 0x2B063B37: jmp 0x2b063bca */ 9455 L_2B063B3C: 9456 /* cmp MEM32(0x2B0EEDDC), ebx */ /* 0x2B063B3C: cmp dword ptr [0x2b0eeddc], ebx */ 9457 _flag_a = (uint32_t)(MEM32(0x2B0EEDDC)); _flag_b = (uint32_t)(ebx); 9458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9459 _flag_k = FK_CMP; 9460 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063BCA; /* 0x2B063B42: jne 0x2b063bca */ 9461 L_2B063B48: 9462 MEM32(ebp + (-0x30)) = 0; /* 0x2B063B48: mov dword ptr [ebp - 0x30], 0 */ 9463 MEM32(ebp + (-0x2C)) = 0; /* 0x2B063B4F: mov dword ptr [ebp - 0x2c], 0 */ 9464 MEM32(ebp + (-0x28)) = 0; /* 0x2B063B56: mov dword ptr [ebp - 0x28], 0 */ 9465 MEM32(ebp + (-0x14)) = ebx; /* 0x2B063B5D: mov dword ptr [ebp - 0x14], ebx */ 9466 MEM32(ebp + (-0x10)) = ebx; /* 0x2B063B60: mov dword ptr [ebp - 0x10], ebx */ 9467 RECOMP_ICALL(esi); /* 0x2B063B63: call esi */ 9468 RECOMP_FLAGS_IN(); 9469 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 9470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9471 eax = eax + 0xBCu; /* 0x2B063B65: add eax, 0xbc */ 9472 _flag_k = FK_ADD; 9473 edx = ebp + (-0x24); /* 0x2B063B6A: lea edx, [ebp - 0x24] */ 9474 /* cmp edx, eax */ /* 0x2B063B6D: cmp edx, eax */ 9475 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 9476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9477 _flag_k = FK_CMP; 9478 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063B78; /* 0x2B063B6F: je 0x2b063b78 */ 9479 L_2B063B71: 9480 ecx = MEM32(eax); /* 0x2B063B71: mov ecx, dword ptr [eax] */ 9481 eax = MEM32(eax + 0x4); /* 0x2B063B73: mov eax, dword ptr [eax + 4] */ 9482 goto L_2B063B7E; /* 0x2B063B76: jmp 0x2b063b7e */ 9483 L_2B063B78: 9484 eax = MEM32(ebp + (-0x20)); /* 0x2B063B78: mov eax, dword ptr [ebp - 0x20] */ 9485 ecx = MEM32(ebp + (-0x24)); /* 0x2B063B7B: mov ecx, dword ptr [ebp - 0x24] */ 9486 L_2B063B7E: 9487 MEM32(ebp + (-0x20)) = eax; /* 0x2B063B7E: mov dword ptr [ebp - 0x20], eax */ 9488 eax = ebp + (-0x14); /* 0x2B063B81: lea eax, [ebp - 0x14] */ 9489 MEM32(ebp + (-0x24)) = ecx; /* 0x2B063B84: mov dword ptr [ebp - 0x24], ecx */ 9490 PUSH32(esp, eax); /* 0x2B063B87: push eax */ 9491 ecx = ebp + (-0x24); /* 0x2B063B88: lea ecx, [ebp - 0x24] */ 9492 PUSH32(esp, ecx); /* 0x2B063B8B: push ecx */ 9493 RECOMP_ICALL(edi); /* 0x2B063B8C: call edi */ 9494 RECOMP_FLAGS_IN(); 9495 ecx = eax; /* 0x2B063B8E: mov ecx, eax */ 9496 RECOMP_ICALL(MEM32(0x2B0B5DD4)); /* 0x2B063B90: call dword ptr [0x2b0b5dd4] */ 9497 RECOMP_FLAGS_IN(); 9498 edx = ebp + (-0x30); /* 0x2B063B96: lea edx, [ebp - 0x30] */ 9499 PUSH32(esp, edx); /* 0x2B063B99: push edx */ 9500 eax = ebp + (-0x24); /* 0x2B063B9A: lea eax, [ebp - 0x24] */ 9501 PUSH32(esp, eax); /* 0x2B063B9D: push eax */ 9502 RECOMP_ICALL(edi); /* 0x2B063B9E: call edi */ 9503 RECOMP_FLAGS_IN(); 9504 ecx = eax; /* 0x2B063BA0: mov ecx, eax */ 9505 RECOMP_ICALL(MEM32(0x2B0B5DD8)); /* 0x2B063BA2: call dword ptr [0x2b0b5dd8] */ 9506 RECOMP_FLAGS_IN(); 9507 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B063BA8: cmp al, bl */ 9508 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9510 _flag_k = FK_NARROW(FK_CMP, 24); 9511 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063BB6; /* 0x2B063BAA: je 0x2b063bb6 */ 9512 L_2B063BAC: 9513 /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2B063BAC: cmp dword ptr [ebp - 0x10], ebx */ 9514 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx); 9515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9516 _flag_k = FK_CMP; 9517 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063BB6; /* 0x2B063BAF: jne 0x2b063bb6 */ 9518 L_2B063BB1: 9519 /* cmp MEM32(ebp + (-0x14)), ebx */ /* 0x2B063BB1: cmp dword ptr [ebp - 0x14], ebx */ 9520 _flag_a = (uint32_t)(MEM32(ebp + (-0x14))); _flag_b = (uint32_t)(ebx); 9521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9522 _flag_k = FK_CMP; 9523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063BCA; /* 0x2B063BB4: je 0x2b063bca */ 9524 L_2B063BB6: 9525 /* cmp MEM8(0x2B0EEDE4), LO8(ebx) */ /* 0x2B063BB6: cmp byte ptr [0x2b0eede4], bl */ 9526 _flag_a = (uint32_t)(MEM8(0x2B0EEDE4)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9528 _flag_k = FK_NARROW(FK_CMP, 24); 9529 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063BCA; /* 0x2B063BBC: jne 0x2b063bca */ 9530 L_2B063BBE: 9531 ecx = ebp + (-0x24); /* 0x2B063BBE: lea ecx, [ebp - 0x24] */ 9532 PUSH32(esp, ecx); /* 0x2B063BC1: push ecx */ 9533 RECOMP_ICALL(0x2B063940u); /* 0x2B063BC2: call 0x2b063940 */ /* not lifted */ 9534 RECOMP_FLAGS_IN(); 9535 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9536 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9537 esp = esp + 4; /* 0x2B063BC7: add esp, 4 */ 9538 _flag_k = FK_ADD; 9539 L_2B063BCA: 9540 edx = ebp + (-0x1C); /* 0x2B063BCA: lea edx, [ebp - 0x1c] */ 9541 PUSH32(esp, edx); /* 0x2B063BCD: push edx */ 9542 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B063BCE: mov dword ptr [ebp - 0x1c], ebx */ 9543 MEM32(ebp + (-0x18)) = ebx; /* 0x2B063BD1: mov dword ptr [ebp - 0x18], ebx */ 9544 RECOMP_ICALL(edi); /* 0x2B063BD4: call edi */ 9545 RECOMP_FLAGS_IN(); 9546 ecx = eax; /* 0x2B063BD6: mov ecx, eax */ 9547 RECOMP_ICALL(MEM32(0x2B0B5F1C)); /* 0x2B063BD8: call dword ptr [0x2b0b5f1c] */ 9548 RECOMP_FLAGS_IN(); 9549 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 9550 edi = edi | 0xFFFFFFFFu; /* 0x2B063BDE: or edi, 0xffffffff */ 9551 _cf = 0; 9552 _flag_k = FK_TEST; 9553 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B063BE1: cmp al, bl */ 9554 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9556 _flag_k = FK_NARROW(FK_CMP, 24); 9557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CA8; /* 0x2B063BE3: je 0x2b063ca8 */ 9558 L_2B063BE9: 9559 ecx = MEM32(0x2B0EEDE0); /* 0x2B063BE9: mov ecx, dword ptr [0x2b0eede0] */ 9560 /* cmp ecx, ebx */ /* 0x2B063BEF: cmp ecx, ebx */ 9561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9563 _flag_k = FK_CMP; 9564 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063C5D; /* 0x2B063BF1: jne 0x2b063c5d */ 9565 L_2B063BF3: 9566 PUSH32(esp, 0x38u); /* 0x2B063BF3: push 0x38 */ 9567 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063BF5: call 0x2b0ab212 */ /* not lifted */ 9568 RECOMP_FLAGS_IN(); 9569 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9570 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9571 esp = esp + 4; /* 0x2B063BFA: add esp, 4 */ 9572 _flag_k = FK_ADD; 9573 MEM32(ebp + (-0x10)) = eax; /* 0x2B063BFD: mov dword ptr [ebp - 0x10], eax */ 9574 MEM32(ebp + (-0x4)) = ebx; /* 0x2B063C00: mov dword ptr [ebp - 4], ebx */ 9575 L_2B063C03: 9576 /* cmp eax, ebx */ /* 0x2B063C03: cmp eax, ebx */ 9577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9579 _flag_k = FK_CMP; 9580 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C18; /* 0x2B063C05: je 0x2b063c18 */ 9581 L_2B063C07: 9582 PUSH32(esp, 1); /* 0x2B063C07: push 1 */ 9583 PUSH32(esp, 1); /* 0x2B063C09: push 1 */ 9584 ecx = ebp + (-0x1C); /* 0x2B063C0B: lea ecx, [ebp - 0x1c] */ 9585 PUSH32(esp, ecx); /* 0x2B063C0E: push ecx */ 9586 ecx = eax; /* 0x2B063C0F: mov ecx, eax */ 9587 RECOMP_ICALL(0x2B0624E0u); /* 0x2B063C11: call 0x2b0624e0 */ /* not lifted */ 9588 RECOMP_FLAGS_IN(); 9589 goto L_2B063C1A; /* 0x2B063C16: jmp 0x2b063c1a */ 9590 L_2B063C18: 9591 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9592 eax = 0; /* 0x2B063C18: xor eax, eax */ 9593 _cf = 0; 9594 _flag_k = FK_TEST; 9595 L_2B063C1A: 9596 ecx = eax; /* 0x2B063C1A: mov ecx, eax */ 9597 MEM32(ebp + (-0x4)) = edi; /* 0x2B063C1C: mov dword ptr [ebp - 4], edi */ 9598 MEM32(0x2B0EEDE0) = ecx; /* 0x2B063C1F: mov dword ptr [0x2b0eede0], ecx */ 9599 L_2B063C25: 9600 /* cmp ecx, ebx */ /* 0x2B063C25: cmp ecx, ebx */ 9601 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9603 _flag_k = FK_CMP; 9604 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C2E; /* 0x2B063C27: je 0x2b063c2e */ 9605 L_2B063C29: 9606 RECOMP_ICALL(0x2B062FD0u); /* 0x2B063C29: call 0x2b062fd0 */ /* not lifted */ 9607 RECOMP_FLAGS_IN(); 9608 L_2B063C2E: 9609 ecx = MEM32(0x2B0EEDE8); /* 0x2B063C2E: mov ecx, dword ptr [0x2b0eede8] */ 9610 /* cmp ecx, ebx */ /* 0x2B063C34: cmp ecx, ebx */ 9611 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9613 _flag_k = FK_CMP; 9614 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063CDE; /* 0x2B063C36: jne 0x2b063cde */ 9615 L_2B063C3C: 9616 PUSH32(esp, 0x54u); /* 0x2B063C3C: push 0x54 */ 9617 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C3E: call 0x2b0ab212 */ /* not lifted */ 9618 RECOMP_FLAGS_IN(); 9619 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9620 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9621 esp = esp + 4; /* 0x2B063C43: add esp, 4 */ 9622 _flag_k = FK_ADD; 9623 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C46: mov dword ptr [ebp - 0x10], eax */ 9624 /* cmp eax, ebx */ /* 0x2B063C49: cmp eax, ebx */ 9625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9627 _flag_k = FK_CMP; 9628 MEM32(ebp + (-0x4)) = 2; /* 0x2B063C4B: mov dword ptr [ebp - 4], 2 */ 9629 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CD1; /* 0x2B063C52: je 0x2b063cd1 */ 9630 L_2B063C54: 9631 ecx = eax; /* 0x2B063C54: mov ecx, eax */ 9632 RECOMP_ICALL(0x2B064F40u); /* 0x2B063C56: call 0x2b064f40 */ /* not lifted */ 9633 RECOMP_FLAGS_IN(); 9634 goto L_2B063CD3; /* 0x2B063C5B: jmp 0x2b063cd3 */ 9635 L_2B063C5D: 9636 edx = ebp + (-0x24); /* 0x2B063C5D: lea edx, [ebp - 0x24] */ 9637 /* cmp edx, ecx */ /* 0x2B063C60: cmp edx, ecx */ 9638 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 9639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9640 _flag_k = FK_CMP; 9641 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C6B; /* 0x2B063C62: je 0x2b063c6b */ 9642 L_2B063C64: 9643 edx = MEM32(ecx); /* 0x2B063C64: mov edx, dword ptr [ecx] */ 9644 eax = MEM32(ecx + 0x4); /* 0x2B063C66: mov eax, dword ptr [ecx + 4] */ 9645 goto L_2B063C71; /* 0x2B063C69: jmp 0x2b063c71 */ 9646 L_2B063C6B: 9647 eax = MEM32(ebp + (-0x20)); /* 0x2B063C6B: mov eax, dword ptr [ebp - 0x20] */ 9648 edx = MEM32(ebp + (-0x24)); /* 0x2B063C6E: mov edx, dword ptr [ebp - 0x24] */ 9649 L_2B063C71: 9650 /* cmp eax, MEM32(ebp + (-0x18)) */ /* 0x2B063C71: cmp eax, dword ptr [ebp - 0x18] */ 9651 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18))); 9652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9653 _flag_k = FK_CMP; 9654 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063C7B; /* 0x2B063C74: jne 0x2b063c7b */ 9655 L_2B063C76: 9656 /* cmp edx, MEM32(ebp + (-0x1C)) */ /* 0x2B063C76: cmp edx, dword ptr [ebp - 0x1c] */ 9657 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x1C))); 9658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9659 _flag_k = FK_CMP; 9660 RECOMP_BACKEDGE(); 9661 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C25; /* 0x2B063C79: je 0x2b063c25 */ 9662 L_2B063C7B: 9663 esi = ecx; /* 0x2B063C7B: mov esi, ecx */ 9664 /* cmp esi, ebx */ /* 0x2B063C7D: cmp esi, ebx */ 9665 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9667 _flag_k = FK_CMP; 9668 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C8F; /* 0x2B063C7F: je 0x2b063c8f */ 9669 L_2B063C81: 9670 RECOMP_ICALL(0x2B062F80u); /* 0x2B063C81: call 0x2b062f80 */ /* not lifted */ 9671 RECOMP_FLAGS_IN(); 9672 PUSH32(esp, esi); /* 0x2B063C86: push esi */ 9673 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063C87: call 0x2b0ab1ba */ /* not lifted */ 9674 RECOMP_FLAGS_IN(); 9675 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9676 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9677 esp = esp + 4; /* 0x2B063C8C: add esp, 4 */ 9678 _flag_k = FK_ADD; 9679 L_2B063C8F: 9680 PUSH32(esp, 0x38u); /* 0x2B063C8F: push 0x38 */ 9681 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C91: call 0x2b0ab212 */ /* not lifted */ 9682 RECOMP_FLAGS_IN(); 9683 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9684 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9685 esp = esp + 4; /* 0x2B063C96: add esp, 4 */ 9686 _flag_k = FK_ADD; 9687 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C99: mov dword ptr [ebp - 0x10], eax */ 9688 MEM32(ebp + (-0x4)) = 1; /* 0x2B063C9C: mov dword ptr [ebp - 4], 1 */ 9689 RECOMP_BACKEDGE(); 9690 goto L_2B063C03; /* 0x2B063CA3: jmp 0x2b063c03 */ 9691 L_2B063CA8: 9692 esi = MEM32(0x2B0EEDE0); /* 0x2B063CA8: mov esi, dword ptr [0x2b0eede0] */ 9693 /* cmp esi, ebx */ /* 0x2B063CAE: cmp esi, ebx */ 9694 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9696 _flag_k = FK_CMP; 9697 RECOMP_BACKEDGE(); 9698 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C2E; /* 0x2B063CB0: je 0x2b063c2e */ 9699 L_2B063CB6: 9700 ecx = esi; /* 0x2B063CB6: mov ecx, esi */ 9701 RECOMP_ICALL(0x2B062F80u); /* 0x2B063CB8: call 0x2b062f80 */ /* not lifted */ 9702 RECOMP_FLAGS_IN(); 9703 PUSH32(esp, esi); /* 0x2B063CBD: push esi */ 9704 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063CBE: call 0x2b0ab1ba */ /* not lifted */ 9705 RECOMP_FLAGS_IN(); 9706 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9707 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9708 esp = esp + 4; /* 0x2B063CC3: add esp, 4 */ 9709 _flag_k = FK_ADD; 9710 MEM32(0x2B0EEDE0) = ebx; /* 0x2B063CC6: mov dword ptr [0x2b0eede0], ebx */ 9711 RECOMP_BACKEDGE(); 9712 goto L_2B063C2E; /* 0x2B063CCC: jmp 0x2b063c2e */ 9713 L_2B063CD1: 9714 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9715 eax = 0; /* 0x2B063CD1: xor eax, eax */ 9716 _cf = 0; 9717 _flag_k = FK_TEST; 9718 L_2B063CD3: 9719 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 9720 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 9721 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 9722 L_2B063CDE: 9723 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 9724 RECOMP_FLAGS_IN(); 9725 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 9726 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 9727 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9729 _flag_k = FK_CMP; 9730 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 9731 L_2B063CED: 9732 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 9733 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 9734 RECOMP_FLAGS_IN(); 9735 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9736 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9737 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 9738 _flag_k = FK_ADD; 9739 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 9740 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 9741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9743 _flag_k = FK_CMP; 9744 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 9745 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 9746 L_2B063D05: 9747 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 9748 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 9749 RECOMP_FLAGS_IN(); 9750 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 9751 L_2B063D0E: 9752 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9753 eax = 0; /* 0x2B063D0E: xor eax, eax */ 9754 _cf = 0; 9755 _flag_k = FK_TEST; 9756 L_2B063D10: 9757 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 9758 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 9759 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 9760 L_2B063D1B: 9761 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 9762 RECOMP_FLAGS_IN(); 9763 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 9764 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 9765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9767 _flag_k = FK_CMP; 9768 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 9769 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 9770 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 9771 L_2B063D2C: 9772 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 9773 RECOMP_FLAGS_IN(); 9774 L_2B063D31: 9775 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 9776 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 9777 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 9778 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 9779 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 9780 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 9781 RECOMP_REGS_OUT(); 9782 } 9783 9784 void sub_2B063BCA(void) { 9785 int _fpu_cmp = 0; 9786 uint32_t _cf = 0; 9787 int _df = 1; 9788 uint32_t _flag_k = FK_NONE; 9789 uint32_t _flag_a = 0, _flag_b = 0; 9790 uint32_t _itail_tgt = 0; 9791 RECOMP_REGS_LOCALS 9792 RECOMP_ENTER(0x2B063BCAu); 9793 9794 L_2B063BCA: 9795 edx = ebp + (-0x1C); /* 0x2B063BCA: lea edx, [ebp - 0x1c] */ 9796 PUSH32(esp, edx); /* 0x2B063BCD: push edx */ 9797 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B063BCE: mov dword ptr [ebp - 0x1c], ebx */ 9798 MEM32(ebp + (-0x18)) = ebx; /* 0x2B063BD1: mov dword ptr [ebp - 0x18], ebx */ 9799 RECOMP_ICALL(edi); /* 0x2B063BD4: call edi */ 9800 RECOMP_FLAGS_IN(); 9801 ecx = eax; /* 0x2B063BD6: mov ecx, eax */ 9802 RECOMP_ICALL(MEM32(0x2B0B5F1C)); /* 0x2B063BD8: call dword ptr [0x2b0b5f1c] */ 9803 RECOMP_FLAGS_IN(); 9804 _flag_a = (uint32_t)((edi | 0xFFFFFFFFu)); _flag_b = (uint32_t)((edi | 0xFFFFFFFFu)); 9805 edi = edi | 0xFFFFFFFFu; /* 0x2B063BDE: or edi, 0xffffffff */ 9806 _cf = 0; 9807 _flag_k = FK_TEST; 9808 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B063BE1: cmp al, bl */ 9809 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9811 _flag_k = FK_NARROW(FK_CMP, 24); 9812 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CA8; /* 0x2B063BE3: je 0x2b063ca8 */ 9813 L_2B063BE9: 9814 ecx = MEM32(0x2B0EEDE0); /* 0x2B063BE9: mov ecx, dword ptr [0x2b0eede0] */ 9815 /* cmp ecx, ebx */ /* 0x2B063BEF: cmp ecx, ebx */ 9816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9818 _flag_k = FK_CMP; 9819 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063C5D; /* 0x2B063BF1: jne 0x2b063c5d */ 9820 L_2B063BF3: 9821 PUSH32(esp, 0x38u); /* 0x2B063BF3: push 0x38 */ 9822 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063BF5: call 0x2b0ab212 */ /* not lifted */ 9823 RECOMP_FLAGS_IN(); 9824 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9826 esp = esp + 4; /* 0x2B063BFA: add esp, 4 */ 9827 _flag_k = FK_ADD; 9828 MEM32(ebp + (-0x10)) = eax; /* 0x2B063BFD: mov dword ptr [ebp - 0x10], eax */ 9829 MEM32(ebp + (-0x4)) = ebx; /* 0x2B063C00: mov dword ptr [ebp - 4], ebx */ 9830 L_2B063C03: 9831 /* cmp eax, ebx */ /* 0x2B063C03: cmp eax, ebx */ 9832 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9834 _flag_k = FK_CMP; 9835 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C18; /* 0x2B063C05: je 0x2b063c18 */ 9836 L_2B063C07: 9837 PUSH32(esp, 1); /* 0x2B063C07: push 1 */ 9838 PUSH32(esp, 1); /* 0x2B063C09: push 1 */ 9839 ecx = ebp + (-0x1C); /* 0x2B063C0B: lea ecx, [ebp - 0x1c] */ 9840 PUSH32(esp, ecx); /* 0x2B063C0E: push ecx */ 9841 ecx = eax; /* 0x2B063C0F: mov ecx, eax */ 9842 RECOMP_ICALL(0x2B0624E0u); /* 0x2B063C11: call 0x2b0624e0 */ /* not lifted */ 9843 RECOMP_FLAGS_IN(); 9844 goto L_2B063C1A; /* 0x2B063C16: jmp 0x2b063c1a */ 9845 L_2B063C18: 9846 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9847 eax = 0; /* 0x2B063C18: xor eax, eax */ 9848 _cf = 0; 9849 _flag_k = FK_TEST; 9850 L_2B063C1A: 9851 ecx = eax; /* 0x2B063C1A: mov ecx, eax */ 9852 MEM32(ebp + (-0x4)) = edi; /* 0x2B063C1C: mov dword ptr [ebp - 4], edi */ 9853 MEM32(0x2B0EEDE0) = ecx; /* 0x2B063C1F: mov dword ptr [0x2b0eede0], ecx */ 9854 L_2B063C25: 9855 /* cmp ecx, ebx */ /* 0x2B063C25: cmp ecx, ebx */ 9856 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9858 _flag_k = FK_CMP; 9859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C2E; /* 0x2B063C27: je 0x2b063c2e */ 9860 L_2B063C29: 9861 RECOMP_ICALL(0x2B062FD0u); /* 0x2B063C29: call 0x2b062fd0 */ /* not lifted */ 9862 RECOMP_FLAGS_IN(); 9863 L_2B063C2E: 9864 ecx = MEM32(0x2B0EEDE8); /* 0x2B063C2E: mov ecx, dword ptr [0x2b0eede8] */ 9865 /* cmp ecx, ebx */ /* 0x2B063C34: cmp ecx, ebx */ 9866 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9868 _flag_k = FK_CMP; 9869 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063CDE; /* 0x2B063C36: jne 0x2b063cde */ 9870 L_2B063C3C: 9871 PUSH32(esp, 0x54u); /* 0x2B063C3C: push 0x54 */ 9872 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C3E: call 0x2b0ab212 */ /* not lifted */ 9873 RECOMP_FLAGS_IN(); 9874 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9875 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9876 esp = esp + 4; /* 0x2B063C43: add esp, 4 */ 9877 _flag_k = FK_ADD; 9878 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C46: mov dword ptr [ebp - 0x10], eax */ 9879 /* cmp eax, ebx */ /* 0x2B063C49: cmp eax, ebx */ 9880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9882 _flag_k = FK_CMP; 9883 MEM32(ebp + (-0x4)) = 2; /* 0x2B063C4B: mov dword ptr [ebp - 4], 2 */ 9884 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CD1; /* 0x2B063C52: je 0x2b063cd1 */ 9885 L_2B063C54: 9886 ecx = eax; /* 0x2B063C54: mov ecx, eax */ 9887 RECOMP_ICALL(0x2B064F40u); /* 0x2B063C56: call 0x2b064f40 */ /* not lifted */ 9888 RECOMP_FLAGS_IN(); 9889 goto L_2B063CD3; /* 0x2B063C5B: jmp 0x2b063cd3 */ 9890 L_2B063C5D: 9891 edx = ebp + (-0x24); /* 0x2B063C5D: lea edx, [ebp - 0x24] */ 9892 /* cmp edx, ecx */ /* 0x2B063C60: cmp edx, ecx */ 9893 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 9894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9895 _flag_k = FK_CMP; 9896 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C6B; /* 0x2B063C62: je 0x2b063c6b */ 9897 L_2B063C64: 9898 edx = MEM32(ecx); /* 0x2B063C64: mov edx, dword ptr [ecx] */ 9899 eax = MEM32(ecx + 0x4); /* 0x2B063C66: mov eax, dword ptr [ecx + 4] */ 9900 goto L_2B063C71; /* 0x2B063C69: jmp 0x2b063c71 */ 9901 L_2B063C6B: 9902 eax = MEM32(ebp + (-0x20)); /* 0x2B063C6B: mov eax, dword ptr [ebp - 0x20] */ 9903 edx = MEM32(ebp + (-0x24)); /* 0x2B063C6E: mov edx, dword ptr [ebp - 0x24] */ 9904 L_2B063C71: 9905 /* cmp eax, MEM32(ebp + (-0x18)) */ /* 0x2B063C71: cmp eax, dword ptr [ebp - 0x18] */ 9906 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18))); 9907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9908 _flag_k = FK_CMP; 9909 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063C7B; /* 0x2B063C74: jne 0x2b063c7b */ 9910 L_2B063C76: 9911 /* cmp edx, MEM32(ebp + (-0x1C)) */ /* 0x2B063C76: cmp edx, dword ptr [ebp - 0x1c] */ 9912 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x1C))); 9913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9914 _flag_k = FK_CMP; 9915 RECOMP_BACKEDGE(); 9916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C25; /* 0x2B063C79: je 0x2b063c25 */ 9917 L_2B063C7B: 9918 esi = ecx; /* 0x2B063C7B: mov esi, ecx */ 9919 /* cmp esi, ebx */ /* 0x2B063C7D: cmp esi, ebx */ 9920 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9922 _flag_k = FK_CMP; 9923 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C8F; /* 0x2B063C7F: je 0x2b063c8f */ 9924 L_2B063C81: 9925 RECOMP_ICALL(0x2B062F80u); /* 0x2B063C81: call 0x2b062f80 */ /* not lifted */ 9926 RECOMP_FLAGS_IN(); 9927 PUSH32(esp, esi); /* 0x2B063C86: push esi */ 9928 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063C87: call 0x2b0ab1ba */ /* not lifted */ 9929 RECOMP_FLAGS_IN(); 9930 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9931 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9932 esp = esp + 4; /* 0x2B063C8C: add esp, 4 */ 9933 _flag_k = FK_ADD; 9934 L_2B063C8F: 9935 PUSH32(esp, 0x38u); /* 0x2B063C8F: push 0x38 */ 9936 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C91: call 0x2b0ab212 */ /* not lifted */ 9937 RECOMP_FLAGS_IN(); 9938 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9940 esp = esp + 4; /* 0x2B063C96: add esp, 4 */ 9941 _flag_k = FK_ADD; 9942 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C99: mov dword ptr [ebp - 0x10], eax */ 9943 MEM32(ebp + (-0x4)) = 1; /* 0x2B063C9C: mov dword ptr [ebp - 4], 1 */ 9944 RECOMP_BACKEDGE(); 9945 goto L_2B063C03; /* 0x2B063CA3: jmp 0x2b063c03 */ 9946 L_2B063CA8: 9947 esi = MEM32(0x2B0EEDE0); /* 0x2B063CA8: mov esi, dword ptr [0x2b0eede0] */ 9948 /* cmp esi, ebx */ /* 0x2B063CAE: cmp esi, ebx */ 9949 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 9950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9951 _flag_k = FK_CMP; 9952 RECOMP_BACKEDGE(); 9953 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C2E; /* 0x2B063CB0: je 0x2b063c2e */ 9954 L_2B063CB6: 9955 ecx = esi; /* 0x2B063CB6: mov ecx, esi */ 9956 RECOMP_ICALL(0x2B062F80u); /* 0x2B063CB8: call 0x2b062f80 */ /* not lifted */ 9957 RECOMP_FLAGS_IN(); 9958 PUSH32(esp, esi); /* 0x2B063CBD: push esi */ 9959 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063CBE: call 0x2b0ab1ba */ /* not lifted */ 9960 RECOMP_FLAGS_IN(); 9961 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9962 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9963 esp = esp + 4; /* 0x2B063CC3: add esp, 4 */ 9964 _flag_k = FK_ADD; 9965 MEM32(0x2B0EEDE0) = ebx; /* 0x2B063CC6: mov dword ptr [0x2b0eede0], ebx */ 9966 RECOMP_BACKEDGE(); 9967 goto L_2B063C2E; /* 0x2B063CCC: jmp 0x2b063c2e */ 9968 L_2B063CD1: 9969 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9970 eax = 0; /* 0x2B063CD1: xor eax, eax */ 9971 _cf = 0; 9972 _flag_k = FK_TEST; 9973 L_2B063CD3: 9974 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 9975 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 9976 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 9977 L_2B063CDE: 9978 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 9979 RECOMP_FLAGS_IN(); 9980 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 9981 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 9982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 9983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9984 _flag_k = FK_CMP; 9985 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 9986 L_2B063CED: 9987 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 9988 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 9989 RECOMP_FLAGS_IN(); 9990 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9991 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9992 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 9993 _flag_k = FK_ADD; 9994 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 9995 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 9996 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 9997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9998 _flag_k = FK_CMP; 9999 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 10000 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 10001 L_2B063D05: 10002 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 10003 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 10004 RECOMP_FLAGS_IN(); 10005 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 10006 L_2B063D0E: 10007 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10008 eax = 0; /* 0x2B063D0E: xor eax, eax */ 10009 _cf = 0; 10010 _flag_k = FK_TEST; 10011 L_2B063D10: 10012 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10013 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10014 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10015 L_2B063D1B: 10016 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10017 RECOMP_FLAGS_IN(); 10018 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10019 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10022 _flag_k = FK_CMP; 10023 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10024 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10025 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10026 L_2B063D2C: 10027 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10028 RECOMP_FLAGS_IN(); 10029 L_2B063D31: 10030 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10031 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10032 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10033 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10034 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10035 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10036 RECOMP_REGS_OUT(); 10037 } 10038 10039 void sub_2B063C03(void) { 10040 int _fpu_cmp = 0; 10041 uint32_t _cf = 0; 10042 int _df = 1; 10043 uint32_t _flag_k = FK_NONE; 10044 uint32_t _flag_a = 0, _flag_b = 0; 10045 uint32_t _itail_tgt = 0; 10046 RECOMP_REGS_LOCALS 10047 RECOMP_ENTER(0x2B063C03u); 10048 10049 L_2B063C03: 10050 /* cmp eax, ebx */ /* 0x2B063C03: cmp eax, ebx */ 10051 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10053 _flag_k = FK_CMP; 10054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C18; /* 0x2B063C05: je 0x2b063c18 */ 10055 L_2B063C07: 10056 PUSH32(esp, 1); /* 0x2B063C07: push 1 */ 10057 PUSH32(esp, 1); /* 0x2B063C09: push 1 */ 10058 ecx = ebp + (-0x1C); /* 0x2B063C0B: lea ecx, [ebp - 0x1c] */ 10059 PUSH32(esp, ecx); /* 0x2B063C0E: push ecx */ 10060 ecx = eax; /* 0x2B063C0F: mov ecx, eax */ 10061 RECOMP_ICALL(0x2B0624E0u); /* 0x2B063C11: call 0x2b0624e0 */ /* not lifted */ 10062 RECOMP_FLAGS_IN(); 10063 goto L_2B063C1A; /* 0x2B063C16: jmp 0x2b063c1a */ 10064 L_2B063C18: 10065 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10066 eax = 0; /* 0x2B063C18: xor eax, eax */ 10067 _cf = 0; 10068 _flag_k = FK_TEST; 10069 L_2B063C1A: 10070 ecx = eax; /* 0x2B063C1A: mov ecx, eax */ 10071 MEM32(ebp + (-0x4)) = edi; /* 0x2B063C1C: mov dword ptr [ebp - 4], edi */ 10072 MEM32(0x2B0EEDE0) = ecx; /* 0x2B063C1F: mov dword ptr [0x2b0eede0], ecx */ 10073 /* cmp ecx, ebx */ /* 0x2B063C25: cmp ecx, ebx */ 10074 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10076 _flag_k = FK_CMP; 10077 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C2E; /* 0x2B063C27: je 0x2b063c2e */ 10078 L_2B063C29: 10079 RECOMP_ICALL(0x2B062FD0u); /* 0x2B063C29: call 0x2b062fd0 */ /* not lifted */ 10080 RECOMP_FLAGS_IN(); 10081 L_2B063C2E: 10082 ecx = MEM32(0x2B0EEDE8); /* 0x2B063C2E: mov ecx, dword ptr [0x2b0eede8] */ 10083 /* cmp ecx, ebx */ /* 0x2B063C34: cmp ecx, ebx */ 10084 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10085 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10086 _flag_k = FK_CMP; 10087 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063CDE; /* 0x2B063C36: jne 0x2b063cde */ 10088 L_2B063C3C: 10089 PUSH32(esp, 0x54u); /* 0x2B063C3C: push 0x54 */ 10090 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C3E: call 0x2b0ab212 */ /* not lifted */ 10091 RECOMP_FLAGS_IN(); 10092 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10093 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10094 esp = esp + 4; /* 0x2B063C43: add esp, 4 */ 10095 _flag_k = FK_ADD; 10096 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C46: mov dword ptr [ebp - 0x10], eax */ 10097 /* cmp eax, ebx */ /* 0x2B063C49: cmp eax, ebx */ 10098 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10100 _flag_k = FK_CMP; 10101 MEM32(ebp + (-0x4)) = 2; /* 0x2B063C4B: mov dword ptr [ebp - 4], 2 */ 10102 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CD1; /* 0x2B063C52: je 0x2b063cd1 */ 10103 L_2B063C54: 10104 ecx = eax; /* 0x2B063C54: mov ecx, eax */ 10105 RECOMP_ICALL(0x2B064F40u); /* 0x2B063C56: call 0x2b064f40 */ /* not lifted */ 10106 RECOMP_FLAGS_IN(); 10107 goto L_2B063CD3; /* 0x2B063C5B: jmp 0x2b063cd3 */ 10108 L_2B063CD1: 10109 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10110 eax = 0; /* 0x2B063CD1: xor eax, eax */ 10111 _cf = 0; 10112 _flag_k = FK_TEST; 10113 L_2B063CD3: 10114 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 10115 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 10116 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 10117 L_2B063CDE: 10118 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 10119 RECOMP_FLAGS_IN(); 10120 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 10121 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 10122 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10124 _flag_k = FK_CMP; 10125 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 10126 L_2B063CED: 10127 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 10128 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 10129 RECOMP_FLAGS_IN(); 10130 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10131 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10132 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 10133 _flag_k = FK_ADD; 10134 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 10135 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 10136 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10138 _flag_k = FK_CMP; 10139 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 10140 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 10141 L_2B063D05: 10142 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 10143 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 10144 RECOMP_FLAGS_IN(); 10145 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 10146 L_2B063D0E: 10147 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10148 eax = 0; /* 0x2B063D0E: xor eax, eax */ 10149 _cf = 0; 10150 _flag_k = FK_TEST; 10151 L_2B063D10: 10152 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10153 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10154 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10155 L_2B063D1B: 10156 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10157 RECOMP_FLAGS_IN(); 10158 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10159 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10160 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10162 _flag_k = FK_CMP; 10163 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10164 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10165 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10166 L_2B063D2C: 10167 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10168 RECOMP_FLAGS_IN(); 10169 L_2B063D31: 10170 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10171 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10172 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10173 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10174 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10175 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10176 RECOMP_REGS_OUT(); 10177 } 10178 10179 void sub_2B063C1A(void) { 10180 int _fpu_cmp = 0; 10181 uint32_t _cf = 0; 10182 int _df = 1; 10183 uint32_t _flag_k = FK_NONE; 10184 uint32_t _flag_a = 0, _flag_b = 0; 10185 uint32_t _itail_tgt = 0; 10186 RECOMP_REGS_LOCALS 10187 RECOMP_ENTER(0x2B063C1Au); 10188 10189 L_2B063C1A: 10190 ecx = eax; /* 0x2B063C1A: mov ecx, eax */ 10191 MEM32(ebp + (-0x4)) = edi; /* 0x2B063C1C: mov dword ptr [ebp - 4], edi */ 10192 MEM32(0x2B0EEDE0) = ecx; /* 0x2B063C1F: mov dword ptr [0x2b0eede0], ecx */ 10193 /* cmp ecx, ebx */ /* 0x2B063C25: cmp ecx, ebx */ 10194 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10196 _flag_k = FK_CMP; 10197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C2E; /* 0x2B063C27: je 0x2b063c2e */ 10198 L_2B063C29: 10199 RECOMP_ICALL(0x2B062FD0u); /* 0x2B063C29: call 0x2b062fd0 */ /* not lifted */ 10200 RECOMP_FLAGS_IN(); 10201 L_2B063C2E: 10202 ecx = MEM32(0x2B0EEDE8); /* 0x2B063C2E: mov ecx, dword ptr [0x2b0eede8] */ 10203 /* cmp ecx, ebx */ /* 0x2B063C34: cmp ecx, ebx */ 10204 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10206 _flag_k = FK_CMP; 10207 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063CDE; /* 0x2B063C36: jne 0x2b063cde */ 10208 L_2B063C3C: 10209 PUSH32(esp, 0x54u); /* 0x2B063C3C: push 0x54 */ 10210 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C3E: call 0x2b0ab212 */ /* not lifted */ 10211 RECOMP_FLAGS_IN(); 10212 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10213 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10214 esp = esp + 4; /* 0x2B063C43: add esp, 4 */ 10215 _flag_k = FK_ADD; 10216 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C46: mov dword ptr [ebp - 0x10], eax */ 10217 /* cmp eax, ebx */ /* 0x2B063C49: cmp eax, ebx */ 10218 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10220 _flag_k = FK_CMP; 10221 MEM32(ebp + (-0x4)) = 2; /* 0x2B063C4B: mov dword ptr [ebp - 4], 2 */ 10222 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CD1; /* 0x2B063C52: je 0x2b063cd1 */ 10223 L_2B063C54: 10224 ecx = eax; /* 0x2B063C54: mov ecx, eax */ 10225 RECOMP_ICALL(0x2B064F40u); /* 0x2B063C56: call 0x2b064f40 */ /* not lifted */ 10226 RECOMP_FLAGS_IN(); 10227 goto L_2B063CD3; /* 0x2B063C5B: jmp 0x2b063cd3 */ 10228 L_2B063CD1: 10229 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10230 eax = 0; /* 0x2B063CD1: xor eax, eax */ 10231 _cf = 0; 10232 _flag_k = FK_TEST; 10233 L_2B063CD3: 10234 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 10235 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 10236 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 10237 L_2B063CDE: 10238 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 10239 RECOMP_FLAGS_IN(); 10240 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 10241 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 10242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10244 _flag_k = FK_CMP; 10245 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 10246 L_2B063CED: 10247 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 10248 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 10249 RECOMP_FLAGS_IN(); 10250 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10251 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10252 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 10253 _flag_k = FK_ADD; 10254 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 10255 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 10256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10258 _flag_k = FK_CMP; 10259 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 10260 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 10261 L_2B063D05: 10262 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 10263 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 10264 RECOMP_FLAGS_IN(); 10265 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 10266 L_2B063D0E: 10267 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10268 eax = 0; /* 0x2B063D0E: xor eax, eax */ 10269 _cf = 0; 10270 _flag_k = FK_TEST; 10271 L_2B063D10: 10272 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10273 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10274 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10275 L_2B063D1B: 10276 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10277 RECOMP_FLAGS_IN(); 10278 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10279 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10282 _flag_k = FK_CMP; 10283 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10284 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10285 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10286 L_2B063D2C: 10287 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10288 RECOMP_FLAGS_IN(); 10289 L_2B063D31: 10290 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10291 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10292 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10293 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10294 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10295 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10296 RECOMP_REGS_OUT(); 10297 } 10298 10299 void sub_2B063C25(void) { 10300 int _fpu_cmp = 0; 10301 uint32_t _cf = 0; 10302 int _df = 1; 10303 uint32_t _flag_k = FK_NONE; 10304 uint32_t _flag_a = 0, _flag_b = 0; 10305 uint32_t _itail_tgt = 0; 10306 RECOMP_REGS_LOCALS 10307 RECOMP_ENTER(0x2B063C25u); 10308 10309 L_2B063C25: 10310 /* cmp ecx, ebx */ /* 0x2B063C25: cmp ecx, ebx */ 10311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 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_2B063C2E; /* 0x2B063C27: je 0x2b063c2e */ 10315 L_2B063C29: 10316 RECOMP_ICALL(0x2B062FD0u); /* 0x2B063C29: call 0x2b062fd0 */ /* not lifted */ 10317 RECOMP_FLAGS_IN(); 10318 L_2B063C2E: 10319 ecx = MEM32(0x2B0EEDE8); /* 0x2B063C2E: mov ecx, dword ptr [0x2b0eede8] */ 10320 /* cmp ecx, ebx */ /* 0x2B063C34: cmp ecx, ebx */ 10321 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10323 _flag_k = FK_CMP; 10324 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063CDE; /* 0x2B063C36: jne 0x2b063cde */ 10325 L_2B063C3C: 10326 PUSH32(esp, 0x54u); /* 0x2B063C3C: push 0x54 */ 10327 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C3E: call 0x2b0ab212 */ /* not lifted */ 10328 RECOMP_FLAGS_IN(); 10329 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10331 esp = esp + 4; /* 0x2B063C43: add esp, 4 */ 10332 _flag_k = FK_ADD; 10333 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C46: mov dword ptr [ebp - 0x10], eax */ 10334 /* cmp eax, ebx */ /* 0x2B063C49: cmp eax, ebx */ 10335 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10337 _flag_k = FK_CMP; 10338 MEM32(ebp + (-0x4)) = 2; /* 0x2B063C4B: mov dword ptr [ebp - 4], 2 */ 10339 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CD1; /* 0x2B063C52: je 0x2b063cd1 */ 10340 L_2B063C54: 10341 ecx = eax; /* 0x2B063C54: mov ecx, eax */ 10342 RECOMP_ICALL(0x2B064F40u); /* 0x2B063C56: call 0x2b064f40 */ /* not lifted */ 10343 RECOMP_FLAGS_IN(); 10344 goto L_2B063CD3; /* 0x2B063C5B: jmp 0x2b063cd3 */ 10345 L_2B063CD1: 10346 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10347 eax = 0; /* 0x2B063CD1: xor eax, eax */ 10348 _cf = 0; 10349 _flag_k = FK_TEST; 10350 L_2B063CD3: 10351 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 10352 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 10353 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 10354 L_2B063CDE: 10355 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 10356 RECOMP_FLAGS_IN(); 10357 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 10358 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 10359 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10361 _flag_k = FK_CMP; 10362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 10363 L_2B063CED: 10364 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 10365 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 10366 RECOMP_FLAGS_IN(); 10367 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10368 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10369 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 10370 _flag_k = FK_ADD; 10371 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 10372 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 10373 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10375 _flag_k = FK_CMP; 10376 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 10377 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 10378 L_2B063D05: 10379 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 10380 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 10381 RECOMP_FLAGS_IN(); 10382 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 10383 L_2B063D0E: 10384 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10385 eax = 0; /* 0x2B063D0E: xor eax, eax */ 10386 _cf = 0; 10387 _flag_k = FK_TEST; 10388 L_2B063D10: 10389 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10390 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10391 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10392 L_2B063D1B: 10393 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10394 RECOMP_FLAGS_IN(); 10395 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10396 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10399 _flag_k = FK_CMP; 10400 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10401 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10402 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10403 L_2B063D2C: 10404 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10405 RECOMP_FLAGS_IN(); 10406 L_2B063D31: 10407 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10408 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10409 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10410 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10411 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10412 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10413 RECOMP_REGS_OUT(); 10414 } 10415 10416 void sub_2B063C2E(void) { 10417 int _fpu_cmp = 0; 10418 uint32_t _cf = 0; 10419 int _df = 1; 10420 uint32_t _flag_k = FK_NONE; 10421 uint32_t _flag_a = 0, _flag_b = 0; 10422 uint32_t _itail_tgt = 0; 10423 RECOMP_REGS_LOCALS 10424 RECOMP_ENTER(0x2B063C2Eu); 10425 10426 L_2B063C2E: 10427 ecx = MEM32(0x2B0EEDE8); /* 0x2B063C2E: mov ecx, dword ptr [0x2b0eede8] */ 10428 /* cmp ecx, ebx */ /* 0x2B063C34: cmp ecx, ebx */ 10429 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10431 _flag_k = FK_CMP; 10432 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063CDE; /* 0x2B063C36: jne 0x2b063cde */ 10433 L_2B063C3C: 10434 PUSH32(esp, 0x54u); /* 0x2B063C3C: push 0x54 */ 10435 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C3E: call 0x2b0ab212 */ /* not lifted */ 10436 RECOMP_FLAGS_IN(); 10437 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10439 esp = esp + 4; /* 0x2B063C43: add esp, 4 */ 10440 _flag_k = FK_ADD; 10441 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C46: mov dword ptr [ebp - 0x10], eax */ 10442 /* cmp eax, ebx */ /* 0x2B063C49: cmp eax, ebx */ 10443 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10445 _flag_k = FK_CMP; 10446 MEM32(ebp + (-0x4)) = 2; /* 0x2B063C4B: mov dword ptr [ebp - 4], 2 */ 10447 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CD1; /* 0x2B063C52: je 0x2b063cd1 */ 10448 L_2B063C54: 10449 ecx = eax; /* 0x2B063C54: mov ecx, eax */ 10450 RECOMP_ICALL(0x2B064F40u); /* 0x2B063C56: call 0x2b064f40 */ /* not lifted */ 10451 RECOMP_FLAGS_IN(); 10452 goto L_2B063CD3; /* 0x2B063C5B: jmp 0x2b063cd3 */ 10453 L_2B063CD1: 10454 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10455 eax = 0; /* 0x2B063CD1: xor eax, eax */ 10456 _cf = 0; 10457 _flag_k = FK_TEST; 10458 L_2B063CD3: 10459 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 10460 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 10461 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 10462 L_2B063CDE: 10463 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 10464 RECOMP_FLAGS_IN(); 10465 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 10466 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 10467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10469 _flag_k = FK_CMP; 10470 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 10471 L_2B063CED: 10472 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 10473 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 10474 RECOMP_FLAGS_IN(); 10475 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10476 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10477 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 10478 _flag_k = FK_ADD; 10479 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 10480 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 10481 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10483 _flag_k = FK_CMP; 10484 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 10485 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 10486 L_2B063D05: 10487 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 10488 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 10489 RECOMP_FLAGS_IN(); 10490 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 10491 L_2B063D0E: 10492 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10493 eax = 0; /* 0x2B063D0E: xor eax, eax */ 10494 _cf = 0; 10495 _flag_k = FK_TEST; 10496 L_2B063D10: 10497 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10498 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10499 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10500 L_2B063D1B: 10501 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10502 RECOMP_FLAGS_IN(); 10503 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10504 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10507 _flag_k = FK_CMP; 10508 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10509 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10510 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10511 L_2B063D2C: 10512 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10513 RECOMP_FLAGS_IN(); 10514 L_2B063D31: 10515 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10516 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10517 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10518 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10519 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10520 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10521 RECOMP_REGS_OUT(); 10522 } 10523 10524 void sub_2B063C71(void) { 10525 int _fpu_cmp = 0; 10526 uint32_t _cf = 0; 10527 int _df = 1; 10528 uint32_t _flag_k = FK_NONE; 10529 uint32_t _flag_a = 0, _flag_b = 0; 10530 uint32_t _itail_tgt = 0; 10531 RECOMP_REGS_LOCALS 10532 RECOMP_ENTER(0x2B063C71u); 10533 10534 goto L_2B063C71; 10535 L_2B063C03: 10536 /* cmp eax, ebx */ /* 0x2B063C03: cmp eax, ebx */ 10537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10539 _flag_k = FK_CMP; 10540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C18; /* 0x2B063C05: je 0x2b063c18 */ 10541 L_2B063C07: 10542 PUSH32(esp, 1); /* 0x2B063C07: push 1 */ 10543 PUSH32(esp, 1); /* 0x2B063C09: push 1 */ 10544 ecx = ebp + (-0x1C); /* 0x2B063C0B: lea ecx, [ebp - 0x1c] */ 10545 PUSH32(esp, ecx); /* 0x2B063C0E: push ecx */ 10546 ecx = eax; /* 0x2B063C0F: mov ecx, eax */ 10547 RECOMP_ICALL(0x2B0624E0u); /* 0x2B063C11: call 0x2b0624e0 */ /* not lifted */ 10548 RECOMP_FLAGS_IN(); 10549 goto L_2B063C1A; /* 0x2B063C16: jmp 0x2b063c1a */ 10550 L_2B063C18: 10551 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10552 eax = 0; /* 0x2B063C18: xor eax, eax */ 10553 _cf = 0; 10554 _flag_k = FK_TEST; 10555 L_2B063C1A: 10556 ecx = eax; /* 0x2B063C1A: mov ecx, eax */ 10557 MEM32(ebp + (-0x4)) = edi; /* 0x2B063C1C: mov dword ptr [ebp - 4], edi */ 10558 MEM32(0x2B0EEDE0) = ecx; /* 0x2B063C1F: mov dword ptr [0x2b0eede0], ecx */ 10559 L_2B063C25: 10560 /* cmp ecx, ebx */ /* 0x2B063C25: cmp ecx, ebx */ 10561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10563 _flag_k = FK_CMP; 10564 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C2E; /* 0x2B063C27: je 0x2b063c2e */ 10565 L_2B063C29: 10566 RECOMP_ICALL(0x2B062FD0u); /* 0x2B063C29: call 0x2b062fd0 */ /* not lifted */ 10567 RECOMP_FLAGS_IN(); 10568 L_2B063C2E: 10569 ecx = MEM32(0x2B0EEDE8); /* 0x2B063C2E: mov ecx, dword ptr [0x2b0eede8] */ 10570 /* cmp ecx, ebx */ /* 0x2B063C34: cmp ecx, ebx */ 10571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10573 _flag_k = FK_CMP; 10574 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063CDE; /* 0x2B063C36: jne 0x2b063cde */ 10575 L_2B063C3C: 10576 PUSH32(esp, 0x54u); /* 0x2B063C3C: push 0x54 */ 10577 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C3E: call 0x2b0ab212 */ /* not lifted */ 10578 RECOMP_FLAGS_IN(); 10579 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10581 esp = esp + 4; /* 0x2B063C43: add esp, 4 */ 10582 _flag_k = FK_ADD; 10583 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C46: mov dword ptr [ebp - 0x10], eax */ 10584 /* cmp eax, ebx */ /* 0x2B063C49: cmp eax, ebx */ 10585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10587 _flag_k = FK_CMP; 10588 MEM32(ebp + (-0x4)) = 2; /* 0x2B063C4B: mov dword ptr [ebp - 4], 2 */ 10589 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063CD1; /* 0x2B063C52: je 0x2b063cd1 */ 10590 L_2B063C54: 10591 ecx = eax; /* 0x2B063C54: mov ecx, eax */ 10592 RECOMP_ICALL(0x2B064F40u); /* 0x2B063C56: call 0x2b064f40 */ /* not lifted */ 10593 RECOMP_FLAGS_IN(); 10594 goto L_2B063CD3; /* 0x2B063C5B: jmp 0x2b063cd3 */ 10595 L_2B063C71: 10596 /* cmp eax, MEM32(ebp + (-0x18)) */ /* 0x2B063C71: cmp eax, dword ptr [ebp - 0x18] */ 10597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18))); 10598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10599 _flag_k = FK_CMP; 10600 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063C7B; /* 0x2B063C74: jne 0x2b063c7b */ 10601 L_2B063C76: 10602 /* cmp edx, MEM32(ebp + (-0x1C)) */ /* 0x2B063C76: cmp edx, dword ptr [ebp - 0x1c] */ 10603 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + (-0x1C))); 10604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10605 _flag_k = FK_CMP; 10606 RECOMP_BACKEDGE(); 10607 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C25; /* 0x2B063C79: je 0x2b063c25 */ 10608 L_2B063C7B: 10609 esi = ecx; /* 0x2B063C7B: mov esi, ecx */ 10610 /* cmp esi, ebx */ /* 0x2B063C7D: cmp esi, ebx */ 10611 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 10612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10613 _flag_k = FK_CMP; 10614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063C8F; /* 0x2B063C7F: je 0x2b063c8f */ 10615 L_2B063C81: 10616 RECOMP_ICALL(0x2B062F80u); /* 0x2B063C81: call 0x2b062f80 */ /* not lifted */ 10617 RECOMP_FLAGS_IN(); 10618 PUSH32(esp, esi); /* 0x2B063C86: push esi */ 10619 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063C87: call 0x2b0ab1ba */ /* not lifted */ 10620 RECOMP_FLAGS_IN(); 10621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10623 esp = esp + 4; /* 0x2B063C8C: add esp, 4 */ 10624 _flag_k = FK_ADD; 10625 L_2B063C8F: 10626 PUSH32(esp, 0x38u); /* 0x2B063C8F: push 0x38 */ 10627 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063C91: call 0x2b0ab212 */ /* not lifted */ 10628 RECOMP_FLAGS_IN(); 10629 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10630 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10631 esp = esp + 4; /* 0x2B063C96: add esp, 4 */ 10632 _flag_k = FK_ADD; 10633 MEM32(ebp + (-0x10)) = eax; /* 0x2B063C99: mov dword ptr [ebp - 0x10], eax */ 10634 MEM32(ebp + (-0x4)) = 1; /* 0x2B063C9C: mov dword ptr [ebp - 4], 1 */ 10635 RECOMP_BACKEDGE(); 10636 goto L_2B063C03; /* 0x2B063CA3: jmp 0x2b063c03 */ 10637 L_2B063CD1: 10638 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10639 eax = 0; /* 0x2B063CD1: xor eax, eax */ 10640 _cf = 0; 10641 _flag_k = FK_TEST; 10642 L_2B063CD3: 10643 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 10644 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 10645 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 10646 L_2B063CDE: 10647 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 10648 RECOMP_FLAGS_IN(); 10649 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 10650 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 10651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10653 _flag_k = FK_CMP; 10654 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 10655 L_2B063CED: 10656 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 10657 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 10658 RECOMP_FLAGS_IN(); 10659 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10660 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10661 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 10662 _flag_k = FK_ADD; 10663 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 10664 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 10665 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10667 _flag_k = FK_CMP; 10668 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 10669 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 10670 L_2B063D05: 10671 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 10672 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 10673 RECOMP_FLAGS_IN(); 10674 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 10675 L_2B063D0E: 10676 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10677 eax = 0; /* 0x2B063D0E: xor eax, eax */ 10678 _cf = 0; 10679 _flag_k = FK_TEST; 10680 L_2B063D10: 10681 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10682 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10683 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10684 L_2B063D1B: 10685 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10686 RECOMP_FLAGS_IN(); 10687 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10688 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10689 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10691 _flag_k = FK_CMP; 10692 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10693 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10694 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10695 L_2B063D2C: 10696 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10697 RECOMP_FLAGS_IN(); 10698 L_2B063D31: 10699 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10700 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10701 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10702 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10703 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10704 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10705 RECOMP_REGS_OUT(); 10706 } 10707 10708 void sub_2B063CD3(void) { 10709 int _fpu_cmp = 0; 10710 uint32_t _cf = 0; 10711 int _df = 1; 10712 uint32_t _flag_k = FK_NONE; 10713 uint32_t _flag_a = 0, _flag_b = 0; 10714 uint32_t _itail_tgt = 0; 10715 RECOMP_REGS_LOCALS 10716 RECOMP_ENTER(0x2B063CD3u); 10717 10718 L_2B063CD3: 10719 ecx = eax; /* 0x2B063CD3: mov ecx, eax */ 10720 MEM32(ebp + (-0x4)) = edi; /* 0x2B063CD5: mov dword ptr [ebp - 4], edi */ 10721 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063CD8: mov dword ptr [0x2b0eede8], ecx */ 10722 RECOMP_ICALL(0x2B065960u); /* 0x2B063CDE: call 0x2b065960 */ /* not lifted */ 10723 RECOMP_FLAGS_IN(); 10724 ecx = MEM32(0x2B0EEDE8); /* 0x2B063CE3: mov ecx, dword ptr [0x2b0eede8] */ 10725 /* cmp ecx, ebx */ /* 0x2B063CE9: cmp ecx, ebx */ 10726 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10728 _flag_k = FK_CMP; 10729 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063D1B; /* 0x2B063CEB: jne 0x2b063d1b */ 10730 L_2B063CED: 10731 PUSH32(esp, 0x54u); /* 0x2B063CED: push 0x54 */ 10732 RECOMP_ICALL(0x2B0AB212u); /* 0x2B063CEF: call 0x2b0ab212 */ /* not lifted */ 10733 RECOMP_FLAGS_IN(); 10734 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10735 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10736 esp = esp + 4; /* 0x2B063CF4: add esp, 4 */ 10737 _flag_k = FK_ADD; 10738 MEM32(ebp + (-0x10)) = eax; /* 0x2B063CF7: mov dword ptr [ebp - 0x10], eax */ 10739 /* cmp eax, ebx */ /* 0x2B063CFA: cmp eax, ebx */ 10740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 10741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10742 _flag_k = FK_CMP; 10743 MEM32(ebp + (-0x4)) = 3; /* 0x2B063CFC: mov dword ptr [ebp - 4], 3 */ 10744 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D0E; /* 0x2B063D03: je 0x2b063d0e */ 10745 L_2B063D05: 10746 ecx = eax; /* 0x2B063D05: mov ecx, eax */ 10747 RECOMP_ICALL(0x2B064F40u); /* 0x2B063D07: call 0x2b064f40 */ /* not lifted */ 10748 RECOMP_FLAGS_IN(); 10749 goto L_2B063D10; /* 0x2B063D0C: jmp 0x2b063d10 */ 10750 L_2B063D0E: 10751 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10752 eax = 0; /* 0x2B063D0E: xor eax, eax */ 10753 _cf = 0; 10754 _flag_k = FK_TEST; 10755 L_2B063D10: 10756 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10757 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10758 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10759 L_2B063D1B: 10760 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10761 RECOMP_FLAGS_IN(); 10762 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10763 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10766 _flag_k = FK_CMP; 10767 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10768 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10769 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10770 L_2B063D2C: 10771 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10772 RECOMP_FLAGS_IN(); 10773 L_2B063D31: 10774 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10775 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10776 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10777 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10778 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10779 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10780 RECOMP_REGS_OUT(); 10781 } 10782 10783 void sub_2B063D10(void) { 10784 int _fpu_cmp = 0; 10785 uint32_t _cf = 0; 10786 int _df = 1; 10787 uint32_t _flag_k = FK_NONE; 10788 uint32_t _flag_a = 0, _flag_b = 0; 10789 uint32_t _itail_tgt = 0; 10790 RECOMP_REGS_LOCALS 10791 RECOMP_ENTER(0x2B063D10u); 10792 10793 L_2B063D10: 10794 ecx = eax; /* 0x2B063D10: mov ecx, eax */ 10795 MEM32(ebp + (-0x4)) = edi; /* 0x2B063D12: mov dword ptr [ebp - 4], edi */ 10796 MEM32(0x2B0EEDE8) = ecx; /* 0x2B063D15: mov dword ptr [0x2b0eede8], ecx */ 10797 RECOMP_ICALL(0x2B065A90u); /* 0x2B063D1B: call 0x2b065a90 */ /* not lifted */ 10798 RECOMP_FLAGS_IN(); 10799 ecx = MEM32(0x2B0EEDD8); /* 0x2B063D20: mov ecx, dword ptr [0x2b0eedd8] */ 10800 /* cmp ecx, ebx */ /* 0x2B063D26: cmp ecx, ebx */ 10801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 10802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10803 _flag_k = FK_CMP; 10804 edi = POP32_VAL(esp); /* 0x2B063D28: pop edi */ 10805 esi = POP32_VAL(esp); /* 0x2B063D29: pop esi */ 10806 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D31; /* 0x2B063D2A: je 0x2b063d31 */ 10807 L_2B063D2C: 10808 RECOMP_ICALL(0x2B064070u); /* 0x2B063D2C: call 0x2b064070 */ /* not lifted */ 10809 RECOMP_FLAGS_IN(); 10810 L_2B063D31: 10811 ecx = MEM32(ebp + (-0xC)); /* 0x2B063D31: mov ecx, dword ptr [ebp - 0xc] */ 10812 ebx = POP32_VAL(esp); /* 0x2B063D34: pop ebx */ 10813 MEM32(FS_BASE + (0)) = ecx; /* 0x2B063D35: mov dword ptr fs:[0], ecx */ 10814 esp = ebp; /* 0x2B063D3C: mov esp, ebp */ 10815 ebp = POP32_VAL(esp); /* 0x2B063D3E: pop ebp */ 10816 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D3F: ret */ 10817 RECOMP_REGS_OUT(); 10818 } 10819 10820 void sub_2B063D40(void) { 10821 int _fpu_cmp = 0; 10822 uint32_t _cf = 0; 10823 int _df = 1; 10824 uint32_t _flag_k = FK_NONE; 10825 uint32_t _flag_a = 0, _flag_b = 0; 10826 uint32_t _itail_tgt = 0; 10827 RECOMP_REGS_LOCALS 10828 RECOMP_ENTER(0x2B063D40u); 10829 10830 L_2B063D40: 10831 PUSH32(esp, ebp); /* 0x2B063D40: push ebp */ 10832 ebp = esp; /* 0x2B063D41: mov ebp, esp */ 10833 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10835 esp = esp - 8; /* 0x2B063D43: sub esp, 8 */ 10836 _flag_k = FK_CMP; 10837 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063D46: call dword ptr [0x2b0b5b64] */ 10838 RECOMP_FLAGS_IN(); 10839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 10840 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10841 eax = eax + 0xBCu; /* 0x2B063D4C: add eax, 0xbc */ 10842 _flag_k = FK_ADD; 10843 ecx = ebp + (-0x8); /* 0x2B063D51: lea ecx, [ebp - 8] */ 10844 /* cmp ecx, eax */ /* 0x2B063D54: cmp ecx, eax */ 10845 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10847 _flag_k = FK_CMP; 10848 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063D5F; /* 0x2B063D56: je 0x2b063d5f */ 10849 L_2B063D58: 10850 ecx = MEM32(eax); /* 0x2B063D58: mov ecx, dword ptr [eax] */ 10851 eax = MEM32(eax + 0x4); /* 0x2B063D5A: mov eax, dword ptr [eax + 4] */ 10852 goto L_2B063D65; /* 0x2B063D5D: jmp 0x2b063d65 */ 10853 L_2B063D5F: 10854 eax = MEM32(ebp + (-0x4)); /* 0x2B063D5F: mov eax, dword ptr [ebp - 4] */ 10855 ecx = MEM32(ebp + (-0x8)); /* 0x2B063D62: mov ecx, dword ptr [ebp - 8] */ 10856 L_2B063D65: 10857 PUSH32(esp, 1); /* 0x2B063D65: push 1 */ 10858 edx = ebp + (-0x8); /* 0x2B063D67: lea edx, [ebp - 8] */ 10859 PUSH32(esp, 1); /* 0x2B063D6A: push 1 */ 10860 PUSH32(esp, edx); /* 0x2B063D6C: push edx */ 10861 MEM32(ebp + (-0x8)) = ecx; /* 0x2B063D6D: mov dword ptr [ebp - 8], ecx */ 10862 MEM32(ebp + (-0x4)) = eax; /* 0x2B063D70: mov dword ptr [ebp - 4], eax */ 10863 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B063D73: call dword ptr [0x2b0b5d6c] */ 10864 RECOMP_FLAGS_IN(); 10865 ecx = eax; /* 0x2B063D79: mov ecx, eax */ 10866 RECOMP_ICALL(MEM32(0x2B0B5DC8)); /* 0x2B063D7B: call dword ptr [0x2b0b5dc8] */ 10867 RECOMP_FLAGS_IN(); 10868 /* test LO8(eax), LO8(eax) */ /* 0x2B063D81: test al, al */ 10869 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10870 _cf = 0; 10871 _flag_k = FK_NARROW(FK_TEST, 24); 10872 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063D93; /* 0x2B063D83: je 0x2b063d93 */ 10873 L_2B063D85: 10874 eax = ebp + (-0x8); /* 0x2B063D85: lea eax, [ebp - 8] */ 10875 PUSH32(esp, 0); /* 0x2B063D88: push 0 */ 10876 PUSH32(esp, eax); /* 0x2B063D8A: push eax */ 10877 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063D8B: call 0x2b0635c0 */ /* not lifted */ 10878 RECOMP_FLAGS_IN(); 10879 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10880 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10881 esp = esp + 8; /* 0x2B063D90: add esp, 8 */ 10882 _flag_k = FK_ADD; 10883 L_2B063D93: 10884 esp = ebp; /* 0x2B063D93: mov esp, ebp */ 10885 ebp = POP32_VAL(esp); /* 0x2B063D95: pop ebp */ 10886 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063D96: ret */ 10887 RECOMP_REGS_OUT(); 10888 } 10889 10890 void sub_2B063DA0(void) { 10891 int _fpu_cmp = 0; 10892 uint32_t _cf = 0; 10893 int _df = 1; 10894 uint32_t _flag_k = FK_NONE; 10895 uint32_t _flag_a = 0, _flag_b = 0; 10896 uint32_t _itail_tgt = 0; 10897 RECOMP_REGS_LOCALS 10898 RECOMP_ENTER(0x2B063DA0u); 10899 10900 L_2B063DA0: 10901 PUSH32(esp, ebp); /* 0x2B063DA0: push ebp */ 10902 ebp = esp; /* 0x2B063DA1: mov ebp, esp */ 10903 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10905 esp = esp - 8; /* 0x2B063DA3: sub esp, 8 */ 10906 _flag_k = FK_CMP; 10907 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063DA6: call dword ptr [0x2b0b5b64] */ 10908 RECOMP_FLAGS_IN(); 10909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 10910 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10911 eax = eax + 0xBCu; /* 0x2B063DAC: add eax, 0xbc */ 10912 _flag_k = FK_ADD; 10913 ecx = ebp + (-0x8); /* 0x2B063DB1: lea ecx, [ebp - 8] */ 10914 /* cmp ecx, eax */ /* 0x2B063DB4: cmp ecx, eax */ 10915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10917 _flag_k = FK_CMP; 10918 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063DBF; /* 0x2B063DB6: je 0x2b063dbf */ 10919 L_2B063DB8: 10920 ecx = MEM32(eax); /* 0x2B063DB8: mov ecx, dword ptr [eax] */ 10921 eax = MEM32(eax + 0x4); /* 0x2B063DBA: mov eax, dword ptr [eax + 4] */ 10922 goto L_2B063DC5; /* 0x2B063DBD: jmp 0x2b063dc5 */ 10923 L_2B063DBF: 10924 eax = MEM32(ebp + (-0x4)); /* 0x2B063DBF: mov eax, dword ptr [ebp - 4] */ 10925 ecx = MEM32(ebp + (-0x8)); /* 0x2B063DC2: mov ecx, dword ptr [ebp - 8] */ 10926 L_2B063DC5: 10927 PUSH32(esp, 1); /* 0x2B063DC5: push 1 */ 10928 edx = ebp + (-0x8); /* 0x2B063DC7: lea edx, [ebp - 8] */ 10929 PUSH32(esp, 0); /* 0x2B063DCA: push 0 */ 10930 PUSH32(esp, edx); /* 0x2B063DCC: push edx */ 10931 MEM32(ebp + (-0x8)) = ecx; /* 0x2B063DCD: mov dword ptr [ebp - 8], ecx */ 10932 MEM32(ebp + (-0x4)) = eax; /* 0x2B063DD0: mov dword ptr [ebp - 4], eax */ 10933 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B063DD3: call dword ptr [0x2b0b5d6c] */ 10934 RECOMP_FLAGS_IN(); 10935 ecx = eax; /* 0x2B063DD9: mov ecx, eax */ 10936 RECOMP_ICALL(MEM32(0x2B0B5DC8)); /* 0x2B063DDB: call dword ptr [0x2b0b5dc8] */ 10937 RECOMP_FLAGS_IN(); 10938 /* test LO8(eax), LO8(eax) */ /* 0x2B063DE1: test al, al */ 10939 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10940 _cf = 0; 10941 _flag_k = FK_NARROW(FK_TEST, 24); 10942 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063DF3; /* 0x2B063DE3: je 0x2b063df3 */ 10943 L_2B063DE5: 10944 eax = ebp + (-0x8); /* 0x2B063DE5: lea eax, [ebp - 8] */ 10945 PUSH32(esp, 0); /* 0x2B063DE8: push 0 */ 10946 PUSH32(esp, eax); /* 0x2B063DEA: push eax */ 10947 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063DEB: call 0x2b0635c0 */ /* not lifted */ 10948 RECOMP_FLAGS_IN(); 10949 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10950 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10951 esp = esp + 8; /* 0x2B063DF0: add esp, 8 */ 10952 _flag_k = FK_ADD; 10953 L_2B063DF3: 10954 esp = ebp; /* 0x2B063DF3: mov esp, ebp */ 10955 ebp = POP32_VAL(esp); /* 0x2B063DF5: pop ebp */ 10956 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063DF6: ret */ 10957 RECOMP_REGS_OUT(); 10958 } 10959 10960 void sub_2B063E00(void) { 10961 int _fpu_cmp = 0; 10962 uint32_t _cf = 0; 10963 int _df = 1; 10964 uint32_t _flag_k = FK_NONE; 10965 uint32_t _flag_a = 0, _flag_b = 0; 10966 uint32_t _itail_tgt = 0; 10967 RECOMP_REGS_LOCALS 10968 RECOMP_ENTER(0x2B063E00u); 10969 10970 L_2B063E00: 10971 PUSH32(esp, ebp); /* 0x2B063E00: push ebp */ 10972 ebp = esp; /* 0x2B063E01: mov ebp, esp */ 10973 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10975 esp = esp - 8; /* 0x2B063E03: sub esp, 8 */ 10976 _flag_k = FK_CMP; 10977 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063E06: call dword ptr [0x2b0b5b64] */ 10978 RECOMP_FLAGS_IN(); 10979 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 10980 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10981 eax = eax + 0xBCu; /* 0x2B063E0C: add eax, 0xbc */ 10982 _flag_k = FK_ADD; 10983 ecx = ebp + (-0x8); /* 0x2B063E11: lea ecx, [ebp - 8] */ 10984 /* cmp ecx, eax */ /* 0x2B063E14: cmp ecx, eax */ 10985 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 10986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10987 _flag_k = FK_CMP; 10988 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063E1F; /* 0x2B063E16: je 0x2b063e1f */ 10989 L_2B063E18: 10990 ecx = MEM32(eax); /* 0x2B063E18: mov ecx, dword ptr [eax] */ 10991 eax = MEM32(eax + 0x4); /* 0x2B063E1A: mov eax, dword ptr [eax + 4] */ 10992 goto L_2B063E25; /* 0x2B063E1D: jmp 0x2b063e25 */ 10993 L_2B063E1F: 10994 eax = MEM32(ebp + (-0x4)); /* 0x2B063E1F: mov eax, dword ptr [ebp - 4] */ 10995 ecx = MEM32(ebp + (-0x8)); /* 0x2B063E22: mov ecx, dword ptr [ebp - 8] */ 10996 L_2B063E25: 10997 PUSH32(esp, 0); /* 0x2B063E25: push 0 */ 10998 edx = ebp + (-0x8); /* 0x2B063E27: lea edx, [ebp - 8] */ 10999 PUSH32(esp, 1); /* 0x2B063E2A: push 1 */ 11000 PUSH32(esp, edx); /* 0x2B063E2C: push edx */ 11001 MEM32(ebp + (-0x8)) = ecx; /* 0x2B063E2D: mov dword ptr [ebp - 8], ecx */ 11002 MEM32(ebp + (-0x4)) = eax; /* 0x2B063E30: mov dword ptr [ebp - 4], eax */ 11003 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B063E33: call dword ptr [0x2b0b5d6c] */ 11004 RECOMP_FLAGS_IN(); 11005 ecx = eax; /* 0x2B063E39: mov ecx, eax */ 11006 RECOMP_ICALL(MEM32(0x2B0B5DC8)); /* 0x2B063E3B: call dword ptr [0x2b0b5dc8] */ 11007 RECOMP_FLAGS_IN(); 11008 /* test LO8(eax), LO8(eax) */ /* 0x2B063E41: test al, al */ 11009 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11010 _cf = 0; 11011 _flag_k = FK_NARROW(FK_TEST, 24); 11012 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063E53; /* 0x2B063E43: je 0x2b063e53 */ 11013 L_2B063E45: 11014 eax = ebp + (-0x8); /* 0x2B063E45: lea eax, [ebp - 8] */ 11015 PUSH32(esp, 0); /* 0x2B063E48: push 0 */ 11016 PUSH32(esp, eax); /* 0x2B063E4A: push eax */ 11017 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063E4B: call 0x2b0635c0 */ /* not lifted */ 11018 RECOMP_FLAGS_IN(); 11019 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11020 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11021 esp = esp + 8; /* 0x2B063E50: add esp, 8 */ 11022 _flag_k = FK_ADD; 11023 L_2B063E53: 11024 esp = ebp; /* 0x2B063E53: mov esp, ebp */ 11025 ebp = POP32_VAL(esp); /* 0x2B063E55: pop ebp */ 11026 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063E56: ret */ 11027 RECOMP_REGS_OUT(); 11028 } 11029 11030 void sub_2B063E60(void) { 11031 int _fpu_cmp = 0; 11032 uint32_t _cf = 0; 11033 int _df = 1; 11034 uint32_t _flag_k = FK_NONE; 11035 uint32_t _flag_a = 0, _flag_b = 0; 11036 uint32_t _itail_tgt = 0; 11037 RECOMP_REGS_LOCALS 11038 RECOMP_ENTER(0x2B063E60u); 11039 11040 L_2B063E60: 11041 PUSH32(esp, ebp); /* 0x2B063E60: push ebp */ 11042 ebp = esp; /* 0x2B063E61: mov ebp, esp */ 11043 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11045 esp = esp - 8; /* 0x2B063E63: sub esp, 8 */ 11046 _flag_k = FK_CMP; 11047 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063E66: call dword ptr [0x2b0b5b64] */ 11048 RECOMP_FLAGS_IN(); 11049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 11050 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11051 eax = eax + 0xBCu; /* 0x2B063E6C: add eax, 0xbc */ 11052 _flag_k = FK_ADD; 11053 ecx = ebp + (-0x8); /* 0x2B063E71: lea ecx, [ebp - 8] */ 11054 /* cmp ecx, eax */ /* 0x2B063E74: cmp ecx, eax */ 11055 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11057 _flag_k = FK_CMP; 11058 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063E7F; /* 0x2B063E76: je 0x2b063e7f */ 11059 L_2B063E78: 11060 ecx = MEM32(eax); /* 0x2B063E78: mov ecx, dword ptr [eax] */ 11061 eax = MEM32(eax + 0x4); /* 0x2B063E7A: mov eax, dword ptr [eax + 4] */ 11062 goto L_2B063E85; /* 0x2B063E7D: jmp 0x2b063e85 */ 11063 L_2B063E7F: 11064 eax = MEM32(ebp + (-0x4)); /* 0x2B063E7F: mov eax, dword ptr [ebp - 4] */ 11065 ecx = MEM32(ebp + (-0x8)); /* 0x2B063E82: mov ecx, dword ptr [ebp - 8] */ 11066 L_2B063E85: 11067 PUSH32(esp, 0); /* 0x2B063E85: push 0 */ 11068 edx = ebp + (-0x8); /* 0x2B063E87: lea edx, [ebp - 8] */ 11069 PUSH32(esp, 0); /* 0x2B063E8A: push 0 */ 11070 PUSH32(esp, edx); /* 0x2B063E8C: push edx */ 11071 MEM32(ebp + (-0x8)) = ecx; /* 0x2B063E8D: mov dword ptr [ebp - 8], ecx */ 11072 MEM32(ebp + (-0x4)) = eax; /* 0x2B063E90: mov dword ptr [ebp - 4], eax */ 11073 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B063E93: call dword ptr [0x2b0b5d6c] */ 11074 RECOMP_FLAGS_IN(); 11075 ecx = eax; /* 0x2B063E99: mov ecx, eax */ 11076 RECOMP_ICALL(MEM32(0x2B0B5DC8)); /* 0x2B063E9B: call dword ptr [0x2b0b5dc8] */ 11077 RECOMP_FLAGS_IN(); 11078 /* test LO8(eax), LO8(eax) */ /* 0x2B063EA1: test al, al */ 11079 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11080 _cf = 0; 11081 _flag_k = FK_NARROW(FK_TEST, 24); 11082 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063EB3; /* 0x2B063EA3: je 0x2b063eb3 */ 11083 L_2B063EA5: 11084 eax = ebp + (-0x8); /* 0x2B063EA5: lea eax, [ebp - 8] */ 11085 PUSH32(esp, 0); /* 0x2B063EA8: push 0 */ 11086 PUSH32(esp, eax); /* 0x2B063EAA: push eax */ 11087 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063EAB: call 0x2b0635c0 */ /* not lifted */ 11088 RECOMP_FLAGS_IN(); 11089 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11090 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11091 esp = esp + 8; /* 0x2B063EB0: add esp, 8 */ 11092 _flag_k = FK_ADD; 11093 L_2B063EB3: 11094 esp = ebp; /* 0x2B063EB3: mov esp, ebp */ 11095 ebp = POP32_VAL(esp); /* 0x2B063EB5: pop ebp */ 11096 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063EB6: ret */ 11097 RECOMP_REGS_OUT(); 11098 } 11099 11100 void sub_2B063EC0(void) { 11101 int _fpu_cmp = 0; 11102 uint32_t _cf = 0; 11103 int _df = 1; 11104 uint32_t _flag_k = FK_NONE; 11105 uint32_t _flag_a = 0, _flag_b = 0; 11106 uint32_t _itail_tgt = 0; 11107 RECOMP_REGS_LOCALS 11108 RECOMP_ENTER(0x2B063EC0u); 11109 11110 L_2B063EC0: 11111 PUSH32(esp, ebp); /* 0x2B063EC0: push ebp */ 11112 ebp = esp; /* 0x2B063EC1: mov ebp, esp */ 11113 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11115 esp = esp - 8; /* 0x2B063EC3: sub esp, 8 */ 11116 _flag_k = FK_CMP; 11117 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063EC6: call dword ptr [0x2b0b5b64] */ 11118 RECOMP_FLAGS_IN(); 11119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 11120 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11121 eax = eax + 0xBCu; /* 0x2B063ECC: add eax, 0xbc */ 11122 _flag_k = FK_ADD; 11123 ecx = ebp + (-0x8); /* 0x2B063ED1: lea ecx, [ebp - 8] */ 11124 /* cmp ecx, eax */ /* 0x2B063ED4: cmp ecx, eax */ 11125 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11127 _flag_k = FK_CMP; 11128 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063EE3; /* 0x2B063ED6: je 0x2b063ee3 */ 11129 L_2B063ED8: 11130 edx = MEM32(eax); /* 0x2B063ED8: mov edx, dword ptr [eax] */ 11131 MEM32(ebp + (-0x8)) = edx; /* 0x2B063EDA: mov dword ptr [ebp - 8], edx */ 11132 eax = MEM32(eax + 0x4); /* 0x2B063EDD: mov eax, dword ptr [eax + 4] */ 11133 MEM32(ebp + (-0x4)) = eax; /* 0x2B063EE0: mov dword ptr [ebp - 4], eax */ 11134 L_2B063EE3: 11135 ecx = ebp + (-0x8); /* 0x2B063EE3: lea ecx, [ebp - 8] */ 11136 PUSH32(esp, 0); /* 0x2B063EE6: push 0 */ 11137 PUSH32(esp, ecx); /* 0x2B063EE8: push ecx */ 11138 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063EE9: call 0x2b0635c0 */ /* not lifted */ 11139 RECOMP_FLAGS_IN(); 11140 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11142 esp = esp + 8; /* 0x2B063EEE: add esp, 8 */ 11143 _flag_k = FK_ADD; 11144 esp = ebp; /* 0x2B063EF1: mov esp, ebp */ 11145 ebp = POP32_VAL(esp); /* 0x2B063EF3: pop ebp */ 11146 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063EF4: ret */ 11147 RECOMP_REGS_OUT(); 11148 } 11149 11150 void sub_2B063F00(void) { 11151 int _fpu_cmp = 0; 11152 uint32_t _cf = 0; 11153 int _df = 1; 11154 uint32_t _flag_k = FK_NONE; 11155 uint32_t _flag_a = 0, _flag_b = 0; 11156 uint32_t _itail_tgt = 0; 11157 RECOMP_REGS_LOCALS 11158 RECOMP_ENTER(0x2B063F00u); 11159 11160 L_2B063F00: 11161 PUSH32(esp, ebp); /* 0x2B063F00: push ebp */ 11162 ebp = esp; /* 0x2B063F01: mov ebp, esp */ 11163 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11165 esp = esp - 8; /* 0x2B063F03: sub esp, 8 */ 11166 _flag_k = FK_CMP; 11167 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11168 eax = 0; /* 0x2B063F06: xor eax, eax */ 11169 _cf = 0; 11170 _flag_k = FK_TEST; 11171 MEM32(ebp + (-0x8)) = eax; /* 0x2B063F08: mov dword ptr [ebp - 8], eax */ 11172 MEM32(ebp + (-0x4)) = eax; /* 0x2B063F0B: mov dword ptr [ebp - 4], eax */ 11173 eax = ebp + (-0x8); /* 0x2B063F0E: lea eax, [ebp - 8] */ 11174 PUSH32(esp, eax); /* 0x2B063F11: push eax */ 11175 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B063F12: call dword ptr [0x2b0b53cc] */ 11176 RECOMP_FLAGS_IN(); 11177 ecx = eax; /* 0x2B063F18: mov ecx, eax */ 11178 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B063F1A: call dword ptr [0x2b0b53ac] */ 11179 RECOMP_FLAGS_IN(); 11180 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B063F20: call dword ptr [0x2b0b5b64] */ 11181 RECOMP_FLAGS_IN(); 11182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 11183 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11184 eax = eax + 0xBCu; /* 0x2B063F26: add eax, 0xbc */ 11185 _flag_k = FK_ADD; 11186 ecx = ebp + (-0x8); /* 0x2B063F2B: lea ecx, [ebp - 8] */ 11187 /* cmp ecx, eax */ /* 0x2B063F2E: cmp ecx, eax */ 11188 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11190 _flag_k = FK_CMP; 11191 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B063F39; /* 0x2B063F30: je 0x2b063f39 */ 11192 L_2B063F32: 11193 ecx = MEM32(eax); /* 0x2B063F32: mov ecx, dword ptr [eax] */ 11194 eax = MEM32(eax + 0x4); /* 0x2B063F34: mov eax, dword ptr [eax + 4] */ 11195 goto L_2B063F3F; /* 0x2B063F37: jmp 0x2b063f3f */ 11196 L_2B063F39: 11197 eax = MEM32(ebp + (-0x4)); /* 0x2B063F39: mov eax, dword ptr [ebp - 4] */ 11198 ecx = MEM32(ebp + (-0x8)); /* 0x2B063F3C: mov ecx, dword ptr [ebp - 8] */ 11199 L_2B063F3F: 11200 /* cmp MEM32(ebp + (-0x4)), eax */ /* 0x2B063F3F: cmp dword ptr [ebp - 4], eax */ 11201 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(eax); 11202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11203 _flag_k = FK_CMP; 11204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063F5E; /* 0x2B063F42: jne 0x2b063f5e */ 11205 L_2B063F44: 11206 /* cmp MEM32(ebp + (-0x8)), ecx */ /* 0x2B063F44: cmp dword ptr [ebp - 8], ecx */ 11207 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(ecx); 11208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11209 _flag_k = FK_CMP; 11210 if (CMP_NE(_flag_a, _flag_b)) goto L_2B063F5E; /* 0x2B063F47: jne 0x2b063f5e */ 11211 L_2B063F49: 11212 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11213 edx = 0; /* 0x2B063F49: xor edx, edx */ 11214 _cf = 0; 11215 _flag_k = FK_TEST; 11216 SET_LO8(edx, MEM8(0x2B0EEDE4)); /* 0x2B063F4B: mov dl, byte ptr [0x2b0eede4] */ 11217 eax = ebp + (-0x8); /* 0x2B063F51: lea eax, [ebp - 8] */ 11218 PUSH32(esp, edx); /* 0x2B063F54: push edx */ 11219 PUSH32(esp, eax); /* 0x2B063F55: push eax */ 11220 RECOMP_ICALL(0x2B0635C0u); /* 0x2B063F56: call 0x2b0635c0 */ /* not lifted */ 11221 RECOMP_FLAGS_IN(); 11222 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11223 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11224 esp = esp + 8; /* 0x2B063F5B: add esp, 8 */ 11225 _flag_k = FK_ADD; 11226 L_2B063F5E: 11227 esp = ebp; /* 0x2B063F5E: mov esp, ebp */ 11228 ebp = POP32_VAL(esp); /* 0x2B063F60: pop ebp */ 11229 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B063F61: ret */ 11230 RECOMP_REGS_OUT(); 11231 } 11232 11233 void sub_2B063F70(void) { 11234 int _fpu_cmp = 0; 11235 uint32_t _cf = 0; 11236 int _df = 1; 11237 uint32_t _flag_k = FK_NONE; 11238 uint32_t _flag_a = 0, _flag_b = 0; 11239 uint32_t _itail_tgt = 0; 11240 RECOMP_REGS_LOCALS 11241 RECOMP_ENTER(0x2B063F70u); 11242 11243 L_2B063F70: 11244 PUSH32(esp, ebp); /* 0x2B063F70: push ebp */ 11245 ebp = esp; /* 0x2B063F71: mov ebp, esp */ 11246 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11248 esp = esp - 0xCu; /* 0x2B063F73: sub esp, 0xc */ 11249 _flag_k = FK_CMP; 11250 eax = MEM32(0x2B0EEDD8); /* 0x2B063F76: mov eax, dword ptr [0x2b0eedd8] */ 11251 /* test eax, eax */ /* 0x2B063F7B: test eax, eax */ 11252 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11253 _cf = 0; 11254 _flag_k = FK_TEST; 11255 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064062; /* 0x2B063F7D: je 0x2b064062 */ 11256 L_2B063F83: 11257 /* cmp MEM32(eax), 0 */ /* 0x2B063F83: cmp dword ptr [eax], 0 */ 11258 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0); 11259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11260 _flag_k = FK_CMP; 11261 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064062; /* 0x2B063F86: je 0x2b064062 */ 11262 L_2B063F8C: 11263 eax = ebp + (-0xC); /* 0x2B063F8C: lea eax, [ebp - 0xc] */ 11264 PUSH32(esp, esi); /* 0x2B063F8F: push esi */ 11265 PUSH32(esp, eax); /* 0x2B063F90: push eax */ 11266 MEM32(ebp + (-0xC)) = 0; /* 0x2B063F91: mov dword ptr [ebp - 0xc], 0 */ 11267 MEM32(ebp + (-0x8)) = 0; /* 0x2B063F98: mov dword ptr [ebp - 8], 0 */ 11268 RECOMP_ICALL(MEM32(0x2B0B53CC)); /* 0x2B063F9F: call dword ptr [0x2b0b53cc] */ 11269 RECOMP_FLAGS_IN(); 11270 ecx = eax; /* 0x2B063FA5: mov ecx, eax */ 11271 RECOMP_ICALL(MEM32(0x2B0B53AC)); /* 0x2B063FA7: call dword ptr [0x2b0b53ac] */ 11272 RECOMP_FLAGS_IN(); 11273 ecx = MEM32(0x2B0EEDD8); /* 0x2B063FAD: mov ecx, dword ptr [0x2b0eedd8] */ 11274 ecx = MEM32(ecx); /* 0x2B063FB3: mov ecx, dword ptr [ecx] */ 11275 edx = ebp + (-0xC); /* 0x2B063FB5: lea edx, [ebp - 0xc] */ 11276 PUSH32(esp, edx); /* 0x2B063FB8: push edx */ 11277 eax = ebp + (-0x4); /* 0x2B063FB9: lea eax, [ebp - 4] */ 11278 PUSH32(esp, eax); /* 0x2B063FBC: push eax */ 11279 RECOMP_ICALL(0x2B064B80u); /* 0x2B063FBD: call 0x2b064b80 */ /* not lifted */ 11280 RECOMP_FLAGS_IN(); 11281 ecx = MEM32(0x2B0EEDD8); /* 0x2B063FC2: mov ecx, dword ptr [0x2b0eedd8] */ 11282 esi = MEM32(eax); /* 0x2B063FC8: mov esi, dword ptr [eax] */ 11283 edx = MEM32(ecx); /* 0x2B063FCA: mov edx, dword ptr [ecx] */ 11284 /* cmp esi, MEM32(edx + 0x4) */ /* 0x2B063FCC: cmp esi, dword ptr [edx + 4] */ 11285 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11287 _flag_k = FK_CMP; 11288 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064033; /* 0x2B063FCF: je 0x2b064033 */ 11289 L_2B063FD1: 11290 PUSH32(esp, edi); /* 0x2B063FD1: push edi */ 11291 edi = MEM32(esi + 0x18); /* 0x2B063FD2: mov edi, dword ptr [esi + 0x18] */ 11292 /* test edi, edi */ /* 0x2B063FD5: test edi, edi */ 11293 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11294 _cf = 0; 11295 _flag_k = FK_TEST; 11296 if (TEST_Z(_flag_a, _flag_b)) goto L_2B063FE9; /* 0x2B063FD7: je 0x2b063fe9 */ 11297 L_2B063FD9: 11298 ecx = edi; /* 0x2B063FD9: mov ecx, edi */ 11299 RECOMP_ICALL(0x2B062F80u); /* 0x2B063FDB: call 0x2b062f80 */ /* not lifted */ 11300 RECOMP_FLAGS_IN(); 11301 PUSH32(esp, edi); /* 0x2B063FE0: push edi */ 11302 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B063FE1: call 0x2b0ab1ba */ /* not lifted */ 11303 RECOMP_FLAGS_IN(); 11304 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11305 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11306 esp = esp + 4; /* 0x2B063FE6: add esp, 4 */ 11307 _flag_k = FK_ADD; 11308 L_2B063FE9: 11309 MEM32(esi + 0x18) = 0; /* 0x2B063FE9: mov dword ptr [esi + 0x18], 0 */ 11310 eax = MEM32(esi + 0x8); /* 0x2B063FF0: mov eax, dword ptr [esi + 8] */ 11311 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B063FF3: mov cl, byte ptr [eax + 0x1d] */ 11312 /* test LO8(ecx), LO8(ecx) */ /* 0x2B063FF6: test cl, cl */ 11313 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11314 _cf = 0; 11315 _flag_k = FK_NARROW(FK_TEST, 24); 11316 edi = POP32_VAL(esp); /* 0x2B063FF8: pop edi */ 11317 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06400F; /* 0x2B063FF9: jne 0x2b06400f */ 11318 L_2B063FFB: 11319 eax = MEM32(eax); /* 0x2B063FFB: mov eax, dword ptr [eax] */ 11320 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B063FFD: mov cl, byte ptr [eax + 0x1d] */ 11321 /* test LO8(ecx), LO8(ecx) */ /* 0x2B064000: test cl, cl */ 11322 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11323 _cf = 0; 11324 _flag_k = FK_NARROW(FK_TEST, 24); 11325 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064021; /* 0x2B064002: jne 0x2b064021 */ 11326 L_2B064004: 11327 eax = MEM32(eax); /* 0x2B064004: mov eax, dword ptr [eax] */ 11328 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B064006: mov cl, byte ptr [eax + 0x1d] */ 11329 /* test LO8(ecx), LO8(ecx) */ /* 0x2B064009: test cl, cl */ 11330 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11331 _cf = 0; 11332 _flag_k = FK_NARROW(FK_TEST, 24); 11333 RECOMP_BACKEDGE(); 11334 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064004; /* 0x2B06400B: je 0x2b064004 */ 11335 L_2B06400D: 11336 goto L_2B064021; /* 0x2B06400D: jmp 0x2b064021 */ 11337 L_2B06400F: 11338 eax = MEM32(esi + 0x4); /* 0x2B06400F: mov eax, dword ptr [esi + 4] */ 11339 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B064012: cmp esi, dword ptr [eax + 8] */ 11340 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11342 _flag_k = FK_CMP; 11343 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064021; /* 0x2B064015: jne 0x2b064021 */ 11344 L_2B064017: 11345 ecx = eax; /* 0x2B064017: mov ecx, eax */ 11346 eax = MEM32(eax + 0x4); /* 0x2B064019: mov eax, dword ptr [eax + 4] */ 11347 /* cmp ecx, MEM32(eax + 0x8) */ /* 0x2B06401C: cmp ecx, dword ptr [eax + 8] */ 11348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11350 _flag_k = FK_CMP; 11351 RECOMP_BACKEDGE(); 11352 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064017; /* 0x2B06401F: je 0x2b064017 */ 11353 L_2B064021: 11354 ecx = MEM32(0x2B0EEDD8); /* 0x2B064021: mov ecx, dword ptr [0x2b0eedd8] */ 11355 ecx = MEM32(ecx); /* 0x2B064027: mov ecx, dword ptr [ecx] */ 11356 PUSH32(esp, esi); /* 0x2B064029: push esi */ 11357 eax = ebp + (-0x4); /* 0x2B06402A: lea eax, [ebp - 4] */ 11358 PUSH32(esp, eax); /* 0x2B06402D: push eax */ 11359 RECOMP_ICALL(0x2B0647C0u); /* 0x2B06402E: call 0x2b0647c0 */ /* not lifted */ 11360 RECOMP_FLAGS_IN(); 11361 L_2B064033: 11362 RECOMP_ICALL(MEM32(0x2B0B5B64)); /* 0x2B064033: call dword ptr [0x2b0b5b64] */ 11363 RECOMP_FLAGS_IN(); 11364 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xBCu); 11365 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11366 eax = eax + 0xBCu; /* 0x2B064039: add eax, 0xbc */ 11367 _flag_k = FK_ADD; 11368 edx = ebp + (-0xC); /* 0x2B06403E: lea edx, [ebp - 0xc] */ 11369 /* cmp edx, eax */ /* 0x2B064041: cmp edx, eax */ 11370 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11372 _flag_k = FK_CMP; 11373 esi = POP32_VAL(esp); /* 0x2B064043: pop esi */ 11374 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06404D; /* 0x2B064044: je 0x2b06404d */ 11375 L_2B064046: 11376 ecx = MEM32(eax); /* 0x2B064046: mov ecx, dword ptr [eax] */ 11377 eax = MEM32(eax + 0x4); /* 0x2B064048: mov eax, dword ptr [eax + 4] */ 11378 goto L_2B064053; /* 0x2B06404B: jmp 0x2b064053 */ 11379 L_2B06404D: 11380 eax = MEM32(ebp + (-0x8)); /* 0x2B06404D: mov eax, dword ptr [ebp - 8] */ 11381 ecx = MEM32(ebp + (-0xC)); /* 0x2B064050: mov ecx, dword ptr [ebp - 0xc] */ 11382 L_2B064053: 11383 /* cmp MEM32(ebp + (-0x8)), eax */ /* 0x2B064053: cmp dword ptr [ebp - 8], eax */ 11384 _flag_a = (uint32_t)(MEM32(ebp + (-0x8))); _flag_b = (uint32_t)(eax); 11385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11386 _flag_k = FK_CMP; 11387 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064062; /* 0x2B064056: jne 0x2b064062 */ 11388 L_2B064058: 11389 /* cmp MEM32(ebp + (-0xC)), ecx */ /* 0x2B064058: cmp dword ptr [ebp - 0xc], ecx */ 11390 _flag_a = (uint32_t)(MEM32(ebp + (-0xC))); _flag_b = (uint32_t)(ecx); 11391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11392 _flag_k = FK_CMP; 11393 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064062; /* 0x2B06405B: jne 0x2b064062 */ 11394 L_2B06405D: 11395 RECOMP_ICALL(0x2B063EC0u); /* 0x2B06405D: call 0x2b063ec0 */ /* not lifted */ 11396 RECOMP_FLAGS_IN(); 11397 L_2B064062: 11398 esp = ebp; /* 0x2B064062: mov esp, ebp */ 11399 ebp = POP32_VAL(esp); /* 0x2B064064: pop ebp */ 11400 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064065: ret */ 11401 RECOMP_REGS_OUT(); 11402 } 11403 11404 void sub_2B064070(void) { 11405 int _fpu_cmp = 0; 11406 uint32_t _cf = 0; 11407 int _df = 1; 11408 uint32_t _flag_k = FK_NONE; 11409 uint32_t _flag_a = 0, _flag_b = 0; 11410 uint32_t _itail_tgt = 0; 11411 RECOMP_REGS_LOCALS 11412 RECOMP_ENTER(0x2B064070u); 11413 11414 L_2B064070: 11415 PUSH32(esp, ebp); /* 0x2B064070: push ebp */ 11416 ebp = esp; /* 0x2B064071: mov ebp, esp */ 11417 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B064073: push -1 */ 11418 PUSH32(esp, 0x2B0B09E3u); /* 0x2B064075: push 0x2b0b09e3 */ 11419 eax = MEM32(FS_BASE + (0)); /* 0x2B06407A: mov eax, dword ptr fs:[0] */ 11420 PUSH32(esp, eax); /* 0x2B064080: push eax */ 11421 MEM32(FS_BASE + (0)) = esp; /* 0x2B064081: mov dword ptr fs:[0], esp */ 11422 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x4Cu); 11423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11424 esp = esp - 0x4Cu; /* 0x2B064088: sub esp, 0x4c */ 11425 _flag_k = FK_CMP; 11426 PUSH32(esp, ebx); /* 0x2B06408B: push ebx */ 11427 PUSH32(esp, esi); /* 0x2B06408C: push esi */ 11428 ebx = ecx; /* 0x2B06408D: mov ebx, ecx */ 11429 ecx = MEM32(ebx); /* 0x2B06408F: mov ecx, dword ptr [ebx] */ 11430 PUSH32(esp, edi); /* 0x2B064091: push edi */ 11431 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11432 edi = 0; /* 0x2B064092: xor edi, edi */ 11433 _cf = 0; 11434 _flag_k = FK_TEST; 11435 /* cmp ecx, edi */ /* 0x2B064094: cmp ecx, edi */ 11436 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 11437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11438 _flag_k = FK_CMP; 11439 MEM32(ebp + (-0x18)) = ebx; /* 0x2B064096: mov dword ptr [ebp - 0x18], ebx */ 11440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06434B; /* 0x2B064099: je 0x2b06434b */ 11441 L_2B06409F: 11442 eax = MEM32(ecx + 0x4); /* 0x2B06409F: mov eax, dword ptr [ecx + 4] */ 11443 eax = MEM32(eax); /* 0x2B0640A2: mov eax, dword ptr [eax] */ 11444 MEM32(ebp + (-0x14)) = eax; /* 0x2B0640A4: mov dword ptr [ebp - 0x14], eax */ 11445 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0640A7: cmp eax, dword ptr [ecx + 4] */ 11446 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11448 _flag_k = FK_CMP; 11449 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064106; /* 0x2B0640AA: je 0x2b064106 */ 11450 L_2B0640AC: 11451 ecx = MEM32(eax + 0x18); /* 0x2B0640AC: mov ecx, dword ptr [eax + 0x18] */ 11452 esi = eax + 0x18; /* 0x2B0640AF: lea esi, [eax + 0x18] */ 11453 RECOMP_ICALL(0x2B062FD0u); /* 0x2B0640B2: call 0x2b062fd0 */ /* not lifted */ 11454 RECOMP_FLAGS_IN(); 11455 /* cmp eax, edi */ /* 0x2B0640B7: cmp eax, edi */ 11456 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11458 _flag_k = FK_CMP; 11459 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0640F2; /* 0x2B0640B9: jne 0x2b0640f2 */ 11460 L_2B0640BB: 11461 edi = MEM32(esi); /* 0x2B0640BB: mov edi, dword ptr [esi] */ 11462 /* test edi, edi */ /* 0x2B0640BD: test edi, edi */ 11463 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11464 _cf = 0; 11465 _flag_k = FK_TEST; 11466 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0640D1; /* 0x2B0640BF: je 0x2b0640d1 */ 11467 L_2B0640C1: 11468 ecx = edi; /* 0x2B0640C1: mov ecx, edi */ 11469 RECOMP_ICALL(0x2B062F80u); /* 0x2B0640C3: call 0x2b062f80 */ /* not lifted */ 11470 RECOMP_FLAGS_IN(); 11471 PUSH32(esp, edi); /* 0x2B0640C8: push edi */ 11472 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0640C9: call 0x2b0ab1ba */ /* not lifted */ 11473 RECOMP_FLAGS_IN(); 11474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11476 esp = esp + 4; /* 0x2B0640CE: add esp, 4 */ 11477 _flag_k = FK_ADD; 11478 L_2B0640D1: 11479 MEM32(esi) = 0; /* 0x2B0640D1: mov dword ptr [esi], 0 */ 11480 esi = MEM32(ebp + (-0x14)); /* 0x2B0640D7: mov esi, dword ptr [ebp - 0x14] */ 11481 ecx = ebp + (-0x14); /* 0x2B0640DA: lea ecx, [ebp - 0x14] */ 11482 RECOMP_ICALL(0x2B064C10u); /* 0x2B0640DD: call 0x2b064c10 */ /* not lifted */ 11483 RECOMP_FLAGS_IN(); 11484 ecx = MEM32(ebx); /* 0x2B0640E2: mov ecx, dword ptr [ebx] */ 11485 PUSH32(esp, esi); /* 0x2B0640E4: push esi */ 11486 eax = ebp + (-0x1C); /* 0x2B0640E5: lea eax, [ebp - 0x1c] */ 11487 PUSH32(esp, eax); /* 0x2B0640E8: push eax */ 11488 RECOMP_ICALL(0x2B0647C0u); /* 0x2B0640E9: call 0x2b0647c0 */ /* not lifted */ 11489 RECOMP_FLAGS_IN(); 11490 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11491 edi = 0; /* 0x2B0640EE: xor edi, edi */ 11492 _cf = 0; 11493 _flag_k = FK_TEST; 11494 goto L_2B0640FA; /* 0x2B0640F0: jmp 0x2b0640fa */ 11495 L_2B0640F2: 11496 ecx = ebp + (-0x14); /* 0x2B0640F2: lea ecx, [ebp - 0x14] */ 11497 RECOMP_ICALL(0x2B064C10u); /* 0x2B0640F5: call 0x2b064c10 */ /* not lifted */ 11498 RECOMP_FLAGS_IN(); 11499 L_2B0640FA: 11500 eax = MEM32(ebx); /* 0x2B0640FA: mov eax, dword ptr [ebx] */ 11501 ecx = MEM32(eax + 0x4); /* 0x2B0640FC: mov ecx, dword ptr [eax + 4] */ 11502 eax = MEM32(ebp + (-0x14)); /* 0x2B0640FF: mov eax, dword ptr [ebp - 0x14] */ 11503 /* cmp eax, ecx */ /* 0x2B064102: cmp eax, ecx */ 11504 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11506 _flag_k = FK_CMP; 11507 RECOMP_BACKEDGE(); 11508 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0640AC; /* 0x2B064104: jne 0x2b0640ac */ 11509 L_2B064106: 11510 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B064106: call dword ptr [0x2b0b53bc] */ 11511 RECOMP_FLAGS_IN(); 11512 ecx = MEM32(eax + 0x14); /* 0x2B06410C: mov ecx, dword ptr [eax + 0x14] */ 11513 fp_push(*(float*)&MEM32(ecx)); /* 0x2B06410F: fld dword ptr [ecx] */ 11514 _st[0] += (double)*(float*)ADDR(ebx + 0x4); /* 0x2B064111: fadd dword ptr [ebx + 4] */ 11515 { float _v = (float)_st[0]; *(float*)ADDR(ebx + 0x4) = _v; } /* 0x2B064114: fst dword ptr [ebx + 4] */ 11516 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B6D18)); /* 0x2B064117: fcomp dword ptr [0x2b0b6d18] */ 11517 fp_pop(); 11518 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B06411D: fnstsw ax */ 11519 /* test HI8(eax), 1 */ /* 0x2B06411F: test ah, 1 */ 11520 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 11521 _cf = 0; 11522 _flag_k = FK_NARROW(FK_TEST, 24); 11523 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06434B; /* 0x2B064122: jne 0x2b06434b */ 11524 L_2B064128: 11525 eax = MEM32(ebx); /* 0x2B064128: mov eax, dword ptr [ebx] */ 11526 MEM32(ebx + 0x4) = edi; /* 0x2B06412A: mov dword ptr [ebx + 4], edi */ 11527 ecx = MEM32(eax + 0x4); /* 0x2B06412D: mov ecx, dword ptr [eax + 4] */ 11528 ecx = MEM32(ecx); /* 0x2B064130: mov ecx, dword ptr [ecx] */ 11529 MEM32(ebp + (-0x14)) = ecx; /* 0x2B064132: mov dword ptr [ebp - 0x14], ecx */ 11530 esi = MEM32(eax + 0x4); /* 0x2B064135: mov esi, dword ptr [eax + 4] */ 11531 /* cmp ecx, esi */ /* 0x2B064138: cmp ecx, esi */ 11532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11534 _flag_k = FK_CMP; 11535 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06414F; /* 0x2B06413A: je 0x2b06414f */ 11536 L_2B06413C: 11537 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x2B06413C: mov byte ptr [ecx + 0x14], 0 */ 11538 ecx = ebp + (-0x14); /* 0x2B064140: lea ecx, [ebp - 0x14] */ 11539 RECOMP_ICALL(0x2B064C10u); /* 0x2B064143: call 0x2b064c10 */ /* not lifted */ 11540 RECOMP_FLAGS_IN(); 11541 ecx = MEM32(ebp + (-0x14)); /* 0x2B064148: mov ecx, dword ptr [ebp - 0x14] */ 11542 /* cmp ecx, esi */ /* 0x2B06414B: cmp ecx, esi */ 11543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 11544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11545 _flag_k = FK_CMP; 11546 RECOMP_BACKEDGE(); 11547 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06413C; /* 0x2B06414D: jne 0x2b06413c */ 11548 L_2B06414F: 11549 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B06414F: mov dl, byte ptr [ebp - 0xd] */ 11550 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(edx)); /* 0x2B064152: mov byte ptr [ebp - 0x48], dl */ 11551 MEM32(ebp + (-0x44)) = edi; /* 0x2B064155: mov dword ptr [ebp - 0x44], edi */ 11552 MEM32(ebp + (-0x40)) = edi; /* 0x2B064158: mov dword ptr [ebp - 0x40], edi */ 11553 MEM32(ebp + (-0x3C)) = edi; /* 0x2B06415B: mov dword ptr [ebp - 0x3c], edi */ 11554 PUSH32(esp, edi); /* 0x2B06415E: push edi */ 11555 eax = ebp + (-0x48); /* 0x2B06415F: lea eax, [ebp - 0x48] */ 11556 PUSH32(esp, edi); /* 0x2B064162: push edi */ 11557 PUSH32(esp, eax); /* 0x2B064163: push eax */ 11558 MEM32(ebp + (-0x4)) = edi; /* 0x2B064164: mov dword ptr [ebp - 4], edi */ 11559 RECOMP_ICALL(MEM32(0x2B0B5D6C)); /* 0x2B064167: call dword ptr [0x2b0b5d6c] */ 11560 RECOMP_FLAGS_IN(); 11561 ecx = eax; /* 0x2B06416D: mov ecx, eax */ 11562 RECOMP_ICALL(MEM32(0x2B0B5DC4)); /* 0x2B06416F: call dword ptr [0x2b0b5dc4] */ 11563 RECOMP_FLAGS_IN(); 11564 eax = MEM32(ebp + (-0x40)); /* 0x2B064175: mov eax, dword ptr [ebp - 0x40] */ 11565 edi = MEM32(ebp + (-0x44)); /* 0x2B064178: mov edi, dword ptr [ebp - 0x44] */ 11566 /* cmp edi, eax */ /* 0x2B06417B: cmp edi, eax */ 11567 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 11568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11569 _flag_k = FK_CMP; 11570 MEM32(ebp + (-0x14)) = eax; /* 0x2B06417D: mov dword ptr [ebp - 0x14], eax */ 11571 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06426E; /* 0x2B064180: je 0x2b06426e */ 11572 L_2B064186: 11573 eax = MEM32(0x2B0EEDDC); /* 0x2B064186: mov eax, dword ptr [0x2b0eeddc] */ 11574 ecx = MEM32(0x2B0EEDE0); /* 0x2B06418B: mov ecx, dword ptr [0x2b0eede0] */ 11575 SET_LO8(ebx, 1); /* 0x2B064191: mov bl, 1 */ 11576 L_2B064193: 11577 /* test eax, eax */ /* 0x2B064193: test eax, eax */ 11578 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11579 _cf = 0; 11580 _flag_k = FK_TEST; 11581 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0641BC; /* 0x2B064195: je 0x2b0641bc */ 11582 L_2B064197: 11583 edx = ebp + (-0x28); /* 0x2B064197: lea edx, [ebp - 0x28] */ 11584 /* cmp edx, eax */ /* 0x2B06419A: cmp edx, eax */ 11585 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11587 _flag_k = FK_CMP; 11588 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0641A9; /* 0x2B06419C: je 0x2b0641a9 */ 11589 L_2B06419E: 11590 edx = MEM32(eax); /* 0x2B06419E: mov edx, dword ptr [eax] */ 11591 MEM32(ebp + (-0x28)) = edx; /* 0x2B0641A0: mov dword ptr [ebp - 0x28], edx */ 11592 edx = MEM32(eax + 0x4); /* 0x2B0641A3: mov edx, dword ptr [eax + 4] */ 11593 MEM32(ebp + (-0x24)) = edx; /* 0x2B0641A6: mov dword ptr [ebp - 0x24], edx */ 11594 L_2B0641A9: 11595 edx = MEM32(ebp + (-0x24)); /* 0x2B0641A9: mov edx, dword ptr [ebp - 0x24] */ 11596 /* cmp edx, MEM32(edi + 0x4) */ /* 0x2B0641AC: cmp edx, dword ptr [edi + 4] */ 11597 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11599 _flag_k = FK_CMP; 11600 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0641BC; /* 0x2B0641AF: jne 0x2b0641bc */ 11601 L_2B0641B1: 11602 edx = MEM32(ebp + (-0x28)); /* 0x2B0641B1: mov edx, dword ptr [ebp - 0x28] */ 11603 /* cmp edx, MEM32(edi) */ /* 0x2B0641B4: cmp edx, dword ptr [edi] */ 11604 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi)); 11605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11606 _flag_k = FK_CMP; 11607 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06425D; /* 0x2B0641B6: je 0x2b06425d */ 11608 L_2B0641BC: 11609 /* test ecx, ecx */ /* 0x2B0641BC: test ecx, ecx */ 11610 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11611 _cf = 0; 11612 _flag_k = FK_TEST; 11613 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0641E1; /* 0x2B0641BE: je 0x2b0641e1 */ 11614 L_2B0641C0: 11615 edx = ebp + (-0x30); /* 0x2B0641C0: lea edx, [ebp - 0x30] */ 11616 /* cmp edx, ecx */ /* 0x2B0641C3: cmp edx, ecx */ 11617 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 11618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11619 _flag_k = FK_CMP; 11620 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0641D2; /* 0x2B0641C5: je 0x2b0641d2 */ 11621 L_2B0641C7: 11622 edx = MEM32(ecx); /* 0x2B0641C7: mov edx, dword ptr [ecx] */ 11623 MEM32(ebp + (-0x30)) = edx; /* 0x2B0641C9: mov dword ptr [ebp - 0x30], edx */ 11624 edx = MEM32(ecx + 0x4); /* 0x2B0641CC: mov edx, dword ptr [ecx + 4] */ 11625 MEM32(ebp + (-0x2C)) = edx; /* 0x2B0641CF: mov dword ptr [ebp - 0x2c], edx */ 11626 L_2B0641D2: 11627 edx = MEM32(ebp + (-0x2C)); /* 0x2B0641D2: mov edx, dword ptr [ebp - 0x2c] */ 11628 /* cmp edx, MEM32(edi + 0x4) */ /* 0x2B0641D5: cmp edx, dword ptr [edi + 4] */ 11629 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11631 _flag_k = FK_CMP; 11632 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0641E1; /* 0x2B0641D8: jne 0x2b0641e1 */ 11633 L_2B0641DA: 11634 edx = MEM32(ebp + (-0x30)); /* 0x2B0641DA: mov edx, dword ptr [ebp - 0x30] */ 11635 /* cmp edx, MEM32(edi) */ /* 0x2B0641DD: cmp edx, dword ptr [edi] */ 11636 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi)); 11637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11638 _flag_k = FK_CMP; 11639 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06425D; /* 0x2B0641DF: je 0x2b06425d */ 11640 L_2B0641E1: 11641 esi = MEM32(ebp + (-0x18)); /* 0x2B0641E1: mov esi, dword ptr [ebp - 0x18] */ 11642 ecx = MEM32(esi); /* 0x2B0641E4: mov ecx, dword ptr [esi] */ 11643 PUSH32(esp, edi); /* 0x2B0641E6: push edi */ 11644 eax = ebp + (-0x1C); /* 0x2B0641E7: lea eax, [ebp - 0x1c] */ 11645 PUSH32(esp, eax); /* 0x2B0641EA: push eax */ 11646 RECOMP_ICALL(0x2B064B80u); /* 0x2B0641EB: call 0x2b064b80 */ /* not lifted */ 11647 RECOMP_FLAGS_IN(); 11648 esi = MEM32(esi); /* 0x2B0641F0: mov esi, dword ptr [esi] */ 11649 eax = MEM32(eax); /* 0x2B0641F2: mov eax, dword ptr [eax] */ 11650 /* cmp eax, MEM32(esi + 0x4) */ /* 0x2B0641F4: cmp eax, dword ptr [esi + 4] */ 11651 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11653 _flag_k = FK_CMP; 11654 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0641FE; /* 0x2B0641F7: je 0x2b0641fe */ 11655 L_2B0641F9: 11656 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B0641F9: mov byte ptr [eax + 0x14], bl */ 11657 goto L_2B064252; /* 0x2B0641FC: jmp 0x2b064252 */ 11658 L_2B0641FE: 11659 PUSH32(esp, edi); /* 0x2B0641FE: push edi */ 11660 ecx = ebp + (-0x58); /* 0x2B0641FF: lea ecx, [ebp - 0x58] */ 11661 RECOMP_ICALL(0x2B007700u); /* 0x2B064202: call 0x2b007700 */ /* not lifted */ 11662 RECOMP_FLAGS_IN(); 11663 ecx = MEM32(ebp + (-0x30)); /* 0x2B064207: mov ecx, dword ptr [ebp - 0x30] */ 11664 edx = MEM32(ebp + (-0x2C)); /* 0x2B06420A: mov edx, dword ptr [ebp - 0x2c] */ 11665 MEM32(ebp + (-0x50)) = ecx; /* 0x2B06420D: mov dword ptr [ebp - 0x50], ecx */ 11666 eax = ebp + (-0x58); /* 0x2B064210: lea eax, [ebp - 0x58] */ 11667 PUSH32(esp, eax); /* 0x2B064213: push eax */ 11668 ecx = ebp + (-0x38); /* 0x2B064214: lea ecx, [ebp - 0x38] */ 11669 PUSH32(esp, ecx); /* 0x2B064217: push ecx */ 11670 ecx = esi; /* 0x2B064218: mov ecx, esi */ 11671 MEM32(ebp + (-0x4C)) = edx; /* 0x2B06421A: mov dword ptr [ebp - 0x4c], edx */ 11672 RECOMP_ICALL(0x2B0646A0u); /* 0x2B06421D: call 0x2b0646a0 */ /* not lifted */ 11673 RECOMP_FLAGS_IN(); 11674 esi = MEM32(eax); /* 0x2B064222: mov esi, dword ptr [eax] */ 11675 PUSH32(esp, 0x38u); /* 0x2B064224: push 0x38 */ 11676 MEM8(esi + 0x14) = (uint8_t)(LO8(ebx)); /* 0x2B064226: mov byte ptr [esi + 0x14], bl */ 11677 RECOMP_ICALL(0x2B0AB212u); /* 0x2B064229: call 0x2b0ab212 */ /* not lifted */ 11678 RECOMP_FLAGS_IN(); 11679 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11680 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11681 esp = esp + 4; /* 0x2B06422E: add esp, 4 */ 11682 _flag_k = FK_ADD; 11683 MEM32(ebp + (-0x20)) = eax; /* 0x2B064231: mov dword ptr [ebp - 0x20], eax */ 11684 /* test eax, eax */ /* 0x2B064234: test eax, eax */ 11685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11686 _cf = 0; 11687 _flag_k = FK_TEST; 11688 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B064236: mov byte ptr [ebp - 4], bl */ 11689 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064249; /* 0x2B064239: je 0x2b064249 */ 11690 L_2B06423B: 11691 PUSH32(esp, 0); /* 0x2B06423B: push 0 */ 11692 PUSH32(esp, 0); /* 0x2B06423D: push 0 */ 11693 PUSH32(esp, edi); /* 0x2B06423F: push edi */ 11694 ecx = eax; /* 0x2B064240: mov ecx, eax */ 11695 RECOMP_ICALL(0x2B0624E0u); /* 0x2B064242: call 0x2b0624e0 */ /* not lifted */ 11696 RECOMP_FLAGS_IN(); 11697 goto L_2B06424B; /* 0x2B064247: jmp 0x2b06424b */ 11698 L_2B064249: 11699 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11700 eax = 0; /* 0x2B064249: xor eax, eax */ 11701 _cf = 0; 11702 _flag_k = FK_TEST; 11703 L_2B06424B: 11704 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B06424B: mov byte ptr [ebp - 4], 0 */ 11705 MEM32(esi + 0x18) = eax; /* 0x2B06424F: mov dword ptr [esi + 0x18], eax */ 11706 L_2B064252: 11707 eax = MEM32(0x2B0EEDDC); /* 0x2B064252: mov eax, dword ptr [0x2b0eeddc] */ 11708 ecx = MEM32(0x2B0EEDE0); /* 0x2B064257: mov ecx, dword ptr [0x2b0eede0] */ 11709 L_2B06425D: 11710 edx = MEM32(ebp + (-0x14)); /* 0x2B06425D: mov edx, dword ptr [ebp - 0x14] */ 11711 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 11712 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11713 edi = edi + 8; /* 0x2B064260: add edi, 8 */ 11714 _flag_k = FK_ADD; 11715 /* cmp edi, edx */ /* 0x2B064263: cmp edi, edx */ 11716 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 11717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11718 _flag_k = FK_CMP; 11719 RECOMP_BACKEDGE(); 11720 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064193; /* 0x2B064265: jne 0x2b064193 */ 11721 L_2B06426B: 11722 ebx = MEM32(ebp + (-0x18)); /* 0x2B06426B: mov ebx, dword ptr [ebp - 0x18] */ 11723 L_2B06426E: 11724 edx = MEM32(ebx); /* 0x2B06426E: mov edx, dword ptr [ebx] */ 11725 eax = MEM32(edx + 0x4); /* 0x2B064270: mov eax, dword ptr [edx + 4] */ 11726 esi = MEM32(eax); /* 0x2B064273: mov esi, dword ptr [eax] */ 11727 /* cmp esi, eax */ /* 0x2B064275: cmp esi, eax */ 11728 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11730 _flag_k = FK_CMP; 11731 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06433F; /* 0x2B064277: je 0x2b06433f */ 11732 L_2B06427D: 11733 SET_LO8(eax, MEM8(esi + 0x14)); /* 0x2B06427D: mov al, byte ptr [esi + 0x14] */ 11734 /* test LO8(eax), LO8(eax) */ /* 0x2B064280: test al, al */ 11735 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11736 _cf = 0; 11737 _flag_k = FK_NARROW(FK_TEST, 24); 11738 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0642F9; /* 0x2B064282: jne 0x2b0642f9 */ 11739 L_2B064284: 11740 edi = MEM32(esi + 0x18); /* 0x2B064284: mov edi, dword ptr [esi + 0x18] */ 11741 /* test edi, edi */ /* 0x2B064287: test edi, edi */ 11742 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11743 _cf = 0; 11744 _flag_k = FK_TEST; 11745 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06429B; /* 0x2B064289: je 0x2b06429b */ 11746 L_2B06428B: 11747 ecx = edi; /* 0x2B06428B: mov ecx, edi */ 11748 RECOMP_ICALL(0x2B062F80u); /* 0x2B06428D: call 0x2b062f80 */ /* not lifted */ 11749 RECOMP_FLAGS_IN(); 11750 PUSH32(esp, edi); /* 0x2B064292: push edi */ 11751 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064293: call 0x2b0ab1ba */ /* not lifted */ 11752 RECOMP_FLAGS_IN(); 11753 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11754 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11755 esp = esp + 4; /* 0x2B064298: add esp, 4 */ 11756 _flag_k = FK_ADD; 11757 L_2B06429B: 11758 MEM32(esi + 0x18) = 0; /* 0x2B06429B: mov dword ptr [esi + 0x18], 0 */ 11759 eax = MEM32(esi + 0x8); /* 0x2B0642A2: mov eax, dword ptr [esi + 8] */ 11760 SET_LO8(edx, MEM8(eax + 0x1D)); /* 0x2B0642A5: mov dl, byte ptr [eax + 0x1d] */ 11761 /* test LO8(edx), LO8(edx) */ /* 0x2B0642A8: test dl, dl */ 11762 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11763 _cf = 0; 11764 _flag_k = FK_NARROW(FK_TEST, 24); 11765 ecx = esi; /* 0x2B0642AA: mov ecx, esi */ 11766 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0642D2; /* 0x2B0642AC: jne 0x2b0642d2 */ 11767 L_2B0642AE: 11768 esi = eax; /* 0x2B0642AE: mov esi, eax */ 11769 eax = MEM32(esi); /* 0x2B0642B0: mov eax, dword ptr [esi] */ 11770 SET_LO8(edx, MEM8(eax + 0x1D)); /* 0x2B0642B2: mov dl, byte ptr [eax + 0x1d] */ 11771 /* test LO8(edx), LO8(edx) */ /* 0x2B0642B5: test dl, dl */ 11772 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11773 _cf = 0; 11774 _flag_k = FK_NARROW(FK_TEST, 24); 11775 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0642EB; /* 0x2B0642B7: jne 0x2b0642eb */ 11776 L_2B0642B9: 11777 esi = eax; /* 0x2B0642B9: mov esi, eax */ 11778 eax = MEM32(esi); /* 0x2B0642BB: mov eax, dword ptr [esi] */ 11779 SET_LO8(edx, MEM8(eax + 0x1D)); /* 0x2B0642BD: mov dl, byte ptr [eax + 0x1d] */ 11780 /* test LO8(edx), LO8(edx) */ /* 0x2B0642C0: test dl, dl */ 11781 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11782 _cf = 0; 11783 _flag_k = FK_NARROW(FK_TEST, 24); 11784 RECOMP_BACKEDGE(); 11785 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0642B9; /* 0x2B0642C2: je 0x2b0642b9 */ 11786 L_2B0642C4: 11787 PUSH32(esp, ecx); /* 0x2B0642C4: push ecx */ 11788 ecx = MEM32(ebx); /* 0x2B0642C5: mov ecx, dword ptr [ebx] */ 11789 eax = ebp + (-0x20); /* 0x2B0642C7: lea eax, [ebp - 0x20] */ 11790 PUSH32(esp, eax); /* 0x2B0642CA: push eax */ 11791 RECOMP_ICALL(0x2B0647C0u); /* 0x2B0642CB: call 0x2b0647c0 */ /* not lifted */ 11792 RECOMP_FLAGS_IN(); 11793 goto L_2B064334; /* 0x2B0642D0: jmp 0x2b064334 */ 11794 L_2B0642D2: 11795 eax = MEM32(esi + 0x4); /* 0x2B0642D2: mov eax, dword ptr [esi + 4] */ 11796 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0642D5: cmp esi, dword ptr [eax + 8] */ 11797 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11799 _flag_k = FK_CMP; 11800 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0642E4; /* 0x2B0642D8: jne 0x2b0642e4 */ 11801 L_2B0642DA: 11802 esi = eax; /* 0x2B0642DA: mov esi, eax */ 11803 eax = MEM32(eax + 0x4); /* 0x2B0642DC: mov eax, dword ptr [eax + 4] */ 11804 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0642DF: cmp esi, dword ptr [eax + 8] */ 11805 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11807 _flag_k = FK_CMP; 11808 RECOMP_BACKEDGE(); 11809 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0642DA; /* 0x2B0642E2: je 0x2b0642da */ 11810 L_2B0642E4: 11811 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B0642E4: cmp dword ptr [esi + 8], eax */ 11812 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 11813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11814 _flag_k = FK_CMP; 11815 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0642EB; /* 0x2B0642E7: je 0x2b0642eb */ 11816 L_2B0642E9: 11817 esi = eax; /* 0x2B0642E9: mov esi, eax */ 11818 L_2B0642EB: 11819 PUSH32(esp, ecx); /* 0x2B0642EB: push ecx */ 11820 ecx = MEM32(ebx); /* 0x2B0642EC: mov ecx, dword ptr [ebx] */ 11821 eax = ebp + (-0x20); /* 0x2B0642EE: lea eax, [ebp - 0x20] */ 11822 PUSH32(esp, eax); /* 0x2B0642F1: push eax */ 11823 RECOMP_ICALL(0x2B0647C0u); /* 0x2B0642F2: call 0x2b0647c0 */ /* not lifted */ 11824 RECOMP_FLAGS_IN(); 11825 goto L_2B064334; /* 0x2B0642F7: jmp 0x2b064334 */ 11826 L_2B0642F9: 11827 eax = MEM32(esi + 0x8); /* 0x2B0642F9: mov eax, dword ptr [esi + 8] */ 11828 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B0642FC: mov cl, byte ptr [eax + 0x1d] */ 11829 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0642FF: test cl, cl */ 11830 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11831 _cf = 0; 11832 _flag_k = FK_NARROW(FK_TEST, 24); 11833 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06431B; /* 0x2B064301: jne 0x2b06431b */ 11834 L_2B064303: 11835 esi = eax; /* 0x2B064303: mov esi, eax */ 11836 eax = MEM32(esi); /* 0x2B064305: mov eax, dword ptr [esi] */ 11837 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B064307: mov cl, byte ptr [eax + 0x1d] */ 11838 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06430A: test cl, cl */ 11839 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11840 _cf = 0; 11841 _flag_k = FK_NARROW(FK_TEST, 24); 11842 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064334; /* 0x2B06430C: jne 0x2b064334 */ 11843 L_2B06430E: 11844 esi = eax; /* 0x2B06430E: mov esi, eax */ 11845 eax = MEM32(esi); /* 0x2B064310: mov eax, dword ptr [esi] */ 11846 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B064312: mov cl, byte ptr [eax + 0x1d] */ 11847 /* test LO8(ecx), LO8(ecx) */ /* 0x2B064315: test cl, cl */ 11848 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11849 _cf = 0; 11850 _flag_k = FK_NARROW(FK_TEST, 24); 11851 RECOMP_BACKEDGE(); 11852 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06430E; /* 0x2B064317: je 0x2b06430e */ 11853 L_2B064319: 11854 goto L_2B064334; /* 0x2B064319: jmp 0x2b064334 */ 11855 L_2B06431B: 11856 eax = MEM32(esi + 0x4); /* 0x2B06431B: mov eax, dword ptr [esi + 4] */ 11857 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B06431E: cmp esi, dword ptr [eax + 8] */ 11858 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11860 _flag_k = FK_CMP; 11861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06432D; /* 0x2B064321: jne 0x2b06432d */ 11862 L_2B064323: 11863 esi = eax; /* 0x2B064323: mov esi, eax */ 11864 eax = MEM32(eax + 0x4); /* 0x2B064325: mov eax, dword ptr [eax + 4] */ 11865 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B064328: cmp esi, dword ptr [eax + 8] */ 11866 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11868 _flag_k = FK_CMP; 11869 RECOMP_BACKEDGE(); 11870 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064323; /* 0x2B06432B: je 0x2b064323 */ 11871 L_2B06432D: 11872 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B06432D: cmp dword ptr [esi + 8], eax */ 11873 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 11874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11875 _flag_k = FK_CMP; 11876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064334; /* 0x2B064330: je 0x2b064334 */ 11877 L_2B064332: 11878 esi = eax; /* 0x2B064332: mov esi, eax */ 11879 L_2B064334: 11880 ecx = MEM32(ebx); /* 0x2B064334: mov ecx, dword ptr [ebx] */ 11881 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B064336: cmp esi, dword ptr [ecx + 4] */ 11882 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11884 _flag_k = FK_CMP; 11885 RECOMP_BACKEDGE(); 11886 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06427D; /* 0x2B064339: jne 0x2b06427d */ 11887 L_2B06433F: 11888 edx = MEM32(ebp + (-0x44)); /* 0x2B06433F: mov edx, dword ptr [ebp - 0x44] */ 11889 PUSH32(esp, edx); /* 0x2B064342: push edx */ 11890 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064343: call 0x2b0ab1ba */ /* not lifted */ 11891 RECOMP_FLAGS_IN(); 11892 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11893 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11894 esp = esp + 4; /* 0x2B064348: add esp, 4 */ 11895 _flag_k = FK_ADD; 11896 L_2B06434B: 11897 ecx = MEM32(ebp + (-0xC)); /* 0x2B06434B: mov ecx, dword ptr [ebp - 0xc] */ 11898 edi = POP32_VAL(esp); /* 0x2B06434E: pop edi */ 11899 esi = POP32_VAL(esp); /* 0x2B06434F: pop esi */ 11900 ebx = POP32_VAL(esp); /* 0x2B064350: pop ebx */ 11901 MEM32(FS_BASE + (0)) = ecx; /* 0x2B064351: mov dword ptr fs:[0], ecx */ 11902 esp = ebp; /* 0x2B064358: mov esp, ebp */ 11903 ebp = POP32_VAL(esp); /* 0x2B06435A: pop ebp */ 11904 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06435B: ret */ 11905 RECOMP_REGS_OUT(); 11906 } 11907 11908 void sub_2B064360(void) { 11909 int _fpu_cmp = 0; 11910 uint32_t _cf = 0; 11911 int _df = 1; 11912 uint32_t _flag_k = FK_NONE; 11913 uint32_t _flag_a = 0, _flag_b = 0; 11914 uint32_t _itail_tgt = 0; 11915 RECOMP_REGS_LOCALS 11916 RECOMP_ENTER(0x2B064360u); 11917 11918 L_2B064360: 11919 PUSH32(esp, ebp); /* 0x2B064360: push ebp */ 11920 ebp = esp; /* 0x2B064361: mov ebp, esp */ 11921 PUSH32(esp, ecx); /* 0x2B064363: push ecx */ 11922 eax = MEM32(ecx); /* 0x2B064364: mov eax, dword ptr [ecx] */ 11923 /* test eax, eax */ /* 0x2B064366: test eax, eax */ 11924 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11925 _cf = 0; 11926 _flag_k = FK_TEST; 11927 MEM32(ebp + (-0x4)) = ecx; /* 0x2B064368: mov dword ptr [ebp - 4], ecx */ 11928 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0643F8; /* 0x2B06436B: je 0x2b0643f8 */ 11929 L_2B064371: 11930 PUSH32(esp, ebx); /* 0x2B064371: push ebx */ 11931 ebx = MEM32(eax + 0x4); /* 0x2B064372: mov ebx, dword ptr [eax + 4] */ 11932 PUSH32(esp, esi); /* 0x2B064375: push esi */ 11933 esi = MEM32(ebx); /* 0x2B064376: mov esi, dword ptr [ebx] */ 11934 /* cmp esi, ebx */ /* 0x2B064378: cmp esi, ebx */ 11935 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 11936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11937 _flag_k = FK_CMP; 11938 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0643D7; /* 0x2B06437A: je 0x2b0643d7 */ 11939 L_2B06437C: 11940 PUSH32(esp, edi); /* 0x2B06437C: push edi */ 11941 L_2B06437D: 11942 edi = MEM32(esi + 0x18); /* 0x2B06437D: mov edi, dword ptr [esi + 0x18] */ 11943 /* test edi, edi */ /* 0x2B064380: test edi, edi */ 11944 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11945 _cf = 0; 11946 _flag_k = FK_TEST; 11947 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064394; /* 0x2B064382: je 0x2b064394 */ 11948 L_2B064384: 11949 ecx = edi; /* 0x2B064384: mov ecx, edi */ 11950 RECOMP_ICALL(0x2B062F80u); /* 0x2B064386: call 0x2b062f80 */ /* not lifted */ 11951 RECOMP_FLAGS_IN(); 11952 PUSH32(esp, edi); /* 0x2B06438B: push edi */ 11953 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06438C: call 0x2b0ab1ba */ /* not lifted */ 11954 RECOMP_FLAGS_IN(); 11955 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11956 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11957 esp = esp + 4; /* 0x2B064391: add esp, 4 */ 11958 _flag_k = FK_ADD; 11959 L_2B064394: 11960 eax = MEM32(esi + 0x8); /* 0x2B064394: mov eax, dword ptr [esi + 8] */ 11961 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B064397: mov cl, byte ptr [eax + 0x1d] */ 11962 /* test LO8(ecx), LO8(ecx) */ /* 0x2B06439A: test cl, cl */ 11963 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11964 _cf = 0; 11965 _flag_k = FK_NARROW(FK_TEST, 24); 11966 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0643B6; /* 0x2B06439C: jne 0x2b0643b6 */ 11967 L_2B06439E: 11968 esi = eax; /* 0x2B06439E: mov esi, eax */ 11969 eax = MEM32(esi); /* 0x2B0643A0: mov eax, dword ptr [esi] */ 11970 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B0643A2: mov cl, byte ptr [eax + 0x1d] */ 11971 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0643A5: test cl, cl */ 11972 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11973 _cf = 0; 11974 _flag_k = FK_NARROW(FK_TEST, 24); 11975 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0643CF; /* 0x2B0643A7: jne 0x2b0643cf */ 11976 L_2B0643A9: 11977 esi = eax; /* 0x2B0643A9: mov esi, eax */ 11978 eax = MEM32(esi); /* 0x2B0643AB: mov eax, dword ptr [esi] */ 11979 SET_LO8(ecx, MEM8(eax + 0x1D)); /* 0x2B0643AD: mov cl, byte ptr [eax + 0x1d] */ 11980 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0643B0: test cl, cl */ 11981 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 11982 _cf = 0; 11983 _flag_k = FK_NARROW(FK_TEST, 24); 11984 RECOMP_BACKEDGE(); 11985 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0643A9; /* 0x2B0643B2: je 0x2b0643a9 */ 11986 L_2B0643B4: 11987 goto L_2B0643CF; /* 0x2B0643B4: jmp 0x2b0643cf */ 11988 L_2B0643B6: 11989 eax = MEM32(esi + 0x4); /* 0x2B0643B6: mov eax, dword ptr [esi + 4] */ 11990 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0643B9: cmp esi, dword ptr [eax + 8] */ 11991 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11993 _flag_k = FK_CMP; 11994 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0643C8; /* 0x2B0643BC: jne 0x2b0643c8 */ 11995 L_2B0643BE: 11996 esi = eax; /* 0x2B0643BE: mov esi, eax */ 11997 eax = MEM32(eax + 0x4); /* 0x2B0643C0: mov eax, dword ptr [eax + 4] */ 11998 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B0643C3: cmp esi, dword ptr [eax + 8] */ 11999 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 12000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12001 _flag_k = FK_CMP; 12002 RECOMP_BACKEDGE(); 12003 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0643BE; /* 0x2B0643C6: je 0x2b0643be */ 12004 L_2B0643C8: 12005 /* cmp MEM32(esi + 0x8), eax */ /* 0x2B0643C8: cmp dword ptr [esi + 8], eax */ 12006 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(eax); 12007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12008 _flag_k = FK_CMP; 12009 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0643CF; /* 0x2B0643CB: je 0x2b0643cf */ 12010 L_2B0643CD: 12011 esi = eax; /* 0x2B0643CD: mov esi, eax */ 12012 L_2B0643CF: 12013 /* cmp esi, ebx */ /* 0x2B0643CF: cmp esi, ebx */ 12014 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 12015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12016 _flag_k = FK_CMP; 12017 RECOMP_BACKEDGE(); 12018 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06437D; /* 0x2B0643D1: jne 0x2b06437d */ 12019 L_2B0643D3: 12020 ecx = MEM32(ebp + (-0x4)); /* 0x2B0643D3: mov ecx, dword ptr [ebp - 4] */ 12021 edi = POP32_VAL(esp); /* 0x2B0643D6: pop edi */ 12022 L_2B0643D7: 12023 esi = MEM32(ecx); /* 0x2B0643D7: mov esi, dword ptr [ecx] */ 12024 /* test esi, esi */ /* 0x2B0643D9: test esi, esi */ 12025 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12026 _cf = 0; 12027 _flag_k = FK_TEST; 12028 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0643ED; /* 0x2B0643DB: je 0x2b0643ed */ 12029 L_2B0643DD: 12030 ecx = esi; /* 0x2B0643DD: mov ecx, esi */ 12031 RECOMP_ICALL(0x2B064400u); /* 0x2B0643DF: call 0x2b064400 */ /* not lifted */ 12032 RECOMP_FLAGS_IN(); 12033 PUSH32(esp, esi); /* 0x2B0643E4: push esi */ 12034 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0643E5: call 0x2b0ab1ba */ /* not lifted */ 12035 RECOMP_FLAGS_IN(); 12036 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12037 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12038 esp = esp + 4; /* 0x2B0643EA: add esp, 4 */ 12039 _flag_k = FK_ADD; 12040 L_2B0643ED: 12041 eax = MEM32(ebp + (-0x4)); /* 0x2B0643ED: mov eax, dword ptr [ebp - 4] */ 12042 esi = POP32_VAL(esp); /* 0x2B0643F0: pop esi */ 12043 MEM32(eax) = 0; /* 0x2B0643F1: mov dword ptr [eax], 0 */ 12044 ebx = POP32_VAL(esp); /* 0x2B0643F7: pop ebx */ 12045 L_2B0643F8: 12046 esp = ebp; /* 0x2B0643F8: mov esp, ebp */ 12047 ebp = POP32_VAL(esp); /* 0x2B0643FA: pop ebp */ 12048 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0643FB: ret */ 12049 RECOMP_REGS_OUT(); 12050 } 12051 12052 void sub_2B064400(void) { 12053 int _fpu_cmp = 0; 12054 uint32_t _cf = 0; 12055 int _df = 1; 12056 uint32_t _flag_k = FK_NONE; 12057 uint32_t _flag_a = 0, _flag_b = 0; 12058 uint32_t _itail_tgt = 0; 12059 RECOMP_REGS_LOCALS 12060 RECOMP_ENTER(0x2B064400u); 12061 12062 L_2B064400: 12063 PUSH32(esp, ebp); /* 0x2B064400: push ebp */ 12064 ebp = esp; /* 0x2B064401: mov ebp, esp */ 12065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12067 esp = esp - 8; /* 0x2B064403: sub esp, 8 */ 12068 _flag_k = FK_CMP; 12069 PUSH32(esp, ebx); /* 0x2B064406: push ebx */ 12070 PUSH32(esp, esi); /* 0x2B064407: push esi */ 12071 esi = ecx; /* 0x2B064408: mov esi, ecx */ 12072 ecx = MEM32(esi + 0x10); /* 0x2B06440A: mov ecx, dword ptr [esi + 0x10] */ 12073 /* test ecx, ecx */ /* 0x2B06440D: test ecx, ecx */ 12074 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12075 _cf = 0; 12076 _flag_k = FK_TEST; 12077 PUSH32(esp, edi); /* 0x2B06440F: push edi */ 12078 edi = MEM32(esi + 0x4); /* 0x2B064410: mov edi, dword ptr [esi + 4] */ 12079 eax = MEM32(edi); /* 0x2B064413: mov eax, dword ptr [edi] */ 12080 MEM32(ebp + (-0x4)) = eax; /* 0x2B064415: mov dword ptr [ebp - 4], eax */ 12081 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064475; /* 0x2B064418: je 0x2b064475 */ 12082 L_2B06441A: 12083 ecx = eax; /* 0x2B06441A: mov ecx, eax */ 12084 /* cmp eax, ecx */ /* 0x2B06441C: cmp eax, ecx */ 12085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12087 _flag_k = FK_CMP; 12088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064475; /* 0x2B06441E: jne 0x2b064475 */ 12089 L_2B064420: 12090 /* cmp edi, edi */ /* 0x2B064420: cmp edi, edi */ 12091 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 12092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12093 _flag_k = FK_CMP; 12094 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064475; /* 0x2B064422: jne 0x2b064475 */ 12095 L_2B064424: 12096 ebx = MEM32(edi + 0x4); /* 0x2B064424: mov ebx, dword ptr [edi + 4] */ 12097 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B064427: cmp ebx, dword ptr [esi + 8] */ 12098 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12100 _flag_k = FK_CMP; 12101 edi = ebx; /* 0x2B06442A: mov edi, ebx */ 12102 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06444D; /* 0x2B06442C: je 0x2b06444d */ 12103 L_2B06442E: 12104 eax = MEM32(edi + 0x8); /* 0x2B06442E: mov eax, dword ptr [edi + 8] */ 12105 PUSH32(esp, eax); /* 0x2B064431: push eax */ 12106 ecx = esi; /* 0x2B064432: mov ecx, esi */ 12107 RECOMP_ICALL(0x2B064C60u); /* 0x2B064434: call 0x2b064c60 */ /* not lifted */ 12108 RECOMP_FLAGS_IN(); 12109 edi = MEM32(edi); /* 0x2B064439: mov edi, dword ptr [edi] */ 12110 PUSH32(esp, ebx); /* 0x2B06443B: push ebx */ 12111 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06443C: call 0x2b0ab1ba */ /* not lifted */ 12112 RECOMP_FLAGS_IN(); 12113 eax = MEM32(esi + 0x8); /* 0x2B064441: mov eax, dword ptr [esi + 8] */ 12114 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12115 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12116 esp = esp + 4; /* 0x2B064444: add esp, 4 */ 12117 _flag_k = FK_ADD; 12118 /* cmp edi, eax */ /* 0x2B064447: cmp edi, eax */ 12119 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 12120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12121 _flag_k = FK_CMP; 12122 ebx = edi; /* 0x2B064449: mov ebx, edi */ 12123 RECOMP_BACKEDGE(); 12124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06442E; /* 0x2B06444B: jne 0x2b06442e */ 12125 L_2B06444D: 12126 ecx = MEM32(esi + 0x4); /* 0x2B06444D: mov ecx, dword ptr [esi + 4] */ 12127 edx = MEM32(esi + 0x8); /* 0x2B064450: mov edx, dword ptr [esi + 8] */ 12128 MEM32(ecx + 0x4) = edx; /* 0x2B064453: mov dword ptr [ecx + 4], edx */ 12129 eax = MEM32(esi + 0x4); /* 0x2B064456: mov eax, dword ptr [esi + 4] */ 12130 MEM32(esi + 0x10) = 0; /* 0x2B064459: mov dword ptr [esi + 0x10], 0 */ 12131 MEM32(eax) = eax; /* 0x2B064460: mov dword ptr [eax], eax */ 12132 eax = MEM32(esi + 0x4); /* 0x2B064462: mov eax, dword ptr [esi + 4] */ 12133 MEM32(eax + 0x8) = eax; /* 0x2B064465: mov dword ptr [eax + 8], eax */ 12134 eax = ebp + (-0x8); /* 0x2B064468: lea eax, [ebp - 8] */ 12135 PUSH32(esp, eax); /* 0x2B06446B: push eax */ 12136 ecx = esi; /* 0x2B06446C: mov ecx, esi */ 12137 RECOMP_ICALL(0x2B018B60u); /* 0x2B06446E: call 0x2b018b60 */ /* not lifted */ 12138 RECOMP_FLAGS_IN(); 12139 goto L_2B064496; /* 0x2B064473: jmp 0x2b064496 */ 12140 L_2B064475: 12141 /* cmp eax, edi */ /* 0x2B064475: cmp eax, edi */ 12142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12144 _flag_k = FK_CMP; 12145 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064496; /* 0x2B064477: je 0x2b064496 */ 12146 L_2B064479: 12147 ecx = ebp + (-0x4); /* 0x2B064479: lea ecx, [ebp - 4] */ 12148 ebx = eax; /* 0x2B06447C: mov ebx, eax */ 12149 RECOMP_ICALL(0x2B064C10u); /* 0x2B06447E: call 0x2b064c10 */ /* not lifted */ 12150 RECOMP_FLAGS_IN(); 12151 PUSH32(esp, ebx); /* 0x2B064483: push ebx */ 12152 ecx = ebp + (-0x8); /* 0x2B064484: lea ecx, [ebp - 8] */ 12153 PUSH32(esp, ecx); /* 0x2B064487: push ecx */ 12154 ecx = esi; /* 0x2B064488: mov ecx, esi */ 12155 RECOMP_ICALL(0x2B0647C0u); /* 0x2B06448A: call 0x2b0647c0 */ /* not lifted */ 12156 RECOMP_FLAGS_IN(); 12157 eax = MEM32(ebp + (-0x4)); /* 0x2B06448F: mov eax, dword ptr [ebp - 4] */ 12158 /* cmp eax, edi */ /* 0x2B064492: cmp eax, edi */ 12159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12161 _flag_k = FK_CMP; 12162 RECOMP_BACKEDGE(); 12163 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064479; /* 0x2B064494: jne 0x2b064479 */ 12164 L_2B064496: 12165 edx = MEM32(esi + 0x4); /* 0x2B064496: mov edx, dword ptr [esi + 4] */ 12166 PUSH32(esp, edx); /* 0x2B064499: push edx */ 12167 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B06449A: call 0x2b0ab1ba */ /* not lifted */ 12168 RECOMP_FLAGS_IN(); 12169 eax = MEM32(esi + 0x8); /* 0x2B06449F: mov eax, dword ptr [esi + 8] */ 12170 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12171 edi = 0; /* 0x2B0644A2: xor edi, edi */ 12172 _cf = 0; 12173 _flag_k = FK_TEST; 12174 PUSH32(esp, eax); /* 0x2B0644A4: push eax */ 12175 MEM32(esi + 0x4) = edi; /* 0x2B0644A5: mov dword ptr [esi + 4], edi */ 12176 MEM32(esi + 0x10) = edi; /* 0x2B0644A8: mov dword ptr [esi + 0x10], edi */ 12177 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0644AB: call 0x2b0ab1ba */ /* not lifted */ 12178 RECOMP_FLAGS_IN(); 12179 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12180 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12181 esp = esp + 8; /* 0x2B0644B0: add esp, 8 */ 12182 _flag_k = FK_ADD; 12183 MEM32(esi + 0x8) = edi; /* 0x2B0644B3: mov dword ptr [esi + 8], edi */ 12184 edi = POP32_VAL(esp); /* 0x2B0644B6: pop edi */ 12185 esi = POP32_VAL(esp); /* 0x2B0644B7: pop esi */ 12186 ebx = POP32_VAL(esp); /* 0x2B0644B8: pop ebx */ 12187 esp = ebp; /* 0x2B0644B9: mov esp, ebp */ 12188 ebp = POP32_VAL(esp); /* 0x2B0644BB: pop ebp */ 12189 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0644BC: ret */ 12190 RECOMP_REGS_OUT(); 12191 } 12192 12193 void sub_2B0644C0(void) { 12194 int _fpu_cmp = 0; 12195 uint32_t _cf = 0; 12196 int _df = 1; 12197 uint32_t _flag_k = FK_NONE; 12198 uint32_t _flag_a = 0, _flag_b = 0; 12199 uint32_t _itail_tgt = 0; 12200 RECOMP_REGS_LOCALS 12201 RECOMP_ENTER(0x2B0644C0u); 12202 12203 L_2B0644C0: 12204 PUSH32(esp, ebp); /* 0x2B0644C0: push ebp */ 12205 ebp = esp; /* 0x2B0644C1: mov ebp, esp */ 12206 eax = MEM32(FS_BASE + (0)); /* 0x2B0644C3: mov eax, dword ptr fs:[0] */ 12207 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0644C9: push -1 */ 12208 PUSH32(esp, 0x2B0B09FBu); /* 0x2B0644CB: push 0x2b0b09fb */ 12209 PUSH32(esp, eax); /* 0x2B0644D0: push eax */ 12210 MEM32(FS_BASE + (0)) = esp; /* 0x2B0644D1: mov dword ptr fs:[0], esp */ 12211 PUSH32(esp, ebx); /* 0x2B0644D8: push ebx */ 12212 PUSH32(esp, esi); /* 0x2B0644D9: push esi */ 12213 PUSH32(esp, edi); /* 0x2B0644DA: push edi */ 12214 edi = MEM32(ebp + 0x8); /* 0x2B0644DB: mov edi, dword ptr [ebp + 8] */ 12215 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12216 ebx = 0; /* 0x2B0644DE: xor ebx, ebx */ 12217 _cf = 0; 12218 _flag_k = FK_TEST; 12219 /* cmp edi, ebx */ /* 0x2B0644E0: cmp edi, ebx */ 12220 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 12221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12222 _flag_k = FK_CMP; 12223 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0645AD; /* 0x2B0644E2: je 0x2b0645ad */ 12224 L_2B0644E8: 12225 eax = MEM32(ebp + 0xC); /* 0x2B0644E8: mov eax, dword ptr [ebp + 0xc] */ 12226 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12228 eax = eax - ebx; /* 0x2B0644EB: sub eax, ebx */ 12229 _flag_k = FK_CMP; 12230 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0645A6; /* 0x2B0644ED: je 0x2b0645a6 */ 12231 L_2B0644F3: 12232 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12233 eax = eax - 1; /* 0x2B0644F3: dec eax */ 12234 _flag_k = FK_DEC; 12235 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B0645AD; /* 0x2B0644F4: jne 0x2b0645ad */ 12236 L_2B0644FA: 12237 /* cmp MEM32(edi), ebx */ /* 0x2B0644FA: cmp dword ptr [edi], ebx */ 12238 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(ebx); 12239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12240 _flag_k = FK_CMP; 12241 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06458E; /* 0x2B0644FC: jne 0x2b06458e */ 12242 L_2B064502: 12243 PUSH32(esp, 0x14u); /* 0x2B064502: push 0x14 */ 12244 RECOMP_ICALL(0x2B0AB212u); /* 0x2B064504: call 0x2b0ab212 */ /* not lifted */ 12245 RECOMP_FLAGS_IN(); 12246 esi = eax; /* 0x2B064509: mov esi, eax */ 12247 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12248 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12249 esp = esp + 4; /* 0x2B06450B: add esp, 4 */ 12250 _flag_k = FK_ADD; 12251 MEM32(ebp + 0xC) = esi; /* 0x2B06450E: mov dword ptr [ebp + 0xc], esi */ 12252 /* cmp esi, ebx */ /* 0x2B064511: cmp esi, ebx */ 12253 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 12254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12255 _flag_k = FK_CMP; 12256 MEM32(ebp + (-0x4)) = ebx; /* 0x2B064513: mov dword ptr [ebp - 4], ebx */ 12257 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06458A; /* 0x2B064516: je 0x2b06458a */ 12258 L_2B064518: 12259 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B064518: mov al, byte ptr [ebp + 0xb] */ 12260 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B06451B: mov cl, byte ptr [ebp + 0xb] */ 12261 PUSH32(esp, 0x20u); /* 0x2B06451E: push 0x20 */ 12262 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B064520: mov byte ptr [esi], al */ 12263 MEM8(esi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x2B064522: mov byte ptr [esi + 1], cl */ 12264 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B064525: mov byte ptr [esi + 0xc], bl */ 12265 RECOMP_ICALL(0x2B0AB212u); /* 0x2B064528: call 0x2b0ab212 */ /* not lifted */ 12266 RECOMP_FLAGS_IN(); 12267 MEM32(eax + 0x4) = ebx; /* 0x2B06452D: mov dword ptr [eax + 4], ebx */ 12268 MEM8(eax + 0x1D) = (uint8_t)(LO8(ebx)); /* 0x2B064530: mov byte ptr [eax + 0x1d], bl */ 12269 SET_LO8(ecx, 1); /* 0x2B064533: mov cl, 1 */ 12270 MEM8(eax + 0x1C) = (uint8_t)(LO8(ecx)); /* 0x2B064535: mov byte ptr [eax + 0x1c], cl */ 12271 MEM32(esi + 0x8) = eax; /* 0x2B064538: mov dword ptr [esi + 8], eax */ 12272 MEM8(eax + 0x1D) = (uint8_t)(LO8(ecx)); /* 0x2B06453B: mov byte ptr [eax + 0x1d], cl */ 12273 edx = MEM32(esi + 0x8); /* 0x2B06453E: mov edx, dword ptr [esi + 8] */ 12274 MEM32(edx) = ebx; /* 0x2B064541: mov dword ptr [edx], ebx */ 12275 eax = MEM32(esi + 0x8); /* 0x2B064543: mov eax, dword ptr [esi + 8] */ 12276 MEM32(eax + 0x8) = ebx; /* 0x2B064546: mov dword ptr [eax + 8], ebx */ 12277 edi = MEM32(esi + 0x8); /* 0x2B064549: mov edi, dword ptr [esi + 8] */ 12278 PUSH32(esp, 0x20u); /* 0x2B06454C: push 0x20 */ 12279 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06454E: call 0x2b0ab212 */ /* not lifted */ 12280 RECOMP_FLAGS_IN(); 12281 MEM32(eax + 0x4) = edi; /* 0x2B064553: mov dword ptr [eax + 4], edi */ 12282 edi = MEM32(ebp + 0x8); /* 0x2B064556: mov edi, dword ptr [ebp + 8] */ 12283 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064559: mov byte ptr [eax + 0x1c], bl */ 12284 MEM8(eax + 0x1D) = (uint8_t)(LO8(ebx)); /* 0x2B06455C: mov byte ptr [eax + 0x1d], bl */ 12285 MEM32(esi + 0x4) = eax; /* 0x2B06455F: mov dword ptr [esi + 4], eax */ 12286 MEM32(eax) = eax; /* 0x2B064562: mov dword ptr [eax], eax */ 12287 eax = MEM32(esi + 0x4); /* 0x2B064564: mov eax, dword ptr [esi + 4] */ 12288 MEM32(eax + 0x8) = eax; /* 0x2B064567: mov dword ptr [eax + 8], eax */ 12289 MEM32(esi + 0x10) = ebx; /* 0x2B06456A: mov dword ptr [esi + 0x10], ebx */ 12290 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12292 esp = esp + 8; /* 0x2B06456D: add esp, 8 */ 12293 _flag_k = FK_ADD; 12294 MEM32(edi) = esi; /* 0x2B064570: mov dword ptr [edi], esi */ 12295 MEM32(edi + 0x4) = 0x42C80000u; /* 0x2B064572: mov dword ptr [edi + 4], 0x42c80000 */ 12296 ecx = MEM32(ebp + (-0xC)); /* 0x2B064579: mov ecx, dword ptr [ebp - 0xc] */ 12297 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06457C: mov dword ptr fs:[0], ecx */ 12298 edi = POP32_VAL(esp); /* 0x2B064583: pop edi */ 12299 esi = POP32_VAL(esp); /* 0x2B064584: pop esi */ 12300 ebx = POP32_VAL(esp); /* 0x2B064585: pop ebx */ 12301 esp = ebp; /* 0x2B064586: mov esp, ebp */ 12302 ebp = POP32_VAL(esp); /* 0x2B064588: pop ebp */ 12303 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064589: ret */ 12304 L_2B06458A: 12305 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12306 esi = 0; /* 0x2B06458A: xor esi, esi */ 12307 _cf = 0; 12308 _flag_k = FK_TEST; 12309 MEM32(edi) = esi; /* 0x2B06458C: mov dword ptr [edi], esi */ 12310 L_2B06458E: 12311 MEM32(edi + 0x4) = 0x42C80000u; /* 0x2B06458E: mov dword ptr [edi + 4], 0x42c80000 */ 12312 ecx = MEM32(ebp + (-0xC)); /* 0x2B064595: mov ecx, dword ptr [ebp - 0xc] */ 12313 MEM32(FS_BASE + (0)) = ecx; /* 0x2B064598: mov dword ptr fs:[0], ecx */ 12314 edi = POP32_VAL(esp); /* 0x2B06459F: pop edi */ 12315 esi = POP32_VAL(esp); /* 0x2B0645A0: pop esi */ 12316 ebx = POP32_VAL(esp); /* 0x2B0645A1: pop ebx */ 12317 esp = ebp; /* 0x2B0645A2: mov esp, ebp */ 12318 ebp = POP32_VAL(esp); /* 0x2B0645A4: pop ebp */ 12319 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0645A5: ret */ 12320 L_2B0645A6: 12321 ecx = edi; /* 0x2B0645A6: mov ecx, edi */ 12322 RECOMP_ICALL(0x2B064360u); /* 0x2B0645A8: call 0x2b064360 */ /* not lifted */ 12323 RECOMP_FLAGS_IN(); 12324 L_2B0645AD: 12325 ecx = MEM32(ebp + (-0xC)); /* 0x2B0645AD: mov ecx, dword ptr [ebp - 0xc] */ 12326 edi = POP32_VAL(esp); /* 0x2B0645B0: pop edi */ 12327 esi = POP32_VAL(esp); /* 0x2B0645B1: pop esi */ 12328 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0645B2: mov dword ptr fs:[0], ecx */ 12329 ebx = POP32_VAL(esp); /* 0x2B0645B9: pop ebx */ 12330 esp = ebp; /* 0x2B0645BA: mov esp, ebp */ 12331 ebp = POP32_VAL(esp); /* 0x2B0645BC: pop ebp */ 12332 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0645BD: ret */ 12333 RECOMP_REGS_OUT(); 12334 } 12335 12336 void sub_2B0645C0(void) { 12337 int _fpu_cmp = 0; 12338 uint32_t _cf = 0; 12339 int _df = 1; 12340 uint32_t _flag_k = FK_NONE; 12341 uint32_t _flag_a = 0, _flag_b = 0; 12342 uint32_t _itail_tgt = 0; 12343 RECOMP_REGS_LOCALS 12344 RECOMP_ENTER(0x2B0645C0u); 12345 12346 L_2B0645C0: 12347 PUSH32(esp, ebp); /* 0x2B0645C0: push ebp */ 12348 ebp = esp; /* 0x2B0645C1: mov ebp, esp */ 12349 eax = MEM32(FS_BASE + (0)); /* 0x2B0645C3: mov eax, dword ptr fs:[0] */ 12350 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0645C9: push -1 */ 12351 PUSH32(esp, 0x2B0B0A1Bu); /* 0x2B0645CB: push 0x2b0b0a1b */ 12352 PUSH32(esp, eax); /* 0x2B0645D0: push eax */ 12353 MEM32(FS_BASE + (0)) = esp; /* 0x2B0645D1: mov dword ptr fs:[0], esp */ 12354 PUSH32(esp, ebx); /* 0x2B0645D8: push ebx */ 12355 PUSH32(esp, esi); /* 0x2B0645D9: push esi */ 12356 PUSH32(esp, edi); /* 0x2B0645DA: push edi */ 12357 edi = MEM32(ebp + 0x8); /* 0x2B0645DB: mov edi, dword ptr [ebp + 8] */ 12358 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12359 ebx = 0; /* 0x2B0645DE: xor ebx, ebx */ 12360 _cf = 0; 12361 _flag_k = FK_TEST; 12362 /* cmp edi, ebx */ /* 0x2B0645E0: cmp edi, ebx */ 12363 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 12364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12365 _flag_k = FK_CMP; 12366 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064687; /* 0x2B0645E2: je 0x2b064687 */ 12367 L_2B0645E8: 12368 eax = MEM32(ebp + 0xC); /* 0x2B0645E8: mov eax, dword ptr [ebp + 0xc] */ 12369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12371 eax = eax - ebx; /* 0x2B0645EB: sub eax, ebx */ 12372 _flag_k = FK_CMP; 12373 if (/* sub result */ CMP_EQ(_flag_a, _flag_b)) goto L_2B0645FB; /* 0x2B0645ED: je 0x2b0645fb */ 12374 L_2B0645EF: 12375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12376 eax = eax - 1; /* 0x2B0645EF: dec eax */ 12377 _flag_k = FK_DEC; 12378 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B064601; /* 0x2B0645F0: jne 0x2b064601 */ 12379 L_2B0645F2: 12380 MEM8(0x2B0EAF38) = (uint8_t)(1); /* 0x2B0645F2: mov byte ptr [0x2b0eaf38], 1 */ 12381 goto L_2B064601; /* 0x2B0645F9: jmp 0x2b064601 */ 12382 L_2B0645FB: 12383 MEM8(0x2B0EAF38) = (uint8_t)(LO8(ebx)); /* 0x2B0645FB: mov byte ptr [0x2b0eaf38], bl */ 12384 L_2B064601: 12385 /* cmp MEM32(edi), ebx */ /* 0x2B064601: cmp dword ptr [edi], ebx */ 12386 _flag_a = (uint32_t)(MEM32(edi)); _flag_b = (uint32_t)(ebx); 12387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12388 _flag_k = FK_CMP; 12389 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064680; /* 0x2B064603: je 0x2b064680 */ 12390 L_2B064605: 12391 ecx = edi; /* 0x2B064605: mov ecx, edi */ 12392 RECOMP_ICALL(0x2B064360u); /* 0x2B064607: call 0x2b064360 */ /* not lifted */ 12393 RECOMP_FLAGS_IN(); 12394 PUSH32(esp, 0x14u); /* 0x2B06460C: push 0x14 */ 12395 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06460E: call 0x2b0ab212 */ /* not lifted */ 12396 RECOMP_FLAGS_IN(); 12397 esi = eax; /* 0x2B064613: mov esi, eax */ 12398 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12400 esp = esp + 4; /* 0x2B064615: add esp, 4 */ 12401 _flag_k = FK_ADD; 12402 MEM32(ebp + 0xC) = esi; /* 0x2B064618: mov dword ptr [ebp + 0xc], esi */ 12403 /* cmp esi, ebx */ /* 0x2B06461B: cmp esi, ebx */ 12404 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 12405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12406 _flag_k = FK_CMP; 12407 MEM32(ebp + (-0x4)) = ebx; /* 0x2B06461D: mov dword ptr [ebp - 4], ebx */ 12408 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06467C; /* 0x2B064620: je 0x2b06467c */ 12409 L_2B064622: 12410 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B064622: mov al, byte ptr [ebp + 0xb] */ 12411 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B064625: mov cl, byte ptr [ebp + 0xb] */ 12412 PUSH32(esp, 0x20u); /* 0x2B064628: push 0x20 */ 12413 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B06462A: mov byte ptr [esi], al */ 12414 MEM8(esi + 0x1) = (uint8_t)(LO8(ecx)); /* 0x2B06462C: mov byte ptr [esi + 1], cl */ 12415 MEM8(esi + 0xC) = (uint8_t)(LO8(ebx)); /* 0x2B06462F: mov byte ptr [esi + 0xc], bl */ 12416 RECOMP_ICALL(0x2B0AB212u); /* 0x2B064632: call 0x2b0ab212 */ /* not lifted */ 12417 RECOMP_FLAGS_IN(); 12418 MEM32(eax + 0x4) = ebx; /* 0x2B064637: mov dword ptr [eax + 4], ebx */ 12419 MEM8(eax + 0x1C) = (uint8_t)(1); /* 0x2B06463A: mov byte ptr [eax + 0x1c], 1 */ 12420 MEM8(eax + 0x1D) = (uint8_t)(LO8(ebx)); /* 0x2B06463E: mov byte ptr [eax + 0x1d], bl */ 12421 MEM32(esi + 0x8) = eax; /* 0x2B064641: mov dword ptr [esi + 8], eax */ 12422 MEM8(eax + 0x1D) = (uint8_t)(1); /* 0x2B064644: mov byte ptr [eax + 0x1d], 1 */ 12423 edx = MEM32(esi + 0x8); /* 0x2B064648: mov edx, dword ptr [esi + 8] */ 12424 MEM32(edx) = ebx; /* 0x2B06464B: mov dword ptr [edx], ebx */ 12425 eax = MEM32(esi + 0x8); /* 0x2B06464D: mov eax, dword ptr [esi + 8] */ 12426 MEM32(eax + 0x8) = ebx; /* 0x2B064650: mov dword ptr [eax + 8], ebx */ 12427 edi = MEM32(esi + 0x8); /* 0x2B064653: mov edi, dword ptr [esi + 8] */ 12428 PUSH32(esp, 0x20u); /* 0x2B064656: push 0x20 */ 12429 RECOMP_ICALL(0x2B0AB212u); /* 0x2B064658: call 0x2b0ab212 */ /* not lifted */ 12430 RECOMP_FLAGS_IN(); 12431 MEM32(eax + 0x4) = edi; /* 0x2B06465D: mov dword ptr [eax + 4], edi */ 12432 edi = MEM32(ebp + 0x8); /* 0x2B064660: mov edi, dword ptr [ebp + 8] */ 12433 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064663: mov byte ptr [eax + 0x1c], bl */ 12434 MEM8(eax + 0x1D) = (uint8_t)(LO8(ebx)); /* 0x2B064666: mov byte ptr [eax + 0x1d], bl */ 12435 MEM32(esi + 0x4) = eax; /* 0x2B064669: mov dword ptr [esi + 4], eax */ 12436 MEM32(eax) = eax; /* 0x2B06466C: mov dword ptr [eax], eax */ 12437 eax = MEM32(esi + 0x4); /* 0x2B06466E: mov eax, dword ptr [esi + 4] */ 12438 MEM32(eax + 0x8) = eax; /* 0x2B064671: mov dword ptr [eax + 8], eax */ 12439 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12440 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12441 esp = esp + 8; /* 0x2B064674: add esp, 8 */ 12442 _flag_k = FK_ADD; 12443 MEM32(esi + 0x10) = ebx; /* 0x2B064677: mov dword ptr [esi + 0x10], ebx */ 12444 goto L_2B06467E; /* 0x2B06467A: jmp 0x2b06467e */ 12445 L_2B06467C: 12446 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12447 esi = 0; /* 0x2B06467C: xor esi, esi */ 12448 _cf = 0; 12449 _flag_k = FK_TEST; 12450 L_2B06467E: 12451 MEM32(edi) = esi; /* 0x2B06467E: mov dword ptr [edi], esi */ 12452 L_2B064680: 12453 MEM32(edi + 0x4) = 0x42C80000u; /* 0x2B064680: mov dword ptr [edi + 4], 0x42c80000 */ 12454 L_2B064687: 12455 ecx = MEM32(ebp + (-0xC)); /* 0x2B064687: mov ecx, dword ptr [ebp - 0xc] */ 12456 edi = POP32_VAL(esp); /* 0x2B06468A: pop edi */ 12457 esi = POP32_VAL(esp); /* 0x2B06468B: pop esi */ 12458 MEM32(FS_BASE + (0)) = ecx; /* 0x2B06468C: mov dword ptr fs:[0], ecx */ 12459 ebx = POP32_VAL(esp); /* 0x2B064693: pop ebx */ 12460 esp = ebp; /* 0x2B064694: mov esp, ebp */ 12461 ebp = POP32_VAL(esp); /* 0x2B064696: pop ebp */ 12462 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064697: ret */ 12463 RECOMP_REGS_OUT(); 12464 } 12465 12466 void sub_2B0646A0(void) { 12467 int _fpu_cmp = 0; 12468 uint32_t _cf = 0; 12469 int _df = 1; 12470 uint32_t _flag_k = FK_NONE; 12471 uint32_t _flag_a = 0, _flag_b = 0; 12472 uint32_t _itail_tgt = 0; 12473 RECOMP_REGS_LOCALS 12474 RECOMP_ENTER(0x2B0646A0u); 12475 12476 L_2B0646A0: 12477 PUSH32(esp, ebp); /* 0x2B0646A0: push ebp */ 12478 ebp = esp; /* 0x2B0646A1: mov ebp, esp */ 12479 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 12480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12481 esp = esp - 0x10u; /* 0x2B0646A3: sub esp, 0x10 */ 12482 _flag_k = FK_CMP; 12483 PUSH32(esp, ebx); /* 0x2B0646A6: push ebx */ 12484 PUSH32(esp, esi); /* 0x2B0646A7: push esi */ 12485 PUSH32(esp, edi); /* 0x2B0646A8: push edi */ 12486 edi = ecx; /* 0x2B0646A9: mov edi, ecx */ 12487 ebx = MEM32(edi + 0x4); /* 0x2B0646AB: mov ebx, dword ptr [edi + 4] */ 12488 esi = MEM32(ebx + 0x4); /* 0x2B0646AE: mov esi, dword ptr [ebx + 4] */ 12489 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0646B1: cmp esi, dword ptr [edi + 8] */ 12490 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12492 _flag_k = FK_CMP; 12493 SET_LO8(eax, 1); /* 0x2B0646B4: mov al, 1 */ 12494 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0646D6; /* 0x2B0646B6: je 0x2b0646d6 */ 12495 L_2B0646B8: 12496 ecx = MEM32(ebp + 0xC); /* 0x2B0646B8: mov ecx, dword ptr [ebp + 0xc] */ 12497 eax = esi + 0xC; /* 0x2B0646BB: lea eax, [esi + 0xc] */ 12498 PUSH32(esp, eax); /* 0x2B0646BE: push eax */ 12499 ebx = esi; /* 0x2B0646BF: mov ebx, esi */ 12500 RECOMP_ICALL(0x2B064790u); /* 0x2B0646C1: call 0x2b064790 */ /* not lifted */ 12501 RECOMP_FLAGS_IN(); 12502 /* test LO8(eax), LO8(eax) */ /* 0x2B0646C6: test al, al */ 12503 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12504 _cf = 0; 12505 _flag_k = FK_NARROW(FK_TEST, 24); 12506 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0646CE; /* 0x2B0646C8: je 0x2b0646ce */ 12507 L_2B0646CA: 12508 esi = MEM32(esi); /* 0x2B0646CA: mov esi, dword ptr [esi] */ 12509 goto L_2B0646D1; /* 0x2B0646CC: jmp 0x2b0646d1 */ 12510 L_2B0646CE: 12511 esi = MEM32(esi + 0x8); /* 0x2B0646CE: mov esi, dword ptr [esi + 8] */ 12512 L_2B0646D1: 12513 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0646D1: cmp esi, dword ptr [edi + 8] */ 12514 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12516 _flag_k = FK_CMP; 12517 RECOMP_BACKEDGE(); 12518 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0646B8; /* 0x2B0646D4: jne 0x2b0646b8 */ 12519 L_2B0646D6: 12520 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B0646D6: mov cl, byte ptr [edi + 0xc] */ 12521 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0646D9: test cl, cl */ 12522 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 12523 _cf = 0; 12524 _flag_k = FK_NARROW(FK_TEST, 24); 12525 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0646FB; /* 0x2B0646DB: je 0x2b0646fb */ 12526 L_2B0646DD: 12527 ecx = MEM32(ebp + 0xC); /* 0x2B0646DD: mov ecx, dword ptr [ebp + 0xc] */ 12528 PUSH32(esp, ecx); /* 0x2B0646E0: push ecx */ 12529 PUSH32(esp, ebx); /* 0x2B0646E1: push ebx */ 12530 PUSH32(esp, esi); /* 0x2B0646E2: push esi */ 12531 edx = ebp + (-0x8); /* 0x2B0646E3: lea edx, [ebp - 8] */ 12532 PUSH32(esp, edx); /* 0x2B0646E6: push edx */ 12533 ecx = edi; /* 0x2B0646E7: mov ecx, edi */ 12534 RECOMP_ICALL(0x2B064CA0u); /* 0x2B0646E9: call 0x2b064ca0 */ /* not lifted */ 12535 RECOMP_FLAGS_IN(); 12536 eax = MEM32(eax); /* 0x2B0646EE: mov eax, dword ptr [eax] */ 12537 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B0646F0: mov byte ptr [ebp - 0xc], 1 */ 12538 ecx = eax; /* 0x2B0646F4: mov ecx, eax */ 12539 eax = MEM32(ebp + (-0xC)); /* 0x2B0646F6: mov eax, dword ptr [ebp - 0xc] */ 12540 goto L_2B06476A; /* 0x2B0646F9: jmp 0x2b06476a */ 12541 L_2B0646FB: 12542 /* test LO8(eax), LO8(eax) */ /* 0x2B0646FB: test al, al */ 12543 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12544 _cf = 0; 12545 _flag_k = FK_NARROW(FK_TEST, 24); 12546 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0646FD: mov dword ptr [ebp - 4], ebx */ 12547 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06472F; /* 0x2B064700: je 0x2b06472f */ 12548 L_2B064702: 12549 eax = MEM32(edi + 0x4); /* 0x2B064702: mov eax, dword ptr [edi + 4] */ 12550 /* cmp ebx, MEM32(eax) */ /* 0x2B064705: cmp ebx, dword ptr [eax] */ 12551 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(eax)); 12552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12553 _flag_k = FK_CMP; 12554 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064727; /* 0x2B064707: jne 0x2b064727 */ 12555 L_2B064709: 12556 ecx = MEM32(ebp + 0xC); /* 0x2B064709: mov ecx, dword ptr [ebp + 0xc] */ 12557 PUSH32(esp, ecx); /* 0x2B06470C: push ecx */ 12558 PUSH32(esp, ebx); /* 0x2B06470D: push ebx */ 12559 PUSH32(esp, esi); /* 0x2B06470E: push esi */ 12560 edx = ebp + (-0xC); /* 0x2B06470F: lea edx, [ebp - 0xc] */ 12561 PUSH32(esp, edx); /* 0x2B064712: push edx */ 12562 ecx = edi; /* 0x2B064713: mov ecx, edi */ 12563 RECOMP_ICALL(0x2B064CA0u); /* 0x2B064715: call 0x2b064ca0 */ /* not lifted */ 12564 RECOMP_FLAGS_IN(); 12565 eax = MEM32(eax); /* 0x2B06471A: mov eax, dword ptr [eax] */ 12566 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B06471C: mov byte ptr [ebp - 0xc], 1 */ 12567 ecx = eax; /* 0x2B064720: mov ecx, eax */ 12568 eax = MEM32(ebp + (-0xC)); /* 0x2B064722: mov eax, dword ptr [ebp - 0xc] */ 12569 goto L_2B06476A; /* 0x2B064725: jmp 0x2b06476a */ 12570 L_2B064727: 12571 ecx = ebp + (-0x4); /* 0x2B064727: lea ecx, [ebp - 4] */ 12572 RECOMP_ICALL(0x2B064EE0u); /* 0x2B06472A: call 0x2b064ee0 */ /* not lifted */ 12573 RECOMP_FLAGS_IN(); 12574 L_2B06472F: 12575 eax = MEM32(ebp + (-0x4)); /* 0x2B06472F: mov eax, dword ptr [ebp - 4] */ 12576 edx = MEM32(ebp + 0xC); /* 0x2B064732: mov edx, dword ptr [ebp + 0xc] */ 12577 ecx = eax + 0xC; /* 0x2B064735: lea ecx, [eax + 0xc] */ 12578 PUSH32(esp, edx); /* 0x2B064738: push edx */ 12579 RECOMP_ICALL(0x2B064790u); /* 0x2B064739: call 0x2b064790 */ /* not lifted */ 12580 RECOMP_FLAGS_IN(); 12581 /* test LO8(eax), LO8(eax) */ /* 0x2B06473E: test al, al */ 12582 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12583 _cf = 0; 12584 _flag_k = FK_NARROW(FK_TEST, 24); 12585 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064760; /* 0x2B064740: je 0x2b064760 */ 12586 L_2B064742: 12587 eax = MEM32(ebp + 0xC); /* 0x2B064742: mov eax, dword ptr [ebp + 0xc] */ 12588 PUSH32(esp, eax); /* 0x2B064745: push eax */ 12589 PUSH32(esp, ebx); /* 0x2B064746: push ebx */ 12590 PUSH32(esp, esi); /* 0x2B064747: push esi */ 12591 ecx = ebp + 0xC; /* 0x2B064748: lea ecx, [ebp + 0xc] */ 12592 PUSH32(esp, ecx); /* 0x2B06474B: push ecx */ 12593 ecx = edi; /* 0x2B06474C: mov ecx, edi */ 12594 RECOMP_ICALL(0x2B064CA0u); /* 0x2B06474E: call 0x2b064ca0 */ /* not lifted */ 12595 RECOMP_FLAGS_IN(); 12596 eax = MEM32(eax); /* 0x2B064753: mov eax, dword ptr [eax] */ 12597 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B064755: mov byte ptr [ebp - 0xc], 1 */ 12598 ecx = eax; /* 0x2B064759: mov ecx, eax */ 12599 eax = MEM32(ebp + (-0xC)); /* 0x2B06475B: mov eax, dword ptr [ebp - 0xc] */ 12600 goto L_2B06476A; /* 0x2B06475E: jmp 0x2b06476a */ 12601 L_2B064760: 12602 ecx = MEM32(ebp + (-0x4)); /* 0x2B064760: mov ecx, dword ptr [ebp - 4] */ 12603 MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x2B064763: mov byte ptr [ebp - 0xc], 0 */ 12604 eax = MEM32(ebp + (-0xC)); /* 0x2B064767: mov eax, dword ptr [ebp - 0xc] */ 12605 L_2B06476A: 12606 MEM8(ebp + (-0xC)) = (uint8_t)(LO8(eax)); /* 0x2B06476A: mov byte ptr [ebp - 0xc], al */ 12607 eax = MEM32(ebp + 0x8); /* 0x2B06476D: mov eax, dword ptr [ebp + 8] */ 12608 edx = MEM32(ebp + (-0xC)); /* 0x2B064770: mov edx, dword ptr [ebp - 0xc] */ 12609 edi = POP32_VAL(esp); /* 0x2B064773: pop edi */ 12610 esi = POP32_VAL(esp); /* 0x2B064774: pop esi */ 12611 MEM32(eax) = ecx; /* 0x2B064775: mov dword ptr [eax], ecx */ 12612 MEM32(eax + 0x4) = edx; /* 0x2B064777: mov dword ptr [eax + 4], edx */ 12613 ebx = POP32_VAL(esp); /* 0x2B06477A: pop ebx */ 12614 esp = ebp; /* 0x2B06477B: mov esp, ebp */ 12615 ebp = POP32_VAL(esp); /* 0x2B06477D: pop ebp */ 12616 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B06477E: ret 8 */ 12617 RECOMP_REGS_OUT(); 12618 } 12619 12620 void sub_2B064790(void) { 12621 int _fpu_cmp = 0; 12622 uint32_t _cf = 0; 12623 int _df = 1; 12624 uint32_t _flag_k = FK_NONE; 12625 uint32_t _flag_a = 0, _flag_b = 0; 12626 uint32_t _itail_tgt = 0; 12627 RECOMP_REGS_LOCALS 12628 RECOMP_ENTER(0x2B064790u); 12629 12630 L_2B064790: 12631 PUSH32(esp, ebp); /* 0x2B064790: push ebp */ 12632 ebp = esp; /* 0x2B064791: mov ebp, esp */ 12633 eax = MEM32(ecx); /* 0x2B064793: mov eax, dword ptr [ecx] */ 12634 PUSH32(esp, esi); /* 0x2B064795: push esi */ 12635 esi = MEM32(ebp + 0x8); /* 0x2B064796: mov esi, dword ptr [ebp + 8] */ 12636 edx = MEM32(esi); /* 0x2B064799: mov edx, dword ptr [esi] */ 12637 /* cmp eax, edx */ /* 0x2B06479B: cmp eax, edx */ 12638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12640 _flag_k = FK_CMP; 12641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0647AE; /* 0x2B06479D: jne 0x2b0647ae */ 12642 L_2B06479F: 12643 eax = MEM32(ecx + 0x4); /* 0x2B06479F: mov eax, dword ptr [ecx + 4] */ 12644 /* cmp eax, MEM32(esi + 0x4) */ /* 0x2B0647A2: cmp eax, dword ptr [esi + 4] */ 12645 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12647 _flag_k = FK_CMP; 12648 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x2B0647A5: sbb eax, eax */ 12649 eax = _sc ? 0xFFFFFFFFu : 0; 12650 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 12651 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 12652 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 12653 _cf = (eax) != 0; 12654 eax = (uint32_t)(-(int32_t)eax); /* 0x2B0647A7: neg eax */ 12655 _flag_k = FK_CMP; 12656 esi = POP32_VAL(esp); /* 0x2B0647A9: pop esi */ 12657 ebp = POP32_VAL(esp); /* 0x2B0647AA: pop ebp */ 12658 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0647AB: ret 4 */ 12659 L_2B0647AE: 12660 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12661 ecx = 0; /* 0x2B0647AE: xor ecx, ecx */ 12662 _cf = 0; 12663 _flag_k = FK_TEST; 12664 /* cmp eax, edx */ /* 0x2B0647B0: cmp eax, edx */ 12665 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12667 _flag_k = FK_CMP; 12668 SET_LO8(ecx, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0647B2: setl cl */ 12669 SET_LO8(eax, LO8(ecx)); /* 0x2B0647B5: mov al, cl */ 12670 esi = POP32_VAL(esp); /* 0x2B0647B7: pop esi */ 12671 ebp = POP32_VAL(esp); /* 0x2B0647B8: pop ebp */ 12672 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0647B9: ret 4 */ 12673 RECOMP_REGS_OUT(); 12674 } 12675 12676 void sub_2B0647C0(void) { 12677 int _fpu_cmp = 0; 12678 uint32_t _cf = 0; 12679 int _df = 1; 12680 uint32_t _flag_k = FK_NONE; 12681 uint32_t _flag_a = 0, _flag_b = 0; 12682 uint32_t _itail_tgt = 0; 12683 RECOMP_REGS_LOCALS 12684 RECOMP_ENTER(0x2B0647C0u); 12685 12686 L_2B0647C0: 12687 PUSH32(esp, ebp); /* 0x2B0647C0: push ebp */ 12688 ebp = esp; /* 0x2B0647C1: mov ebp, esp */ 12689 PUSH32(esp, ecx); /* 0x2B0647C3: push ecx */ 12690 PUSH32(esp, ebx); /* 0x2B0647C4: push ebx */ 12691 PUSH32(esp, esi); /* 0x2B0647C5: push esi */ 12692 esi = MEM32(ebp + 0xC); /* 0x2B0647C6: mov esi, dword ptr [ebp + 0xc] */ 12693 PUSH32(esp, edi); /* 0x2B0647C9: push edi */ 12694 edi = ecx; /* 0x2B0647CA: mov edi, ecx */ 12695 ecx = ebp + 0xC; /* 0x2B0647CC: lea ecx, [ebp + 0xc] */ 12696 RECOMP_ICALL(0x2B064C10u); /* 0x2B0647CF: call 0x2b064c10 */ /* not lifted */ 12697 RECOMP_FLAGS_IN(); 12698 edx = MEM32(esi); /* 0x2B0647D4: mov edx, dword ptr [esi] */ 12699 eax = MEM32(edi + 0x8); /* 0x2B0647D6: mov eax, dword ptr [edi + 8] */ 12700 /* cmp edx, eax */ /* 0x2B0647D9: cmp edx, eax */ 12701 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 12702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12703 _flag_k = FK_CMP; 12704 MEM32(ebp + (-0x4)) = esi; /* 0x2B0647DB: mov dword ptr [ebp - 4], esi */ 12705 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064800; /* 0x2B0647DE: jne 0x2b064800 */ 12706 L_2B0647E0: 12707 eax = MEM32(esi + 0x8); /* 0x2B0647E0: mov eax, dword ptr [esi + 8] */ 12708 L_2B0647E3: 12709 ecx = MEM32(ebp + (-0x4)); /* 0x2B0647E3: mov ecx, dword ptr [ebp - 4] */ 12710 edx = MEM32(ecx + 0x4); /* 0x2B0647E6: mov edx, dword ptr [ecx + 4] */ 12711 MEM32(eax + 0x4) = edx; /* 0x2B0647E9: mov dword ptr [eax + 4], edx */ 12712 ecx = MEM32(edi + 0x4); /* 0x2B0647EC: mov ecx, dword ptr [edi + 4] */ 12713 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B0647EF: cmp dword ptr [ecx + 4], esi */ 12714 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 12715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12716 _flag_k = FK_CMP; 12717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064883; /* 0x2B0647F2: jne 0x2b064883 */ 12718 L_2B0647F8: 12719 MEM32(ecx + 0x4) = eax; /* 0x2B0647F8: mov dword ptr [ecx + 4], eax */ 12720 goto L_2B064891; /* 0x2B0647FB: jmp 0x2b064891 */ 12721 L_2B064800: 12722 ecx = MEM32(esi + 0x8); /* 0x2B064800: mov ecx, dword ptr [esi + 8] */ 12723 /* cmp ecx, eax */ /* 0x2B064803: cmp ecx, eax */ 12724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 12725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12726 _flag_k = FK_CMP; 12727 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06480B; /* 0x2B064805: jne 0x2b06480b */ 12728 L_2B064807: 12729 eax = edx; /* 0x2B064807: mov eax, edx */ 12730 RECOMP_BACKEDGE(); 12731 goto L_2B0647E3; /* 0x2B064809: jmp 0x2b0647e3 */ 12732 L_2B06480B: 12733 eax = MEM32(ecx); /* 0x2B06480B: mov eax, dword ptr [ecx] */ 12734 SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x2B06480D: mov bl, byte ptr [eax + 0x1d] */ 12735 /* test LO8(ebx), LO8(ebx) */ /* 0x2B064810: test bl, bl */ 12736 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12737 _cf = 0; 12738 _flag_k = FK_NARROW(FK_TEST, 24); 12739 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06481F; /* 0x2B064812: jne 0x2b06481f */ 12740 L_2B064814: 12741 ecx = eax; /* 0x2B064814: mov ecx, eax */ 12742 eax = MEM32(ecx); /* 0x2B064816: mov eax, dword ptr [ecx] */ 12743 SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x2B064818: mov bl, byte ptr [eax + 0x1d] */ 12744 /* test LO8(ebx), LO8(ebx) */ /* 0x2B06481B: test bl, bl */ 12745 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12746 _cf = 0; 12747 _flag_k = FK_NARROW(FK_TEST, 24); 12748 RECOMP_BACKEDGE(); 12749 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064814; /* 0x2B06481D: je 0x2b064814 */ 12750 L_2B06481F: 12751 /* cmp ecx, esi */ /* 0x2B06481F: cmp ecx, esi */ 12752 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 12753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12754 _flag_k = FK_CMP; 12755 eax = MEM32(ecx + 0x8); /* 0x2B064821: mov eax, dword ptr [ecx + 8] */ 12756 MEM32(ebp + (-0x4)) = ecx; /* 0x2B064824: mov dword ptr [ebp - 4], ecx */ 12757 RECOMP_BACKEDGE(); 12758 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0647E3; /* 0x2B064827: je 0x2b0647e3 */ 12759 L_2B064829: 12760 MEM32(edx + 0x4) = ecx; /* 0x2B064829: mov dword ptr [edx + 4], ecx */ 12761 edx = MEM32(esi); /* 0x2B06482C: mov edx, dword ptr [esi] */ 12762 MEM32(ecx) = edx; /* 0x2B06482E: mov dword ptr [ecx], edx */ 12763 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064830: cmp ecx, dword ptr [esi + 8] */ 12764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12766 _flag_k = FK_CMP; 12767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06483A; /* 0x2B064833: jne 0x2b06483a */ 12768 L_2B064835: 12769 MEM32(eax + 0x4) = ecx; /* 0x2B064835: mov dword ptr [eax + 4], ecx */ 12770 goto L_2B064851; /* 0x2B064838: jmp 0x2b064851 */ 12771 L_2B06483A: 12772 edx = MEM32(ecx + 0x4); /* 0x2B06483A: mov edx, dword ptr [ecx + 4] */ 12773 MEM32(eax + 0x4) = edx; /* 0x2B06483D: mov dword ptr [eax + 4], edx */ 12774 edx = MEM32(ecx + 0x4); /* 0x2B064840: mov edx, dword ptr [ecx + 4] */ 12775 MEM32(edx) = eax; /* 0x2B064843: mov dword ptr [edx], eax */ 12776 edx = MEM32(esi + 0x8); /* 0x2B064845: mov edx, dword ptr [esi + 8] */ 12777 MEM32(ecx + 0x8) = edx; /* 0x2B064848: mov dword ptr [ecx + 8], edx */ 12778 edx = MEM32(esi + 0x8); /* 0x2B06484B: mov edx, dword ptr [esi + 8] */ 12779 MEM32(edx + 0x4) = ecx; /* 0x2B06484E: mov dword ptr [edx + 4], ecx */ 12780 L_2B064851: 12781 edx = MEM32(edi + 0x4); /* 0x2B064851: mov edx, dword ptr [edi + 4] */ 12782 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B064854: cmp dword ptr [edx + 4], esi */ 12783 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 12784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12785 _flag_k = FK_CMP; 12786 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06485E; /* 0x2B064857: jne 0x2b06485e */ 12787 L_2B064859: 12788 MEM32(edx + 0x4) = ecx; /* 0x2B064859: mov dword ptr [edx + 4], ecx */ 12789 goto L_2B06486C; /* 0x2B06485C: jmp 0x2b06486c */ 12790 L_2B06485E: 12791 edx = MEM32(esi + 0x4); /* 0x2B06485E: mov edx, dword ptr [esi + 4] */ 12792 /* cmp MEM32(edx), esi */ /* 0x2B064861: cmp dword ptr [edx], esi */ 12793 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 12794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12795 _flag_k = FK_CMP; 12796 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064869; /* 0x2B064863: jne 0x2b064869 */ 12797 L_2B064865: 12798 MEM32(edx) = ecx; /* 0x2B064865: mov dword ptr [edx], ecx */ 12799 goto L_2B06486C; /* 0x2B064867: jmp 0x2b06486c */ 12800 L_2B064869: 12801 MEM32(edx + 0x8) = ecx; /* 0x2B064869: mov dword ptr [edx + 8], ecx */ 12802 L_2B06486C: 12803 edx = MEM32(esi + 0x4); /* 0x2B06486C: mov edx, dword ptr [esi + 4] */ 12804 MEM32(ecx + 0x4) = edx; /* 0x2B06486F: mov dword ptr [ecx + 4], edx */ 12805 SET_LO8(ebx, MEM8(esi + 0x1C)); /* 0x2B064872: mov bl, byte ptr [esi + 0x1c] */ 12806 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064875: mov dl, byte ptr [ecx + 0x1c] */ 12807 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064878: mov byte ptr [ecx + 0x1c], bl */ 12808 MEM8(esi + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B06487B: mov byte ptr [esi + 0x1c], dl */ 12809 MEM32(ebp + (-0x4)) = esi; /* 0x2B06487E: mov dword ptr [ebp - 4], esi */ 12810 goto L_2B0648E8; /* 0x2B064881: jmp 0x2b0648e8 */ 12811 L_2B064883: 12812 ecx = MEM32(esi + 0x4); /* 0x2B064883: mov ecx, dword ptr [esi + 4] */ 12813 /* cmp MEM32(ecx), esi */ /* 0x2B064886: cmp dword ptr [ecx], esi */ 12814 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 12815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12816 _flag_k = FK_CMP; 12817 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06488E; /* 0x2B064888: jne 0x2b06488e */ 12818 L_2B06488A: 12819 MEM32(ecx) = eax; /* 0x2B06488A: mov dword ptr [ecx], eax */ 12820 goto L_2B064891; /* 0x2B06488C: jmp 0x2b064891 */ 12821 L_2B06488E: 12822 MEM32(ecx + 0x8) = eax; /* 0x2B06488E: mov dword ptr [ecx + 8], eax */ 12823 L_2B064891: 12824 ebx = MEM32(edi + 0x4); /* 0x2B064891: mov ebx, dword ptr [edi + 4] */ 12825 /* cmp MEM32(ebx), esi */ /* 0x2B064894: cmp dword ptr [ebx], esi */ 12826 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 12827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12828 _flag_k = FK_CMP; 12829 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648BB; /* 0x2B064896: jne 0x2b0648bb */ 12830 L_2B064898: 12831 ecx = MEM32(esi + 0x8); /* 0x2B064898: mov ecx, dword ptr [esi + 8] */ 12832 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B06489B: cmp ecx, dword ptr [edi + 8] */ 12833 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12835 _flag_k = FK_CMP; 12836 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648A5; /* 0x2B06489E: jne 0x2b0648a5 */ 12837 L_2B0648A0: 12838 edx = MEM32(esi + 0x4); /* 0x2B0648A0: mov edx, dword ptr [esi + 4] */ 12839 goto L_2B0648B9; /* 0x2B0648A3: jmp 0x2b0648b9 */ 12840 L_2B0648A5: 12841 ecx = MEM32(eax); /* 0x2B0648A5: mov ecx, dword ptr [eax] */ 12842 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648A7: cmp byte ptr [ecx + 0x1d], 0 */ 12843 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 12844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12845 _flag_k = FK_NARROW(FK_CMP, 24); 12846 edx = eax; /* 0x2B0648AB: mov edx, eax */ 12847 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648B9; /* 0x2B0648AD: jne 0x2b0648b9 */ 12848 L_2B0648AF: 12849 edx = ecx; /* 0x2B0648AF: mov edx, ecx */ 12850 ecx = MEM32(edx); /* 0x2B0648B1: mov ecx, dword ptr [edx] */ 12851 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648B3: cmp byte ptr [ecx + 0x1d], 0 */ 12852 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 12853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12854 _flag_k = FK_NARROW(FK_CMP, 24); 12855 RECOMP_BACKEDGE(); 12856 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0648AF; /* 0x2B0648B7: je 0x2b0648af */ 12857 L_2B0648B9: 12858 MEM32(ebx) = edx; /* 0x2B0648B9: mov dword ptr [ebx], edx */ 12859 L_2B0648BB: 12860 ebx = MEM32(edi + 0x4); /* 0x2B0648BB: mov ebx, dword ptr [edi + 4] */ 12861 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B0648BE: cmp dword ptr [ebx + 8], esi */ 12862 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 12863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12864 _flag_k = FK_CMP; 12865 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648E8; /* 0x2B0648C1: jne 0x2b0648e8 */ 12866 L_2B0648C3: 12867 ecx = MEM32(esi); /* 0x2B0648C3: mov ecx, dword ptr [esi] */ 12868 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B0648C5: cmp ecx, dword ptr [edi + 8] */ 12869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12871 _flag_k = FK_CMP; 12872 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648CF; /* 0x2B0648C8: jne 0x2b0648cf */ 12873 L_2B0648CA: 12874 edx = MEM32(esi + 0x4); /* 0x2B0648CA: mov edx, dword ptr [esi + 4] */ 12875 goto L_2B0648E5; /* 0x2B0648CD: jmp 0x2b0648e5 */ 12876 L_2B0648CF: 12877 ecx = MEM32(eax + 0x8); /* 0x2B0648CF: mov ecx, dword ptr [eax + 8] */ 12878 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648D2: cmp byte ptr [ecx + 0x1d], 0 */ 12879 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 12880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12881 _flag_k = FK_NARROW(FK_CMP, 24); 12882 edx = eax; /* 0x2B0648D6: mov edx, eax */ 12883 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648E5; /* 0x2B0648D8: jne 0x2b0648e5 */ 12884 L_2B0648DA: 12885 edx = ecx; /* 0x2B0648DA: mov edx, ecx */ 12886 ecx = MEM32(edx + 0x8); /* 0x2B0648DC: mov ecx, dword ptr [edx + 8] */ 12887 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648DF: cmp byte ptr [ecx + 0x1d], 0 */ 12888 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 12889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12890 _flag_k = FK_NARROW(FK_CMP, 24); 12891 RECOMP_BACKEDGE(); 12892 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0648DA; /* 0x2B0648E3: je 0x2b0648da */ 12893 L_2B0648E5: 12894 MEM32(ebx + 0x8) = edx; /* 0x2B0648E5: mov dword ptr [ebx + 8], edx */ 12895 L_2B0648E8: 12896 ecx = MEM32(ebp + (-0x4)); /* 0x2B0648E8: mov ecx, dword ptr [ebp - 4] */ 12897 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B0648EB: mov dl, byte ptr [ecx + 0x1c] */ 12898 SET_LO8(ebx, 1); /* 0x2B0648EE: mov bl, 1 */ 12899 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B0648F0: cmp dl, bl */ 12900 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12902 _flag_k = FK_NARROW(FK_CMP, 24); 12903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B55; /* 0x2B0648F2: jne 0x2b064b55 */ 12904 L_2B0648F8: 12905 edx = MEM32(edi + 0x4); /* 0x2B0648F8: mov edx, dword ptr [edi + 4] */ 12906 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0648FB: cmp eax, dword ptr [edx + 4] */ 12907 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12909 _flag_k = FK_CMP; 12910 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B0648FE: je 0x2b064b52 */ 12911 L_2B064904: 12912 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 12913 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12915 _flag_k = FK_NARROW(FK_CMP, 24); 12916 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 12917 L_2B06490D: 12918 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 12919 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 12920 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 12921 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12923 _flag_k = FK_CMP; 12924 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 12925 L_2B064916: 12926 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 12927 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 12928 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 12929 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12930 _cf = 0; 12931 _flag_k = FK_NARROW(FK_TEST, 24); 12932 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 12933 L_2B064920: 12934 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 12935 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 12936 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 12937 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 12938 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 12939 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 12940 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 12941 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 12942 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 12943 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12945 _flag_k = FK_CMP; 12946 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 12947 L_2B06493C: 12948 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 12949 L_2B06493F: 12950 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 12951 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 12952 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 12953 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 12954 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12956 _flag_k = FK_CMP; 12957 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 12958 L_2B06494D: 12959 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 12960 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 12961 L_2B064952: 12962 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 12963 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 12964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12966 _flag_k = FK_CMP; 12967 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 12968 L_2B064959: 12969 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 12970 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 12971 L_2B06495D: 12972 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 12973 L_2B064960: 12974 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 12975 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 12976 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 12977 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 12978 L_2B06496B: 12979 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 12980 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 12981 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12983 _flag_k = FK_NARROW(FK_CMP, 24); 12984 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 12985 L_2B064976: 12986 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 12987 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 12988 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12990 _flag_k = FK_NARROW(FK_CMP, 24); 12991 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 12992 L_2B064982: 12993 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 12994 L_2B064984: 12995 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 12996 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 12997 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12998 _cf = 0; 12999 _flag_k = FK_NARROW(FK_TEST, 24); 13000 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 13001 L_2B06498B: 13002 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 13003 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 13004 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 13005 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 13006 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 13007 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 13008 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 13009 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 13010 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 13011 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13013 _flag_k = FK_CMP; 13014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 13015 L_2B0649A7: 13016 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 13017 L_2B0649AA: 13018 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 13019 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 13020 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 13021 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 13022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13024 _flag_k = FK_CMP; 13025 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 13026 L_2B0649B8: 13027 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 13028 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 13029 L_2B0649BD: 13030 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 13031 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 13032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13034 _flag_k = FK_CMP; 13035 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 13036 L_2B0649C5: 13037 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 13038 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 13039 L_2B0649CA: 13040 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 13041 L_2B0649CC: 13042 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 13043 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 13044 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 13045 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 13046 L_2B0649D7: 13047 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 13048 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 13049 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13051 _flag_k = FK_NARROW(FK_CMP, 24); 13052 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 13053 L_2B0649E3: 13054 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 13055 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 13056 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13058 _flag_k = FK_NARROW(FK_CMP, 24); 13059 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 13060 L_2B0649EE: 13061 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 13062 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 13063 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 13064 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 13065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13067 _flag_k = FK_CMP; 13068 RECOMP_BACKEDGE(); 13069 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 13070 L_2B064A01: 13071 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 13072 L_2B064A06: 13073 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 13074 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 13075 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13077 _flag_k = FK_NARROW(FK_CMP, 24); 13078 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 13079 L_2B064A0E: 13080 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 13081 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 13082 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 13083 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 13084 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 13085 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 13086 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 13087 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 13088 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13090 _flag_k = FK_CMP; 13091 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 13092 L_2B064A26: 13093 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 13094 L_2B064A29: 13095 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 13096 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 13097 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 13098 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 13099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13101 _flag_k = FK_CMP; 13102 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 13103 L_2B064A37: 13104 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 13105 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 13106 L_2B064A3C: 13107 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 13108 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 13109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13111 _flag_k = FK_CMP; 13112 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 13113 L_2B064A44: 13114 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 13115 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 13116 L_2B064A49: 13117 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 13118 L_2B064A4B: 13119 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 13120 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 13121 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 13122 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 13123 L_2B064A57: 13124 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 13125 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 13126 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 13127 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 13128 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 13129 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 13130 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 13131 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 13132 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 13133 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 13134 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 13135 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 13136 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 13137 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13139 _flag_k = FK_CMP; 13140 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 13141 L_2B064A7E: 13142 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 13143 L_2B064A81: 13144 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 13145 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 13146 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 13147 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 13148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13150 _flag_k = FK_CMP; 13151 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 13152 L_2B064A8F: 13153 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 13154 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 13155 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 13156 L_2B064A99: 13157 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 13158 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 13159 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13161 _flag_k = FK_CMP; 13162 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 13163 L_2B064AA0: 13164 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 13165 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 13166 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 13167 L_2B064AA9: 13168 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 13169 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 13170 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 13171 L_2B064AB3: 13172 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 13173 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 13174 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13176 _flag_k = FK_NARROW(FK_CMP, 24); 13177 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 13178 L_2B064ABA: 13179 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 13180 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 13181 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 13182 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 13183 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 13184 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 13185 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 13186 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 13187 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13189 _flag_k = FK_CMP; 13190 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 13191 L_2B064AD3: 13192 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 13193 L_2B064AD6: 13194 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 13195 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 13196 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 13197 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 13198 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13200 _flag_k = FK_CMP; 13201 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 13202 L_2B064AE4: 13203 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 13204 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 13205 L_2B064AE9: 13206 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 13207 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 13208 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13210 _flag_k = FK_CMP; 13211 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 13212 L_2B064AF0: 13213 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 13214 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 13215 L_2B064AF4: 13216 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 13217 L_2B064AF7: 13218 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 13219 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 13220 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 13221 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 13222 L_2B064B01: 13223 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 13224 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 13225 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 13226 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 13227 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 13228 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 13229 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 13230 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 13231 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 13232 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 13233 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 13234 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 13235 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 13236 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13238 _flag_k = FK_CMP; 13239 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 13240 L_2B064B27: 13241 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 13242 L_2B064B2A: 13243 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 13244 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 13245 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 13246 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 13247 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13249 _flag_k = FK_CMP; 13250 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 13251 L_2B064B38: 13252 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 13253 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 13254 L_2B064B3D: 13255 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 13256 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 13257 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13259 _flag_k = FK_CMP; 13260 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 13261 L_2B064B45: 13262 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 13263 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 13264 L_2B064B4A: 13265 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 13266 L_2B064B4C: 13267 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 13268 L_2B064B4F: 13269 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 13270 L_2B064B52: 13271 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 13272 L_2B064B55: 13273 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 13274 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 13275 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 13276 RECOMP_FLAGS_IN(); 13277 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 13278 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 13279 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13280 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13281 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 13282 _flag_k = FK_ADD; 13283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13284 eax = eax - 1; /* 0x2B064B67: dec eax */ 13285 _flag_k = FK_DEC; 13286 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 13287 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 13288 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 13289 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 13290 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 13291 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 13292 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 13293 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 13294 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 13295 RECOMP_REGS_OUT(); 13296 } 13297 13298 void sub_2B064891(void) { 13299 int _fpu_cmp = 0; 13300 uint32_t _cf = 0; 13301 int _df = 1; 13302 uint32_t _flag_k = FK_NONE; 13303 uint32_t _flag_a = 0, _flag_b = 0; 13304 uint32_t _itail_tgt = 0; 13305 RECOMP_REGS_LOCALS 13306 RECOMP_ENTER(0x2B064891u); 13307 13308 L_2B064891: 13309 ebx = MEM32(edi + 0x4); /* 0x2B064891: mov ebx, dword ptr [edi + 4] */ 13310 /* cmp MEM32(ebx), esi */ /* 0x2B064894: cmp dword ptr [ebx], esi */ 13311 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 13312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13313 _flag_k = FK_CMP; 13314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648BB; /* 0x2B064896: jne 0x2b0648bb */ 13315 L_2B064898: 13316 ecx = MEM32(esi + 0x8); /* 0x2B064898: mov ecx, dword ptr [esi + 8] */ 13317 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B06489B: cmp ecx, dword ptr [edi + 8] */ 13318 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13320 _flag_k = FK_CMP; 13321 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648A5; /* 0x2B06489E: jne 0x2b0648a5 */ 13322 L_2B0648A0: 13323 edx = MEM32(esi + 0x4); /* 0x2B0648A0: mov edx, dword ptr [esi + 4] */ 13324 goto L_2B0648B9; /* 0x2B0648A3: jmp 0x2b0648b9 */ 13325 L_2B0648A5: 13326 ecx = MEM32(eax); /* 0x2B0648A5: mov ecx, dword ptr [eax] */ 13327 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648A7: cmp byte ptr [ecx + 0x1d], 0 */ 13328 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 13329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13330 _flag_k = FK_NARROW(FK_CMP, 24); 13331 edx = eax; /* 0x2B0648AB: mov edx, eax */ 13332 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648B9; /* 0x2B0648AD: jne 0x2b0648b9 */ 13333 L_2B0648AF: 13334 edx = ecx; /* 0x2B0648AF: mov edx, ecx */ 13335 ecx = MEM32(edx); /* 0x2B0648B1: mov ecx, dword ptr [edx] */ 13336 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648B3: cmp byte ptr [ecx + 0x1d], 0 */ 13337 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 13338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13339 _flag_k = FK_NARROW(FK_CMP, 24); 13340 RECOMP_BACKEDGE(); 13341 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0648AF; /* 0x2B0648B7: je 0x2b0648af */ 13342 L_2B0648B9: 13343 MEM32(ebx) = edx; /* 0x2B0648B9: mov dword ptr [ebx], edx */ 13344 L_2B0648BB: 13345 ebx = MEM32(edi + 0x4); /* 0x2B0648BB: mov ebx, dword ptr [edi + 4] */ 13346 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B0648BE: cmp dword ptr [ebx + 8], esi */ 13347 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 13348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13349 _flag_k = FK_CMP; 13350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648E8; /* 0x2B0648C1: jne 0x2b0648e8 */ 13351 L_2B0648C3: 13352 ecx = MEM32(esi); /* 0x2B0648C3: mov ecx, dword ptr [esi] */ 13353 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B0648C5: cmp ecx, dword ptr [edi + 8] */ 13354 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13356 _flag_k = FK_CMP; 13357 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648CF; /* 0x2B0648C8: jne 0x2b0648cf */ 13358 L_2B0648CA: 13359 edx = MEM32(esi + 0x4); /* 0x2B0648CA: mov edx, dword ptr [esi + 4] */ 13360 goto L_2B0648E5; /* 0x2B0648CD: jmp 0x2b0648e5 */ 13361 L_2B0648CF: 13362 ecx = MEM32(eax + 0x8); /* 0x2B0648CF: mov ecx, dword ptr [eax + 8] */ 13363 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648D2: cmp byte ptr [ecx + 0x1d], 0 */ 13364 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 13365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13366 _flag_k = FK_NARROW(FK_CMP, 24); 13367 edx = eax; /* 0x2B0648D6: mov edx, eax */ 13368 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648E5; /* 0x2B0648D8: jne 0x2b0648e5 */ 13369 L_2B0648DA: 13370 edx = ecx; /* 0x2B0648DA: mov edx, ecx */ 13371 ecx = MEM32(edx + 0x8); /* 0x2B0648DC: mov ecx, dword ptr [edx + 8] */ 13372 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648DF: cmp byte ptr [ecx + 0x1d], 0 */ 13373 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 13374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13375 _flag_k = FK_NARROW(FK_CMP, 24); 13376 RECOMP_BACKEDGE(); 13377 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0648DA; /* 0x2B0648E3: je 0x2b0648da */ 13378 L_2B0648E5: 13379 MEM32(ebx + 0x8) = edx; /* 0x2B0648E5: mov dword ptr [ebx + 8], edx */ 13380 L_2B0648E8: 13381 ecx = MEM32(ebp + (-0x4)); /* 0x2B0648E8: mov ecx, dword ptr [ebp - 4] */ 13382 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B0648EB: mov dl, byte ptr [ecx + 0x1c] */ 13383 SET_LO8(ebx, 1); /* 0x2B0648EE: mov bl, 1 */ 13384 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B0648F0: cmp dl, bl */ 13385 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13387 _flag_k = FK_NARROW(FK_CMP, 24); 13388 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B55; /* 0x2B0648F2: jne 0x2b064b55 */ 13389 L_2B0648F8: 13390 edx = MEM32(edi + 0x4); /* 0x2B0648F8: mov edx, dword ptr [edi + 4] */ 13391 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0648FB: cmp eax, dword ptr [edx + 4] */ 13392 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13394 _flag_k = FK_CMP; 13395 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B0648FE: je 0x2b064b52 */ 13396 L_2B064904: 13397 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 13398 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13400 _flag_k = FK_NARROW(FK_CMP, 24); 13401 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 13402 L_2B06490D: 13403 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 13404 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 13405 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 13406 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13408 _flag_k = FK_CMP; 13409 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 13410 L_2B064916: 13411 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 13412 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 13413 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 13414 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13415 _cf = 0; 13416 _flag_k = FK_NARROW(FK_TEST, 24); 13417 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 13418 L_2B064920: 13419 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 13420 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 13421 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 13422 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 13423 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 13424 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 13425 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 13426 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 13427 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 13428 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13430 _flag_k = FK_CMP; 13431 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 13432 L_2B06493C: 13433 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 13434 L_2B06493F: 13435 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 13436 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 13437 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 13438 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 13439 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13441 _flag_k = FK_CMP; 13442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 13443 L_2B06494D: 13444 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 13445 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 13446 L_2B064952: 13447 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 13448 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 13449 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13451 _flag_k = FK_CMP; 13452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 13453 L_2B064959: 13454 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 13455 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 13456 L_2B06495D: 13457 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 13458 L_2B064960: 13459 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 13460 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 13461 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 13462 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 13463 L_2B06496B: 13464 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 13465 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 13466 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13468 _flag_k = FK_NARROW(FK_CMP, 24); 13469 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 13470 L_2B064976: 13471 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 13472 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 13473 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13475 _flag_k = FK_NARROW(FK_CMP, 24); 13476 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 13477 L_2B064982: 13478 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 13479 L_2B064984: 13480 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 13481 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 13482 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13483 _cf = 0; 13484 _flag_k = FK_NARROW(FK_TEST, 24); 13485 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 13486 L_2B06498B: 13487 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 13488 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 13489 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 13490 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 13491 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 13492 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 13493 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 13494 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 13495 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 13496 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13498 _flag_k = FK_CMP; 13499 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 13500 L_2B0649A7: 13501 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 13502 L_2B0649AA: 13503 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 13504 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 13505 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 13506 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 13507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13509 _flag_k = FK_CMP; 13510 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 13511 L_2B0649B8: 13512 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 13513 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 13514 L_2B0649BD: 13515 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 13516 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 13517 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13519 _flag_k = FK_CMP; 13520 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 13521 L_2B0649C5: 13522 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 13523 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 13524 L_2B0649CA: 13525 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 13526 L_2B0649CC: 13527 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 13528 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 13529 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 13530 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 13531 L_2B0649D7: 13532 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 13533 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 13534 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13536 _flag_k = FK_NARROW(FK_CMP, 24); 13537 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 13538 L_2B0649E3: 13539 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 13540 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 13541 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13543 _flag_k = FK_NARROW(FK_CMP, 24); 13544 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 13545 L_2B0649EE: 13546 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 13547 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 13548 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 13549 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 13550 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13552 _flag_k = FK_CMP; 13553 RECOMP_BACKEDGE(); 13554 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 13555 L_2B064A01: 13556 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 13557 L_2B064A06: 13558 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 13559 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 13560 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13562 _flag_k = FK_NARROW(FK_CMP, 24); 13563 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 13564 L_2B064A0E: 13565 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 13566 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 13567 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 13568 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 13569 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 13570 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 13571 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 13572 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 13573 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13575 _flag_k = FK_CMP; 13576 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 13577 L_2B064A26: 13578 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 13579 L_2B064A29: 13580 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 13581 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 13582 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 13583 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 13584 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13586 _flag_k = FK_CMP; 13587 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 13588 L_2B064A37: 13589 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 13590 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 13591 L_2B064A3C: 13592 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 13593 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 13594 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13596 _flag_k = FK_CMP; 13597 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 13598 L_2B064A44: 13599 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 13600 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 13601 L_2B064A49: 13602 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 13603 L_2B064A4B: 13604 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 13605 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 13606 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 13607 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 13608 L_2B064A57: 13609 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 13610 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 13611 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 13612 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 13613 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 13614 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 13615 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 13616 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 13617 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 13618 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 13619 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 13620 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 13621 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 13622 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13624 _flag_k = FK_CMP; 13625 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 13626 L_2B064A7E: 13627 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 13628 L_2B064A81: 13629 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 13630 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 13631 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 13632 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 13633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13635 _flag_k = FK_CMP; 13636 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 13637 L_2B064A8F: 13638 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 13639 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 13640 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 13641 L_2B064A99: 13642 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 13643 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 13644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13646 _flag_k = FK_CMP; 13647 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 13648 L_2B064AA0: 13649 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 13650 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 13651 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 13652 L_2B064AA9: 13653 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 13654 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 13655 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 13656 L_2B064AB3: 13657 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 13658 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 13659 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13661 _flag_k = FK_NARROW(FK_CMP, 24); 13662 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 13663 L_2B064ABA: 13664 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 13665 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 13666 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 13667 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 13668 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 13669 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 13670 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 13671 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 13672 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13674 _flag_k = FK_CMP; 13675 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 13676 L_2B064AD3: 13677 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 13678 L_2B064AD6: 13679 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 13680 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 13681 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 13682 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 13683 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13685 _flag_k = FK_CMP; 13686 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 13687 L_2B064AE4: 13688 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 13689 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 13690 L_2B064AE9: 13691 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 13692 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 13693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13695 _flag_k = FK_CMP; 13696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 13697 L_2B064AF0: 13698 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 13699 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 13700 L_2B064AF4: 13701 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 13702 L_2B064AF7: 13703 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 13704 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 13705 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 13706 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 13707 L_2B064B01: 13708 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 13709 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 13710 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 13711 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 13712 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 13713 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 13714 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 13715 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 13716 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 13717 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 13718 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 13719 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 13720 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 13721 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13723 _flag_k = FK_CMP; 13724 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 13725 L_2B064B27: 13726 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 13727 L_2B064B2A: 13728 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 13729 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 13730 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 13731 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 13732 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13734 _flag_k = FK_CMP; 13735 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 13736 L_2B064B38: 13737 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 13738 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 13739 L_2B064B3D: 13740 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 13741 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 13742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13744 _flag_k = FK_CMP; 13745 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 13746 L_2B064B45: 13747 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 13748 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 13749 L_2B064B4A: 13750 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 13751 L_2B064B4C: 13752 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 13753 L_2B064B4F: 13754 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 13755 L_2B064B52: 13756 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 13757 L_2B064B55: 13758 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 13759 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 13760 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 13761 RECOMP_FLAGS_IN(); 13762 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 13763 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 13764 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13765 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13766 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 13767 _flag_k = FK_ADD; 13768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13769 eax = eax - 1; /* 0x2B064B67: dec eax */ 13770 _flag_k = FK_DEC; 13771 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 13772 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 13773 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 13774 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 13775 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 13776 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 13777 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 13778 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 13779 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 13780 RECOMP_REGS_OUT(); 13781 } 13782 13783 void sub_2B0648B9(void) { 13784 int _fpu_cmp = 0; 13785 uint32_t _cf = 0; 13786 int _df = 1; 13787 uint32_t _flag_k = FK_NONE; 13788 uint32_t _flag_a = 0, _flag_b = 0; 13789 uint32_t _itail_tgt = 0; 13790 RECOMP_REGS_LOCALS 13791 RECOMP_ENTER(0x2B0648B9u); 13792 13793 L_2B0648B9: 13794 MEM32(ebx) = edx; /* 0x2B0648B9: mov dword ptr [ebx], edx */ 13795 ebx = MEM32(edi + 0x4); /* 0x2B0648BB: mov ebx, dword ptr [edi + 4] */ 13796 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B0648BE: cmp dword ptr [ebx + 8], esi */ 13797 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 13798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13799 _flag_k = FK_CMP; 13800 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648E8; /* 0x2B0648C1: jne 0x2b0648e8 */ 13801 L_2B0648C3: 13802 ecx = MEM32(esi); /* 0x2B0648C3: mov ecx, dword ptr [esi] */ 13803 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B0648C5: cmp ecx, dword ptr [edi + 8] */ 13804 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13806 _flag_k = FK_CMP; 13807 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648CF; /* 0x2B0648C8: jne 0x2b0648cf */ 13808 L_2B0648CA: 13809 edx = MEM32(esi + 0x4); /* 0x2B0648CA: mov edx, dword ptr [esi + 4] */ 13810 goto L_2B0648E5; /* 0x2B0648CD: jmp 0x2b0648e5 */ 13811 L_2B0648CF: 13812 ecx = MEM32(eax + 0x8); /* 0x2B0648CF: mov ecx, dword ptr [eax + 8] */ 13813 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648D2: cmp byte ptr [ecx + 0x1d], 0 */ 13814 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 13815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13816 _flag_k = FK_NARROW(FK_CMP, 24); 13817 edx = eax; /* 0x2B0648D6: mov edx, eax */ 13818 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0648E5; /* 0x2B0648D8: jne 0x2b0648e5 */ 13819 L_2B0648DA: 13820 edx = ecx; /* 0x2B0648DA: mov edx, ecx */ 13821 ecx = MEM32(edx + 0x8); /* 0x2B0648DC: mov ecx, dword ptr [edx + 8] */ 13822 /* cmp MEM8(ecx + 0x1D), 0 */ /* 0x2B0648DF: cmp byte ptr [ecx + 0x1d], 0 */ 13823 _flag_a = (uint32_t)(MEM8(ecx + 0x1D)) << 24; _flag_b = (uint32_t)(0) << 24; 13824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13825 _flag_k = FK_NARROW(FK_CMP, 24); 13826 RECOMP_BACKEDGE(); 13827 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0648DA; /* 0x2B0648E3: je 0x2b0648da */ 13828 L_2B0648E5: 13829 MEM32(ebx + 0x8) = edx; /* 0x2B0648E5: mov dword ptr [ebx + 8], edx */ 13830 L_2B0648E8: 13831 ecx = MEM32(ebp + (-0x4)); /* 0x2B0648E8: mov ecx, dword ptr [ebp - 4] */ 13832 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B0648EB: mov dl, byte ptr [ecx + 0x1c] */ 13833 SET_LO8(ebx, 1); /* 0x2B0648EE: mov bl, 1 */ 13834 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B0648F0: cmp dl, bl */ 13835 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13837 _flag_k = FK_NARROW(FK_CMP, 24); 13838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B55; /* 0x2B0648F2: jne 0x2b064b55 */ 13839 L_2B0648F8: 13840 edx = MEM32(edi + 0x4); /* 0x2B0648F8: mov edx, dword ptr [edi + 4] */ 13841 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0648FB: cmp eax, dword ptr [edx + 4] */ 13842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13844 _flag_k = FK_CMP; 13845 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B0648FE: je 0x2b064b52 */ 13846 L_2B064904: 13847 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 13848 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13850 _flag_k = FK_NARROW(FK_CMP, 24); 13851 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 13852 L_2B06490D: 13853 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 13854 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 13855 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 13856 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13858 _flag_k = FK_CMP; 13859 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 13860 L_2B064916: 13861 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 13862 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 13863 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 13864 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13865 _cf = 0; 13866 _flag_k = FK_NARROW(FK_TEST, 24); 13867 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 13868 L_2B064920: 13869 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 13870 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 13871 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 13872 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 13873 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 13874 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 13875 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 13876 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 13877 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 13878 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13880 _flag_k = FK_CMP; 13881 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 13882 L_2B06493C: 13883 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 13884 L_2B06493F: 13885 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 13886 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 13887 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 13888 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 13889 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13891 _flag_k = FK_CMP; 13892 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 13893 L_2B06494D: 13894 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 13895 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 13896 L_2B064952: 13897 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 13898 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 13899 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13901 _flag_k = FK_CMP; 13902 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 13903 L_2B064959: 13904 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 13905 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 13906 L_2B06495D: 13907 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 13908 L_2B064960: 13909 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 13910 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 13911 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 13912 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 13913 L_2B06496B: 13914 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 13915 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 13916 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13918 _flag_k = FK_NARROW(FK_CMP, 24); 13919 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 13920 L_2B064976: 13921 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 13922 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 13923 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13925 _flag_k = FK_NARROW(FK_CMP, 24); 13926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 13927 L_2B064982: 13928 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 13929 L_2B064984: 13930 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 13931 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 13932 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13933 _cf = 0; 13934 _flag_k = FK_NARROW(FK_TEST, 24); 13935 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 13936 L_2B06498B: 13937 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 13938 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 13939 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 13940 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 13941 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 13942 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 13943 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 13944 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 13945 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 13946 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13948 _flag_k = FK_CMP; 13949 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 13950 L_2B0649A7: 13951 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 13952 L_2B0649AA: 13953 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 13954 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 13955 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 13956 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 13957 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13959 _flag_k = FK_CMP; 13960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 13961 L_2B0649B8: 13962 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 13963 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 13964 L_2B0649BD: 13965 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 13966 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 13967 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13969 _flag_k = FK_CMP; 13970 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 13971 L_2B0649C5: 13972 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 13973 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 13974 L_2B0649CA: 13975 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 13976 L_2B0649CC: 13977 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 13978 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 13979 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 13980 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 13981 L_2B0649D7: 13982 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 13983 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 13984 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13986 _flag_k = FK_NARROW(FK_CMP, 24); 13987 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 13988 L_2B0649E3: 13989 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 13990 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 13991 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13993 _flag_k = FK_NARROW(FK_CMP, 24); 13994 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 13995 L_2B0649EE: 13996 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 13997 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 13998 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 13999 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 14000 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14002 _flag_k = FK_CMP; 14003 RECOMP_BACKEDGE(); 14004 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 14005 L_2B064A01: 14006 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 14007 L_2B064A06: 14008 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 14009 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 14010 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14012 _flag_k = FK_NARROW(FK_CMP, 24); 14013 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 14014 L_2B064A0E: 14015 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 14016 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 14017 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 14018 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 14019 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 14020 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 14021 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 14022 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 14023 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14025 _flag_k = FK_CMP; 14026 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 14027 L_2B064A26: 14028 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 14029 L_2B064A29: 14030 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 14031 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 14032 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 14033 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 14034 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14036 _flag_k = FK_CMP; 14037 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 14038 L_2B064A37: 14039 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 14040 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 14041 L_2B064A3C: 14042 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 14043 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 14044 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14046 _flag_k = FK_CMP; 14047 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 14048 L_2B064A44: 14049 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 14050 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 14051 L_2B064A49: 14052 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 14053 L_2B064A4B: 14054 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 14055 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 14056 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 14057 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 14058 L_2B064A57: 14059 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 14060 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 14061 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 14062 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 14063 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 14064 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 14065 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 14066 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 14067 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 14068 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 14069 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 14070 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 14071 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 14072 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14074 _flag_k = FK_CMP; 14075 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 14076 L_2B064A7E: 14077 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 14078 L_2B064A81: 14079 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 14080 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 14081 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 14082 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 14083 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14085 _flag_k = FK_CMP; 14086 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 14087 L_2B064A8F: 14088 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 14089 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 14090 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 14091 L_2B064A99: 14092 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 14093 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 14094 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14096 _flag_k = FK_CMP; 14097 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 14098 L_2B064AA0: 14099 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 14100 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 14101 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 14102 L_2B064AA9: 14103 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 14104 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 14105 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 14106 L_2B064AB3: 14107 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 14108 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 14109 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14111 _flag_k = FK_NARROW(FK_CMP, 24); 14112 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 14113 L_2B064ABA: 14114 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 14115 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 14116 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 14117 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 14118 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 14119 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 14120 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 14121 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 14122 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14124 _flag_k = FK_CMP; 14125 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 14126 L_2B064AD3: 14127 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 14128 L_2B064AD6: 14129 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 14130 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 14131 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 14132 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 14133 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14135 _flag_k = FK_CMP; 14136 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 14137 L_2B064AE4: 14138 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 14139 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 14140 L_2B064AE9: 14141 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 14142 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 14143 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14145 _flag_k = FK_CMP; 14146 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 14147 L_2B064AF0: 14148 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 14149 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 14150 L_2B064AF4: 14151 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 14152 L_2B064AF7: 14153 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 14154 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 14155 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 14156 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 14157 L_2B064B01: 14158 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 14159 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 14160 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 14161 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 14162 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 14163 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 14164 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 14165 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 14166 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 14167 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 14168 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 14169 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 14170 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 14171 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14173 _flag_k = FK_CMP; 14174 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 14175 L_2B064B27: 14176 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 14177 L_2B064B2A: 14178 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 14179 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 14180 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 14181 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 14182 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14184 _flag_k = FK_CMP; 14185 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 14186 L_2B064B38: 14187 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 14188 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 14189 L_2B064B3D: 14190 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 14191 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 14192 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14194 _flag_k = FK_CMP; 14195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 14196 L_2B064B45: 14197 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 14198 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 14199 L_2B064B4A: 14200 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 14201 L_2B064B4C: 14202 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 14203 L_2B064B4F: 14204 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 14205 L_2B064B52: 14206 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 14207 L_2B064B55: 14208 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 14209 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 14210 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 14211 RECOMP_FLAGS_IN(); 14212 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 14213 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 14214 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14216 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 14217 _flag_k = FK_ADD; 14218 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14219 eax = eax - 1; /* 0x2B064B67: dec eax */ 14220 _flag_k = FK_DEC; 14221 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 14222 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 14223 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 14224 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 14225 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 14226 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 14227 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 14228 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 14229 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 14230 RECOMP_REGS_OUT(); 14231 } 14232 14233 void sub_2B0648E5(void) { 14234 int _fpu_cmp = 0; 14235 uint32_t _cf = 0; 14236 int _df = 1; 14237 uint32_t _flag_k = FK_NONE; 14238 uint32_t _flag_a = 0, _flag_b = 0; 14239 uint32_t _itail_tgt = 0; 14240 RECOMP_REGS_LOCALS 14241 RECOMP_ENTER(0x2B0648E5u); 14242 14243 L_2B0648E5: 14244 MEM32(ebx + 0x8) = edx; /* 0x2B0648E5: mov dword ptr [ebx + 8], edx */ 14245 ecx = MEM32(ebp + (-0x4)); /* 0x2B0648E8: mov ecx, dword ptr [ebp - 4] */ 14246 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B0648EB: mov dl, byte ptr [ecx + 0x1c] */ 14247 SET_LO8(ebx, 1); /* 0x2B0648EE: mov bl, 1 */ 14248 /* cmp LO8(edx), LO8(ebx) */ /* 0x2B0648F0: cmp dl, bl */ 14249 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14251 _flag_k = FK_NARROW(FK_CMP, 24); 14252 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B55; /* 0x2B0648F2: jne 0x2b064b55 */ 14253 L_2B0648F8: 14254 edx = MEM32(edi + 0x4); /* 0x2B0648F8: mov edx, dword ptr [edi + 4] */ 14255 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0648FB: cmp eax, dword ptr [edx + 4] */ 14256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 14257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14258 _flag_k = FK_CMP; 14259 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B0648FE: je 0x2b064b52 */ 14260 L_2B064904: 14261 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 14262 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14264 _flag_k = FK_NARROW(FK_CMP, 24); 14265 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 14266 L_2B06490D: 14267 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 14268 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 14269 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 14270 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14272 _flag_k = FK_CMP; 14273 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 14274 L_2B064916: 14275 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 14276 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 14277 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 14278 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14279 _cf = 0; 14280 _flag_k = FK_NARROW(FK_TEST, 24); 14281 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 14282 L_2B064920: 14283 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 14284 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 14285 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 14286 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 14287 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 14288 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 14289 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 14290 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 14291 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 14292 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14294 _flag_k = FK_CMP; 14295 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 14296 L_2B06493C: 14297 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 14298 L_2B06493F: 14299 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 14300 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 14301 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 14302 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 14303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14305 _flag_k = FK_CMP; 14306 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 14307 L_2B06494D: 14308 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 14309 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 14310 L_2B064952: 14311 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 14312 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 14313 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14315 _flag_k = FK_CMP; 14316 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 14317 L_2B064959: 14318 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 14319 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 14320 L_2B06495D: 14321 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 14322 L_2B064960: 14323 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 14324 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 14325 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 14326 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 14327 L_2B06496B: 14328 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 14329 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 14330 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14332 _flag_k = FK_NARROW(FK_CMP, 24); 14333 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 14334 L_2B064976: 14335 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 14336 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 14337 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14339 _flag_k = FK_NARROW(FK_CMP, 24); 14340 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 14341 L_2B064982: 14342 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 14343 L_2B064984: 14344 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 14345 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 14346 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14347 _cf = 0; 14348 _flag_k = FK_NARROW(FK_TEST, 24); 14349 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 14350 L_2B06498B: 14351 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 14352 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 14353 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 14354 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 14355 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 14356 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 14357 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 14358 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 14359 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 14360 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14362 _flag_k = FK_CMP; 14363 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 14364 L_2B0649A7: 14365 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 14366 L_2B0649AA: 14367 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 14368 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 14369 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 14370 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 14371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14373 _flag_k = FK_CMP; 14374 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 14375 L_2B0649B8: 14376 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 14377 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 14378 L_2B0649BD: 14379 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 14380 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 14381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14383 _flag_k = FK_CMP; 14384 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 14385 L_2B0649C5: 14386 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 14387 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 14388 L_2B0649CA: 14389 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 14390 L_2B0649CC: 14391 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 14392 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 14393 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 14394 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 14395 L_2B0649D7: 14396 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 14397 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 14398 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14400 _flag_k = FK_NARROW(FK_CMP, 24); 14401 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 14402 L_2B0649E3: 14403 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 14404 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 14405 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14407 _flag_k = FK_NARROW(FK_CMP, 24); 14408 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 14409 L_2B0649EE: 14410 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 14411 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 14412 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 14413 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 14414 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14416 _flag_k = FK_CMP; 14417 RECOMP_BACKEDGE(); 14418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 14419 L_2B064A01: 14420 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 14421 L_2B064A06: 14422 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 14423 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 14424 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14426 _flag_k = FK_NARROW(FK_CMP, 24); 14427 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 14428 L_2B064A0E: 14429 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 14430 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 14431 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 14432 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 14433 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 14434 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 14435 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 14436 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 14437 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14439 _flag_k = FK_CMP; 14440 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 14441 L_2B064A26: 14442 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 14443 L_2B064A29: 14444 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 14445 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 14446 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 14447 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 14448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14450 _flag_k = FK_CMP; 14451 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 14452 L_2B064A37: 14453 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 14454 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 14455 L_2B064A3C: 14456 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 14457 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 14458 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14460 _flag_k = FK_CMP; 14461 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 14462 L_2B064A44: 14463 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 14464 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 14465 L_2B064A49: 14466 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 14467 L_2B064A4B: 14468 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 14469 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 14470 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 14471 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 14472 L_2B064A57: 14473 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 14474 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 14475 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 14476 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 14477 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 14478 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 14479 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 14480 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 14481 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 14482 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 14483 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 14484 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 14485 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 14486 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14488 _flag_k = FK_CMP; 14489 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 14490 L_2B064A7E: 14491 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 14492 L_2B064A81: 14493 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 14494 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 14495 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 14496 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 14497 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14499 _flag_k = FK_CMP; 14500 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 14501 L_2B064A8F: 14502 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 14503 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 14504 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 14505 L_2B064A99: 14506 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 14507 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 14508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14510 _flag_k = FK_CMP; 14511 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 14512 L_2B064AA0: 14513 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 14514 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 14515 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 14516 L_2B064AA9: 14517 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 14518 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 14519 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 14520 L_2B064AB3: 14521 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 14522 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 14523 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14525 _flag_k = FK_NARROW(FK_CMP, 24); 14526 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 14527 L_2B064ABA: 14528 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 14529 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 14530 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 14531 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 14532 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 14533 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 14534 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 14535 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 14536 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14538 _flag_k = FK_CMP; 14539 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 14540 L_2B064AD3: 14541 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 14542 L_2B064AD6: 14543 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 14544 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 14545 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 14546 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 14547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14549 _flag_k = FK_CMP; 14550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 14551 L_2B064AE4: 14552 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 14553 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 14554 L_2B064AE9: 14555 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 14556 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 14557 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14559 _flag_k = FK_CMP; 14560 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 14561 L_2B064AF0: 14562 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 14563 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 14564 L_2B064AF4: 14565 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 14566 L_2B064AF7: 14567 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 14568 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 14569 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 14570 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 14571 L_2B064B01: 14572 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 14573 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 14574 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 14575 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 14576 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 14577 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 14578 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 14579 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 14580 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 14581 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 14582 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 14583 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 14584 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 14585 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14587 _flag_k = FK_CMP; 14588 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 14589 L_2B064B27: 14590 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 14591 L_2B064B2A: 14592 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 14593 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 14594 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 14595 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 14596 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14598 _flag_k = FK_CMP; 14599 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 14600 L_2B064B38: 14601 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 14602 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 14603 L_2B064B3D: 14604 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 14605 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 14606 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14608 _flag_k = FK_CMP; 14609 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 14610 L_2B064B45: 14611 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 14612 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 14613 L_2B064B4A: 14614 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 14615 L_2B064B4C: 14616 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 14617 L_2B064B4F: 14618 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 14619 L_2B064B52: 14620 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 14621 L_2B064B55: 14622 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 14623 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 14624 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 14625 RECOMP_FLAGS_IN(); 14626 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 14627 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 14628 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14629 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14630 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 14631 _flag_k = FK_ADD; 14632 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14633 eax = eax - 1; /* 0x2B064B67: dec eax */ 14634 _flag_k = FK_DEC; 14635 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 14636 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 14637 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 14638 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 14639 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 14640 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 14641 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 14642 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 14643 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 14644 RECOMP_REGS_OUT(); 14645 } 14646 14647 void sub_2B064904(void) { 14648 int _fpu_cmp = 0; 14649 uint32_t _cf = 0; 14650 int _df = 1; 14651 uint32_t _flag_k = FK_NONE; 14652 uint32_t _flag_a = 0, _flag_b = 0; 14653 uint32_t _itail_tgt = 0; 14654 RECOMP_REGS_LOCALS 14655 RECOMP_ENTER(0x2B064904u); 14656 14657 L_2B064904: 14658 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 14659 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14661 _flag_k = FK_NARROW(FK_CMP, 24); 14662 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 14663 L_2B06490D: 14664 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 14665 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 14666 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 14667 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14669 _flag_k = FK_CMP; 14670 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 14671 L_2B064916: 14672 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 14673 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 14674 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 14675 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14676 _cf = 0; 14677 _flag_k = FK_NARROW(FK_TEST, 24); 14678 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 14679 L_2B064920: 14680 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 14681 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 14682 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 14683 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 14684 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 14685 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 14686 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 14687 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 14688 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 14689 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14691 _flag_k = FK_CMP; 14692 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 14693 L_2B06493C: 14694 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 14695 L_2B06493F: 14696 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 14697 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 14698 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 14699 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 14700 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14702 _flag_k = FK_CMP; 14703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 14704 L_2B06494D: 14705 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 14706 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 14707 L_2B064952: 14708 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 14709 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 14710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14712 _flag_k = FK_CMP; 14713 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 14714 L_2B064959: 14715 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 14716 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 14717 L_2B06495D: 14718 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 14719 L_2B064960: 14720 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 14721 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 14722 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 14723 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 14724 L_2B06496B: 14725 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 14726 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 14727 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14729 _flag_k = FK_NARROW(FK_CMP, 24); 14730 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 14731 L_2B064976: 14732 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 14733 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 14734 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14736 _flag_k = FK_NARROW(FK_CMP, 24); 14737 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 14738 L_2B064982: 14739 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 14740 L_2B064984: 14741 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 14742 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 14743 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14744 _cf = 0; 14745 _flag_k = FK_NARROW(FK_TEST, 24); 14746 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 14747 L_2B06498B: 14748 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 14749 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 14750 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 14751 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 14752 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 14753 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 14754 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 14755 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 14756 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 14757 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14759 _flag_k = FK_CMP; 14760 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 14761 L_2B0649A7: 14762 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 14763 L_2B0649AA: 14764 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 14765 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 14766 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 14767 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 14768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14770 _flag_k = FK_CMP; 14771 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 14772 L_2B0649B8: 14773 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 14774 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 14775 L_2B0649BD: 14776 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 14777 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 14778 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14780 _flag_k = FK_CMP; 14781 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 14782 L_2B0649C5: 14783 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 14784 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 14785 L_2B0649CA: 14786 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 14787 L_2B0649CC: 14788 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 14789 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 14790 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 14791 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 14792 L_2B0649D7: 14793 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 14794 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 14795 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14797 _flag_k = FK_NARROW(FK_CMP, 24); 14798 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 14799 L_2B0649E3: 14800 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 14801 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 14802 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14804 _flag_k = FK_NARROW(FK_CMP, 24); 14805 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 14806 L_2B0649EE: 14807 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 14808 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 14809 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 14810 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 14811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14813 _flag_k = FK_CMP; 14814 RECOMP_BACKEDGE(); 14815 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 14816 L_2B064A01: 14817 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 14818 L_2B064A06: 14819 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 14820 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 14821 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14823 _flag_k = FK_NARROW(FK_CMP, 24); 14824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 14825 L_2B064A0E: 14826 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 14827 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 14828 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 14829 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 14830 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 14831 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 14832 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 14833 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 14834 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14836 _flag_k = FK_CMP; 14837 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 14838 L_2B064A26: 14839 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 14840 L_2B064A29: 14841 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 14842 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 14843 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 14844 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 14845 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14847 _flag_k = FK_CMP; 14848 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 14849 L_2B064A37: 14850 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 14851 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 14852 L_2B064A3C: 14853 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 14854 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 14855 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14857 _flag_k = FK_CMP; 14858 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 14859 L_2B064A44: 14860 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 14861 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 14862 L_2B064A49: 14863 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 14864 L_2B064A4B: 14865 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 14866 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 14867 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 14868 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 14869 L_2B064A57: 14870 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 14871 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 14872 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 14873 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 14874 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 14875 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 14876 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 14877 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 14878 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 14879 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 14880 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 14881 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 14882 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 14883 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14885 _flag_k = FK_CMP; 14886 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 14887 L_2B064A7E: 14888 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 14889 L_2B064A81: 14890 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 14891 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 14892 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 14893 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 14894 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14896 _flag_k = FK_CMP; 14897 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 14898 L_2B064A8F: 14899 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 14900 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 14901 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 14902 L_2B064A99: 14903 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 14904 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 14905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14907 _flag_k = FK_CMP; 14908 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 14909 L_2B064AA0: 14910 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 14911 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 14912 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 14913 L_2B064AA9: 14914 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 14915 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 14916 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 14917 L_2B064AB3: 14918 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 14919 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 14920 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14922 _flag_k = FK_NARROW(FK_CMP, 24); 14923 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 14924 L_2B064ABA: 14925 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 14926 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 14927 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 14928 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 14929 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 14930 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 14931 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 14932 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 14933 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14935 _flag_k = FK_CMP; 14936 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 14937 L_2B064AD3: 14938 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 14939 L_2B064AD6: 14940 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 14941 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 14942 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 14943 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 14944 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14946 _flag_k = FK_CMP; 14947 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 14948 L_2B064AE4: 14949 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 14950 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 14951 L_2B064AE9: 14952 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 14953 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 14954 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14956 _flag_k = FK_CMP; 14957 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 14958 L_2B064AF0: 14959 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 14960 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 14961 L_2B064AF4: 14962 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 14963 L_2B064AF7: 14964 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 14965 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 14966 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 14967 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 14968 L_2B064B01: 14969 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 14970 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 14971 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 14972 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 14973 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 14974 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 14975 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 14976 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 14977 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 14978 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 14979 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 14980 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 14981 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 14982 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14984 _flag_k = FK_CMP; 14985 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 14986 L_2B064B27: 14987 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 14988 L_2B064B2A: 14989 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 14990 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 14991 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 14992 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 14993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14995 _flag_k = FK_CMP; 14996 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 14997 L_2B064B38: 14998 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 14999 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 15000 L_2B064B3D: 15001 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 15002 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 15003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15005 _flag_k = FK_CMP; 15006 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 15007 L_2B064B45: 15008 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 15009 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 15010 L_2B064B4A: 15011 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 15012 L_2B064B4C: 15013 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 15014 L_2B064B4F: 15015 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 15016 L_2B064B52: 15017 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 15018 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 15019 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 15020 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 15021 RECOMP_FLAGS_IN(); 15022 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 15023 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 15024 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15025 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15026 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 15027 _flag_k = FK_ADD; 15028 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15029 eax = eax - 1; /* 0x2B064B67: dec eax */ 15030 _flag_k = FK_DEC; 15031 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 15032 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 15033 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 15034 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 15035 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 15036 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 15037 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 15038 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 15039 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 15040 RECOMP_REGS_OUT(); 15041 } 15042 15043 void sub_2B064960(void) { 15044 int _fpu_cmp = 0; 15045 uint32_t _cf = 0; 15046 int _df = 1; 15047 uint32_t _flag_k = FK_NONE; 15048 uint32_t _flag_a = 0, _flag_b = 0; 15049 uint32_t _itail_tgt = 0; 15050 RECOMP_REGS_LOCALS 15051 RECOMP_ENTER(0x2B064960u); 15052 15053 goto L_2B064960; 15054 L_2B064904: 15055 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 15056 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15058 _flag_k = FK_NARROW(FK_CMP, 24); 15059 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 15060 L_2B06490D: 15061 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 15062 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 15063 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 15064 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15066 _flag_k = FK_CMP; 15067 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 15068 L_2B064916: 15069 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 15070 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 15071 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 15072 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15073 _cf = 0; 15074 _flag_k = FK_NARROW(FK_TEST, 24); 15075 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 15076 L_2B064920: 15077 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 15078 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 15079 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 15080 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 15081 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 15082 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 15083 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 15084 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 15085 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 15086 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15087 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15088 _flag_k = FK_CMP; 15089 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 15090 L_2B06493C: 15091 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 15092 L_2B06493F: 15093 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 15094 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 15095 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 15096 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 15097 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15099 _flag_k = FK_CMP; 15100 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 15101 L_2B06494D: 15102 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 15103 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 15104 L_2B064952: 15105 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 15106 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 15107 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15109 _flag_k = FK_CMP; 15110 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 15111 L_2B064959: 15112 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 15113 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 15114 L_2B06495D: 15115 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 15116 L_2B064960: 15117 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 15118 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 15119 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 15120 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 15121 L_2B06496B: 15122 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 15123 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 15124 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15126 _flag_k = FK_NARROW(FK_CMP, 24); 15127 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 15128 L_2B064976: 15129 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 15130 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 15131 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15133 _flag_k = FK_NARROW(FK_CMP, 24); 15134 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 15135 L_2B064982: 15136 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 15137 L_2B064984: 15138 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 15139 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 15140 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15141 _cf = 0; 15142 _flag_k = FK_NARROW(FK_TEST, 24); 15143 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 15144 L_2B06498B: 15145 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 15146 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 15147 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 15148 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 15149 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 15150 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 15151 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 15152 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 15153 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 15154 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15156 _flag_k = FK_CMP; 15157 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 15158 L_2B0649A7: 15159 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 15160 L_2B0649AA: 15161 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 15162 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 15163 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 15164 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 15165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15167 _flag_k = FK_CMP; 15168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 15169 L_2B0649B8: 15170 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 15171 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 15172 L_2B0649BD: 15173 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 15174 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 15175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15177 _flag_k = FK_CMP; 15178 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 15179 L_2B0649C5: 15180 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 15181 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 15182 L_2B0649CA: 15183 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 15184 L_2B0649CC: 15185 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 15186 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 15187 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 15188 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 15189 L_2B0649D7: 15190 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 15191 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 15192 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15194 _flag_k = FK_NARROW(FK_CMP, 24); 15195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 15196 L_2B0649E3: 15197 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 15198 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 15199 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15201 _flag_k = FK_NARROW(FK_CMP, 24); 15202 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 15203 L_2B0649EE: 15204 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 15205 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 15206 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 15207 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 15208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15210 _flag_k = FK_CMP; 15211 RECOMP_BACKEDGE(); 15212 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 15213 L_2B064A01: 15214 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 15215 L_2B064A06: 15216 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 15217 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 15218 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15220 _flag_k = FK_NARROW(FK_CMP, 24); 15221 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 15222 L_2B064A0E: 15223 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 15224 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 15225 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 15226 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 15227 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 15228 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 15229 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 15230 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 15231 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15233 _flag_k = FK_CMP; 15234 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 15235 L_2B064A26: 15236 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 15237 L_2B064A29: 15238 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 15239 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 15240 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 15241 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 15242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15244 _flag_k = FK_CMP; 15245 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 15246 L_2B064A37: 15247 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 15248 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 15249 L_2B064A3C: 15250 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 15251 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 15252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15254 _flag_k = FK_CMP; 15255 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 15256 L_2B064A44: 15257 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 15258 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 15259 L_2B064A49: 15260 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 15261 L_2B064A4B: 15262 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 15263 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 15264 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 15265 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 15266 L_2B064A57: 15267 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 15268 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 15269 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 15270 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 15271 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 15272 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 15273 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 15274 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 15275 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 15276 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 15277 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 15278 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 15279 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 15280 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15282 _flag_k = FK_CMP; 15283 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 15284 L_2B064A7E: 15285 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 15286 L_2B064A81: 15287 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 15288 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 15289 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 15290 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 15291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15293 _flag_k = FK_CMP; 15294 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 15295 L_2B064A8F: 15296 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 15297 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 15298 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 15299 L_2B064A99: 15300 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 15301 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 15302 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15304 _flag_k = FK_CMP; 15305 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 15306 L_2B064AA0: 15307 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 15308 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 15309 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 15310 L_2B064AA9: 15311 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 15312 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 15313 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 15314 L_2B064AB3: 15315 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 15316 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 15317 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15319 _flag_k = FK_NARROW(FK_CMP, 24); 15320 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 15321 L_2B064ABA: 15322 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 15323 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 15324 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 15325 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 15326 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 15327 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 15328 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 15329 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 15330 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15332 _flag_k = FK_CMP; 15333 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 15334 L_2B064AD3: 15335 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 15336 L_2B064AD6: 15337 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 15338 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 15339 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 15340 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 15341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15343 _flag_k = FK_CMP; 15344 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 15345 L_2B064AE4: 15346 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 15347 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 15348 L_2B064AE9: 15349 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 15350 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 15351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15353 _flag_k = FK_CMP; 15354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 15355 L_2B064AF0: 15356 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 15357 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 15358 L_2B064AF4: 15359 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 15360 L_2B064AF7: 15361 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 15362 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 15363 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 15364 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 15365 L_2B064B01: 15366 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 15367 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 15368 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 15369 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 15370 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 15371 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 15372 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 15373 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 15374 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 15375 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 15376 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 15377 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 15378 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 15379 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15381 _flag_k = FK_CMP; 15382 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 15383 L_2B064B27: 15384 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 15385 L_2B064B2A: 15386 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 15387 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 15388 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 15389 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 15390 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15392 _flag_k = FK_CMP; 15393 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 15394 L_2B064B38: 15395 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 15396 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 15397 L_2B064B3D: 15398 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 15399 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 15400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15402 _flag_k = FK_CMP; 15403 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 15404 L_2B064B45: 15405 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 15406 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 15407 L_2B064B4A: 15408 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 15409 L_2B064B4C: 15410 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 15411 L_2B064B4F: 15412 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 15413 L_2B064B52: 15414 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 15415 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 15416 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 15417 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 15418 RECOMP_FLAGS_IN(); 15419 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 15420 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 15421 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15422 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15423 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 15424 _flag_k = FK_ADD; 15425 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15426 eax = eax - 1; /* 0x2B064B67: dec eax */ 15427 _flag_k = FK_DEC; 15428 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 15429 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 15430 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 15431 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 15432 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 15433 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 15434 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 15435 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 15436 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 15437 RECOMP_REGS_OUT(); 15438 } 15439 15440 void sub_2B06496B(void) { 15441 int _fpu_cmp = 0; 15442 uint32_t _cf = 0; 15443 int _df = 1; 15444 uint32_t _flag_k = FK_NONE; 15445 uint32_t _flag_a = 0, _flag_b = 0; 15446 uint32_t _itail_tgt = 0; 15447 RECOMP_REGS_LOCALS 15448 RECOMP_ENTER(0x2B06496Bu); 15449 15450 goto L_2B06496B; 15451 L_2B064904: 15452 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 15453 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15455 _flag_k = FK_NARROW(FK_CMP, 24); 15456 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 15457 L_2B06490D: 15458 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 15459 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 15460 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 15461 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15463 _flag_k = FK_CMP; 15464 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 15465 L_2B064916: 15466 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 15467 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 15468 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 15469 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15470 _cf = 0; 15471 _flag_k = FK_NARROW(FK_TEST, 24); 15472 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 15473 L_2B064920: 15474 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 15475 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 15476 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 15477 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 15478 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 15479 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 15480 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 15481 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 15482 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 15483 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15485 _flag_k = FK_CMP; 15486 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 15487 L_2B06493C: 15488 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 15489 L_2B06493F: 15490 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 15491 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 15492 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 15493 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 15494 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15496 _flag_k = FK_CMP; 15497 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 15498 L_2B06494D: 15499 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 15500 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 15501 L_2B064952: 15502 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 15503 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 15504 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15506 _flag_k = FK_CMP; 15507 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 15508 L_2B064959: 15509 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 15510 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 15511 L_2B06495D: 15512 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 15513 L_2B064960: 15514 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 15515 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 15516 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 15517 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 15518 L_2B06496B: 15519 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 15520 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 15521 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15523 _flag_k = FK_NARROW(FK_CMP, 24); 15524 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 15525 L_2B064976: 15526 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 15527 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 15528 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15530 _flag_k = FK_NARROW(FK_CMP, 24); 15531 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 15532 L_2B064982: 15533 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 15534 L_2B064984: 15535 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 15536 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 15537 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15538 _cf = 0; 15539 _flag_k = FK_NARROW(FK_TEST, 24); 15540 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 15541 L_2B06498B: 15542 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 15543 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 15544 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 15545 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 15546 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 15547 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 15548 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 15549 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 15550 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 15551 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15553 _flag_k = FK_CMP; 15554 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 15555 L_2B0649A7: 15556 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 15557 L_2B0649AA: 15558 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 15559 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 15560 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 15561 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 15562 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15564 _flag_k = FK_CMP; 15565 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 15566 L_2B0649B8: 15567 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 15568 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 15569 L_2B0649BD: 15570 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 15571 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 15572 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15574 _flag_k = FK_CMP; 15575 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 15576 L_2B0649C5: 15577 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 15578 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 15579 L_2B0649CA: 15580 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 15581 L_2B0649CC: 15582 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 15583 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 15584 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 15585 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 15586 L_2B0649D7: 15587 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 15588 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 15589 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15591 _flag_k = FK_NARROW(FK_CMP, 24); 15592 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 15593 L_2B0649E3: 15594 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 15595 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 15596 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15598 _flag_k = FK_NARROW(FK_CMP, 24); 15599 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 15600 L_2B0649EE: 15601 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 15602 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 15603 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 15604 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 15605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15607 _flag_k = FK_CMP; 15608 RECOMP_BACKEDGE(); 15609 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 15610 L_2B064A01: 15611 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 15612 L_2B064A06: 15613 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 15614 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 15615 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15617 _flag_k = FK_NARROW(FK_CMP, 24); 15618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 15619 L_2B064A0E: 15620 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 15621 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 15622 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 15623 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 15624 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 15625 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 15626 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 15627 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 15628 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15630 _flag_k = FK_CMP; 15631 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 15632 L_2B064A26: 15633 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 15634 L_2B064A29: 15635 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 15636 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 15637 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 15638 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 15639 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15641 _flag_k = FK_CMP; 15642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 15643 L_2B064A37: 15644 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 15645 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 15646 L_2B064A3C: 15647 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 15648 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 15649 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15651 _flag_k = FK_CMP; 15652 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 15653 L_2B064A44: 15654 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 15655 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 15656 L_2B064A49: 15657 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 15658 L_2B064A4B: 15659 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 15660 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 15661 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 15662 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 15663 L_2B064A57: 15664 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 15665 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 15666 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 15667 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 15668 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 15669 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 15670 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 15671 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 15672 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 15673 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 15674 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 15675 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 15676 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 15677 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15679 _flag_k = FK_CMP; 15680 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 15681 L_2B064A7E: 15682 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 15683 L_2B064A81: 15684 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 15685 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 15686 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 15687 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 15688 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15690 _flag_k = FK_CMP; 15691 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 15692 L_2B064A8F: 15693 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 15694 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 15695 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 15696 L_2B064A99: 15697 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 15698 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 15699 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15701 _flag_k = FK_CMP; 15702 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 15703 L_2B064AA0: 15704 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 15705 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 15706 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 15707 L_2B064AA9: 15708 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 15709 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 15710 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 15711 L_2B064AB3: 15712 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 15713 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 15714 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15716 _flag_k = FK_NARROW(FK_CMP, 24); 15717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 15718 L_2B064ABA: 15719 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 15720 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 15721 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 15722 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 15723 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 15724 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 15725 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 15726 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 15727 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15729 _flag_k = FK_CMP; 15730 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 15731 L_2B064AD3: 15732 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 15733 L_2B064AD6: 15734 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 15735 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 15736 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 15737 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 15738 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15740 _flag_k = FK_CMP; 15741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 15742 L_2B064AE4: 15743 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 15744 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 15745 L_2B064AE9: 15746 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 15747 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 15748 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15750 _flag_k = FK_CMP; 15751 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 15752 L_2B064AF0: 15753 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 15754 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 15755 L_2B064AF4: 15756 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 15757 L_2B064AF7: 15758 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 15759 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 15760 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 15761 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 15762 L_2B064B01: 15763 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 15764 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 15765 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 15766 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 15767 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 15768 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 15769 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 15770 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 15771 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 15772 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 15773 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 15774 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 15775 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 15776 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15778 _flag_k = FK_CMP; 15779 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 15780 L_2B064B27: 15781 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 15782 L_2B064B2A: 15783 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 15784 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 15785 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 15786 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 15787 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15789 _flag_k = FK_CMP; 15790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 15791 L_2B064B38: 15792 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 15793 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 15794 L_2B064B3D: 15795 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 15796 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 15797 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15799 _flag_k = FK_CMP; 15800 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 15801 L_2B064B45: 15802 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 15803 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 15804 L_2B064B4A: 15805 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 15806 L_2B064B4C: 15807 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 15808 L_2B064B4F: 15809 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 15810 L_2B064B52: 15811 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 15812 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 15813 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 15814 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 15815 RECOMP_FLAGS_IN(); 15816 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 15817 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 15818 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15819 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15820 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 15821 _flag_k = FK_ADD; 15822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15823 eax = eax - 1; /* 0x2B064B67: dec eax */ 15824 _flag_k = FK_DEC; 15825 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 15826 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 15827 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 15828 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 15829 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 15830 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 15831 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 15832 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 15833 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 15834 RECOMP_REGS_OUT(); 15835 } 15836 15837 void sub_2B064984(void) { 15838 int _fpu_cmp = 0; 15839 uint32_t _cf = 0; 15840 int _df = 1; 15841 uint32_t _flag_k = FK_NONE; 15842 uint32_t _flag_a = 0, _flag_b = 0; 15843 uint32_t _itail_tgt = 0; 15844 RECOMP_REGS_LOCALS 15845 RECOMP_ENTER(0x2B064984u); 15846 15847 goto L_2B064984; 15848 L_2B064904: 15849 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 15850 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15852 _flag_k = FK_NARROW(FK_CMP, 24); 15853 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 15854 L_2B06490D: 15855 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 15856 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 15857 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 15858 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15860 _flag_k = FK_CMP; 15861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 15862 L_2B064916: 15863 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 15864 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 15865 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 15866 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15867 _cf = 0; 15868 _flag_k = FK_NARROW(FK_TEST, 24); 15869 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 15870 L_2B064920: 15871 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 15872 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 15873 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 15874 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 15875 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 15876 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 15877 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 15878 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 15879 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 15880 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15882 _flag_k = FK_CMP; 15883 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 15884 L_2B06493C: 15885 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 15886 L_2B06493F: 15887 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 15888 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 15889 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 15890 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 15891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15893 _flag_k = FK_CMP; 15894 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 15895 L_2B06494D: 15896 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 15897 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 15898 L_2B064952: 15899 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 15900 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 15901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15903 _flag_k = FK_CMP; 15904 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 15905 L_2B064959: 15906 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 15907 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 15908 L_2B06495D: 15909 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 15910 L_2B064960: 15911 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 15912 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 15913 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 15914 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 15915 L_2B06496B: 15916 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 15917 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 15918 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15920 _flag_k = FK_NARROW(FK_CMP, 24); 15921 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 15922 L_2B064976: 15923 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 15924 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 15925 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15927 _flag_k = FK_NARROW(FK_CMP, 24); 15928 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 15929 L_2B064982: 15930 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 15931 L_2B064984: 15932 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 15933 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 15934 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15935 _cf = 0; 15936 _flag_k = FK_NARROW(FK_TEST, 24); 15937 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 15938 L_2B06498B: 15939 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 15940 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 15941 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 15942 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 15943 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 15944 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 15945 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 15946 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 15947 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 15948 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15950 _flag_k = FK_CMP; 15951 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 15952 L_2B0649A7: 15953 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 15954 L_2B0649AA: 15955 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 15956 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 15957 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 15958 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 15959 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15961 _flag_k = FK_CMP; 15962 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 15963 L_2B0649B8: 15964 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 15965 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 15966 L_2B0649BD: 15967 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 15968 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 15969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15971 _flag_k = FK_CMP; 15972 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 15973 L_2B0649C5: 15974 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 15975 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 15976 L_2B0649CA: 15977 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 15978 L_2B0649CC: 15979 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 15980 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 15981 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 15982 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 15983 L_2B0649D7: 15984 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 15985 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 15986 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15988 _flag_k = FK_NARROW(FK_CMP, 24); 15989 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 15990 L_2B0649E3: 15991 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 15992 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 15993 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15995 _flag_k = FK_NARROW(FK_CMP, 24); 15996 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 15997 L_2B0649EE: 15998 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 15999 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 16000 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 16001 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 16002 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16004 _flag_k = FK_CMP; 16005 RECOMP_BACKEDGE(); 16006 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 16007 L_2B064A01: 16008 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 16009 L_2B064A06: 16010 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 16011 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 16012 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16014 _flag_k = FK_NARROW(FK_CMP, 24); 16015 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 16016 L_2B064A0E: 16017 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 16018 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 16019 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 16020 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 16021 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 16022 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 16023 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 16024 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 16025 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16027 _flag_k = FK_CMP; 16028 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 16029 L_2B064A26: 16030 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 16031 L_2B064A29: 16032 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 16033 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 16034 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 16035 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 16036 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16038 _flag_k = FK_CMP; 16039 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 16040 L_2B064A37: 16041 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 16042 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 16043 L_2B064A3C: 16044 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 16045 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 16046 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16048 _flag_k = FK_CMP; 16049 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 16050 L_2B064A44: 16051 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 16052 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 16053 L_2B064A49: 16054 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 16055 L_2B064A4B: 16056 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 16057 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 16058 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 16059 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 16060 L_2B064A57: 16061 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 16062 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 16063 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 16064 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 16065 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 16066 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 16067 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 16068 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 16069 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 16070 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 16071 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 16072 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 16073 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 16074 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16076 _flag_k = FK_CMP; 16077 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 16078 L_2B064A7E: 16079 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 16080 L_2B064A81: 16081 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 16082 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 16083 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 16084 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 16085 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16087 _flag_k = FK_CMP; 16088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 16089 L_2B064A8F: 16090 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 16091 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 16092 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 16093 L_2B064A99: 16094 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 16095 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 16096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16098 _flag_k = FK_CMP; 16099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 16100 L_2B064AA0: 16101 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 16102 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 16103 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 16104 L_2B064AA9: 16105 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 16106 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 16107 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 16108 L_2B064AB3: 16109 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 16110 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 16111 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16113 _flag_k = FK_NARROW(FK_CMP, 24); 16114 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 16115 L_2B064ABA: 16116 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 16117 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 16118 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 16119 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 16120 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 16121 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 16122 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 16123 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 16124 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16126 _flag_k = FK_CMP; 16127 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 16128 L_2B064AD3: 16129 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 16130 L_2B064AD6: 16131 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 16132 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 16133 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 16134 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 16135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16137 _flag_k = FK_CMP; 16138 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 16139 L_2B064AE4: 16140 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 16141 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 16142 L_2B064AE9: 16143 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 16144 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 16145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16147 _flag_k = FK_CMP; 16148 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 16149 L_2B064AF0: 16150 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 16151 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 16152 L_2B064AF4: 16153 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 16154 L_2B064AF7: 16155 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 16156 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 16157 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 16158 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 16159 L_2B064B01: 16160 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 16161 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 16162 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 16163 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 16164 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 16165 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 16166 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 16167 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 16168 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 16169 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 16170 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 16171 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 16172 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 16173 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16175 _flag_k = FK_CMP; 16176 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 16177 L_2B064B27: 16178 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 16179 L_2B064B2A: 16180 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 16181 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 16182 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 16183 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 16184 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16186 _flag_k = FK_CMP; 16187 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 16188 L_2B064B38: 16189 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 16190 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 16191 L_2B064B3D: 16192 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 16193 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 16194 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16196 _flag_k = FK_CMP; 16197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 16198 L_2B064B45: 16199 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 16200 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 16201 L_2B064B4A: 16202 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 16203 L_2B064B4C: 16204 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 16205 L_2B064B4F: 16206 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 16207 L_2B064B52: 16208 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 16209 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 16210 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 16211 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 16212 RECOMP_FLAGS_IN(); 16213 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 16214 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 16215 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16217 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 16218 _flag_k = FK_ADD; 16219 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16220 eax = eax - 1; /* 0x2B064B67: dec eax */ 16221 _flag_k = FK_DEC; 16222 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 16223 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 16224 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 16225 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 16226 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 16227 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 16228 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 16229 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 16230 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 16231 RECOMP_REGS_OUT(); 16232 } 16233 16234 void sub_2B0649CC(void) { 16235 int _fpu_cmp = 0; 16236 uint32_t _cf = 0; 16237 int _df = 1; 16238 uint32_t _flag_k = FK_NONE; 16239 uint32_t _flag_a = 0, _flag_b = 0; 16240 uint32_t _itail_tgt = 0; 16241 RECOMP_REGS_LOCALS 16242 RECOMP_ENTER(0x2B0649CCu); 16243 16244 goto L_2B0649CC; 16245 L_2B064904: 16246 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 16247 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16249 _flag_k = FK_NARROW(FK_CMP, 24); 16250 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 16251 L_2B06490D: 16252 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 16253 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 16254 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 16255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16257 _flag_k = FK_CMP; 16258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 16259 L_2B064916: 16260 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 16261 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 16262 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 16263 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16264 _cf = 0; 16265 _flag_k = FK_NARROW(FK_TEST, 24); 16266 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 16267 L_2B064920: 16268 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 16269 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 16270 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 16271 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 16272 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 16273 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 16274 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 16275 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 16276 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 16277 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16279 _flag_k = FK_CMP; 16280 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 16281 L_2B06493C: 16282 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 16283 L_2B06493F: 16284 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 16285 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 16286 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 16287 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 16288 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16290 _flag_k = FK_CMP; 16291 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 16292 L_2B06494D: 16293 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 16294 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 16295 L_2B064952: 16296 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 16297 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 16298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16300 _flag_k = FK_CMP; 16301 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 16302 L_2B064959: 16303 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 16304 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 16305 L_2B06495D: 16306 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 16307 L_2B064960: 16308 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 16309 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 16310 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 16311 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 16312 L_2B06496B: 16313 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 16314 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 16315 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16317 _flag_k = FK_NARROW(FK_CMP, 24); 16318 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 16319 L_2B064976: 16320 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 16321 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 16322 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16324 _flag_k = FK_NARROW(FK_CMP, 24); 16325 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 16326 L_2B064982: 16327 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 16328 L_2B064984: 16329 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 16330 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 16331 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16332 _cf = 0; 16333 _flag_k = FK_NARROW(FK_TEST, 24); 16334 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 16335 L_2B06498B: 16336 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 16337 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 16338 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 16339 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 16340 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 16341 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 16342 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 16343 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 16344 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 16345 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16347 _flag_k = FK_CMP; 16348 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 16349 L_2B0649A7: 16350 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 16351 L_2B0649AA: 16352 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 16353 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 16354 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 16355 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 16356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16358 _flag_k = FK_CMP; 16359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 16360 L_2B0649B8: 16361 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 16362 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 16363 L_2B0649BD: 16364 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 16365 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 16366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16368 _flag_k = FK_CMP; 16369 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 16370 L_2B0649C5: 16371 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 16372 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 16373 L_2B0649CA: 16374 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 16375 L_2B0649CC: 16376 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 16377 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 16378 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 16379 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 16380 L_2B0649D7: 16381 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 16382 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 16383 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16385 _flag_k = FK_NARROW(FK_CMP, 24); 16386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 16387 L_2B0649E3: 16388 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 16389 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 16390 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16392 _flag_k = FK_NARROW(FK_CMP, 24); 16393 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 16394 L_2B0649EE: 16395 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 16396 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 16397 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 16398 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 16399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16401 _flag_k = FK_CMP; 16402 RECOMP_BACKEDGE(); 16403 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 16404 L_2B064A01: 16405 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 16406 L_2B064A06: 16407 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 16408 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 16409 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16411 _flag_k = FK_NARROW(FK_CMP, 24); 16412 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 16413 L_2B064A0E: 16414 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 16415 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 16416 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 16417 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 16418 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 16419 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 16420 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 16421 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 16422 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16424 _flag_k = FK_CMP; 16425 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 16426 L_2B064A26: 16427 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 16428 L_2B064A29: 16429 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 16430 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 16431 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 16432 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 16433 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16435 _flag_k = FK_CMP; 16436 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 16437 L_2B064A37: 16438 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 16439 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 16440 L_2B064A3C: 16441 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 16442 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 16443 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16445 _flag_k = FK_CMP; 16446 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 16447 L_2B064A44: 16448 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 16449 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 16450 L_2B064A49: 16451 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 16452 L_2B064A4B: 16453 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 16454 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 16455 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 16456 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 16457 L_2B064A57: 16458 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 16459 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 16460 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 16461 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 16462 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 16463 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 16464 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 16465 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 16466 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 16467 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 16468 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 16469 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 16470 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 16471 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16473 _flag_k = FK_CMP; 16474 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 16475 L_2B064A7E: 16476 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 16477 L_2B064A81: 16478 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 16479 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 16480 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 16481 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 16482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16484 _flag_k = FK_CMP; 16485 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 16486 L_2B064A8F: 16487 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 16488 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 16489 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 16490 L_2B064A99: 16491 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 16492 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 16493 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16495 _flag_k = FK_CMP; 16496 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 16497 L_2B064AA0: 16498 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 16499 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 16500 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 16501 L_2B064AA9: 16502 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 16503 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 16504 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 16505 L_2B064AB3: 16506 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 16507 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 16508 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16510 _flag_k = FK_NARROW(FK_CMP, 24); 16511 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 16512 L_2B064ABA: 16513 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 16514 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 16515 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 16516 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 16517 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 16518 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 16519 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 16520 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 16521 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16523 _flag_k = FK_CMP; 16524 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 16525 L_2B064AD3: 16526 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 16527 L_2B064AD6: 16528 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 16529 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 16530 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 16531 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 16532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16534 _flag_k = FK_CMP; 16535 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 16536 L_2B064AE4: 16537 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 16538 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 16539 L_2B064AE9: 16540 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 16541 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 16542 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16544 _flag_k = FK_CMP; 16545 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 16546 L_2B064AF0: 16547 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 16548 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 16549 L_2B064AF4: 16550 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 16551 L_2B064AF7: 16552 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 16553 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 16554 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 16555 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 16556 L_2B064B01: 16557 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 16558 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 16559 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 16560 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 16561 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 16562 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 16563 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 16564 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 16565 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 16566 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 16567 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 16568 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 16569 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 16570 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16572 _flag_k = FK_CMP; 16573 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 16574 L_2B064B27: 16575 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 16576 L_2B064B2A: 16577 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 16578 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 16579 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 16580 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 16581 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16583 _flag_k = FK_CMP; 16584 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 16585 L_2B064B38: 16586 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 16587 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 16588 L_2B064B3D: 16589 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 16590 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 16591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16593 _flag_k = FK_CMP; 16594 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 16595 L_2B064B45: 16596 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 16597 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 16598 L_2B064B4A: 16599 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 16600 L_2B064B4C: 16601 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 16602 L_2B064B4F: 16603 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 16604 L_2B064B52: 16605 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 16606 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 16607 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 16608 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 16609 RECOMP_FLAGS_IN(); 16610 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 16611 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 16612 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16613 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16614 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 16615 _flag_k = FK_ADD; 16616 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16617 eax = eax - 1; /* 0x2B064B67: dec eax */ 16618 _flag_k = FK_DEC; 16619 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 16620 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 16621 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 16622 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 16623 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 16624 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 16625 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 16626 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 16627 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 16628 RECOMP_REGS_OUT(); 16629 } 16630 16631 void sub_2B0649D7(void) { 16632 int _fpu_cmp = 0; 16633 uint32_t _cf = 0; 16634 int _df = 1; 16635 uint32_t _flag_k = FK_NONE; 16636 uint32_t _flag_a = 0, _flag_b = 0; 16637 uint32_t _itail_tgt = 0; 16638 RECOMP_REGS_LOCALS 16639 RECOMP_ENTER(0x2B0649D7u); 16640 16641 goto L_2B0649D7; 16642 L_2B064904: 16643 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 16644 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16646 _flag_k = FK_NARROW(FK_CMP, 24); 16647 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 16648 L_2B06490D: 16649 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 16650 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 16651 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 16652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16654 _flag_k = FK_CMP; 16655 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 16656 L_2B064916: 16657 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 16658 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 16659 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 16660 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16661 _cf = 0; 16662 _flag_k = FK_NARROW(FK_TEST, 24); 16663 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 16664 L_2B064920: 16665 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 16666 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 16667 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 16668 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 16669 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 16670 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 16671 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 16672 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 16673 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 16674 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16676 _flag_k = FK_CMP; 16677 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 16678 L_2B06493C: 16679 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 16680 L_2B06493F: 16681 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 16682 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 16683 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 16684 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 16685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16687 _flag_k = FK_CMP; 16688 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 16689 L_2B06494D: 16690 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 16691 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 16692 L_2B064952: 16693 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 16694 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 16695 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16697 _flag_k = FK_CMP; 16698 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 16699 L_2B064959: 16700 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 16701 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 16702 L_2B06495D: 16703 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 16704 L_2B064960: 16705 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 16706 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 16707 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 16708 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 16709 L_2B06496B: 16710 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 16711 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 16712 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16714 _flag_k = FK_NARROW(FK_CMP, 24); 16715 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 16716 L_2B064976: 16717 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 16718 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 16719 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16721 _flag_k = FK_NARROW(FK_CMP, 24); 16722 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 16723 L_2B064982: 16724 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 16725 L_2B064984: 16726 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 16727 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 16728 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16729 _cf = 0; 16730 _flag_k = FK_NARROW(FK_TEST, 24); 16731 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 16732 L_2B06498B: 16733 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 16734 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 16735 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 16736 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 16737 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 16738 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 16739 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 16740 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 16741 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 16742 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16744 _flag_k = FK_CMP; 16745 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 16746 L_2B0649A7: 16747 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 16748 L_2B0649AA: 16749 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 16750 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 16751 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 16752 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 16753 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16755 _flag_k = FK_CMP; 16756 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 16757 L_2B0649B8: 16758 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 16759 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 16760 L_2B0649BD: 16761 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 16762 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 16763 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16765 _flag_k = FK_CMP; 16766 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 16767 L_2B0649C5: 16768 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 16769 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 16770 L_2B0649CA: 16771 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 16772 L_2B0649CC: 16773 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 16774 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 16775 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 16776 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 16777 L_2B0649D7: 16778 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 16779 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 16780 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16782 _flag_k = FK_NARROW(FK_CMP, 24); 16783 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 16784 L_2B0649E3: 16785 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 16786 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 16787 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16789 _flag_k = FK_NARROW(FK_CMP, 24); 16790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 16791 L_2B0649EE: 16792 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 16793 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 16794 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 16795 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 16796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16798 _flag_k = FK_CMP; 16799 RECOMP_BACKEDGE(); 16800 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 16801 L_2B064A01: 16802 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 16803 L_2B064A06: 16804 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 16805 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 16806 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16808 _flag_k = FK_NARROW(FK_CMP, 24); 16809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 16810 L_2B064A0E: 16811 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 16812 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 16813 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 16814 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 16815 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 16816 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 16817 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 16818 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 16819 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16821 _flag_k = FK_CMP; 16822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 16823 L_2B064A26: 16824 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 16825 L_2B064A29: 16826 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 16827 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 16828 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 16829 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 16830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16832 _flag_k = FK_CMP; 16833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 16834 L_2B064A37: 16835 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 16836 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 16837 L_2B064A3C: 16838 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 16839 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 16840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16842 _flag_k = FK_CMP; 16843 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 16844 L_2B064A44: 16845 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 16846 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 16847 L_2B064A49: 16848 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 16849 L_2B064A4B: 16850 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 16851 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 16852 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 16853 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 16854 L_2B064A57: 16855 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 16856 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 16857 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 16858 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 16859 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 16860 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 16861 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 16862 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 16863 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 16864 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 16865 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 16866 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 16867 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 16868 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16870 _flag_k = FK_CMP; 16871 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 16872 L_2B064A7E: 16873 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 16874 L_2B064A81: 16875 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 16876 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 16877 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 16878 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 16879 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16881 _flag_k = FK_CMP; 16882 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 16883 L_2B064A8F: 16884 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 16885 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 16886 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 16887 L_2B064A99: 16888 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 16889 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 16890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16892 _flag_k = FK_CMP; 16893 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 16894 L_2B064AA0: 16895 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 16896 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 16897 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 16898 L_2B064AA9: 16899 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 16900 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 16901 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 16902 L_2B064AB3: 16903 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 16904 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 16905 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16907 _flag_k = FK_NARROW(FK_CMP, 24); 16908 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 16909 L_2B064ABA: 16910 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 16911 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 16912 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 16913 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 16914 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 16915 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 16916 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 16917 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 16918 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16920 _flag_k = FK_CMP; 16921 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 16922 L_2B064AD3: 16923 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 16924 L_2B064AD6: 16925 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 16926 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 16927 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 16928 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 16929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16931 _flag_k = FK_CMP; 16932 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 16933 L_2B064AE4: 16934 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 16935 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 16936 L_2B064AE9: 16937 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 16938 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 16939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16941 _flag_k = FK_CMP; 16942 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 16943 L_2B064AF0: 16944 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 16945 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 16946 L_2B064AF4: 16947 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 16948 L_2B064AF7: 16949 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 16950 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 16951 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 16952 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 16953 L_2B064B01: 16954 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 16955 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 16956 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 16957 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 16958 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 16959 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 16960 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 16961 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 16962 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 16963 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 16964 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 16965 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 16966 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 16967 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16969 _flag_k = FK_CMP; 16970 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 16971 L_2B064B27: 16972 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 16973 L_2B064B2A: 16974 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 16975 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 16976 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 16977 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 16978 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16980 _flag_k = FK_CMP; 16981 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 16982 L_2B064B38: 16983 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 16984 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 16985 L_2B064B3D: 16986 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 16987 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 16988 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16990 _flag_k = FK_CMP; 16991 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 16992 L_2B064B45: 16993 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 16994 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 16995 L_2B064B4A: 16996 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 16997 L_2B064B4C: 16998 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 16999 L_2B064B4F: 17000 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 17001 L_2B064B52: 17002 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17003 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17004 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17005 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17006 RECOMP_FLAGS_IN(); 17007 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17008 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17009 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17010 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17011 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17012 _flag_k = FK_ADD; 17013 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17014 eax = eax - 1; /* 0x2B064B67: dec eax */ 17015 _flag_k = FK_DEC; 17016 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17017 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17018 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17019 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17020 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17021 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17022 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17023 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17024 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17025 RECOMP_REGS_OUT(); 17026 } 17027 17028 void sub_2B0649EE(void) { 17029 int _fpu_cmp = 0; 17030 uint32_t _cf = 0; 17031 int _df = 1; 17032 uint32_t _flag_k = FK_NONE; 17033 uint32_t _flag_a = 0, _flag_b = 0; 17034 uint32_t _itail_tgt = 0; 17035 RECOMP_REGS_LOCALS 17036 RECOMP_ENTER(0x2B0649EEu); 17037 17038 goto L_2B0649EE; 17039 L_2B064904: 17040 /* cmp MEM8(eax + 0x1C), LO8(ebx) */ /* 0x2B064904: cmp byte ptr [eax + 0x1c], bl */ 17041 _flag_a = (uint32_t)(MEM8(eax + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17043 _flag_k = FK_NARROW(FK_CMP, 24); 17044 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B52; /* 0x2B064907: jne 0x2b064b52 */ 17045 L_2B06490D: 17046 edx = MEM32(eax + 0x4); /* 0x2B06490D: mov edx, dword ptr [eax + 4] */ 17047 ecx = MEM32(edx); /* 0x2B064910: mov ecx, dword ptr [edx] */ 17048 /* cmp eax, ecx */ /* 0x2B064912: cmp eax, ecx */ 17049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17051 _flag_k = FK_CMP; 17052 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064984; /* 0x2B064914: jne 0x2b064984 */ 17053 L_2B064916: 17054 ecx = MEM32(edx + 0x8); /* 0x2B064916: mov ecx, dword ptr [edx + 8] */ 17055 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064919: mov dl, byte ptr [ecx + 0x1c] */ 17056 /* test LO8(edx), LO8(edx) */ /* 0x2B06491C: test dl, dl */ 17057 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17058 _cf = 0; 17059 _flag_k = FK_NARROW(FK_TEST, 24); 17060 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B06496B; /* 0x2B06491E: jne 0x2b06496b */ 17061 L_2B064920: 17062 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064920: mov byte ptr [ecx + 0x1c], bl */ 17063 ecx = MEM32(eax + 0x4); /* 0x2B064923: mov ecx, dword ptr [eax + 4] */ 17064 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064926: mov byte ptr [ecx + 0x1c], 0 */ 17065 ecx = MEM32(eax + 0x4); /* 0x2B06492A: mov ecx, dword ptr [eax + 4] */ 17066 edx = MEM32(ecx + 0x8); /* 0x2B06492D: mov edx, dword ptr [ecx + 8] */ 17067 esi = MEM32(edx); /* 0x2B064930: mov esi, dword ptr [edx] */ 17068 MEM32(ecx + 0x8) = esi; /* 0x2B064932: mov dword ptr [ecx + 8], esi */ 17069 esi = MEM32(edx); /* 0x2B064935: mov esi, dword ptr [edx] */ 17070 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064937: cmp esi, dword ptr [edi + 8] */ 17071 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17073 _flag_k = FK_CMP; 17074 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B06493F; /* 0x2B06493A: je 0x2b06493f */ 17075 L_2B06493C: 17076 MEM32(esi + 0x4) = ecx; /* 0x2B06493C: mov dword ptr [esi + 4], ecx */ 17077 L_2B06493F: 17078 esi = MEM32(ecx + 0x4); /* 0x2B06493F: mov esi, dword ptr [ecx + 4] */ 17079 MEM32(edx + 0x4) = esi; /* 0x2B064942: mov dword ptr [edx + 4], esi */ 17080 esi = MEM32(edi + 0x4); /* 0x2B064945: mov esi, dword ptr [edi + 4] */ 17081 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064948: cmp ecx, dword ptr [esi + 4] */ 17082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17084 _flag_k = FK_CMP; 17085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064952; /* 0x2B06494B: jne 0x2b064952 */ 17086 L_2B06494D: 17087 MEM32(esi + 0x4) = edx; /* 0x2B06494D: mov dword ptr [esi + 4], edx */ 17088 goto L_2B064960; /* 0x2B064950: jmp 0x2b064960 */ 17089 L_2B064952: 17090 esi = MEM32(ecx + 0x4); /* 0x2B064952: mov esi, dword ptr [ecx + 4] */ 17091 /* cmp ecx, MEM32(esi) */ /* 0x2B064955: cmp ecx, dword ptr [esi] */ 17092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17094 _flag_k = FK_CMP; 17095 if (CMP_NE(_flag_a, _flag_b)) goto L_2B06495D; /* 0x2B064957: jne 0x2b06495d */ 17096 L_2B064959: 17097 MEM32(esi) = edx; /* 0x2B064959: mov dword ptr [esi], edx */ 17098 goto L_2B064960; /* 0x2B06495B: jmp 0x2b064960 */ 17099 L_2B06495D: 17100 MEM32(esi + 0x8) = edx; /* 0x2B06495D: mov dword ptr [esi + 8], edx */ 17101 L_2B064960: 17102 MEM32(edx) = ecx; /* 0x2B064960: mov dword ptr [edx], ecx */ 17103 MEM32(ecx + 0x4) = edx; /* 0x2B064962: mov dword ptr [ecx + 4], edx */ 17104 edx = MEM32(eax + 0x4); /* 0x2B064965: mov edx, dword ptr [eax + 4] */ 17105 ecx = MEM32(edx + 0x8); /* 0x2B064968: mov ecx, dword ptr [edx + 8] */ 17106 L_2B06496B: 17107 edx = MEM32(ecx); /* 0x2B06496B: mov edx, dword ptr [ecx] */ 17108 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B06496D: cmp byte ptr [edx + 0x1c], bl */ 17109 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17111 _flag_k = FK_NARROW(FK_CMP, 24); 17112 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B064970: jne 0x2b064a06 */ 17113 L_2B064976: 17114 edx = MEM32(ecx + 0x8); /* 0x2B064976: mov edx, dword ptr [ecx + 8] */ 17115 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064979: cmp byte ptr [edx + 0x1c], bl */ 17116 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17118 _flag_k = FK_NARROW(FK_CMP, 24); 17119 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A06; /* 0x2B06497C: jne 0x2b064a06 */ 17120 L_2B064982: 17121 goto L_2B0649EE; /* 0x2B064982: jmp 0x2b0649ee */ 17122 L_2B064984: 17123 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064984: mov dl, byte ptr [ecx + 0x1c] */ 17124 /* test LO8(edx), LO8(edx) */ /* 0x2B064987: test dl, dl */ 17125 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17126 _cf = 0; 17127 _flag_k = FK_NARROW(FK_TEST, 24); 17128 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0649D7; /* 0x2B064989: jne 0x2b0649d7 */ 17129 L_2B06498B: 17130 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B06498B: mov byte ptr [ecx + 0x1c], bl */ 17131 ecx = MEM32(eax + 0x4); /* 0x2B06498E: mov ecx, dword ptr [eax + 4] */ 17132 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064991: mov byte ptr [ecx + 0x1c], 0 */ 17133 ecx = MEM32(eax + 0x4); /* 0x2B064995: mov ecx, dword ptr [eax + 4] */ 17134 edx = MEM32(ecx); /* 0x2B064998: mov edx, dword ptr [ecx] */ 17135 esi = MEM32(edx + 0x8); /* 0x2B06499A: mov esi, dword ptr [edx + 8] */ 17136 MEM32(ecx) = esi; /* 0x2B06499D: mov dword ptr [ecx], esi */ 17137 esi = MEM32(edx + 0x8); /* 0x2B06499F: mov esi, dword ptr [edx + 8] */ 17138 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0649A2: cmp esi, dword ptr [edi + 8] */ 17139 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17141 _flag_k = FK_CMP; 17142 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0649AA; /* 0x2B0649A5: je 0x2b0649aa */ 17143 L_2B0649A7: 17144 MEM32(esi + 0x4) = ecx; /* 0x2B0649A7: mov dword ptr [esi + 4], ecx */ 17145 L_2B0649AA: 17146 esi = MEM32(ecx + 0x4); /* 0x2B0649AA: mov esi, dword ptr [ecx + 4] */ 17147 MEM32(edx + 0x4) = esi; /* 0x2B0649AD: mov dword ptr [edx + 4], esi */ 17148 esi = MEM32(edi + 0x4); /* 0x2B0649B0: mov esi, dword ptr [edi + 4] */ 17149 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0649B3: cmp ecx, dword ptr [esi + 4] */ 17150 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17152 _flag_k = FK_CMP; 17153 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649BD; /* 0x2B0649B6: jne 0x2b0649bd */ 17154 L_2B0649B8: 17155 MEM32(esi + 0x4) = edx; /* 0x2B0649B8: mov dword ptr [esi + 4], edx */ 17156 goto L_2B0649CC; /* 0x2B0649BB: jmp 0x2b0649cc */ 17157 L_2B0649BD: 17158 esi = MEM32(ecx + 0x4); /* 0x2B0649BD: mov esi, dword ptr [ecx + 4] */ 17159 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0649C0: cmp ecx, dword ptr [esi + 8] */ 17160 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17162 _flag_k = FK_CMP; 17163 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0649CA; /* 0x2B0649C3: jne 0x2b0649ca */ 17164 L_2B0649C5: 17165 MEM32(esi + 0x8) = edx; /* 0x2B0649C5: mov dword ptr [esi + 8], edx */ 17166 goto L_2B0649CC; /* 0x2B0649C8: jmp 0x2b0649cc */ 17167 L_2B0649CA: 17168 MEM32(esi) = edx; /* 0x2B0649CA: mov dword ptr [esi], edx */ 17169 L_2B0649CC: 17170 MEM32(edx + 0x8) = ecx; /* 0x2B0649CC: mov dword ptr [edx + 8], ecx */ 17171 MEM32(ecx + 0x4) = edx; /* 0x2B0649CF: mov dword ptr [ecx + 4], edx */ 17172 edx = MEM32(eax + 0x4); /* 0x2B0649D2: mov edx, dword ptr [eax + 4] */ 17173 ecx = MEM32(edx); /* 0x2B0649D5: mov ecx, dword ptr [edx] */ 17174 L_2B0649D7: 17175 edx = MEM32(ecx + 0x8); /* 0x2B0649D7: mov edx, dword ptr [ecx + 8] */ 17176 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649DA: cmp byte ptr [edx + 0x1c], bl */ 17177 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17179 _flag_k = FK_NARROW(FK_CMP, 24); 17180 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649DD: jne 0x2b064ab3 */ 17181 L_2B0649E3: 17182 edx = MEM32(ecx); /* 0x2B0649E3: mov edx, dword ptr [ecx] */ 17183 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B0649E5: cmp byte ptr [edx + 0x1c], bl */ 17184 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17186 _flag_k = FK_NARROW(FK_CMP, 24); 17187 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AB3; /* 0x2B0649E8: jne 0x2b064ab3 */ 17188 L_2B0649EE: 17189 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B0649EE: mov byte ptr [ecx + 0x1c], 0 */ 17190 ecx = MEM32(edi + 0x4); /* 0x2B0649F2: mov ecx, dword ptr [edi + 4] */ 17191 eax = MEM32(eax + 0x4); /* 0x2B0649F5: mov eax, dword ptr [eax + 4] */ 17192 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B0649F8: cmp eax, dword ptr [ecx + 4] */ 17193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17195 _flag_k = FK_CMP; 17196 RECOMP_BACKEDGE(); 17197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064904; /* 0x2B0649FB: jne 0x2b064904 */ 17198 L_2B064A01: 17199 goto L_2B064B52; /* 0x2B064A01: jmp 0x2b064b52 */ 17200 L_2B064A06: 17201 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 17202 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 17203 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17205 _flag_k = FK_NARROW(FK_CMP, 24); 17206 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 17207 L_2B064A0E: 17208 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 17209 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 17210 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 17211 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 17212 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 17213 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 17214 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 17215 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 17216 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17218 _flag_k = FK_CMP; 17219 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 17220 L_2B064A26: 17221 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 17222 L_2B064A29: 17223 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 17224 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 17225 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 17226 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 17227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17229 _flag_k = FK_CMP; 17230 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 17231 L_2B064A37: 17232 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 17233 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 17234 L_2B064A3C: 17235 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 17236 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 17237 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17239 _flag_k = FK_CMP; 17240 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 17241 L_2B064A44: 17242 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 17243 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 17244 L_2B064A49: 17245 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 17246 L_2B064A4B: 17247 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 17248 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 17249 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 17250 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 17251 L_2B064A57: 17252 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 17253 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 17254 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 17255 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 17256 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 17257 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 17258 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 17259 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 17260 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 17261 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 17262 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 17263 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 17264 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 17265 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17267 _flag_k = FK_CMP; 17268 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 17269 L_2B064A7E: 17270 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 17271 L_2B064A81: 17272 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 17273 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 17274 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 17275 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 17276 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17278 _flag_k = FK_CMP; 17279 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 17280 L_2B064A8F: 17281 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 17282 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 17283 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 17284 L_2B064A99: 17285 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 17286 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 17287 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17289 _flag_k = FK_CMP; 17290 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 17291 L_2B064AA0: 17292 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 17293 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 17294 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 17295 L_2B064AA9: 17296 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 17297 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 17298 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 17299 L_2B064AB3: 17300 edx = MEM32(ecx); /* 0x2B064AB3: mov edx, dword ptr [ecx] */ 17301 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064AB5: cmp byte ptr [edx + 0x1c], bl */ 17302 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17304 _flag_k = FK_NARROW(FK_CMP, 24); 17305 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B01; /* 0x2B064AB8: jne 0x2b064b01 */ 17306 L_2B064ABA: 17307 edx = MEM32(ecx + 0x8); /* 0x2B064ABA: mov edx, dword ptr [ecx + 8] */ 17308 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ABD: mov byte ptr [edx + 0x1c], bl */ 17309 edx = MEM32(ecx + 0x8); /* 0x2B064AC0: mov edx, dword ptr [ecx + 8] */ 17310 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064AC3: mov byte ptr [ecx + 0x1c], 0 */ 17311 esi = MEM32(edx); /* 0x2B064AC7: mov esi, dword ptr [edx] */ 17312 MEM32(ecx + 0x8) = esi; /* 0x2B064AC9: mov dword ptr [ecx + 8], esi */ 17313 esi = MEM32(edx); /* 0x2B064ACC: mov esi, dword ptr [edx] */ 17314 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064ACE: cmp esi, dword ptr [edi + 8] */ 17315 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17317 _flag_k = FK_CMP; 17318 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064AD6; /* 0x2B064AD1: je 0x2b064ad6 */ 17319 L_2B064AD3: 17320 MEM32(esi + 0x4) = ecx; /* 0x2B064AD3: mov dword ptr [esi + 4], ecx */ 17321 L_2B064AD6: 17322 esi = MEM32(ecx + 0x4); /* 0x2B064AD6: mov esi, dword ptr [ecx + 4] */ 17323 MEM32(edx + 0x4) = esi; /* 0x2B064AD9: mov dword ptr [edx + 4], esi */ 17324 esi = MEM32(edi + 0x4); /* 0x2B064ADC: mov esi, dword ptr [edi + 4] */ 17325 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064ADF: cmp ecx, dword ptr [esi + 4] */ 17326 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17328 _flag_k = FK_CMP; 17329 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AE9; /* 0x2B064AE2: jne 0x2b064ae9 */ 17330 L_2B064AE4: 17331 MEM32(esi + 0x4) = edx; /* 0x2B064AE4: mov dword ptr [esi + 4], edx */ 17332 goto L_2B064AF7; /* 0x2B064AE7: jmp 0x2b064af7 */ 17333 L_2B064AE9: 17334 esi = MEM32(ecx + 0x4); /* 0x2B064AE9: mov esi, dword ptr [ecx + 4] */ 17335 /* cmp ecx, MEM32(esi) */ /* 0x2B064AEC: cmp ecx, dword ptr [esi] */ 17336 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17338 _flag_k = FK_CMP; 17339 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AF4; /* 0x2B064AEE: jne 0x2b064af4 */ 17340 L_2B064AF0: 17341 MEM32(esi) = edx; /* 0x2B064AF0: mov dword ptr [esi], edx */ 17342 goto L_2B064AF7; /* 0x2B064AF2: jmp 0x2b064af7 */ 17343 L_2B064AF4: 17344 MEM32(esi + 0x8) = edx; /* 0x2B064AF4: mov dword ptr [esi + 8], edx */ 17345 L_2B064AF7: 17346 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 17347 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 17348 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 17349 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 17350 L_2B064B01: 17351 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 17352 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 17353 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 17354 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 17355 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 17356 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 17357 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 17358 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 17359 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 17360 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 17361 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 17362 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 17363 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 17364 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17366 _flag_k = FK_CMP; 17367 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 17368 L_2B064B27: 17369 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 17370 L_2B064B2A: 17371 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 17372 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 17373 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 17374 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 17375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17377 _flag_k = FK_CMP; 17378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 17379 L_2B064B38: 17380 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 17381 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 17382 L_2B064B3D: 17383 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 17384 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 17385 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17387 _flag_k = FK_CMP; 17388 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 17389 L_2B064B45: 17390 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 17391 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 17392 L_2B064B4A: 17393 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 17394 L_2B064B4C: 17395 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 17396 L_2B064B4F: 17397 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 17398 L_2B064B52: 17399 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17400 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17401 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17402 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17403 RECOMP_FLAGS_IN(); 17404 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17405 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17406 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17408 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17409 _flag_k = FK_ADD; 17410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17411 eax = eax - 1; /* 0x2B064B67: dec eax */ 17412 _flag_k = FK_DEC; 17413 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17414 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17415 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17416 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17417 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17418 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17419 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17420 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17421 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17422 RECOMP_REGS_OUT(); 17423 } 17424 17425 void sub_2B064A06(void) { 17426 int _fpu_cmp = 0; 17427 uint32_t _cf = 0; 17428 int _df = 1; 17429 uint32_t _flag_k = FK_NONE; 17430 uint32_t _flag_a = 0, _flag_b = 0; 17431 uint32_t _itail_tgt = 0; 17432 RECOMP_REGS_LOCALS 17433 RECOMP_ENTER(0x2B064A06u); 17434 17435 L_2B064A06: 17436 edx = MEM32(ecx + 0x8); /* 0x2B064A06: mov edx, dword ptr [ecx + 8] */ 17437 /* cmp MEM8(edx + 0x1C), LO8(ebx) */ /* 0x2B064A09: cmp byte ptr [edx + 0x1c], bl */ 17438 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17440 _flag_k = FK_NARROW(FK_CMP, 24); 17441 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A57; /* 0x2B064A0C: jne 0x2b064a57 */ 17442 L_2B064A0E: 17443 edx = MEM32(ecx); /* 0x2B064A0E: mov edx, dword ptr [ecx] */ 17444 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A10: mov byte ptr [edx + 0x1c], bl */ 17445 edx = MEM32(ecx); /* 0x2B064A13: mov edx, dword ptr [ecx] */ 17446 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064A15: mov byte ptr [ecx + 0x1c], 0 */ 17447 esi = MEM32(edx + 0x8); /* 0x2B064A19: mov esi, dword ptr [edx + 8] */ 17448 MEM32(ecx) = esi; /* 0x2B064A1C: mov dword ptr [ecx], esi */ 17449 esi = MEM32(edx + 0x8); /* 0x2B064A1E: mov esi, dword ptr [edx + 8] */ 17450 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A21: cmp esi, dword ptr [edi + 8] */ 17451 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17453 _flag_k = FK_CMP; 17454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A29; /* 0x2B064A24: je 0x2b064a29 */ 17455 L_2B064A26: 17456 MEM32(esi + 0x4) = ecx; /* 0x2B064A26: mov dword ptr [esi + 4], ecx */ 17457 L_2B064A29: 17458 esi = MEM32(ecx + 0x4); /* 0x2B064A29: mov esi, dword ptr [ecx + 4] */ 17459 MEM32(edx + 0x4) = esi; /* 0x2B064A2C: mov dword ptr [edx + 4], esi */ 17460 esi = MEM32(edi + 0x4); /* 0x2B064A2F: mov esi, dword ptr [edi + 4] */ 17461 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A32: cmp ecx, dword ptr [esi + 4] */ 17462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17464 _flag_k = FK_CMP; 17465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A3C; /* 0x2B064A35: jne 0x2b064a3c */ 17466 L_2B064A37: 17467 MEM32(esi + 0x4) = edx; /* 0x2B064A37: mov dword ptr [esi + 4], edx */ 17468 goto L_2B064A4B; /* 0x2B064A3A: jmp 0x2b064a4b */ 17469 L_2B064A3C: 17470 esi = MEM32(ecx + 0x4); /* 0x2B064A3C: mov esi, dword ptr [ecx + 4] */ 17471 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064A3F: cmp ecx, dword ptr [esi + 8] */ 17472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17474 _flag_k = FK_CMP; 17475 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A49; /* 0x2B064A42: jne 0x2b064a49 */ 17476 L_2B064A44: 17477 MEM32(esi + 0x8) = edx; /* 0x2B064A44: mov dword ptr [esi + 8], edx */ 17478 goto L_2B064A4B; /* 0x2B064A47: jmp 0x2b064a4b */ 17479 L_2B064A49: 17480 MEM32(esi) = edx; /* 0x2B064A49: mov dword ptr [esi], edx */ 17481 L_2B064A4B: 17482 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 17483 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 17484 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 17485 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 17486 L_2B064A57: 17487 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 17488 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 17489 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 17490 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 17491 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 17492 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 17493 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 17494 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 17495 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 17496 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 17497 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 17498 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 17499 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 17500 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17502 _flag_k = FK_CMP; 17503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 17504 L_2B064A7E: 17505 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 17506 L_2B064A81: 17507 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 17508 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 17509 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 17510 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 17511 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17513 _flag_k = FK_CMP; 17514 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 17515 L_2B064A8F: 17516 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 17517 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 17518 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 17519 L_2B064A99: 17520 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 17521 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 17522 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17524 _flag_k = FK_CMP; 17525 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 17526 L_2B064AA0: 17527 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 17528 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 17529 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 17530 L_2B064AA9: 17531 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 17532 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 17533 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 17534 L_2B064B4F: 17535 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 17536 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17537 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17538 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17539 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17540 RECOMP_FLAGS_IN(); 17541 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17542 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17543 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17545 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17546 _flag_k = FK_ADD; 17547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17548 eax = eax - 1; /* 0x2B064B67: dec eax */ 17549 _flag_k = FK_DEC; 17550 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17551 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17552 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17553 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17554 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17555 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17556 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17557 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17558 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17559 RECOMP_REGS_OUT(); 17560 } 17561 17562 void sub_2B064A4B(void) { 17563 int _fpu_cmp = 0; 17564 uint32_t _cf = 0; 17565 int _df = 1; 17566 uint32_t _flag_k = FK_NONE; 17567 uint32_t _flag_a = 0, _flag_b = 0; 17568 uint32_t _itail_tgt = 0; 17569 RECOMP_REGS_LOCALS 17570 RECOMP_ENTER(0x2B064A4Bu); 17571 17572 L_2B064A4B: 17573 MEM32(edx + 0x8) = ecx; /* 0x2B064A4B: mov dword ptr [edx + 8], ecx */ 17574 MEM32(ecx + 0x4) = edx; /* 0x2B064A4E: mov dword ptr [ecx + 4], edx */ 17575 ecx = MEM32(eax + 0x4); /* 0x2B064A51: mov ecx, dword ptr [eax + 4] */ 17576 ecx = MEM32(ecx + 0x8); /* 0x2B064A54: mov ecx, dword ptr [ecx + 8] */ 17577 edx = MEM32(eax + 0x4); /* 0x2B064A57: mov edx, dword ptr [eax + 4] */ 17578 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064A5A: mov dl, byte ptr [edx + 0x1c] */ 17579 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064A5D: mov byte ptr [ecx + 0x1c], dl */ 17580 edx = MEM32(eax + 0x4); /* 0x2B064A60: mov edx, dword ptr [eax + 4] */ 17581 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A63: mov byte ptr [edx + 0x1c], bl */ 17582 ecx = MEM32(ecx + 0x8); /* 0x2B064A66: mov ecx, dword ptr [ecx + 8] */ 17583 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064A69: mov byte ptr [ecx + 0x1c], bl */ 17584 ecx = MEM32(eax + 0x4); /* 0x2B064A6C: mov ecx, dword ptr [eax + 4] */ 17585 edx = MEM32(ecx + 0x8); /* 0x2B064A6F: mov edx, dword ptr [ecx + 8] */ 17586 esi = MEM32(edx); /* 0x2B064A72: mov esi, dword ptr [edx] */ 17587 MEM32(ecx + 0x8) = esi; /* 0x2B064A74: mov dword ptr [ecx + 8], esi */ 17588 esi = MEM32(edx); /* 0x2B064A77: mov esi, dword ptr [edx] */ 17589 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064A79: cmp esi, dword ptr [edi + 8] */ 17590 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17592 _flag_k = FK_CMP; 17593 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064A81; /* 0x2B064A7C: je 0x2b064a81 */ 17594 L_2B064A7E: 17595 MEM32(esi + 0x4) = ecx; /* 0x2B064A7E: mov dword ptr [esi + 4], ecx */ 17596 L_2B064A81: 17597 esi = MEM32(ecx + 0x4); /* 0x2B064A81: mov esi, dword ptr [ecx + 4] */ 17598 MEM32(edx + 0x4) = esi; /* 0x2B064A84: mov dword ptr [edx + 4], esi */ 17599 esi = MEM32(edi + 0x4); /* 0x2B064A87: mov esi, dword ptr [edi + 4] */ 17600 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064A8A: cmp ecx, dword ptr [esi + 4] */ 17601 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17603 _flag_k = FK_CMP; 17604 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064A99; /* 0x2B064A8D: jne 0x2b064a99 */ 17605 L_2B064A8F: 17606 MEM32(esi + 0x4) = edx; /* 0x2B064A8F: mov dword ptr [esi + 4], edx */ 17607 MEM32(edx) = ecx; /* 0x2B064A92: mov dword ptr [edx], ecx */ 17608 goto L_2B064B4F; /* 0x2B064A94: jmp 0x2b064b4f */ 17609 L_2B064A99: 17610 esi = MEM32(ecx + 0x4); /* 0x2B064A99: mov esi, dword ptr [ecx + 4] */ 17611 /* cmp ecx, MEM32(esi) */ /* 0x2B064A9C: cmp ecx, dword ptr [esi] */ 17612 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17614 _flag_k = FK_CMP; 17615 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064AA9; /* 0x2B064A9E: jne 0x2b064aa9 */ 17616 L_2B064AA0: 17617 MEM32(esi) = edx; /* 0x2B064AA0: mov dword ptr [esi], edx */ 17618 MEM32(edx) = ecx; /* 0x2B064AA2: mov dword ptr [edx], ecx */ 17619 goto L_2B064B4F; /* 0x2B064AA4: jmp 0x2b064b4f */ 17620 L_2B064AA9: 17621 MEM32(esi + 0x8) = edx; /* 0x2B064AA9: mov dword ptr [esi + 8], edx */ 17622 MEM32(edx) = ecx; /* 0x2B064AAC: mov dword ptr [edx], ecx */ 17623 goto L_2B064B4F; /* 0x2B064AAE: jmp 0x2b064b4f */ 17624 L_2B064B4F: 17625 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 17626 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17627 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17628 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17629 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17630 RECOMP_FLAGS_IN(); 17631 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17632 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17633 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17634 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17635 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17636 _flag_k = FK_ADD; 17637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17638 eax = eax - 1; /* 0x2B064B67: dec eax */ 17639 _flag_k = FK_DEC; 17640 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17641 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17642 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17643 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17644 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17645 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17646 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17647 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17648 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17649 RECOMP_REGS_OUT(); 17650 } 17651 17652 void sub_2B064AF7(void) { 17653 int _fpu_cmp = 0; 17654 uint32_t _cf = 0; 17655 int _df = 1; 17656 uint32_t _flag_k = FK_NONE; 17657 uint32_t _flag_a = 0, _flag_b = 0; 17658 uint32_t _itail_tgt = 0; 17659 RECOMP_REGS_LOCALS 17660 RECOMP_ENTER(0x2B064AF7u); 17661 17662 L_2B064AF7: 17663 MEM32(edx) = ecx; /* 0x2B064AF7: mov dword ptr [edx], ecx */ 17664 MEM32(ecx + 0x4) = edx; /* 0x2B064AF9: mov dword ptr [ecx + 4], edx */ 17665 ecx = MEM32(eax + 0x4); /* 0x2B064AFC: mov ecx, dword ptr [eax + 4] */ 17666 ecx = MEM32(ecx); /* 0x2B064AFF: mov ecx, dword ptr [ecx] */ 17667 edx = MEM32(eax + 0x4); /* 0x2B064B01: mov edx, dword ptr [eax + 4] */ 17668 SET_LO8(edx, MEM8(edx + 0x1C)); /* 0x2B064B04: mov dl, byte ptr [edx + 0x1c] */ 17669 MEM8(ecx + 0x1C) = (uint8_t)(LO8(edx)); /* 0x2B064B07: mov byte ptr [ecx + 0x1c], dl */ 17670 edx = MEM32(eax + 0x4); /* 0x2B064B0A: mov edx, dword ptr [eax + 4] */ 17671 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B0D: mov byte ptr [edx + 0x1c], bl */ 17672 ecx = MEM32(ecx); /* 0x2B064B10: mov ecx, dword ptr [ecx] */ 17673 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B12: mov byte ptr [ecx + 0x1c], bl */ 17674 ecx = MEM32(eax + 0x4); /* 0x2B064B15: mov ecx, dword ptr [eax + 4] */ 17675 edx = MEM32(ecx); /* 0x2B064B18: mov edx, dword ptr [ecx] */ 17676 esi = MEM32(edx + 0x8); /* 0x2B064B1A: mov esi, dword ptr [edx + 8] */ 17677 MEM32(ecx) = esi; /* 0x2B064B1D: mov dword ptr [ecx], esi */ 17678 esi = MEM32(edx + 0x8); /* 0x2B064B1F: mov esi, dword ptr [edx + 8] */ 17679 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B064B22: cmp esi, dword ptr [edi + 8] */ 17680 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17682 _flag_k = FK_CMP; 17683 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064B2A; /* 0x2B064B25: je 0x2b064b2a */ 17684 L_2B064B27: 17685 MEM32(esi + 0x4) = ecx; /* 0x2B064B27: mov dword ptr [esi + 4], ecx */ 17686 L_2B064B2A: 17687 esi = MEM32(ecx + 0x4); /* 0x2B064B2A: mov esi, dword ptr [ecx + 4] */ 17688 MEM32(edx + 0x4) = esi; /* 0x2B064B2D: mov dword ptr [edx + 4], esi */ 17689 esi = MEM32(edi + 0x4); /* 0x2B064B30: mov esi, dword ptr [edi + 4] */ 17690 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B064B33: cmp ecx, dword ptr [esi + 4] */ 17691 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17693 _flag_k = FK_CMP; 17694 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B3D; /* 0x2B064B36: jne 0x2b064b3d */ 17695 L_2B064B38: 17696 MEM32(esi + 0x4) = edx; /* 0x2B064B38: mov dword ptr [esi + 4], edx */ 17697 goto L_2B064B4C; /* 0x2B064B3B: jmp 0x2b064b4c */ 17698 L_2B064B3D: 17699 esi = MEM32(ecx + 0x4); /* 0x2B064B3D: mov esi, dword ptr [ecx + 4] */ 17700 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B064B40: cmp ecx, dword ptr [esi + 8] */ 17701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17703 _flag_k = FK_CMP; 17704 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B4A; /* 0x2B064B43: jne 0x2b064b4a */ 17705 L_2B064B45: 17706 MEM32(esi + 0x8) = edx; /* 0x2B064B45: mov dword ptr [esi + 8], edx */ 17707 goto L_2B064B4C; /* 0x2B064B48: jmp 0x2b064b4c */ 17708 L_2B064B4A: 17709 MEM32(esi) = edx; /* 0x2B064B4A: mov dword ptr [esi], edx */ 17710 L_2B064B4C: 17711 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 17712 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 17713 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17714 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17715 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17716 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17717 RECOMP_FLAGS_IN(); 17718 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17719 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17720 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17722 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17723 _flag_k = FK_ADD; 17724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17725 eax = eax - 1; /* 0x2B064B67: dec eax */ 17726 _flag_k = FK_DEC; 17727 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17728 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17729 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17730 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17731 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17732 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17733 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17734 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17735 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17736 RECOMP_REGS_OUT(); 17737 } 17738 17739 void sub_2B064B4C(void) { 17740 int _fpu_cmp = 0; 17741 uint32_t _cf = 0; 17742 int _df = 1; 17743 uint32_t _flag_k = FK_NONE; 17744 uint32_t _flag_a = 0, _flag_b = 0; 17745 uint32_t _itail_tgt = 0; 17746 RECOMP_REGS_LOCALS 17747 RECOMP_ENTER(0x2B064B4Cu); 17748 17749 L_2B064B4C: 17750 MEM32(edx + 0x8) = ecx; /* 0x2B064B4C: mov dword ptr [edx + 8], ecx */ 17751 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 17752 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17753 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17754 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17755 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17756 RECOMP_FLAGS_IN(); 17757 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17758 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17759 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17760 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17761 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17762 _flag_k = FK_ADD; 17763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17764 eax = eax - 1; /* 0x2B064B67: dec eax */ 17765 _flag_k = FK_DEC; 17766 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17767 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17768 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17769 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17770 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17771 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17772 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17773 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17774 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17775 RECOMP_REGS_OUT(); 17776 } 17777 17778 void sub_2B064B4F(void) { 17779 int _fpu_cmp = 0; 17780 uint32_t _cf = 0; 17781 int _df = 1; 17782 uint32_t _flag_k = FK_NONE; 17783 uint32_t _flag_a = 0, _flag_b = 0; 17784 uint32_t _itail_tgt = 0; 17785 RECOMP_REGS_LOCALS 17786 RECOMP_ENTER(0x2B064B4Fu); 17787 17788 L_2B064B4F: 17789 MEM32(ecx + 0x4) = edx; /* 0x2B064B4F: mov dword ptr [ecx + 4], edx */ 17790 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17791 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17792 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17793 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17794 RECOMP_FLAGS_IN(); 17795 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17796 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17797 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17798 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17799 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17800 _flag_k = FK_ADD; 17801 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17802 eax = eax - 1; /* 0x2B064B67: dec eax */ 17803 _flag_k = FK_DEC; 17804 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17805 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17806 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17807 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17808 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17809 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17810 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17811 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17812 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17813 RECOMP_REGS_OUT(); 17814 } 17815 17816 void sub_2B064B52(void) { 17817 int _fpu_cmp = 0; 17818 uint32_t _cf = 0; 17819 int _df = 1; 17820 uint32_t _flag_k = FK_NONE; 17821 uint32_t _flag_a = 0, _flag_b = 0; 17822 uint32_t _itail_tgt = 0; 17823 RECOMP_REGS_LOCALS 17824 RECOMP_ENTER(0x2B064B52u); 17825 17826 L_2B064B52: 17827 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064B52: mov byte ptr [eax + 0x1c], bl */ 17828 edx = MEM32(ebp + (-0x4)); /* 0x2B064B55: mov edx, dword ptr [ebp - 4] */ 17829 PUSH32(esp, edx); /* 0x2B064B58: push edx */ 17830 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064B59: call 0x2b0ab1ba */ /* not lifted */ 17831 RECOMP_FLAGS_IN(); 17832 eax = MEM32(edi + 0x10); /* 0x2B064B5E: mov eax, dword ptr [edi + 0x10] */ 17833 ecx = MEM32(ebp + 0xC); /* 0x2B064B61: mov ecx, dword ptr [ebp + 0xc] */ 17834 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17835 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17836 esp = esp + 4; /* 0x2B064B64: add esp, 4 */ 17837 _flag_k = FK_ADD; 17838 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17839 eax = eax - 1; /* 0x2B064B67: dec eax */ 17840 _flag_k = FK_DEC; 17841 MEM32(edi + 0x10) = eax; /* 0x2B064B68: mov dword ptr [edi + 0x10], eax */ 17842 eax = MEM32(ebp + 0x8); /* 0x2B064B6B: mov eax, dword ptr [ebp + 8] */ 17843 edi = POP32_VAL(esp); /* 0x2B064B6E: pop edi */ 17844 esi = POP32_VAL(esp); /* 0x2B064B6F: pop esi */ 17845 MEM32(eax) = ecx; /* 0x2B064B70: mov dword ptr [eax], ecx */ 17846 ebx = POP32_VAL(esp); /* 0x2B064B72: pop ebx */ 17847 esp = ebp; /* 0x2B064B73: mov esp, ebp */ 17848 ebp = POP32_VAL(esp); /* 0x2B064B75: pop ebp */ 17849 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064B76: ret 8 */ 17850 RECOMP_REGS_OUT(); 17851 } 17852 17853 void sub_2B064B80(void) { 17854 int _fpu_cmp = 0; 17855 uint32_t _cf = 0; 17856 int _df = 1; 17857 uint32_t _flag_k = FK_NONE; 17858 uint32_t _flag_a = 0, _flag_b = 0; 17859 uint32_t _itail_tgt = 0; 17860 RECOMP_REGS_LOCALS 17861 RECOMP_ENTER(0x2B064B80u); 17862 17863 L_2B064B80: 17864 PUSH32(esp, ebp); /* 0x2B064B80: push ebp */ 17865 ebp = esp; /* 0x2B064B81: mov ebp, esp */ 17866 PUSH32(esp, ecx); /* 0x2B064B83: push ecx */ 17867 PUSH32(esp, ebx); /* 0x2B064B84: push ebx */ 17868 PUSH32(esp, esi); /* 0x2B064B85: push esi */ 17869 ebx = ecx; /* 0x2B064B86: mov ebx, ecx */ 17870 eax = MEM32(ebx + 0x8); /* 0x2B064B88: mov eax, dword ptr [ebx + 8] */ 17871 PUSH32(esp, edi); /* 0x2B064B8B: push edi */ 17872 edi = MEM32(ebx + 0x4); /* 0x2B064B8C: mov edi, dword ptr [ebx + 4] */ 17873 esi = MEM32(edi + 0x4); /* 0x2B064B8F: mov esi, dword ptr [edi + 4] */ 17874 /* cmp esi, eax */ /* 0x2B064B92: cmp esi, eax */ 17875 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 17876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17877 _flag_k = FK_CMP; 17878 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064BB4; /* 0x2B064B94: je 0x2b064bb4 */ 17879 L_2B064B96: 17880 eax = MEM32(ebp + 0xC); /* 0x2B064B96: mov eax, dword ptr [ebp + 0xc] */ 17881 PUSH32(esp, eax); /* 0x2B064B99: push eax */ 17882 ecx = esi + 0xC; /* 0x2B064B9A: lea ecx, [esi + 0xc] */ 17883 RECOMP_ICALL(0x2B064790u); /* 0x2B064B9D: call 0x2b064790 */ /* not lifted */ 17884 RECOMP_FLAGS_IN(); 17885 /* test LO8(eax), LO8(eax) */ /* 0x2B064BA2: test al, al */ 17886 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17887 _cf = 0; 17888 _flag_k = FK_NARROW(FK_TEST, 24); 17889 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064BAB; /* 0x2B064BA4: je 0x2b064bab */ 17890 L_2B064BA6: 17891 esi = MEM32(esi + 0x8); /* 0x2B064BA6: mov esi, dword ptr [esi + 8] */ 17892 goto L_2B064BAF; /* 0x2B064BA9: jmp 0x2b064baf */ 17893 L_2B064BAB: 17894 edi = esi; /* 0x2B064BAB: mov edi, esi */ 17895 esi = MEM32(esi); /* 0x2B064BAD: mov esi, dword ptr [esi] */ 17896 L_2B064BAF: 17897 /* cmp esi, MEM32(ebx + 0x8) */ /* 0x2B064BAF: cmp esi, dword ptr [ebx + 8] */ 17898 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebx + 0x8)); 17899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17900 _flag_k = FK_CMP; 17901 RECOMP_BACKEDGE(); 17902 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064B96; /* 0x2B064BB2: jne 0x2b064b96 */ 17903 L_2B064BB4: 17904 ebx = MEM32(ebx + 0x4); /* 0x2B064BB4: mov ebx, dword ptr [ebx + 4] */ 17905 /* cmp edi, ebx */ /* 0x2B064BB7: cmp edi, ebx */ 17906 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 17907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17908 _flag_k = FK_CMP; 17909 MEM32(ebp + (-0x4)) = edi; /* 0x2B064BB9: mov dword ptr [ebp - 4], edi */ 17910 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064BF1; /* 0x2B064BBC: je 0x2b064bf1 */ 17911 L_2B064BBE: 17912 edx = MEM32(ebp + 0xC); /* 0x2B064BBE: mov edx, dword ptr [ebp + 0xc] */ 17913 eax = MEM32(edx); /* 0x2B064BC1: mov eax, dword ptr [edx] */ 17914 ecx = MEM32(edi + 0xC); /* 0x2B064BC3: mov ecx, dword ptr [edi + 0xc] */ 17915 /* cmp eax, ecx */ /* 0x2B064BC6: cmp eax, ecx */ 17916 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17918 _flag_k = FK_CMP; 17919 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064BD7; /* 0x2B064BC8: jne 0x2b064bd7 */ 17920 L_2B064BCA: 17921 eax = MEM32(edi + 0x10); /* 0x2B064BCA: mov eax, dword ptr [edi + 0x10] */ 17922 ecx = MEM32(edx + 0x4); /* 0x2B064BCD: mov ecx, dword ptr [edx + 4] */ 17923 /* cmp ecx, eax */ /* 0x2B064BD0: cmp ecx, eax */ 17924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17926 _flag_k = FK_CMP; 17927 SET_LO8(eax, (CMP_B(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B064BD2: setb al */ 17928 goto L_2B064BDA; /* 0x2B064BD5: jmp 0x2b064bda */ 17929 L_2B064BD7: 17930 SET_LO8(eax, (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_L, _cf)) ? 1 : 0); /* 0x2B064BD7: setl al */ 17931 L_2B064BDA: 17932 /* test LO8(eax), LO8(eax) */ /* 0x2B064BDA: test al, al */ 17933 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17934 _cf = 0; 17935 _flag_k = FK_NARROW(FK_TEST, 24); 17936 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064BF1; /* 0x2B064BDC: jne 0x2b064bf1 */ 17937 L_2B064BDE: 17938 eax = ebp + (-0x4); /* 0x2B064BDE: lea eax, [ebp - 4] */ 17939 edx = MEM32(eax); /* 0x2B064BE1: mov edx, dword ptr [eax] */ 17940 eax = MEM32(ebp + 0x8); /* 0x2B064BE3: mov eax, dword ptr [ebp + 8] */ 17941 edi = POP32_VAL(esp); /* 0x2B064BE6: pop edi */ 17942 esi = POP32_VAL(esp); /* 0x2B064BE7: pop esi */ 17943 MEM32(eax) = edx; /* 0x2B064BE8: mov dword ptr [eax], edx */ 17944 ebx = POP32_VAL(esp); /* 0x2B064BEA: pop ebx */ 17945 esp = ebp; /* 0x2B064BEB: mov esp, ebp */ 17946 ebp = POP32_VAL(esp); /* 0x2B064BED: pop ebp */ 17947 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064BEE: ret 8 */ 17948 L_2B064BF1: 17949 eax = ebp + 0xC; /* 0x2B064BF1: lea eax, [ebp + 0xc] */ 17950 MEM32(ebp + 0xC) = ebx; /* 0x2B064BF4: mov dword ptr [ebp + 0xc], ebx */ 17951 edx = MEM32(eax); /* 0x2B064BF7: mov edx, dword ptr [eax] */ 17952 eax = MEM32(ebp + 0x8); /* 0x2B064BF9: mov eax, dword ptr [ebp + 8] */ 17953 edi = POP32_VAL(esp); /* 0x2B064BFC: pop edi */ 17954 esi = POP32_VAL(esp); /* 0x2B064BFD: pop esi */ 17955 MEM32(eax) = edx; /* 0x2B064BFE: mov dword ptr [eax], edx */ 17956 ebx = POP32_VAL(esp); /* 0x2B064C00: pop ebx */ 17957 esp = ebp; /* 0x2B064C01: mov esp, ebp */ 17958 ebp = POP32_VAL(esp); /* 0x2B064C03: pop ebp */ 17959 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B064C04: ret 8 */ 17960 RECOMP_REGS_OUT(); 17961 } 17962 17963 void sub_2B064C10(void) { 17964 int _fpu_cmp = 0; 17965 uint32_t _cf = 0; 17966 int _df = 1; 17967 uint32_t _flag_k = FK_NONE; 17968 uint32_t _flag_a = 0, _flag_b = 0; 17969 uint32_t _itail_tgt = 0; 17970 RECOMP_REGS_LOCALS 17971 RECOMP_ENTER(0x2B064C10u); 17972 17973 L_2B064C10: 17974 eax = MEM32(ecx); /* 0x2B064C10: mov eax, dword ptr [ecx] */ 17975 edx = MEM32(eax + 0x8); /* 0x2B064C12: mov edx, dword ptr [eax + 8] */ 17976 PUSH32(esp, ebx); /* 0x2B064C15: push ebx */ 17977 SET_LO8(ebx, MEM8(edx + 0x1D)); /* 0x2B064C16: mov bl, byte ptr [edx + 0x1d] */ 17978 /* test LO8(ebx), LO8(ebx) */ /* 0x2B064C19: test bl, bl */ 17979 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17980 _cf = 0; 17981 _flag_k = FK_NARROW(FK_TEST, 24); 17982 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064C35; /* 0x2B064C1B: jne 0x2b064c35 */ 17983 L_2B064C1D: 17984 eax = MEM32(edx); /* 0x2B064C1D: mov eax, dword ptr [edx] */ 17985 SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x2B064C1F: mov bl, byte ptr [eax + 0x1d] */ 17986 /* test LO8(ebx), LO8(ebx) */ /* 0x2B064C22: test bl, bl */ 17987 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17988 _cf = 0; 17989 _flag_k = FK_NARROW(FK_TEST, 24); 17990 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064C31; /* 0x2B064C24: jne 0x2b064c31 */ 17991 L_2B064C26: 17992 edx = eax; /* 0x2B064C26: mov edx, eax */ 17993 eax = MEM32(edx); /* 0x2B064C28: mov eax, dword ptr [edx] */ 17994 SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x2B064C2A: mov bl, byte ptr [eax + 0x1d] */ 17995 /* test LO8(ebx), LO8(ebx) */ /* 0x2B064C2D: test bl, bl */ 17996 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17997 _cf = 0; 17998 _flag_k = FK_NARROW(FK_TEST, 24); 17999 RECOMP_BACKEDGE(); 18000 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064C26; /* 0x2B064C2F: je 0x2b064c26 */ 18001 L_2B064C31: 18002 MEM32(ecx) = edx; /* 0x2B064C31: mov dword ptr [ecx], edx */ 18003 ebx = POP32_VAL(esp); /* 0x2B064C33: pop ebx */ 18004 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064C34: ret */ 18005 L_2B064C35: 18006 eax = MEM32(eax + 0x4); /* 0x2B064C35: mov eax, dword ptr [eax + 4] */ 18007 edx = MEM32(ecx); /* 0x2B064C38: mov edx, dword ptr [ecx] */ 18008 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B064C3A: cmp edx, dword ptr [eax + 8] */ 18009 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 18010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18011 _flag_k = FK_CMP; 18012 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064C4B; /* 0x2B064C3D: jne 0x2b064c4b */ 18013 L_2B064C3F: 18014 MEM32(ecx) = eax; /* 0x2B064C3F: mov dword ptr [ecx], eax */ 18015 eax = MEM32(eax + 0x4); /* 0x2B064C41: mov eax, dword ptr [eax + 4] */ 18016 edx = MEM32(ecx); /* 0x2B064C44: mov edx, dword ptr [ecx] */ 18017 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B064C46: cmp edx, dword ptr [eax + 8] */ 18018 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 18019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18020 _flag_k = FK_CMP; 18021 RECOMP_BACKEDGE(); 18022 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064C3F; /* 0x2B064C49: je 0x2b064c3f */ 18023 L_2B064C4B: 18024 edx = MEM32(ecx); /* 0x2B064C4B: mov edx, dword ptr [ecx] */ 18025 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B064C4D: cmp dword ptr [edx + 8], eax */ 18026 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 18027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18028 _flag_k = FK_CMP; 18029 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064C54; /* 0x2B064C50: je 0x2b064c54 */ 18030 L_2B064C52: 18031 MEM32(ecx) = eax; /* 0x2B064C52: mov dword ptr [ecx], eax */ 18032 L_2B064C54: 18033 ebx = POP32_VAL(esp); /* 0x2B064C54: pop ebx */ 18034 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064C55: ret */ 18035 RECOMP_REGS_OUT(); 18036 } 18037 18038 void sub_2B064C60(void) { 18039 int _fpu_cmp = 0; 18040 uint32_t _cf = 0; 18041 int _df = 1; 18042 uint32_t _flag_k = FK_NONE; 18043 uint32_t _flag_a = 0, _flag_b = 0; 18044 uint32_t _itail_tgt = 0; 18045 RECOMP_REGS_LOCALS 18046 RECOMP_ENTER(0x2B064C60u); 18047 18048 L_2B064C60: 18049 PUSH32(esp, ebp); /* 0x2B064C60: push ebp */ 18050 ebp = esp; /* 0x2B064C61: mov ebp, esp */ 18051 PUSH32(esp, ebx); /* 0x2B064C63: push ebx */ 18052 PUSH32(esp, esi); /* 0x2B064C64: push esi */ 18053 ebx = ecx; /* 0x2B064C65: mov ebx, ecx */ 18054 eax = MEM32(ebx + 0x8); /* 0x2B064C67: mov eax, dword ptr [ebx + 8] */ 18055 PUSH32(esp, edi); /* 0x2B064C6A: push edi */ 18056 edi = MEM32(ebp + 0x8); /* 0x2B064C6B: mov edi, dword ptr [ebp + 8] */ 18057 /* cmp edi, eax */ /* 0x2B064C6E: cmp edi, eax */ 18058 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18060 _flag_k = FK_CMP; 18061 esi = edi; /* 0x2B064C70: mov esi, edi */ 18062 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064C93; /* 0x2B064C72: je 0x2b064c93 */ 18063 L_2B064C74: 18064 eax = MEM32(esi + 0x8); /* 0x2B064C74: mov eax, dword ptr [esi + 8] */ 18065 PUSH32(esp, eax); /* 0x2B064C77: push eax */ 18066 ecx = ebx; /* 0x2B064C78: mov ecx, ebx */ 18067 RECOMP_ICALL(0x2B064C60u); /* 0x2B064C7A: call 0x2b064c60 */ /* not lifted */ 18068 RECOMP_FLAGS_IN(); 18069 esi = MEM32(esi); /* 0x2B064C7F: mov esi, dword ptr [esi] */ 18070 PUSH32(esp, edi); /* 0x2B064C81: push edi */ 18071 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B064C82: call 0x2b0ab1ba */ /* not lifted */ 18072 RECOMP_FLAGS_IN(); 18073 eax = MEM32(ebx + 0x8); /* 0x2B064C87: mov eax, dword ptr [ebx + 8] */ 18074 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18075 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18076 esp = esp + 4; /* 0x2B064C8A: add esp, 4 */ 18077 _flag_k = FK_ADD; 18078 /* cmp esi, eax */ /* 0x2B064C8D: cmp esi, eax */ 18079 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 18080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18081 _flag_k = FK_CMP; 18082 edi = esi; /* 0x2B064C8F: mov edi, esi */ 18083 RECOMP_BACKEDGE(); 18084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064C74; /* 0x2B064C91: jne 0x2b064c74 */ 18085 L_2B064C93: 18086 edi = POP32_VAL(esp); /* 0x2B064C93: pop edi */ 18087 esi = POP32_VAL(esp); /* 0x2B064C94: pop esi */ 18088 ebx = POP32_VAL(esp); /* 0x2B064C95: pop ebx */ 18089 ebp = POP32_VAL(esp); /* 0x2B064C96: pop ebp */ 18090 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B064C97: ret 4 */ 18091 RECOMP_REGS_OUT(); 18092 } 18093 18094 void sub_2B064CA0(void) { 18095 int _fpu_cmp = 0; 18096 uint32_t _cf = 0; 18097 int _df = 1; 18098 uint32_t _flag_k = FK_NONE; 18099 uint32_t _flag_a = 0, _flag_b = 0; 18100 uint32_t _itail_tgt = 0; 18101 RECOMP_REGS_LOCALS 18102 RECOMP_ENTER(0x2B064CA0u); 18103 18104 L_2B064CA0: 18105 PUSH32(esp, ebp); /* 0x2B064CA0: push ebp */ 18106 ebp = esp; /* 0x2B064CA1: mov ebp, esp */ 18107 PUSH32(esp, ecx); /* 0x2B064CA3: push ecx */ 18108 PUSH32(esp, ebx); /* 0x2B064CA4: push ebx */ 18109 PUSH32(esp, esi); /* 0x2B064CA5: push esi */ 18110 PUSH32(esp, edi); /* 0x2B064CA6: push edi */ 18111 PUSH32(esp, 0x20u); /* 0x2B064CA7: push 0x20 */ 18112 esi = ecx; /* 0x2B064CA9: mov esi, ecx */ 18113 RECOMP_ICALL(0x2B0AB212u); /* 0x2B064CAB: call 0x2b0ab212 */ /* not lifted */ 18114 RECOMP_FLAGS_IN(); 18115 edi = MEM32(ebp + 0x10); /* 0x2B064CB0: mov edi, dword ptr [ebp + 0x10] */ 18116 ebx = MEM32(ebp + 0x14); /* 0x2B064CB3: mov ebx, dword ptr [ebp + 0x14] */ 18117 MEM32(eax + 0x4) = edi; /* 0x2B064CB6: mov dword ptr [eax + 4], edi */ 18118 MEM8(eax + 0x1C) = (uint8_t)(0); /* 0x2B064CB9: mov byte ptr [eax + 0x1c], 0 */ 18119 MEM8(eax + 0x1D) = (uint8_t)(0); /* 0x2B064CBD: mov byte ptr [eax + 0x1d], 0 */ 18120 ecx = MEM32(esi + 0x8); /* 0x2B064CC1: mov ecx, dword ptr [esi + 8] */ 18121 MEM32(eax) = ecx; /* 0x2B064CC4: mov dword ptr [eax], ecx */ 18122 edx = MEM32(esi + 0x8); /* 0x2B064CC6: mov edx, dword ptr [esi + 8] */ 18123 MEM32(ebp + (-0x4)) = eax; /* 0x2B064CC9: mov dword ptr [ebp - 4], eax */ 18124 MEM32(eax + 0x8) = edx; /* 0x2B064CCC: mov dword ptr [eax + 8], edx */ 18125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 18126 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18127 eax = eax + 0xCu; /* 0x2B064CCF: add eax, 0xc */ 18128 _flag_k = FK_ADD; 18129 PUSH32(esp, ebx); /* 0x2B064CD2: push ebx */ 18130 PUSH32(esp, eax); /* 0x2B064CD3: push eax */ 18131 RECOMP_ICALL(0x2B086A20u); /* 0x2B064CD4: call 0x2b086a20 */ /* not lifted */ 18132 RECOMP_FLAGS_IN(); 18133 ecx = MEM32(esi + 0x10); /* 0x2B064CD9: mov ecx, dword ptr [esi + 0x10] */ 18134 eax = MEM32(esi + 0x4); /* 0x2B064CDC: mov eax, dword ptr [esi + 4] */ 18135 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18137 esp = esp + 0xCu; /* 0x2B064CDF: add esp, 0xc */ 18138 _flag_k = FK_ADD; 18139 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18140 ecx = ecx + 1; /* 0x2B064CE2: inc ecx */ 18141 _flag_k = FK_INC; 18142 /* cmp edi, eax */ /* 0x2B064CE3: cmp edi, eax */ 18143 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18145 _flag_k = FK_CMP; 18146 MEM32(esi + 0x10) = ecx; /* 0x2B064CE5: mov dword ptr [esi + 0x10], ecx */ 18147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D14; /* 0x2B064CE8: je 0x2b064d14 */ 18148 L_2B064CEA: 18149 eax = MEM32(ebp + 0xC); /* 0x2B064CEA: mov eax, dword ptr [ebp + 0xc] */ 18150 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2B064CED: cmp eax, dword ptr [esi + 8] */ 18151 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18153 _flag_k = FK_CMP; 18154 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D14; /* 0x2B064CF0: jne 0x2b064d14 */ 18155 L_2B064CF2: 18156 ecx = edi + 0xC; /* 0x2B064CF2: lea ecx, [edi + 0xc] */ 18157 PUSH32(esp, ecx); /* 0x2B064CF5: push ecx */ 18158 ecx = ebx; /* 0x2B064CF6: mov ecx, ebx */ 18159 RECOMP_ICALL(0x2B064790u); /* 0x2B064CF8: call 0x2b064790 */ /* not lifted */ 18160 RECOMP_FLAGS_IN(); 18161 /* test LO8(eax), LO8(eax) */ /* 0x2B064CFD: test al, al */ 18162 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18163 _cf = 0; 18164 _flag_k = FK_NARROW(FK_TEST, 24); 18165 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064D14; /* 0x2B064CFF: jne 0x2b064d14 */ 18166 L_2B064D01: 18167 ecx = MEM32(ebp + (-0x4)); /* 0x2B064D01: mov ecx, dword ptr [ebp - 4] */ 18168 MEM32(edi + 0x8) = ecx; /* 0x2B064D04: mov dword ptr [edi + 8], ecx */ 18169 eax = MEM32(esi + 0x4); /* 0x2B064D07: mov eax, dword ptr [esi + 4] */ 18170 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B064D0A: cmp edi, dword ptr [eax + 8] */ 18171 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 18172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18173 _flag_k = FK_CMP; 18174 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D34; /* 0x2B064D0D: jne 0x2b064d34 */ 18175 L_2B064D0F: 18176 MEM32(eax + 0x8) = ecx; /* 0x2B064D0F: mov dword ptr [eax + 8], ecx */ 18177 goto L_2B064D34; /* 0x2B064D12: jmp 0x2b064d34 */ 18178 L_2B064D14: 18179 ecx = MEM32(ebp + (-0x4)); /* 0x2B064D14: mov ecx, dword ptr [ebp - 4] */ 18180 MEM32(edi) = ecx; /* 0x2B064D17: mov dword ptr [edi], ecx */ 18181 eax = MEM32(esi + 0x4); /* 0x2B064D19: mov eax, dword ptr [esi + 4] */ 18182 /* cmp edi, eax */ /* 0x2B064D1C: cmp edi, eax */ 18183 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18185 _flag_k = FK_CMP; 18186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D2B; /* 0x2B064D1E: jne 0x2b064d2b */ 18187 L_2B064D20: 18188 MEM32(eax + 0x4) = ecx; /* 0x2B064D20: mov dword ptr [eax + 4], ecx */ 18189 edx = MEM32(esi + 0x4); /* 0x2B064D23: mov edx, dword ptr [esi + 4] */ 18190 MEM32(edx + 0x8) = ecx; /* 0x2B064D26: mov dword ptr [edx + 8], ecx */ 18191 goto L_2B064D34; /* 0x2B064D29: jmp 0x2b064d34 */ 18192 L_2B064D2B: 18193 /* cmp edi, MEM32(eax) */ /* 0x2B064D2B: cmp edi, dword ptr [eax] */ 18194 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 18195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18196 _flag_k = FK_CMP; 18197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D34; /* 0x2B064D2D: jne 0x2b064d34 */ 18198 L_2B064D2F: 18199 ecx = MEM32(ebp + (-0x4)); /* 0x2B064D2F: mov ecx, dword ptr [ebp - 4] */ 18200 MEM32(eax) = ecx; /* 0x2B064D32: mov dword ptr [eax], ecx */ 18201 L_2B064D34: 18202 edx = MEM32(esi + 0x4); /* 0x2B064D34: mov edx, dword ptr [esi + 4] */ 18203 eax = MEM32(ebp + (-0x4)); /* 0x2B064D37: mov eax, dword ptr [ebp - 4] */ 18204 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064D3A: cmp eax, dword ptr [edx + 4] */ 18205 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18207 _flag_k = FK_CMP; 18208 SET_LO8(ebx, 1); /* 0x2B064D3D: mov bl, 1 */ 18209 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D3F: je 0x2b064ec5 */ 18210 L_2B064D45: 18211 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 18212 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 18213 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 18214 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18215 _cf = 0; 18216 _flag_k = FK_NARROW(FK_TEST, 24); 18217 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 18218 L_2B064D53: 18219 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 18220 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 18221 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 18222 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 18223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18224 _flag_k = FK_CMP; 18225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 18226 L_2B064D60: 18227 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 18228 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 18229 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 18230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18231 _flag_k = FK_NARROW(FK_CMP, 24); 18232 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 18233 L_2B064D69: 18234 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 18235 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 18236 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 18237 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 18238 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 18239 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 18240 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 18241 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 18242 L_2B064D84: 18243 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 18244 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 18245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18246 _flag_k = FK_CMP; 18247 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 18248 L_2B064D89: 18249 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 18250 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 18251 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 18252 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 18253 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 18254 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 18255 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18257 _flag_k = FK_CMP; 18258 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 18259 L_2B064D9A: 18260 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 18261 L_2B064D9D: 18262 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 18263 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 18264 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 18265 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 18266 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18268 _flag_k = FK_CMP; 18269 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 18270 L_2B064DAB: 18271 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 18272 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 18273 L_2B064DB0: 18274 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 18275 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 18276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 18277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18278 _flag_k = FK_CMP; 18279 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 18280 L_2B064DB7: 18281 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 18282 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 18283 L_2B064DBB: 18284 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 18285 L_2B064DBE: 18286 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 18287 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 18288 L_2B064DC3: 18289 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 18290 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 18291 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 18292 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 18293 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 18294 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 18295 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 18296 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 18297 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 18298 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 18299 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 18300 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 18301 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18303 _flag_k = FK_CMP; 18304 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 18305 L_2B064DE8: 18306 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 18307 L_2B064DEB: 18308 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 18309 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 18310 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 18311 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 18312 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18314 _flag_k = FK_CMP; 18315 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 18316 L_2B064DF9: 18317 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 18318 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 18319 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 18320 L_2B064E04: 18321 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 18322 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 18323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18325 _flag_k = FK_CMP; 18326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 18327 L_2B064E0C: 18328 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 18329 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 18330 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 18331 L_2B064E17: 18332 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 18333 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 18334 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 18335 L_2B064E21: 18336 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 18337 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 18338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18339 _flag_k = FK_NARROW(FK_CMP, 24); 18340 RECOMP_BACKEDGE(); 18341 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 18342 L_2B064E2B: 18343 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 18344 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 18345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18346 _flag_k = FK_CMP; 18347 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 18348 L_2B064E2F: 18349 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 18350 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 18351 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 18352 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 18353 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 18354 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 18355 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18357 _flag_k = FK_CMP; 18358 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 18359 L_2B064E40: 18360 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 18361 L_2B064E43: 18362 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 18363 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 18364 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 18365 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 18366 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18368 _flag_k = FK_CMP; 18369 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 18370 L_2B064E51: 18371 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 18372 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 18373 L_2B064E56: 18374 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 18375 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 18376 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18378 _flag_k = FK_CMP; 18379 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 18380 L_2B064E5E: 18381 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 18382 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 18383 L_2B064E63: 18384 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 18385 L_2B064E65: 18386 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 18387 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 18388 L_2B064E6B: 18389 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 18390 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 18391 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 18392 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 18393 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 18394 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 18395 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 18396 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 18397 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 18398 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 18399 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 18400 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 18401 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18403 _flag_k = FK_CMP; 18404 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 18405 L_2B064E90: 18406 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 18407 L_2B064E93: 18408 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 18409 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 18410 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 18411 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 18412 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18413 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18414 _flag_k = FK_CMP; 18415 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 18416 L_2B064EA1: 18417 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 18418 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 18419 L_2B064EA6: 18420 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 18421 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 18422 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 18423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18424 _flag_k = FK_CMP; 18425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 18426 L_2B064EAD: 18427 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 18428 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 18429 L_2B064EB1: 18430 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 18431 L_2B064EB4: 18432 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 18433 L_2B064EB6: 18434 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 18435 L_2B064EB9: 18436 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 18437 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 18438 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 18439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18440 _flag_k = FK_CMP; 18441 RECOMP_BACKEDGE(); 18442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 18443 L_2B064EC5: 18444 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 18445 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 18446 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 18447 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 18448 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 18449 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 18450 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 18451 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 18452 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 18453 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 18454 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 18455 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 18456 RECOMP_REGS_OUT(); 18457 } 18458 18459 void sub_2B064D45(void) { 18460 int _fpu_cmp = 0; 18461 uint32_t _cf = 0; 18462 int _df = 1; 18463 uint32_t _flag_k = FK_NONE; 18464 uint32_t _flag_a = 0, _flag_b = 0; 18465 uint32_t _itail_tgt = 0; 18466 RECOMP_REGS_LOCALS 18467 RECOMP_ENTER(0x2B064D45u); 18468 18469 L_2B064D45: 18470 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 18471 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 18472 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 18473 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18474 _cf = 0; 18475 _flag_k = FK_NARROW(FK_TEST, 24); 18476 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 18477 L_2B064D53: 18478 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 18479 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 18480 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 18481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 18482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18483 _flag_k = FK_CMP; 18484 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 18485 L_2B064D60: 18486 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 18487 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 18488 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 18489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18490 _flag_k = FK_NARROW(FK_CMP, 24); 18491 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 18492 L_2B064D69: 18493 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 18494 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 18495 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 18496 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 18497 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 18498 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 18499 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 18500 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 18501 L_2B064D84: 18502 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 18503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 18504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18505 _flag_k = FK_CMP; 18506 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 18507 L_2B064D89: 18508 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 18509 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 18510 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 18511 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 18512 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 18513 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 18514 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18516 _flag_k = FK_CMP; 18517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 18518 L_2B064D9A: 18519 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 18520 L_2B064D9D: 18521 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 18522 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 18523 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 18524 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 18525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18527 _flag_k = FK_CMP; 18528 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 18529 L_2B064DAB: 18530 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 18531 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 18532 L_2B064DB0: 18533 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 18534 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 18535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 18536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18537 _flag_k = FK_CMP; 18538 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 18539 L_2B064DB7: 18540 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 18541 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 18542 L_2B064DBB: 18543 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 18544 L_2B064DBE: 18545 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 18546 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 18547 L_2B064DC3: 18548 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 18549 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 18550 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 18551 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 18552 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 18553 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 18554 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 18555 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 18556 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 18557 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 18558 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 18559 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 18560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18562 _flag_k = FK_CMP; 18563 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 18564 L_2B064DE8: 18565 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 18566 L_2B064DEB: 18567 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 18568 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 18569 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 18570 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 18571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18573 _flag_k = FK_CMP; 18574 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 18575 L_2B064DF9: 18576 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 18577 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 18578 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 18579 L_2B064E04: 18580 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 18581 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 18582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18584 _flag_k = FK_CMP; 18585 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 18586 L_2B064E0C: 18587 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 18588 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 18589 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 18590 L_2B064E17: 18591 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 18592 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 18593 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 18594 L_2B064E21: 18595 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 18596 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 18597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18598 _flag_k = FK_NARROW(FK_CMP, 24); 18599 RECOMP_BACKEDGE(); 18600 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 18601 L_2B064E2B: 18602 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 18603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 18604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18605 _flag_k = FK_CMP; 18606 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 18607 L_2B064E2F: 18608 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 18609 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 18610 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 18611 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 18612 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 18613 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 18614 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18616 _flag_k = FK_CMP; 18617 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 18618 L_2B064E40: 18619 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 18620 L_2B064E43: 18621 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 18622 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 18623 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 18624 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 18625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18627 _flag_k = FK_CMP; 18628 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 18629 L_2B064E51: 18630 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 18631 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 18632 L_2B064E56: 18633 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 18634 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 18635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18637 _flag_k = FK_CMP; 18638 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 18639 L_2B064E5E: 18640 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 18641 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 18642 L_2B064E63: 18643 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 18644 L_2B064E65: 18645 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 18646 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 18647 L_2B064E6B: 18648 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 18649 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 18650 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 18651 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 18652 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 18653 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 18654 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 18655 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 18656 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 18657 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 18658 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 18659 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 18660 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18662 _flag_k = FK_CMP; 18663 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 18664 L_2B064E90: 18665 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 18666 L_2B064E93: 18667 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 18668 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 18669 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 18670 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 18671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18673 _flag_k = FK_CMP; 18674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 18675 L_2B064EA1: 18676 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 18677 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 18678 L_2B064EA6: 18679 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 18680 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 18681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 18682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18683 _flag_k = FK_CMP; 18684 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 18685 L_2B064EAD: 18686 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 18687 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 18688 L_2B064EB1: 18689 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 18690 L_2B064EB4: 18691 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 18692 L_2B064EB6: 18693 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 18694 L_2B064EB9: 18695 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 18696 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 18697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 18698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18699 _flag_k = FK_CMP; 18700 RECOMP_BACKEDGE(); 18701 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 18702 L_2B064EC5: 18703 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 18704 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 18705 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 18706 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 18707 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 18708 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 18709 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 18710 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 18711 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 18712 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 18713 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 18714 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 18715 RECOMP_REGS_OUT(); 18716 } 18717 18718 void sub_2B064D69(void) { 18719 int _fpu_cmp = 0; 18720 uint32_t _cf = 0; 18721 int _df = 1; 18722 uint32_t _flag_k = FK_NONE; 18723 uint32_t _flag_a = 0, _flag_b = 0; 18724 uint32_t _itail_tgt = 0; 18725 RECOMP_REGS_LOCALS 18726 RECOMP_ENTER(0x2B064D69u); 18727 18728 goto L_2B064D69; 18729 L_2B064D45: 18730 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 18731 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 18732 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 18733 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18734 _cf = 0; 18735 _flag_k = FK_NARROW(FK_TEST, 24); 18736 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 18737 L_2B064D53: 18738 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 18739 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 18740 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 18741 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 18742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18743 _flag_k = FK_CMP; 18744 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 18745 L_2B064D60: 18746 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 18747 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 18748 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 18749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18750 _flag_k = FK_NARROW(FK_CMP, 24); 18751 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 18752 L_2B064D69: 18753 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 18754 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 18755 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 18756 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 18757 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 18758 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 18759 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 18760 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 18761 L_2B064D84: 18762 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 18763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 18764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18765 _flag_k = FK_CMP; 18766 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 18767 L_2B064D89: 18768 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 18769 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 18770 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 18771 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 18772 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 18773 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 18774 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18776 _flag_k = FK_CMP; 18777 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 18778 L_2B064D9A: 18779 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 18780 L_2B064D9D: 18781 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 18782 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 18783 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 18784 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 18785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18787 _flag_k = FK_CMP; 18788 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 18789 L_2B064DAB: 18790 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 18791 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 18792 L_2B064DB0: 18793 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 18794 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 18795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 18796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18797 _flag_k = FK_CMP; 18798 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 18799 L_2B064DB7: 18800 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 18801 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 18802 L_2B064DBB: 18803 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 18804 L_2B064DBE: 18805 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 18806 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 18807 L_2B064DC3: 18808 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 18809 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 18810 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 18811 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 18812 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 18813 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 18814 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 18815 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 18816 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 18817 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 18818 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 18819 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 18820 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18822 _flag_k = FK_CMP; 18823 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 18824 L_2B064DE8: 18825 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 18826 L_2B064DEB: 18827 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 18828 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 18829 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 18830 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 18831 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18833 _flag_k = FK_CMP; 18834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 18835 L_2B064DF9: 18836 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 18837 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 18838 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 18839 L_2B064E04: 18840 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 18841 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 18842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18844 _flag_k = FK_CMP; 18845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 18846 L_2B064E0C: 18847 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 18848 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 18849 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 18850 L_2B064E17: 18851 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 18852 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 18853 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 18854 L_2B064E21: 18855 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 18856 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 18857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18858 _flag_k = FK_NARROW(FK_CMP, 24); 18859 RECOMP_BACKEDGE(); 18860 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 18861 L_2B064E2B: 18862 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 18863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 18864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18865 _flag_k = FK_CMP; 18866 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 18867 L_2B064E2F: 18868 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 18869 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 18870 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 18871 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 18872 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 18873 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 18874 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18876 _flag_k = FK_CMP; 18877 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 18878 L_2B064E40: 18879 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 18880 L_2B064E43: 18881 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 18882 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 18883 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 18884 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 18885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18887 _flag_k = FK_CMP; 18888 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 18889 L_2B064E51: 18890 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 18891 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 18892 L_2B064E56: 18893 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 18894 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 18895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18897 _flag_k = FK_CMP; 18898 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 18899 L_2B064E5E: 18900 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 18901 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 18902 L_2B064E63: 18903 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 18904 L_2B064E65: 18905 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 18906 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 18907 L_2B064E6B: 18908 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 18909 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 18910 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 18911 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 18912 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 18913 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 18914 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 18915 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 18916 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 18917 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 18918 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 18919 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 18920 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18922 _flag_k = FK_CMP; 18923 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 18924 L_2B064E90: 18925 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 18926 L_2B064E93: 18927 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 18928 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 18929 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 18930 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 18931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18933 _flag_k = FK_CMP; 18934 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 18935 L_2B064EA1: 18936 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 18937 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 18938 L_2B064EA6: 18939 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 18940 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 18941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 18942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18943 _flag_k = FK_CMP; 18944 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 18945 L_2B064EAD: 18946 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 18947 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 18948 L_2B064EB1: 18949 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 18950 L_2B064EB4: 18951 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 18952 L_2B064EB6: 18953 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 18954 L_2B064EB9: 18955 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 18956 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 18957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 18958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18959 _flag_k = FK_CMP; 18960 RECOMP_BACKEDGE(); 18961 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 18962 L_2B064EC5: 18963 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 18964 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 18965 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 18966 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 18967 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 18968 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 18969 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 18970 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 18971 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 18972 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 18973 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 18974 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 18975 RECOMP_REGS_OUT(); 18976 } 18977 18978 void sub_2B064DBE(void) { 18979 int _fpu_cmp = 0; 18980 uint32_t _cf = 0; 18981 int _df = 1; 18982 uint32_t _flag_k = FK_NONE; 18983 uint32_t _flag_a = 0, _flag_b = 0; 18984 uint32_t _itail_tgt = 0; 18985 RECOMP_REGS_LOCALS 18986 RECOMP_ENTER(0x2B064DBEu); 18987 18988 goto L_2B064DBE; 18989 L_2B064D45: 18990 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 18991 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 18992 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 18993 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18994 _cf = 0; 18995 _flag_k = FK_NARROW(FK_TEST, 24); 18996 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 18997 L_2B064D53: 18998 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 18999 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 19000 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 19001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19003 _flag_k = FK_CMP; 19004 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 19005 L_2B064D60: 19006 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 19007 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 19008 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19010 _flag_k = FK_NARROW(FK_CMP, 24); 19011 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 19012 L_2B064D69: 19013 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 19014 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 19015 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 19016 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 19017 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 19018 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 19019 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 19020 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 19021 L_2B064D84: 19022 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 19023 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19025 _flag_k = FK_CMP; 19026 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 19027 L_2B064D89: 19028 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 19029 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 19030 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 19031 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 19032 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 19033 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 19034 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19036 _flag_k = FK_CMP; 19037 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 19038 L_2B064D9A: 19039 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 19040 L_2B064D9D: 19041 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 19042 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 19043 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 19044 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 19045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19047 _flag_k = FK_CMP; 19048 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 19049 L_2B064DAB: 19050 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 19051 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 19052 L_2B064DB0: 19053 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 19054 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 19055 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19057 _flag_k = FK_CMP; 19058 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 19059 L_2B064DB7: 19060 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 19061 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 19062 L_2B064DBB: 19063 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 19064 L_2B064DBE: 19065 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 19066 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 19067 L_2B064DC3: 19068 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 19069 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 19070 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 19071 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 19072 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 19073 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 19074 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 19075 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 19076 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 19077 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 19078 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 19079 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 19080 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19082 _flag_k = FK_CMP; 19083 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 19084 L_2B064DE8: 19085 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 19086 L_2B064DEB: 19087 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 19088 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 19089 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 19090 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 19091 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19093 _flag_k = FK_CMP; 19094 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 19095 L_2B064DF9: 19096 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 19097 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 19098 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 19099 L_2B064E04: 19100 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 19101 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 19102 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19104 _flag_k = FK_CMP; 19105 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 19106 L_2B064E0C: 19107 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 19108 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 19109 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 19110 L_2B064E17: 19111 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 19112 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 19113 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 19114 L_2B064E21: 19115 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 19116 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19118 _flag_k = FK_NARROW(FK_CMP, 24); 19119 RECOMP_BACKEDGE(); 19120 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 19121 L_2B064E2B: 19122 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 19123 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19125 _flag_k = FK_CMP; 19126 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 19127 L_2B064E2F: 19128 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 19129 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 19130 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 19131 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 19132 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 19133 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 19134 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19136 _flag_k = FK_CMP; 19137 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 19138 L_2B064E40: 19139 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 19140 L_2B064E43: 19141 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 19142 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 19143 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 19144 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 19145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19147 _flag_k = FK_CMP; 19148 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 19149 L_2B064E51: 19150 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 19151 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 19152 L_2B064E56: 19153 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 19154 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 19155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19157 _flag_k = FK_CMP; 19158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 19159 L_2B064E5E: 19160 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 19161 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 19162 L_2B064E63: 19163 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 19164 L_2B064E65: 19165 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 19166 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 19167 L_2B064E6B: 19168 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 19169 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 19170 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 19171 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 19172 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 19173 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 19174 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 19175 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 19176 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 19177 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 19178 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 19179 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 19180 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19182 _flag_k = FK_CMP; 19183 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 19184 L_2B064E90: 19185 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 19186 L_2B064E93: 19187 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 19188 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 19189 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 19190 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 19191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19193 _flag_k = FK_CMP; 19194 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 19195 L_2B064EA1: 19196 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 19197 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 19198 L_2B064EA6: 19199 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 19200 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 19201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19203 _flag_k = FK_CMP; 19204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 19205 L_2B064EAD: 19206 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 19207 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 19208 L_2B064EB1: 19209 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 19210 L_2B064EB4: 19211 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 19212 L_2B064EB6: 19213 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 19214 L_2B064EB9: 19215 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 19216 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 19217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19219 _flag_k = FK_CMP; 19220 RECOMP_BACKEDGE(); 19221 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 19222 L_2B064EC5: 19223 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 19224 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 19225 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 19226 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 19227 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 19228 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 19229 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 19230 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 19231 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 19232 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 19233 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 19234 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 19235 RECOMP_REGS_OUT(); 19236 } 19237 19238 void sub_2B064DC3(void) { 19239 int _fpu_cmp = 0; 19240 uint32_t _cf = 0; 19241 int _df = 1; 19242 uint32_t _flag_k = FK_NONE; 19243 uint32_t _flag_a = 0, _flag_b = 0; 19244 uint32_t _itail_tgt = 0; 19245 RECOMP_REGS_LOCALS 19246 RECOMP_ENTER(0x2B064DC3u); 19247 19248 goto L_2B064DC3; 19249 L_2B064D45: 19250 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 19251 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 19252 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 19253 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19254 _cf = 0; 19255 _flag_k = FK_NARROW(FK_TEST, 24); 19256 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 19257 L_2B064D53: 19258 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 19259 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 19260 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 19261 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19263 _flag_k = FK_CMP; 19264 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 19265 L_2B064D60: 19266 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 19267 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 19268 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19270 _flag_k = FK_NARROW(FK_CMP, 24); 19271 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 19272 L_2B064D69: 19273 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 19274 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 19275 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 19276 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 19277 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 19278 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 19279 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 19280 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 19281 L_2B064D84: 19282 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 19283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19285 _flag_k = FK_CMP; 19286 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 19287 L_2B064D89: 19288 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 19289 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 19290 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 19291 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 19292 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 19293 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 19294 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19296 _flag_k = FK_CMP; 19297 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 19298 L_2B064D9A: 19299 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 19300 L_2B064D9D: 19301 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 19302 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 19303 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 19304 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 19305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19307 _flag_k = FK_CMP; 19308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 19309 L_2B064DAB: 19310 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 19311 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 19312 L_2B064DB0: 19313 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 19314 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 19315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19317 _flag_k = FK_CMP; 19318 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 19319 L_2B064DB7: 19320 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 19321 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 19322 L_2B064DBB: 19323 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 19324 L_2B064DBE: 19325 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 19326 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 19327 L_2B064DC3: 19328 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 19329 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 19330 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 19331 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 19332 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 19333 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 19334 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 19335 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 19336 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 19337 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 19338 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 19339 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 19340 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19342 _flag_k = FK_CMP; 19343 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 19344 L_2B064DE8: 19345 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 19346 L_2B064DEB: 19347 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 19348 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 19349 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 19350 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 19351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19353 _flag_k = FK_CMP; 19354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 19355 L_2B064DF9: 19356 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 19357 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 19358 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 19359 L_2B064E04: 19360 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 19361 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 19362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19364 _flag_k = FK_CMP; 19365 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 19366 L_2B064E0C: 19367 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 19368 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 19369 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 19370 L_2B064E17: 19371 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 19372 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 19373 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 19374 L_2B064E21: 19375 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 19376 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19378 _flag_k = FK_NARROW(FK_CMP, 24); 19379 RECOMP_BACKEDGE(); 19380 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 19381 L_2B064E2B: 19382 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 19383 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19385 _flag_k = FK_CMP; 19386 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 19387 L_2B064E2F: 19388 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 19389 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 19390 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 19391 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 19392 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 19393 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 19394 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19396 _flag_k = FK_CMP; 19397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 19398 L_2B064E40: 19399 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 19400 L_2B064E43: 19401 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 19402 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 19403 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 19404 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 19405 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19407 _flag_k = FK_CMP; 19408 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 19409 L_2B064E51: 19410 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 19411 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 19412 L_2B064E56: 19413 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 19414 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 19415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19417 _flag_k = FK_CMP; 19418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 19419 L_2B064E5E: 19420 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 19421 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 19422 L_2B064E63: 19423 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 19424 L_2B064E65: 19425 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 19426 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 19427 L_2B064E6B: 19428 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 19429 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 19430 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 19431 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 19432 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 19433 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 19434 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 19435 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 19436 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 19437 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 19438 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 19439 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 19440 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19442 _flag_k = FK_CMP; 19443 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 19444 L_2B064E90: 19445 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 19446 L_2B064E93: 19447 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 19448 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 19449 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 19450 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 19451 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19453 _flag_k = FK_CMP; 19454 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 19455 L_2B064EA1: 19456 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 19457 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 19458 L_2B064EA6: 19459 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 19460 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 19461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19463 _flag_k = FK_CMP; 19464 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 19465 L_2B064EAD: 19466 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 19467 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 19468 L_2B064EB1: 19469 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 19470 L_2B064EB4: 19471 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 19472 L_2B064EB6: 19473 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 19474 L_2B064EB9: 19475 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 19476 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 19477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19479 _flag_k = FK_CMP; 19480 RECOMP_BACKEDGE(); 19481 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 19482 L_2B064EC5: 19483 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 19484 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 19485 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 19486 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 19487 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 19488 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 19489 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 19490 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 19491 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 19492 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 19493 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 19494 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 19495 RECOMP_REGS_OUT(); 19496 } 19497 19498 void sub_2B064E21(void) { 19499 int _fpu_cmp = 0; 19500 uint32_t _cf = 0; 19501 int _df = 1; 19502 uint32_t _flag_k = FK_NONE; 19503 uint32_t _flag_a = 0, _flag_b = 0; 19504 uint32_t _itail_tgt = 0; 19505 RECOMP_REGS_LOCALS 19506 RECOMP_ENTER(0x2B064E21u); 19507 19508 goto L_2B064E21; 19509 L_2B064D45: 19510 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 19511 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 19512 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 19513 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19514 _cf = 0; 19515 _flag_k = FK_NARROW(FK_TEST, 24); 19516 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 19517 L_2B064D53: 19518 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 19519 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 19520 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 19521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19523 _flag_k = FK_CMP; 19524 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 19525 L_2B064D60: 19526 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 19527 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 19528 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19530 _flag_k = FK_NARROW(FK_CMP, 24); 19531 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 19532 L_2B064D69: 19533 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 19534 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 19535 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 19536 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 19537 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 19538 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 19539 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 19540 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 19541 L_2B064D84: 19542 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 19543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19545 _flag_k = FK_CMP; 19546 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 19547 L_2B064D89: 19548 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 19549 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 19550 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 19551 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 19552 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 19553 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 19554 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19556 _flag_k = FK_CMP; 19557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 19558 L_2B064D9A: 19559 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 19560 L_2B064D9D: 19561 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 19562 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 19563 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 19564 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 19565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19567 _flag_k = FK_CMP; 19568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 19569 L_2B064DAB: 19570 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 19571 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 19572 L_2B064DB0: 19573 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 19574 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 19575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19577 _flag_k = FK_CMP; 19578 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 19579 L_2B064DB7: 19580 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 19581 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 19582 L_2B064DBB: 19583 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 19584 L_2B064DBE: 19585 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 19586 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 19587 L_2B064DC3: 19588 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 19589 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 19590 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 19591 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 19592 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 19593 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 19594 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 19595 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 19596 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 19597 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 19598 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 19599 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 19600 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19602 _flag_k = FK_CMP; 19603 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 19604 L_2B064DE8: 19605 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 19606 L_2B064DEB: 19607 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 19608 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 19609 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 19610 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 19611 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19613 _flag_k = FK_CMP; 19614 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 19615 L_2B064DF9: 19616 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 19617 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 19618 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 19619 L_2B064E04: 19620 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 19621 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 19622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19624 _flag_k = FK_CMP; 19625 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 19626 L_2B064E0C: 19627 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 19628 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 19629 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 19630 L_2B064E17: 19631 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 19632 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 19633 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 19634 L_2B064E21: 19635 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 19636 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19638 _flag_k = FK_NARROW(FK_CMP, 24); 19639 RECOMP_BACKEDGE(); 19640 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 19641 L_2B064E2B: 19642 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 19643 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19645 _flag_k = FK_CMP; 19646 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 19647 L_2B064E2F: 19648 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 19649 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 19650 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 19651 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 19652 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 19653 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 19654 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19656 _flag_k = FK_CMP; 19657 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 19658 L_2B064E40: 19659 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 19660 L_2B064E43: 19661 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 19662 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 19663 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 19664 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 19665 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19667 _flag_k = FK_CMP; 19668 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 19669 L_2B064E51: 19670 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 19671 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 19672 L_2B064E56: 19673 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 19674 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 19675 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19677 _flag_k = FK_CMP; 19678 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 19679 L_2B064E5E: 19680 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 19681 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 19682 L_2B064E63: 19683 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 19684 L_2B064E65: 19685 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 19686 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 19687 L_2B064E6B: 19688 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 19689 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 19690 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 19691 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 19692 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 19693 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 19694 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 19695 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 19696 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 19697 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 19698 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 19699 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 19700 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19702 _flag_k = FK_CMP; 19703 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 19704 L_2B064E90: 19705 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 19706 L_2B064E93: 19707 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 19708 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 19709 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 19710 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 19711 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19713 _flag_k = FK_CMP; 19714 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 19715 L_2B064EA1: 19716 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 19717 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 19718 L_2B064EA6: 19719 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 19720 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 19721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19723 _flag_k = FK_CMP; 19724 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 19725 L_2B064EAD: 19726 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 19727 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 19728 L_2B064EB1: 19729 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 19730 L_2B064EB4: 19731 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 19732 L_2B064EB6: 19733 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 19734 L_2B064EB9: 19735 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 19736 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 19737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19739 _flag_k = FK_CMP; 19740 RECOMP_BACKEDGE(); 19741 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 19742 L_2B064EC5: 19743 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 19744 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 19745 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 19746 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 19747 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 19748 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 19749 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 19750 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 19751 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 19752 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 19753 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 19754 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 19755 RECOMP_REGS_OUT(); 19756 } 19757 19758 void sub_2B064E65(void) { 19759 int _fpu_cmp = 0; 19760 uint32_t _cf = 0; 19761 int _df = 1; 19762 uint32_t _flag_k = FK_NONE; 19763 uint32_t _flag_a = 0, _flag_b = 0; 19764 uint32_t _itail_tgt = 0; 19765 RECOMP_REGS_LOCALS 19766 RECOMP_ENTER(0x2B064E65u); 19767 19768 goto L_2B064E65; 19769 L_2B064D45: 19770 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 19771 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 19772 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 19773 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19774 _cf = 0; 19775 _flag_k = FK_NARROW(FK_TEST, 24); 19776 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 19777 L_2B064D53: 19778 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 19779 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 19780 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 19781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19783 _flag_k = FK_CMP; 19784 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 19785 L_2B064D60: 19786 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 19787 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 19788 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19790 _flag_k = FK_NARROW(FK_CMP, 24); 19791 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 19792 L_2B064D69: 19793 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 19794 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 19795 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 19796 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 19797 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 19798 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 19799 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 19800 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 19801 L_2B064D84: 19802 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 19803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19805 _flag_k = FK_CMP; 19806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 19807 L_2B064D89: 19808 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 19809 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 19810 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 19811 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 19812 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 19813 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 19814 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19816 _flag_k = FK_CMP; 19817 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 19818 L_2B064D9A: 19819 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 19820 L_2B064D9D: 19821 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 19822 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 19823 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 19824 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 19825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19827 _flag_k = FK_CMP; 19828 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 19829 L_2B064DAB: 19830 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 19831 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 19832 L_2B064DB0: 19833 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 19834 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 19835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19837 _flag_k = FK_CMP; 19838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 19839 L_2B064DB7: 19840 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 19841 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 19842 L_2B064DBB: 19843 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 19844 L_2B064DBE: 19845 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 19846 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 19847 L_2B064DC3: 19848 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 19849 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 19850 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 19851 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 19852 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 19853 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 19854 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 19855 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 19856 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 19857 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 19858 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 19859 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 19860 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19862 _flag_k = FK_CMP; 19863 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 19864 L_2B064DE8: 19865 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 19866 L_2B064DEB: 19867 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 19868 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 19869 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 19870 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 19871 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19873 _flag_k = FK_CMP; 19874 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 19875 L_2B064DF9: 19876 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 19877 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 19878 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 19879 L_2B064E04: 19880 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 19881 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 19882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19884 _flag_k = FK_CMP; 19885 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 19886 L_2B064E0C: 19887 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 19888 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 19889 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 19890 L_2B064E17: 19891 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 19892 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 19893 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 19894 L_2B064E21: 19895 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 19896 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 19897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19898 _flag_k = FK_NARROW(FK_CMP, 24); 19899 RECOMP_BACKEDGE(); 19900 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 19901 L_2B064E2B: 19902 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 19903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19905 _flag_k = FK_CMP; 19906 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 19907 L_2B064E2F: 19908 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 19909 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 19910 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 19911 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 19912 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 19913 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 19914 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19916 _flag_k = FK_CMP; 19917 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 19918 L_2B064E40: 19919 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 19920 L_2B064E43: 19921 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 19922 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 19923 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 19924 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 19925 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19927 _flag_k = FK_CMP; 19928 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 19929 L_2B064E51: 19930 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 19931 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 19932 L_2B064E56: 19933 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 19934 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 19935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19937 _flag_k = FK_CMP; 19938 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 19939 L_2B064E5E: 19940 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 19941 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 19942 L_2B064E63: 19943 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 19944 L_2B064E65: 19945 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 19946 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 19947 L_2B064E6B: 19948 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 19949 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 19950 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 19951 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 19952 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 19953 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 19954 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 19955 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 19956 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 19957 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 19958 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 19959 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 19960 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19962 _flag_k = FK_CMP; 19963 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 19964 L_2B064E90: 19965 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 19966 L_2B064E93: 19967 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 19968 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 19969 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 19970 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 19971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19973 _flag_k = FK_CMP; 19974 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 19975 L_2B064EA1: 19976 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 19977 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 19978 L_2B064EA6: 19979 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 19980 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 19981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19983 _flag_k = FK_CMP; 19984 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 19985 L_2B064EAD: 19986 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 19987 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 19988 L_2B064EB1: 19989 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 19990 L_2B064EB4: 19991 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 19992 L_2B064EB6: 19993 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 19994 L_2B064EB9: 19995 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 19996 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 19997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19999 _flag_k = FK_CMP; 20000 RECOMP_BACKEDGE(); 20001 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 20002 L_2B064EC5: 20003 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 20004 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 20005 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 20006 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 20007 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 20008 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 20009 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 20010 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 20011 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 20012 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 20013 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 20014 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 20015 RECOMP_REGS_OUT(); 20016 } 20017 20018 void sub_2B064E6B(void) { 20019 int _fpu_cmp = 0; 20020 uint32_t _cf = 0; 20021 int _df = 1; 20022 uint32_t _flag_k = FK_NONE; 20023 uint32_t _flag_a = 0, _flag_b = 0; 20024 uint32_t _itail_tgt = 0; 20025 RECOMP_REGS_LOCALS 20026 RECOMP_ENTER(0x2B064E6Bu); 20027 20028 goto L_2B064E6B; 20029 L_2B064D45: 20030 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 20031 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 20032 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 20033 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20034 _cf = 0; 20035 _flag_k = FK_NARROW(FK_TEST, 24); 20036 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 20037 L_2B064D53: 20038 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 20039 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 20040 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 20041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20043 _flag_k = FK_CMP; 20044 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 20045 L_2B064D60: 20046 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 20047 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 20048 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 20049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20050 _flag_k = FK_NARROW(FK_CMP, 24); 20051 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 20052 L_2B064D69: 20053 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 20054 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 20055 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 20056 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 20057 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 20058 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 20059 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 20060 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 20061 L_2B064D84: 20062 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 20063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20065 _flag_k = FK_CMP; 20066 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 20067 L_2B064D89: 20068 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 20069 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 20070 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 20071 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 20072 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 20073 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 20074 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20076 _flag_k = FK_CMP; 20077 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 20078 L_2B064D9A: 20079 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 20080 L_2B064D9D: 20081 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 20082 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 20083 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 20084 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 20085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20087 _flag_k = FK_CMP; 20088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 20089 L_2B064DAB: 20090 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 20091 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 20092 L_2B064DB0: 20093 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 20094 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 20095 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20097 _flag_k = FK_CMP; 20098 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 20099 L_2B064DB7: 20100 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 20101 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 20102 L_2B064DBB: 20103 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 20104 L_2B064DBE: 20105 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 20106 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 20107 L_2B064DC3: 20108 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 20109 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 20110 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 20111 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 20112 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 20113 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 20114 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 20115 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 20116 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 20117 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 20118 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 20119 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 20120 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20122 _flag_k = FK_CMP; 20123 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 20124 L_2B064DE8: 20125 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 20126 L_2B064DEB: 20127 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 20128 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 20129 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 20130 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 20131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20133 _flag_k = FK_CMP; 20134 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 20135 L_2B064DF9: 20136 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 20137 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 20138 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 20139 L_2B064E04: 20140 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 20141 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 20142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20144 _flag_k = FK_CMP; 20145 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 20146 L_2B064E0C: 20147 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 20148 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 20149 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 20150 L_2B064E17: 20151 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 20152 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 20153 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 20154 L_2B064E21: 20155 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 20156 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 20157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20158 _flag_k = FK_NARROW(FK_CMP, 24); 20159 RECOMP_BACKEDGE(); 20160 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 20161 L_2B064E2B: 20162 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 20163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20165 _flag_k = FK_CMP; 20166 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 20167 L_2B064E2F: 20168 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 20169 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 20170 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 20171 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 20172 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 20173 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 20174 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20176 _flag_k = FK_CMP; 20177 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 20178 L_2B064E40: 20179 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 20180 L_2B064E43: 20181 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 20182 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 20183 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 20184 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 20185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20187 _flag_k = FK_CMP; 20188 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 20189 L_2B064E51: 20190 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 20191 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 20192 L_2B064E56: 20193 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 20194 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 20195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20197 _flag_k = FK_CMP; 20198 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 20199 L_2B064E5E: 20200 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 20201 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 20202 L_2B064E63: 20203 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 20204 L_2B064E65: 20205 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 20206 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 20207 L_2B064E6B: 20208 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 20209 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 20210 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 20211 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 20212 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 20213 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 20214 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 20215 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 20216 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 20217 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 20218 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 20219 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 20220 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20222 _flag_k = FK_CMP; 20223 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 20224 L_2B064E90: 20225 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 20226 L_2B064E93: 20227 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 20228 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 20229 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 20230 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 20231 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20233 _flag_k = FK_CMP; 20234 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 20235 L_2B064EA1: 20236 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 20237 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 20238 L_2B064EA6: 20239 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 20240 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 20241 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20243 _flag_k = FK_CMP; 20244 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 20245 L_2B064EAD: 20246 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 20247 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 20248 L_2B064EB1: 20249 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 20250 L_2B064EB4: 20251 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 20252 L_2B064EB6: 20253 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 20254 L_2B064EB9: 20255 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 20256 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 20257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20259 _flag_k = FK_CMP; 20260 RECOMP_BACKEDGE(); 20261 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 20262 L_2B064EC5: 20263 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 20264 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 20265 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 20266 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 20267 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 20268 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 20269 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 20270 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 20271 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 20272 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 20273 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 20274 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 20275 RECOMP_REGS_OUT(); 20276 } 20277 20278 void sub_2B064EB4(void) { 20279 int _fpu_cmp = 0; 20280 uint32_t _cf = 0; 20281 int _df = 1; 20282 uint32_t _flag_k = FK_NONE; 20283 uint32_t _flag_a = 0, _flag_b = 0; 20284 uint32_t _itail_tgt = 0; 20285 RECOMP_REGS_LOCALS 20286 RECOMP_ENTER(0x2B064EB4u); 20287 20288 goto L_2B064EB4; 20289 L_2B064D45: 20290 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 20291 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 20292 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 20293 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20294 _cf = 0; 20295 _flag_k = FK_NARROW(FK_TEST, 24); 20296 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 20297 L_2B064D53: 20298 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 20299 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 20300 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 20301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20303 _flag_k = FK_CMP; 20304 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 20305 L_2B064D60: 20306 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 20307 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 20308 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 20309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20310 _flag_k = FK_NARROW(FK_CMP, 24); 20311 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 20312 L_2B064D69: 20313 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 20314 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 20315 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 20316 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 20317 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 20318 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 20319 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 20320 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 20321 L_2B064D84: 20322 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 20323 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20325 _flag_k = FK_CMP; 20326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 20327 L_2B064D89: 20328 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 20329 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 20330 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 20331 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 20332 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 20333 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 20334 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20336 _flag_k = FK_CMP; 20337 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 20338 L_2B064D9A: 20339 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 20340 L_2B064D9D: 20341 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 20342 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 20343 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 20344 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 20345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20347 _flag_k = FK_CMP; 20348 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 20349 L_2B064DAB: 20350 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 20351 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 20352 L_2B064DB0: 20353 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 20354 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 20355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20357 _flag_k = FK_CMP; 20358 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 20359 L_2B064DB7: 20360 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 20361 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 20362 L_2B064DBB: 20363 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 20364 L_2B064DBE: 20365 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 20366 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 20367 L_2B064DC3: 20368 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 20369 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 20370 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 20371 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 20372 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 20373 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 20374 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 20375 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 20376 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 20377 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 20378 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 20379 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 20380 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20382 _flag_k = FK_CMP; 20383 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 20384 L_2B064DE8: 20385 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 20386 L_2B064DEB: 20387 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 20388 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 20389 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 20390 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 20391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20393 _flag_k = FK_CMP; 20394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 20395 L_2B064DF9: 20396 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 20397 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 20398 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 20399 L_2B064E04: 20400 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 20401 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 20402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20404 _flag_k = FK_CMP; 20405 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 20406 L_2B064E0C: 20407 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 20408 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 20409 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 20410 L_2B064E17: 20411 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 20412 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 20413 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 20414 L_2B064E21: 20415 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 20416 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 20417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20418 _flag_k = FK_NARROW(FK_CMP, 24); 20419 RECOMP_BACKEDGE(); 20420 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 20421 L_2B064E2B: 20422 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 20423 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20425 _flag_k = FK_CMP; 20426 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 20427 L_2B064E2F: 20428 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 20429 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 20430 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 20431 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 20432 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 20433 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 20434 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20436 _flag_k = FK_CMP; 20437 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 20438 L_2B064E40: 20439 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 20440 L_2B064E43: 20441 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 20442 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 20443 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 20444 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 20445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20447 _flag_k = FK_CMP; 20448 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 20449 L_2B064E51: 20450 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 20451 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 20452 L_2B064E56: 20453 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 20454 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 20455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20457 _flag_k = FK_CMP; 20458 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 20459 L_2B064E5E: 20460 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 20461 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 20462 L_2B064E63: 20463 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 20464 L_2B064E65: 20465 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 20466 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 20467 L_2B064E6B: 20468 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 20469 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 20470 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 20471 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 20472 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 20473 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 20474 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 20475 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 20476 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 20477 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 20478 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 20479 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 20480 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20482 _flag_k = FK_CMP; 20483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 20484 L_2B064E90: 20485 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 20486 L_2B064E93: 20487 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 20488 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 20489 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 20490 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 20491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20493 _flag_k = FK_CMP; 20494 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 20495 L_2B064EA1: 20496 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 20497 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 20498 L_2B064EA6: 20499 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 20500 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 20501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20503 _flag_k = FK_CMP; 20504 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 20505 L_2B064EAD: 20506 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 20507 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 20508 L_2B064EB1: 20509 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 20510 L_2B064EB4: 20511 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 20512 L_2B064EB6: 20513 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 20514 L_2B064EB9: 20515 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 20516 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 20517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20519 _flag_k = FK_CMP; 20520 RECOMP_BACKEDGE(); 20521 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 20522 L_2B064EC5: 20523 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 20524 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 20525 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 20526 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 20527 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 20528 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 20529 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 20530 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 20531 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 20532 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 20533 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 20534 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 20535 RECOMP_REGS_OUT(); 20536 } 20537 20538 void sub_2B064EB6(void) { 20539 int _fpu_cmp = 0; 20540 uint32_t _cf = 0; 20541 int _df = 1; 20542 uint32_t _flag_k = FK_NONE; 20543 uint32_t _flag_a = 0, _flag_b = 0; 20544 uint32_t _itail_tgt = 0; 20545 RECOMP_REGS_LOCALS 20546 RECOMP_ENTER(0x2B064EB6u); 20547 20548 goto L_2B064EB6; 20549 L_2B064D45: 20550 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 20551 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 20552 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 20553 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20554 _cf = 0; 20555 _flag_k = FK_NARROW(FK_TEST, 24); 20556 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 20557 L_2B064D53: 20558 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 20559 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 20560 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 20561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20563 _flag_k = FK_CMP; 20564 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 20565 L_2B064D60: 20566 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 20567 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 20568 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 20569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20570 _flag_k = FK_NARROW(FK_CMP, 24); 20571 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 20572 L_2B064D69: 20573 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 20574 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 20575 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 20576 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 20577 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 20578 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 20579 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 20580 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 20581 L_2B064D84: 20582 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 20583 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20585 _flag_k = FK_CMP; 20586 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 20587 L_2B064D89: 20588 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 20589 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 20590 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 20591 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 20592 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 20593 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 20594 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20596 _flag_k = FK_CMP; 20597 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 20598 L_2B064D9A: 20599 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 20600 L_2B064D9D: 20601 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 20602 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 20603 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 20604 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 20605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20607 _flag_k = FK_CMP; 20608 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 20609 L_2B064DAB: 20610 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 20611 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 20612 L_2B064DB0: 20613 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 20614 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 20615 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20617 _flag_k = FK_CMP; 20618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 20619 L_2B064DB7: 20620 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 20621 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 20622 L_2B064DBB: 20623 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 20624 L_2B064DBE: 20625 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 20626 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 20627 L_2B064DC3: 20628 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 20629 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 20630 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 20631 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 20632 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 20633 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 20634 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 20635 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 20636 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 20637 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 20638 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 20639 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 20640 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20642 _flag_k = FK_CMP; 20643 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 20644 L_2B064DE8: 20645 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 20646 L_2B064DEB: 20647 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 20648 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 20649 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 20650 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 20651 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20653 _flag_k = FK_CMP; 20654 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 20655 L_2B064DF9: 20656 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 20657 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 20658 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 20659 L_2B064E04: 20660 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 20661 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 20662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20664 _flag_k = FK_CMP; 20665 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 20666 L_2B064E0C: 20667 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 20668 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 20669 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 20670 L_2B064E17: 20671 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 20672 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 20673 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 20674 L_2B064E21: 20675 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 20676 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 20677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20678 _flag_k = FK_NARROW(FK_CMP, 24); 20679 RECOMP_BACKEDGE(); 20680 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 20681 L_2B064E2B: 20682 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 20683 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20685 _flag_k = FK_CMP; 20686 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 20687 L_2B064E2F: 20688 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 20689 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 20690 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 20691 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 20692 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 20693 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 20694 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20696 _flag_k = FK_CMP; 20697 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 20698 L_2B064E40: 20699 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 20700 L_2B064E43: 20701 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 20702 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 20703 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 20704 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 20705 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20707 _flag_k = FK_CMP; 20708 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 20709 L_2B064E51: 20710 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 20711 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 20712 L_2B064E56: 20713 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 20714 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 20715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20717 _flag_k = FK_CMP; 20718 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 20719 L_2B064E5E: 20720 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 20721 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 20722 L_2B064E63: 20723 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 20724 L_2B064E65: 20725 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 20726 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 20727 L_2B064E6B: 20728 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 20729 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 20730 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 20731 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 20732 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 20733 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 20734 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 20735 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 20736 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 20737 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 20738 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 20739 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 20740 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20742 _flag_k = FK_CMP; 20743 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 20744 L_2B064E90: 20745 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 20746 L_2B064E93: 20747 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 20748 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 20749 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 20750 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 20751 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20753 _flag_k = FK_CMP; 20754 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 20755 L_2B064EA1: 20756 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 20757 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 20758 L_2B064EA6: 20759 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 20760 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 20761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20763 _flag_k = FK_CMP; 20764 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 20765 L_2B064EAD: 20766 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 20767 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 20768 L_2B064EB1: 20769 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 20770 L_2B064EB4: 20771 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 20772 L_2B064EB6: 20773 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 20774 L_2B064EB9: 20775 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 20776 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 20777 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20779 _flag_k = FK_CMP; 20780 RECOMP_BACKEDGE(); 20781 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 20782 L_2B064EC5: 20783 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 20784 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 20785 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 20786 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 20787 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 20788 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 20789 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 20790 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 20791 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 20792 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 20793 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 20794 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 20795 RECOMP_REGS_OUT(); 20796 } 20797 20798 void sub_2B064EB9(void) { 20799 int _fpu_cmp = 0; 20800 uint32_t _cf = 0; 20801 int _df = 1; 20802 uint32_t _flag_k = FK_NONE; 20803 uint32_t _flag_a = 0, _flag_b = 0; 20804 uint32_t _itail_tgt = 0; 20805 RECOMP_REGS_LOCALS 20806 RECOMP_ENTER(0x2B064EB9u); 20807 20808 goto L_2B064EB9; 20809 L_2B064D45: 20810 ecx = MEM32(eax + 0x4); /* 0x2B064D45: mov ecx, dword ptr [eax + 4] */ 20811 SET_LO8(edx, MEM8(ecx + 0x1C)); /* 0x2B064D48: mov dl, byte ptr [ecx + 0x1c] */ 20812 /* test LO8(edx), LO8(edx) */ /* 0x2B064D4B: test dl, dl */ 20813 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20814 _cf = 0; 20815 _flag_k = FK_NARROW(FK_TEST, 24); 20816 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EC5; /* 0x2B064D4D: jne 0x2b064ec5 */ 20817 L_2B064D53: 20818 edi = MEM32(ecx + 0x4); /* 0x2B064D53: mov edi, dword ptr [ecx + 4] */ 20819 edx = MEM32(edi); /* 0x2B064D56: mov edx, dword ptr [edi] */ 20820 /* cmp ecx, edx */ /* 0x2B064D58: cmp ecx, edx */ 20821 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20823 _flag_k = FK_CMP; 20824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E21; /* 0x2B064D5A: jne 0x2b064e21 */ 20825 L_2B064D60: 20826 edx = MEM32(edi + 0x8); /* 0x2B064D60: mov edx, dword ptr [edi + 8] */ 20827 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064D63: cmp byte ptr [edx + 0x1c], 0 */ 20828 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 24; _flag_b = (uint32_t)(0) << 24; 20829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20830 _flag_k = FK_NARROW(FK_CMP, 24); 20831 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D84; /* 0x2B064D67: jne 0x2b064d84 */ 20832 L_2B064D69: 20833 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D69: mov byte ptr [ecx + 0x1c], bl */ 20834 MEM8(edx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064D6C: mov byte ptr [edx + 0x1c], bl */ 20835 ecx = MEM32(eax + 0x4); /* 0x2B064D6F: mov ecx, dword ptr [eax + 4] */ 20836 edx = MEM32(ecx + 0x4); /* 0x2B064D72: mov edx, dword ptr [ecx + 4] */ 20837 MEM8(edx + 0x1C) = (uint8_t)(0); /* 0x2B064D75: mov byte ptr [edx + 0x1c], 0 */ 20838 eax = MEM32(eax + 0x4); /* 0x2B064D79: mov eax, dword ptr [eax + 4] */ 20839 eax = MEM32(eax + 0x4); /* 0x2B064D7C: mov eax, dword ptr [eax + 4] */ 20840 goto L_2B064EB9; /* 0x2B064D7F: jmp 0x2b064eb9 */ 20841 L_2B064D84: 20842 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B064D84: cmp eax, dword ptr [ecx + 8] */ 20843 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20845 _flag_k = FK_CMP; 20846 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DC3; /* 0x2B064D87: jne 0x2b064dc3 */ 20847 L_2B064D89: 20848 eax = ecx; /* 0x2B064D89: mov eax, ecx */ 20849 ecx = MEM32(eax + 0x8); /* 0x2B064D8B: mov ecx, dword ptr [eax + 8] */ 20850 edx = MEM32(ecx); /* 0x2B064D8E: mov edx, dword ptr [ecx] */ 20851 MEM32(eax + 0x8) = edx; /* 0x2B064D90: mov dword ptr [eax + 8], edx */ 20852 edx = MEM32(ecx); /* 0x2B064D93: mov edx, dword ptr [ecx] */ 20853 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064D95: cmp edx, dword ptr [esi + 8] */ 20854 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20856 _flag_k = FK_CMP; 20857 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D9D; /* 0x2B064D98: je 0x2b064d9d */ 20858 L_2B064D9A: 20859 MEM32(edx + 0x4) = eax; /* 0x2B064D9A: mov dword ptr [edx + 4], eax */ 20860 L_2B064D9D: 20861 edx = MEM32(eax + 0x4); /* 0x2B064D9D: mov edx, dword ptr [eax + 4] */ 20862 MEM32(ecx + 0x4) = edx; /* 0x2B064DA0: mov dword ptr [ecx + 4], edx */ 20863 edx = MEM32(esi + 0x4); /* 0x2B064DA3: mov edx, dword ptr [esi + 4] */ 20864 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064DA6: cmp eax, dword ptr [edx + 4] */ 20865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20867 _flag_k = FK_CMP; 20868 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DB0; /* 0x2B064DA9: jne 0x2b064db0 */ 20869 L_2B064DAB: 20870 MEM32(edx + 0x4) = ecx; /* 0x2B064DAB: mov dword ptr [edx + 4], ecx */ 20871 goto L_2B064DBE; /* 0x2B064DAE: jmp 0x2b064dbe */ 20872 L_2B064DB0: 20873 edx = MEM32(eax + 0x4); /* 0x2B064DB0: mov edx, dword ptr [eax + 4] */ 20874 /* cmp eax, MEM32(edx) */ /* 0x2B064DB3: cmp eax, dword ptr [edx] */ 20875 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20877 _flag_k = FK_CMP; 20878 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064DBB; /* 0x2B064DB5: jne 0x2b064dbb */ 20879 L_2B064DB7: 20880 MEM32(edx) = ecx; /* 0x2B064DB7: mov dword ptr [edx], ecx */ 20881 goto L_2B064DBE; /* 0x2B064DB9: jmp 0x2b064dbe */ 20882 L_2B064DBB: 20883 MEM32(edx + 0x8) = ecx; /* 0x2B064DBB: mov dword ptr [edx + 8], ecx */ 20884 L_2B064DBE: 20885 MEM32(ecx) = eax; /* 0x2B064DBE: mov dword ptr [ecx], eax */ 20886 MEM32(eax + 0x4) = ecx; /* 0x2B064DC0: mov dword ptr [eax + 4], ecx */ 20887 L_2B064DC3: 20888 ecx = MEM32(eax + 0x4); /* 0x2B064DC3: mov ecx, dword ptr [eax + 4] */ 20889 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064DC6: mov byte ptr [ecx + 0x1c], bl */ 20890 edx = MEM32(eax + 0x4); /* 0x2B064DC9: mov edx, dword ptr [eax + 4] */ 20891 ecx = MEM32(edx + 0x4); /* 0x2B064DCC: mov ecx, dword ptr [edx + 4] */ 20892 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064DCF: mov byte ptr [ecx + 0x1c], 0 */ 20893 edx = MEM32(eax + 0x4); /* 0x2B064DD3: mov edx, dword ptr [eax + 4] */ 20894 ecx = MEM32(edx + 0x4); /* 0x2B064DD6: mov ecx, dword ptr [edx + 4] */ 20895 edx = MEM32(ecx); /* 0x2B064DD9: mov edx, dword ptr [ecx] */ 20896 edi = MEM32(edx + 0x8); /* 0x2B064DDB: mov edi, dword ptr [edx + 8] */ 20897 MEM32(ecx) = edi; /* 0x2B064DDE: mov dword ptr [ecx], edi */ 20898 edi = MEM32(edx + 0x8); /* 0x2B064DE0: mov edi, dword ptr [edx + 8] */ 20899 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064DE3: cmp edi, dword ptr [esi + 8] */ 20900 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20902 _flag_k = FK_CMP; 20903 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064DEB; /* 0x2B064DE6: je 0x2b064deb */ 20904 L_2B064DE8: 20905 MEM32(edi + 0x4) = ecx; /* 0x2B064DE8: mov dword ptr [edi + 4], ecx */ 20906 L_2B064DEB: 20907 edi = MEM32(ecx + 0x4); /* 0x2B064DEB: mov edi, dword ptr [ecx + 4] */ 20908 MEM32(edx + 0x4) = edi; /* 0x2B064DEE: mov dword ptr [edx + 4], edi */ 20909 edi = MEM32(esi + 0x4); /* 0x2B064DF1: mov edi, dword ptr [esi + 4] */ 20910 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064DF4: cmp ecx, dword ptr [edi + 4] */ 20911 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20913 _flag_k = FK_CMP; 20914 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E04; /* 0x2B064DF7: jne 0x2b064e04 */ 20915 L_2B064DF9: 20916 MEM32(edi + 0x4) = edx; /* 0x2B064DF9: mov dword ptr [edi + 4], edx */ 20917 MEM32(edx + 0x8) = ecx; /* 0x2B064DFC: mov dword ptr [edx + 8], ecx */ 20918 goto L_2B064EB6; /* 0x2B064DFF: jmp 0x2b064eb6 */ 20919 L_2B064E04: 20920 edi = MEM32(ecx + 0x4); /* 0x2B064E04: mov edi, dword ptr [ecx + 4] */ 20921 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B064E07: cmp ecx, dword ptr [edi + 8] */ 20922 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20924 _flag_k = FK_CMP; 20925 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E17; /* 0x2B064E0A: jne 0x2b064e17 */ 20926 L_2B064E0C: 20927 MEM32(edi + 0x8) = edx; /* 0x2B064E0C: mov dword ptr [edi + 8], edx */ 20928 MEM32(edx + 0x8) = ecx; /* 0x2B064E0F: mov dword ptr [edx + 8], ecx */ 20929 goto L_2B064EB6; /* 0x2B064E12: jmp 0x2b064eb6 */ 20930 L_2B064E17: 20931 MEM32(edi) = edx; /* 0x2B064E17: mov dword ptr [edi], edx */ 20932 MEM32(edx + 0x8) = ecx; /* 0x2B064E19: mov dword ptr [edx + 8], ecx */ 20933 goto L_2B064EB6; /* 0x2B064E1C: jmp 0x2b064eb6 */ 20934 L_2B064E21: 20935 /* cmp MEM8(edx + 0x1C), 0 */ /* 0x2B064E21: cmp byte ptr [edx + 0x1c], 0 */ 20936 _flag_a = (uint32_t)(MEM8(edx + 0x1C)) << 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 RECOMP_BACKEDGE(); 20940 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064D69; /* 0x2B064E25: je 0x2b064d69 */ 20941 L_2B064E2B: 20942 /* cmp eax, MEM32(ecx) */ /* 0x2B064E2B: cmp eax, dword ptr [ecx] */ 20943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20944 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20945 _flag_k = FK_CMP; 20946 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E6B; /* 0x2B064E2D: jne 0x2b064e6b */ 20947 L_2B064E2F: 20948 eax = ecx; /* 0x2B064E2F: mov eax, ecx */ 20949 ecx = MEM32(eax); /* 0x2B064E31: mov ecx, dword ptr [eax] */ 20950 edx = MEM32(ecx + 0x8); /* 0x2B064E33: mov edx, dword ptr [ecx + 8] */ 20951 MEM32(eax) = edx; /* 0x2B064E36: mov dword ptr [eax], edx */ 20952 edx = MEM32(ecx + 0x8); /* 0x2B064E38: mov edx, dword ptr [ecx + 8] */ 20953 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B064E3B: cmp edx, dword ptr [esi + 8] */ 20954 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20956 _flag_k = FK_CMP; 20957 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064E43; /* 0x2B064E3E: je 0x2b064e43 */ 20958 L_2B064E40: 20959 MEM32(edx + 0x4) = eax; /* 0x2B064E40: mov dword ptr [edx + 4], eax */ 20960 L_2B064E43: 20961 edx = MEM32(eax + 0x4); /* 0x2B064E43: mov edx, dword ptr [eax + 4] */ 20962 MEM32(ecx + 0x4) = edx; /* 0x2B064E46: mov dword ptr [ecx + 4], edx */ 20963 edx = MEM32(esi + 0x4); /* 0x2B064E49: mov edx, dword ptr [esi + 4] */ 20964 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B064E4C: cmp eax, dword ptr [edx + 4] */ 20965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20967 _flag_k = FK_CMP; 20968 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E56; /* 0x2B064E4F: jne 0x2b064e56 */ 20969 L_2B064E51: 20970 MEM32(edx + 0x4) = ecx; /* 0x2B064E51: mov dword ptr [edx + 4], ecx */ 20971 goto L_2B064E65; /* 0x2B064E54: jmp 0x2b064e65 */ 20972 L_2B064E56: 20973 edx = MEM32(eax + 0x4); /* 0x2B064E56: mov edx, dword ptr [eax + 4] */ 20974 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B064E59: cmp eax, dword ptr [edx + 8] */ 20975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20977 _flag_k = FK_CMP; 20978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064E63; /* 0x2B064E5C: jne 0x2b064e63 */ 20979 L_2B064E5E: 20980 MEM32(edx + 0x8) = ecx; /* 0x2B064E5E: mov dword ptr [edx + 8], ecx */ 20981 goto L_2B064E65; /* 0x2B064E61: jmp 0x2b064e65 */ 20982 L_2B064E63: 20983 MEM32(edx) = ecx; /* 0x2B064E63: mov dword ptr [edx], ecx */ 20984 L_2B064E65: 20985 MEM32(ecx + 0x8) = eax; /* 0x2B064E65: mov dword ptr [ecx + 8], eax */ 20986 MEM32(eax + 0x4) = ecx; /* 0x2B064E68: mov dword ptr [eax + 4], ecx */ 20987 L_2B064E6B: 20988 ecx = MEM32(eax + 0x4); /* 0x2B064E6B: mov ecx, dword ptr [eax + 4] */ 20989 MEM8(ecx + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064E6E: mov byte ptr [ecx + 0x1c], bl */ 20990 edx = MEM32(eax + 0x4); /* 0x2B064E71: mov edx, dword ptr [eax + 4] */ 20991 ecx = MEM32(edx + 0x4); /* 0x2B064E74: mov ecx, dword ptr [edx + 4] */ 20992 MEM8(ecx + 0x1C) = (uint8_t)(0); /* 0x2B064E77: mov byte ptr [ecx + 0x1c], 0 */ 20993 edx = MEM32(eax + 0x4); /* 0x2B064E7B: mov edx, dword ptr [eax + 4] */ 20994 ecx = MEM32(edx + 0x4); /* 0x2B064E7E: mov ecx, dword ptr [edx + 4] */ 20995 edx = MEM32(ecx + 0x8); /* 0x2B064E81: mov edx, dword ptr [ecx + 8] */ 20996 edi = MEM32(edx); /* 0x2B064E84: mov edi, dword ptr [edx] */ 20997 MEM32(ecx + 0x8) = edi; /* 0x2B064E86: mov dword ptr [ecx + 8], edi */ 20998 edi = MEM32(edx); /* 0x2B064E89: mov edi, dword ptr [edx] */ 20999 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B064E8B: cmp edi, dword ptr [esi + 8] */ 21000 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 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_2B064E93; /* 0x2B064E8E: je 0x2b064e93 */ 21004 L_2B064E90: 21005 MEM32(edi + 0x4) = ecx; /* 0x2B064E90: mov dword ptr [edi + 4], ecx */ 21006 L_2B064E93: 21007 edi = MEM32(ecx + 0x4); /* 0x2B064E93: mov edi, dword ptr [ecx + 4] */ 21008 MEM32(edx + 0x4) = edi; /* 0x2B064E96: mov dword ptr [edx + 4], edi */ 21009 edi = MEM32(esi + 0x4); /* 0x2B064E99: mov edi, dword ptr [esi + 4] */ 21010 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B064E9C: cmp ecx, dword ptr [edi + 4] */ 21011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 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_2B064EA6; /* 0x2B064E9F: jne 0x2b064ea6 */ 21015 L_2B064EA1: 21016 MEM32(edi + 0x4) = edx; /* 0x2B064EA1: mov dword ptr [edi + 4], edx */ 21017 goto L_2B064EB4; /* 0x2B064EA4: jmp 0x2b064eb4 */ 21018 L_2B064EA6: 21019 edi = MEM32(ecx + 0x4); /* 0x2B064EA6: mov edi, dword ptr [ecx + 4] */ 21020 /* cmp ecx, MEM32(edi) */ /* 0x2B064EA9: cmp ecx, dword ptr [edi] */ 21021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 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_2B064EB1; /* 0x2B064EAB: jne 0x2b064eb1 */ 21025 L_2B064EAD: 21026 MEM32(edi) = edx; /* 0x2B064EAD: mov dword ptr [edi], edx */ 21027 goto L_2B064EB4; /* 0x2B064EAF: jmp 0x2b064eb4 */ 21028 L_2B064EB1: 21029 MEM32(edi + 0x8) = edx; /* 0x2B064EB1: mov dword ptr [edi + 8], edx */ 21030 L_2B064EB4: 21031 MEM32(edx) = ecx; /* 0x2B064EB4: mov dword ptr [edx], ecx */ 21032 L_2B064EB6: 21033 MEM32(ecx + 0x4) = edx; /* 0x2B064EB6: mov dword ptr [ecx + 4], edx */ 21034 L_2B064EB9: 21035 ecx = MEM32(esi + 0x4); /* 0x2B064EB9: mov ecx, dword ptr [esi + 4] */ 21036 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B064EBC: cmp eax, dword ptr [ecx + 4] */ 21037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21039 _flag_k = FK_CMP; 21040 RECOMP_BACKEDGE(); 21041 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064D45; /* 0x2B064EBF: jne 0x2b064d45 */ 21042 L_2B064EC5: 21043 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 21044 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 21045 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 21046 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 21047 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 21048 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 21049 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 21050 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 21051 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 21052 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 21053 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 21054 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 21055 RECOMP_REGS_OUT(); 21056 } 21057 21058 void sub_2B064EC5(void) { 21059 int _fpu_cmp = 0; 21060 uint32_t _cf = 0; 21061 int _df = 1; 21062 uint32_t _flag_k = FK_NONE; 21063 uint32_t _flag_a = 0, _flag_b = 0; 21064 uint32_t _itail_tgt = 0; 21065 RECOMP_REGS_LOCALS 21066 RECOMP_ENTER(0x2B064EC5u); 21067 21068 L_2B064EC5: 21069 edx = MEM32(esi + 0x4); /* 0x2B064EC5: mov edx, dword ptr [esi + 4] */ 21070 eax = MEM32(edx + 0x4); /* 0x2B064EC8: mov eax, dword ptr [edx + 4] */ 21071 ecx = MEM32(ebp + (-0x4)); /* 0x2B064ECB: mov ecx, dword ptr [ebp - 4] */ 21072 MEM8(eax + 0x1C) = (uint8_t)(LO8(ebx)); /* 0x2B064ECE: mov byte ptr [eax + 0x1c], bl */ 21073 eax = MEM32(ebp + 0x8); /* 0x2B064ED1: mov eax, dword ptr [ebp + 8] */ 21074 edi = POP32_VAL(esp); /* 0x2B064ED4: pop edi */ 21075 esi = POP32_VAL(esp); /* 0x2B064ED5: pop esi */ 21076 MEM32(eax) = ecx; /* 0x2B064ED6: mov dword ptr [eax], ecx */ 21077 ebx = POP32_VAL(esp); /* 0x2B064ED8: pop ebx */ 21078 esp = ebp; /* 0x2B064ED9: mov esp, ebp */ 21079 ebp = POP32_VAL(esp); /* 0x2B064EDB: pop ebp */ 21080 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B064EDC: ret 0x10 */ 21081 RECOMP_REGS_OUT(); 21082 } 21083 21084 void sub_2B064EE0(void) { 21085 int _fpu_cmp = 0; 21086 uint32_t _cf = 0; 21087 int _df = 1; 21088 uint32_t _flag_k = FK_NONE; 21089 uint32_t _flag_a = 0, _flag_b = 0; 21090 uint32_t _itail_tgt = 0; 21091 RECOMP_REGS_LOCALS 21092 RECOMP_ENTER(0x2B064EE0u); 21093 21094 L_2B064EE0: 21095 eax = MEM32(ecx); /* 0x2B064EE0: mov eax, dword ptr [ecx] */ 21096 SET_LO8(edx, MEM8(eax + 0x1C)); /* 0x2B064EE2: mov dl, byte ptr [eax + 0x1c] */ 21097 /* test LO8(edx), LO8(edx) */ /* 0x2B064EE5: test dl, dl */ 21098 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21099 _cf = 0; 21100 _flag_k = FK_NARROW(FK_TEST, 24); 21101 PUSH32(esp, ebx); /* 0x2B064EE7: push ebx */ 21102 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064EF9; /* 0x2B064EE8: jne 0x2b064ef9 */ 21103 L_2B064EEA: 21104 edx = MEM32(eax + 0x4); /* 0x2B064EEA: mov edx, dword ptr [eax + 4] */ 21105 /* cmp MEM32(edx + 0x4), eax */ /* 0x2B064EED: cmp dword ptr [edx + 4], eax */ 21106 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 21107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21108 _flag_k = FK_CMP; 21109 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064EF9; /* 0x2B064EF0: jne 0x2b064ef9 */ 21110 L_2B064EF2: 21111 eax = MEM32(eax + 0x8); /* 0x2B064EF2: mov eax, dword ptr [eax + 8] */ 21112 MEM32(ecx) = eax; /* 0x2B064EF5: mov dword ptr [ecx], eax */ 21113 ebx = POP32_VAL(esp); /* 0x2B064EF7: pop ebx */ 21114 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064EF8: ret */ 21115 L_2B064EF9: 21116 edx = MEM32(eax); /* 0x2B064EF9: mov edx, dword ptr [eax] */ 21117 SET_LO8(ebx, MEM8(edx + 0x1D)); /* 0x2B064EFB: mov bl, byte ptr [edx + 0x1d] */ 21118 /* test LO8(ebx), LO8(ebx) */ /* 0x2B064EFE: test bl, bl */ 21119 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21120 _cf = 0; 21121 _flag_k = FK_NARROW(FK_TEST, 24); 21122 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064F1C; /* 0x2B064F00: jne 0x2b064f1c */ 21123 L_2B064F02: 21124 eax = MEM32(edx + 0x8); /* 0x2B064F02: mov eax, dword ptr [edx + 8] */ 21125 SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x2B064F05: mov bl, byte ptr [eax + 0x1d] */ 21126 /* test LO8(ebx), LO8(ebx) */ /* 0x2B064F08: test bl, bl */ 21127 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21128 _cf = 0; 21129 _flag_k = FK_NARROW(FK_TEST, 24); 21130 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B064F18; /* 0x2B064F0A: jne 0x2b064f18 */ 21131 L_2B064F0C: 21132 edx = eax; /* 0x2B064F0C: mov edx, eax */ 21133 eax = MEM32(edx + 0x8); /* 0x2B064F0E: mov eax, dword ptr [edx + 8] */ 21134 SET_LO8(ebx, MEM8(eax + 0x1D)); /* 0x2B064F11: mov bl, byte ptr [eax + 0x1d] */ 21135 /* test LO8(ebx), LO8(ebx) */ /* 0x2B064F14: test bl, bl */ 21136 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21137 _cf = 0; 21138 _flag_k = FK_NARROW(FK_TEST, 24); 21139 RECOMP_BACKEDGE(); 21140 if (TEST_Z(_flag_a, _flag_b)) goto L_2B064F0C; /* 0x2B064F16: je 0x2b064f0c */ 21141 L_2B064F18: 21142 MEM32(ecx) = edx; /* 0x2B064F18: mov dword ptr [ecx], edx */ 21143 ebx = POP32_VAL(esp); /* 0x2B064F1A: pop ebx */ 21144 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064F1B: ret */ 21145 L_2B064F1C: 21146 eax = MEM32(eax + 0x4); /* 0x2B064F1C: mov eax, dword ptr [eax + 4] */ 21147 edx = MEM32(ecx); /* 0x2B064F1F: mov edx, dword ptr [ecx] */ 21148 /* cmp edx, MEM32(eax) */ /* 0x2B064F21: cmp edx, dword ptr [eax] */ 21149 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 21150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21151 _flag_k = FK_CMP; 21152 if (CMP_NE(_flag_a, _flag_b)) goto L_2B064F30; /* 0x2B064F23: jne 0x2b064f30 */ 21153 L_2B064F25: 21154 MEM32(ecx) = eax; /* 0x2B064F25: mov dword ptr [ecx], eax */ 21155 eax = MEM32(eax + 0x4); /* 0x2B064F27: mov eax, dword ptr [eax + 4] */ 21156 edx = MEM32(ecx); /* 0x2B064F2A: mov edx, dword ptr [ecx] */ 21157 /* cmp edx, MEM32(eax) */ /* 0x2B064F2C: cmp edx, dword ptr [eax] */ 21158 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 21159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21160 _flag_k = FK_CMP; 21161 RECOMP_BACKEDGE(); 21162 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064F25; /* 0x2B064F2E: je 0x2b064f25 */ 21163 L_2B064F30: 21164 MEM32(ecx) = eax; /* 0x2B064F30: mov dword ptr [ecx], eax */ 21165 ebx = POP32_VAL(esp); /* 0x2B064F32: pop ebx */ 21166 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B064F33: ret */ 21167 RECOMP_REGS_OUT(); 21168 } 21169 21170 void sub_2B064F40(void) { 21171 int _fpu_cmp = 0; 21172 uint32_t _cf = 0; 21173 int _df = 1; 21174 uint32_t _flag_k = FK_NONE; 21175 uint32_t _flag_a = 0, _flag_b = 0; 21176 uint32_t _itail_tgt = 0; 21177 RECOMP_REGS_LOCALS 21178 RECOMP_ENTER(0x2B064F40u); 21179 21180 L_2B064F40: 21181 PUSH32(esp, ebp); /* 0x2B064F40: push ebp */ 21182 ebp = esp; /* 0x2B064F41: mov ebp, esp */ 21183 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B064F43: push -1 */ 21184 PUSH32(esp, 0x2B0B0A9Eu); /* 0x2B064F45: push 0x2b0b0a9e */ 21185 eax = MEM32(FS_BASE + (0)); /* 0x2B064F4A: mov eax, dword ptr fs:[0] */ 21186 PUSH32(esp, eax); /* 0x2B064F50: push eax */ 21187 MEM32(FS_BASE + (0)) = esp; /* 0x2B064F51: mov dword ptr fs:[0], esp */ 21188 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x28u); 21189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21190 esp = esp - 0x28u; /* 0x2B064F58: sub esp, 0x28 */ 21191 _flag_k = FK_CMP; 21192 PUSH32(esp, ebx); /* 0x2B064F5B: push ebx */ 21193 PUSH32(esp, esi); /* 0x2B064F5C: push esi */ 21194 esi = ecx; /* 0x2B064F5D: mov esi, ecx */ 21195 PUSH32(esp, edi); /* 0x2B064F5F: push edi */ 21196 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21197 edi = 0; /* 0x2B064F60: xor edi, edi */ 21198 _cf = 0; 21199 _flag_k = FK_TEST; 21200 MEM32(esi + 0x4C) = edi; /* 0x2B064F62: mov dword ptr [esi + 0x4c], edi */ 21201 MEM32(esi + 0x50) = edi; /* 0x2B064F65: mov dword ptr [esi + 0x50], edi */ 21202 MEM8(esi + 0x46) = (uint8_t)(0); /* 0x2B064F68: mov byte ptr [esi + 0x46], 0 */ 21203 MEM8(esi + 0x44) = (uint8_t)(0); /* 0x2B064F6C: mov byte ptr [esi + 0x44], 0 */ 21204 MEM8(esi + 0x45) = (uint8_t)(0); /* 0x2B064F70: mov byte ptr [esi + 0x45], 0 */ 21205 MEM32(esi + 0x28) = 0x40u; /* 0x2B064F74: mov dword ptr [esi + 0x28], 0x40 */ 21206 RECOMP_ICALL(MEM32(0x2B0B5690)); /* 0x2B064F7B: call dword ptr [0x2b0b5690] */ 21207 RECOMP_FLAGS_IN(); 21208 ecx = eax; /* 0x2B064F81: mov ecx, eax */ 21209 RECOMP_ICALL(MEM32(0x2B0B5688)); /* 0x2B064F83: call dword ptr [0x2b0b5688] */ 21210 RECOMP_FLAGS_IN(); 21211 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B064F89: cdq */ 21212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 21213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21214 eax = eax - edx; /* 0x2B064F8A: sub eax, edx */ 21215 _flag_k = FK_CMP; 21216 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B064F8C: sar eax, 1 */ 21217 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21218 eax = (uint32_t)((int32_t)eax >> 1u); 21219 PUSH32(esp, 0x34u); /* 0x2B064F8E: push 0x34 */ 21220 MEM32(esi + 0x2C) = eax; /* 0x2B064F90: mov dword ptr [esi + 0x2c], eax */ 21221 MEM32(ebp + (-0x24)) = edi; /* 0x2B064F93: mov dword ptr [ebp - 0x24], edi */ 21222 MEM32(ebp + (-0x20)) = edi; /* 0x2B064F96: mov dword ptr [ebp - 0x20], edi */ 21223 MEM32(ebp + (-0x34)) = edi; /* 0x2B064F99: mov dword ptr [ebp - 0x34], edi */ 21224 MEM32(ebp + (-0x30)) = edi; /* 0x2B064F9C: mov dword ptr [ebp - 0x30], edi */ 21225 MEM32(ebp + (-0x2C)) = edi; /* 0x2B064F9F: mov dword ptr [ebp - 0x2c], edi */ 21226 MEM32(ebp + (-0x28)) = edi; /* 0x2B064FA2: mov dword ptr [ebp - 0x28], edi */ 21227 RECOMP_ICALL(0x2B0AB212u); /* 0x2B064FA5: call 0x2b0ab212 */ /* not lifted */ 21228 RECOMP_FLAGS_IN(); 21229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21231 esp = esp + 4; /* 0x2B064FAA: add esp, 4 */ 21232 _flag_k = FK_ADD; 21233 MEM32(ebp + (-0x1C)) = eax; /* 0x2B064FAD: mov dword ptr [ebp - 0x1c], eax */ 21234 /* cmp eax, edi */ /* 0x2B064FB0: cmp eax, edi */ 21235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 21236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21237 _flag_k = FK_CMP; 21238 MEM32(ebp + (-0x4)) = edi; /* 0x2B064FB2: mov dword ptr [ebp - 4], edi */ 21239 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B064FC7; /* 0x2B064FB5: je 0x2b064fc7 */ 21240 L_2B064FB7: 21241 PUSH32(esp, 2); /* 0x2B064FB7: push 2 */ 21242 PUSH32(esp, 0x10u); /* 0x2B064FB9: push 0x10 */ 21243 PUSH32(esp, 0x40u); /* 0x2B064FBB: push 0x40 */ 21244 ecx = eax; /* 0x2B064FBD: mov ecx, eax */ 21245 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B064FBF: call dword ptr [0x2b0b5650] */ 21246 RECOMP_FLAGS_IN(); 21247 goto L_2B064FC9; /* 0x2B064FC5: jmp 0x2b064fc9 */ 21248 L_2B064FC7: 21249 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21250 eax = 0; /* 0x2B064FC7: xor eax, eax */ 21251 _cf = 0; 21252 _flag_k = FK_TEST; 21253 L_2B064FC9: 21254 edi = MEM32(0x2B0B5F80); /* 0x2B064FC9: mov edi, dword ptr [0x2b0b5f80] */ 21255 PUSH32(esp, 2); /* 0x2B064FCF: push 2 */ 21256 PUSH32(esp, 0x10Du); /* 0x2B064FD1: push 0x10d */ 21257 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B064FD6: mov dword ptr [ebp - 4], 0xffffffff */ 21258 MEM32(esi + 0x4) = eax; /* 0x2B064FDD: mov dword ptr [esi + 4], eax */ 21259 RECOMP_ICALL(edi); /* 0x2B064FE0: call edi */ 21260 RECOMP_FLAGS_IN(); 21261 ecx = eax; /* 0x2B064FE2: mov ecx, eax */ 21262 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B064FE4: call dword ptr [0x2b0b5fbc] */ 21263 RECOMP_FLAGS_IN(); 21264 ecx = MEM32(esi + 0x4); /* 0x2B064FEA: mov ecx, dword ptr [esi + 4] */ 21265 PUSH32(esp, 1); /* 0x2B064FED: push 1 */ 21266 PUSH32(esp, 0); /* 0x2B064FEF: push 0 */ 21267 PUSH32(esp, 0); /* 0x2B064FF1: push 0 */ 21268 ebx = eax; /* 0x2B064FF3: mov ebx, eax */ 21269 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B064FF5: call dword ptr [0x2b0b564c] */ 21270 RECOMP_FLAGS_IN(); 21271 eax = MEM32(ebx + 0xC); /* 0x2B064FFB: mov eax, dword ptr [ebx + 0xc] */ 21272 PUSH32(esp, 0xFF00u); /* 0x2B064FFE: push 0xff00 */ 21273 MEM32(ebp + (-0x2C)) = eax; /* 0x2B065003: mov dword ptr [ebp - 0x2c], eax */ 21274 ecx = MEM32(ebx + 0x8); /* 0x2B065006: mov ecx, dword ptr [ebx + 8] */ 21275 PUSH32(esp, ebx); /* 0x2B065009: push ebx */ 21276 edx = ebp + (-0x24); /* 0x2B06500A: lea edx, [ebp - 0x24] */ 21277 PUSH32(esp, edx); /* 0x2B06500D: push edx */ 21278 eax = ebp + (-0x34); /* 0x2B06500E: lea eax, [ebp - 0x34] */ 21279 MEM32(ebp + (-0x28)) = ecx; /* 0x2B065011: mov dword ptr [ebp - 0x28], ecx */ 21280 ecx = MEM32(esi + 0x4); /* 0x2B065014: mov ecx, dword ptr [esi + 4] */ 21281 PUSH32(esp, eax); /* 0x2B065017: push eax */ 21282 MEM32(ebp + (-0x20)) = 1; /* 0x2B065018: mov dword ptr [ebp - 0x20], 1 */ 21283 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B06501F: call dword ptr [0x2b0b5554] */ 21284 RECOMP_FLAGS_IN(); 21285 PUSH32(esp, ebx); /* 0x2B065025: push ebx */ 21286 MEM32(ebp + (-0x20)) = 0; /* 0x2B065026: mov dword ptr [ebp - 0x20], 0 */ 21287 RECOMP_ICALL(edi); /* 0x2B06502D: call edi */ 21288 RECOMP_FLAGS_IN(); 21289 ecx = eax; /* 0x2B06502F: mov ecx, eax */ 21290 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B065031: call dword ptr [0x2b0b5fb8] */ 21291 RECOMP_FLAGS_IN(); 21292 PUSH32(esp, 0xD8u); /* 0x2B065037: push 0xd8 */ 21293 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06503C: call 0x2b0ab212 */ /* not lifted */ 21294 RECOMP_FLAGS_IN(); 21295 ebx = eax; /* 0x2B065041: mov ebx, eax */ 21296 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21297 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21298 esp = esp + 4; /* 0x2B065043: add esp, 4 */ 21299 _flag_k = FK_ADD; 21300 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B065046: mov dword ptr [ebp - 0x1c], ebx */ 21301 /* test ebx, ebx */ /* 0x2B065049: test ebx, ebx */ 21302 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 21303 _cf = 0; 21304 _flag_k = FK_TEST; 21305 MEM32(ebp + (-0x4)) = 1; /* 0x2B06504B: mov dword ptr [ebp - 4], 1 */ 21306 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06508B; /* 0x2B065052: je 0x2b06508b */ 21307 L_2B065054: 21308 eax = MEM32(esi + 0x4); /* 0x2B065054: mov eax, dword ptr [esi + 4] */ 21309 ecx = ebp + (-0x10); /* 0x2B065057: lea ecx, [ebp - 0x10] */ 21310 PUSH32(esp, ecx); /* 0x2B06505A: push ecx */ 21311 edx = ebp + (-0x14); /* 0x2B06505B: lea edx, [ebp - 0x14] */ 21312 PUSH32(esp, edx); /* 0x2B06505E: push edx */ 21313 PUSH32(esp, 1); /* 0x2B06505F: push 1 */ 21314 PUSH32(esp, 0x1771u); /* 0x2B065061: push 0x1771 */ 21315 PUSH32(esp, eax); /* 0x2B065066: push eax */ 21316 ecx = ebp + (-0x24); /* 0x2B065067: lea ecx, [ebp - 0x24] */ 21317 PUSH32(esp, ecx); /* 0x2B06506A: push ecx */ 21318 ecx = ebx; /* 0x2B06506B: mov ecx, ebx */ 21319 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B06506D: mov dword ptr [ebp - 0x10], 0x3f800000 */ 21320 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B065074: mov dword ptr [ebp - 0x14], 0x3f800000 */ 21321 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06507B: call dword ptr [0x2b0b5654] */ 21322 RECOMP_FLAGS_IN(); 21323 MEM32(ebx) = 0x2B0B618Cu; /* 0x2B065081: mov dword ptr [ebx], 0x2b0b618c */ 21324 eax = ebx; /* 0x2B065087: mov eax, ebx */ 21325 goto L_2B06508D; /* 0x2B065089: jmp 0x2b06508d */ 21326 L_2B06508B: 21327 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21328 eax = 0; /* 0x2B06508B: xor eax, eax */ 21329 _cf = 0; 21330 _flag_k = FK_TEST; 21331 L_2B06508D: 21332 _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu)); 21333 ebx = ebx | 0xFFFFFFFFu; /* 0x2B06508D: or ebx, 0xffffffff */ 21334 _cf = 0; 21335 _flag_k = FK_TEST; 21336 PUSH32(esp, 0x34u); /* 0x2B065090: push 0x34 */ 21337 MEM32(ebp + (-0x4)) = ebx; /* 0x2B065092: mov dword ptr [ebp - 4], ebx */ 21338 MEM32(esi) = eax; /* 0x2B065095: mov dword ptr [esi], eax */ 21339 RECOMP_ICALL(0x2B0AB212u); /* 0x2B065097: call 0x2b0ab212 */ /* not lifted */ 21340 RECOMP_FLAGS_IN(); 21341 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21342 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21343 esp = esp + 4; /* 0x2B06509C: add esp, 4 */ 21344 _flag_k = FK_ADD; 21345 MEM32(ebp + (-0x1C)) = eax; /* 0x2B06509F: mov dword ptr [ebp - 0x1c], eax */ 21346 /* test eax, eax */ /* 0x2B0650A2: test eax, eax */ 21347 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21348 _cf = 0; 21349 _flag_k = FK_TEST; 21350 MEM32(ebp + (-0x4)) = 2; /* 0x2B0650A4: mov dword ptr [ebp - 4], 2 */ 21351 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0650BD; /* 0x2B0650AB: je 0x2b0650bd */ 21352 L_2B0650AD: 21353 PUSH32(esp, 2); /* 0x2B0650AD: push 2 */ 21354 PUSH32(esp, 0x10u); /* 0x2B0650AF: push 0x10 */ 21355 PUSH32(esp, 0x40u); /* 0x2B0650B1: push 0x40 */ 21356 ecx = eax; /* 0x2B0650B3: mov ecx, eax */ 21357 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B0650B5: call dword ptr [0x2b0b5650] */ 21358 RECOMP_FLAGS_IN(); 21359 goto L_2B0650BF; /* 0x2B0650BB: jmp 0x2b0650bf */ 21360 L_2B0650BD: 21361 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21362 eax = 0; /* 0x2B0650BD: xor eax, eax */ 21363 _cf = 0; 21364 _flag_k = FK_TEST; 21365 L_2B0650BF: 21366 PUSH32(esp, 2); /* 0x2B0650BF: push 2 */ 21367 PUSH32(esp, 0x10Eu); /* 0x2B0650C1: push 0x10e */ 21368 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0650C6: mov dword ptr [ebp - 4], ebx */ 21369 MEM32(esi + 0xC) = eax; /* 0x2B0650C9: mov dword ptr [esi + 0xc], eax */ 21370 RECOMP_ICALL(edi); /* 0x2B0650CC: call edi */ 21371 RECOMP_FLAGS_IN(); 21372 ecx = eax; /* 0x2B0650CE: mov ecx, eax */ 21373 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B0650D0: call dword ptr [0x2b0b5fbc] */ 21374 RECOMP_FLAGS_IN(); 21375 ecx = MEM32(esi + 0xC); /* 0x2B0650D6: mov ecx, dword ptr [esi + 0xc] */ 21376 PUSH32(esp, 1); /* 0x2B0650D9: push 1 */ 21377 PUSH32(esp, 0); /* 0x2B0650DB: push 0 */ 21378 PUSH32(esp, 0); /* 0x2B0650DD: push 0 */ 21379 ebx = eax; /* 0x2B0650DF: mov ebx, eax */ 21380 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B0650E1: call dword ptr [0x2b0b564c] */ 21381 RECOMP_FLAGS_IN(); 21382 edx = MEM32(ebx + 0xC); /* 0x2B0650E7: mov edx, dword ptr [ebx + 0xc] */ 21383 PUSH32(esp, 0xFF00u); /* 0x2B0650EA: push 0xff00 */ 21384 PUSH32(esp, ebx); /* 0x2B0650EF: push ebx */ 21385 MEM32(ebp + (-0x2C)) = edx; /* 0x2B0650F0: mov dword ptr [ebp - 0x2c], edx */ 21386 eax = MEM32(ebx + 0x8); /* 0x2B0650F3: mov eax, dword ptr [ebx + 8] */ 21387 ecx = ebp + (-0x24); /* 0x2B0650F6: lea ecx, [ebp - 0x24] */ 21388 PUSH32(esp, ecx); /* 0x2B0650F9: push ecx */ 21389 ecx = MEM32(esi + 0xC); /* 0x2B0650FA: mov ecx, dword ptr [esi + 0xc] */ 21390 edx = ebp + (-0x34); /* 0x2B0650FD: lea edx, [ebp - 0x34] */ 21391 PUSH32(esp, edx); /* 0x2B065100: push edx */ 21392 MEM32(ebp + (-0x28)) = eax; /* 0x2B065101: mov dword ptr [ebp - 0x28], eax */ 21393 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B065104: call dword ptr [0x2b0b5554] */ 21394 RECOMP_FLAGS_IN(); 21395 PUSH32(esp, ebx); /* 0x2B06510A: push ebx */ 21396 RECOMP_ICALL(edi); /* 0x2B06510B: call edi */ 21397 RECOMP_FLAGS_IN(); 21398 ecx = eax; /* 0x2B06510D: mov ecx, eax */ 21399 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B06510F: call dword ptr [0x2b0b5fb8] */ 21400 RECOMP_FLAGS_IN(); 21401 PUSH32(esp, 0xD8u); /* 0x2B065115: push 0xd8 */ 21402 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06511A: call 0x2b0ab212 */ /* not lifted */ 21403 RECOMP_FLAGS_IN(); 21404 ebx = eax; /* 0x2B06511F: mov ebx, eax */ 21405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21407 esp = esp + 4; /* 0x2B065121: add esp, 4 */ 21408 _flag_k = FK_ADD; 21409 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B065124: mov dword ptr [ebp - 0x1c], ebx */ 21410 /* test ebx, ebx */ /* 0x2B065127: test ebx, ebx */ 21411 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 21412 _cf = 0; 21413 _flag_k = FK_TEST; 21414 MEM32(ebp + (-0x4)) = 3; /* 0x2B065129: mov dword ptr [ebp - 4], 3 */ 21415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B065169; /* 0x2B065130: je 0x2b065169 */ 21416 L_2B065132: 21417 edx = MEM32(esi + 0xC); /* 0x2B065132: mov edx, dword ptr [esi + 0xc] */ 21418 eax = ebp + (-0x14); /* 0x2B065135: lea eax, [ebp - 0x14] */ 21419 PUSH32(esp, eax); /* 0x2B065138: push eax */ 21420 ecx = ebp + (-0x10); /* 0x2B065139: lea ecx, [ebp - 0x10] */ 21421 PUSH32(esp, ecx); /* 0x2B06513C: push ecx */ 21422 PUSH32(esp, 1); /* 0x2B06513D: push 1 */ 21423 PUSH32(esp, 0x1770u); /* 0x2B06513F: push 0x1770 */ 21424 PUSH32(esp, edx); /* 0x2B065144: push edx */ 21425 eax = ebp + (-0x24); /* 0x2B065145: lea eax, [ebp - 0x24] */ 21426 PUSH32(esp, eax); /* 0x2B065148: push eax */ 21427 ecx = ebx; /* 0x2B065149: mov ecx, ebx */ 21428 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B06514B: mov dword ptr [ebp - 0x14], 0x3f800000 */ 21429 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B065152: mov dword ptr [ebp - 0x10], 0x3f800000 */ 21430 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B065159: call dword ptr [0x2b0b5654] */ 21431 RECOMP_FLAGS_IN(); 21432 MEM32(ebx) = 0x2B0B618Cu; /* 0x2B06515F: mov dword ptr [ebx], 0x2b0b618c */ 21433 eax = ebx; /* 0x2B065165: mov eax, ebx */ 21434 goto L_2B06516B; /* 0x2B065167: jmp 0x2b06516b */ 21435 L_2B065169: 21436 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21437 eax = 0; /* 0x2B065169: xor eax, eax */ 21438 _cf = 0; 21439 _flag_k = FK_TEST; 21440 L_2B06516B: 21441 _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu)); 21442 ebx = ebx | 0xFFFFFFFFu; /* 0x2B06516B: or ebx, 0xffffffff */ 21443 _cf = 0; 21444 _flag_k = FK_TEST; 21445 PUSH32(esp, 0x34u); /* 0x2B06516E: push 0x34 */ 21446 MEM32(ebp + (-0x4)) = ebx; /* 0x2B065170: mov dword ptr [ebp - 4], ebx */ 21447 MEM32(esi + 0x8) = eax; /* 0x2B065173: mov dword ptr [esi + 8], eax */ 21448 RECOMP_ICALL(0x2B0AB212u); /* 0x2B065176: call 0x2b0ab212 */ /* not lifted */ 21449 RECOMP_FLAGS_IN(); 21450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21452 esp = esp + 4; /* 0x2B06517B: add esp, 4 */ 21453 _flag_k = FK_ADD; 21454 MEM32(ebp + (-0x1C)) = eax; /* 0x2B06517E: mov dword ptr [ebp - 0x1c], eax */ 21455 /* test eax, eax */ /* 0x2B065181: test eax, eax */ 21456 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21457 _cf = 0; 21458 _flag_k = FK_TEST; 21459 MEM32(ebp + (-0x4)) = 4; /* 0x2B065183: mov dword ptr [ebp - 4], 4 */ 21460 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06519C; /* 0x2B06518A: je 0x2b06519c */ 21461 L_2B06518C: 21462 PUSH32(esp, 2); /* 0x2B06518C: push 2 */ 21463 PUSH32(esp, 0x10u); /* 0x2B06518E: push 0x10 */ 21464 PUSH32(esp, 0x10u); /* 0x2B065190: push 0x10 */ 21465 ecx = eax; /* 0x2B065192: mov ecx, eax */ 21466 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B065194: call dword ptr [0x2b0b5650] */ 21467 RECOMP_FLAGS_IN(); 21468 goto L_2B06519E; /* 0x2B06519A: jmp 0x2b06519e */ 21469 L_2B06519C: 21470 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21471 eax = 0; /* 0x2B06519C: xor eax, eax */ 21472 _cf = 0; 21473 _flag_k = FK_TEST; 21474 L_2B06519E: 21475 PUSH32(esp, 2); /* 0x2B06519E: push 2 */ 21476 PUSH32(esp, 0x10Fu); /* 0x2B0651A0: push 0x10f */ 21477 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0651A5: mov dword ptr [ebp - 4], ebx */ 21478 MEM32(esi + 0x1C) = eax; /* 0x2B0651A8: mov dword ptr [esi + 0x1c], eax */ 21479 RECOMP_ICALL(edi); /* 0x2B0651AB: call edi */ 21480 RECOMP_FLAGS_IN(); 21481 ecx = eax; /* 0x2B0651AD: mov ecx, eax */ 21482 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B0651AF: call dword ptr [0x2b0b5fbc] */ 21483 RECOMP_FLAGS_IN(); 21484 ecx = MEM32(esi + 0x1C); /* 0x2B0651B5: mov ecx, dword ptr [esi + 0x1c] */ 21485 PUSH32(esp, 1); /* 0x2B0651B8: push 1 */ 21486 PUSH32(esp, 0); /* 0x2B0651BA: push 0 */ 21487 PUSH32(esp, 0); /* 0x2B0651BC: push 0 */ 21488 ebx = eax; /* 0x2B0651BE: mov ebx, eax */ 21489 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B0651C0: call dword ptr [0x2b0b564c] */ 21490 RECOMP_FLAGS_IN(); 21491 ecx = MEM32(ebx + 0xC); /* 0x2B0651C6: mov ecx, dword ptr [ebx + 0xc] */ 21492 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B0651C9: mov dword ptr [ebp - 0x2c], ecx */ 21493 edx = MEM32(ebx + 0x8); /* 0x2B0651CC: mov edx, dword ptr [ebx + 8] */ 21494 PUSH32(esp, 0xFF00u); /* 0x2B0651CF: push 0xff00 */ 21495 PUSH32(esp, ebx); /* 0x2B0651D4: push ebx */ 21496 MEM32(ebp + (-0x28)) = edx; /* 0x2B0651D5: mov dword ptr [ebp - 0x28], edx */ 21497 eax = MEM32(ebx + 0xC); /* 0x2B0651D8: mov eax, dword ptr [ebx + 0xc] */ 21498 ecx = ebp + (-0x24); /* 0x2B0651DB: lea ecx, [ebp - 0x24] */ 21499 PUSH32(esp, ecx); /* 0x2B0651DE: push ecx */ 21500 ecx = MEM32(esi + 0x1C); /* 0x2B0651DF: mov ecx, dword ptr [esi + 0x1c] */ 21501 edx = ebp + (-0x34); /* 0x2B0651E2: lea edx, [ebp - 0x34] */ 21502 PUSH32(esp, edx); /* 0x2B0651E5: push edx */ 21503 MEM32(esi + 0x38) = eax; /* 0x2B0651E6: mov dword ptr [esi + 0x38], eax */ 21504 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B0651E9: call dword ptr [0x2b0b5554] */ 21505 RECOMP_FLAGS_IN(); 21506 PUSH32(esp, ebx); /* 0x2B0651EF: push ebx */ 21507 RECOMP_ICALL(edi); /* 0x2B0651F0: call edi */ 21508 RECOMP_FLAGS_IN(); 21509 ecx = eax; /* 0x2B0651F2: mov ecx, eax */ 21510 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B0651F4: call dword ptr [0x2b0b5fb8] */ 21511 RECOMP_FLAGS_IN(); 21512 PUSH32(esp, 0xD8u); /* 0x2B0651FA: push 0xd8 */ 21513 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0651FF: call 0x2b0ab212 */ /* not lifted */ 21514 RECOMP_FLAGS_IN(); 21515 ebx = eax; /* 0x2B065204: mov ebx, eax */ 21516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21518 esp = esp + 4; /* 0x2B065206: add esp, 4 */ 21519 _flag_k = FK_ADD; 21520 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B065209: mov dword ptr [ebp - 0x1c], ebx */ 21521 /* test ebx, ebx */ /* 0x2B06520C: test ebx, ebx */ 21522 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 21523 _cf = 0; 21524 _flag_k = FK_TEST; 21525 MEM32(ebp + (-0x4)) = 5; /* 0x2B06520E: mov dword ptr [ebp - 4], 5 */ 21526 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06524E; /* 0x2B065215: je 0x2b06524e */ 21527 L_2B065217: 21528 edx = MEM32(esi + 0x1C); /* 0x2B065217: mov edx, dword ptr [esi + 0x1c] */ 21529 eax = ebp + (-0x14); /* 0x2B06521A: lea eax, [ebp - 0x14] */ 21530 PUSH32(esp, eax); /* 0x2B06521D: push eax */ 21531 ecx = ebp + (-0x10); /* 0x2B06521E: lea ecx, [ebp - 0x10] */ 21532 PUSH32(esp, ecx); /* 0x2B065221: push ecx */ 21533 PUSH32(esp, 1); /* 0x2B065222: push 1 */ 21534 PUSH32(esp, 0x1770u); /* 0x2B065224: push 0x1770 */ 21535 PUSH32(esp, edx); /* 0x2B065229: push edx */ 21536 eax = ebp + (-0x24); /* 0x2B06522A: lea eax, [ebp - 0x24] */ 21537 PUSH32(esp, eax); /* 0x2B06522D: push eax */ 21538 ecx = ebx; /* 0x2B06522E: mov ecx, ebx */ 21539 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B065230: mov dword ptr [ebp - 0x14], 0x3f800000 */ 21540 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B065237: mov dword ptr [ebp - 0x10], 0x3f800000 */ 21541 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06523E: call dword ptr [0x2b0b5654] */ 21542 RECOMP_FLAGS_IN(); 21543 MEM32(ebx) = 0x2B0B618Cu; /* 0x2B065244: mov dword ptr [ebx], 0x2b0b618c */ 21544 eax = ebx; /* 0x2B06524A: mov eax, ebx */ 21545 goto L_2B065250; /* 0x2B06524C: jmp 0x2b065250 */ 21546 L_2B06524E: 21547 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21548 eax = 0; /* 0x2B06524E: xor eax, eax */ 21549 _cf = 0; 21550 _flag_k = FK_TEST; 21551 L_2B065250: 21552 _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu)); 21553 ebx = ebx | 0xFFFFFFFFu; /* 0x2B065250: or ebx, 0xffffffff */ 21554 _cf = 0; 21555 _flag_k = FK_TEST; 21556 PUSH32(esp, 0x34u); /* 0x2B065253: push 0x34 */ 21557 MEM32(ebp + (-0x4)) = ebx; /* 0x2B065255: mov dword ptr [ebp - 4], ebx */ 21558 MEM32(esi + 0x18) = eax; /* 0x2B065258: mov dword ptr [esi + 0x18], eax */ 21559 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06525B: call 0x2b0ab212 */ /* not lifted */ 21560 RECOMP_FLAGS_IN(); 21561 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21562 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21563 esp = esp + 4; /* 0x2B065260: add esp, 4 */ 21564 _flag_k = FK_ADD; 21565 MEM32(ebp + (-0x1C)) = eax; /* 0x2B065263: mov dword ptr [ebp - 0x1c], eax */ 21566 /* test eax, eax */ /* 0x2B065266: test eax, eax */ 21567 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21568 _cf = 0; 21569 _flag_k = FK_TEST; 21570 MEM32(ebp + (-0x4)) = 6; /* 0x2B065268: mov dword ptr [ebp - 4], 6 */ 21571 if (TEST_Z(_flag_a, _flag_b)) goto L_2B065281; /* 0x2B06526F: je 0x2b065281 */ 21572 L_2B065271: 21573 PUSH32(esp, 2); /* 0x2B065271: push 2 */ 21574 PUSH32(esp, 0x10u); /* 0x2B065273: push 0x10 */ 21575 PUSH32(esp, 0x10u); /* 0x2B065275: push 0x10 */ 21576 ecx = eax; /* 0x2B065277: mov ecx, eax */ 21577 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B065279: call dword ptr [0x2b0b5650] */ 21578 RECOMP_FLAGS_IN(); 21579 goto L_2B065283; /* 0x2B06527F: jmp 0x2b065283 */ 21580 L_2B065281: 21581 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21582 eax = 0; /* 0x2B065281: xor eax, eax */ 21583 _cf = 0; 21584 _flag_k = FK_TEST; 21585 L_2B065283: 21586 PUSH32(esp, 2); /* 0x2B065283: push 2 */ 21587 PUSH32(esp, 0x110u); /* 0x2B065285: push 0x110 */ 21588 MEM32(ebp + (-0x4)) = ebx; /* 0x2B06528A: mov dword ptr [ebp - 4], ebx */ 21589 MEM32(esi + 0x24) = eax; /* 0x2B06528D: mov dword ptr [esi + 0x24], eax */ 21590 RECOMP_ICALL(edi); /* 0x2B065290: call edi */ 21591 RECOMP_FLAGS_IN(); 21592 ecx = eax; /* 0x2B065292: mov ecx, eax */ 21593 RECOMP_ICALL(MEM32(0x2B0B5FBC)); /* 0x2B065294: call dword ptr [0x2b0b5fbc] */ 21594 RECOMP_FLAGS_IN(); 21595 ecx = MEM32(esi + 0x24); /* 0x2B06529A: mov ecx, dword ptr [esi + 0x24] */ 21596 PUSH32(esp, 1); /* 0x2B06529D: push 1 */ 21597 PUSH32(esp, 0); /* 0x2B06529F: push 0 */ 21598 PUSH32(esp, 0); /* 0x2B0652A1: push 0 */ 21599 ebx = eax; /* 0x2B0652A3: mov ebx, eax */ 21600 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B0652A5: call dword ptr [0x2b0b564c] */ 21601 RECOMP_FLAGS_IN(); 21602 ecx = MEM32(ebx + 0xC); /* 0x2B0652AB: mov ecx, dword ptr [ebx + 0xc] */ 21603 PUSH32(esp, 0xFF00u); /* 0x2B0652AE: push 0xff00 */ 21604 MEM32(ebp + (-0x2C)) = ecx; /* 0x2B0652B3: mov dword ptr [ebp - 0x2c], ecx */ 21605 edx = MEM32(ebx + 0x8); /* 0x2B0652B6: mov edx, dword ptr [ebx + 8] */ 21606 PUSH32(esp, ebx); /* 0x2B0652B9: push ebx */ 21607 eax = ebp + (-0x24); /* 0x2B0652BA: lea eax, [ebp - 0x24] */ 21608 PUSH32(esp, eax); /* 0x2B0652BD: push eax */ 21609 ecx = ebp + (-0x34); /* 0x2B0652BE: lea ecx, [ebp - 0x34] */ 21610 PUSH32(esp, ecx); /* 0x2B0652C1: push ecx */ 21611 ecx = MEM32(esi + 0x24); /* 0x2B0652C2: mov ecx, dword ptr [esi + 0x24] */ 21612 MEM32(ebp + (-0x28)) = edx; /* 0x2B0652C5: mov dword ptr [ebp - 0x28], edx */ 21613 RECOMP_ICALL(MEM32(0x2B0B5554)); /* 0x2B0652C8: call dword ptr [0x2b0b5554] */ 21614 RECOMP_FLAGS_IN(); 21615 PUSH32(esp, ebx); /* 0x2B0652CE: push ebx */ 21616 RECOMP_ICALL(edi); /* 0x2B0652CF: call edi */ 21617 RECOMP_FLAGS_IN(); 21618 ecx = eax; /* 0x2B0652D1: mov ecx, eax */ 21619 RECOMP_ICALL(MEM32(0x2B0B5FB8)); /* 0x2B0652D3: call dword ptr [0x2b0b5fb8] */ 21620 RECOMP_FLAGS_IN(); 21621 PUSH32(esp, 0xD8u); /* 0x2B0652D9: push 0xd8 */ 21622 RECOMP_ICALL(0x2B0AB212u); /* 0x2B0652DE: call 0x2b0ab212 */ /* not lifted */ 21623 RECOMP_FLAGS_IN(); 21624 edi = eax; /* 0x2B0652E3: mov edi, eax */ 21625 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21627 esp = esp + 4; /* 0x2B0652E5: add esp, 4 */ 21628 _flag_k = FK_ADD; 21629 MEM32(ebp + (-0x1C)) = edi; /* 0x2B0652E8: mov dword ptr [ebp - 0x1c], edi */ 21630 /* test edi, edi */ /* 0x2B0652EB: test edi, edi */ 21631 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21632 _cf = 0; 21633 _flag_k = FK_TEST; 21634 MEM32(ebp + (-0x4)) = 7; /* 0x2B0652ED: mov dword ptr [ebp - 4], 7 */ 21635 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06532B; /* 0x2B0652F4: je 0x2b06532b */ 21636 L_2B0652F6: 21637 ecx = MEM32(esi + 0x24); /* 0x2B0652F6: mov ecx, dword ptr [esi + 0x24] */ 21638 edx = ebp + (-0x14); /* 0x2B0652F9: lea edx, [ebp - 0x14] */ 21639 PUSH32(esp, edx); /* 0x2B0652FC: push edx */ 21640 eax = ebp + (-0x10); /* 0x2B0652FD: lea eax, [ebp - 0x10] */ 21641 PUSH32(esp, eax); /* 0x2B065300: push eax */ 21642 PUSH32(esp, 1); /* 0x2B065301: push 1 */ 21643 PUSH32(esp, 0x1770u); /* 0x2B065303: push 0x1770 */ 21644 PUSH32(esp, ecx); /* 0x2B065308: push ecx */ 21645 edx = ebp + (-0x24); /* 0x2B065309: lea edx, [ebp - 0x24] */ 21646 PUSH32(esp, edx); /* 0x2B06530C: push edx */ 21647 ecx = edi; /* 0x2B06530D: mov ecx, edi */ 21648 MEM32(ebp + (-0x14)) = 0x3F800000u; /* 0x2B06530F: mov dword ptr [ebp - 0x14], 0x3f800000 */ 21649 MEM32(ebp + (-0x10)) = 0x3F800000u; /* 0x2B065316: mov dword ptr [ebp - 0x10], 0x3f800000 */ 21650 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B06531D: call dword ptr [0x2b0b5654] */ 21651 RECOMP_FLAGS_IN(); 21652 MEM32(edi) = 0x2B0B618Cu; /* 0x2B065323: mov dword ptr [edi], 0x2b0b618c */ 21653 goto L_2B06532D; /* 0x2B065329: jmp 0x2b06532d */ 21654 L_2B06532B: 21655 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21656 edi = 0; /* 0x2B06532B: xor edi, edi */ 21657 _cf = 0; 21658 _flag_k = FK_TEST; 21659 L_2B06532D: 21660 _flag_a = (uint32_t)((ebx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ebx | 0xFFFFFFFFu)); 21661 ebx = ebx | 0xFFFFFFFFu; /* 0x2B06532D: or ebx, 0xffffffff */ 21662 _cf = 0; 21663 _flag_k = FK_TEST; 21664 PUSH32(esp, 0x34u); /* 0x2B065330: push 0x34 */ 21665 MEM32(ebp + (-0x4)) = ebx; /* 0x2B065332: mov dword ptr [ebp - 4], ebx */ 21666 MEM32(esi + 0x20) = edi; /* 0x2B065335: mov dword ptr [esi + 0x20], edi */ 21667 RECOMP_ICALL(0x2B0AB212u); /* 0x2B065338: call 0x2b0ab212 */ /* not lifted */ 21668 RECOMP_FLAGS_IN(); 21669 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21670 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21671 esp = esp + 4; /* 0x2B06533D: add esp, 4 */ 21672 _flag_k = FK_ADD; 21673 MEM32(ebp + (-0x1C)) = eax; /* 0x2B065340: mov dword ptr [ebp - 0x1c], eax */ 21674 /* test eax, eax */ /* 0x2B065343: test eax, eax */ 21675 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 21676 _cf = 0; 21677 _flag_k = FK_TEST; 21678 MEM32(ebp + (-0x4)) = 8; /* 0x2B065345: mov dword ptr [ebp - 4], 8 */ 21679 if (TEST_Z(_flag_a, _flag_b)) goto L_2B065361; /* 0x2B06534C: je 0x2b065361 */ 21680 L_2B06534E: 21681 PUSH32(esp, 2); /* 0x2B06534E: push 2 */ 21682 PUSH32(esp, 0x10u); /* 0x2B065350: push 0x10 */ 21683 PUSH32(esp, 0x100u); /* 0x2B065352: push 0x100 */ 21684 ecx = eax; /* 0x2B065357: mov ecx, eax */ 21685 RECOMP_ICALL(MEM32(0x2B0B5650)); /* 0x2B065359: call dword ptr [0x2b0b5650] */ 21686 RECOMP_FLAGS_IN(); 21687 goto L_2B065363; /* 0x2B06535F: jmp 0x2b065363 */ 21688 L_2B065361: 21689 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21690 eax = 0; /* 0x2B065361: xor eax, eax */ 21691 _cf = 0; 21692 _flag_k = FK_TEST; 21693 L_2B065363: 21694 PUSH32(esp, 0xD8u); /* 0x2B065363: push 0xd8 */ 21695 MEM32(ebp + (-0x4)) = ebx; /* 0x2B065368: mov dword ptr [ebp - 4], ebx */ 21696 MEM32(esi + 0x14) = eax; /* 0x2B06536B: mov dword ptr [esi + 0x14], eax */ 21697 RECOMP_ICALL(0x2B0AB212u); /* 0x2B06536E: call 0x2b0ab212 */ /* not lifted */ 21698 RECOMP_FLAGS_IN(); 21699 edi = eax; /* 0x2B065373: mov edi, eax */ 21700 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21702 esp = esp + 4; /* 0x2B065375: add esp, 4 */ 21703 _flag_k = FK_ADD; 21704 MEM32(ebp + (-0x14)) = edi; /* 0x2B065378: mov dword ptr [ebp - 0x14], edi */ 21705 /* test edi, edi */ /* 0x2B06537B: test edi, edi */ 21706 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21707 _cf = 0; 21708 _flag_k = FK_TEST; 21709 MEM32(ebp + (-0x4)) = 9; /* 0x2B06537D: mov dword ptr [ebp - 4], 9 */ 21710 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0653BB; /* 0x2B065384: je 0x2b0653bb */ 21711 L_2B065386: 21712 edx = MEM32(esi + 0x14); /* 0x2B065386: mov edx, dword ptr [esi + 0x14] */ 21713 eax = ebp + (-0x18); /* 0x2B065389: lea eax, [ebp - 0x18] */ 21714 PUSH32(esp, eax); /* 0x2B06538C: push eax */ 21715 ecx = ebp + (-0x1C); /* 0x2B06538D: lea ecx, [ebp - 0x1c] */ 21716 PUSH32(esp, ecx); /* 0x2B065390: push ecx */ 21717 PUSH32(esp, 1); /* 0x2B065391: push 1 */ 21718 PUSH32(esp, 0x1770u); /* 0x2B065393: push 0x1770 */ 21719 PUSH32(esp, edx); /* 0x2B065398: push edx */ 21720 eax = ebp + (-0x24); /* 0x2B065399: lea eax, [ebp - 0x24] */ 21721 PUSH32(esp, eax); /* 0x2B06539C: push eax */ 21722 ecx = edi; /* 0x2B06539D: mov ecx, edi */ 21723 MEM32(ebp + (-0x18)) = 0x3F800000u; /* 0x2B06539F: mov dword ptr [ebp - 0x18], 0x3f800000 */ 21724 MEM32(ebp + (-0x1C)) = 0x3F800000u; /* 0x2B0653A6: mov dword ptr [ebp - 0x1c], 0x3f800000 */ 21725 RECOMP_ICALL(MEM32(0x2B0B5654)); /* 0x2B0653AD: call dword ptr [0x2b0b5654] */ 21726 RECOMP_FLAGS_IN(); 21727 MEM32(edi) = 0x2B0B618Cu; /* 0x2B0653B3: mov dword ptr [edi], 0x2b0b618c */ 21728 goto L_2B0653BD; /* 0x2B0653B9: jmp 0x2b0653bd */ 21729 L_2B0653BB: 21730 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21731 edi = 0; /* 0x2B0653BB: xor edi, edi */ 21732 _cf = 0; 21733 _flag_k = FK_TEST; 21734 L_2B0653BD: 21735 ecx = esi; /* 0x2B0653BD: mov ecx, esi */ 21736 MEM32(ebp + (-0x4)) = ebx; /* 0x2B0653BF: mov dword ptr [ebp - 4], ebx */ 21737 MEM32(esi + 0x10) = edi; /* 0x2B0653C2: mov dword ptr [esi + 0x10], edi */ 21738 RECOMP_ICALL(0x2B065930u); /* 0x2B0653C5: call 0x2b065930 */ /* not lifted */ 21739 RECOMP_FLAGS_IN(); 21740 ecx = MEM32(ebp + (-0xC)); /* 0x2B0653CA: mov ecx, dword ptr [ebp - 0xc] */ 21741 edi = POP32_VAL(esp); /* 0x2B0653CD: pop edi */ 21742 eax = esi; /* 0x2B0653CE: mov eax, esi */ 21743 esi = POP32_VAL(esp); /* 0x2B0653D0: pop esi */ 21744 ebx = POP32_VAL(esp); /* 0x2B0653D1: pop ebx */ 21745 MEM32(FS_BASE + (0)) = ecx; /* 0x2B0653D2: mov dword ptr fs:[0], ecx */ 21746 esp = ebp; /* 0x2B0653D9: mov esp, ebp */ 21747 ebp = POP32_VAL(esp); /* 0x2B0653DB: pop ebp */ 21748 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0653DC: ret */ 21749 RECOMP_REGS_OUT(); 21750 } 21751 21752 void sub_2B0653E0(void) { 21753 int _fpu_cmp = 0; 21754 uint32_t _cf = 0; 21755 int _df = 1; 21756 uint32_t _flag_k = FK_NONE; 21757 uint32_t _flag_a = 0, _flag_b = 0; 21758 uint32_t _itail_tgt = 0; 21759 RECOMP_REGS_LOCALS 21760 RECOMP_ENTER(0x2B0653E0u); 21761 21762 L_2B0653E0: 21763 PUSH32(esp, ebx); /* 0x2B0653E0: push ebx */ 21764 PUSH32(esp, esi); /* 0x2B0653E1: push esi */ 21765 esi = ecx; /* 0x2B0653E2: mov esi, ecx */ 21766 ecx = MEM32(esi); /* 0x2B0653E4: mov ecx, dword ptr [esi] */ 21767 /* test ecx, ecx */ /* 0x2B0653E6: test ecx, ecx */ 21768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 21769 _cf = 0; 21770 _flag_k = FK_TEST; 21771 PUSH32(esp, edi); /* 0x2B0653E8: push edi */ 21772 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0653F1; /* 0x2B0653E9: je 0x2b0653f1 */ 21773 L_2B0653EB: 21774 eax = MEM32(ecx); /* 0x2B0653EB: mov eax, dword ptr [ecx] */ 21775 PUSH32(esp, 1); /* 0x2B0653ED: push 1 */ 21776 RECOMP_ICALL(MEM32(eax)); /* 0x2B0653EF: call dword ptr [eax] */ 21777 RECOMP_FLAGS_IN(); 21778 L_2B0653F1: 21779 edi = MEM32(esi + 0x4); /* 0x2B0653F1: mov edi, dword ptr [esi + 4] */ 21780 /* test edi, edi */ /* 0x2B0653F4: test edi, edi */ 21781 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21782 _cf = 0; 21783 _flag_k = FK_TEST; 21784 ebx = MEM32(0x2B0B5644); /* 0x2B0653F6: mov ebx, dword ptr [0x2b0b5644] */ 21785 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06540B; /* 0x2B0653FC: je 0x2b06540b */ 21786 L_2B0653FE: 21787 ecx = edi; /* 0x2B0653FE: mov ecx, edi */ 21788 RECOMP_ICALL(ebx); /* 0x2B065400: call ebx */ 21789 RECOMP_FLAGS_IN(); 21790 PUSH32(esp, edi); /* 0x2B065402: push edi */ 21791 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B065403: call 0x2b0ab1ba */ /* not lifted */ 21792 RECOMP_FLAGS_IN(); 21793 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21794 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21795 esp = esp + 4; /* 0x2B065408: add esp, 4 */ 21796 _flag_k = FK_ADD; 21797 L_2B06540B: 21798 ecx = MEM32(esi + 0x8); /* 0x2B06540B: mov ecx, dword ptr [esi + 8] */ 21799 /* test ecx, ecx */ /* 0x2B06540E: test ecx, ecx */ 21800 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 21801 _cf = 0; 21802 _flag_k = FK_TEST; 21803 if (TEST_Z(_flag_a, _flag_b)) goto L_2B065418; /* 0x2B065410: je 0x2b065418 */ 21804 L_2B065412: 21805 edx = MEM32(ecx); /* 0x2B065412: mov edx, dword ptr [ecx] */ 21806 PUSH32(esp, 1); /* 0x2B065414: push 1 */ 21807 RECOMP_ICALL(MEM32(edx)); /* 0x2B065416: call dword ptr [edx] */ 21808 RECOMP_FLAGS_IN(); 21809 L_2B065418: 21810 edi = MEM32(esi + 0xC); /* 0x2B065418: mov edi, dword ptr [esi + 0xc] */ 21811 /* test edi, edi */ /* 0x2B06541B: test edi, edi */ 21812 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21813 _cf = 0; 21814 _flag_k = FK_TEST; 21815 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06542C; /* 0x2B06541D: je 0x2b06542c */ 21816 L_2B06541F: 21817 ecx = edi; /* 0x2B06541F: mov ecx, edi */ 21818 RECOMP_ICALL(ebx); /* 0x2B065421: call ebx */ 21819 RECOMP_FLAGS_IN(); 21820 PUSH32(esp, edi); /* 0x2B065423: push edi */ 21821 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B065424: call 0x2b0ab1ba */ /* not lifted */ 21822 RECOMP_FLAGS_IN(); 21823 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21825 esp = esp + 4; /* 0x2B065429: add esp, 4 */ 21826 _flag_k = FK_ADD; 21827 L_2B06542C: 21828 ecx = MEM32(esi + 0x10); /* 0x2B06542C: mov ecx, dword ptr [esi + 0x10] */ 21829 /* test ecx, ecx */ /* 0x2B06542F: test ecx, ecx */ 21830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 21831 _cf = 0; 21832 _flag_k = FK_TEST; 21833 if (TEST_Z(_flag_a, _flag_b)) goto L_2B065439; /* 0x2B065431: je 0x2b065439 */ 21834 L_2B065433: 21835 eax = MEM32(ecx); /* 0x2B065433: mov eax, dword ptr [ecx] */ 21836 PUSH32(esp, 1); /* 0x2B065435: push 1 */ 21837 RECOMP_ICALL(MEM32(eax)); /* 0x2B065437: call dword ptr [eax] */ 21838 RECOMP_FLAGS_IN(); 21839 L_2B065439: 21840 edi = MEM32(esi + 0x14); /* 0x2B065439: mov edi, dword ptr [esi + 0x14] */ 21841 /* test edi, edi */ /* 0x2B06543C: test edi, edi */ 21842 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21843 _cf = 0; 21844 _flag_k = FK_TEST; 21845 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06544D; /* 0x2B06543E: je 0x2b06544d */ 21846 L_2B065440: 21847 ecx = edi; /* 0x2B065440: mov ecx, edi */ 21848 RECOMP_ICALL(ebx); /* 0x2B065442: call ebx */ 21849 RECOMP_FLAGS_IN(); 21850 PUSH32(esp, edi); /* 0x2B065444: push edi */ 21851 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B065445: call 0x2b0ab1ba */ /* not lifted */ 21852 RECOMP_FLAGS_IN(); 21853 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21854 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21855 esp = esp + 4; /* 0x2B06544A: add esp, 4 */ 21856 _flag_k = FK_ADD; 21857 L_2B06544D: 21858 ecx = MEM32(esi + 0x18); /* 0x2B06544D: mov ecx, dword ptr [esi + 0x18] */ 21859 /* test ecx, ecx */ /* 0x2B065450: test ecx, ecx */ 21860 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 21861 _cf = 0; 21862 _flag_k = FK_TEST; 21863 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06545A; /* 0x2B065452: je 0x2b06545a */ 21864 L_2B065454: 21865 edx = MEM32(ecx); /* 0x2B065454: mov edx, dword ptr [ecx] */ 21866 PUSH32(esp, 1); /* 0x2B065456: push 1 */ 21867 RECOMP_ICALL(MEM32(edx)); /* 0x2B065458: call dword ptr [edx] */ 21868 RECOMP_FLAGS_IN(); 21869 L_2B06545A: 21870 edi = MEM32(esi + 0x1C); /* 0x2B06545A: mov edi, dword ptr [esi + 0x1c] */ 21871 /* test edi, edi */ /* 0x2B06545D: test edi, edi */ 21872 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 21873 _cf = 0; 21874 _flag_k = FK_TEST; 21875 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06546E; /* 0x2B06545F: je 0x2b06546e */ 21876 L_2B065461: 21877 ecx = edi; /* 0x2B065461: mov ecx, edi */ 21878 RECOMP_ICALL(ebx); /* 0x2B065463: call ebx */ 21879 RECOMP_FLAGS_IN(); 21880 PUSH32(esp, edi); /* 0x2B065465: push edi */ 21881 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B065466: call 0x2b0ab1ba */ /* not lifted */ 21882 RECOMP_FLAGS_IN(); 21883 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21884 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21885 esp = esp + 4; /* 0x2B06546B: add esp, 4 */ 21886 _flag_k = FK_ADD; 21887 L_2B06546E: 21888 ecx = MEM32(esi + 0x20); /* 0x2B06546E: mov ecx, dword ptr [esi + 0x20] */ 21889 /* test ecx, ecx */ /* 0x2B065471: test ecx, ecx */ 21890 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 21891 _cf = 0; 21892 _flag_k = FK_TEST; 21893 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06547B; /* 0x2B065473: je 0x2b06547b */ 21894 L_2B065475: 21895 eax = MEM32(ecx); /* 0x2B065475: mov eax, dword ptr [ecx] */ 21896 PUSH32(esp, 1); /* 0x2B065477: push 1 */ 21897 RECOMP_ICALL(MEM32(eax)); /* 0x2B065479: call dword ptr [eax] */ 21898 RECOMP_FLAGS_IN(); 21899 L_2B06547B: 21900 esi = MEM32(esi + 0x24); /* 0x2B06547B: mov esi, dword ptr [esi + 0x24] */ 21901 /* test esi, esi */ /* 0x2B06547E: test esi, esi */ 21902 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 21903 _cf = 0; 21904 _flag_k = FK_TEST; 21905 if (TEST_Z(_flag_a, _flag_b)) goto L_2B06548F; /* 0x2B065480: je 0x2b06548f */ 21906 L_2B065482: 21907 ecx = esi; /* 0x2B065482: mov ecx, esi */ 21908 RECOMP_ICALL(ebx); /* 0x2B065484: call ebx */ 21909 RECOMP_FLAGS_IN(); 21910 PUSH32(esp, esi); /* 0x2B065486: push esi */ 21911 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B065487: call 0x2b0ab1ba */ /* not lifted */ 21912 RECOMP_FLAGS_IN(); 21913 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21914 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21915 esp = esp + 4; /* 0x2B06548C: add esp, 4 */ 21916 _flag_k = FK_ADD; 21917 L_2B06548F: 21918 edi = POP32_VAL(esp); /* 0x2B06548F: pop edi */ 21919 esi = POP32_VAL(esp); /* 0x2B065490: pop esi */ 21920 MEM32(0x2B0EEDE8) = 0; /* 0x2B065491: mov dword ptr [0x2b0eede8], 0 */ 21921 ebx = POP32_VAL(esp); /* 0x2B06549B: pop ebx */ 21922 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B06549C: ret */ 21923 RECOMP_REGS_OUT(); 21924 }