client/game/ddr.dll/lifted-0006.c (1103057B)
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_2B018780(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(0x2B018780u); 17 18 L_2B018780: 19 PUSH32(esp, ebp); /* 0x2B018780: push ebp */ 20 ebp = esp; /* 0x2B018781: mov ebp, esp */ 21 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x40u); 22 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23 esp = esp - 0x40u; /* 0x2B018783: sub esp, 0x40 */ 24 _flag_k = FK_CMP; 25 eax = MEM32(ebp + 0x8); /* 0x2B018786: mov eax, dword ptr [ebp + 8] */ 26 edx = MEM32(eax); /* 0x2B018789: mov edx, dword ptr [eax] */ 27 PUSH32(esp, ebx); /* 0x2B01878B: push ebx */ 28 PUSH32(esp, esi); /* 0x2B01878C: push esi */ 29 PUSH32(esp, edi); /* 0x2B01878D: push edi */ 30 edi = ecx; /* 0x2B01878E: mov edi, ecx */ 31 ebx = MEM32(edi + 0x4); /* 0x2B018790: mov ebx, dword ptr [edi + 4] */ 32 ecx = MEM32(edi + 0x8); /* 0x2B018793: mov ecx, dword ptr [edi + 8] */ 33 MEM32(ebp + (-0x20)) = edx; /* 0x2B018796: mov dword ptr [ebp - 0x20], edx */ 34 MEM32(ebp + (-0x1C)) = 0; /* 0x2B018799: mov dword ptr [ebp - 0x1c], 0 */ 35 esi = MEM32(ebx + 0x4); /* 0x2B0187A0: mov esi, dword ptr [ebx + 4] */ 36 /* cmp esi, ecx */ /* 0x2B0187A3: cmp esi, ecx */ 37 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 38 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 39 _flag_k = FK_CMP; 40 SET_LO8(eax, 1); /* 0x2B0187A5: mov al, 1 */ 41 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0187C0; /* 0x2B0187A7: je 0x2b0187c0 */ 42 L_2B0187A9: 43 /* cmp edx, MEM32(esi + 0xC) */ /* 0x2B0187A9: cmp edx, dword ptr [esi + 0xc] */ 44 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 45 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 46 _flag_k = FK_CMP; 47 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B0187AC: setl al */ 48 /* test LO8(eax), LO8(eax) */ /* 0x2B0187AF: test al, al */ 49 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 50 _cf = 0; 51 _flag_k = FK_NARROW(FK_TEST, 24); 52 ebx = esi; /* 0x2B0187B1: mov ebx, esi */ 53 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0187B9; /* 0x2B0187B3: je 0x2b0187b9 */ 54 L_2B0187B5: 55 esi = MEM32(esi); /* 0x2B0187B5: mov esi, dword ptr [esi] */ 56 goto L_2B0187BC; /* 0x2B0187B7: jmp 0x2b0187bc */ 57 L_2B0187B9: 58 esi = MEM32(esi + 0x8); /* 0x2B0187B9: mov esi, dword ptr [esi + 8] */ 59 L_2B0187BC: 60 /* cmp esi, ecx */ /* 0x2B0187BC: cmp esi, ecx */ 61 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 62 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 63 _flag_k = FK_CMP; 64 RECOMP_BACKEDGE(); 65 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0187A9; /* 0x2B0187BE: jne 0x2b0187a9 */ 66 L_2B0187C0: 67 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B0187C0: mov cl, byte ptr [edi + 0xc] */ 68 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0187C3: test cl, cl */ 69 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 70 _cf = 0; 71 _flag_k = FK_NARROW(FK_TEST, 24); 72 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0187FF; /* 0x2B0187C5: je 0x2b0187ff */ 73 L_2B0187C7: 74 ecx = ebp + 0xB; /* 0x2B0187C7: lea ecx, [ebp + 0xb] */ 75 PUSH32(esp, ecx); /* 0x2B0187CA: push ecx */ 76 edx = ebp + (-0x20); /* 0x2B0187CB: lea edx, [ebp - 0x20] */ 77 PUSH32(esp, edx); /* 0x2B0187CE: push edx */ 78 PUSH32(esp, ebx); /* 0x2B0187CF: push ebx */ 79 PUSH32(esp, esi); /* 0x2B0187D0: push esi */ 80 eax = ebp + (-0xC); /* 0x2B0187D1: lea eax, [ebp - 0xc] */ 81 PUSH32(esp, eax); /* 0x2B0187D4: push eax */ 82 ecx = edi; /* 0x2B0187D5: mov ecx, edi */ 83 MEM8(ebp + 0xB) = (uint8_t)(1); /* 0x2B0187D7: mov byte ptr [ebp + 0xb], 1 */ 84 RECOMP_ICALL(0x2B0325B0u); /* 0x2B0187DB: call 0x2b0325b0 */ /* not lifted */ 85 RECOMP_FLAGS_IN(); 86 PUSH32(esp, eax); /* 0x2B0187E0: push eax */ 87 ecx = ebp + (-0x28); /* 0x2B0187E1: lea ecx, [ebp - 0x28] */ 88 RECOMP_ICALL(0x2B02A020u); /* 0x2B0187E4: call 0x2b02a020 */ /* not lifted */ 89 RECOMP_FLAGS_IN(); 90 ecx = eax; /* 0x2B0187E9: mov ecx, eax */ 91 eax = MEM32(ecx); /* 0x2B0187EB: mov eax, dword ptr [ecx] */ 92 edx = MEM32(ecx + 0x4); /* 0x2B0187ED: mov edx, dword ptr [ecx + 4] */ 93 edi = POP32_VAL(esp); /* 0x2B0187F0: pop edi */ 94 esi = POP32_VAL(esp); /* 0x2B0187F1: pop esi */ 95 MEM32(ebp + (-0x1C)) = edx; /* 0x2B0187F2: mov dword ptr [ebp - 0x1c], edx */ 96 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 97 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 98 eax = eax + 0x10u; /* 0x2B0187F5: add eax, 0x10 */ 99 _flag_k = FK_ADD; 100 ebx = POP32_VAL(esp); /* 0x2B0187F8: pop ebx */ 101 esp = ebp; /* 0x2B0187F9: mov esp, ebp */ 102 ebp = POP32_VAL(esp); /* 0x2B0187FB: pop ebp */ 103 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0187FC: ret 4 */ 104 L_2B0187FF: 105 /* test LO8(eax), LO8(eax) */ /* 0x2B0187FF: test al, al */ 106 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 107 _cf = 0; 108 _flag_k = FK_NARROW(FK_TEST, 24); 109 MEM32(ebp + (-0x8)) = ebx; /* 0x2B018801: mov dword ptr [ebp - 8], ebx */ 110 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018842; /* 0x2B018804: je 0x2b018842 */ 111 L_2B018806: 112 eax = ebp + (-0x10); /* 0x2B018806: lea eax, [ebp - 0x10] */ 113 PUSH32(esp, eax); /* 0x2B018809: push eax */ 114 ecx = edi; /* 0x2B01880A: mov ecx, edi */ 115 RECOMP_ICALL(0x2B018B60u); /* 0x2B01880C: call 0x2b018b60 */ /* not lifted */ 116 RECOMP_FLAGS_IN(); 117 ecx = MEM32(ebp + (-0x8)); /* 0x2B018811: mov ecx, dword ptr [ebp - 8] */ 118 /* cmp ecx, MEM32(eax) */ /* 0x2B018814: cmp ecx, dword ptr [eax] */ 119 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 121 _flag_k = FK_CMP; 122 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018837; /* 0x2B018816: jne 0x2b018837 */ 123 L_2B018818: 124 edx = ebp + (-0x1); /* 0x2B018818: lea edx, [ebp - 1] */ 125 PUSH32(esp, edx); /* 0x2B01881B: push edx */ 126 eax = ebp + (-0x20); /* 0x2B01881C: lea eax, [ebp - 0x20] */ 127 PUSH32(esp, eax); /* 0x2B01881F: push eax */ 128 PUSH32(esp, ebx); /* 0x2B018820: push ebx */ 129 PUSH32(esp, esi); /* 0x2B018821: push esi */ 130 ecx = ebp + (-0x14); /* 0x2B018822: lea ecx, [ebp - 0x14] */ 131 PUSH32(esp, ecx); /* 0x2B018825: push ecx */ 132 ecx = edi; /* 0x2B018826: mov ecx, edi */ 133 MEM8(ebp + (-0x1)) = (uint8_t)(1); /* 0x2B018828: mov byte ptr [ebp - 1], 1 */ 134 RECOMP_ICALL(0x2B0325B0u); /* 0x2B01882C: call 0x2b0325b0 */ /* not lifted */ 135 RECOMP_FLAGS_IN(); 136 PUSH32(esp, eax); /* 0x2B018831: push eax */ 137 ecx = ebp + (-0x30); /* 0x2B018832: lea ecx, [ebp - 0x30] */ 138 goto L_2B018891; /* 0x2B018835: jmp 0x2b018891 */ 139 L_2B018837: 140 ecx = ebp + (-0x8); /* 0x2B018837: lea ecx, [ebp - 8] */ 141 RECOMP_ICALL(0x2B078C30u); /* 0x2B01883A: call 0x2b078c30 */ /* not lifted */ 142 RECOMP_FLAGS_IN(); 143 edx = MEM32(ebp + (-0x20)); /* 0x2B01883F: mov edx, dword ptr [ebp - 0x20] */ 144 L_2B018842: 145 eax = MEM32(ebp + (-0x8)); /* 0x2B018842: mov eax, dword ptr [ebp - 8] */ 146 /* cmp MEM32(eax + 0xC), edx */ /* 0x2B018845: cmp dword ptr [eax + 0xc], edx */ 147 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edx); 148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 149 _flag_k = FK_CMP; 150 if (CMP_GE(_flag_a, _flag_b)) goto L_2B018882; /* 0x2B018848: jge 0x2b018882 */ 151 L_2B01884A: 152 ecx = ebp + (-0x2); /* 0x2B01884A: lea ecx, [ebp - 2] */ 153 PUSH32(esp, ecx); /* 0x2B01884D: push ecx */ 154 edx = ebp + (-0x20); /* 0x2B01884E: lea edx, [ebp - 0x20] */ 155 PUSH32(esp, edx); /* 0x2B018851: push edx */ 156 PUSH32(esp, ebx); /* 0x2B018852: push ebx */ 157 PUSH32(esp, esi); /* 0x2B018853: push esi */ 158 eax = ebp + (-0x18); /* 0x2B018854: lea eax, [ebp - 0x18] */ 159 PUSH32(esp, eax); /* 0x2B018857: push eax */ 160 ecx = edi; /* 0x2B018858: mov ecx, edi */ 161 MEM8(ebp + (-0x2)) = (uint8_t)(1); /* 0x2B01885A: mov byte ptr [ebp - 2], 1 */ 162 RECOMP_ICALL(0x2B0325B0u); /* 0x2B01885E: call 0x2b0325b0 */ /* not lifted */ 163 RECOMP_FLAGS_IN(); 164 PUSH32(esp, eax); /* 0x2B018863: push eax */ 165 ecx = ebp + (-0x38); /* 0x2B018864: lea ecx, [ebp - 0x38] */ 166 RECOMP_ICALL(0x2B02A020u); /* 0x2B018867: call 0x2b02a020 */ /* not lifted */ 167 RECOMP_FLAGS_IN(); 168 ecx = eax; /* 0x2B01886C: mov ecx, eax */ 169 eax = MEM32(ecx); /* 0x2B01886E: mov eax, dword ptr [ecx] */ 170 edx = MEM32(ecx + 0x4); /* 0x2B018870: mov edx, dword ptr [ecx + 4] */ 171 edi = POP32_VAL(esp); /* 0x2B018873: pop edi */ 172 esi = POP32_VAL(esp); /* 0x2B018874: pop esi */ 173 MEM32(ebp + (-0x1C)) = edx; /* 0x2B018875: mov dword ptr [ebp - 0x1c], edx */ 174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 175 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 176 eax = eax + 0x10u; /* 0x2B018878: add eax, 0x10 */ 177 _flag_k = FK_ADD; 178 ebx = POP32_VAL(esp); /* 0x2B01887B: pop ebx */ 179 esp = ebp; /* 0x2B01887C: mov esp, ebp */ 180 ebp = POP32_VAL(esp); /* 0x2B01887E: pop ebp */ 181 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01887F: ret 4 */ 182 L_2B018882: 183 eax = ebp + (-0x3); /* 0x2B018882: lea eax, [ebp - 3] */ 184 ecx = ebp + (-0x8); /* 0x2B018885: lea ecx, [ebp - 8] */ 185 PUSH32(esp, eax); /* 0x2B018888: push eax */ 186 PUSH32(esp, ecx); /* 0x2B018889: push ecx */ 187 MEM8(ebp + (-0x3)) = (uint8_t)(0); /* 0x2B01888A: mov byte ptr [ebp - 3], 0 */ 188 ecx = ebp + (-0x40); /* 0x2B01888E: lea ecx, [ebp - 0x40] */ 189 L_2B018891: 190 RECOMP_ICALL(0x2B02A020u); /* 0x2B018891: call 0x2b02a020 */ /* not lifted */ 191 RECOMP_FLAGS_IN(); 192 edx = eax; /* 0x2B018896: mov edx, eax */ 193 eax = MEM32(edx); /* 0x2B018898: mov eax, dword ptr [edx] */ 194 ecx = MEM32(edx + 0x4); /* 0x2B01889A: mov ecx, dword ptr [edx + 4] */ 195 edi = POP32_VAL(esp); /* 0x2B01889D: pop edi */ 196 esi = POP32_VAL(esp); /* 0x2B01889E: pop esi */ 197 MEM32(ebp + (-0x1C)) = ecx; /* 0x2B01889F: mov dword ptr [ebp - 0x1c], ecx */ 198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 199 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 200 eax = eax + 0x10u; /* 0x2B0188A2: add eax, 0x10 */ 201 _flag_k = FK_ADD; 202 ebx = POP32_VAL(esp); /* 0x2B0188A5: pop ebx */ 203 esp = ebp; /* 0x2B0188A6: mov esp, ebp */ 204 ebp = POP32_VAL(esp); /* 0x2B0188A8: pop ebp */ 205 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0188A9: ret 4 */ 206 RECOMP_REGS_OUT(); 207 } 208 209 void sub_2B0188B0(void) { 210 int _fpu_cmp = 0; 211 uint32_t _cf = 0; 212 int _df = 1; 213 uint32_t _flag_k = FK_NONE; 214 uint32_t _flag_a = 0, _flag_b = 0; 215 uint32_t _itail_tgt = 0; 216 RECOMP_REGS_LOCALS 217 RECOMP_ENTER(0x2B0188B0u); 218 219 L_2B0188B0: 220 PUSH32(esp, ebp); /* 0x2B0188B0: push ebp */ 221 ebp = esp; /* 0x2B0188B1: mov ebp, esp */ 222 PUSH32(esp, ecx); /* 0x2B0188B3: push ecx */ 223 PUSH32(esp, ebx); /* 0x2B0188B4: push ebx */ 224 ebx = ecx; /* 0x2B0188B5: mov ebx, ecx */ 225 eax = MEM32(ebx + 0x4); /* 0x2B0188B7: mov eax, dword ptr [ebx + 4] */ 226 PUSH32(esp, edi); /* 0x2B0188BA: push edi */ 227 edi = MEM32(eax); /* 0x2B0188BB: mov edi, dword ptr [eax] */ 228 /* cmp edi, eax */ /* 0x2B0188BD: cmp edi, eax */ 229 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 231 _flag_k = FK_CMP; 232 MEM32(ebp + (-0x4)) = eax; /* 0x2B0188BF: mov dword ptr [ebp - 4], eax */ 233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0188F8; /* 0x2B0188C2: je 0x2b0188f8 */ 234 L_2B0188C4: 235 PUSH32(esp, esi); /* 0x2B0188C4: push esi */ 236 L_2B0188C5: 237 esi = edi; /* 0x2B0188C5: mov esi, edi */ 238 eax = MEM32(esi + 0x4); /* 0x2B0188C7: mov eax, dword ptr [esi + 4] */ 239 ecx = MEM32(esi); /* 0x2B0188CA: mov ecx, dword ptr [esi] */ 240 edi = MEM32(edi); /* 0x2B0188CC: mov edi, dword ptr [edi] */ 241 MEM32(eax) = ecx; /* 0x2B0188CE: mov dword ptr [eax], ecx */ 242 edx = MEM32(esi); /* 0x2B0188D0: mov edx, dword ptr [esi] */ 243 eax = MEM32(esi + 0x4); /* 0x2B0188D2: mov eax, dword ptr [esi + 4] */ 244 ecx = esi + 0x8; /* 0x2B0188D5: lea ecx, [esi + 8] */ 245 MEM32(edx + 0x4) = eax; /* 0x2B0188D8: mov dword ptr [edx + 4], eax */ 246 RECOMP_ICALL(0x2B0170E0u); /* 0x2B0188DB: call 0x2b0170e0 */ /* not lifted */ 247 RECOMP_FLAGS_IN(); 248 PUSH32(esp, esi); /* 0x2B0188E0: push esi */ 249 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0188E1: call 0x2b0ab1ba */ /* not lifted */ 250 RECOMP_FLAGS_IN(); 251 ecx = MEM32(ebx + 0x8); /* 0x2B0188E6: mov ecx, dword ptr [ebx + 8] */ 252 eax = MEM32(ebp + (-0x4)); /* 0x2B0188E9: mov eax, dword ptr [ebp - 4] */ 253 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 254 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 255 esp = esp + 4; /* 0x2B0188EC: add esp, 4 */ 256 _flag_k = FK_ADD; 257 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 258 ecx = ecx - 1; /* 0x2B0188EF: dec ecx */ 259 _flag_k = FK_DEC; 260 /* cmp edi, eax */ /* 0x2B0188F0: cmp edi, eax */ 261 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 263 _flag_k = FK_CMP; 264 MEM32(ebx + 0x8) = ecx; /* 0x2B0188F2: mov dword ptr [ebx + 8], ecx */ 265 RECOMP_BACKEDGE(); 266 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0188C5; /* 0x2B0188F5: jne 0x2b0188c5 */ 267 L_2B0188F7: 268 esi = POP32_VAL(esp); /* 0x2B0188F7: pop esi */ 269 L_2B0188F8: 270 ecx = MEM32(ebx + 0x4); /* 0x2B0188F8: mov ecx, dword ptr [ebx + 4] */ 271 PUSH32(esp, ecx); /* 0x2B0188FB: push ecx */ 272 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0188FC: call 0x2b0ab1ba */ /* not lifted */ 273 RECOMP_FLAGS_IN(); 274 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 275 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 276 esp = esp + 4; /* 0x2B018901: add esp, 4 */ 277 _flag_k = FK_ADD; 278 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 279 eax = 0; /* 0x2B018904: xor eax, eax */ 280 _cf = 0; 281 _flag_k = FK_TEST; 282 edi = POP32_VAL(esp); /* 0x2B018906: pop edi */ 283 MEM32(ebx + 0x4) = eax; /* 0x2B018907: mov dword ptr [ebx + 4], eax */ 284 MEM32(ebx + 0x8) = eax; /* 0x2B01890A: mov dword ptr [ebx + 8], eax */ 285 ebx = POP32_VAL(esp); /* 0x2B01890D: pop ebx */ 286 esp = ebp; /* 0x2B01890E: mov esp, ebp */ 287 ebp = POP32_VAL(esp); /* 0x2B018910: pop ebp */ 288 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B018911: ret */ 289 RECOMP_REGS_OUT(); 290 } 291 292 void sub_2B018920(void) { 293 int _fpu_cmp = 0; 294 uint32_t _cf = 0; 295 int _df = 1; 296 uint32_t _flag_k = FK_NONE; 297 uint32_t _flag_a = 0, _flag_b = 0; 298 uint32_t _itail_tgt = 0; 299 RECOMP_REGS_LOCALS 300 RECOMP_ENTER(0x2B018920u); 301 302 L_2B018920: 303 PUSH32(esp, ebx); /* 0x2B018920: push ebx */ 304 PUSH32(esp, esi); /* 0x2B018921: push esi */ 305 PUSH32(esp, edi); /* 0x2B018922: push edi */ 306 edi = ecx; /* 0x2B018923: mov edi, ecx */ 307 esi = MEM32(edi + 0x14); /* 0x2B018925: mov esi, dword ptr [edi + 0x14] */ 308 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 309 ebx = 0; /* 0x2B018928: xor ebx, ebx */ 310 _cf = 0; 311 _flag_k = FK_TEST; 312 /* cmp esi, ebx */ /* 0x2B01892A: cmp esi, ebx */ 313 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 315 _flag_k = FK_CMP; 316 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B01892C: je 0x2b018998 */ 317 L_2B01892E: 318 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 319 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01892E: dec dword ptr [esi + 0x2c] */ 320 _flag_k = FK_DEC; 321 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B018931: jne 0x2b018998 */ 322 L_2B018933: 323 /* cmp esi, ebx */ /* 0x2B018933: cmp esi, ebx */ 324 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 326 _flag_k = FK_CMP; 327 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B018935: je 0x2b018998 */ 328 L_2B018937: 329 eax = MEM32(esi + 0x20); /* 0x2B018937: mov eax, dword ptr [esi + 0x20] */ 330 /* cmp eax, ebx */ /* 0x2B01893A: cmp eax, ebx */ 331 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 333 _flag_k = FK_CMP; 334 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01895A; /* 0x2B01893C: je 0x2b01895a */ 335 L_2B01893E: 336 ecx = eax + (-0x1); /* 0x2B01893E: lea ecx, [eax - 1] */ 337 SET_LO8(eax, MEM8(ecx)); /* 0x2B018941: mov al, byte ptr [ecx] */ 338 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B018943: cmp al, bl */ 339 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 341 _flag_k = FK_NARROW(FK_CMP, 24); 342 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018951; /* 0x2B018945: je 0x2b018951 */ 343 L_2B018947: 344 /* cmp LO8(eax), 0xFFu */ /* 0x2B018947: cmp al, 0xff */ 345 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 347 _flag_k = FK_NARROW(FK_CMP, 24); 348 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018951; /* 0x2B018949: je 0x2b018951 */ 349 L_2B01894B: 350 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 351 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01894B: dec al */ 352 _flag_k = FK_NARROW(FK_DEC, 24); 353 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01894D: mov byte ptr [ecx], al */ 354 goto L_2B01895A; /* 0x2B01894F: jmp 0x2b01895a */ 355 L_2B018951: 356 PUSH32(esp, ecx); /* 0x2B018951: push ecx */ 357 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018952: call 0x2b0ab1ba */ /* not lifted */ 358 RECOMP_FLAGS_IN(); 359 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 360 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 361 esp = esp + 4; /* 0x2B018957: add esp, 4 */ 362 _flag_k = FK_ADD; 363 L_2B01895A: 364 MEM32(esi + 0x20) = ebx; /* 0x2B01895A: mov dword ptr [esi + 0x20], ebx */ 365 MEM32(esi + 0x24) = ebx; /* 0x2B01895D: mov dword ptr [esi + 0x24], ebx */ 366 MEM32(esi + 0x28) = ebx; /* 0x2B018960: mov dword ptr [esi + 0x28], ebx */ 367 eax = MEM32(esi + 0x10); /* 0x2B018963: mov eax, dword ptr [esi + 0x10] */ 368 /* cmp eax, ebx */ /* 0x2B018966: cmp eax, ebx */ 369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 371 _flag_k = FK_CMP; 372 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018986; /* 0x2B018968: je 0x2b018986 */ 373 L_2B01896A: 374 ecx = eax + (-0x1); /* 0x2B01896A: lea ecx, [eax - 1] */ 375 SET_LO8(eax, MEM8(ecx)); /* 0x2B01896D: mov al, byte ptr [ecx] */ 376 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01896F: cmp al, bl */ 377 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 379 _flag_k = FK_NARROW(FK_CMP, 24); 380 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018971: je 0x2b01897d */ 381 L_2B018973: 382 /* cmp LO8(eax), 0xFFu */ /* 0x2B018973: cmp al, 0xff */ 383 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 385 _flag_k = FK_NARROW(FK_CMP, 24); 386 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018975: je 0x2b01897d */ 387 L_2B018977: 388 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 389 SET_LO8(eax, LO8(eax) - 1); /* 0x2B018977: dec al */ 390 _flag_k = FK_NARROW(FK_DEC, 24); 391 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B018979: mov byte ptr [ecx], al */ 392 goto L_2B018986; /* 0x2B01897B: jmp 0x2b018986 */ 393 L_2B01897D: 394 PUSH32(esp, ecx); /* 0x2B01897D: push ecx */ 395 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01897E: call 0x2b0ab1ba */ /* not lifted */ 396 RECOMP_FLAGS_IN(); 397 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 398 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 399 esp = esp + 4; /* 0x2B018983: add esp, 4 */ 400 _flag_k = FK_ADD; 401 L_2B018986: 402 PUSH32(esp, esi); /* 0x2B018986: push esi */ 403 MEM32(esi + 0x10) = ebx; /* 0x2B018987: mov dword ptr [esi + 0x10], ebx */ 404 MEM32(esi + 0x14) = ebx; /* 0x2B01898A: mov dword ptr [esi + 0x14], ebx */ 405 MEM32(esi + 0x18) = ebx; /* 0x2B01898D: mov dword ptr [esi + 0x18], ebx */ 406 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018990: call 0x2b0ab1ba */ /* not lifted */ 407 RECOMP_FLAGS_IN(); 408 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 409 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 410 esp = esp + 4; /* 0x2B018995: add esp, 4 */ 411 _flag_k = FK_ADD; 412 L_2B018998: 413 eax = MEM32(edi + 0x8); /* 0x2B018998: mov eax, dword ptr [edi + 8] */ 414 /* cmp eax, ebx */ /* 0x2B01899B: cmp eax, ebx */ 415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 417 _flag_k = FK_CMP; 418 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189C6; /* 0x2B01899D: je 0x2b0189c6 */ 419 L_2B01899F: 420 ecx = eax + (-0x1); /* 0x2B01899F: lea ecx, [eax - 1] */ 421 SET_LO8(eax, MEM8(ecx)); /* 0x2B0189A2: mov al, byte ptr [ecx] */ 422 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B0189A4: cmp al, bl */ 423 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 425 _flag_k = FK_NARROW(FK_CMP, 24); 426 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189A6: je 0x2b0189bd */ 427 L_2B0189A8: 428 /* cmp LO8(eax), 0xFFu */ /* 0x2B0189A8: cmp al, 0xff */ 429 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 431 _flag_k = FK_NARROW(FK_CMP, 24); 432 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189AA: je 0x2b0189bd */ 433 L_2B0189AC: 434 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 435 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0189AC: dec al */ 436 _flag_k = FK_NARROW(FK_DEC, 24); 437 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0189AE: mov byte ptr [ecx], al */ 438 MEM32(edi + 0x8) = ebx; /* 0x2B0189B0: mov dword ptr [edi + 8], ebx */ 439 MEM32(edi + 0xC) = ebx; /* 0x2B0189B3: mov dword ptr [edi + 0xc], ebx */ 440 MEM32(edi + 0x10) = ebx; /* 0x2B0189B6: mov dword ptr [edi + 0x10], ebx */ 441 edi = POP32_VAL(esp); /* 0x2B0189B9: pop edi */ 442 esi = POP32_VAL(esp); /* 0x2B0189BA: pop esi */ 443 ebx = POP32_VAL(esp); /* 0x2B0189BB: pop ebx */ 444 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189BC: ret */ 445 L_2B0189BD: 446 PUSH32(esp, ecx); /* 0x2B0189BD: push ecx */ 447 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0189BE: call 0x2b0ab1ba */ /* not lifted */ 448 RECOMP_FLAGS_IN(); 449 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 450 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 451 esp = esp + 4; /* 0x2B0189C3: add esp, 4 */ 452 _flag_k = FK_ADD; 453 L_2B0189C6: 454 MEM32(edi + 0x8) = ebx; /* 0x2B0189C6: mov dword ptr [edi + 8], ebx */ 455 MEM32(edi + 0xC) = ebx; /* 0x2B0189C9: mov dword ptr [edi + 0xc], ebx */ 456 MEM32(edi + 0x10) = ebx; /* 0x2B0189CC: mov dword ptr [edi + 0x10], ebx */ 457 edi = POP32_VAL(esp); /* 0x2B0189CF: pop edi */ 458 esi = POP32_VAL(esp); /* 0x2B0189D0: pop esi */ 459 ebx = POP32_VAL(esp); /* 0x2B0189D1: pop ebx */ 460 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189D2: ret */ 461 RECOMP_REGS_OUT(); 462 } 463 464 void sub_2B01895A(void) { 465 int _fpu_cmp = 0; 466 uint32_t _cf = 0; 467 int _df = 1; 468 uint32_t _flag_k = FK_NONE; 469 uint32_t _flag_a = 0, _flag_b = 0; 470 uint32_t _itail_tgt = 0; 471 RECOMP_REGS_LOCALS 472 RECOMP_ENTER(0x2B01895Au); 473 474 L_2B01895A: 475 MEM32(esi + 0x20) = ebx; /* 0x2B01895A: mov dword ptr [esi + 0x20], ebx */ 476 MEM32(esi + 0x24) = ebx; /* 0x2B01895D: mov dword ptr [esi + 0x24], ebx */ 477 MEM32(esi + 0x28) = ebx; /* 0x2B018960: mov dword ptr [esi + 0x28], ebx */ 478 eax = MEM32(esi + 0x10); /* 0x2B018963: mov eax, dword ptr [esi + 0x10] */ 479 /* cmp eax, ebx */ /* 0x2B018966: cmp eax, ebx */ 480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 482 _flag_k = FK_CMP; 483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018986; /* 0x2B018968: je 0x2b018986 */ 484 L_2B01896A: 485 ecx = eax + (-0x1); /* 0x2B01896A: lea ecx, [eax - 1] */ 486 SET_LO8(eax, MEM8(ecx)); /* 0x2B01896D: mov al, byte ptr [ecx] */ 487 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01896F: cmp al, bl */ 488 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 490 _flag_k = FK_NARROW(FK_CMP, 24); 491 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018971: je 0x2b01897d */ 492 L_2B018973: 493 /* cmp LO8(eax), 0xFFu */ /* 0x2B018973: cmp al, 0xff */ 494 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 496 _flag_k = FK_NARROW(FK_CMP, 24); 497 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018975: je 0x2b01897d */ 498 L_2B018977: 499 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 500 SET_LO8(eax, LO8(eax) - 1); /* 0x2B018977: dec al */ 501 _flag_k = FK_NARROW(FK_DEC, 24); 502 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B018979: mov byte ptr [ecx], al */ 503 goto L_2B018986; /* 0x2B01897B: jmp 0x2b018986 */ 504 L_2B01897D: 505 PUSH32(esp, ecx); /* 0x2B01897D: push ecx */ 506 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01897E: call 0x2b0ab1ba */ /* not lifted */ 507 RECOMP_FLAGS_IN(); 508 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 509 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 510 esp = esp + 4; /* 0x2B018983: add esp, 4 */ 511 _flag_k = FK_ADD; 512 L_2B018986: 513 PUSH32(esp, esi); /* 0x2B018986: push esi */ 514 MEM32(esi + 0x10) = ebx; /* 0x2B018987: mov dword ptr [esi + 0x10], ebx */ 515 MEM32(esi + 0x14) = ebx; /* 0x2B01898A: mov dword ptr [esi + 0x14], ebx */ 516 MEM32(esi + 0x18) = ebx; /* 0x2B01898D: mov dword ptr [esi + 0x18], ebx */ 517 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018990: call 0x2b0ab1ba */ /* not lifted */ 518 RECOMP_FLAGS_IN(); 519 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 520 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 521 esp = esp + 4; /* 0x2B018995: add esp, 4 */ 522 _flag_k = FK_ADD; 523 eax = MEM32(edi + 0x8); /* 0x2B018998: mov eax, dword ptr [edi + 8] */ 524 /* cmp eax, ebx */ /* 0x2B01899B: cmp eax, ebx */ 525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 527 _flag_k = FK_CMP; 528 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189C6; /* 0x2B01899D: je 0x2b0189c6 */ 529 L_2B01899F: 530 ecx = eax + (-0x1); /* 0x2B01899F: lea ecx, [eax - 1] */ 531 SET_LO8(eax, MEM8(ecx)); /* 0x2B0189A2: mov al, byte ptr [ecx] */ 532 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B0189A4: cmp al, bl */ 533 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 535 _flag_k = FK_NARROW(FK_CMP, 24); 536 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189A6: je 0x2b0189bd */ 537 L_2B0189A8: 538 /* cmp LO8(eax), 0xFFu */ /* 0x2B0189A8: cmp al, 0xff */ 539 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 541 _flag_k = FK_NARROW(FK_CMP, 24); 542 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189AA: je 0x2b0189bd */ 543 L_2B0189AC: 544 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 545 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0189AC: dec al */ 546 _flag_k = FK_NARROW(FK_DEC, 24); 547 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0189AE: mov byte ptr [ecx], al */ 548 MEM32(edi + 0x8) = ebx; /* 0x2B0189B0: mov dword ptr [edi + 8], ebx */ 549 MEM32(edi + 0xC) = ebx; /* 0x2B0189B3: mov dword ptr [edi + 0xc], ebx */ 550 MEM32(edi + 0x10) = ebx; /* 0x2B0189B6: mov dword ptr [edi + 0x10], ebx */ 551 edi = POP32_VAL(esp); /* 0x2B0189B9: pop edi */ 552 esi = POP32_VAL(esp); /* 0x2B0189BA: pop esi */ 553 ebx = POP32_VAL(esp); /* 0x2B0189BB: pop ebx */ 554 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189BC: ret */ 555 L_2B0189BD: 556 PUSH32(esp, ecx); /* 0x2B0189BD: push ecx */ 557 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0189BE: call 0x2b0ab1ba */ /* not lifted */ 558 RECOMP_FLAGS_IN(); 559 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 560 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 561 esp = esp + 4; /* 0x2B0189C3: add esp, 4 */ 562 _flag_k = FK_ADD; 563 L_2B0189C6: 564 MEM32(edi + 0x8) = ebx; /* 0x2B0189C6: mov dword ptr [edi + 8], ebx */ 565 MEM32(edi + 0xC) = ebx; /* 0x2B0189C9: mov dword ptr [edi + 0xc], ebx */ 566 MEM32(edi + 0x10) = ebx; /* 0x2B0189CC: mov dword ptr [edi + 0x10], ebx */ 567 edi = POP32_VAL(esp); /* 0x2B0189CF: pop edi */ 568 esi = POP32_VAL(esp); /* 0x2B0189D0: pop esi */ 569 ebx = POP32_VAL(esp); /* 0x2B0189D1: pop ebx */ 570 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189D2: ret */ 571 RECOMP_REGS_OUT(); 572 } 573 574 void sub_2B018986(void) { 575 int _fpu_cmp = 0; 576 uint32_t _cf = 0; 577 int _df = 1; 578 uint32_t _flag_k = FK_NONE; 579 uint32_t _flag_a = 0, _flag_b = 0; 580 uint32_t _itail_tgt = 0; 581 RECOMP_REGS_LOCALS 582 RECOMP_ENTER(0x2B018986u); 583 584 L_2B018986: 585 PUSH32(esp, esi); /* 0x2B018986: push esi */ 586 MEM32(esi + 0x10) = ebx; /* 0x2B018987: mov dword ptr [esi + 0x10], ebx */ 587 MEM32(esi + 0x14) = ebx; /* 0x2B01898A: mov dword ptr [esi + 0x14], ebx */ 588 MEM32(esi + 0x18) = ebx; /* 0x2B01898D: mov dword ptr [esi + 0x18], ebx */ 589 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018990: call 0x2b0ab1ba */ /* not lifted */ 590 RECOMP_FLAGS_IN(); 591 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 592 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 593 esp = esp + 4; /* 0x2B018995: add esp, 4 */ 594 _flag_k = FK_ADD; 595 eax = MEM32(edi + 0x8); /* 0x2B018998: mov eax, dword ptr [edi + 8] */ 596 /* cmp eax, ebx */ /* 0x2B01899B: cmp eax, ebx */ 597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 599 _flag_k = FK_CMP; 600 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189C6; /* 0x2B01899D: je 0x2b0189c6 */ 601 L_2B01899F: 602 ecx = eax + (-0x1); /* 0x2B01899F: lea ecx, [eax - 1] */ 603 SET_LO8(eax, MEM8(ecx)); /* 0x2B0189A2: mov al, byte ptr [ecx] */ 604 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B0189A4: cmp al, bl */ 605 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 607 _flag_k = FK_NARROW(FK_CMP, 24); 608 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189A6: je 0x2b0189bd */ 609 L_2B0189A8: 610 /* cmp LO8(eax), 0xFFu */ /* 0x2B0189A8: cmp al, 0xff */ 611 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 613 _flag_k = FK_NARROW(FK_CMP, 24); 614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189AA: je 0x2b0189bd */ 615 L_2B0189AC: 616 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 617 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0189AC: dec al */ 618 _flag_k = FK_NARROW(FK_DEC, 24); 619 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0189AE: mov byte ptr [ecx], al */ 620 MEM32(edi + 0x8) = ebx; /* 0x2B0189B0: mov dword ptr [edi + 8], ebx */ 621 MEM32(edi + 0xC) = ebx; /* 0x2B0189B3: mov dword ptr [edi + 0xc], ebx */ 622 MEM32(edi + 0x10) = ebx; /* 0x2B0189B6: mov dword ptr [edi + 0x10], ebx */ 623 edi = POP32_VAL(esp); /* 0x2B0189B9: pop edi */ 624 esi = POP32_VAL(esp); /* 0x2B0189BA: pop esi */ 625 ebx = POP32_VAL(esp); /* 0x2B0189BB: pop ebx */ 626 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189BC: ret */ 627 L_2B0189BD: 628 PUSH32(esp, ecx); /* 0x2B0189BD: push ecx */ 629 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0189BE: call 0x2b0ab1ba */ /* not lifted */ 630 RECOMP_FLAGS_IN(); 631 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 632 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 633 esp = esp + 4; /* 0x2B0189C3: add esp, 4 */ 634 _flag_k = FK_ADD; 635 L_2B0189C6: 636 MEM32(edi + 0x8) = ebx; /* 0x2B0189C6: mov dword ptr [edi + 8], ebx */ 637 MEM32(edi + 0xC) = ebx; /* 0x2B0189C9: mov dword ptr [edi + 0xc], ebx */ 638 MEM32(edi + 0x10) = ebx; /* 0x2B0189CC: mov dword ptr [edi + 0x10], ebx */ 639 edi = POP32_VAL(esp); /* 0x2B0189CF: pop edi */ 640 esi = POP32_VAL(esp); /* 0x2B0189D0: pop esi */ 641 ebx = POP32_VAL(esp); /* 0x2B0189D1: pop ebx */ 642 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189D2: ret */ 643 RECOMP_REGS_OUT(); 644 } 645 646 void sub_2B0189E0(void) { 647 int _fpu_cmp = 0; 648 uint32_t _cf = 0; 649 int _df = 1; 650 uint32_t _flag_k = FK_NONE; 651 uint32_t _flag_a = 0, _flag_b = 0; 652 uint32_t _itail_tgt = 0; 653 RECOMP_REGS_LOCALS 654 RECOMP_ENTER(0x2B0189E0u); 655 656 L_2B0189E0: 657 PUSH32(esp, ebp); /* 0x2B0189E0: push ebp */ 658 ebp = esp; /* 0x2B0189E1: mov ebp, esp */ 659 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 661 esp = esp - 8; /* 0x2B0189E3: sub esp, 8 */ 662 _flag_k = FK_CMP; 663 eax = MEM32(ebp + 0x8); /* 0x2B0189E6: mov eax, dword ptr [ebp + 8] */ 664 PUSH32(esp, ebx); /* 0x2B0189E9: push ebx */ 665 PUSH32(esp, esi); /* 0x2B0189EA: push esi */ 666 esi = ecx; /* 0x2B0189EB: mov esi, ecx */ 667 /* cmp esi, eax */ /* 0x2B0189ED: cmp esi, eax */ 668 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 670 _flag_k = FK_CMP; 671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018B50; /* 0x2B0189EF: je 0x2b018b50 */ 672 L_2B0189F5: 673 ecx = MEM32(esi + 0x10); /* 0x2B0189F5: mov ecx, dword ptr [esi + 0x10] */ 674 /* test ecx, ecx */ /* 0x2B0189F8: test ecx, ecx */ 675 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 676 _cf = 0; 677 _flag_k = FK_TEST; 678 PUSH32(esp, edi); /* 0x2B0189FA: push edi */ 679 edi = MEM32(esi + 0x4); /* 0x2B0189FB: mov edi, dword ptr [esi + 4] */ 680 eax = MEM32(edi); /* 0x2B0189FE: mov eax, dword ptr [edi] */ 681 MEM32(ebp + (-0x4)) = eax; /* 0x2B018A00: mov dword ptr [ebp - 4], eax */ 682 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018A55; /* 0x2B018A03: je 0x2b018a55 */ 683 L_2B018A05: 684 ecx = eax; /* 0x2B018A05: mov ecx, eax */ 685 /* cmp eax, ecx */ /* 0x2B018A07: cmp eax, ecx */ 686 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 688 _flag_k = FK_CMP; 689 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018A55; /* 0x2B018A09: jne 0x2b018a55 */ 690 L_2B018A0B: 691 /* cmp edi, edi */ /* 0x2B018A0B: cmp edi, edi */ 692 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 694 _flag_k = FK_CMP; 695 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018A55; /* 0x2B018A0D: jne 0x2b018a55 */ 696 L_2B018A0F: 697 ebx = MEM32(edi + 0x4); /* 0x2B018A0F: mov ebx, dword ptr [edi + 4] */ 698 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B018A12: cmp ebx, dword ptr [esi + 8] */ 699 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 701 _flag_k = FK_CMP; 702 edi = ebx; /* 0x2B018A15: mov edi, ebx */ 703 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018A38; /* 0x2B018A17: je 0x2b018a38 */ 704 L_2B018A19: 705 eax = MEM32(edi + 0x8); /* 0x2B018A19: mov eax, dword ptr [edi + 8] */ 706 PUSH32(esp, eax); /* 0x2B018A1C: push eax */ 707 ecx = esi; /* 0x2B018A1D: mov ecx, esi */ 708 RECOMP_ICALL(0x2B0190A0u); /* 0x2B018A1F: call 0x2b0190a0 */ /* not lifted */ 709 RECOMP_FLAGS_IN(); 710 edi = MEM32(edi); /* 0x2B018A24: mov edi, dword ptr [edi] */ 711 PUSH32(esp, ebx); /* 0x2B018A26: push ebx */ 712 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018A27: call 0x2b0ab1ba */ /* not lifted */ 713 RECOMP_FLAGS_IN(); 714 eax = MEM32(esi + 0x8); /* 0x2B018A2C: mov eax, dword ptr [esi + 8] */ 715 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 716 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 717 esp = esp + 4; /* 0x2B018A2F: add esp, 4 */ 718 _flag_k = FK_ADD; 719 /* cmp edi, eax */ /* 0x2B018A32: cmp edi, eax */ 720 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 722 _flag_k = FK_CMP; 723 ebx = edi; /* 0x2B018A34: mov ebx, edi */ 724 RECOMP_BACKEDGE(); 725 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018A19; /* 0x2B018A36: jne 0x2b018a19 */ 726 L_2B018A38: 727 ecx = MEM32(esi + 0x4); /* 0x2B018A38: mov ecx, dword ptr [esi + 4] */ 728 edx = MEM32(esi + 0x8); /* 0x2B018A3B: mov edx, dword ptr [esi + 8] */ 729 MEM32(ecx + 0x4) = edx; /* 0x2B018A3E: mov dword ptr [ecx + 4], edx */ 730 eax = MEM32(esi + 0x4); /* 0x2B018A41: mov eax, dword ptr [esi + 4] */ 731 MEM32(esi + 0x10) = 0; /* 0x2B018A44: mov dword ptr [esi + 0x10], 0 */ 732 MEM32(eax) = eax; /* 0x2B018A4B: mov dword ptr [eax], eax */ 733 eax = MEM32(esi + 0x4); /* 0x2B018A4D: mov eax, dword ptr [esi + 4] */ 734 MEM32(eax + 0x8) = eax; /* 0x2B018A50: mov dword ptr [eax + 8], eax */ 735 goto L_2B018A76; /* 0x2B018A53: jmp 0x2b018a76 */ 736 L_2B018A55: 737 /* cmp eax, edi */ /* 0x2B018A55: cmp eax, edi */ 738 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 740 _flag_k = FK_CMP; 741 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018A76; /* 0x2B018A57: je 0x2b018a76 */ 742 L_2B018A59: 743 ecx = ebp + (-0x4); /* 0x2B018A59: lea ecx, [ebp - 4] */ 744 ebx = eax; /* 0x2B018A5C: mov ebx, eax */ 745 RECOMP_ICALL(0x2B06A300u); /* 0x2B018A5E: call 0x2b06a300 */ /* not lifted */ 746 RECOMP_FLAGS_IN(); 747 PUSH32(esp, ebx); /* 0x2B018A63: push ebx */ 748 eax = ebp + (-0x8); /* 0x2B018A64: lea eax, [ebp - 8] */ 749 PUSH32(esp, eax); /* 0x2B018A67: push eax */ 750 ecx = esi; /* 0x2B018A68: mov ecx, esi */ 751 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B018A6A: call 0x2b06d4f0 */ /* not lifted */ 752 RECOMP_FLAGS_IN(); 753 eax = MEM32(ebp + (-0x4)); /* 0x2B018A6F: mov eax, dword ptr [ebp - 4] */ 754 /* cmp eax, edi */ /* 0x2B018A72: cmp eax, edi */ 755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 757 _flag_k = FK_CMP; 758 RECOMP_BACKEDGE(); 759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018A59; /* 0x2B018A74: jne 0x2b018a59 */ 760 L_2B018A76: 761 ecx = MEM32(ebp + 0x8); /* 0x2B018A76: mov ecx, dword ptr [ebp + 8] */ 762 SET_LO8(edx, MEM8(ecx + 0x1)); /* 0x2B018A79: mov dl, byte ptr [ecx + 1] */ 763 eax = MEM32(esi + 0x4); /* 0x2B018A7C: mov eax, dword ptr [esi + 4] */ 764 MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x2B018A7F: mov byte ptr [esi + 1], dl */ 765 ecx = MEM32(ecx + 0x4); /* 0x2B018A82: mov ecx, dword ptr [ecx + 4] */ 766 ebx = MEM32(ecx + 0x4); /* 0x2B018A85: mov ebx, dword ptr [ecx + 4] */ 767 SET_LO8(ecx, MEM8(ebx + 0x15)); /* 0x2B018A88: mov cl, byte ptr [ebx + 0x15] */ 768 /* test LO8(ecx), LO8(ecx) */ /* 0x2B018A8B: test cl, cl */ 769 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 770 _cf = 0; 771 _flag_k = FK_NARROW(FK_TEST, 24); 772 edx = MEM32(esi + 0x8); /* 0x2B018A8D: mov edx, dword ptr [esi + 8] */ 773 MEM32(ebp + (-0x4)) = edx; /* 0x2B018A90: mov dword ptr [ebp - 4], edx */ 774 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B018AE9; /* 0x2B018A93: jne 0x2b018ae9 */ 775 L_2B018A95: 776 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 777 ecx = 0; /* 0x2B018A95: xor ecx, ecx */ 778 _cf = 0; 779 _flag_k = FK_TEST; 780 SET_LO8(ecx, MEM8(ebx + 0x14)); /* 0x2B018A97: mov cl, byte ptr [ebx + 0x14] */ 781 PUSH32(esp, ecx); /* 0x2B018A9A: push ecx */ 782 PUSH32(esp, eax); /* 0x2B018A9B: push eax */ 783 ecx = esi; /* 0x2B018A9C: mov ecx, esi */ 784 RECOMP_ICALL(0x2B078C00u); /* 0x2B018A9E: call 0x2b078c00 */ /* not lifted */ 785 RECOMP_FLAGS_IN(); 786 edi = eax; /* 0x2B018AA3: mov edi, eax */ 787 edx = ebx + 0xC; /* 0x2B018AA5: lea edx, [ebx + 0xc] */ 788 PUSH32(esp, edx); /* 0x2B018AA8: push edx */ 789 eax = edi + 0xC; /* 0x2B018AA9: lea eax, [edi + 0xc] */ 790 PUSH32(esp, eax); /* 0x2B018AAC: push eax */ 791 RECOMP_ICALL(0x2B019D80u); /* 0x2B018AAD: call 0x2b019d80 */ /* not lifted */ 792 RECOMP_FLAGS_IN(); 793 ecx = MEM32(esi + 0x8); /* 0x2B018AB2: mov ecx, dword ptr [esi + 8] */ 794 eax = MEM32(ebp + (-0x4)); /* 0x2B018AB5: mov eax, dword ptr [ebp - 4] */ 795 MEM32(edi) = ecx; /* 0x2B018AB8: mov dword ptr [edi], ecx */ 796 edx = MEM32(esi + 0x8); /* 0x2B018ABA: mov edx, dword ptr [esi + 8] */ 797 MEM32(edi + 0x8) = edx; /* 0x2B018ABD: mov dword ptr [edi + 8], edx */ 798 ecx = MEM32(esi + 0x8); /* 0x2B018AC0: mov ecx, dword ptr [esi + 8] */ 799 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 800 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 801 esp = esp + 8; /* 0x2B018AC3: add esp, 8 */ 802 _flag_k = FK_ADD; 803 /* cmp eax, ecx */ /* 0x2B018AC6: cmp eax, ecx */ 804 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 806 _flag_k = FK_CMP; 807 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018ACD; /* 0x2B018AC8: jne 0x2b018acd */ 808 L_2B018ACA: 809 MEM32(ebp + (-0x4)) = edi; /* 0x2B018ACA: mov dword ptr [ebp - 4], edi */ 810 L_2B018ACD: 811 ecx = MEM32(ebx); /* 0x2B018ACD: mov ecx, dword ptr [ebx] */ 812 PUSH32(esp, edi); /* 0x2B018ACF: push edi */ 813 PUSH32(esp, ecx); /* 0x2B018AD0: push ecx */ 814 ecx = esi; /* 0x2B018AD1: mov ecx, esi */ 815 RECOMP_ICALL(0x2B0195E0u); /* 0x2B018AD3: call 0x2b0195e0 */ /* not lifted */ 816 RECOMP_FLAGS_IN(); 817 MEM32(edi) = eax; /* 0x2B018AD8: mov dword ptr [edi], eax */ 818 edx = MEM32(ebx + 0x8); /* 0x2B018ADA: mov edx, dword ptr [ebx + 8] */ 819 PUSH32(esp, edi); /* 0x2B018ADD: push edi */ 820 PUSH32(esp, edx); /* 0x2B018ADE: push edx */ 821 ecx = esi; /* 0x2B018ADF: mov ecx, esi */ 822 RECOMP_ICALL(0x2B0195E0u); /* 0x2B018AE1: call 0x2b0195e0 */ /* not lifted */ 823 RECOMP_FLAGS_IN(); 824 MEM32(edi + 0x8) = eax; /* 0x2B018AE6: mov dword ptr [edi + 8], eax */ 825 L_2B018AE9: 826 eax = MEM32(esi + 0x4); /* 0x2B018AE9: mov eax, dword ptr [esi + 4] */ 827 ecx = MEM32(ebp + (-0x4)); /* 0x2B018AEC: mov ecx, dword ptr [ebp - 4] */ 828 edx = MEM32(ebp + 0x8); /* 0x2B018AEF: mov edx, dword ptr [ebp + 8] */ 829 MEM32(eax + 0x4) = ecx; /* 0x2B018AF2: mov dword ptr [eax + 4], ecx */ 830 eax = MEM32(edx + 0x10); /* 0x2B018AF5: mov eax, dword ptr [edx + 0x10] */ 831 edx = MEM32(esi + 0x4); /* 0x2B018AF8: mov edx, dword ptr [esi + 4] */ 832 ecx = MEM32(esi + 0x8); /* 0x2B018AFB: mov ecx, dword ptr [esi + 8] */ 833 MEM32(esi + 0x10) = eax; /* 0x2B018AFE: mov dword ptr [esi + 0x10], eax */ 834 eax = MEM32(edx + 0x4); /* 0x2B018B01: mov eax, dword ptr [edx + 4] */ 835 /* cmp eax, ecx */ /* 0x2B018B04: cmp eax, ecx */ 836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 838 _flag_k = FK_CMP; 839 edi = POP32_VAL(esp); /* 0x2B018B06: pop edi */ 840 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018B48; /* 0x2B018B07: je 0x2b018b48 */ 841 L_2B018B09: 842 ecx = MEM32(eax); /* 0x2B018B09: mov ecx, dword ptr [eax] */ 843 SET_LO8(ebx, MEM8(ecx + 0x15)); /* 0x2B018B0B: mov bl, byte ptr [ecx + 0x15] */ 844 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018B0E: test bl, bl */ 845 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 846 _cf = 0; 847 _flag_k = FK_NARROW(FK_TEST, 24); 848 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B018B1D; /* 0x2B018B10: jne 0x2b018b1d */ 849 L_2B018B12: 850 eax = ecx; /* 0x2B018B12: mov eax, ecx */ 851 ecx = MEM32(eax); /* 0x2B018B14: mov ecx, dword ptr [eax] */ 852 SET_LO8(ebx, MEM8(ecx + 0x15)); /* 0x2B018B16: mov bl, byte ptr [ecx + 0x15] */ 853 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018B19: test bl, bl */ 854 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 855 _cf = 0; 856 _flag_k = FK_NARROW(FK_TEST, 24); 857 RECOMP_BACKEDGE(); 858 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018B12; /* 0x2B018B1B: je 0x2b018b12 */ 859 L_2B018B1D: 860 MEM32(edx) = eax; /* 0x2B018B1D: mov dword ptr [edx], eax */ 861 edx = MEM32(esi + 0x4); /* 0x2B018B1F: mov edx, dword ptr [esi + 4] */ 862 ecx = MEM32(edx + 0x4); /* 0x2B018B22: mov ecx, dword ptr [edx + 4] */ 863 eax = MEM32(ecx + 0x8); /* 0x2B018B25: mov eax, dword ptr [ecx + 8] */ 864 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B018B28: mov bl, byte ptr [eax + 0x15] */ 865 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018B2B: test bl, bl */ 866 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 867 _cf = 0; 868 _flag_k = FK_NARROW(FK_TEST, 24); 869 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B018B3B; /* 0x2B018B2D: jne 0x2b018b3b */ 870 L_2B018B2F: 871 ecx = eax; /* 0x2B018B2F: mov ecx, eax */ 872 eax = MEM32(ecx + 0x8); /* 0x2B018B31: mov eax, dword ptr [ecx + 8] */ 873 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B018B34: mov bl, byte ptr [eax + 0x15] */ 874 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018B37: test bl, bl */ 875 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 876 _cf = 0; 877 _flag_k = FK_NARROW(FK_TEST, 24); 878 RECOMP_BACKEDGE(); 879 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018B2F; /* 0x2B018B39: je 0x2b018b2f */ 880 L_2B018B3B: 881 eax = esi; /* 0x2B018B3B: mov eax, esi */ 882 esi = POP32_VAL(esp); /* 0x2B018B3D: pop esi */ 883 MEM32(edx + 0x8) = ecx; /* 0x2B018B3E: mov dword ptr [edx + 8], ecx */ 884 ebx = POP32_VAL(esp); /* 0x2B018B41: pop ebx */ 885 esp = ebp; /* 0x2B018B42: mov esp, ebp */ 886 ebp = POP32_VAL(esp); /* 0x2B018B44: pop ebp */ 887 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B018B45: ret 4 */ 888 L_2B018B48: 889 MEM32(edx) = edx; /* 0x2B018B48: mov dword ptr [edx], edx */ 890 eax = MEM32(esi + 0x4); /* 0x2B018B4A: mov eax, dword ptr [esi + 4] */ 891 MEM32(eax + 0x8) = eax; /* 0x2B018B4D: mov dword ptr [eax + 8], eax */ 892 L_2B018B50: 893 eax = esi; /* 0x2B018B50: mov eax, esi */ 894 esi = POP32_VAL(esp); /* 0x2B018B52: pop esi */ 895 ebx = POP32_VAL(esp); /* 0x2B018B53: pop ebx */ 896 esp = ebp; /* 0x2B018B54: mov esp, ebp */ 897 ebp = POP32_VAL(esp); /* 0x2B018B56: pop ebp */ 898 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B018B57: ret 4 */ 899 RECOMP_REGS_OUT(); 900 } 901 902 void sub_2B018B60(void) { 903 int _fpu_cmp = 0; 904 uint32_t _cf = 0; 905 int _df = 1; 906 uint32_t _flag_k = FK_NONE; 907 uint32_t _flag_a = 0, _flag_b = 0; 908 uint32_t _itail_tgt = 0; 909 RECOMP_REGS_LOCALS 910 RECOMP_ENTER(0x2B018B60u); 911 912 L_2B018B60: 913 PUSH32(esp, ebp); /* 0x2B018B60: push ebp */ 914 ebp = esp; /* 0x2B018B61: mov ebp, esp */ 915 eax = MEM32(ecx + 0x4); /* 0x2B018B63: mov eax, dword ptr [ecx + 4] */ 916 ecx = MEM32(eax); /* 0x2B018B66: mov ecx, dword ptr [eax] */ 917 eax = MEM32(ebp + 0x8); /* 0x2B018B68: mov eax, dword ptr [ebp + 8] */ 918 MEM32(eax) = ecx; /* 0x2B018B6B: mov dword ptr [eax], ecx */ 919 ebp = POP32_VAL(esp); /* 0x2B018B6D: pop ebp */ 920 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B018B6E: ret 4 */ 921 RECOMP_REGS_OUT(); 922 } 923 924 void sub_2B018B80(void) { 925 int _fpu_cmp = 0; 926 uint32_t _cf = 0; 927 int _df = 1; 928 uint32_t _flag_k = FK_NONE; 929 uint32_t _flag_a = 0, _flag_b = 0; 930 uint32_t _itail_tgt = 0; 931 RECOMP_REGS_LOCALS 932 RECOMP_ENTER(0x2B018B80u); 933 934 L_2B018B80: 935 PUSH32(esp, ebp); /* 0x2B018B80: push ebp */ 936 ebp = esp; /* 0x2B018B81: mov ebp, esp */ 937 PUSH32(esp, ebx); /* 0x2B018B83: push ebx */ 938 ebx = MEM32(ebp + 0x10); /* 0x2B018B84: mov ebx, dword ptr [ebp + 0x10] */ 939 PUSH32(esp, esi); /* 0x2B018B87: push esi */ 940 esi = ecx; /* 0x2B018B88: mov esi, ecx */ 941 eax = MEM32(esi + 0x10); /* 0x2B018B8A: mov eax, dword ptr [esi + 0x10] */ 942 /* test eax, eax */ /* 0x2B018B8D: test eax, eax */ 943 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 944 _cf = 0; 945 _flag_k = FK_TEST; 946 ecx = MEM32(ebp + 0xC); /* 0x2B018B8F: mov ecx, dword ptr [ebp + 0xc] */ 947 PUSH32(esp, edi); /* 0x2B018B92: push edi */ 948 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018BF5; /* 0x2B018B93: je 0x2b018bf5 */ 949 L_2B018B95: 950 eax = MEM32(esi + 0x4); /* 0x2B018B95: mov eax, dword ptr [esi + 4] */ 951 /* cmp ecx, MEM32(eax) */ /* 0x2B018B98: cmp ecx, dword ptr [eax] */ 952 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 954 _flag_k = FK_CMP; 955 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018BF5; /* 0x2B018B9A: jne 0x2b018bf5 */ 956 L_2B018B9C: 957 /* cmp ebx, eax */ /* 0x2B018B9C: cmp ebx, eax */ 958 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 960 _flag_k = FK_CMP; 961 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018BF5; /* 0x2B018B9E: jne 0x2b018bf5 */ 962 L_2B018BA0: 963 ebx = MEM32(eax + 0x4); /* 0x2B018BA0: mov ebx, dword ptr [eax + 4] */ 964 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B018BA3: cmp ebx, dword ptr [esi + 8] */ 965 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 967 _flag_k = FK_CMP; 968 edi = ebx; /* 0x2B018BA6: mov edi, ebx */ 969 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018BC9; /* 0x2B018BA8: je 0x2b018bc9 */ 970 L_2B018BAA: 971 eax = MEM32(edi + 0x8); /* 0x2B018BAA: mov eax, dword ptr [edi + 8] */ 972 PUSH32(esp, eax); /* 0x2B018BAD: push eax */ 973 ecx = esi; /* 0x2B018BAE: mov ecx, esi */ 974 RECOMP_ICALL(0x2B0190A0u); /* 0x2B018BB0: call 0x2b0190a0 */ /* not lifted */ 975 RECOMP_FLAGS_IN(); 976 edi = MEM32(edi); /* 0x2B018BB5: mov edi, dword ptr [edi] */ 977 PUSH32(esp, ebx); /* 0x2B018BB7: push ebx */ 978 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018BB8: call 0x2b0ab1ba */ /* not lifted */ 979 RECOMP_FLAGS_IN(); 980 eax = MEM32(esi + 0x8); /* 0x2B018BBD: mov eax, dword ptr [esi + 8] */ 981 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 982 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 983 esp = esp + 4; /* 0x2B018BC0: add esp, 4 */ 984 _flag_k = FK_ADD; 985 /* cmp edi, eax */ /* 0x2B018BC3: cmp edi, eax */ 986 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 988 _flag_k = FK_CMP; 989 ebx = edi; /* 0x2B018BC5: mov ebx, edi */ 990 RECOMP_BACKEDGE(); 991 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018BAA; /* 0x2B018BC7: jne 0x2b018baa */ 992 L_2B018BC9: 993 ecx = MEM32(esi + 0x4); /* 0x2B018BC9: mov ecx, dword ptr [esi + 4] */ 994 edx = MEM32(esi + 0x8); /* 0x2B018BCC: mov edx, dword ptr [esi + 8] */ 995 MEM32(ecx + 0x4) = edx; /* 0x2B018BCF: mov dword ptr [ecx + 4], edx */ 996 eax = MEM32(esi + 0x4); /* 0x2B018BD2: mov eax, dword ptr [esi + 4] */ 997 MEM32(esi + 0x10) = 0; /* 0x2B018BD5: mov dword ptr [esi + 0x10], 0 */ 998 MEM32(eax) = eax; /* 0x2B018BDC: mov dword ptr [eax], eax */ 999 eax = MEM32(esi + 0x4); /* 0x2B018BDE: mov eax, dword ptr [esi + 4] */ 1000 MEM32(eax + 0x8) = eax; /* 0x2B018BE1: mov dword ptr [eax + 8], eax */ 1001 eax = MEM32(esi + 0x4); /* 0x2B018BE4: mov eax, dword ptr [esi + 4] */ 1002 ecx = MEM32(eax); /* 0x2B018BE7: mov ecx, dword ptr [eax] */ 1003 eax = MEM32(ebp + 0x8); /* 0x2B018BE9: mov eax, dword ptr [ebp + 8] */ 1004 edi = POP32_VAL(esp); /* 0x2B018BEC: pop edi */ 1005 esi = POP32_VAL(esp); /* 0x2B018BED: pop esi */ 1006 MEM32(eax) = ecx; /* 0x2B018BEE: mov dword ptr [eax], ecx */ 1007 ebx = POP32_VAL(esp); /* 0x2B018BF0: pop ebx */ 1008 ebp = POP32_VAL(esp); /* 0x2B018BF1: pop ebp */ 1009 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B018BF2: ret 0xc */ 1010 L_2B018BF5: 1011 /* cmp ecx, ebx */ /* 0x2B018BF5: cmp ecx, ebx */ 1012 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1014 _flag_k = FK_CMP; 1015 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018C16; /* 0x2B018BF7: je 0x2b018c16 */ 1016 L_2B018BF9: 1017 edi = ecx; /* 0x2B018BF9: mov edi, ecx */ 1018 ecx = ebp + 0xC; /* 0x2B018BFB: lea ecx, [ebp + 0xc] */ 1019 RECOMP_ICALL(0x2B06A300u); /* 0x2B018BFE: call 0x2b06a300 */ /* not lifted */ 1020 RECOMP_FLAGS_IN(); 1021 PUSH32(esp, edi); /* 0x2B018C03: push edi */ 1022 ecx = ebp + 0x10; /* 0x2B018C04: lea ecx, [ebp + 0x10] */ 1023 PUSH32(esp, ecx); /* 0x2B018C07: push ecx */ 1024 ecx = esi; /* 0x2B018C08: mov ecx, esi */ 1025 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B018C0A: call 0x2b06d4f0 */ /* not lifted */ 1026 RECOMP_FLAGS_IN(); 1027 ecx = MEM32(ebp + 0xC); /* 0x2B018C0F: mov ecx, dword ptr [ebp + 0xc] */ 1028 /* cmp ecx, ebx */ /* 0x2B018C12: cmp ecx, ebx */ 1029 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1031 _flag_k = FK_CMP; 1032 RECOMP_BACKEDGE(); 1033 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018BF9; /* 0x2B018C14: jne 0x2b018bf9 */ 1034 L_2B018C16: 1035 eax = MEM32(ebp + 0x8); /* 0x2B018C16: mov eax, dword ptr [ebp + 8] */ 1036 edi = POP32_VAL(esp); /* 0x2B018C19: pop edi */ 1037 esi = POP32_VAL(esp); /* 0x2B018C1A: pop esi */ 1038 MEM32(eax) = ecx; /* 0x2B018C1B: mov dword ptr [eax], ecx */ 1039 ebx = POP32_VAL(esp); /* 0x2B018C1D: pop ebx */ 1040 ebp = POP32_VAL(esp); /* 0x2B018C1E: pop ebp */ 1041 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B018C1F: ret 0xc */ 1042 RECOMP_REGS_OUT(); 1043 } 1044 1045 void sub_2B018C30(void) { 1046 int _fpu_cmp = 0; 1047 uint32_t _cf = 0; 1048 int _df = 1; 1049 uint32_t _flag_k = FK_NONE; 1050 uint32_t _flag_a = 0, _flag_b = 0; 1051 uint32_t _itail_tgt = 0; 1052 RECOMP_REGS_LOCALS 1053 RECOMP_ENTER(0x2B018C30u); 1054 1055 L_2B018C30: 1056 PUSH32(esp, ebp); /* 0x2B018C30: push ebp */ 1057 ebp = esp; /* 0x2B018C31: mov ebp, esp */ 1058 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1060 esp = esp - 0x10u; /* 0x2B018C33: sub esp, 0x10 */ 1061 _flag_k = FK_CMP; 1062 PUSH32(esp, ebx); /* 0x2B018C36: push ebx */ 1063 ebx = ecx; /* 0x2B018C37: mov ebx, ecx */ 1064 edx = MEM32(ebx + 0x4); /* 0x2B018C39: mov edx, dword ptr [ebx + 4] */ 1065 ecx = MEM32(ebx + 0x8); /* 0x2B018C3C: mov ecx, dword ptr [ebx + 8] */ 1066 PUSH32(esp, esi); /* 0x2B018C3F: push esi */ 1067 esi = MEM32(edx + 0x4); /* 0x2B018C40: mov esi, dword ptr [edx + 4] */ 1068 /* cmp esi, ecx */ /* 0x2B018C43: cmp esi, ecx */ 1069 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 1070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1071 _flag_k = FK_CMP; 1072 PUSH32(esp, edi); /* 0x2B018C45: push edi */ 1073 edi = edx; /* 0x2B018C46: mov edi, edx */ 1074 SET_LO8(eax, 1); /* 0x2B018C48: mov al, 1 */ 1075 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018C6E; /* 0x2B018C4A: je 0x2b018c6e */ 1076 L_2B018C4C: 1077 eax = MEM32(ebp + 0xC); /* 0x2B018C4C: mov eax, dword ptr [ebp + 0xc] */ 1078 eax = MEM32(eax); /* 0x2B018C4F: mov eax, dword ptr [eax] */ 1079 MEM32(ebp + (-0x4)) = eax; /* 0x2B018C51: mov dword ptr [ebp - 4], eax */ 1080 L_2B018C54: 1081 eax = MEM32(ebp + (-0x4)); /* 0x2B018C54: mov eax, dword ptr [ebp - 4] */ 1082 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B018C57: cmp eax, dword ptr [esi + 0xc] */ 1083 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 1084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1085 _flag_k = FK_CMP; 1086 edi = esi; /* 0x2B018C5A: mov edi, esi */ 1087 SET_LO8(eax, (CMP_L(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B018C5C: setl al */ 1088 /* test LO8(eax), LO8(eax) */ /* 0x2B018C5F: test al, al */ 1089 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1090 _cf = 0; 1091 _flag_k = FK_NARROW(FK_TEST, 24); 1092 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018C67; /* 0x2B018C61: je 0x2b018c67 */ 1093 L_2B018C63: 1094 esi = MEM32(esi); /* 0x2B018C63: mov esi, dword ptr [esi] */ 1095 goto L_2B018C6A; /* 0x2B018C65: jmp 0x2b018c6a */ 1096 L_2B018C67: 1097 esi = MEM32(esi + 0x8); /* 0x2B018C67: mov esi, dword ptr [esi + 8] */ 1098 L_2B018C6A: 1099 /* cmp esi, ecx */ /* 0x2B018C6A: cmp esi, ecx */ 1100 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 1101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1102 _flag_k = FK_CMP; 1103 RECOMP_BACKEDGE(); 1104 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018C54; /* 0x2B018C6C: jne 0x2b018c54 */ 1105 L_2B018C6E: 1106 SET_LO8(ecx, MEM8(ebx + 0xC)); /* 0x2B018C6E: mov cl, byte ptr [ebx + 0xc] */ 1107 /* test LO8(ecx), LO8(ecx) */ /* 0x2B018C71: test cl, cl */ 1108 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1109 _cf = 0; 1110 _flag_k = FK_NARROW(FK_TEST, 24); 1111 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018C93; /* 0x2B018C73: je 0x2b018c93 */ 1112 L_2B018C75: 1113 ecx = MEM32(ebp + 0xC); /* 0x2B018C75: mov ecx, dword ptr [ebp + 0xc] */ 1114 PUSH32(esp, ecx); /* 0x2B018C78: push ecx */ 1115 PUSH32(esp, edi); /* 0x2B018C79: push edi */ 1116 PUSH32(esp, esi); /* 0x2B018C7A: push esi */ 1117 edx = ebp + (-0x8); /* 0x2B018C7B: lea edx, [ebp - 8] */ 1118 PUSH32(esp, edx); /* 0x2B018C7E: push edx */ 1119 ecx = ebx; /* 0x2B018C7F: mov ecx, ebx */ 1120 RECOMP_ICALL(0x2B019700u); /* 0x2B018C81: call 0x2b019700 */ /* not lifted */ 1121 RECOMP_FLAGS_IN(); 1122 eax = MEM32(eax); /* 0x2B018C86: mov eax, dword ptr [eax] */ 1123 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B018C88: mov byte ptr [ebp - 0xc], 1 */ 1124 ecx = eax; /* 0x2B018C8C: mov ecx, eax */ 1125 eax = MEM32(ebp + (-0xC)); /* 0x2B018C8E: mov eax, dword ptr [ebp - 0xc] */ 1126 goto L_2B018CF5; /* 0x2B018C91: jmp 0x2b018cf5 */ 1127 L_2B018C93: 1128 /* test LO8(eax), LO8(eax) */ /* 0x2B018C93: test al, al */ 1129 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1130 _cf = 0; 1131 _flag_k = FK_NARROW(FK_TEST, 24); 1132 ecx = edi; /* 0x2B018C95: mov ecx, edi */ 1133 MEM32(ebp + (-0x4)) = ecx; /* 0x2B018C97: mov dword ptr [ebp - 4], ecx */ 1134 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018CC9; /* 0x2B018C9A: je 0x2b018cc9 */ 1135 L_2B018C9C: 1136 /* cmp edi, MEM32(edx) */ /* 0x2B018C9C: cmp edi, dword ptr [edx] */ 1137 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(edx)); 1138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1139 _flag_k = FK_CMP; 1140 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018CBE; /* 0x2B018C9E: jne 0x2b018cbe */ 1141 L_2B018CA0: 1142 eax = MEM32(ebp + 0xC); /* 0x2B018CA0: mov eax, dword ptr [ebp + 0xc] */ 1143 PUSH32(esp, eax); /* 0x2B018CA3: push eax */ 1144 PUSH32(esp, edi); /* 0x2B018CA4: push edi */ 1145 PUSH32(esp, esi); /* 0x2B018CA5: push esi */ 1146 ecx = ebp + (-0xC); /* 0x2B018CA6: lea ecx, [ebp - 0xc] */ 1147 PUSH32(esp, ecx); /* 0x2B018CA9: push ecx */ 1148 ecx = ebx; /* 0x2B018CAA: mov ecx, ebx */ 1149 RECOMP_ICALL(0x2B019700u); /* 0x2B018CAC: call 0x2b019700 */ /* not lifted */ 1150 RECOMP_FLAGS_IN(); 1151 eax = MEM32(eax); /* 0x2B018CB1: mov eax, dword ptr [eax] */ 1152 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B018CB3: mov byte ptr [ebp - 0xc], 1 */ 1153 ecx = eax; /* 0x2B018CB7: mov ecx, eax */ 1154 eax = MEM32(ebp + (-0xC)); /* 0x2B018CB9: mov eax, dword ptr [ebp - 0xc] */ 1155 goto L_2B018CF5; /* 0x2B018CBC: jmp 0x2b018cf5 */ 1156 L_2B018CBE: 1157 ecx = ebp + (-0x4); /* 0x2B018CBE: lea ecx, [ebp - 4] */ 1158 RECOMP_ICALL(0x2B019970u); /* 0x2B018CC1: call 0x2b019970 */ /* not lifted */ 1159 RECOMP_FLAGS_IN(); 1160 ecx = MEM32(ebp + (-0x4)); /* 0x2B018CC6: mov ecx, dword ptr [ebp - 4] */ 1161 L_2B018CC9: 1162 edx = MEM32(ecx + 0xC); /* 0x2B018CC9: mov edx, dword ptr [ecx + 0xc] */ 1163 eax = MEM32(ebp + 0xC); /* 0x2B018CCC: mov eax, dword ptr [ebp + 0xc] */ 1164 /* cmp edx, MEM32(eax) */ /* 0x2B018CCF: cmp edx, dword ptr [eax] */ 1165 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 1166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1167 _flag_k = FK_CMP; 1168 if (CMP_GE(_flag_a, _flag_b)) goto L_2B018CEE; /* 0x2B018CD1: jge 0x2b018cee */ 1169 L_2B018CD3: 1170 PUSH32(esp, eax); /* 0x2B018CD3: push eax */ 1171 PUSH32(esp, edi); /* 0x2B018CD4: push edi */ 1172 PUSH32(esp, esi); /* 0x2B018CD5: push esi */ 1173 eax = ebp + 0xC; /* 0x2B018CD6: lea eax, [ebp + 0xc] */ 1174 PUSH32(esp, eax); /* 0x2B018CD9: push eax */ 1175 ecx = ebx; /* 0x2B018CDA: mov ecx, ebx */ 1176 RECOMP_ICALL(0x2B019700u); /* 0x2B018CDC: call 0x2b019700 */ /* not lifted */ 1177 RECOMP_FLAGS_IN(); 1178 eax = MEM32(eax); /* 0x2B018CE1: mov eax, dword ptr [eax] */ 1179 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B018CE3: mov byte ptr [ebp - 0xc], 1 */ 1180 ecx = eax; /* 0x2B018CE7: mov ecx, eax */ 1181 eax = MEM32(ebp + (-0xC)); /* 0x2B018CE9: mov eax, dword ptr [ebp - 0xc] */ 1182 goto L_2B018CF5; /* 0x2B018CEC: jmp 0x2b018cf5 */ 1183 L_2B018CEE: 1184 MEM8(ebp + (-0xC)) = (uint8_t)(0); /* 0x2B018CEE: mov byte ptr [ebp - 0xc], 0 */ 1185 eax = MEM32(ebp + (-0xC)); /* 0x2B018CF2: mov eax, dword ptr [ebp - 0xc] */ 1186 L_2B018CF5: 1187 MEM8(ebp + (-0xC)) = (uint8_t)(LO8(eax)); /* 0x2B018CF5: mov byte ptr [ebp - 0xc], al */ 1188 eax = MEM32(ebp + 0x8); /* 0x2B018CF8: mov eax, dword ptr [ebp + 8] */ 1189 edi = POP32_VAL(esp); /* 0x2B018CFB: pop edi */ 1190 MEM32(eax) = ecx; /* 0x2B018CFC: mov dword ptr [eax], ecx */ 1191 ecx = MEM32(ebp + (-0xC)); /* 0x2B018CFE: mov ecx, dword ptr [ebp - 0xc] */ 1192 esi = POP32_VAL(esp); /* 0x2B018D01: pop esi */ 1193 MEM32(eax + 0x4) = ecx; /* 0x2B018D02: mov dword ptr [eax + 4], ecx */ 1194 ebx = POP32_VAL(esp); /* 0x2B018D05: pop ebx */ 1195 esp = ebp; /* 0x2B018D06: mov esp, ebp */ 1196 ebp = POP32_VAL(esp); /* 0x2B018D08: pop ebp */ 1197 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B018D09: ret 8 */ 1198 RECOMP_REGS_OUT(); 1199 } 1200 1201 void sub_2B018D10(void) { 1202 int _fpu_cmp = 0; 1203 uint32_t _cf = 0; 1204 int _df = 1; 1205 uint32_t _flag_k = FK_NONE; 1206 uint32_t _flag_a = 0, _flag_b = 0; 1207 uint32_t _itail_tgt = 0; 1208 RECOMP_REGS_LOCALS 1209 RECOMP_ENTER(0x2B018D10u); 1210 1211 L_2B018D10: 1212 PUSH32(esp, ebp); /* 0x2B018D10: push ebp */ 1213 ebp = esp; /* 0x2B018D11: mov ebp, esp */ 1214 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1216 esp = esp - 8; /* 0x2B018D13: sub esp, 8 */ 1217 _flag_k = FK_CMP; 1218 eax = MEM32(ebp + 0x8); /* 0x2B018D16: mov eax, dword ptr [ebp + 8] */ 1219 PUSH32(esp, ebx); /* 0x2B018D19: push ebx */ 1220 PUSH32(esp, esi); /* 0x2B018D1A: push esi */ 1221 esi = ecx; /* 0x2B018D1B: mov esi, ecx */ 1222 /* cmp esi, eax */ /* 0x2B018D1D: cmp esi, eax */ 1223 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1225 _flag_k = FK_CMP; 1226 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018E8A; /* 0x2B018D1F: je 0x2b018e8a */ 1227 L_2B018D25: 1228 ecx = MEM32(esi + 0x10); /* 0x2B018D25: mov ecx, dword ptr [esi + 0x10] */ 1229 /* test ecx, ecx */ /* 0x2B018D28: test ecx, ecx */ 1230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1231 _cf = 0; 1232 _flag_k = FK_TEST; 1233 PUSH32(esp, edi); /* 0x2B018D2A: push edi */ 1234 edi = MEM32(esi + 0x4); /* 0x2B018D2B: mov edi, dword ptr [esi + 4] */ 1235 eax = MEM32(edi); /* 0x2B018D2E: mov eax, dword ptr [edi] */ 1236 MEM32(ebp + (-0x4)) = eax; /* 0x2B018D30: mov dword ptr [ebp - 4], eax */ 1237 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018D8F; /* 0x2B018D33: je 0x2b018d8f */ 1238 L_2B018D35: 1239 ecx = eax; /* 0x2B018D35: mov ecx, eax */ 1240 /* cmp eax, ecx */ /* 0x2B018D37: cmp eax, ecx */ 1241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1243 _flag_k = FK_CMP; 1244 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018D8F; /* 0x2B018D39: jne 0x2b018d8f */ 1245 L_2B018D3B: 1246 /* cmp edi, edi */ /* 0x2B018D3B: cmp edi, edi */ 1247 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1249 _flag_k = FK_CMP; 1250 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018D8F; /* 0x2B018D3D: jne 0x2b018d8f */ 1251 L_2B018D3F: 1252 ebx = MEM32(edi + 0x4); /* 0x2B018D3F: mov ebx, dword ptr [edi + 4] */ 1253 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B018D42: cmp ebx, dword ptr [esi + 8] */ 1254 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1256 _flag_k = FK_CMP; 1257 edi = ebx; /* 0x2B018D45: mov edi, ebx */ 1258 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018D72; /* 0x2B018D47: je 0x2b018d72 */ 1259 L_2B018D49: 1260 eax = MEM32(edi + 0x8); /* 0x2B018D49: mov eax, dword ptr [edi + 8] */ 1261 PUSH32(esp, eax); /* 0x2B018D4C: push eax */ 1262 ecx = esi; /* 0x2B018D4D: mov ecx, esi */ 1263 RECOMP_ICALL(0x2B019530u); /* 0x2B018D4F: call 0x2b019530 */ /* not lifted */ 1264 RECOMP_FLAGS_IN(); 1265 edi = MEM32(edi); /* 0x2B018D54: mov edi, dword ptr [edi] */ 1266 PUSH32(esp, 0); /* 0x2B018D56: push 0 */ 1267 ecx = ebx + 0xC; /* 0x2B018D58: lea ecx, [ebx + 0xc] */ 1268 RECOMP_ICALL(0x2B019DF0u); /* 0x2B018D5B: call 0x2b019df0 */ /* not lifted */ 1269 RECOMP_FLAGS_IN(); 1270 PUSH32(esp, ebx); /* 0x2B018D60: push ebx */ 1271 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018D61: call 0x2b0ab1ba */ /* not lifted */ 1272 RECOMP_FLAGS_IN(); 1273 eax = MEM32(esi + 0x8); /* 0x2B018D66: mov eax, dword ptr [esi + 8] */ 1274 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1275 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1276 esp = esp + 4; /* 0x2B018D69: add esp, 4 */ 1277 _flag_k = FK_ADD; 1278 /* cmp edi, eax */ /* 0x2B018D6C: cmp edi, eax */ 1279 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1281 _flag_k = FK_CMP; 1282 ebx = edi; /* 0x2B018D6E: mov ebx, edi */ 1283 RECOMP_BACKEDGE(); 1284 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018D49; /* 0x2B018D70: jne 0x2b018d49 */ 1285 L_2B018D72: 1286 ecx = MEM32(esi + 0x4); /* 0x2B018D72: mov ecx, dword ptr [esi + 4] */ 1287 edx = MEM32(esi + 0x8); /* 0x2B018D75: mov edx, dword ptr [esi + 8] */ 1288 MEM32(ecx + 0x4) = edx; /* 0x2B018D78: mov dword ptr [ecx + 4], edx */ 1289 eax = MEM32(esi + 0x4); /* 0x2B018D7B: mov eax, dword ptr [esi + 4] */ 1290 MEM32(esi + 0x10) = 0; /* 0x2B018D7E: mov dword ptr [esi + 0x10], 0 */ 1291 MEM32(eax) = eax; /* 0x2B018D85: mov dword ptr [eax], eax */ 1292 eax = MEM32(esi + 0x4); /* 0x2B018D87: mov eax, dword ptr [esi + 4] */ 1293 MEM32(eax + 0x8) = eax; /* 0x2B018D8A: mov dword ptr [eax + 8], eax */ 1294 goto L_2B018DB0; /* 0x2B018D8D: jmp 0x2b018db0 */ 1295 L_2B018D8F: 1296 /* cmp eax, edi */ /* 0x2B018D8F: cmp eax, edi */ 1297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1299 _flag_k = FK_CMP; 1300 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018DB0; /* 0x2B018D91: je 0x2b018db0 */ 1301 L_2B018D93: 1302 ecx = ebp + (-0x4); /* 0x2B018D93: lea ecx, [ebp - 4] */ 1303 ebx = eax; /* 0x2B018D96: mov ebx, eax */ 1304 RECOMP_ICALL(0x2B0199D0u); /* 0x2B018D98: call 0x2b0199d0 */ /* not lifted */ 1305 RECOMP_FLAGS_IN(); 1306 PUSH32(esp, ebx); /* 0x2B018D9D: push ebx */ 1307 eax = ebp + (-0x8); /* 0x2B018D9E: lea eax, [ebp - 8] */ 1308 PUSH32(esp, eax); /* 0x2B018DA1: push eax */ 1309 ecx = esi; /* 0x2B018DA2: mov ecx, esi */ 1310 RECOMP_ICALL(0x2B019160u); /* 0x2B018DA4: call 0x2b019160 */ /* not lifted */ 1311 RECOMP_FLAGS_IN(); 1312 eax = MEM32(ebp + (-0x4)); /* 0x2B018DA9: mov eax, dword ptr [ebp - 4] */ 1313 /* cmp eax, edi */ /* 0x2B018DAC: cmp eax, edi */ 1314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1316 _flag_k = FK_CMP; 1317 RECOMP_BACKEDGE(); 1318 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018D93; /* 0x2B018DAE: jne 0x2b018d93 */ 1319 L_2B018DB0: 1320 ecx = MEM32(ebp + 0x8); /* 0x2B018DB0: mov ecx, dword ptr [ebp + 8] */ 1321 SET_LO8(edx, MEM8(ecx + 0x1)); /* 0x2B018DB3: mov dl, byte ptr [ecx + 1] */ 1322 eax = MEM32(esi + 0x4); /* 0x2B018DB6: mov eax, dword ptr [esi + 4] */ 1323 MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x2B018DB9: mov byte ptr [esi + 1], dl */ 1324 ecx = MEM32(ecx + 0x4); /* 0x2B018DBC: mov ecx, dword ptr [ecx + 4] */ 1325 ebx = MEM32(ecx + 0x4); /* 0x2B018DBF: mov ebx, dword ptr [ecx + 4] */ 1326 SET_LO8(ecx, MEM8(ebx + 0x25)); /* 0x2B018DC2: mov cl, byte ptr [ebx + 0x25] */ 1327 /* test LO8(ecx), LO8(ecx) */ /* 0x2B018DC5: test cl, cl */ 1328 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1329 _cf = 0; 1330 _flag_k = FK_NARROW(FK_TEST, 24); 1331 edx = MEM32(esi + 0x8); /* 0x2B018DC7: mov edx, dword ptr [esi + 8] */ 1332 MEM32(ebp + (-0x4)) = edx; /* 0x2B018DCA: mov dword ptr [ebp - 4], edx */ 1333 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B018E23; /* 0x2B018DCD: jne 0x2b018e23 */ 1334 L_2B018DCF: 1335 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1336 ecx = 0; /* 0x2B018DCF: xor ecx, ecx */ 1337 _cf = 0; 1338 _flag_k = FK_TEST; 1339 SET_LO8(ecx, MEM8(ebx + 0x24)); /* 0x2B018DD1: mov cl, byte ptr [ebx + 0x24] */ 1340 PUSH32(esp, ecx); /* 0x2B018DD4: push ecx */ 1341 PUSH32(esp, eax); /* 0x2B018DD5: push eax */ 1342 ecx = esi; /* 0x2B018DD6: mov ecx, esi */ 1343 RECOMP_ICALL(0x2B019940u); /* 0x2B018DD8: call 0x2b019940 */ /* not lifted */ 1344 RECOMP_FLAGS_IN(); 1345 edi = eax; /* 0x2B018DDD: mov edi, eax */ 1346 edx = ebx + 0xC; /* 0x2B018DDF: lea edx, [ebx + 0xc] */ 1347 PUSH32(esp, edx); /* 0x2B018DE2: push edx */ 1348 eax = edi + 0xC; /* 0x2B018DE3: lea eax, [edi + 0xc] */ 1349 PUSH32(esp, eax); /* 0x2B018DE6: push eax */ 1350 RECOMP_ICALL(0x2B019DA0u); /* 0x2B018DE7: call 0x2b019da0 */ /* not lifted */ 1351 RECOMP_FLAGS_IN(); 1352 ecx = MEM32(esi + 0x8); /* 0x2B018DEC: mov ecx, dword ptr [esi + 8] */ 1353 eax = MEM32(ebp + (-0x4)); /* 0x2B018DEF: mov eax, dword ptr [ebp - 4] */ 1354 MEM32(edi) = ecx; /* 0x2B018DF2: mov dword ptr [edi], ecx */ 1355 edx = MEM32(esi + 0x8); /* 0x2B018DF4: mov edx, dword ptr [esi + 8] */ 1356 MEM32(edi + 0x8) = edx; /* 0x2B018DF7: mov dword ptr [edi + 8], edx */ 1357 ecx = MEM32(esi + 0x8); /* 0x2B018DFA: mov ecx, dword ptr [esi + 8] */ 1358 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1359 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1360 esp = esp + 8; /* 0x2B018DFD: add esp, 8 */ 1361 _flag_k = FK_ADD; 1362 /* cmp eax, ecx */ /* 0x2B018E00: cmp eax, ecx */ 1363 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1365 _flag_k = FK_CMP; 1366 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018E07; /* 0x2B018E02: jne 0x2b018e07 */ 1367 L_2B018E04: 1368 MEM32(ebp + (-0x4)) = edi; /* 0x2B018E04: mov dword ptr [ebp - 4], edi */ 1369 L_2B018E07: 1370 ecx = MEM32(ebx); /* 0x2B018E07: mov ecx, dword ptr [ebx] */ 1371 PUSH32(esp, edi); /* 0x2B018E09: push edi */ 1372 PUSH32(esp, ecx); /* 0x2B018E0A: push ecx */ 1373 ecx = esi; /* 0x2B018E0B: mov ecx, esi */ 1374 RECOMP_ICALL(0x2B019670u); /* 0x2B018E0D: call 0x2b019670 */ /* not lifted */ 1375 RECOMP_FLAGS_IN(); 1376 MEM32(edi) = eax; /* 0x2B018E12: mov dword ptr [edi], eax */ 1377 edx = MEM32(ebx + 0x8); /* 0x2B018E14: mov edx, dword ptr [ebx + 8] */ 1378 PUSH32(esp, edi); /* 0x2B018E17: push edi */ 1379 PUSH32(esp, edx); /* 0x2B018E18: push edx */ 1380 ecx = esi; /* 0x2B018E19: mov ecx, esi */ 1381 RECOMP_ICALL(0x2B019670u); /* 0x2B018E1B: call 0x2b019670 */ /* not lifted */ 1382 RECOMP_FLAGS_IN(); 1383 MEM32(edi + 0x8) = eax; /* 0x2B018E20: mov dword ptr [edi + 8], eax */ 1384 L_2B018E23: 1385 eax = MEM32(esi + 0x4); /* 0x2B018E23: mov eax, dword ptr [esi + 4] */ 1386 ecx = MEM32(ebp + (-0x4)); /* 0x2B018E26: mov ecx, dword ptr [ebp - 4] */ 1387 edx = MEM32(ebp + 0x8); /* 0x2B018E29: mov edx, dword ptr [ebp + 8] */ 1388 MEM32(eax + 0x4) = ecx; /* 0x2B018E2C: mov dword ptr [eax + 4], ecx */ 1389 eax = MEM32(edx + 0x10); /* 0x2B018E2F: mov eax, dword ptr [edx + 0x10] */ 1390 edx = MEM32(esi + 0x4); /* 0x2B018E32: mov edx, dword ptr [esi + 4] */ 1391 ecx = MEM32(esi + 0x8); /* 0x2B018E35: mov ecx, dword ptr [esi + 8] */ 1392 MEM32(esi + 0x10) = eax; /* 0x2B018E38: mov dword ptr [esi + 0x10], eax */ 1393 eax = MEM32(edx + 0x4); /* 0x2B018E3B: mov eax, dword ptr [edx + 4] */ 1394 /* cmp eax, ecx */ /* 0x2B018E3E: cmp eax, ecx */ 1395 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1397 _flag_k = FK_CMP; 1398 edi = POP32_VAL(esp); /* 0x2B018E40: pop edi */ 1399 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018E82; /* 0x2B018E41: je 0x2b018e82 */ 1400 L_2B018E43: 1401 ecx = MEM32(eax); /* 0x2B018E43: mov ecx, dword ptr [eax] */ 1402 SET_LO8(ebx, MEM8(ecx + 0x25)); /* 0x2B018E45: mov bl, byte ptr [ecx + 0x25] */ 1403 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018E48: test bl, bl */ 1404 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1405 _cf = 0; 1406 _flag_k = FK_NARROW(FK_TEST, 24); 1407 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B018E57; /* 0x2B018E4A: jne 0x2b018e57 */ 1408 L_2B018E4C: 1409 eax = ecx; /* 0x2B018E4C: mov eax, ecx */ 1410 ecx = MEM32(eax); /* 0x2B018E4E: mov ecx, dword ptr [eax] */ 1411 SET_LO8(ebx, MEM8(ecx + 0x25)); /* 0x2B018E50: mov bl, byte ptr [ecx + 0x25] */ 1412 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018E53: test bl, bl */ 1413 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1414 _cf = 0; 1415 _flag_k = FK_NARROW(FK_TEST, 24); 1416 RECOMP_BACKEDGE(); 1417 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018E4C; /* 0x2B018E55: je 0x2b018e4c */ 1418 L_2B018E57: 1419 MEM32(edx) = eax; /* 0x2B018E57: mov dword ptr [edx], eax */ 1420 edx = MEM32(esi + 0x4); /* 0x2B018E59: mov edx, dword ptr [esi + 4] */ 1421 ecx = MEM32(edx + 0x4); /* 0x2B018E5C: mov ecx, dword ptr [edx + 4] */ 1422 eax = MEM32(ecx + 0x8); /* 0x2B018E5F: mov eax, dword ptr [ecx + 8] */ 1423 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B018E62: mov bl, byte ptr [eax + 0x25] */ 1424 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018E65: test bl, bl */ 1425 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1426 _cf = 0; 1427 _flag_k = FK_NARROW(FK_TEST, 24); 1428 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B018E75; /* 0x2B018E67: jne 0x2b018e75 */ 1429 L_2B018E69: 1430 ecx = eax; /* 0x2B018E69: mov ecx, eax */ 1431 eax = MEM32(ecx + 0x8); /* 0x2B018E6B: mov eax, dword ptr [ecx + 8] */ 1432 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B018E6E: mov bl, byte ptr [eax + 0x25] */ 1433 /* test LO8(ebx), LO8(ebx) */ /* 0x2B018E71: test bl, bl */ 1434 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1435 _cf = 0; 1436 _flag_k = FK_NARROW(FK_TEST, 24); 1437 RECOMP_BACKEDGE(); 1438 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018E69; /* 0x2B018E73: je 0x2b018e69 */ 1439 L_2B018E75: 1440 eax = esi; /* 0x2B018E75: mov eax, esi */ 1441 esi = POP32_VAL(esp); /* 0x2B018E77: pop esi */ 1442 MEM32(edx + 0x8) = ecx; /* 0x2B018E78: mov dword ptr [edx + 8], ecx */ 1443 ebx = POP32_VAL(esp); /* 0x2B018E7B: pop ebx */ 1444 esp = ebp; /* 0x2B018E7C: mov esp, ebp */ 1445 ebp = POP32_VAL(esp); /* 0x2B018E7E: pop ebp */ 1446 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B018E7F: ret 4 */ 1447 L_2B018E82: 1448 MEM32(edx) = edx; /* 0x2B018E82: mov dword ptr [edx], edx */ 1449 eax = MEM32(esi + 0x4); /* 0x2B018E84: mov eax, dword ptr [esi + 4] */ 1450 MEM32(eax + 0x8) = eax; /* 0x2B018E87: mov dword ptr [eax + 8], eax */ 1451 L_2B018E8A: 1452 eax = esi; /* 0x2B018E8A: mov eax, esi */ 1453 esi = POP32_VAL(esp); /* 0x2B018E8C: pop esi */ 1454 ebx = POP32_VAL(esp); /* 0x2B018E8D: pop ebx */ 1455 esp = ebp; /* 0x2B018E8E: mov esp, ebp */ 1456 ebp = POP32_VAL(esp); /* 0x2B018E90: pop ebp */ 1457 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B018E91: ret 4 */ 1458 RECOMP_REGS_OUT(); 1459 } 1460 1461 void sub_2B018EA0(void) { 1462 int _fpu_cmp = 0; 1463 uint32_t _cf = 0; 1464 int _df = 1; 1465 uint32_t _flag_k = FK_NONE; 1466 uint32_t _flag_a = 0, _flag_b = 0; 1467 uint32_t _itail_tgt = 0; 1468 RECOMP_REGS_LOCALS 1469 RECOMP_ENTER(0x2B018EA0u); 1470 1471 L_2B018EA0: 1472 PUSH32(esp, ebp); /* 0x2B018EA0: push ebp */ 1473 ebp = esp; /* 0x2B018EA1: mov ebp, esp */ 1474 PUSH32(esp, ebx); /* 0x2B018EA3: push ebx */ 1475 ebx = MEM32(ebp + 0x10); /* 0x2B018EA4: mov ebx, dword ptr [ebp + 0x10] */ 1476 PUSH32(esp, esi); /* 0x2B018EA7: push esi */ 1477 esi = ecx; /* 0x2B018EA8: mov esi, ecx */ 1478 eax = MEM32(esi + 0x10); /* 0x2B018EAA: mov eax, dword ptr [esi + 0x10] */ 1479 /* test eax, eax */ /* 0x2B018EAD: test eax, eax */ 1480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1481 _cf = 0; 1482 _flag_k = FK_TEST; 1483 ecx = MEM32(ebp + 0xC); /* 0x2B018EAF: mov ecx, dword ptr [ebp + 0xc] */ 1484 PUSH32(esp, edi); /* 0x2B018EB2: push edi */ 1485 if (TEST_Z(_flag_a, _flag_b)) goto L_2B018F1D; /* 0x2B018EB3: je 0x2b018f1d */ 1486 L_2B018EB5: 1487 eax = MEM32(esi + 0x4); /* 0x2B018EB5: mov eax, dword ptr [esi + 4] */ 1488 /* cmp ecx, MEM32(eax) */ /* 0x2B018EB8: cmp ecx, dword ptr [eax] */ 1489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 1490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1491 _flag_k = FK_CMP; 1492 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018F1D; /* 0x2B018EBA: jne 0x2b018f1d */ 1493 L_2B018EBC: 1494 /* cmp ebx, eax */ /* 0x2B018EBC: cmp ebx, eax */ 1495 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 1496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1497 _flag_k = FK_CMP; 1498 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018F1D; /* 0x2B018EBE: jne 0x2b018f1d */ 1499 L_2B018EC0: 1500 ebx = MEM32(eax + 0x4); /* 0x2B018EC0: mov ebx, dword ptr [eax + 4] */ 1501 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B018EC3: cmp ebx, dword ptr [esi + 8] */ 1502 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1504 _flag_k = FK_CMP; 1505 edi = ebx; /* 0x2B018EC6: mov edi, ebx */ 1506 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018EF1; /* 0x2B018EC8: je 0x2b018ef1 */ 1507 L_2B018ECA: 1508 eax = MEM32(edi + 0x8); /* 0x2B018ECA: mov eax, dword ptr [edi + 8] */ 1509 PUSH32(esp, eax); /* 0x2B018ECD: push eax */ 1510 ecx = esi; /* 0x2B018ECE: mov ecx, esi */ 1511 RECOMP_ICALL(0x2B019530u); /* 0x2B018ED0: call 0x2b019530 */ /* not lifted */ 1512 RECOMP_FLAGS_IN(); 1513 edi = MEM32(edi); /* 0x2B018ED5: mov edi, dword ptr [edi] */ 1514 ecx = ebx + 0xC; /* 0x2B018ED7: lea ecx, [ebx + 0xc] */ 1515 RECOMP_ICALL(0x2B018920u); /* 0x2B018EDA: call 0x2b018920 */ /* not lifted */ 1516 RECOMP_FLAGS_IN(); 1517 PUSH32(esp, ebx); /* 0x2B018EDF: push ebx */ 1518 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018EE0: call 0x2b0ab1ba */ /* not lifted */ 1519 RECOMP_FLAGS_IN(); 1520 eax = MEM32(esi + 0x8); /* 0x2B018EE5: mov eax, dword ptr [esi + 8] */ 1521 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1523 esp = esp + 4; /* 0x2B018EE8: add esp, 4 */ 1524 _flag_k = FK_ADD; 1525 /* cmp edi, eax */ /* 0x2B018EEB: cmp edi, eax */ 1526 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1528 _flag_k = FK_CMP; 1529 ebx = edi; /* 0x2B018EED: mov ebx, edi */ 1530 RECOMP_BACKEDGE(); 1531 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018ECA; /* 0x2B018EEF: jne 0x2b018eca */ 1532 L_2B018EF1: 1533 ecx = MEM32(esi + 0x4); /* 0x2B018EF1: mov ecx, dword ptr [esi + 4] */ 1534 edx = MEM32(esi + 0x8); /* 0x2B018EF4: mov edx, dword ptr [esi + 8] */ 1535 MEM32(ecx + 0x4) = edx; /* 0x2B018EF7: mov dword ptr [ecx + 4], edx */ 1536 eax = MEM32(esi + 0x4); /* 0x2B018EFA: mov eax, dword ptr [esi + 4] */ 1537 MEM32(esi + 0x10) = 0; /* 0x2B018EFD: mov dword ptr [esi + 0x10], 0 */ 1538 MEM32(eax) = eax; /* 0x2B018F04: mov dword ptr [eax], eax */ 1539 eax = MEM32(esi + 0x4); /* 0x2B018F06: mov eax, dword ptr [esi + 4] */ 1540 MEM32(eax + 0x8) = eax; /* 0x2B018F09: mov dword ptr [eax + 8], eax */ 1541 eax = MEM32(esi + 0x4); /* 0x2B018F0C: mov eax, dword ptr [esi + 4] */ 1542 ecx = MEM32(eax); /* 0x2B018F0F: mov ecx, dword ptr [eax] */ 1543 eax = MEM32(ebp + 0x8); /* 0x2B018F11: mov eax, dword ptr [ebp + 8] */ 1544 edi = POP32_VAL(esp); /* 0x2B018F14: pop edi */ 1545 esi = POP32_VAL(esp); /* 0x2B018F15: pop esi */ 1546 MEM32(eax) = ecx; /* 0x2B018F16: mov dword ptr [eax], ecx */ 1547 ebx = POP32_VAL(esp); /* 0x2B018F18: pop ebx */ 1548 ebp = POP32_VAL(esp); /* 0x2B018F19: pop ebp */ 1549 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B018F1A: ret 0xc */ 1550 L_2B018F1D: 1551 /* cmp ecx, ebx */ /* 0x2B018F1D: cmp ecx, ebx */ 1552 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1554 _flag_k = FK_CMP; 1555 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018F3E; /* 0x2B018F1F: je 0x2b018f3e */ 1556 L_2B018F21: 1557 edi = ecx; /* 0x2B018F21: mov edi, ecx */ 1558 ecx = ebp + 0xC; /* 0x2B018F23: lea ecx, [ebp + 0xc] */ 1559 RECOMP_ICALL(0x2B0199D0u); /* 0x2B018F26: call 0x2b0199d0 */ /* not lifted */ 1560 RECOMP_FLAGS_IN(); 1561 PUSH32(esp, edi); /* 0x2B018F2B: push edi */ 1562 ecx = ebp + 0x10; /* 0x2B018F2C: lea ecx, [ebp + 0x10] */ 1563 PUSH32(esp, ecx); /* 0x2B018F2F: push ecx */ 1564 ecx = esi; /* 0x2B018F30: mov ecx, esi */ 1565 RECOMP_ICALL(0x2B019160u); /* 0x2B018F32: call 0x2b019160 */ /* not lifted */ 1566 RECOMP_FLAGS_IN(); 1567 ecx = MEM32(ebp + 0xC); /* 0x2B018F37: mov ecx, dword ptr [ebp + 0xc] */ 1568 /* cmp ecx, ebx */ /* 0x2B018F3A: cmp ecx, ebx */ 1569 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1571 _flag_k = FK_CMP; 1572 RECOMP_BACKEDGE(); 1573 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018F21; /* 0x2B018F3C: jne 0x2b018f21 */ 1574 L_2B018F3E: 1575 eax = MEM32(ebp + 0x8); /* 0x2B018F3E: mov eax, dword ptr [ebp + 8] */ 1576 edi = POP32_VAL(esp); /* 0x2B018F41: pop edi */ 1577 esi = POP32_VAL(esp); /* 0x2B018F42: pop esi */ 1578 MEM32(eax) = ecx; /* 0x2B018F43: mov dword ptr [eax], ecx */ 1579 ebx = POP32_VAL(esp); /* 0x2B018F45: pop ebx */ 1580 ebp = POP32_VAL(esp); /* 0x2B018F46: pop ebp */ 1581 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B018F47: ret 0xc */ 1582 RECOMP_REGS_OUT(); 1583 } 1584 1585 void sub_2B018F50(void) { 1586 int _fpu_cmp = 0; 1587 uint32_t _cf = 0; 1588 int _df = 1; 1589 uint32_t _flag_k = FK_NONE; 1590 uint32_t _flag_a = 0, _flag_b = 0; 1591 uint32_t _itail_tgt = 0; 1592 RECOMP_REGS_LOCALS 1593 RECOMP_ENTER(0x2B018F50u); 1594 1595 L_2B018F50: 1596 PUSH32(esp, ebp); /* 0x2B018F50: push ebp */ 1597 ebp = esp; /* 0x2B018F51: mov ebp, esp */ 1598 PUSH32(esp, ecx); /* 0x2B018F53: push ecx */ 1599 edx = MEM32(ecx + 0x4); /* 0x2B018F54: mov edx, dword ptr [ecx + 4] */ 1600 eax = MEM32(edx + 0x4); /* 0x2B018F57: mov eax, dword ptr [edx + 4] */ 1601 ecx = MEM32(ecx + 0x8); /* 0x2B018F5A: mov ecx, dword ptr [ecx + 8] */ 1602 /* cmp eax, ecx */ /* 0x2B018F5D: cmp eax, ecx */ 1603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1605 _flag_k = FK_CMP; 1606 PUSH32(esp, ebx); /* 0x2B018F5F: push ebx */ 1607 ebx = MEM32(ebp + 0xC); /* 0x2B018F60: mov ebx, dword ptr [ebp + 0xc] */ 1608 PUSH32(esp, esi); /* 0x2B018F63: push esi */ 1609 esi = edx; /* 0x2B018F64: mov esi, edx */ 1610 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018F7E; /* 0x2B018F66: je 0x2b018f7e */ 1611 L_2B018F68: 1612 PUSH32(esp, edi); /* 0x2B018F68: push edi */ 1613 edi = MEM32(ebx); /* 0x2B018F69: mov edi, dword ptr [ebx] */ 1614 L_2B018F6B: 1615 /* cmp MEM32(eax + 0xC), edi */ /* 0x2B018F6B: cmp dword ptr [eax + 0xc], edi */ 1616 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(edi); 1617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1618 _flag_k = FK_CMP; 1619 if (CMP_GE(_flag_a, _flag_b)) goto L_2B018F75; /* 0x2B018F6E: jge 0x2b018f75 */ 1620 L_2B018F70: 1621 eax = MEM32(eax + 0x8); /* 0x2B018F70: mov eax, dword ptr [eax + 8] */ 1622 goto L_2B018F79; /* 0x2B018F73: jmp 0x2b018f79 */ 1623 L_2B018F75: 1624 esi = eax; /* 0x2B018F75: mov esi, eax */ 1625 eax = MEM32(eax); /* 0x2B018F77: mov eax, dword ptr [eax] */ 1626 L_2B018F79: 1627 /* cmp eax, ecx */ /* 0x2B018F79: cmp eax, ecx */ 1628 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1630 _flag_k = FK_CMP; 1631 RECOMP_BACKEDGE(); 1632 if (CMP_NE(_flag_a, _flag_b)) goto L_2B018F6B; /* 0x2B018F7B: jne 0x2b018f6b */ 1633 L_2B018F7D: 1634 edi = POP32_VAL(esp); /* 0x2B018F7D: pop edi */ 1635 L_2B018F7E: 1636 /* cmp esi, edx */ /* 0x2B018F7E: cmp esi, edx */ 1637 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 1638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1639 _flag_k = FK_CMP; 1640 MEM32(ebp + 0xC) = esi; /* 0x2B018F80: mov dword ptr [ebp + 0xc], esi */ 1641 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018F9E; /* 0x2B018F83: je 0x2b018f9e */ 1642 L_2B018F85: 1643 eax = MEM32(ebx); /* 0x2B018F85: mov eax, dword ptr [ebx] */ 1644 /* cmp eax, MEM32(esi + 0xC) */ /* 0x2B018F87: cmp eax, dword ptr [esi + 0xc] */ 1645 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0xC)); 1646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1647 _flag_k = FK_CMP; 1648 if (CMP_L(_flag_a, _flag_b)) goto L_2B018F9E; /* 0x2B018F8A: jl 0x2b018f9e */ 1649 L_2B018F8C: 1650 eax = ebp + 0xC; /* 0x2B018F8C: lea eax, [ebp + 0xc] */ 1651 ecx = MEM32(eax); /* 0x2B018F8F: mov ecx, dword ptr [eax] */ 1652 eax = MEM32(ebp + 0x8); /* 0x2B018F91: mov eax, dword ptr [ebp + 8] */ 1653 esi = POP32_VAL(esp); /* 0x2B018F94: pop esi */ 1654 MEM32(eax) = ecx; /* 0x2B018F95: mov dword ptr [eax], ecx */ 1655 ebx = POP32_VAL(esp); /* 0x2B018F97: pop ebx */ 1656 esp = ebp; /* 0x2B018F98: mov esp, ebp */ 1657 ebp = POP32_VAL(esp); /* 0x2B018F9A: pop ebp */ 1658 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B018F9B: ret 8 */ 1659 L_2B018F9E: 1660 eax = ebp + (-0x4); /* 0x2B018F9E: lea eax, [ebp - 4] */ 1661 MEM32(ebp + (-0x4)) = edx; /* 0x2B018FA1: mov dword ptr [ebp - 4], edx */ 1662 ecx = MEM32(eax); /* 0x2B018FA4: mov ecx, dword ptr [eax] */ 1663 eax = MEM32(ebp + 0x8); /* 0x2B018FA6: mov eax, dword ptr [ebp + 8] */ 1664 esi = POP32_VAL(esp); /* 0x2B018FA9: pop esi */ 1665 MEM32(eax) = ecx; /* 0x2B018FAA: mov dword ptr [eax], ecx */ 1666 ebx = POP32_VAL(esp); /* 0x2B018FAC: pop ebx */ 1667 esp = ebp; /* 0x2B018FAD: mov esp, ebp */ 1668 ebp = POP32_VAL(esp); /* 0x2B018FAF: pop ebp */ 1669 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B018FB0: ret 8 */ 1670 RECOMP_REGS_OUT(); 1671 } 1672 1673 void sub_2B018FC0(void) { 1674 int _fpu_cmp = 0; 1675 uint32_t _cf = 0; 1676 int _df = 1; 1677 uint32_t _flag_k = FK_NONE; 1678 uint32_t _flag_a = 0, _flag_b = 0; 1679 uint32_t _itail_tgt = 0; 1680 RECOMP_REGS_LOCALS 1681 RECOMP_ENTER(0x2B018FC0u); 1682 1683 L_2B018FC0: 1684 PUSH32(esp, ebp); /* 0x2B018FC0: push ebp */ 1685 ebp = esp; /* 0x2B018FC1: mov ebp, esp */ 1686 eax = MEM32(ebp + 0x8); /* 0x2B018FC3: mov eax, dword ptr [ebp + 8] */ 1687 edx = MEM32(ebp + 0xC); /* 0x2B018FC6: mov edx, dword ptr [ebp + 0xc] */ 1688 PUSH32(esp, esi); /* 0x2B018FC9: push esi */ 1689 esi = ecx; /* 0x2B018FCA: mov esi, ecx */ 1690 ecx = MEM32(eax); /* 0x2B018FCC: mov ecx, dword ptr [eax] */ 1691 MEM32(esi) = ecx; /* 0x2B018FCE: mov dword ptr [esi], ecx */ 1692 PUSH32(esp, edx); /* 0x2B018FD0: push edx */ 1693 ecx = esi + 0x4; /* 0x2B018FD1: lea ecx, [esi + 4] */ 1694 RECOMP_ICALL(MEM32(0x2B0B5B6C)); /* 0x2B018FD4: call dword ptr [0x2b0b5b6c] */ 1695 RECOMP_FLAGS_IN(); 1696 eax = esi; /* 0x2B018FDA: mov eax, esi */ 1697 esi = POP32_VAL(esp); /* 0x2B018FDC: pop esi */ 1698 ebp = POP32_VAL(esp); /* 0x2B018FDD: pop ebp */ 1699 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B018FDE: ret 8 */ 1700 RECOMP_REGS_OUT(); 1701 } 1702 1703 void sub_2B018FF0(void) { 1704 int _fpu_cmp = 0; 1705 uint32_t _cf = 0; 1706 int _df = 1; 1707 uint32_t _flag_k = FK_NONE; 1708 uint32_t _flag_a = 0, _flag_b = 0; 1709 uint32_t _itail_tgt = 0; 1710 RECOMP_REGS_LOCALS 1711 RECOMP_ENTER(0x2B018FF0u); 1712 1713 L_2B018FF0: 1714 PUSH32(esp, ebp); /* 0x2B018FF0: push ebp */ 1715 ebp = esp; /* 0x2B018FF1: mov ebp, esp */ 1716 PUSH32(esp, ebx); /* 0x2B018FF3: push ebx */ 1717 PUSH32(esp, esi); /* 0x2B018FF4: push esi */ 1718 PUSH32(esp, edi); /* 0x2B018FF5: push edi */ 1719 edi = MEM32(ebp + 0xC); /* 0x2B018FF6: mov edi, dword ptr [ebp + 0xc] */ 1720 eax = MEM32(edi + 0x4); /* 0x2B018FF9: mov eax, dword ptr [edi + 4] */ 1721 PUSH32(esp, 0x9Cu); /* 0x2B018FFC: push 0x9c */ 1722 ebx = ecx; /* 0x2B019001: mov ebx, ecx */ 1723 MEM32(ebp + 0xC) = eax; /* 0x2B019003: mov dword ptr [ebp + 0xc], eax */ 1724 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019006: call 0x2b0ab212 */ /* not lifted */ 1725 RECOMP_FLAGS_IN(); 1726 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1727 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1728 esp = esp + 4; /* 0x2B01900B: add esp, 4 */ 1729 _flag_k = FK_ADD; 1730 /* test edi, edi */ /* 0x2B01900E: test edi, edi */ 1731 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1732 _cf = 0; 1733 _flag_k = FK_TEST; 1734 esi = eax; /* 0x2B019010: mov esi, eax */ 1735 eax = edi; /* 0x2B019012: mov eax, edi */ 1736 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019018; /* 0x2B019014: jne 0x2b019018 */ 1737 L_2B019016: 1738 eax = esi; /* 0x2B019016: mov eax, esi */ 1739 L_2B019018: 1740 MEM32(esi) = eax; /* 0x2B019018: mov dword ptr [esi], eax */ 1741 eax = MEM32(ebp + 0xC); /* 0x2B01901A: mov eax, dword ptr [ebp + 0xc] */ 1742 /* test eax, eax */ /* 0x2B01901D: test eax, eax */ 1743 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1744 _cf = 0; 1745 _flag_k = FK_TEST; 1746 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019023; /* 0x2B01901F: jne 0x2b019023 */ 1747 L_2B019021: 1748 eax = esi; /* 0x2B019021: mov eax, esi */ 1749 L_2B019023: 1750 edx = MEM32(ebp + 0x10); /* 0x2B019023: mov edx, dword ptr [ebp + 0x10] */ 1751 MEM32(esi + 0x4) = eax; /* 0x2B019026: mov dword ptr [esi + 4], eax */ 1752 MEM32(edi + 0x4) = esi; /* 0x2B019029: mov dword ptr [edi + 4], esi */ 1753 ecx = MEM32(esi + 0x4); /* 0x2B01902C: mov ecx, dword ptr [esi + 4] */ 1754 PUSH32(esp, edx); /* 0x2B01902F: push edx */ 1755 eax = esi + 0x8; /* 0x2B019030: lea eax, [esi + 8] */ 1756 PUSH32(esp, eax); /* 0x2B019033: push eax */ 1757 MEM32(ecx) = esi; /* 0x2B019034: mov dword ptr [ecx], esi */ 1758 RECOMP_ICALL(0x2B019A20u); /* 0x2B019036: call 0x2b019a20 */ /* not lifted */ 1759 RECOMP_FLAGS_IN(); 1760 eax = MEM32(ebx + 0x8); /* 0x2B01903B: mov eax, dword ptr [ebx + 8] */ 1761 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1763 esp = esp + 8; /* 0x2B01903E: add esp, 8 */ 1764 _flag_k = FK_ADD; 1765 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1766 eax = eax + 1; /* 0x2B019041: inc eax */ 1767 _flag_k = FK_INC; 1768 MEM32(ebx + 0x8) = eax; /* 0x2B019042: mov dword ptr [ebx + 8], eax */ 1769 eax = MEM32(ebp + 0x8); /* 0x2B019045: mov eax, dword ptr [ebp + 8] */ 1770 edi = POP32_VAL(esp); /* 0x2B019048: pop edi */ 1771 MEM32(eax) = esi; /* 0x2B019049: mov dword ptr [eax], esi */ 1772 esi = POP32_VAL(esp); /* 0x2B01904B: pop esi */ 1773 ebx = POP32_VAL(esp); /* 0x2B01904C: pop ebx */ 1774 ebp = POP32_VAL(esp); /* 0x2B01904D: pop ebp */ 1775 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B01904E: ret 0xc */ 1776 RECOMP_REGS_OUT(); 1777 } 1778 1779 void sub_2B019060(void) { 1780 int _fpu_cmp = 0; 1781 uint32_t _cf = 0; 1782 int _df = 1; 1783 uint32_t _flag_k = FK_NONE; 1784 uint32_t _flag_a = 0, _flag_b = 0; 1785 uint32_t _itail_tgt = 0; 1786 RECOMP_REGS_LOCALS 1787 RECOMP_ENTER(0x2B019060u); 1788 1789 L_2B019060: 1790 PUSH32(esp, ebp); /* 0x2B019060: push ebp */ 1791 ebp = esp; /* 0x2B019061: mov ebp, esp */ 1792 PUSH32(esp, ebx); /* 0x2B019063: push ebx */ 1793 PUSH32(esp, esi); /* 0x2B019064: push esi */ 1794 esi = MEM32(ebp + 0xC); /* 0x2B019065: mov esi, dword ptr [ebp + 0xc] */ 1795 eax = MEM32(esi + 0x4); /* 0x2B019068: mov eax, dword ptr [esi + 4] */ 1796 ebx = MEM32(esi); /* 0x2B01906B: mov ebx, dword ptr [esi] */ 1797 PUSH32(esp, edi); /* 0x2B01906D: push edi */ 1798 edi = ecx; /* 0x2B01906E: mov edi, ecx */ 1799 ecx = MEM32(esi); /* 0x2B019070: mov ecx, dword ptr [esi] */ 1800 MEM32(eax) = ecx; /* 0x2B019072: mov dword ptr [eax], ecx */ 1801 edx = MEM32(esi); /* 0x2B019074: mov edx, dword ptr [esi] */ 1802 eax = MEM32(esi + 0x4); /* 0x2B019076: mov eax, dword ptr [esi + 4] */ 1803 ecx = esi + 0x8; /* 0x2B019079: lea ecx, [esi + 8] */ 1804 MEM32(edx + 0x4) = eax; /* 0x2B01907C: mov dword ptr [edx + 4], eax */ 1805 RECOMP_ICALL(0x2B0170E0u); /* 0x2B01907F: call 0x2b0170e0 */ /* not lifted */ 1806 RECOMP_FLAGS_IN(); 1807 PUSH32(esp, esi); /* 0x2B019084: push esi */ 1808 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019085: call 0x2b0ab1ba */ /* not lifted */ 1809 RECOMP_FLAGS_IN(); 1810 eax = MEM32(edi + 0x8); /* 0x2B01908A: mov eax, dword ptr [edi + 8] */ 1811 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1812 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1813 esp = esp + 4; /* 0x2B01908D: add esp, 4 */ 1814 _flag_k = FK_ADD; 1815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1816 eax = eax - 1; /* 0x2B019090: dec eax */ 1817 _flag_k = FK_DEC; 1818 MEM32(edi + 0x8) = eax; /* 0x2B019091: mov dword ptr [edi + 8], eax */ 1819 eax = MEM32(ebp + 0x8); /* 0x2B019094: mov eax, dword ptr [ebp + 8] */ 1820 edi = POP32_VAL(esp); /* 0x2B019097: pop edi */ 1821 esi = POP32_VAL(esp); /* 0x2B019098: pop esi */ 1822 MEM32(eax) = ebx; /* 0x2B019099: mov dword ptr [eax], ebx */ 1823 ebx = POP32_VAL(esp); /* 0x2B01909B: pop ebx */ 1824 ebp = POP32_VAL(esp); /* 0x2B01909C: pop ebp */ 1825 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01909D: ret 8 */ 1826 RECOMP_REGS_OUT(); 1827 } 1828 1829 void sub_2B0190A0(void) { 1830 int _fpu_cmp = 0; 1831 uint32_t _cf = 0; 1832 int _df = 1; 1833 uint32_t _flag_k = FK_NONE; 1834 uint32_t _flag_a = 0, _flag_b = 0; 1835 uint32_t _itail_tgt = 0; 1836 RECOMP_REGS_LOCALS 1837 RECOMP_ENTER(0x2B0190A0u); 1838 1839 L_2B0190A0: 1840 PUSH32(esp, ebp); /* 0x2B0190A0: push ebp */ 1841 ebp = esp; /* 0x2B0190A1: mov ebp, esp */ 1842 PUSH32(esp, ebx); /* 0x2B0190A3: push ebx */ 1843 PUSH32(esp, esi); /* 0x2B0190A4: push esi */ 1844 ebx = ecx; /* 0x2B0190A5: mov ebx, ecx */ 1845 eax = MEM32(ebx + 0x8); /* 0x2B0190A7: mov eax, dword ptr [ebx + 8] */ 1846 PUSH32(esp, edi); /* 0x2B0190AA: push edi */ 1847 edi = MEM32(ebp + 0x8); /* 0x2B0190AB: mov edi, dword ptr [ebp + 8] */ 1848 /* cmp edi, eax */ /* 0x2B0190AE: cmp edi, eax */ 1849 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1851 _flag_k = FK_CMP; 1852 esi = edi; /* 0x2B0190B0: mov esi, edi */ 1853 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0190D3; /* 0x2B0190B2: je 0x2b0190d3 */ 1854 L_2B0190B4: 1855 eax = MEM32(esi + 0x8); /* 0x2B0190B4: mov eax, dword ptr [esi + 8] */ 1856 PUSH32(esp, eax); /* 0x2B0190B7: push eax */ 1857 ecx = ebx; /* 0x2B0190B8: mov ecx, ebx */ 1858 RECOMP_ICALL(0x2B0190A0u); /* 0x2B0190BA: call 0x2b0190a0 */ /* not lifted */ 1859 RECOMP_FLAGS_IN(); 1860 esi = MEM32(esi); /* 0x2B0190BF: mov esi, dword ptr [esi] */ 1861 PUSH32(esp, edi); /* 0x2B0190C1: push edi */ 1862 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0190C2: call 0x2b0ab1ba */ /* not lifted */ 1863 RECOMP_FLAGS_IN(); 1864 eax = MEM32(ebx + 0x8); /* 0x2B0190C7: mov eax, dword ptr [ebx + 8] */ 1865 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1866 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1867 esp = esp + 4; /* 0x2B0190CA: add esp, 4 */ 1868 _flag_k = FK_ADD; 1869 /* cmp esi, eax */ /* 0x2B0190CD: cmp esi, eax */ 1870 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1872 _flag_k = FK_CMP; 1873 edi = esi; /* 0x2B0190CF: mov edi, esi */ 1874 RECOMP_BACKEDGE(); 1875 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0190B4; /* 0x2B0190D1: jne 0x2b0190b4 */ 1876 L_2B0190D3: 1877 edi = POP32_VAL(esp); /* 0x2B0190D3: pop edi */ 1878 esi = POP32_VAL(esp); /* 0x2B0190D4: pop esi */ 1879 ebx = POP32_VAL(esp); /* 0x2B0190D5: pop ebx */ 1880 ebp = POP32_VAL(esp); /* 0x2B0190D6: pop ebp */ 1881 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B0190D7: ret 4 */ 1882 RECOMP_REGS_OUT(); 1883 } 1884 1885 void sub_2B0190E0(void) { 1886 int _fpu_cmp = 0; 1887 uint32_t _cf = 0; 1888 int _df = 1; 1889 uint32_t _flag_k = FK_NONE; 1890 uint32_t _flag_a = 0, _flag_b = 0; 1891 uint32_t _itail_tgt = 0; 1892 RECOMP_REGS_LOCALS 1893 RECOMP_ENTER(0x2B0190E0u); 1894 1895 L_2B0190E0: 1896 PUSH32(esp, ebp); /* 0x2B0190E0: push ebp */ 1897 ebp = esp; /* 0x2B0190E1: mov ebp, esp */ 1898 eax = MEM32(ebp + 0x8); /* 0x2B0190E3: mov eax, dword ptr [ebp + 8] */ 1899 ecx = MEM32(eax); /* 0x2B0190E6: mov ecx, dword ptr [eax] */ 1900 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x2B0190E8: mov dl, byte ptr [ecx + 0x15] */ 1901 /* test LO8(edx), LO8(edx) */ /* 0x2B0190EB: test dl, dl */ 1902 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1903 _cf = 0; 1904 _flag_k = FK_NARROW(FK_TEST, 24); 1905 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0190FA; /* 0x2B0190ED: jne 0x2b0190fa */ 1906 L_2B0190EF: 1907 eax = ecx; /* 0x2B0190EF: mov eax, ecx */ 1908 ecx = MEM32(eax); /* 0x2B0190F1: mov ecx, dword ptr [eax] */ 1909 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x2B0190F3: mov dl, byte ptr [ecx + 0x15] */ 1910 /* test LO8(edx), LO8(edx) */ /* 0x2B0190F6: test dl, dl */ 1911 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1912 _cf = 0; 1913 _flag_k = FK_NARROW(FK_TEST, 24); 1914 RECOMP_BACKEDGE(); 1915 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0190EF; /* 0x2B0190F8: je 0x2b0190ef */ 1916 L_2B0190FA: 1917 ebp = POP32_VAL(esp); /* 0x2B0190FA: pop ebp */ 1918 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0190FB: ret */ 1919 RECOMP_REGS_OUT(); 1920 } 1921 1922 void sub_2B019100(void) { 1923 int _fpu_cmp = 0; 1924 uint32_t _cf = 0; 1925 int _df = 1; 1926 uint32_t _flag_k = FK_NONE; 1927 uint32_t _flag_a = 0, _flag_b = 0; 1928 uint32_t _itail_tgt = 0; 1929 RECOMP_REGS_LOCALS 1930 RECOMP_ENTER(0x2B019100u); 1931 1932 L_2B019100: 1933 PUSH32(esp, ebp); /* 0x2B019100: push ebp */ 1934 ebp = esp; /* 0x2B019101: mov ebp, esp */ 1935 PUSH32(esp, ebx); /* 0x2B019103: push ebx */ 1936 PUSH32(esp, esi); /* 0x2B019104: push esi */ 1937 esi = MEM32(ecx); /* 0x2B019105: mov esi, dword ptr [ecx] */ 1938 edx = MEM32(esi + 0x8); /* 0x2B019107: mov edx, dword ptr [esi + 8] */ 1939 SET_LO8(eax, MEM8(edx + 0x15)); /* 0x2B01910A: mov al, byte ptr [edx + 0x15] */ 1940 /* test LO8(eax), LO8(eax) */ /* 0x2B01910D: test al, al */ 1941 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1942 _cf = 0; 1943 _flag_k = FK_NARROW(FK_TEST, 24); 1944 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019132; /* 0x2B01910F: jne 0x2b019132 */ 1945 L_2B019111: 1946 eax = MEM32(edx); /* 0x2B019111: mov eax, dword ptr [edx] */ 1947 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B019113: mov bl, byte ptr [eax + 0x15] */ 1948 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019116: test bl, bl */ 1949 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1950 _cf = 0; 1951 _flag_k = FK_NARROW(FK_TEST, 24); 1952 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019125; /* 0x2B019118: jne 0x2b019125 */ 1953 L_2B01911A: 1954 edx = eax; /* 0x2B01911A: mov edx, eax */ 1955 eax = MEM32(edx); /* 0x2B01911C: mov eax, dword ptr [edx] */ 1956 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x2B01911E: mov bl, byte ptr [eax + 0x15] */ 1957 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019121: test bl, bl */ 1958 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1959 _cf = 0; 1960 _flag_k = FK_NARROW(FK_TEST, 24); 1961 RECOMP_BACKEDGE(); 1962 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01911A; /* 0x2B019123: je 0x2b01911a */ 1963 L_2B019125: 1964 eax = MEM32(ebp + 0x8); /* 0x2B019125: mov eax, dword ptr [ebp + 8] */ 1965 MEM32(ecx) = edx; /* 0x2B019128: mov dword ptr [ecx], edx */ 1966 MEM32(eax) = esi; /* 0x2B01912A: mov dword ptr [eax], esi */ 1967 esi = POP32_VAL(esp); /* 0x2B01912C: pop esi */ 1968 ebx = POP32_VAL(esp); /* 0x2B01912D: pop ebx */ 1969 ebp = POP32_VAL(esp); /* 0x2B01912E: pop ebp */ 1970 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01912F: ret 8 */ 1971 L_2B019132: 1972 eax = MEM32(esi + 0x4); /* 0x2B019132: mov eax, dword ptr [esi + 4] */ 1973 edx = MEM32(ecx); /* 0x2B019135: mov edx, dword ptr [ecx] */ 1974 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B019137: cmp edx, dword ptr [eax + 8] */ 1975 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1977 _flag_k = FK_CMP; 1978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019148; /* 0x2B01913A: jne 0x2b019148 */ 1979 L_2B01913C: 1980 MEM32(ecx) = eax; /* 0x2B01913C: mov dword ptr [ecx], eax */ 1981 eax = MEM32(eax + 0x4); /* 0x2B01913E: mov eax, dword ptr [eax + 4] */ 1982 edx = MEM32(ecx); /* 0x2B019141: mov edx, dword ptr [ecx] */ 1983 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B019143: cmp edx, dword ptr [eax + 8] */ 1984 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1986 _flag_k = FK_CMP; 1987 RECOMP_BACKEDGE(); 1988 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01913C; /* 0x2B019146: je 0x2b01913c */ 1989 L_2B019148: 1990 edx = MEM32(ecx); /* 0x2B019148: mov edx, dword ptr [ecx] */ 1991 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B01914A: cmp dword ptr [edx + 8], eax */ 1992 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 1993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1994 _flag_k = FK_CMP; 1995 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019151; /* 0x2B01914D: je 0x2b019151 */ 1996 L_2B01914F: 1997 MEM32(ecx) = eax; /* 0x2B01914F: mov dword ptr [ecx], eax */ 1998 L_2B019151: 1999 eax = MEM32(ebp + 0x8); /* 0x2B019151: mov eax, dword ptr [ebp + 8] */ 2000 MEM32(eax) = esi; /* 0x2B019154: mov dword ptr [eax], esi */ 2001 esi = POP32_VAL(esp); /* 0x2B019156: pop esi */ 2002 ebx = POP32_VAL(esp); /* 0x2B019157: pop ebx */ 2003 ebp = POP32_VAL(esp); /* 0x2B019158: pop ebp */ 2004 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B019159: ret 8 */ 2005 RECOMP_REGS_OUT(); 2006 } 2007 2008 void sub_2B019160(void) { 2009 int _fpu_cmp = 0; 2010 uint32_t _cf = 0; 2011 int _df = 1; 2012 uint32_t _flag_k = FK_NONE; 2013 uint32_t _flag_a = 0, _flag_b = 0; 2014 uint32_t _itail_tgt = 0; 2015 RECOMP_REGS_LOCALS 2016 RECOMP_ENTER(0x2B019160u); 2017 2018 L_2B019160: 2019 PUSH32(esp, ebp); /* 0x2B019160: push ebp */ 2020 ebp = esp; /* 0x2B019161: mov ebp, esp */ 2021 PUSH32(esp, ecx); /* 0x2B019163: push ecx */ 2022 PUSH32(esp, ebx); /* 0x2B019164: push ebx */ 2023 PUSH32(esp, esi); /* 0x2B019165: push esi */ 2024 esi = MEM32(ebp + 0xC); /* 0x2B019166: mov esi, dword ptr [ebp + 0xc] */ 2025 PUSH32(esp, edi); /* 0x2B019169: push edi */ 2026 edi = ecx; /* 0x2B01916A: mov edi, ecx */ 2027 ecx = ebp + 0xC; /* 0x2B01916C: lea ecx, [ebp + 0xc] */ 2028 RECOMP_ICALL(0x2B0199D0u); /* 0x2B01916F: call 0x2b0199d0 */ /* not lifted */ 2029 RECOMP_FLAGS_IN(); 2030 edx = MEM32(esi); /* 0x2B019174: mov edx, dword ptr [esi] */ 2031 eax = MEM32(edi + 0x8); /* 0x2B019176: mov eax, dword ptr [edi + 8] */ 2032 /* cmp edx, eax */ /* 0x2B019179: cmp edx, eax */ 2033 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2035 _flag_k = FK_CMP; 2036 MEM32(ebp + (-0x4)) = esi; /* 0x2B01917B: mov dword ptr [ebp - 4], esi */ 2037 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0191A0; /* 0x2B01917E: jne 0x2b0191a0 */ 2038 L_2B019180: 2039 eax = MEM32(esi + 0x8); /* 0x2B019180: mov eax, dword ptr [esi + 8] */ 2040 L_2B019183: 2041 ecx = MEM32(ebp + (-0x4)); /* 0x2B019183: mov ecx, dword ptr [ebp - 4] */ 2042 edx = MEM32(ecx + 0x4); /* 0x2B019186: mov edx, dword ptr [ecx + 4] */ 2043 MEM32(eax + 0x4) = edx; /* 0x2B019189: mov dword ptr [eax + 4], edx */ 2044 ecx = MEM32(edi + 0x4); /* 0x2B01918C: mov ecx, dword ptr [edi + 4] */ 2045 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B01918F: cmp dword ptr [ecx + 4], esi */ 2046 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 2047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2048 _flag_k = FK_CMP; 2049 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019223; /* 0x2B019192: jne 0x2b019223 */ 2050 L_2B019198: 2051 MEM32(ecx + 0x4) = eax; /* 0x2B019198: mov dword ptr [ecx + 4], eax */ 2052 goto L_2B019231; /* 0x2B01919B: jmp 0x2b019231 */ 2053 L_2B0191A0: 2054 ecx = MEM32(esi + 0x8); /* 0x2B0191A0: mov ecx, dword ptr [esi + 8] */ 2055 /* cmp ecx, eax */ /* 0x2B0191A3: cmp ecx, eax */ 2056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2058 _flag_k = FK_CMP; 2059 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0191AB; /* 0x2B0191A5: jne 0x2b0191ab */ 2060 L_2B0191A7: 2061 eax = edx; /* 0x2B0191A7: mov eax, edx */ 2062 RECOMP_BACKEDGE(); 2063 goto L_2B019183; /* 0x2B0191A9: jmp 0x2b019183 */ 2064 L_2B0191AB: 2065 eax = MEM32(ecx); /* 0x2B0191AB: mov eax, dword ptr [ecx] */ 2066 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B0191AD: mov bl, byte ptr [eax + 0x25] */ 2067 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0191B0: test bl, bl */ 2068 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2069 _cf = 0; 2070 _flag_k = FK_NARROW(FK_TEST, 24); 2071 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0191BF; /* 0x2B0191B2: jne 0x2b0191bf */ 2072 L_2B0191B4: 2073 ecx = eax; /* 0x2B0191B4: mov ecx, eax */ 2074 eax = MEM32(ecx); /* 0x2B0191B6: mov eax, dword ptr [ecx] */ 2075 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B0191B8: mov bl, byte ptr [eax + 0x25] */ 2076 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0191BB: test bl, bl */ 2077 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2078 _cf = 0; 2079 _flag_k = FK_NARROW(FK_TEST, 24); 2080 RECOMP_BACKEDGE(); 2081 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0191B4; /* 0x2B0191BD: je 0x2b0191b4 */ 2082 L_2B0191BF: 2083 /* cmp ecx, esi */ /* 0x2B0191BF: cmp ecx, esi */ 2084 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 2085 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2086 _flag_k = FK_CMP; 2087 eax = MEM32(ecx + 0x8); /* 0x2B0191C1: mov eax, dword ptr [ecx + 8] */ 2088 MEM32(ebp + (-0x4)) = ecx; /* 0x2B0191C4: mov dword ptr [ebp - 4], ecx */ 2089 RECOMP_BACKEDGE(); 2090 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019183; /* 0x2B0191C7: je 0x2b019183 */ 2091 L_2B0191C9: 2092 MEM32(edx + 0x4) = ecx; /* 0x2B0191C9: mov dword ptr [edx + 4], ecx */ 2093 edx = MEM32(esi); /* 0x2B0191CC: mov edx, dword ptr [esi] */ 2094 MEM32(ecx) = edx; /* 0x2B0191CE: mov dword ptr [ecx], edx */ 2095 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0191D0: cmp ecx, dword ptr [esi + 8] */ 2096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2098 _flag_k = FK_CMP; 2099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0191DA; /* 0x2B0191D3: jne 0x2b0191da */ 2100 L_2B0191D5: 2101 MEM32(eax + 0x4) = ecx; /* 0x2B0191D5: mov dword ptr [eax + 4], ecx */ 2102 goto L_2B0191F1; /* 0x2B0191D8: jmp 0x2b0191f1 */ 2103 L_2B0191DA: 2104 edx = MEM32(ecx + 0x4); /* 0x2B0191DA: mov edx, dword ptr [ecx + 4] */ 2105 MEM32(eax + 0x4) = edx; /* 0x2B0191DD: mov dword ptr [eax + 4], edx */ 2106 edx = MEM32(ecx + 0x4); /* 0x2B0191E0: mov edx, dword ptr [ecx + 4] */ 2107 MEM32(edx) = eax; /* 0x2B0191E3: mov dword ptr [edx], eax */ 2108 edx = MEM32(esi + 0x8); /* 0x2B0191E5: mov edx, dword ptr [esi + 8] */ 2109 MEM32(ecx + 0x8) = edx; /* 0x2B0191E8: mov dword ptr [ecx + 8], edx */ 2110 edx = MEM32(esi + 0x8); /* 0x2B0191EB: mov edx, dword ptr [esi + 8] */ 2111 MEM32(edx + 0x4) = ecx; /* 0x2B0191EE: mov dword ptr [edx + 4], ecx */ 2112 L_2B0191F1: 2113 edx = MEM32(edi + 0x4); /* 0x2B0191F1: mov edx, dword ptr [edi + 4] */ 2114 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B0191F4: cmp dword ptr [edx + 4], esi */ 2115 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 2116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2117 _flag_k = FK_CMP; 2118 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0191FE; /* 0x2B0191F7: jne 0x2b0191fe */ 2119 L_2B0191F9: 2120 MEM32(edx + 0x4) = ecx; /* 0x2B0191F9: mov dword ptr [edx + 4], ecx */ 2121 goto L_2B01920C; /* 0x2B0191FC: jmp 0x2b01920c */ 2122 L_2B0191FE: 2123 edx = MEM32(esi + 0x4); /* 0x2B0191FE: mov edx, dword ptr [esi + 4] */ 2124 /* cmp MEM32(edx), esi */ /* 0x2B019201: cmp dword ptr [edx], esi */ 2125 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 2126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2127 _flag_k = FK_CMP; 2128 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019209; /* 0x2B019203: jne 0x2b019209 */ 2129 L_2B019205: 2130 MEM32(edx) = ecx; /* 0x2B019205: mov dword ptr [edx], ecx */ 2131 goto L_2B01920C; /* 0x2B019207: jmp 0x2b01920c */ 2132 L_2B019209: 2133 MEM32(edx + 0x8) = ecx; /* 0x2B019209: mov dword ptr [edx + 8], ecx */ 2134 L_2B01920C: 2135 edx = MEM32(esi + 0x4); /* 0x2B01920C: mov edx, dword ptr [esi + 4] */ 2136 MEM32(ecx + 0x4) = edx; /* 0x2B01920F: mov dword ptr [ecx + 4], edx */ 2137 SET_LO8(ebx, MEM8(esi + 0x24)); /* 0x2B019212: mov bl, byte ptr [esi + 0x24] */ 2138 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019215: mov dl, byte ptr [ecx + 0x24] */ 2139 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019218: mov byte ptr [ecx + 0x24], bl */ 2140 MEM8(esi + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B01921B: mov byte ptr [esi + 0x24], dl */ 2141 MEM32(ebp + (-0x4)) = esi; /* 0x2B01921E: mov dword ptr [ebp - 4], esi */ 2142 goto L_2B019288; /* 0x2B019221: jmp 0x2b019288 */ 2143 L_2B019223: 2144 ecx = MEM32(esi + 0x4); /* 0x2B019223: mov ecx, dword ptr [esi + 4] */ 2145 /* cmp MEM32(ecx), esi */ /* 0x2B019226: cmp dword ptr [ecx], esi */ 2146 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 2147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2148 _flag_k = FK_CMP; 2149 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01922E; /* 0x2B019228: jne 0x2b01922e */ 2150 L_2B01922A: 2151 MEM32(ecx) = eax; /* 0x2B01922A: mov dword ptr [ecx], eax */ 2152 goto L_2B019231; /* 0x2B01922C: jmp 0x2b019231 */ 2153 L_2B01922E: 2154 MEM32(ecx + 0x8) = eax; /* 0x2B01922E: mov dword ptr [ecx + 8], eax */ 2155 L_2B019231: 2156 ebx = MEM32(edi + 0x4); /* 0x2B019231: mov ebx, dword ptr [edi + 4] */ 2157 /* cmp MEM32(ebx), esi */ /* 0x2B019234: cmp dword ptr [ebx], esi */ 2158 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 2159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2160 _flag_k = FK_CMP; 2161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01925B; /* 0x2B019236: jne 0x2b01925b */ 2162 L_2B019238: 2163 ecx = MEM32(esi + 0x8); /* 0x2B019238: mov ecx, dword ptr [esi + 8] */ 2164 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01923B: cmp ecx, dword ptr [edi + 8] */ 2165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2167 _flag_k = FK_CMP; 2168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019245; /* 0x2B01923E: jne 0x2b019245 */ 2169 L_2B019240: 2170 edx = MEM32(esi + 0x4); /* 0x2B019240: mov edx, dword ptr [esi + 4] */ 2171 goto L_2B019259; /* 0x2B019243: jmp 0x2b019259 */ 2172 L_2B019245: 2173 ecx = MEM32(eax); /* 0x2B019245: mov ecx, dword ptr [eax] */ 2174 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B019247: cmp byte ptr [ecx + 0x25], 0 */ 2175 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2177 _flag_k = FK_NARROW(FK_CMP, 24); 2178 edx = eax; /* 0x2B01924B: mov edx, eax */ 2179 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019259; /* 0x2B01924D: jne 0x2b019259 */ 2180 L_2B01924F: 2181 edx = ecx; /* 0x2B01924F: mov edx, ecx */ 2182 ecx = MEM32(edx); /* 0x2B019251: mov ecx, dword ptr [edx] */ 2183 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B019253: cmp byte ptr [ecx + 0x25], 0 */ 2184 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2186 _flag_k = FK_NARROW(FK_CMP, 24); 2187 RECOMP_BACKEDGE(); 2188 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01924F; /* 0x2B019257: je 0x2b01924f */ 2189 L_2B019259: 2190 MEM32(ebx) = edx; /* 0x2B019259: mov dword ptr [ebx], edx */ 2191 L_2B01925B: 2192 ebx = MEM32(edi + 0x4); /* 0x2B01925B: mov ebx, dword ptr [edi + 4] */ 2193 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B01925E: cmp dword ptr [ebx + 8], esi */ 2194 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 2195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2196 _flag_k = FK_CMP; 2197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019288; /* 0x2B019261: jne 0x2b019288 */ 2198 L_2B019263: 2199 ecx = MEM32(esi); /* 0x2B019263: mov ecx, dword ptr [esi] */ 2200 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B019265: cmp ecx, dword ptr [edi + 8] */ 2201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2203 _flag_k = FK_CMP; 2204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01926F; /* 0x2B019268: jne 0x2b01926f */ 2205 L_2B01926A: 2206 edx = MEM32(esi + 0x4); /* 0x2B01926A: mov edx, dword ptr [esi + 4] */ 2207 goto L_2B019285; /* 0x2B01926D: jmp 0x2b019285 */ 2208 L_2B01926F: 2209 ecx = MEM32(eax + 0x8); /* 0x2B01926F: mov ecx, dword ptr [eax + 8] */ 2210 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B019272: cmp byte ptr [ecx + 0x25], 0 */ 2211 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2213 _flag_k = FK_NARROW(FK_CMP, 24); 2214 edx = eax; /* 0x2B019276: mov edx, eax */ 2215 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019285; /* 0x2B019278: jne 0x2b019285 */ 2216 L_2B01927A: 2217 edx = ecx; /* 0x2B01927A: mov edx, ecx */ 2218 ecx = MEM32(edx + 0x8); /* 0x2B01927C: mov ecx, dword ptr [edx + 8] */ 2219 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B01927F: cmp byte ptr [ecx + 0x25], 0 */ 2220 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2222 _flag_k = FK_NARROW(FK_CMP, 24); 2223 RECOMP_BACKEDGE(); 2224 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01927A; /* 0x2B019283: je 0x2b01927a */ 2225 L_2B019285: 2226 MEM32(ebx + 0x8) = edx; /* 0x2B019285: mov dword ptr [ebx + 8], edx */ 2227 L_2B019288: 2228 esi = MEM32(ebp + (-0x4)); /* 0x2B019288: mov esi, dword ptr [ebp - 4] */ 2229 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x2B01928B: mov cl, byte ptr [esi + 0x24] */ 2230 SET_LO8(ebx, 1); /* 0x2B01928E: mov bl, 1 */ 2231 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B019290: cmp cl, bl */ 2232 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2234 _flag_k = FK_NARROW(FK_CMP, 24); 2235 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F8; /* 0x2B019292: jne 0x2b0194f8 */ 2236 L_2B019298: 2237 ecx = MEM32(edi + 0x4); /* 0x2B019298: mov ecx, dword ptr [edi + 4] */ 2238 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B01929B: cmp eax, dword ptr [ecx + 4] */ 2239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2241 _flag_k = FK_CMP; 2242 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B01929E: je 0x2b0194f2 */ 2243 L_2B0192A4: 2244 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 2245 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2247 _flag_k = FK_NARROW(FK_CMP, 24); 2248 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 2249 L_2B0192AD: 2250 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 2251 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 2252 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 2253 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2255 _flag_k = FK_CMP; 2256 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 2257 L_2B0192B6: 2258 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 2259 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 2260 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 2261 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2262 _cf = 0; 2263 _flag_k = FK_NARROW(FK_TEST, 24); 2264 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 2265 L_2B0192C0: 2266 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 2267 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 2268 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 2269 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 2270 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 2271 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 2272 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 2273 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 2274 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 2275 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2277 _flag_k = FK_CMP; 2278 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 2279 L_2B0192DC: 2280 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 2281 L_2B0192DF: 2282 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 2283 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 2284 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 2285 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 2286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2288 _flag_k = FK_CMP; 2289 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 2290 L_2B0192ED: 2291 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 2292 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 2293 L_2B0192F2: 2294 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 2295 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 2296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2298 _flag_k = FK_CMP; 2299 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 2300 L_2B0192F9: 2301 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 2302 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 2303 L_2B0192FD: 2304 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 2305 L_2B019300: 2306 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 2307 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 2308 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 2309 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 2310 L_2B01930B: 2311 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 2312 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 2313 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2315 _flag_k = FK_NARROW(FK_CMP, 24); 2316 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 2317 L_2B019316: 2318 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 2319 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 2320 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2322 _flag_k = FK_NARROW(FK_CMP, 24); 2323 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 2324 L_2B019322: 2325 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 2326 L_2B019324: 2327 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 2328 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 2329 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2330 _cf = 0; 2331 _flag_k = FK_NARROW(FK_TEST, 24); 2332 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 2333 L_2B01932B: 2334 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 2335 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 2336 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 2337 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 2338 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 2339 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 2340 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 2341 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 2342 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 2343 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2345 _flag_k = FK_CMP; 2346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 2347 L_2B019347: 2348 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 2349 L_2B01934A: 2350 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 2351 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 2352 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 2353 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 2354 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2356 _flag_k = FK_CMP; 2357 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 2358 L_2B019358: 2359 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 2360 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 2361 L_2B01935D: 2362 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 2363 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 2364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2366 _flag_k = FK_CMP; 2367 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 2368 L_2B019365: 2369 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 2370 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 2371 L_2B01936A: 2372 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 2373 L_2B01936C: 2374 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 2375 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 2376 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 2377 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 2378 L_2B019377: 2379 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 2380 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 2381 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2383 _flag_k = FK_NARROW(FK_CMP, 24); 2384 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 2385 L_2B019383: 2386 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 2387 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 2388 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2390 _flag_k = FK_NARROW(FK_CMP, 24); 2391 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 2392 L_2B01938E: 2393 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 2394 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 2395 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 2396 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 2397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2399 _flag_k = FK_CMP; 2400 RECOMP_BACKEDGE(); 2401 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 2402 L_2B0193A1: 2403 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 2404 L_2B0193A6: 2405 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 2406 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 2407 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2409 _flag_k = FK_NARROW(FK_CMP, 24); 2410 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 2411 L_2B0193AE: 2412 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 2413 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 2414 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 2415 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 2416 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 2417 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 2418 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 2419 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 2420 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2421 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2422 _flag_k = FK_CMP; 2423 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 2424 L_2B0193C6: 2425 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 2426 L_2B0193C9: 2427 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 2428 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 2429 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 2430 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 2431 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2433 _flag_k = FK_CMP; 2434 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 2435 L_2B0193D7: 2436 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 2437 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 2438 L_2B0193DC: 2439 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 2440 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 2441 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2443 _flag_k = FK_CMP; 2444 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 2445 L_2B0193E4: 2446 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 2447 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 2448 L_2B0193E9: 2449 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 2450 L_2B0193EB: 2451 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 2452 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 2453 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 2454 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 2455 L_2B0193F7: 2456 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 2457 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 2458 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 2459 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 2460 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 2461 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 2462 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 2463 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 2464 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 2465 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 2466 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 2467 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 2468 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 2469 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2471 _flag_k = FK_CMP; 2472 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 2473 L_2B01941E: 2474 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 2475 L_2B019421: 2476 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 2477 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 2478 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 2479 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 2480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2482 _flag_k = FK_CMP; 2483 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 2484 L_2B01942F: 2485 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 2486 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 2487 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 2488 L_2B019439: 2489 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 2490 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 2491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2493 _flag_k = FK_CMP; 2494 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 2495 L_2B019440: 2496 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 2497 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 2498 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 2499 L_2B019449: 2500 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 2501 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 2502 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 2503 L_2B019453: 2504 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 2505 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 2506 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2508 _flag_k = FK_NARROW(FK_CMP, 24); 2509 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 2510 L_2B01945A: 2511 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 2512 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 2513 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 2514 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 2515 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 2516 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 2517 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 2518 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 2519 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2521 _flag_k = FK_CMP; 2522 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 2523 L_2B019473: 2524 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 2525 L_2B019476: 2526 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 2527 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 2528 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 2529 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 2530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2532 _flag_k = FK_CMP; 2533 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 2534 L_2B019484: 2535 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 2536 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 2537 L_2B019489: 2538 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 2539 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 2540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2542 _flag_k = FK_CMP; 2543 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 2544 L_2B019490: 2545 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 2546 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 2547 L_2B019494: 2548 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 2549 L_2B019497: 2550 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 2551 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 2552 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 2553 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 2554 L_2B0194A1: 2555 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 2556 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 2557 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 2558 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 2559 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 2560 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 2561 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 2562 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 2563 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 2564 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 2565 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 2566 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 2567 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 2568 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2570 _flag_k = FK_CMP; 2571 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 2572 L_2B0194C7: 2573 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 2574 L_2B0194CA: 2575 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 2576 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 2577 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 2578 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 2579 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2581 _flag_k = FK_CMP; 2582 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 2583 L_2B0194D8: 2584 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 2585 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 2586 L_2B0194DD: 2587 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 2588 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 2589 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2591 _flag_k = FK_CMP; 2592 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 2593 L_2B0194E5: 2594 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 2595 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 2596 L_2B0194EA: 2597 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 2598 L_2B0194EC: 2599 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 2600 L_2B0194EF: 2601 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 2602 L_2B0194F2: 2603 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 2604 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 2605 L_2B0194F8: 2606 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 2607 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 2608 RECOMP_FLAGS_IN(); 2609 PUSH32(esp, esi); /* 0x2B019500: push esi */ 2610 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 2611 RECOMP_FLAGS_IN(); 2612 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 2613 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 2614 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2615 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2616 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 2617 _flag_k = FK_ADD; 2618 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2619 eax = eax - 1; /* 0x2B01950F: dec eax */ 2620 _flag_k = FK_DEC; 2621 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 2622 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 2623 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 2624 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 2625 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 2626 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 2627 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 2628 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 2629 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 2630 RECOMP_REGS_OUT(); 2631 } 2632 2633 void sub_2B019231(void) { 2634 int _fpu_cmp = 0; 2635 uint32_t _cf = 0; 2636 int _df = 1; 2637 uint32_t _flag_k = FK_NONE; 2638 uint32_t _flag_a = 0, _flag_b = 0; 2639 uint32_t _itail_tgt = 0; 2640 RECOMP_REGS_LOCALS 2641 RECOMP_ENTER(0x2B019231u); 2642 2643 L_2B019231: 2644 ebx = MEM32(edi + 0x4); /* 0x2B019231: mov ebx, dword ptr [edi + 4] */ 2645 /* cmp MEM32(ebx), esi */ /* 0x2B019234: cmp dword ptr [ebx], esi */ 2646 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 2647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2648 _flag_k = FK_CMP; 2649 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01925B; /* 0x2B019236: jne 0x2b01925b */ 2650 L_2B019238: 2651 ecx = MEM32(esi + 0x8); /* 0x2B019238: mov ecx, dword ptr [esi + 8] */ 2652 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01923B: cmp ecx, dword ptr [edi + 8] */ 2653 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2655 _flag_k = FK_CMP; 2656 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019245; /* 0x2B01923E: jne 0x2b019245 */ 2657 L_2B019240: 2658 edx = MEM32(esi + 0x4); /* 0x2B019240: mov edx, dword ptr [esi + 4] */ 2659 goto L_2B019259; /* 0x2B019243: jmp 0x2b019259 */ 2660 L_2B019245: 2661 ecx = MEM32(eax); /* 0x2B019245: mov ecx, dword ptr [eax] */ 2662 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B019247: cmp byte ptr [ecx + 0x25], 0 */ 2663 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2665 _flag_k = FK_NARROW(FK_CMP, 24); 2666 edx = eax; /* 0x2B01924B: mov edx, eax */ 2667 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019259; /* 0x2B01924D: jne 0x2b019259 */ 2668 L_2B01924F: 2669 edx = ecx; /* 0x2B01924F: mov edx, ecx */ 2670 ecx = MEM32(edx); /* 0x2B019251: mov ecx, dword ptr [edx] */ 2671 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B019253: cmp byte ptr [ecx + 0x25], 0 */ 2672 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2674 _flag_k = FK_NARROW(FK_CMP, 24); 2675 RECOMP_BACKEDGE(); 2676 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01924F; /* 0x2B019257: je 0x2b01924f */ 2677 L_2B019259: 2678 MEM32(ebx) = edx; /* 0x2B019259: mov dword ptr [ebx], edx */ 2679 L_2B01925B: 2680 ebx = MEM32(edi + 0x4); /* 0x2B01925B: mov ebx, dword ptr [edi + 4] */ 2681 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B01925E: cmp dword ptr [ebx + 8], esi */ 2682 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 2683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2684 _flag_k = FK_CMP; 2685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019288; /* 0x2B019261: jne 0x2b019288 */ 2686 L_2B019263: 2687 ecx = MEM32(esi); /* 0x2B019263: mov ecx, dword ptr [esi] */ 2688 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B019265: cmp ecx, dword ptr [edi + 8] */ 2689 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2691 _flag_k = FK_CMP; 2692 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01926F; /* 0x2B019268: jne 0x2b01926f */ 2693 L_2B01926A: 2694 edx = MEM32(esi + 0x4); /* 0x2B01926A: mov edx, dword ptr [esi + 4] */ 2695 goto L_2B019285; /* 0x2B01926D: jmp 0x2b019285 */ 2696 L_2B01926F: 2697 ecx = MEM32(eax + 0x8); /* 0x2B01926F: mov ecx, dword ptr [eax + 8] */ 2698 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B019272: cmp byte ptr [ecx + 0x25], 0 */ 2699 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2701 _flag_k = FK_NARROW(FK_CMP, 24); 2702 edx = eax; /* 0x2B019276: mov edx, eax */ 2703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019285; /* 0x2B019278: jne 0x2b019285 */ 2704 L_2B01927A: 2705 edx = ecx; /* 0x2B01927A: mov edx, ecx */ 2706 ecx = MEM32(edx + 0x8); /* 0x2B01927C: mov ecx, dword ptr [edx + 8] */ 2707 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B01927F: cmp byte ptr [ecx + 0x25], 0 */ 2708 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2710 _flag_k = FK_NARROW(FK_CMP, 24); 2711 RECOMP_BACKEDGE(); 2712 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01927A; /* 0x2B019283: je 0x2b01927a */ 2713 L_2B019285: 2714 MEM32(ebx + 0x8) = edx; /* 0x2B019285: mov dword ptr [ebx + 8], edx */ 2715 L_2B019288: 2716 esi = MEM32(ebp + (-0x4)); /* 0x2B019288: mov esi, dword ptr [ebp - 4] */ 2717 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x2B01928B: mov cl, byte ptr [esi + 0x24] */ 2718 SET_LO8(ebx, 1); /* 0x2B01928E: mov bl, 1 */ 2719 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B019290: cmp cl, bl */ 2720 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2722 _flag_k = FK_NARROW(FK_CMP, 24); 2723 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F8; /* 0x2B019292: jne 0x2b0194f8 */ 2724 L_2B019298: 2725 ecx = MEM32(edi + 0x4); /* 0x2B019298: mov ecx, dword ptr [edi + 4] */ 2726 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B01929B: cmp eax, dword ptr [ecx + 4] */ 2727 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2729 _flag_k = FK_CMP; 2730 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B01929E: je 0x2b0194f2 */ 2731 L_2B0192A4: 2732 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 2733 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2735 _flag_k = FK_NARROW(FK_CMP, 24); 2736 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 2737 L_2B0192AD: 2738 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 2739 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 2740 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 2741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2743 _flag_k = FK_CMP; 2744 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 2745 L_2B0192B6: 2746 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 2747 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 2748 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 2749 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2750 _cf = 0; 2751 _flag_k = FK_NARROW(FK_TEST, 24); 2752 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 2753 L_2B0192C0: 2754 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 2755 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 2756 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 2757 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 2758 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 2759 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 2760 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 2761 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 2762 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 2763 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2765 _flag_k = FK_CMP; 2766 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 2767 L_2B0192DC: 2768 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 2769 L_2B0192DF: 2770 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 2771 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 2772 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 2773 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 2774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2776 _flag_k = FK_CMP; 2777 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 2778 L_2B0192ED: 2779 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 2780 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 2781 L_2B0192F2: 2782 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 2783 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 2784 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2786 _flag_k = FK_CMP; 2787 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 2788 L_2B0192F9: 2789 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 2790 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 2791 L_2B0192FD: 2792 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 2793 L_2B019300: 2794 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 2795 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 2796 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 2797 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 2798 L_2B01930B: 2799 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 2800 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 2801 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2803 _flag_k = FK_NARROW(FK_CMP, 24); 2804 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 2805 L_2B019316: 2806 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 2807 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 2808 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2810 _flag_k = FK_NARROW(FK_CMP, 24); 2811 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 2812 L_2B019322: 2813 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 2814 L_2B019324: 2815 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 2816 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 2817 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2818 _cf = 0; 2819 _flag_k = FK_NARROW(FK_TEST, 24); 2820 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 2821 L_2B01932B: 2822 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 2823 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 2824 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 2825 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 2826 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 2827 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 2828 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 2829 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 2830 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 2831 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2833 _flag_k = FK_CMP; 2834 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 2835 L_2B019347: 2836 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 2837 L_2B01934A: 2838 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 2839 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 2840 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 2841 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 2842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2844 _flag_k = FK_CMP; 2845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 2846 L_2B019358: 2847 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 2848 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 2849 L_2B01935D: 2850 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 2851 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 2852 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2853 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2854 _flag_k = FK_CMP; 2855 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 2856 L_2B019365: 2857 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 2858 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 2859 L_2B01936A: 2860 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 2861 L_2B01936C: 2862 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 2863 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 2864 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 2865 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 2866 L_2B019377: 2867 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 2868 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 2869 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2871 _flag_k = FK_NARROW(FK_CMP, 24); 2872 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 2873 L_2B019383: 2874 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 2875 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 2876 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2878 _flag_k = FK_NARROW(FK_CMP, 24); 2879 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 2880 L_2B01938E: 2881 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 2882 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 2883 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 2884 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 2885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2887 _flag_k = FK_CMP; 2888 RECOMP_BACKEDGE(); 2889 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 2890 L_2B0193A1: 2891 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 2892 L_2B0193A6: 2893 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 2894 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 2895 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2897 _flag_k = FK_NARROW(FK_CMP, 24); 2898 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 2899 L_2B0193AE: 2900 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 2901 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 2902 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 2903 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 2904 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 2905 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 2906 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 2907 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 2908 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2910 _flag_k = FK_CMP; 2911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 2912 L_2B0193C6: 2913 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 2914 L_2B0193C9: 2915 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 2916 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 2917 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 2918 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 2919 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2921 _flag_k = FK_CMP; 2922 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 2923 L_2B0193D7: 2924 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 2925 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 2926 L_2B0193DC: 2927 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 2928 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 2929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2931 _flag_k = FK_CMP; 2932 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 2933 L_2B0193E4: 2934 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 2935 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 2936 L_2B0193E9: 2937 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 2938 L_2B0193EB: 2939 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 2940 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 2941 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 2942 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 2943 L_2B0193F7: 2944 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 2945 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 2946 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 2947 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 2948 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 2949 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 2950 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 2951 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 2952 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 2953 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 2954 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 2955 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 2956 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 2957 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2959 _flag_k = FK_CMP; 2960 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 2961 L_2B01941E: 2962 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 2963 L_2B019421: 2964 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 2965 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 2966 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 2967 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 2968 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2970 _flag_k = FK_CMP; 2971 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 2972 L_2B01942F: 2973 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 2974 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 2975 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 2976 L_2B019439: 2977 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 2978 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 2979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2981 _flag_k = FK_CMP; 2982 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 2983 L_2B019440: 2984 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 2985 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 2986 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 2987 L_2B019449: 2988 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 2989 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 2990 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 2991 L_2B019453: 2992 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 2993 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 2994 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2996 _flag_k = FK_NARROW(FK_CMP, 24); 2997 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 2998 L_2B01945A: 2999 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 3000 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 3001 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 3002 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 3003 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 3004 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 3005 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 3006 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 3007 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3009 _flag_k = FK_CMP; 3010 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 3011 L_2B019473: 3012 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 3013 L_2B019476: 3014 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 3015 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 3016 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 3017 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 3018 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3020 _flag_k = FK_CMP; 3021 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 3022 L_2B019484: 3023 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 3024 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 3025 L_2B019489: 3026 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 3027 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 3028 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3030 _flag_k = FK_CMP; 3031 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 3032 L_2B019490: 3033 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 3034 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 3035 L_2B019494: 3036 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 3037 L_2B019497: 3038 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 3039 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 3040 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 3041 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 3042 L_2B0194A1: 3043 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 3044 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 3045 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 3046 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 3047 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 3048 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 3049 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 3050 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 3051 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 3052 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 3053 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 3054 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 3055 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 3056 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3058 _flag_k = FK_CMP; 3059 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 3060 L_2B0194C7: 3061 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 3062 L_2B0194CA: 3063 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 3064 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 3065 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 3066 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 3067 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3069 _flag_k = FK_CMP; 3070 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 3071 L_2B0194D8: 3072 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 3073 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 3074 L_2B0194DD: 3075 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 3076 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 3077 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3079 _flag_k = FK_CMP; 3080 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 3081 L_2B0194E5: 3082 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 3083 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 3084 L_2B0194EA: 3085 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 3086 L_2B0194EC: 3087 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 3088 L_2B0194EF: 3089 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 3090 L_2B0194F2: 3091 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 3092 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 3093 L_2B0194F8: 3094 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 3095 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 3096 RECOMP_FLAGS_IN(); 3097 PUSH32(esp, esi); /* 0x2B019500: push esi */ 3098 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 3099 RECOMP_FLAGS_IN(); 3100 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 3101 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 3102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3104 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 3105 _flag_k = FK_ADD; 3106 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3107 eax = eax - 1; /* 0x2B01950F: dec eax */ 3108 _flag_k = FK_DEC; 3109 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 3110 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 3111 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 3112 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 3113 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 3114 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 3115 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 3116 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 3117 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 3118 RECOMP_REGS_OUT(); 3119 } 3120 3121 void sub_2B019259(void) { 3122 int _fpu_cmp = 0; 3123 uint32_t _cf = 0; 3124 int _df = 1; 3125 uint32_t _flag_k = FK_NONE; 3126 uint32_t _flag_a = 0, _flag_b = 0; 3127 uint32_t _itail_tgt = 0; 3128 RECOMP_REGS_LOCALS 3129 RECOMP_ENTER(0x2B019259u); 3130 3131 L_2B019259: 3132 MEM32(ebx) = edx; /* 0x2B019259: mov dword ptr [ebx], edx */ 3133 ebx = MEM32(edi + 0x4); /* 0x2B01925B: mov ebx, dword ptr [edi + 4] */ 3134 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B01925E: cmp dword ptr [ebx + 8], esi */ 3135 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 3136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3137 _flag_k = FK_CMP; 3138 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019288; /* 0x2B019261: jne 0x2b019288 */ 3139 L_2B019263: 3140 ecx = MEM32(esi); /* 0x2B019263: mov ecx, dword ptr [esi] */ 3141 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B019265: cmp ecx, dword ptr [edi + 8] */ 3142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3144 _flag_k = FK_CMP; 3145 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01926F; /* 0x2B019268: jne 0x2b01926f */ 3146 L_2B01926A: 3147 edx = MEM32(esi + 0x4); /* 0x2B01926A: mov edx, dword ptr [esi + 4] */ 3148 goto L_2B019285; /* 0x2B01926D: jmp 0x2b019285 */ 3149 L_2B01926F: 3150 ecx = MEM32(eax + 0x8); /* 0x2B01926F: mov ecx, dword ptr [eax + 8] */ 3151 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B019272: cmp byte ptr [ecx + 0x25], 0 */ 3152 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 3153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3154 _flag_k = FK_NARROW(FK_CMP, 24); 3155 edx = eax; /* 0x2B019276: mov edx, eax */ 3156 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019285; /* 0x2B019278: jne 0x2b019285 */ 3157 L_2B01927A: 3158 edx = ecx; /* 0x2B01927A: mov edx, ecx */ 3159 ecx = MEM32(edx + 0x8); /* 0x2B01927C: mov ecx, dword ptr [edx + 8] */ 3160 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x2B01927F: cmp byte ptr [ecx + 0x25], 0 */ 3161 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 3162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3163 _flag_k = FK_NARROW(FK_CMP, 24); 3164 RECOMP_BACKEDGE(); 3165 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01927A; /* 0x2B019283: je 0x2b01927a */ 3166 L_2B019285: 3167 MEM32(ebx + 0x8) = edx; /* 0x2B019285: mov dword ptr [ebx + 8], edx */ 3168 L_2B019288: 3169 esi = MEM32(ebp + (-0x4)); /* 0x2B019288: mov esi, dword ptr [ebp - 4] */ 3170 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x2B01928B: mov cl, byte ptr [esi + 0x24] */ 3171 SET_LO8(ebx, 1); /* 0x2B01928E: mov bl, 1 */ 3172 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B019290: cmp cl, bl */ 3173 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3175 _flag_k = FK_NARROW(FK_CMP, 24); 3176 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F8; /* 0x2B019292: jne 0x2b0194f8 */ 3177 L_2B019298: 3178 ecx = MEM32(edi + 0x4); /* 0x2B019298: mov ecx, dword ptr [edi + 4] */ 3179 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B01929B: cmp eax, dword ptr [ecx + 4] */ 3180 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3182 _flag_k = FK_CMP; 3183 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B01929E: je 0x2b0194f2 */ 3184 L_2B0192A4: 3185 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 3186 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3188 _flag_k = FK_NARROW(FK_CMP, 24); 3189 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 3190 L_2B0192AD: 3191 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 3192 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 3193 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 3194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3196 _flag_k = FK_CMP; 3197 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 3198 L_2B0192B6: 3199 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 3200 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 3201 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 3202 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3203 _cf = 0; 3204 _flag_k = FK_NARROW(FK_TEST, 24); 3205 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 3206 L_2B0192C0: 3207 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 3208 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 3209 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 3210 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 3211 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 3212 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 3213 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 3214 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 3215 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 3216 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3218 _flag_k = FK_CMP; 3219 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 3220 L_2B0192DC: 3221 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 3222 L_2B0192DF: 3223 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 3224 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 3225 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 3226 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 3227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3229 _flag_k = FK_CMP; 3230 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 3231 L_2B0192ED: 3232 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 3233 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 3234 L_2B0192F2: 3235 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 3236 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 3237 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3239 _flag_k = FK_CMP; 3240 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 3241 L_2B0192F9: 3242 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 3243 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 3244 L_2B0192FD: 3245 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 3246 L_2B019300: 3247 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 3248 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 3249 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 3250 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 3251 L_2B01930B: 3252 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 3253 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 3254 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3256 _flag_k = FK_NARROW(FK_CMP, 24); 3257 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 3258 L_2B019316: 3259 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 3260 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 3261 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3263 _flag_k = FK_NARROW(FK_CMP, 24); 3264 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 3265 L_2B019322: 3266 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 3267 L_2B019324: 3268 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 3269 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 3270 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3271 _cf = 0; 3272 _flag_k = FK_NARROW(FK_TEST, 24); 3273 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 3274 L_2B01932B: 3275 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 3276 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 3277 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 3278 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 3279 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 3280 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 3281 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 3282 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 3283 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 3284 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3286 _flag_k = FK_CMP; 3287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 3288 L_2B019347: 3289 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 3290 L_2B01934A: 3291 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 3292 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 3293 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 3294 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 3295 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3297 _flag_k = FK_CMP; 3298 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 3299 L_2B019358: 3300 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 3301 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 3302 L_2B01935D: 3303 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 3304 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 3305 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3307 _flag_k = FK_CMP; 3308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 3309 L_2B019365: 3310 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 3311 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 3312 L_2B01936A: 3313 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 3314 L_2B01936C: 3315 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 3316 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 3317 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 3318 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 3319 L_2B019377: 3320 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 3321 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 3322 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3324 _flag_k = FK_NARROW(FK_CMP, 24); 3325 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 3326 L_2B019383: 3327 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 3328 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 3329 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3331 _flag_k = FK_NARROW(FK_CMP, 24); 3332 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 3333 L_2B01938E: 3334 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 3335 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 3336 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 3337 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 3338 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3340 _flag_k = FK_CMP; 3341 RECOMP_BACKEDGE(); 3342 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 3343 L_2B0193A1: 3344 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 3345 L_2B0193A6: 3346 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 3347 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 3348 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3350 _flag_k = FK_NARROW(FK_CMP, 24); 3351 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 3352 L_2B0193AE: 3353 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 3354 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 3355 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 3356 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 3357 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 3358 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 3359 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 3360 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 3361 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3363 _flag_k = FK_CMP; 3364 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 3365 L_2B0193C6: 3366 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 3367 L_2B0193C9: 3368 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 3369 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 3370 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 3371 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 3372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3374 _flag_k = FK_CMP; 3375 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 3376 L_2B0193D7: 3377 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 3378 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 3379 L_2B0193DC: 3380 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 3381 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 3382 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3384 _flag_k = FK_CMP; 3385 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 3386 L_2B0193E4: 3387 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 3388 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 3389 L_2B0193E9: 3390 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 3391 L_2B0193EB: 3392 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 3393 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 3394 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 3395 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 3396 L_2B0193F7: 3397 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 3398 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 3399 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 3400 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 3401 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 3402 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 3403 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 3404 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 3405 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 3406 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 3407 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 3408 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 3409 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 3410 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3412 _flag_k = FK_CMP; 3413 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 3414 L_2B01941E: 3415 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 3416 L_2B019421: 3417 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 3418 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 3419 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 3420 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 3421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3423 _flag_k = FK_CMP; 3424 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 3425 L_2B01942F: 3426 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 3427 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 3428 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 3429 L_2B019439: 3430 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 3431 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 3432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3434 _flag_k = FK_CMP; 3435 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 3436 L_2B019440: 3437 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 3438 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 3439 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 3440 L_2B019449: 3441 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 3442 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 3443 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 3444 L_2B019453: 3445 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 3446 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 3447 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3449 _flag_k = FK_NARROW(FK_CMP, 24); 3450 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 3451 L_2B01945A: 3452 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 3453 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 3454 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 3455 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 3456 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 3457 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 3458 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 3459 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 3460 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3462 _flag_k = FK_CMP; 3463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 3464 L_2B019473: 3465 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 3466 L_2B019476: 3467 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 3468 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 3469 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 3470 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 3471 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3473 _flag_k = FK_CMP; 3474 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 3475 L_2B019484: 3476 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 3477 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 3478 L_2B019489: 3479 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 3480 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 3481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3483 _flag_k = FK_CMP; 3484 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 3485 L_2B019490: 3486 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 3487 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 3488 L_2B019494: 3489 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 3490 L_2B019497: 3491 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 3492 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 3493 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 3494 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 3495 L_2B0194A1: 3496 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 3497 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 3498 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 3499 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 3500 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 3501 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 3502 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 3503 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 3504 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 3505 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 3506 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 3507 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 3508 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 3509 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3511 _flag_k = FK_CMP; 3512 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 3513 L_2B0194C7: 3514 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 3515 L_2B0194CA: 3516 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 3517 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 3518 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 3519 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 3520 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3522 _flag_k = FK_CMP; 3523 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 3524 L_2B0194D8: 3525 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 3526 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 3527 L_2B0194DD: 3528 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 3529 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 3530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3532 _flag_k = FK_CMP; 3533 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 3534 L_2B0194E5: 3535 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 3536 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 3537 L_2B0194EA: 3538 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 3539 L_2B0194EC: 3540 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 3541 L_2B0194EF: 3542 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 3543 L_2B0194F2: 3544 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 3545 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 3546 L_2B0194F8: 3547 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 3548 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 3549 RECOMP_FLAGS_IN(); 3550 PUSH32(esp, esi); /* 0x2B019500: push esi */ 3551 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 3552 RECOMP_FLAGS_IN(); 3553 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 3554 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 3555 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3556 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3557 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 3558 _flag_k = FK_ADD; 3559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3560 eax = eax - 1; /* 0x2B01950F: dec eax */ 3561 _flag_k = FK_DEC; 3562 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 3563 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 3564 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 3565 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 3566 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 3567 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 3568 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 3569 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 3570 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 3571 RECOMP_REGS_OUT(); 3572 } 3573 3574 void sub_2B019285(void) { 3575 int _fpu_cmp = 0; 3576 uint32_t _cf = 0; 3577 int _df = 1; 3578 uint32_t _flag_k = FK_NONE; 3579 uint32_t _flag_a = 0, _flag_b = 0; 3580 uint32_t _itail_tgt = 0; 3581 RECOMP_REGS_LOCALS 3582 RECOMP_ENTER(0x2B019285u); 3583 3584 L_2B019285: 3585 MEM32(ebx + 0x8) = edx; /* 0x2B019285: mov dword ptr [ebx + 8], edx */ 3586 esi = MEM32(ebp + (-0x4)); /* 0x2B019288: mov esi, dword ptr [ebp - 4] */ 3587 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x2B01928B: mov cl, byte ptr [esi + 0x24] */ 3588 SET_LO8(ebx, 1); /* 0x2B01928E: mov bl, 1 */ 3589 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B019290: cmp cl, bl */ 3590 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3592 _flag_k = FK_NARROW(FK_CMP, 24); 3593 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F8; /* 0x2B019292: jne 0x2b0194f8 */ 3594 L_2B019298: 3595 ecx = MEM32(edi + 0x4); /* 0x2B019298: mov ecx, dword ptr [edi + 4] */ 3596 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B01929B: cmp eax, dword ptr [ecx + 4] */ 3597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3599 _flag_k = FK_CMP; 3600 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B01929E: je 0x2b0194f2 */ 3601 L_2B0192A4: 3602 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 3603 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3605 _flag_k = FK_NARROW(FK_CMP, 24); 3606 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 3607 L_2B0192AD: 3608 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 3609 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 3610 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 3611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3613 _flag_k = FK_CMP; 3614 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 3615 L_2B0192B6: 3616 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 3617 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 3618 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 3619 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3620 _cf = 0; 3621 _flag_k = FK_NARROW(FK_TEST, 24); 3622 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 3623 L_2B0192C0: 3624 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 3625 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 3626 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 3627 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 3628 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 3629 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 3630 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 3631 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 3632 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 3633 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3635 _flag_k = FK_CMP; 3636 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 3637 L_2B0192DC: 3638 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 3639 L_2B0192DF: 3640 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 3641 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 3642 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 3643 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 3644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3646 _flag_k = FK_CMP; 3647 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 3648 L_2B0192ED: 3649 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 3650 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 3651 L_2B0192F2: 3652 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 3653 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 3654 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3656 _flag_k = FK_CMP; 3657 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 3658 L_2B0192F9: 3659 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 3660 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 3661 L_2B0192FD: 3662 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 3663 L_2B019300: 3664 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 3665 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 3666 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 3667 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 3668 L_2B01930B: 3669 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 3670 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 3671 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3673 _flag_k = FK_NARROW(FK_CMP, 24); 3674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 3675 L_2B019316: 3676 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 3677 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 3678 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3680 _flag_k = FK_NARROW(FK_CMP, 24); 3681 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 3682 L_2B019322: 3683 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 3684 L_2B019324: 3685 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 3686 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 3687 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3688 _cf = 0; 3689 _flag_k = FK_NARROW(FK_TEST, 24); 3690 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 3691 L_2B01932B: 3692 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 3693 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 3694 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 3695 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 3696 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 3697 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 3698 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 3699 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 3700 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 3701 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3703 _flag_k = FK_CMP; 3704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 3705 L_2B019347: 3706 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 3707 L_2B01934A: 3708 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 3709 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 3710 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 3711 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 3712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3714 _flag_k = FK_CMP; 3715 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 3716 L_2B019358: 3717 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 3718 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 3719 L_2B01935D: 3720 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 3721 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 3722 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3724 _flag_k = FK_CMP; 3725 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 3726 L_2B019365: 3727 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 3728 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 3729 L_2B01936A: 3730 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 3731 L_2B01936C: 3732 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 3733 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 3734 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 3735 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 3736 L_2B019377: 3737 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 3738 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 3739 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3741 _flag_k = FK_NARROW(FK_CMP, 24); 3742 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 3743 L_2B019383: 3744 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 3745 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 3746 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3748 _flag_k = FK_NARROW(FK_CMP, 24); 3749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 3750 L_2B01938E: 3751 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 3752 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 3753 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 3754 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 3755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3757 _flag_k = FK_CMP; 3758 RECOMP_BACKEDGE(); 3759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 3760 L_2B0193A1: 3761 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 3762 L_2B0193A6: 3763 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 3764 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 3765 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3767 _flag_k = FK_NARROW(FK_CMP, 24); 3768 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 3769 L_2B0193AE: 3770 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 3771 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 3772 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 3773 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 3774 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 3775 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 3776 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 3777 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 3778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3780 _flag_k = FK_CMP; 3781 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 3782 L_2B0193C6: 3783 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 3784 L_2B0193C9: 3785 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 3786 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 3787 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 3788 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 3789 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3791 _flag_k = FK_CMP; 3792 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 3793 L_2B0193D7: 3794 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 3795 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 3796 L_2B0193DC: 3797 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 3798 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 3799 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3801 _flag_k = FK_CMP; 3802 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 3803 L_2B0193E4: 3804 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 3805 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 3806 L_2B0193E9: 3807 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 3808 L_2B0193EB: 3809 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 3810 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 3811 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 3812 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 3813 L_2B0193F7: 3814 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 3815 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 3816 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 3817 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 3818 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 3819 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 3820 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 3821 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 3822 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 3823 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 3824 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 3825 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 3826 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 3827 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3829 _flag_k = FK_CMP; 3830 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 3831 L_2B01941E: 3832 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 3833 L_2B019421: 3834 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 3835 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 3836 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 3837 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 3838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3840 _flag_k = FK_CMP; 3841 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 3842 L_2B01942F: 3843 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 3844 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 3845 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 3846 L_2B019439: 3847 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 3848 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 3849 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3851 _flag_k = FK_CMP; 3852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 3853 L_2B019440: 3854 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 3855 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 3856 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 3857 L_2B019449: 3858 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 3859 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 3860 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 3861 L_2B019453: 3862 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 3863 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 3864 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3866 _flag_k = FK_NARROW(FK_CMP, 24); 3867 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 3868 L_2B01945A: 3869 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 3870 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 3871 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 3872 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 3873 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 3874 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 3875 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 3876 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 3877 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3879 _flag_k = FK_CMP; 3880 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 3881 L_2B019473: 3882 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 3883 L_2B019476: 3884 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 3885 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 3886 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 3887 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 3888 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3890 _flag_k = FK_CMP; 3891 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 3892 L_2B019484: 3893 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 3894 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 3895 L_2B019489: 3896 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 3897 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 3898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3900 _flag_k = FK_CMP; 3901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 3902 L_2B019490: 3903 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 3904 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 3905 L_2B019494: 3906 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 3907 L_2B019497: 3908 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 3909 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 3910 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 3911 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 3912 L_2B0194A1: 3913 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 3914 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 3915 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 3916 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 3917 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 3918 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 3919 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 3920 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 3921 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 3922 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 3923 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 3924 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 3925 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 3926 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3928 _flag_k = FK_CMP; 3929 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 3930 L_2B0194C7: 3931 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 3932 L_2B0194CA: 3933 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 3934 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 3935 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 3936 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 3937 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3939 _flag_k = FK_CMP; 3940 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 3941 L_2B0194D8: 3942 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 3943 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 3944 L_2B0194DD: 3945 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 3946 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 3947 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3949 _flag_k = FK_CMP; 3950 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 3951 L_2B0194E5: 3952 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 3953 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 3954 L_2B0194EA: 3955 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 3956 L_2B0194EC: 3957 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 3958 L_2B0194EF: 3959 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 3960 L_2B0194F2: 3961 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 3962 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 3963 L_2B0194F8: 3964 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 3965 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 3966 RECOMP_FLAGS_IN(); 3967 PUSH32(esp, esi); /* 0x2B019500: push esi */ 3968 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 3969 RECOMP_FLAGS_IN(); 3970 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 3971 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 3972 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3973 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3974 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 3975 _flag_k = FK_ADD; 3976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3977 eax = eax - 1; /* 0x2B01950F: dec eax */ 3978 _flag_k = FK_DEC; 3979 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 3980 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 3981 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 3982 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 3983 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 3984 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 3985 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 3986 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 3987 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 3988 RECOMP_REGS_OUT(); 3989 } 3990 3991 void sub_2B0192A4(void) { 3992 int _fpu_cmp = 0; 3993 uint32_t _cf = 0; 3994 int _df = 1; 3995 uint32_t _flag_k = FK_NONE; 3996 uint32_t _flag_a = 0, _flag_b = 0; 3997 uint32_t _itail_tgt = 0; 3998 RECOMP_REGS_LOCALS 3999 RECOMP_ENTER(0x2B0192A4u); 4000 4001 L_2B0192A4: 4002 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 4003 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4005 _flag_k = FK_NARROW(FK_CMP, 24); 4006 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 4007 L_2B0192AD: 4008 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 4009 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 4010 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 4011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4013 _flag_k = FK_CMP; 4014 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 4015 L_2B0192B6: 4016 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 4017 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 4018 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 4019 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4020 _cf = 0; 4021 _flag_k = FK_NARROW(FK_TEST, 24); 4022 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 4023 L_2B0192C0: 4024 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 4025 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 4026 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 4027 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 4028 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 4029 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 4030 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 4031 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 4032 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 4033 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4035 _flag_k = FK_CMP; 4036 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 4037 L_2B0192DC: 4038 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 4039 L_2B0192DF: 4040 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 4041 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 4042 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 4043 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 4044 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4046 _flag_k = FK_CMP; 4047 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 4048 L_2B0192ED: 4049 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 4050 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 4051 L_2B0192F2: 4052 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 4053 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 4054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4056 _flag_k = FK_CMP; 4057 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 4058 L_2B0192F9: 4059 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 4060 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 4061 L_2B0192FD: 4062 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 4063 L_2B019300: 4064 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 4065 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 4066 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 4067 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 4068 L_2B01930B: 4069 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 4070 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 4071 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4073 _flag_k = FK_NARROW(FK_CMP, 24); 4074 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 4075 L_2B019316: 4076 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 4077 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 4078 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4080 _flag_k = FK_NARROW(FK_CMP, 24); 4081 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 4082 L_2B019322: 4083 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 4084 L_2B019324: 4085 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 4086 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 4087 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4088 _cf = 0; 4089 _flag_k = FK_NARROW(FK_TEST, 24); 4090 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 4091 L_2B01932B: 4092 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 4093 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 4094 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 4095 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 4096 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 4097 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 4098 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 4099 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 4100 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 4101 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4103 _flag_k = FK_CMP; 4104 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 4105 L_2B019347: 4106 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 4107 L_2B01934A: 4108 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 4109 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 4110 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 4111 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 4112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4114 _flag_k = FK_CMP; 4115 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 4116 L_2B019358: 4117 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 4118 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 4119 L_2B01935D: 4120 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 4121 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 4122 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4124 _flag_k = FK_CMP; 4125 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 4126 L_2B019365: 4127 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 4128 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 4129 L_2B01936A: 4130 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 4131 L_2B01936C: 4132 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 4133 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 4134 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 4135 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 4136 L_2B019377: 4137 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 4138 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 4139 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4141 _flag_k = FK_NARROW(FK_CMP, 24); 4142 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 4143 L_2B019383: 4144 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 4145 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 4146 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4148 _flag_k = FK_NARROW(FK_CMP, 24); 4149 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 4150 L_2B01938E: 4151 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 4152 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 4153 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 4154 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 4155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4157 _flag_k = FK_CMP; 4158 RECOMP_BACKEDGE(); 4159 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 4160 L_2B0193A1: 4161 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 4162 L_2B0193A6: 4163 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 4164 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 4165 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4167 _flag_k = FK_NARROW(FK_CMP, 24); 4168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 4169 L_2B0193AE: 4170 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 4171 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 4172 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 4173 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 4174 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 4175 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 4176 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 4177 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 4178 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4180 _flag_k = FK_CMP; 4181 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 4182 L_2B0193C6: 4183 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 4184 L_2B0193C9: 4185 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 4186 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 4187 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 4188 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 4189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4191 _flag_k = FK_CMP; 4192 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 4193 L_2B0193D7: 4194 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 4195 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 4196 L_2B0193DC: 4197 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 4198 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 4199 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4201 _flag_k = FK_CMP; 4202 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 4203 L_2B0193E4: 4204 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 4205 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 4206 L_2B0193E9: 4207 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 4208 L_2B0193EB: 4209 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 4210 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 4211 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 4212 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 4213 L_2B0193F7: 4214 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 4215 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 4216 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 4217 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 4218 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 4219 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 4220 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 4221 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 4222 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 4223 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 4224 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 4225 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 4226 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 4227 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4229 _flag_k = FK_CMP; 4230 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 4231 L_2B01941E: 4232 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 4233 L_2B019421: 4234 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 4235 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 4236 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 4237 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 4238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4240 _flag_k = FK_CMP; 4241 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 4242 L_2B01942F: 4243 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 4244 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 4245 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 4246 L_2B019439: 4247 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 4248 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 4249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4251 _flag_k = FK_CMP; 4252 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 4253 L_2B019440: 4254 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 4255 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 4256 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 4257 L_2B019449: 4258 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 4259 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 4260 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 4261 L_2B019453: 4262 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 4263 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 4264 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4266 _flag_k = FK_NARROW(FK_CMP, 24); 4267 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 4268 L_2B01945A: 4269 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 4270 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 4271 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 4272 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 4273 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 4274 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 4275 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 4276 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 4277 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4279 _flag_k = FK_CMP; 4280 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 4281 L_2B019473: 4282 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 4283 L_2B019476: 4284 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 4285 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 4286 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 4287 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 4288 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4290 _flag_k = FK_CMP; 4291 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 4292 L_2B019484: 4293 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 4294 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 4295 L_2B019489: 4296 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 4297 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 4298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4300 _flag_k = FK_CMP; 4301 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 4302 L_2B019490: 4303 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 4304 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 4305 L_2B019494: 4306 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 4307 L_2B019497: 4308 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 4309 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 4310 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 4311 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 4312 L_2B0194A1: 4313 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 4314 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 4315 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 4316 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 4317 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 4318 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 4319 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 4320 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 4321 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 4322 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 4323 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 4324 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 4325 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 4326 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4328 _flag_k = FK_CMP; 4329 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 4330 L_2B0194C7: 4331 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 4332 L_2B0194CA: 4333 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 4334 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 4335 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 4336 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 4337 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4339 _flag_k = FK_CMP; 4340 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 4341 L_2B0194D8: 4342 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 4343 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 4344 L_2B0194DD: 4345 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 4346 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 4347 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4349 _flag_k = FK_CMP; 4350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 4351 L_2B0194E5: 4352 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 4353 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 4354 L_2B0194EA: 4355 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 4356 L_2B0194EC: 4357 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 4358 L_2B0194EF: 4359 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 4360 L_2B0194F2: 4361 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 4362 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 4363 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 4364 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 4365 RECOMP_FLAGS_IN(); 4366 PUSH32(esp, esi); /* 0x2B019500: push esi */ 4367 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 4368 RECOMP_FLAGS_IN(); 4369 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 4370 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 4371 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4372 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4373 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 4374 _flag_k = FK_ADD; 4375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4376 eax = eax - 1; /* 0x2B01950F: dec eax */ 4377 _flag_k = FK_DEC; 4378 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 4379 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 4380 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 4381 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 4382 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 4383 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 4384 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 4385 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 4386 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 4387 RECOMP_REGS_OUT(); 4388 } 4389 4390 void sub_2B019300(void) { 4391 int _fpu_cmp = 0; 4392 uint32_t _cf = 0; 4393 int _df = 1; 4394 uint32_t _flag_k = FK_NONE; 4395 uint32_t _flag_a = 0, _flag_b = 0; 4396 uint32_t _itail_tgt = 0; 4397 RECOMP_REGS_LOCALS 4398 RECOMP_ENTER(0x2B019300u); 4399 4400 goto L_2B019300; 4401 L_2B0192A4: 4402 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 4403 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4405 _flag_k = FK_NARROW(FK_CMP, 24); 4406 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 4407 L_2B0192AD: 4408 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 4409 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 4410 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 4411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4413 _flag_k = FK_CMP; 4414 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 4415 L_2B0192B6: 4416 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 4417 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 4418 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 4419 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4420 _cf = 0; 4421 _flag_k = FK_NARROW(FK_TEST, 24); 4422 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 4423 L_2B0192C0: 4424 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 4425 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 4426 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 4427 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 4428 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 4429 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 4430 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 4431 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 4432 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 4433 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4435 _flag_k = FK_CMP; 4436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 4437 L_2B0192DC: 4438 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 4439 L_2B0192DF: 4440 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 4441 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 4442 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 4443 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 4444 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4446 _flag_k = FK_CMP; 4447 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 4448 L_2B0192ED: 4449 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 4450 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 4451 L_2B0192F2: 4452 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 4453 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 4454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4456 _flag_k = FK_CMP; 4457 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 4458 L_2B0192F9: 4459 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 4460 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 4461 L_2B0192FD: 4462 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 4463 L_2B019300: 4464 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 4465 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 4466 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 4467 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 4468 L_2B01930B: 4469 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 4470 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 4471 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4473 _flag_k = FK_NARROW(FK_CMP, 24); 4474 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 4475 L_2B019316: 4476 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 4477 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 4478 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4480 _flag_k = FK_NARROW(FK_CMP, 24); 4481 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 4482 L_2B019322: 4483 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 4484 L_2B019324: 4485 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 4486 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 4487 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4488 _cf = 0; 4489 _flag_k = FK_NARROW(FK_TEST, 24); 4490 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 4491 L_2B01932B: 4492 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 4493 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 4494 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 4495 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 4496 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 4497 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 4498 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 4499 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 4500 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 4501 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4503 _flag_k = FK_CMP; 4504 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 4505 L_2B019347: 4506 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 4507 L_2B01934A: 4508 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 4509 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 4510 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 4511 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 4512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4514 _flag_k = FK_CMP; 4515 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 4516 L_2B019358: 4517 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 4518 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 4519 L_2B01935D: 4520 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 4521 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 4522 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4524 _flag_k = FK_CMP; 4525 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 4526 L_2B019365: 4527 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 4528 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 4529 L_2B01936A: 4530 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 4531 L_2B01936C: 4532 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 4533 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 4534 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 4535 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 4536 L_2B019377: 4537 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 4538 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 4539 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4541 _flag_k = FK_NARROW(FK_CMP, 24); 4542 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 4543 L_2B019383: 4544 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 4545 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 4546 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4548 _flag_k = FK_NARROW(FK_CMP, 24); 4549 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 4550 L_2B01938E: 4551 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 4552 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 4553 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 4554 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 4555 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4557 _flag_k = FK_CMP; 4558 RECOMP_BACKEDGE(); 4559 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 4560 L_2B0193A1: 4561 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 4562 L_2B0193A6: 4563 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 4564 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 4565 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4567 _flag_k = FK_NARROW(FK_CMP, 24); 4568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 4569 L_2B0193AE: 4570 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 4571 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 4572 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 4573 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 4574 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 4575 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 4576 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 4577 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 4578 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4580 _flag_k = FK_CMP; 4581 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 4582 L_2B0193C6: 4583 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 4584 L_2B0193C9: 4585 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 4586 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 4587 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 4588 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 4589 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4591 _flag_k = FK_CMP; 4592 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 4593 L_2B0193D7: 4594 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 4595 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 4596 L_2B0193DC: 4597 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 4598 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 4599 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4601 _flag_k = FK_CMP; 4602 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 4603 L_2B0193E4: 4604 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 4605 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 4606 L_2B0193E9: 4607 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 4608 L_2B0193EB: 4609 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 4610 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 4611 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 4612 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 4613 L_2B0193F7: 4614 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 4615 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 4616 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 4617 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 4618 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 4619 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 4620 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 4621 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 4622 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 4623 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 4624 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 4625 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 4626 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 4627 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4629 _flag_k = FK_CMP; 4630 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 4631 L_2B01941E: 4632 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 4633 L_2B019421: 4634 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 4635 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 4636 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 4637 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 4638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4640 _flag_k = FK_CMP; 4641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 4642 L_2B01942F: 4643 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 4644 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 4645 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 4646 L_2B019439: 4647 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 4648 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 4649 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4651 _flag_k = FK_CMP; 4652 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 4653 L_2B019440: 4654 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 4655 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 4656 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 4657 L_2B019449: 4658 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 4659 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 4660 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 4661 L_2B019453: 4662 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 4663 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 4664 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4666 _flag_k = FK_NARROW(FK_CMP, 24); 4667 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 4668 L_2B01945A: 4669 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 4670 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 4671 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 4672 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 4673 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 4674 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 4675 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 4676 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 4677 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4679 _flag_k = FK_CMP; 4680 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 4681 L_2B019473: 4682 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 4683 L_2B019476: 4684 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 4685 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 4686 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 4687 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 4688 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4690 _flag_k = FK_CMP; 4691 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 4692 L_2B019484: 4693 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 4694 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 4695 L_2B019489: 4696 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 4697 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 4698 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4700 _flag_k = FK_CMP; 4701 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 4702 L_2B019490: 4703 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 4704 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 4705 L_2B019494: 4706 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 4707 L_2B019497: 4708 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 4709 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 4710 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 4711 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 4712 L_2B0194A1: 4713 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 4714 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 4715 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 4716 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 4717 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 4718 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 4719 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 4720 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 4721 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 4722 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 4723 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 4724 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 4725 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 4726 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4728 _flag_k = FK_CMP; 4729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 4730 L_2B0194C7: 4731 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 4732 L_2B0194CA: 4733 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 4734 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 4735 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 4736 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 4737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4739 _flag_k = FK_CMP; 4740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 4741 L_2B0194D8: 4742 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 4743 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 4744 L_2B0194DD: 4745 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 4746 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 4747 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4749 _flag_k = FK_CMP; 4750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 4751 L_2B0194E5: 4752 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 4753 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 4754 L_2B0194EA: 4755 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 4756 L_2B0194EC: 4757 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 4758 L_2B0194EF: 4759 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 4760 L_2B0194F2: 4761 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 4762 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 4763 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 4764 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 4765 RECOMP_FLAGS_IN(); 4766 PUSH32(esp, esi); /* 0x2B019500: push esi */ 4767 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 4768 RECOMP_FLAGS_IN(); 4769 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 4770 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 4771 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4772 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4773 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 4774 _flag_k = FK_ADD; 4775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4776 eax = eax - 1; /* 0x2B01950F: dec eax */ 4777 _flag_k = FK_DEC; 4778 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 4779 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 4780 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 4781 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 4782 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 4783 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 4784 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 4785 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 4786 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 4787 RECOMP_REGS_OUT(); 4788 } 4789 4790 void sub_2B01930B(void) { 4791 int _fpu_cmp = 0; 4792 uint32_t _cf = 0; 4793 int _df = 1; 4794 uint32_t _flag_k = FK_NONE; 4795 uint32_t _flag_a = 0, _flag_b = 0; 4796 uint32_t _itail_tgt = 0; 4797 RECOMP_REGS_LOCALS 4798 RECOMP_ENTER(0x2B01930Bu); 4799 4800 goto L_2B01930B; 4801 L_2B0192A4: 4802 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 4803 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4805 _flag_k = FK_NARROW(FK_CMP, 24); 4806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 4807 L_2B0192AD: 4808 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 4809 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 4810 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 4811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4813 _flag_k = FK_CMP; 4814 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 4815 L_2B0192B6: 4816 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 4817 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 4818 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 4819 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4820 _cf = 0; 4821 _flag_k = FK_NARROW(FK_TEST, 24); 4822 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 4823 L_2B0192C0: 4824 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 4825 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 4826 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 4827 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 4828 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 4829 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 4830 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 4831 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 4832 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 4833 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4835 _flag_k = FK_CMP; 4836 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 4837 L_2B0192DC: 4838 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 4839 L_2B0192DF: 4840 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 4841 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 4842 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 4843 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 4844 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4846 _flag_k = FK_CMP; 4847 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 4848 L_2B0192ED: 4849 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 4850 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 4851 L_2B0192F2: 4852 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 4853 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 4854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4856 _flag_k = FK_CMP; 4857 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 4858 L_2B0192F9: 4859 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 4860 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 4861 L_2B0192FD: 4862 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 4863 L_2B019300: 4864 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 4865 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 4866 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 4867 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 4868 L_2B01930B: 4869 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 4870 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 4871 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4873 _flag_k = FK_NARROW(FK_CMP, 24); 4874 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 4875 L_2B019316: 4876 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 4877 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 4878 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4880 _flag_k = FK_NARROW(FK_CMP, 24); 4881 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 4882 L_2B019322: 4883 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 4884 L_2B019324: 4885 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 4886 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 4887 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4888 _cf = 0; 4889 _flag_k = FK_NARROW(FK_TEST, 24); 4890 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 4891 L_2B01932B: 4892 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 4893 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 4894 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 4895 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 4896 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 4897 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 4898 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 4899 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 4900 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 4901 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4903 _flag_k = FK_CMP; 4904 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 4905 L_2B019347: 4906 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 4907 L_2B01934A: 4908 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 4909 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 4910 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 4911 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 4912 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4914 _flag_k = FK_CMP; 4915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 4916 L_2B019358: 4917 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 4918 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 4919 L_2B01935D: 4920 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 4921 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 4922 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4924 _flag_k = FK_CMP; 4925 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 4926 L_2B019365: 4927 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 4928 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 4929 L_2B01936A: 4930 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 4931 L_2B01936C: 4932 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 4933 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 4934 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 4935 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 4936 L_2B019377: 4937 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 4938 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 4939 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4941 _flag_k = FK_NARROW(FK_CMP, 24); 4942 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 4943 L_2B019383: 4944 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 4945 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 4946 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4948 _flag_k = FK_NARROW(FK_CMP, 24); 4949 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 4950 L_2B01938E: 4951 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 4952 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 4953 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 4954 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 4955 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4957 _flag_k = FK_CMP; 4958 RECOMP_BACKEDGE(); 4959 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 4960 L_2B0193A1: 4961 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 4962 L_2B0193A6: 4963 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 4964 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 4965 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4967 _flag_k = FK_NARROW(FK_CMP, 24); 4968 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 4969 L_2B0193AE: 4970 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 4971 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 4972 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 4973 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 4974 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 4975 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 4976 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 4977 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 4978 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4980 _flag_k = FK_CMP; 4981 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 4982 L_2B0193C6: 4983 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 4984 L_2B0193C9: 4985 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 4986 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 4987 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 4988 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 4989 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4991 _flag_k = FK_CMP; 4992 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 4993 L_2B0193D7: 4994 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 4995 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 4996 L_2B0193DC: 4997 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 4998 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 4999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5001 _flag_k = FK_CMP; 5002 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 5003 L_2B0193E4: 5004 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 5005 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 5006 L_2B0193E9: 5007 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 5008 L_2B0193EB: 5009 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 5010 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 5011 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 5012 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 5013 L_2B0193F7: 5014 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 5015 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 5016 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 5017 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 5018 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 5019 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 5020 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 5021 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 5022 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 5023 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 5024 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 5025 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 5026 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 5027 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5029 _flag_k = FK_CMP; 5030 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 5031 L_2B01941E: 5032 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 5033 L_2B019421: 5034 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 5035 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 5036 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 5037 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 5038 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5040 _flag_k = FK_CMP; 5041 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 5042 L_2B01942F: 5043 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 5044 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 5045 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 5046 L_2B019439: 5047 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 5048 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 5049 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5051 _flag_k = FK_CMP; 5052 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 5053 L_2B019440: 5054 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 5055 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 5056 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 5057 L_2B019449: 5058 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 5059 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 5060 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 5061 L_2B019453: 5062 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 5063 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 5064 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5066 _flag_k = FK_NARROW(FK_CMP, 24); 5067 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 5068 L_2B01945A: 5069 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 5070 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 5071 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 5072 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 5073 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 5074 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 5075 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 5076 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 5077 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5079 _flag_k = FK_CMP; 5080 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 5081 L_2B019473: 5082 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 5083 L_2B019476: 5084 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 5085 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 5086 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 5087 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 5088 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5090 _flag_k = FK_CMP; 5091 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 5092 L_2B019484: 5093 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 5094 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 5095 L_2B019489: 5096 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 5097 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 5098 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5100 _flag_k = FK_CMP; 5101 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 5102 L_2B019490: 5103 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 5104 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 5105 L_2B019494: 5106 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 5107 L_2B019497: 5108 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 5109 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 5110 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 5111 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 5112 L_2B0194A1: 5113 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 5114 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 5115 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 5116 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 5117 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 5118 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 5119 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 5120 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 5121 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 5122 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 5123 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 5124 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 5125 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 5126 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5128 _flag_k = FK_CMP; 5129 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 5130 L_2B0194C7: 5131 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 5132 L_2B0194CA: 5133 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 5134 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 5135 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 5136 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 5137 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5139 _flag_k = FK_CMP; 5140 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 5141 L_2B0194D8: 5142 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 5143 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 5144 L_2B0194DD: 5145 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 5146 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 5147 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5149 _flag_k = FK_CMP; 5150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 5151 L_2B0194E5: 5152 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 5153 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 5154 L_2B0194EA: 5155 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 5156 L_2B0194EC: 5157 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 5158 L_2B0194EF: 5159 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 5160 L_2B0194F2: 5161 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 5162 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 5163 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 5164 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 5165 RECOMP_FLAGS_IN(); 5166 PUSH32(esp, esi); /* 0x2B019500: push esi */ 5167 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 5168 RECOMP_FLAGS_IN(); 5169 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 5170 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 5171 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5172 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5173 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 5174 _flag_k = FK_ADD; 5175 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5176 eax = eax - 1; /* 0x2B01950F: dec eax */ 5177 _flag_k = FK_DEC; 5178 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 5179 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 5180 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 5181 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 5182 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 5183 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 5184 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 5185 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 5186 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 5187 RECOMP_REGS_OUT(); 5188 } 5189 5190 void sub_2B019324(void) { 5191 int _fpu_cmp = 0; 5192 uint32_t _cf = 0; 5193 int _df = 1; 5194 uint32_t _flag_k = FK_NONE; 5195 uint32_t _flag_a = 0, _flag_b = 0; 5196 uint32_t _itail_tgt = 0; 5197 RECOMP_REGS_LOCALS 5198 RECOMP_ENTER(0x2B019324u); 5199 5200 goto L_2B019324; 5201 L_2B0192A4: 5202 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 5203 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5205 _flag_k = FK_NARROW(FK_CMP, 24); 5206 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 5207 L_2B0192AD: 5208 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 5209 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 5210 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 5211 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5213 _flag_k = FK_CMP; 5214 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 5215 L_2B0192B6: 5216 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 5217 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 5218 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 5219 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5220 _cf = 0; 5221 _flag_k = FK_NARROW(FK_TEST, 24); 5222 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 5223 L_2B0192C0: 5224 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 5225 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 5226 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 5227 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 5228 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 5229 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 5230 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 5231 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 5232 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 5233 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5235 _flag_k = FK_CMP; 5236 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 5237 L_2B0192DC: 5238 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 5239 L_2B0192DF: 5240 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 5241 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 5242 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 5243 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 5244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5246 _flag_k = FK_CMP; 5247 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 5248 L_2B0192ED: 5249 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 5250 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 5251 L_2B0192F2: 5252 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 5253 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 5254 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5256 _flag_k = FK_CMP; 5257 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 5258 L_2B0192F9: 5259 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 5260 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 5261 L_2B0192FD: 5262 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 5263 L_2B019300: 5264 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 5265 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 5266 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 5267 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 5268 L_2B01930B: 5269 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 5270 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 5271 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5273 _flag_k = FK_NARROW(FK_CMP, 24); 5274 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 5275 L_2B019316: 5276 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 5277 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 5278 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5280 _flag_k = FK_NARROW(FK_CMP, 24); 5281 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 5282 L_2B019322: 5283 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 5284 L_2B019324: 5285 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 5286 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 5287 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5288 _cf = 0; 5289 _flag_k = FK_NARROW(FK_TEST, 24); 5290 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 5291 L_2B01932B: 5292 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 5293 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 5294 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 5295 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 5296 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 5297 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 5298 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 5299 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 5300 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 5301 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5303 _flag_k = FK_CMP; 5304 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 5305 L_2B019347: 5306 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 5307 L_2B01934A: 5308 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 5309 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 5310 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 5311 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 5312 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5314 _flag_k = FK_CMP; 5315 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 5316 L_2B019358: 5317 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 5318 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 5319 L_2B01935D: 5320 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 5321 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 5322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5324 _flag_k = FK_CMP; 5325 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 5326 L_2B019365: 5327 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 5328 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 5329 L_2B01936A: 5330 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 5331 L_2B01936C: 5332 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 5333 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 5334 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 5335 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 5336 L_2B019377: 5337 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 5338 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 5339 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5341 _flag_k = FK_NARROW(FK_CMP, 24); 5342 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 5343 L_2B019383: 5344 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 5345 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 5346 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5348 _flag_k = FK_NARROW(FK_CMP, 24); 5349 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 5350 L_2B01938E: 5351 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 5352 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 5353 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 5354 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 5355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5357 _flag_k = FK_CMP; 5358 RECOMP_BACKEDGE(); 5359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 5360 L_2B0193A1: 5361 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 5362 L_2B0193A6: 5363 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 5364 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 5365 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5367 _flag_k = FK_NARROW(FK_CMP, 24); 5368 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 5369 L_2B0193AE: 5370 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 5371 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 5372 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 5373 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 5374 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 5375 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 5376 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 5377 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 5378 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5380 _flag_k = FK_CMP; 5381 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 5382 L_2B0193C6: 5383 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 5384 L_2B0193C9: 5385 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 5386 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 5387 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 5388 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 5389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5391 _flag_k = FK_CMP; 5392 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 5393 L_2B0193D7: 5394 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 5395 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 5396 L_2B0193DC: 5397 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 5398 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 5399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5401 _flag_k = FK_CMP; 5402 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 5403 L_2B0193E4: 5404 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 5405 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 5406 L_2B0193E9: 5407 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 5408 L_2B0193EB: 5409 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 5410 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 5411 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 5412 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 5413 L_2B0193F7: 5414 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 5415 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 5416 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 5417 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 5418 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 5419 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 5420 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 5421 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 5422 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 5423 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 5424 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 5425 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 5426 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 5427 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5429 _flag_k = FK_CMP; 5430 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 5431 L_2B01941E: 5432 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 5433 L_2B019421: 5434 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 5435 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 5436 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 5437 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 5438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5440 _flag_k = FK_CMP; 5441 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 5442 L_2B01942F: 5443 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 5444 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 5445 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 5446 L_2B019439: 5447 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 5448 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 5449 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5451 _flag_k = FK_CMP; 5452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 5453 L_2B019440: 5454 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 5455 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 5456 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 5457 L_2B019449: 5458 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 5459 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 5460 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 5461 L_2B019453: 5462 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 5463 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 5464 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5466 _flag_k = FK_NARROW(FK_CMP, 24); 5467 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 5468 L_2B01945A: 5469 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 5470 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 5471 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 5472 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 5473 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 5474 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 5475 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 5476 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 5477 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5479 _flag_k = FK_CMP; 5480 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 5481 L_2B019473: 5482 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 5483 L_2B019476: 5484 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 5485 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 5486 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 5487 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 5488 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5490 _flag_k = FK_CMP; 5491 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 5492 L_2B019484: 5493 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 5494 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 5495 L_2B019489: 5496 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 5497 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 5498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5500 _flag_k = FK_CMP; 5501 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 5502 L_2B019490: 5503 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 5504 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 5505 L_2B019494: 5506 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 5507 L_2B019497: 5508 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 5509 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 5510 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 5511 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 5512 L_2B0194A1: 5513 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 5514 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 5515 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 5516 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 5517 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 5518 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 5519 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 5520 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 5521 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 5522 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 5523 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 5524 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 5525 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 5526 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5528 _flag_k = FK_CMP; 5529 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 5530 L_2B0194C7: 5531 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 5532 L_2B0194CA: 5533 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 5534 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 5535 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 5536 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 5537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5539 _flag_k = FK_CMP; 5540 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 5541 L_2B0194D8: 5542 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 5543 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 5544 L_2B0194DD: 5545 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 5546 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 5547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5549 _flag_k = FK_CMP; 5550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 5551 L_2B0194E5: 5552 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 5553 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 5554 L_2B0194EA: 5555 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 5556 L_2B0194EC: 5557 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 5558 L_2B0194EF: 5559 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 5560 L_2B0194F2: 5561 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 5562 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 5563 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 5564 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 5565 RECOMP_FLAGS_IN(); 5566 PUSH32(esp, esi); /* 0x2B019500: push esi */ 5567 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 5568 RECOMP_FLAGS_IN(); 5569 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 5570 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 5571 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5572 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5573 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 5574 _flag_k = FK_ADD; 5575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5576 eax = eax - 1; /* 0x2B01950F: dec eax */ 5577 _flag_k = FK_DEC; 5578 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 5579 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 5580 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 5581 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 5582 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 5583 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 5584 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 5585 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 5586 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 5587 RECOMP_REGS_OUT(); 5588 } 5589 5590 void sub_2B01936C(void) { 5591 int _fpu_cmp = 0; 5592 uint32_t _cf = 0; 5593 int _df = 1; 5594 uint32_t _flag_k = FK_NONE; 5595 uint32_t _flag_a = 0, _flag_b = 0; 5596 uint32_t _itail_tgt = 0; 5597 RECOMP_REGS_LOCALS 5598 RECOMP_ENTER(0x2B01936Cu); 5599 5600 goto L_2B01936C; 5601 L_2B0192A4: 5602 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 5603 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5605 _flag_k = FK_NARROW(FK_CMP, 24); 5606 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 5607 L_2B0192AD: 5608 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 5609 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 5610 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 5611 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5613 _flag_k = FK_CMP; 5614 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 5615 L_2B0192B6: 5616 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 5617 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 5618 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 5619 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5620 _cf = 0; 5621 _flag_k = FK_NARROW(FK_TEST, 24); 5622 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 5623 L_2B0192C0: 5624 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 5625 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 5626 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 5627 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 5628 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 5629 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 5630 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 5631 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 5632 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 5633 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5635 _flag_k = FK_CMP; 5636 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 5637 L_2B0192DC: 5638 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 5639 L_2B0192DF: 5640 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 5641 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 5642 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 5643 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 5644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5646 _flag_k = FK_CMP; 5647 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 5648 L_2B0192ED: 5649 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 5650 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 5651 L_2B0192F2: 5652 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 5653 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 5654 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5656 _flag_k = FK_CMP; 5657 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 5658 L_2B0192F9: 5659 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 5660 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 5661 L_2B0192FD: 5662 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 5663 L_2B019300: 5664 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 5665 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 5666 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 5667 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 5668 L_2B01930B: 5669 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 5670 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 5671 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5673 _flag_k = FK_NARROW(FK_CMP, 24); 5674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 5675 L_2B019316: 5676 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 5677 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 5678 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5680 _flag_k = FK_NARROW(FK_CMP, 24); 5681 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 5682 L_2B019322: 5683 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 5684 L_2B019324: 5685 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 5686 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 5687 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5688 _cf = 0; 5689 _flag_k = FK_NARROW(FK_TEST, 24); 5690 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 5691 L_2B01932B: 5692 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 5693 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 5694 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 5695 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 5696 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 5697 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 5698 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 5699 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 5700 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 5701 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5703 _flag_k = FK_CMP; 5704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 5705 L_2B019347: 5706 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 5707 L_2B01934A: 5708 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 5709 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 5710 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 5711 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 5712 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5713 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5714 _flag_k = FK_CMP; 5715 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 5716 L_2B019358: 5717 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 5718 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 5719 L_2B01935D: 5720 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 5721 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 5722 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5724 _flag_k = FK_CMP; 5725 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 5726 L_2B019365: 5727 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 5728 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 5729 L_2B01936A: 5730 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 5731 L_2B01936C: 5732 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 5733 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 5734 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 5735 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 5736 L_2B019377: 5737 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 5738 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 5739 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5741 _flag_k = FK_NARROW(FK_CMP, 24); 5742 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 5743 L_2B019383: 5744 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 5745 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 5746 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5748 _flag_k = FK_NARROW(FK_CMP, 24); 5749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 5750 L_2B01938E: 5751 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 5752 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 5753 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 5754 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 5755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5757 _flag_k = FK_CMP; 5758 RECOMP_BACKEDGE(); 5759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 5760 L_2B0193A1: 5761 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 5762 L_2B0193A6: 5763 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 5764 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 5765 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5767 _flag_k = FK_NARROW(FK_CMP, 24); 5768 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 5769 L_2B0193AE: 5770 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 5771 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 5772 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 5773 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 5774 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 5775 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 5776 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 5777 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 5778 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5780 _flag_k = FK_CMP; 5781 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 5782 L_2B0193C6: 5783 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 5784 L_2B0193C9: 5785 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 5786 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 5787 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 5788 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 5789 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5791 _flag_k = FK_CMP; 5792 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 5793 L_2B0193D7: 5794 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 5795 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 5796 L_2B0193DC: 5797 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 5798 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 5799 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5801 _flag_k = FK_CMP; 5802 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 5803 L_2B0193E4: 5804 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 5805 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 5806 L_2B0193E9: 5807 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 5808 L_2B0193EB: 5809 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 5810 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 5811 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 5812 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 5813 L_2B0193F7: 5814 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 5815 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 5816 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 5817 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 5818 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 5819 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 5820 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 5821 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 5822 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 5823 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 5824 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 5825 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 5826 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 5827 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5829 _flag_k = FK_CMP; 5830 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 5831 L_2B01941E: 5832 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 5833 L_2B019421: 5834 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 5835 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 5836 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 5837 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 5838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5840 _flag_k = FK_CMP; 5841 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 5842 L_2B01942F: 5843 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 5844 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 5845 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 5846 L_2B019439: 5847 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 5848 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 5849 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5851 _flag_k = FK_CMP; 5852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 5853 L_2B019440: 5854 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 5855 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 5856 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 5857 L_2B019449: 5858 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 5859 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 5860 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 5861 L_2B019453: 5862 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 5863 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 5864 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5866 _flag_k = FK_NARROW(FK_CMP, 24); 5867 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 5868 L_2B01945A: 5869 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 5870 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 5871 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 5872 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 5873 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 5874 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 5875 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 5876 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 5877 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5879 _flag_k = FK_CMP; 5880 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 5881 L_2B019473: 5882 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 5883 L_2B019476: 5884 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 5885 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 5886 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 5887 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 5888 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5889 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5890 _flag_k = FK_CMP; 5891 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 5892 L_2B019484: 5893 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 5894 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 5895 L_2B019489: 5896 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 5897 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 5898 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5900 _flag_k = FK_CMP; 5901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 5902 L_2B019490: 5903 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 5904 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 5905 L_2B019494: 5906 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 5907 L_2B019497: 5908 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 5909 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 5910 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 5911 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 5912 L_2B0194A1: 5913 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 5914 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 5915 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 5916 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 5917 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 5918 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 5919 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 5920 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 5921 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 5922 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 5923 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 5924 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 5925 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 5926 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5928 _flag_k = FK_CMP; 5929 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 5930 L_2B0194C7: 5931 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 5932 L_2B0194CA: 5933 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 5934 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 5935 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 5936 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 5937 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5939 _flag_k = FK_CMP; 5940 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 5941 L_2B0194D8: 5942 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 5943 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 5944 L_2B0194DD: 5945 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 5946 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 5947 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5949 _flag_k = FK_CMP; 5950 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 5951 L_2B0194E5: 5952 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 5953 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 5954 L_2B0194EA: 5955 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 5956 L_2B0194EC: 5957 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 5958 L_2B0194EF: 5959 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 5960 L_2B0194F2: 5961 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 5962 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 5963 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 5964 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 5965 RECOMP_FLAGS_IN(); 5966 PUSH32(esp, esi); /* 0x2B019500: push esi */ 5967 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 5968 RECOMP_FLAGS_IN(); 5969 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 5970 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 5971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5973 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 5974 _flag_k = FK_ADD; 5975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5976 eax = eax - 1; /* 0x2B01950F: dec eax */ 5977 _flag_k = FK_DEC; 5978 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 5979 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 5980 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 5981 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 5982 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 5983 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 5984 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 5985 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 5986 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 5987 RECOMP_REGS_OUT(); 5988 } 5989 5990 void sub_2B019377(void) { 5991 int _fpu_cmp = 0; 5992 uint32_t _cf = 0; 5993 int _df = 1; 5994 uint32_t _flag_k = FK_NONE; 5995 uint32_t _flag_a = 0, _flag_b = 0; 5996 uint32_t _itail_tgt = 0; 5997 RECOMP_REGS_LOCALS 5998 RECOMP_ENTER(0x2B019377u); 5999 6000 goto L_2B019377; 6001 L_2B0192A4: 6002 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 6003 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6005 _flag_k = FK_NARROW(FK_CMP, 24); 6006 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 6007 L_2B0192AD: 6008 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 6009 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 6010 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 6011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6013 _flag_k = FK_CMP; 6014 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 6015 L_2B0192B6: 6016 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 6017 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 6018 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 6019 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6020 _cf = 0; 6021 _flag_k = FK_NARROW(FK_TEST, 24); 6022 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 6023 L_2B0192C0: 6024 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 6025 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 6026 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 6027 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 6028 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 6029 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 6030 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 6031 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 6032 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 6033 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6035 _flag_k = FK_CMP; 6036 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 6037 L_2B0192DC: 6038 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 6039 L_2B0192DF: 6040 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 6041 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 6042 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 6043 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 6044 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6046 _flag_k = FK_CMP; 6047 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 6048 L_2B0192ED: 6049 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 6050 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 6051 L_2B0192F2: 6052 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 6053 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 6054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6056 _flag_k = FK_CMP; 6057 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 6058 L_2B0192F9: 6059 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 6060 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 6061 L_2B0192FD: 6062 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 6063 L_2B019300: 6064 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 6065 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 6066 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 6067 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 6068 L_2B01930B: 6069 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 6070 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 6071 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6073 _flag_k = FK_NARROW(FK_CMP, 24); 6074 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 6075 L_2B019316: 6076 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 6077 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 6078 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6080 _flag_k = FK_NARROW(FK_CMP, 24); 6081 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 6082 L_2B019322: 6083 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 6084 L_2B019324: 6085 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 6086 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 6087 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6088 _cf = 0; 6089 _flag_k = FK_NARROW(FK_TEST, 24); 6090 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 6091 L_2B01932B: 6092 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 6093 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 6094 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 6095 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 6096 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 6097 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 6098 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 6099 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 6100 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 6101 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6103 _flag_k = FK_CMP; 6104 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 6105 L_2B019347: 6106 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 6107 L_2B01934A: 6108 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 6109 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 6110 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 6111 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 6112 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6114 _flag_k = FK_CMP; 6115 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 6116 L_2B019358: 6117 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 6118 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 6119 L_2B01935D: 6120 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 6121 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 6122 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6124 _flag_k = FK_CMP; 6125 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 6126 L_2B019365: 6127 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 6128 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 6129 L_2B01936A: 6130 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 6131 L_2B01936C: 6132 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 6133 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 6134 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 6135 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 6136 L_2B019377: 6137 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 6138 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 6139 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6141 _flag_k = FK_NARROW(FK_CMP, 24); 6142 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 6143 L_2B019383: 6144 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 6145 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 6146 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6148 _flag_k = FK_NARROW(FK_CMP, 24); 6149 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 6150 L_2B01938E: 6151 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 6152 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 6153 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 6154 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 6155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6157 _flag_k = FK_CMP; 6158 RECOMP_BACKEDGE(); 6159 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 6160 L_2B0193A1: 6161 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 6162 L_2B0193A6: 6163 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 6164 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 6165 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6167 _flag_k = FK_NARROW(FK_CMP, 24); 6168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 6169 L_2B0193AE: 6170 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 6171 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 6172 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 6173 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 6174 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 6175 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 6176 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 6177 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 6178 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6180 _flag_k = FK_CMP; 6181 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 6182 L_2B0193C6: 6183 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 6184 L_2B0193C9: 6185 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 6186 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 6187 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 6188 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 6189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6191 _flag_k = FK_CMP; 6192 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 6193 L_2B0193D7: 6194 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 6195 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 6196 L_2B0193DC: 6197 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 6198 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 6199 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6201 _flag_k = FK_CMP; 6202 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 6203 L_2B0193E4: 6204 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 6205 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 6206 L_2B0193E9: 6207 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 6208 L_2B0193EB: 6209 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 6210 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 6211 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 6212 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 6213 L_2B0193F7: 6214 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 6215 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 6216 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 6217 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 6218 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 6219 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 6220 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 6221 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 6222 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 6223 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 6224 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 6225 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 6226 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 6227 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6229 _flag_k = FK_CMP; 6230 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 6231 L_2B01941E: 6232 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 6233 L_2B019421: 6234 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 6235 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 6236 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 6237 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 6238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6240 _flag_k = FK_CMP; 6241 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 6242 L_2B01942F: 6243 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 6244 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 6245 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 6246 L_2B019439: 6247 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 6248 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 6249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6251 _flag_k = FK_CMP; 6252 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 6253 L_2B019440: 6254 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 6255 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 6256 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 6257 L_2B019449: 6258 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 6259 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 6260 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 6261 L_2B019453: 6262 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 6263 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 6264 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6266 _flag_k = FK_NARROW(FK_CMP, 24); 6267 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 6268 L_2B01945A: 6269 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 6270 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 6271 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 6272 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 6273 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 6274 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 6275 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 6276 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 6277 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6279 _flag_k = FK_CMP; 6280 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 6281 L_2B019473: 6282 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 6283 L_2B019476: 6284 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 6285 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 6286 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 6287 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 6288 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6290 _flag_k = FK_CMP; 6291 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 6292 L_2B019484: 6293 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 6294 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 6295 L_2B019489: 6296 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 6297 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 6298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6300 _flag_k = FK_CMP; 6301 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 6302 L_2B019490: 6303 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 6304 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 6305 L_2B019494: 6306 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 6307 L_2B019497: 6308 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 6309 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 6310 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 6311 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 6312 L_2B0194A1: 6313 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 6314 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 6315 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 6316 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 6317 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 6318 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 6319 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 6320 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 6321 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 6322 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 6323 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 6324 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 6325 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 6326 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6328 _flag_k = FK_CMP; 6329 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 6330 L_2B0194C7: 6331 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 6332 L_2B0194CA: 6333 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 6334 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 6335 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 6336 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 6337 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6339 _flag_k = FK_CMP; 6340 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 6341 L_2B0194D8: 6342 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 6343 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 6344 L_2B0194DD: 6345 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 6346 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 6347 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6349 _flag_k = FK_CMP; 6350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 6351 L_2B0194E5: 6352 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 6353 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 6354 L_2B0194EA: 6355 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 6356 L_2B0194EC: 6357 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 6358 L_2B0194EF: 6359 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 6360 L_2B0194F2: 6361 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 6362 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 6363 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 6364 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 6365 RECOMP_FLAGS_IN(); 6366 PUSH32(esp, esi); /* 0x2B019500: push esi */ 6367 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 6368 RECOMP_FLAGS_IN(); 6369 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 6370 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 6371 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6372 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6373 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 6374 _flag_k = FK_ADD; 6375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6376 eax = eax - 1; /* 0x2B01950F: dec eax */ 6377 _flag_k = FK_DEC; 6378 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 6379 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 6380 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 6381 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 6382 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 6383 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 6384 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 6385 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 6386 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 6387 RECOMP_REGS_OUT(); 6388 } 6389 6390 void sub_2B01938E(void) { 6391 int _fpu_cmp = 0; 6392 uint32_t _cf = 0; 6393 int _df = 1; 6394 uint32_t _flag_k = FK_NONE; 6395 uint32_t _flag_a = 0, _flag_b = 0; 6396 uint32_t _itail_tgt = 0; 6397 RECOMP_REGS_LOCALS 6398 RECOMP_ENTER(0x2B01938Eu); 6399 6400 goto L_2B01938E; 6401 L_2B0192A4: 6402 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2B0192A4: cmp byte ptr [eax + 0x24], bl */ 6403 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6405 _flag_k = FK_NARROW(FK_CMP, 24); 6406 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194F2; /* 0x2B0192A7: jne 0x2b0194f2 */ 6407 L_2B0192AD: 6408 edx = MEM32(eax + 0x4); /* 0x2B0192AD: mov edx, dword ptr [eax + 4] */ 6409 ecx = MEM32(edx); /* 0x2B0192B0: mov ecx, dword ptr [edx] */ 6410 /* cmp eax, ecx */ /* 0x2B0192B2: cmp eax, ecx */ 6411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6413 _flag_k = FK_CMP; 6414 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019324; /* 0x2B0192B4: jne 0x2b019324 */ 6415 L_2B0192B6: 6416 ecx = MEM32(edx + 0x8); /* 0x2B0192B6: mov ecx, dword ptr [edx + 8] */ 6417 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0192B9: mov dl, byte ptr [ecx + 0x24] */ 6418 /* test LO8(edx), LO8(edx) */ /* 0x2B0192BC: test dl, dl */ 6419 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6420 _cf = 0; 6421 _flag_k = FK_NARROW(FK_TEST, 24); 6422 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01930B; /* 0x2B0192BE: jne 0x2b01930b */ 6423 L_2B0192C0: 6424 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0192C0: mov byte ptr [ecx + 0x24], bl */ 6425 edx = MEM32(eax + 0x4); /* 0x2B0192C3: mov edx, dword ptr [eax + 4] */ 6426 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0192C6: mov byte ptr [edx + 0x24], 0 */ 6427 ecx = MEM32(eax + 0x4); /* 0x2B0192CA: mov ecx, dword ptr [eax + 4] */ 6428 edx = MEM32(ecx + 0x8); /* 0x2B0192CD: mov edx, dword ptr [ecx + 8] */ 6429 esi = MEM32(edx); /* 0x2B0192D0: mov esi, dword ptr [edx] */ 6430 MEM32(ecx + 0x8) = esi; /* 0x2B0192D2: mov dword ptr [ecx + 8], esi */ 6431 esi = MEM32(edx); /* 0x2B0192D5: mov esi, dword ptr [edx] */ 6432 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0192D7: cmp esi, dword ptr [edi + 8] */ 6433 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6435 _flag_k = FK_CMP; 6436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0192DF; /* 0x2B0192DA: je 0x2b0192df */ 6437 L_2B0192DC: 6438 MEM32(esi + 0x4) = ecx; /* 0x2B0192DC: mov dword ptr [esi + 4], ecx */ 6439 L_2B0192DF: 6440 esi = MEM32(ecx + 0x4); /* 0x2B0192DF: mov esi, dword ptr [ecx + 4] */ 6441 MEM32(edx + 0x4) = esi; /* 0x2B0192E2: mov dword ptr [edx + 4], esi */ 6442 esi = MEM32(edi + 0x4); /* 0x2B0192E5: mov esi, dword ptr [edi + 4] */ 6443 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0192E8: cmp ecx, dword ptr [esi + 4] */ 6444 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6446 _flag_k = FK_CMP; 6447 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192F2; /* 0x2B0192EB: jne 0x2b0192f2 */ 6448 L_2B0192ED: 6449 MEM32(esi + 0x4) = edx; /* 0x2B0192ED: mov dword ptr [esi + 4], edx */ 6450 goto L_2B019300; /* 0x2B0192F0: jmp 0x2b019300 */ 6451 L_2B0192F2: 6452 esi = MEM32(ecx + 0x4); /* 0x2B0192F2: mov esi, dword ptr [ecx + 4] */ 6453 /* cmp ecx, MEM32(esi) */ /* 0x2B0192F5: cmp ecx, dword ptr [esi] */ 6454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6456 _flag_k = FK_CMP; 6457 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192FD; /* 0x2B0192F7: jne 0x2b0192fd */ 6458 L_2B0192F9: 6459 MEM32(esi) = edx; /* 0x2B0192F9: mov dword ptr [esi], edx */ 6460 goto L_2B019300; /* 0x2B0192FB: jmp 0x2b019300 */ 6461 L_2B0192FD: 6462 MEM32(esi + 0x8) = edx; /* 0x2B0192FD: mov dword ptr [esi + 8], edx */ 6463 L_2B019300: 6464 MEM32(edx) = ecx; /* 0x2B019300: mov dword ptr [edx], ecx */ 6465 MEM32(ecx + 0x4) = edx; /* 0x2B019302: mov dword ptr [ecx + 4], edx */ 6466 ecx = MEM32(eax + 0x4); /* 0x2B019305: mov ecx, dword ptr [eax + 4] */ 6467 ecx = MEM32(ecx + 0x8); /* 0x2B019308: mov ecx, dword ptr [ecx + 8] */ 6468 L_2B01930B: 6469 edx = MEM32(ecx); /* 0x2B01930B: mov edx, dword ptr [ecx] */ 6470 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01930D: cmp byte ptr [edx + 0x24], bl */ 6471 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6473 _flag_k = FK_NARROW(FK_CMP, 24); 6474 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B019310: jne 0x2b0193a6 */ 6475 L_2B019316: 6476 edx = MEM32(ecx + 0x8); /* 0x2B019316: mov edx, dword ptr [ecx + 8] */ 6477 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019319: cmp byte ptr [edx + 0x24], bl */ 6478 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6480 _flag_k = FK_NARROW(FK_CMP, 24); 6481 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193A6; /* 0x2B01931C: jne 0x2b0193a6 */ 6482 L_2B019322: 6483 goto L_2B01938E; /* 0x2B019322: jmp 0x2b01938e */ 6484 L_2B019324: 6485 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B019324: mov dl, byte ptr [ecx + 0x24] */ 6486 /* test LO8(edx), LO8(edx) */ /* 0x2B019327: test dl, dl */ 6487 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6488 _cf = 0; 6489 _flag_k = FK_NARROW(FK_TEST, 24); 6490 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019377; /* 0x2B019329: jne 0x2b019377 */ 6491 L_2B01932B: 6492 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01932B: mov byte ptr [ecx + 0x24], bl */ 6493 ecx = MEM32(eax + 0x4); /* 0x2B01932E: mov ecx, dword ptr [eax + 4] */ 6494 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019331: mov byte ptr [ecx + 0x24], 0 */ 6495 ecx = MEM32(eax + 0x4); /* 0x2B019335: mov ecx, dword ptr [eax + 4] */ 6496 edx = MEM32(ecx); /* 0x2B019338: mov edx, dword ptr [ecx] */ 6497 esi = MEM32(edx + 0x8); /* 0x2B01933A: mov esi, dword ptr [edx + 8] */ 6498 MEM32(ecx) = esi; /* 0x2B01933D: mov dword ptr [ecx], esi */ 6499 esi = MEM32(edx + 0x8); /* 0x2B01933F: mov esi, dword ptr [edx + 8] */ 6500 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019342: cmp esi, dword ptr [edi + 8] */ 6501 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6503 _flag_k = FK_CMP; 6504 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01934A; /* 0x2B019345: je 0x2b01934a */ 6505 L_2B019347: 6506 MEM32(esi + 0x4) = ecx; /* 0x2B019347: mov dword ptr [esi + 4], ecx */ 6507 L_2B01934A: 6508 esi = MEM32(ecx + 0x4); /* 0x2B01934A: mov esi, dword ptr [ecx + 4] */ 6509 MEM32(edx + 0x4) = esi; /* 0x2B01934D: mov dword ptr [edx + 4], esi */ 6510 esi = MEM32(edi + 0x4); /* 0x2B019350: mov esi, dword ptr [edi + 4] */ 6511 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B019353: cmp ecx, dword ptr [esi + 4] */ 6512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6514 _flag_k = FK_CMP; 6515 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01935D; /* 0x2B019356: jne 0x2b01935d */ 6516 L_2B019358: 6517 MEM32(esi + 0x4) = edx; /* 0x2B019358: mov dword ptr [esi + 4], edx */ 6518 goto L_2B01936C; /* 0x2B01935B: jmp 0x2b01936c */ 6519 L_2B01935D: 6520 esi = MEM32(ecx + 0x4); /* 0x2B01935D: mov esi, dword ptr [ecx + 4] */ 6521 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B019360: cmp ecx, dword ptr [esi + 8] */ 6522 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6524 _flag_k = FK_CMP; 6525 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01936A; /* 0x2B019363: jne 0x2b01936a */ 6526 L_2B019365: 6527 MEM32(esi + 0x8) = edx; /* 0x2B019365: mov dword ptr [esi + 8], edx */ 6528 goto L_2B01936C; /* 0x2B019368: jmp 0x2b01936c */ 6529 L_2B01936A: 6530 MEM32(esi) = edx; /* 0x2B01936A: mov dword ptr [esi], edx */ 6531 L_2B01936C: 6532 MEM32(edx + 0x8) = ecx; /* 0x2B01936C: mov dword ptr [edx + 8], ecx */ 6533 MEM32(ecx + 0x4) = edx; /* 0x2B01936F: mov dword ptr [ecx + 4], edx */ 6534 edx = MEM32(eax + 0x4); /* 0x2B019372: mov edx, dword ptr [eax + 4] */ 6535 ecx = MEM32(edx); /* 0x2B019375: mov ecx, dword ptr [edx] */ 6536 L_2B019377: 6537 edx = MEM32(ecx + 0x8); /* 0x2B019377: mov edx, dword ptr [ecx + 8] */ 6538 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B01937A: cmp byte ptr [edx + 0x24], bl */ 6539 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6541 _flag_k = FK_NARROW(FK_CMP, 24); 6542 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B01937D: jne 0x2b019453 */ 6543 L_2B019383: 6544 edx = MEM32(ecx); /* 0x2B019383: mov edx, dword ptr [ecx] */ 6545 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019385: cmp byte ptr [edx + 0x24], bl */ 6546 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6548 _flag_k = FK_NARROW(FK_CMP, 24); 6549 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019453; /* 0x2B019388: jne 0x2b019453 */ 6550 L_2B01938E: 6551 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B01938E: mov byte ptr [ecx + 0x24], 0 */ 6552 ecx = MEM32(edi + 0x4); /* 0x2B019392: mov ecx, dword ptr [edi + 4] */ 6553 eax = MEM32(eax + 0x4); /* 0x2B019395: mov eax, dword ptr [eax + 4] */ 6554 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019398: cmp eax, dword ptr [ecx + 4] */ 6555 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6557 _flag_k = FK_CMP; 6558 RECOMP_BACKEDGE(); 6559 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0192A4; /* 0x2B01939B: jne 0x2b0192a4 */ 6560 L_2B0193A1: 6561 goto L_2B0194F2; /* 0x2B0193A1: jmp 0x2b0194f2 */ 6562 L_2B0193A6: 6563 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 6564 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 6565 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6567 _flag_k = FK_NARROW(FK_CMP, 24); 6568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 6569 L_2B0193AE: 6570 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 6571 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 6572 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 6573 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 6574 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 6575 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 6576 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 6577 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 6578 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6580 _flag_k = FK_CMP; 6581 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 6582 L_2B0193C6: 6583 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 6584 L_2B0193C9: 6585 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 6586 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 6587 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 6588 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 6589 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6591 _flag_k = FK_CMP; 6592 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 6593 L_2B0193D7: 6594 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 6595 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 6596 L_2B0193DC: 6597 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 6598 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 6599 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6601 _flag_k = FK_CMP; 6602 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 6603 L_2B0193E4: 6604 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 6605 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 6606 L_2B0193E9: 6607 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 6608 L_2B0193EB: 6609 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 6610 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 6611 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 6612 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 6613 L_2B0193F7: 6614 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 6615 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 6616 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 6617 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 6618 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 6619 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 6620 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 6621 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 6622 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 6623 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 6624 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 6625 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 6626 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 6627 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6629 _flag_k = FK_CMP; 6630 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 6631 L_2B01941E: 6632 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 6633 L_2B019421: 6634 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 6635 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 6636 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 6637 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 6638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6640 _flag_k = FK_CMP; 6641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 6642 L_2B01942F: 6643 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 6644 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 6645 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 6646 L_2B019439: 6647 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 6648 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 6649 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6651 _flag_k = FK_CMP; 6652 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 6653 L_2B019440: 6654 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 6655 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 6656 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 6657 L_2B019449: 6658 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 6659 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 6660 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 6661 L_2B019453: 6662 edx = MEM32(ecx); /* 0x2B019453: mov edx, dword ptr [ecx] */ 6663 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B019455: cmp byte ptr [edx + 0x24], bl */ 6664 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6666 _flag_k = FK_NARROW(FK_CMP, 24); 6667 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194A1; /* 0x2B019458: jne 0x2b0194a1 */ 6668 L_2B01945A: 6669 edx = MEM32(ecx + 0x8); /* 0x2B01945A: mov edx, dword ptr [ecx + 8] */ 6670 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01945D: mov byte ptr [edx + 0x24], bl */ 6671 edx = MEM32(ecx + 0x8); /* 0x2B019460: mov edx, dword ptr [ecx + 8] */ 6672 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019463: mov byte ptr [ecx + 0x24], 0 */ 6673 esi = MEM32(edx); /* 0x2B019467: mov esi, dword ptr [edx] */ 6674 MEM32(ecx + 0x8) = esi; /* 0x2B019469: mov dword ptr [ecx + 8], esi */ 6675 esi = MEM32(edx); /* 0x2B01946C: mov esi, dword ptr [edx] */ 6676 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B01946E: cmp esi, dword ptr [edi + 8] */ 6677 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6679 _flag_k = FK_CMP; 6680 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019476; /* 0x2B019471: je 0x2b019476 */ 6681 L_2B019473: 6682 MEM32(esi + 0x4) = ecx; /* 0x2B019473: mov dword ptr [esi + 4], ecx */ 6683 L_2B019476: 6684 esi = MEM32(ecx + 0x4); /* 0x2B019476: mov esi, dword ptr [ecx + 4] */ 6685 MEM32(edx + 0x4) = esi; /* 0x2B019479: mov dword ptr [edx + 4], esi */ 6686 esi = MEM32(edi + 0x4); /* 0x2B01947C: mov esi, dword ptr [edi + 4] */ 6687 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01947F: cmp ecx, dword ptr [esi + 4] */ 6688 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6690 _flag_k = FK_CMP; 6691 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019489; /* 0x2B019482: jne 0x2b019489 */ 6692 L_2B019484: 6693 MEM32(esi + 0x4) = edx; /* 0x2B019484: mov dword ptr [esi + 4], edx */ 6694 goto L_2B019497; /* 0x2B019487: jmp 0x2b019497 */ 6695 L_2B019489: 6696 esi = MEM32(ecx + 0x4); /* 0x2B019489: mov esi, dword ptr [ecx + 4] */ 6697 /* cmp ecx, MEM32(esi) */ /* 0x2B01948C: cmp ecx, dword ptr [esi] */ 6698 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6700 _flag_k = FK_CMP; 6701 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019494; /* 0x2B01948E: jne 0x2b019494 */ 6702 L_2B019490: 6703 MEM32(esi) = edx; /* 0x2B019490: mov dword ptr [esi], edx */ 6704 goto L_2B019497; /* 0x2B019492: jmp 0x2b019497 */ 6705 L_2B019494: 6706 MEM32(esi + 0x8) = edx; /* 0x2B019494: mov dword ptr [esi + 8], edx */ 6707 L_2B019497: 6708 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 6709 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 6710 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 6711 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 6712 L_2B0194A1: 6713 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 6714 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 6715 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 6716 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 6717 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 6718 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 6719 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 6720 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 6721 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 6722 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 6723 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 6724 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 6725 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 6726 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6728 _flag_k = FK_CMP; 6729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 6730 L_2B0194C7: 6731 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 6732 L_2B0194CA: 6733 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 6734 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 6735 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 6736 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 6737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6739 _flag_k = FK_CMP; 6740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 6741 L_2B0194D8: 6742 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 6743 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 6744 L_2B0194DD: 6745 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 6746 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 6747 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6749 _flag_k = FK_CMP; 6750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 6751 L_2B0194E5: 6752 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 6753 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 6754 L_2B0194EA: 6755 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 6756 L_2B0194EC: 6757 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 6758 L_2B0194EF: 6759 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 6760 L_2B0194F2: 6761 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 6762 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 6763 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 6764 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 6765 RECOMP_FLAGS_IN(); 6766 PUSH32(esp, esi); /* 0x2B019500: push esi */ 6767 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 6768 RECOMP_FLAGS_IN(); 6769 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 6770 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 6771 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6772 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6773 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 6774 _flag_k = FK_ADD; 6775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6776 eax = eax - 1; /* 0x2B01950F: dec eax */ 6777 _flag_k = FK_DEC; 6778 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 6779 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 6780 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 6781 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 6782 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 6783 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 6784 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 6785 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 6786 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 6787 RECOMP_REGS_OUT(); 6788 } 6789 6790 void sub_2B0193A6(void) { 6791 int _fpu_cmp = 0; 6792 uint32_t _cf = 0; 6793 int _df = 1; 6794 uint32_t _flag_k = FK_NONE; 6795 uint32_t _flag_a = 0, _flag_b = 0; 6796 uint32_t _itail_tgt = 0; 6797 RECOMP_REGS_LOCALS 6798 RECOMP_ENTER(0x2B0193A6u); 6799 6800 L_2B0193A6: 6801 edx = MEM32(ecx + 0x8); /* 0x2B0193A6: mov edx, dword ptr [ecx + 8] */ 6802 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2B0193A9: cmp byte ptr [edx + 0x24], bl */ 6803 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6805 _flag_k = FK_NARROW(FK_CMP, 24); 6806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193F7; /* 0x2B0193AC: jne 0x2b0193f7 */ 6807 L_2B0193AE: 6808 edx = MEM32(ecx); /* 0x2B0193AE: mov edx, dword ptr [ecx] */ 6809 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0193B0: mov byte ptr [edx + 0x24], bl */ 6810 edx = MEM32(ecx); /* 0x2B0193B3: mov edx, dword ptr [ecx] */ 6811 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0193B5: mov byte ptr [ecx + 0x24], 0 */ 6812 esi = MEM32(edx + 0x8); /* 0x2B0193B9: mov esi, dword ptr [edx + 8] */ 6813 MEM32(ecx) = esi; /* 0x2B0193BC: mov dword ptr [ecx], esi */ 6814 esi = MEM32(edx + 0x8); /* 0x2B0193BE: mov esi, dword ptr [edx + 8] */ 6815 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0193C1: cmp esi, dword ptr [edi + 8] */ 6816 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6818 _flag_k = FK_CMP; 6819 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0193C9; /* 0x2B0193C4: je 0x2b0193c9 */ 6820 L_2B0193C6: 6821 MEM32(esi + 0x4) = ecx; /* 0x2B0193C6: mov dword ptr [esi + 4], ecx */ 6822 L_2B0193C9: 6823 esi = MEM32(ecx + 0x4); /* 0x2B0193C9: mov esi, dword ptr [ecx + 4] */ 6824 MEM32(edx + 0x4) = esi; /* 0x2B0193CC: mov dword ptr [edx + 4], esi */ 6825 esi = MEM32(edi + 0x4); /* 0x2B0193CF: mov esi, dword ptr [edi + 4] */ 6826 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0193D2: cmp ecx, dword ptr [esi + 4] */ 6827 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6829 _flag_k = FK_CMP; 6830 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193DC; /* 0x2B0193D5: jne 0x2b0193dc */ 6831 L_2B0193D7: 6832 MEM32(esi + 0x4) = edx; /* 0x2B0193D7: mov dword ptr [esi + 4], edx */ 6833 goto L_2B0193EB; /* 0x2B0193DA: jmp 0x2b0193eb */ 6834 L_2B0193DC: 6835 esi = MEM32(ecx + 0x4); /* 0x2B0193DC: mov esi, dword ptr [ecx + 4] */ 6836 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0193DF: cmp ecx, dword ptr [esi + 8] */ 6837 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6839 _flag_k = FK_CMP; 6840 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0193E9; /* 0x2B0193E2: jne 0x2b0193e9 */ 6841 L_2B0193E4: 6842 MEM32(esi + 0x8) = edx; /* 0x2B0193E4: mov dword ptr [esi + 8], edx */ 6843 goto L_2B0193EB; /* 0x2B0193E7: jmp 0x2b0193eb */ 6844 L_2B0193E9: 6845 MEM32(esi) = edx; /* 0x2B0193E9: mov dword ptr [esi], edx */ 6846 L_2B0193EB: 6847 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 6848 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 6849 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 6850 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 6851 L_2B0193F7: 6852 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 6853 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 6854 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 6855 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 6856 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 6857 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 6858 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 6859 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 6860 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 6861 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 6862 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 6863 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 6864 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 6865 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6867 _flag_k = FK_CMP; 6868 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 6869 L_2B01941E: 6870 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 6871 L_2B019421: 6872 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 6873 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 6874 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 6875 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 6876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6878 _flag_k = FK_CMP; 6879 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 6880 L_2B01942F: 6881 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 6882 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 6883 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 6884 L_2B019439: 6885 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 6886 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 6887 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6889 _flag_k = FK_CMP; 6890 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 6891 L_2B019440: 6892 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 6893 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 6894 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 6895 L_2B019449: 6896 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 6897 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 6898 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 6899 L_2B0194EF: 6900 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 6901 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 6902 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 6903 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 6904 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 6905 RECOMP_FLAGS_IN(); 6906 PUSH32(esp, esi); /* 0x2B019500: push esi */ 6907 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 6908 RECOMP_FLAGS_IN(); 6909 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 6910 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 6911 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6913 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 6914 _flag_k = FK_ADD; 6915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6916 eax = eax - 1; /* 0x2B01950F: dec eax */ 6917 _flag_k = FK_DEC; 6918 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 6919 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 6920 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 6921 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 6922 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 6923 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 6924 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 6925 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 6926 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 6927 RECOMP_REGS_OUT(); 6928 } 6929 6930 void sub_2B0193EB(void) { 6931 int _fpu_cmp = 0; 6932 uint32_t _cf = 0; 6933 int _df = 1; 6934 uint32_t _flag_k = FK_NONE; 6935 uint32_t _flag_a = 0, _flag_b = 0; 6936 uint32_t _itail_tgt = 0; 6937 RECOMP_REGS_LOCALS 6938 RECOMP_ENTER(0x2B0193EBu); 6939 6940 L_2B0193EB: 6941 MEM32(edx + 0x8) = ecx; /* 0x2B0193EB: mov dword ptr [edx + 8], ecx */ 6942 MEM32(ecx + 0x4) = edx; /* 0x2B0193EE: mov dword ptr [ecx + 4], edx */ 6943 ecx = MEM32(eax + 0x4); /* 0x2B0193F1: mov ecx, dword ptr [eax + 4] */ 6944 ecx = MEM32(ecx + 0x8); /* 0x2B0193F4: mov ecx, dword ptr [ecx + 8] */ 6945 edx = MEM32(eax + 0x4); /* 0x2B0193F7: mov edx, dword ptr [eax + 4] */ 6946 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0193FA: mov dl, byte ptr [edx + 0x24] */ 6947 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0193FD: mov byte ptr [ecx + 0x24], dl */ 6948 edx = MEM32(eax + 0x4); /* 0x2B019400: mov edx, dword ptr [eax + 4] */ 6949 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019403: mov byte ptr [edx + 0x24], bl */ 6950 ecx = MEM32(ecx + 0x8); /* 0x2B019406: mov ecx, dword ptr [ecx + 8] */ 6951 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019409: mov byte ptr [ecx + 0x24], bl */ 6952 ecx = MEM32(eax + 0x4); /* 0x2B01940C: mov ecx, dword ptr [eax + 4] */ 6953 edx = MEM32(ecx + 0x8); /* 0x2B01940F: mov edx, dword ptr [ecx + 8] */ 6954 esi = MEM32(edx); /* 0x2B019412: mov esi, dword ptr [edx] */ 6955 MEM32(ecx + 0x8) = esi; /* 0x2B019414: mov dword ptr [ecx + 8], esi */ 6956 esi = MEM32(edx); /* 0x2B019417: mov esi, dword ptr [edx] */ 6957 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B019419: cmp esi, dword ptr [edi + 8] */ 6958 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6960 _flag_k = FK_CMP; 6961 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019421; /* 0x2B01941C: je 0x2b019421 */ 6962 L_2B01941E: 6963 MEM32(esi + 0x4) = ecx; /* 0x2B01941E: mov dword ptr [esi + 4], ecx */ 6964 L_2B019421: 6965 esi = MEM32(ecx + 0x4); /* 0x2B019421: mov esi, dword ptr [ecx + 4] */ 6966 MEM32(edx + 0x4) = esi; /* 0x2B019424: mov dword ptr [edx + 4], esi */ 6967 esi = MEM32(edi + 0x4); /* 0x2B019427: mov esi, dword ptr [edi + 4] */ 6968 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B01942A: cmp ecx, dword ptr [esi + 4] */ 6969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6971 _flag_k = FK_CMP; 6972 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019439; /* 0x2B01942D: jne 0x2b019439 */ 6973 L_2B01942F: 6974 MEM32(esi + 0x4) = edx; /* 0x2B01942F: mov dword ptr [esi + 4], edx */ 6975 MEM32(edx) = ecx; /* 0x2B019432: mov dword ptr [edx], ecx */ 6976 goto L_2B0194EF; /* 0x2B019434: jmp 0x2b0194ef */ 6977 L_2B019439: 6978 esi = MEM32(ecx + 0x4); /* 0x2B019439: mov esi, dword ptr [ecx + 4] */ 6979 /* cmp ecx, MEM32(esi) */ /* 0x2B01943C: cmp ecx, dword ptr [esi] */ 6980 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6982 _flag_k = FK_CMP; 6983 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019449; /* 0x2B01943E: jne 0x2b019449 */ 6984 L_2B019440: 6985 MEM32(esi) = edx; /* 0x2B019440: mov dword ptr [esi], edx */ 6986 MEM32(edx) = ecx; /* 0x2B019442: mov dword ptr [edx], ecx */ 6987 goto L_2B0194EF; /* 0x2B019444: jmp 0x2b0194ef */ 6988 L_2B019449: 6989 MEM32(esi + 0x8) = edx; /* 0x2B019449: mov dword ptr [esi + 8], edx */ 6990 MEM32(edx) = ecx; /* 0x2B01944C: mov dword ptr [edx], ecx */ 6991 goto L_2B0194EF; /* 0x2B01944E: jmp 0x2b0194ef */ 6992 L_2B0194EF: 6993 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 6994 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 6995 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 6996 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 6997 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 6998 RECOMP_FLAGS_IN(); 6999 PUSH32(esp, esi); /* 0x2B019500: push esi */ 7000 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 7001 RECOMP_FLAGS_IN(); 7002 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 7003 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 7004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7006 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 7007 _flag_k = FK_ADD; 7008 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7009 eax = eax - 1; /* 0x2B01950F: dec eax */ 7010 _flag_k = FK_DEC; 7011 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 7012 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 7013 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 7014 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 7015 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 7016 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 7017 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 7018 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 7019 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 7020 RECOMP_REGS_OUT(); 7021 } 7022 7023 void sub_2B019497(void) { 7024 int _fpu_cmp = 0; 7025 uint32_t _cf = 0; 7026 int _df = 1; 7027 uint32_t _flag_k = FK_NONE; 7028 uint32_t _flag_a = 0, _flag_b = 0; 7029 uint32_t _itail_tgt = 0; 7030 RECOMP_REGS_LOCALS 7031 RECOMP_ENTER(0x2B019497u); 7032 7033 L_2B019497: 7034 MEM32(edx) = ecx; /* 0x2B019497: mov dword ptr [edx], ecx */ 7035 MEM32(ecx + 0x4) = edx; /* 0x2B019499: mov dword ptr [ecx + 4], edx */ 7036 ecx = MEM32(eax + 0x4); /* 0x2B01949C: mov ecx, dword ptr [eax + 4] */ 7037 ecx = MEM32(ecx); /* 0x2B01949F: mov ecx, dword ptr [ecx] */ 7038 edx = MEM32(eax + 0x4); /* 0x2B0194A1: mov edx, dword ptr [eax + 4] */ 7039 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2B0194A4: mov dl, byte ptr [edx + 0x24] */ 7040 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0194A7: mov byte ptr [ecx + 0x24], dl */ 7041 edx = MEM32(eax + 0x4); /* 0x2B0194AA: mov edx, dword ptr [eax + 4] */ 7042 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194AD: mov byte ptr [edx + 0x24], bl */ 7043 ecx = MEM32(ecx); /* 0x2B0194B0: mov ecx, dword ptr [ecx] */ 7044 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194B2: mov byte ptr [ecx + 0x24], bl */ 7045 ecx = MEM32(eax + 0x4); /* 0x2B0194B5: mov ecx, dword ptr [eax + 4] */ 7046 edx = MEM32(ecx); /* 0x2B0194B8: mov edx, dword ptr [ecx] */ 7047 esi = MEM32(edx + 0x8); /* 0x2B0194BA: mov esi, dword ptr [edx + 8] */ 7048 MEM32(ecx) = esi; /* 0x2B0194BD: mov dword ptr [ecx], esi */ 7049 esi = MEM32(edx + 0x8); /* 0x2B0194BF: mov esi, dword ptr [edx + 8] */ 7050 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0194C2: cmp esi, dword ptr [edi + 8] */ 7051 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7053 _flag_k = FK_CMP; 7054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0194CA; /* 0x2B0194C5: je 0x2b0194ca */ 7055 L_2B0194C7: 7056 MEM32(esi + 0x4) = ecx; /* 0x2B0194C7: mov dword ptr [esi + 4], ecx */ 7057 L_2B0194CA: 7058 esi = MEM32(ecx + 0x4); /* 0x2B0194CA: mov esi, dword ptr [ecx + 4] */ 7059 MEM32(edx + 0x4) = esi; /* 0x2B0194CD: mov dword ptr [edx + 4], esi */ 7060 esi = MEM32(edi + 0x4); /* 0x2B0194D0: mov esi, dword ptr [edi + 4] */ 7061 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0194D3: cmp ecx, dword ptr [esi + 4] */ 7062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7064 _flag_k = FK_CMP; 7065 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194DD; /* 0x2B0194D6: jne 0x2b0194dd */ 7066 L_2B0194D8: 7067 MEM32(esi + 0x4) = edx; /* 0x2B0194D8: mov dword ptr [esi + 4], edx */ 7068 goto L_2B0194EC; /* 0x2B0194DB: jmp 0x2b0194ec */ 7069 L_2B0194DD: 7070 esi = MEM32(ecx + 0x4); /* 0x2B0194DD: mov esi, dword ptr [ecx + 4] */ 7071 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0194E0: cmp ecx, dword ptr [esi + 8] */ 7072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7074 _flag_k = FK_CMP; 7075 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0194EA; /* 0x2B0194E3: jne 0x2b0194ea */ 7076 L_2B0194E5: 7077 MEM32(esi + 0x8) = edx; /* 0x2B0194E5: mov dword ptr [esi + 8], edx */ 7078 goto L_2B0194EC; /* 0x2B0194E8: jmp 0x2b0194ec */ 7079 L_2B0194EA: 7080 MEM32(esi) = edx; /* 0x2B0194EA: mov dword ptr [esi], edx */ 7081 L_2B0194EC: 7082 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 7083 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 7084 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 7085 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 7086 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 7087 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 7088 RECOMP_FLAGS_IN(); 7089 PUSH32(esp, esi); /* 0x2B019500: push esi */ 7090 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 7091 RECOMP_FLAGS_IN(); 7092 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 7093 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 7094 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7095 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7096 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 7097 _flag_k = FK_ADD; 7098 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7099 eax = eax - 1; /* 0x2B01950F: dec eax */ 7100 _flag_k = FK_DEC; 7101 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 7102 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 7103 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 7104 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 7105 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 7106 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 7107 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 7108 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 7109 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 7110 RECOMP_REGS_OUT(); 7111 } 7112 7113 void sub_2B0194EC(void) { 7114 int _fpu_cmp = 0; 7115 uint32_t _cf = 0; 7116 int _df = 1; 7117 uint32_t _flag_k = FK_NONE; 7118 uint32_t _flag_a = 0, _flag_b = 0; 7119 uint32_t _itail_tgt = 0; 7120 RECOMP_REGS_LOCALS 7121 RECOMP_ENTER(0x2B0194ECu); 7122 7123 L_2B0194EC: 7124 MEM32(edx + 0x8) = ecx; /* 0x2B0194EC: mov dword ptr [edx + 8], ecx */ 7125 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 7126 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 7127 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 7128 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 7129 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 7130 RECOMP_FLAGS_IN(); 7131 PUSH32(esp, esi); /* 0x2B019500: push esi */ 7132 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 7133 RECOMP_FLAGS_IN(); 7134 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 7135 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 7136 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7137 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7138 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 7139 _flag_k = FK_ADD; 7140 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7141 eax = eax - 1; /* 0x2B01950F: dec eax */ 7142 _flag_k = FK_DEC; 7143 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 7144 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 7145 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 7146 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 7147 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 7148 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 7149 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 7150 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 7151 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 7152 RECOMP_REGS_OUT(); 7153 } 7154 7155 void sub_2B0194EF(void) { 7156 int _fpu_cmp = 0; 7157 uint32_t _cf = 0; 7158 int _df = 1; 7159 uint32_t _flag_k = FK_NONE; 7160 uint32_t _flag_a = 0, _flag_b = 0; 7161 uint32_t _itail_tgt = 0; 7162 RECOMP_REGS_LOCALS 7163 RECOMP_ENTER(0x2B0194EFu); 7164 7165 L_2B0194EF: 7166 MEM32(ecx + 0x4) = edx; /* 0x2B0194EF: mov dword ptr [ecx + 4], edx */ 7167 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 7168 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 7169 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 7170 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 7171 RECOMP_FLAGS_IN(); 7172 PUSH32(esp, esi); /* 0x2B019500: push esi */ 7173 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 7174 RECOMP_FLAGS_IN(); 7175 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 7176 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 7177 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7178 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7179 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 7180 _flag_k = FK_ADD; 7181 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7182 eax = eax - 1; /* 0x2B01950F: dec eax */ 7183 _flag_k = FK_DEC; 7184 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 7185 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 7186 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 7187 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 7188 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 7189 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 7190 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 7191 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 7192 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 7193 RECOMP_REGS_OUT(); 7194 } 7195 7196 void sub_2B0194F2(void) { 7197 int _fpu_cmp = 0; 7198 uint32_t _cf = 0; 7199 int _df = 1; 7200 uint32_t _flag_k = FK_NONE; 7201 uint32_t _flag_a = 0, _flag_b = 0; 7202 uint32_t _itail_tgt = 0; 7203 RECOMP_REGS_LOCALS 7204 RECOMP_ENTER(0x2B0194F2u); 7205 7206 L_2B0194F2: 7207 esi = MEM32(ebp + (-0x4)); /* 0x2B0194F2: mov esi, dword ptr [ebp - 4] */ 7208 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0194F5: mov byte ptr [eax + 0x24], bl */ 7209 ecx = esi + 0xC; /* 0x2B0194F8: lea ecx, [esi + 0xc] */ 7210 RECOMP_ICALL(0x2B018920u); /* 0x2B0194FB: call 0x2b018920 */ /* not lifted */ 7211 RECOMP_FLAGS_IN(); 7212 PUSH32(esp, esi); /* 0x2B019500: push esi */ 7213 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019501: call 0x2b0ab1ba */ /* not lifted */ 7214 RECOMP_FLAGS_IN(); 7215 eax = MEM32(edi + 0x10); /* 0x2B019506: mov eax, dword ptr [edi + 0x10] */ 7216 edx = MEM32(ebp + 0xC); /* 0x2B019509: mov edx, dword ptr [ebp + 0xc] */ 7217 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7218 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7219 esp = esp + 4; /* 0x2B01950C: add esp, 4 */ 7220 _flag_k = FK_ADD; 7221 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7222 eax = eax - 1; /* 0x2B01950F: dec eax */ 7223 _flag_k = FK_DEC; 7224 MEM32(edi + 0x10) = eax; /* 0x2B019510: mov dword ptr [edi + 0x10], eax */ 7225 eax = MEM32(ebp + 0x8); /* 0x2B019513: mov eax, dword ptr [ebp + 8] */ 7226 edi = POP32_VAL(esp); /* 0x2B019516: pop edi */ 7227 esi = POP32_VAL(esp); /* 0x2B019517: pop esi */ 7228 MEM32(eax) = edx; /* 0x2B019518: mov dword ptr [eax], edx */ 7229 ebx = POP32_VAL(esp); /* 0x2B01951A: pop ebx */ 7230 esp = ebp; /* 0x2B01951B: mov esp, ebp */ 7231 ebp = POP32_VAL(esp); /* 0x2B01951D: pop ebp */ 7232 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01951E: ret 8 */ 7233 RECOMP_REGS_OUT(); 7234 } 7235 7236 void sub_2B019530(void) { 7237 int _fpu_cmp = 0; 7238 uint32_t _cf = 0; 7239 int _df = 1; 7240 uint32_t _flag_k = FK_NONE; 7241 uint32_t _flag_a = 0, _flag_b = 0; 7242 uint32_t _itail_tgt = 0; 7243 RECOMP_REGS_LOCALS 7244 RECOMP_ENTER(0x2B019530u); 7245 7246 L_2B019530: 7247 PUSH32(esp, ebp); /* 0x2B019530: push ebp */ 7248 ebp = esp; /* 0x2B019531: mov ebp, esp */ 7249 PUSH32(esp, ebx); /* 0x2B019533: push ebx */ 7250 PUSH32(esp, esi); /* 0x2B019534: push esi */ 7251 ebx = ecx; /* 0x2B019535: mov ebx, ecx */ 7252 eax = MEM32(ebx + 0x8); /* 0x2B019537: mov eax, dword ptr [ebx + 8] */ 7253 PUSH32(esp, edi); /* 0x2B01953A: push edi */ 7254 edi = MEM32(ebp + 0x8); /* 0x2B01953B: mov edi, dword ptr [ebp + 8] */ 7255 /* cmp edi, eax */ /* 0x2B01953E: cmp edi, eax */ 7256 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7258 _flag_k = FK_CMP; 7259 esi = edi; /* 0x2B019540: mov esi, edi */ 7260 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01956B; /* 0x2B019542: je 0x2b01956b */ 7261 L_2B019544: 7262 eax = MEM32(esi + 0x8); /* 0x2B019544: mov eax, dword ptr [esi + 8] */ 7263 PUSH32(esp, eax); /* 0x2B019547: push eax */ 7264 ecx = ebx; /* 0x2B019548: mov ecx, ebx */ 7265 RECOMP_ICALL(0x2B019530u); /* 0x2B01954A: call 0x2b019530 */ /* not lifted */ 7266 RECOMP_FLAGS_IN(); 7267 esi = MEM32(esi); /* 0x2B01954F: mov esi, dword ptr [esi] */ 7268 ecx = edi + 0xC; /* 0x2B019551: lea ecx, [edi + 0xc] */ 7269 RECOMP_ICALL(0x2B018920u); /* 0x2B019554: call 0x2b018920 */ /* not lifted */ 7270 RECOMP_FLAGS_IN(); 7271 PUSH32(esp, edi); /* 0x2B019559: push edi */ 7272 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01955A: call 0x2b0ab1ba */ /* not lifted */ 7273 RECOMP_FLAGS_IN(); 7274 eax = MEM32(ebx + 0x8); /* 0x2B01955F: mov eax, dword ptr [ebx + 8] */ 7275 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7276 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7277 esp = esp + 4; /* 0x2B019562: add esp, 4 */ 7278 _flag_k = FK_ADD; 7279 /* cmp esi, eax */ /* 0x2B019565: cmp esi, eax */ 7280 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7282 _flag_k = FK_CMP; 7283 edi = esi; /* 0x2B019567: mov edi, esi */ 7284 RECOMP_BACKEDGE(); 7285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019544; /* 0x2B019569: jne 0x2b019544 */ 7286 L_2B01956B: 7287 edi = POP32_VAL(esp); /* 0x2B01956B: pop edi */ 7288 esi = POP32_VAL(esp); /* 0x2B01956C: pop esi */ 7289 ebx = POP32_VAL(esp); /* 0x2B01956D: pop ebx */ 7290 ebp = POP32_VAL(esp); /* 0x2B01956E: pop ebp */ 7291 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01956F: ret 4 */ 7292 RECOMP_REGS_OUT(); 7293 } 7294 7295 void sub_2B019580(void) { 7296 int _fpu_cmp = 0; 7297 uint32_t _cf = 0; 7298 int _df = 1; 7299 uint32_t _flag_k = FK_NONE; 7300 uint32_t _flag_a = 0, _flag_b = 0; 7301 uint32_t _itail_tgt = 0; 7302 RECOMP_REGS_LOCALS 7303 RECOMP_ENTER(0x2B019580u); 7304 7305 L_2B019580: 7306 PUSH32(esp, ebp); /* 0x2B019580: push ebp */ 7307 ebp = esp; /* 0x2B019581: mov ebp, esp */ 7308 PUSH32(esp, ebx); /* 0x2B019583: push ebx */ 7309 PUSH32(esp, esi); /* 0x2B019584: push esi */ 7310 esi = MEM32(ecx); /* 0x2B019585: mov esi, dword ptr [ecx] */ 7311 edx = MEM32(esi + 0x8); /* 0x2B019587: mov edx, dword ptr [esi + 8] */ 7312 SET_LO8(eax, MEM8(edx + 0x25)); /* 0x2B01958A: mov al, byte ptr [edx + 0x25] */ 7313 /* test LO8(eax), LO8(eax) */ /* 0x2B01958D: test al, al */ 7314 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7315 _cf = 0; 7316 _flag_k = FK_NARROW(FK_TEST, 24); 7317 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0195B2; /* 0x2B01958F: jne 0x2b0195b2 */ 7318 L_2B019591: 7319 eax = MEM32(edx); /* 0x2B019591: mov eax, dword ptr [edx] */ 7320 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B019593: mov bl, byte ptr [eax + 0x25] */ 7321 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019596: test bl, bl */ 7322 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7323 _cf = 0; 7324 _flag_k = FK_NARROW(FK_TEST, 24); 7325 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0195A5; /* 0x2B019598: jne 0x2b0195a5 */ 7326 L_2B01959A: 7327 edx = eax; /* 0x2B01959A: mov edx, eax */ 7328 eax = MEM32(edx); /* 0x2B01959C: mov eax, dword ptr [edx] */ 7329 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B01959E: mov bl, byte ptr [eax + 0x25] */ 7330 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0195A1: test bl, bl */ 7331 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7332 _cf = 0; 7333 _flag_k = FK_NARROW(FK_TEST, 24); 7334 RECOMP_BACKEDGE(); 7335 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01959A; /* 0x2B0195A3: je 0x2b01959a */ 7336 L_2B0195A5: 7337 eax = MEM32(ebp + 0x8); /* 0x2B0195A5: mov eax, dword ptr [ebp + 8] */ 7338 MEM32(ecx) = edx; /* 0x2B0195A8: mov dword ptr [ecx], edx */ 7339 MEM32(eax) = esi; /* 0x2B0195AA: mov dword ptr [eax], esi */ 7340 esi = POP32_VAL(esp); /* 0x2B0195AC: pop esi */ 7341 ebx = POP32_VAL(esp); /* 0x2B0195AD: pop ebx */ 7342 ebp = POP32_VAL(esp); /* 0x2B0195AE: pop ebp */ 7343 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0195AF: ret 8 */ 7344 L_2B0195B2: 7345 eax = MEM32(esi + 0x4); /* 0x2B0195B2: mov eax, dword ptr [esi + 4] */ 7346 edx = MEM32(ecx); /* 0x2B0195B5: mov edx, dword ptr [ecx] */ 7347 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B0195B7: cmp edx, dword ptr [eax + 8] */ 7348 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 7349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7350 _flag_k = FK_CMP; 7351 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0195C8; /* 0x2B0195BA: jne 0x2b0195c8 */ 7352 L_2B0195BC: 7353 MEM32(ecx) = eax; /* 0x2B0195BC: mov dword ptr [ecx], eax */ 7354 eax = MEM32(eax + 0x4); /* 0x2B0195BE: mov eax, dword ptr [eax + 4] */ 7355 edx = MEM32(ecx); /* 0x2B0195C1: mov edx, dword ptr [ecx] */ 7356 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B0195C3: cmp edx, dword ptr [eax + 8] */ 7357 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 7358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7359 _flag_k = FK_CMP; 7360 RECOMP_BACKEDGE(); 7361 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0195BC; /* 0x2B0195C6: je 0x2b0195bc */ 7362 L_2B0195C8: 7363 edx = MEM32(ecx); /* 0x2B0195C8: mov edx, dword ptr [ecx] */ 7364 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B0195CA: cmp dword ptr [edx + 8], eax */ 7365 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 7366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7367 _flag_k = FK_CMP; 7368 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0195D1; /* 0x2B0195CD: je 0x2b0195d1 */ 7369 L_2B0195CF: 7370 MEM32(ecx) = eax; /* 0x2B0195CF: mov dword ptr [ecx], eax */ 7371 L_2B0195D1: 7372 eax = MEM32(ebp + 0x8); /* 0x2B0195D1: mov eax, dword ptr [ebp + 8] */ 7373 MEM32(eax) = esi; /* 0x2B0195D4: mov dword ptr [eax], esi */ 7374 esi = POP32_VAL(esp); /* 0x2B0195D6: pop esi */ 7375 ebx = POP32_VAL(esp); /* 0x2B0195D7: pop ebx */ 7376 ebp = POP32_VAL(esp); /* 0x2B0195D8: pop ebp */ 7377 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0195D9: ret 8 */ 7378 RECOMP_REGS_OUT(); 7379 } 7380 7381 void sub_2B0195E0(void) { 7382 int _fpu_cmp = 0; 7383 uint32_t _cf = 0; 7384 int _df = 1; 7385 uint32_t _flag_k = FK_NONE; 7386 uint32_t _flag_a = 0, _flag_b = 0; 7387 uint32_t _itail_tgt = 0; 7388 RECOMP_REGS_LOCALS 7389 RECOMP_ENTER(0x2B0195E0u); 7390 7391 L_2B0195E0: 7392 PUSH32(esp, ebp); /* 0x2B0195E0: push ebp */ 7393 ebp = esp; /* 0x2B0195E1: mov ebp, esp */ 7394 PUSH32(esp, ecx); /* 0x2B0195E3: push ecx */ 7395 PUSH32(esp, ebx); /* 0x2B0195E4: push ebx */ 7396 ebx = MEM32(ebp + 0x8); /* 0x2B0195E5: mov ebx, dword ptr [ebp + 8] */ 7397 PUSH32(esp, edi); /* 0x2B0195E8: push edi */ 7398 edi = ecx; /* 0x2B0195E9: mov edi, ecx */ 7399 SET_LO8(ecx, MEM8(ebx + 0x15)); /* 0x2B0195EB: mov cl, byte ptr [ebx + 0x15] */ 7400 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0195EE: test cl, cl */ 7401 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 7402 _cf = 0; 7403 _flag_k = FK_NARROW(FK_TEST, 24); 7404 eax = MEM32(edi + 0x8); /* 0x2B0195F0: mov eax, dword ptr [edi + 8] */ 7405 MEM32(ebp + (-0x4)) = eax; /* 0x2B0195F3: mov dword ptr [ebp - 4], eax */ 7406 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019663; /* 0x2B0195F6: jne 0x2b019663 */ 7407 L_2B0195F8: 7408 SET_LO8(eax, MEM8(ebx + 0x14)); /* 0x2B0195F8: mov al, byte ptr [ebx + 0x14] */ 7409 PUSH32(esp, esi); /* 0x2B0195FB: push esi */ 7410 PUSH32(esp, 0x18u); /* 0x2B0195FC: push 0x18 */ 7411 MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2B0195FE: mov byte ptr [ebp + 0xb], al */ 7412 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019601: call 0x2b0ab212 */ /* not lifted */ 7413 RECOMP_FLAGS_IN(); 7414 ecx = MEM32(ebp + 0xC); /* 0x2B019606: mov ecx, dword ptr [ebp + 0xc] */ 7415 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B019609: mov dl, byte ptr [ebp + 0xb] */ 7416 esi = eax; /* 0x2B01960C: mov esi, eax */ 7417 eax = esi + 0xC; /* 0x2B01960E: lea eax, [esi + 0xc] */ 7418 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7419 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7420 esp = esp + 4; /* 0x2B019611: add esp, 4 */ 7421 _flag_k = FK_ADD; 7422 /* test eax, eax */ /* 0x2B019614: test eax, eax */ 7423 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7424 _cf = 0; 7425 _flag_k = FK_TEST; 7426 MEM32(esi + 0x4) = ecx; /* 0x2B019616: mov dword ptr [esi + 4], ecx */ 7427 MEM8(esi + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B019619: mov byte ptr [esi + 0x14], dl */ 7428 MEM8(esi + 0x15) = (uint8_t)(0); /* 0x2B01961C: mov byte ptr [esi + 0x15], 0 */ 7429 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01962D; /* 0x2B019620: je 0x2b01962d */ 7430 L_2B019622: 7431 ecx = MEM32(ebx + 0xC); /* 0x2B019622: mov ecx, dword ptr [ebx + 0xc] */ 7432 MEM32(eax) = ecx; /* 0x2B019625: mov dword ptr [eax], ecx */ 7433 edx = MEM32(ebx + 0x10); /* 0x2B019627: mov edx, dword ptr [ebx + 0x10] */ 7434 MEM32(eax + 0x4) = edx; /* 0x2B01962A: mov dword ptr [eax + 4], edx */ 7435 L_2B01962D: 7436 eax = MEM32(edi + 0x8); /* 0x2B01962D: mov eax, dword ptr [edi + 8] */ 7437 edx = MEM32(ebp + (-0x4)); /* 0x2B019630: mov edx, dword ptr [ebp - 4] */ 7438 MEM32(esi) = eax; /* 0x2B019633: mov dword ptr [esi], eax */ 7439 ecx = MEM32(edi + 0x8); /* 0x2B019635: mov ecx, dword ptr [edi + 8] */ 7440 MEM32(esi + 0x8) = ecx; /* 0x2B019638: mov dword ptr [esi + 8], ecx */ 7441 /* cmp edx, MEM32(edi + 0x8) */ /* 0x2B01963B: cmp edx, dword ptr [edi + 8] */ 7442 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7444 _flag_k = FK_CMP; 7445 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019643; /* 0x2B01963E: jne 0x2b019643 */ 7446 L_2B019640: 7447 MEM32(ebp + (-0x4)) = esi; /* 0x2B019640: mov dword ptr [ebp - 4], esi */ 7448 L_2B019643: 7449 eax = MEM32(ebx); /* 0x2B019643: mov eax, dword ptr [ebx] */ 7450 PUSH32(esp, esi); /* 0x2B019645: push esi */ 7451 PUSH32(esp, eax); /* 0x2B019646: push eax */ 7452 ecx = edi; /* 0x2B019647: mov ecx, edi */ 7453 RECOMP_ICALL(0x2B0195E0u); /* 0x2B019649: call 0x2b0195e0 */ /* not lifted */ 7454 RECOMP_FLAGS_IN(); 7455 MEM32(esi) = eax; /* 0x2B01964E: mov dword ptr [esi], eax */ 7456 ecx = MEM32(ebx + 0x8); /* 0x2B019650: mov ecx, dword ptr [ebx + 8] */ 7457 PUSH32(esp, esi); /* 0x2B019653: push esi */ 7458 PUSH32(esp, ecx); /* 0x2B019654: push ecx */ 7459 ecx = edi; /* 0x2B019655: mov ecx, edi */ 7460 RECOMP_ICALL(0x2B0195E0u); /* 0x2B019657: call 0x2b0195e0 */ /* not lifted */ 7461 RECOMP_FLAGS_IN(); 7462 MEM32(esi + 0x8) = eax; /* 0x2B01965C: mov dword ptr [esi + 8], eax */ 7463 eax = MEM32(ebp + (-0x4)); /* 0x2B01965F: mov eax, dword ptr [ebp - 4] */ 7464 esi = POP32_VAL(esp); /* 0x2B019662: pop esi */ 7465 L_2B019663: 7466 edi = POP32_VAL(esp); /* 0x2B019663: pop edi */ 7467 ebx = POP32_VAL(esp); /* 0x2B019664: pop ebx */ 7468 esp = ebp; /* 0x2B019665: mov esp, ebp */ 7469 ebp = POP32_VAL(esp); /* 0x2B019667: pop ebp */ 7470 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B019668: ret 8 */ 7471 RECOMP_REGS_OUT(); 7472 } 7473 7474 void sub_2B019670(void) { 7475 int _fpu_cmp = 0; 7476 uint32_t _cf = 0; 7477 int _df = 1; 7478 uint32_t _flag_k = FK_NONE; 7479 uint32_t _flag_a = 0, _flag_b = 0; 7480 uint32_t _itail_tgt = 0; 7481 RECOMP_REGS_LOCALS 7482 RECOMP_ENTER(0x2B019670u); 7483 7484 L_2B019670: 7485 PUSH32(esp, ebp); /* 0x2B019670: push ebp */ 7486 ebp = esp; /* 0x2B019671: mov ebp, esp */ 7487 PUSH32(esp, ecx); /* 0x2B019673: push ecx */ 7488 PUSH32(esp, ebx); /* 0x2B019674: push ebx */ 7489 ebx = MEM32(ebp + 0x8); /* 0x2B019675: mov ebx, dword ptr [ebp + 8] */ 7490 PUSH32(esp, edi); /* 0x2B019678: push edi */ 7491 edi = ecx; /* 0x2B019679: mov edi, ecx */ 7492 SET_LO8(ecx, MEM8(ebx + 0x25)); /* 0x2B01967B: mov cl, byte ptr [ebx + 0x25] */ 7493 /* test LO8(ecx), LO8(ecx) */ /* 0x2B01967E: test cl, cl */ 7494 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 7495 _cf = 0; 7496 _flag_k = FK_NARROW(FK_TEST, 24); 7497 eax = MEM32(edi + 0x8); /* 0x2B019680: mov eax, dword ptr [edi + 8] */ 7498 MEM32(ebp + (-0x4)) = eax; /* 0x2B019683: mov dword ptr [ebp - 4], eax */ 7499 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0196F0; /* 0x2B019686: jne 0x2b0196f0 */ 7500 L_2B019688: 7501 SET_LO8(eax, MEM8(ebx + 0x24)); /* 0x2B019688: mov al, byte ptr [ebx + 0x24] */ 7502 PUSH32(esp, esi); /* 0x2B01968B: push esi */ 7503 PUSH32(esp, 0x28u); /* 0x2B01968C: push 0x28 */ 7504 MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2B01968E: mov byte ptr [ebp + 0xb], al */ 7505 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019691: call 0x2b0ab212 */ /* not lifted */ 7506 RECOMP_FLAGS_IN(); 7507 ecx = MEM32(ebp + 0xC); /* 0x2B019696: mov ecx, dword ptr [ebp + 0xc] */ 7508 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B019699: mov dl, byte ptr [ebp + 0xb] */ 7509 esi = eax; /* 0x2B01969C: mov esi, eax */ 7510 eax = ebx + 0xC; /* 0x2B01969E: lea eax, [ebx + 0xc] */ 7511 MEM32(esi + 0x4) = ecx; /* 0x2B0196A1: mov dword ptr [esi + 4], ecx */ 7512 PUSH32(esp, eax); /* 0x2B0196A4: push eax */ 7513 ecx = esi + 0xC; /* 0x2B0196A5: lea ecx, [esi + 0xc] */ 7514 PUSH32(esp, ecx); /* 0x2B0196A8: push ecx */ 7515 MEM8(esi + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B0196A9: mov byte ptr [esi + 0x24], dl */ 7516 MEM8(esi + 0x25) = (uint8_t)(0); /* 0x2B0196AC: mov byte ptr [esi + 0x25], 0 */ 7517 RECOMP_ICALL(0x2B019DA0u); /* 0x2B0196B0: call 0x2b019da0 */ /* not lifted */ 7518 RECOMP_FLAGS_IN(); 7519 edx = MEM32(edi + 0x8); /* 0x2B0196B5: mov edx, dword ptr [edi + 8] */ 7520 ecx = MEM32(ebp + (-0x4)); /* 0x2B0196B8: mov ecx, dword ptr [ebp - 4] */ 7521 MEM32(esi) = edx; /* 0x2B0196BB: mov dword ptr [esi], edx */ 7522 eax = MEM32(edi + 0x8); /* 0x2B0196BD: mov eax, dword ptr [edi + 8] */ 7523 MEM32(esi + 0x8) = eax; /* 0x2B0196C0: mov dword ptr [esi + 8], eax */ 7524 eax = MEM32(edi + 0x8); /* 0x2B0196C3: mov eax, dword ptr [edi + 8] */ 7525 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7526 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7527 esp = esp + 0xCu; /* 0x2B0196C6: add esp, 0xc */ 7528 _flag_k = FK_ADD; 7529 /* cmp ecx, eax */ /* 0x2B0196C9: cmp ecx, eax */ 7530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7532 _flag_k = FK_CMP; 7533 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0196D0; /* 0x2B0196CB: jne 0x2b0196d0 */ 7534 L_2B0196CD: 7535 MEM32(ebp + (-0x4)) = esi; /* 0x2B0196CD: mov dword ptr [ebp - 4], esi */ 7536 L_2B0196D0: 7537 edx = MEM32(ebx); /* 0x2B0196D0: mov edx, dword ptr [ebx] */ 7538 PUSH32(esp, esi); /* 0x2B0196D2: push esi */ 7539 PUSH32(esp, edx); /* 0x2B0196D3: push edx */ 7540 ecx = edi; /* 0x2B0196D4: mov ecx, edi */ 7541 RECOMP_ICALL(0x2B019670u); /* 0x2B0196D6: call 0x2b019670 */ /* not lifted */ 7542 RECOMP_FLAGS_IN(); 7543 MEM32(esi) = eax; /* 0x2B0196DB: mov dword ptr [esi], eax */ 7544 eax = MEM32(ebx + 0x8); /* 0x2B0196DD: mov eax, dword ptr [ebx + 8] */ 7545 PUSH32(esp, esi); /* 0x2B0196E0: push esi */ 7546 PUSH32(esp, eax); /* 0x2B0196E1: push eax */ 7547 ecx = edi; /* 0x2B0196E2: mov ecx, edi */ 7548 RECOMP_ICALL(0x2B019670u); /* 0x2B0196E4: call 0x2b019670 */ /* not lifted */ 7549 RECOMP_FLAGS_IN(); 7550 MEM32(esi + 0x8) = eax; /* 0x2B0196E9: mov dword ptr [esi + 8], eax */ 7551 eax = MEM32(ebp + (-0x4)); /* 0x2B0196EC: mov eax, dword ptr [ebp - 4] */ 7552 esi = POP32_VAL(esp); /* 0x2B0196EF: pop esi */ 7553 L_2B0196F0: 7554 edi = POP32_VAL(esp); /* 0x2B0196F0: pop edi */ 7555 ebx = POP32_VAL(esp); /* 0x2B0196F1: pop ebx */ 7556 esp = ebp; /* 0x2B0196F2: mov esp, ebp */ 7557 ebp = POP32_VAL(esp); /* 0x2B0196F4: pop ebp */ 7558 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B0196F5: ret 8 */ 7559 RECOMP_REGS_OUT(); 7560 } 7561 7562 void sub_2B019700(void) { 7563 int _fpu_cmp = 0; 7564 uint32_t _cf = 0; 7565 int _df = 1; 7566 uint32_t _flag_k = FK_NONE; 7567 uint32_t _flag_a = 0, _flag_b = 0; 7568 uint32_t _itail_tgt = 0; 7569 RECOMP_REGS_LOCALS 7570 RECOMP_ENTER(0x2B019700u); 7571 7572 L_2B019700: 7573 PUSH32(esp, ebp); /* 0x2B019700: push ebp */ 7574 ebp = esp; /* 0x2B019701: mov ebp, esp */ 7575 PUSH32(esp, ecx); /* 0x2B019703: push ecx */ 7576 PUSH32(esp, ebx); /* 0x2B019704: push ebx */ 7577 PUSH32(esp, esi); /* 0x2B019705: push esi */ 7578 PUSH32(esp, edi); /* 0x2B019706: push edi */ 7579 PUSH32(esp, 0x28u); /* 0x2B019707: push 0x28 */ 7580 esi = ecx; /* 0x2B019709: mov esi, ecx */ 7581 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01970B: call 0x2b0ab212 */ /* not lifted */ 7582 RECOMP_FLAGS_IN(); 7583 edi = MEM32(ebp + 0x10); /* 0x2B019710: mov edi, dword ptr [ebp + 0x10] */ 7584 ebx = MEM32(ebp + 0x14); /* 0x2B019713: mov ebx, dword ptr [ebp + 0x14] */ 7585 MEM32(eax + 0x4) = edi; /* 0x2B019716: mov dword ptr [eax + 4], edi */ 7586 MEM8(eax + 0x24) = (uint8_t)(0); /* 0x2B019719: mov byte ptr [eax + 0x24], 0 */ 7587 MEM8(eax + 0x25) = (uint8_t)(0); /* 0x2B01971D: mov byte ptr [eax + 0x25], 0 */ 7588 ecx = MEM32(esi + 0x8); /* 0x2B019721: mov ecx, dword ptr [esi + 8] */ 7589 MEM32(eax) = ecx; /* 0x2B019724: mov dword ptr [eax], ecx */ 7590 edx = MEM32(esi + 0x8); /* 0x2B019726: mov edx, dword ptr [esi + 8] */ 7591 MEM32(ebp + (-0x4)) = eax; /* 0x2B019729: mov dword ptr [ebp - 4], eax */ 7592 MEM32(eax + 0x8) = edx; /* 0x2B01972C: mov dword ptr [eax + 8], edx */ 7593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 7594 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7595 eax = eax + 0xCu; /* 0x2B01972F: add eax, 0xc */ 7596 _flag_k = FK_ADD; 7597 PUSH32(esp, ebx); /* 0x2B019732: push ebx */ 7598 PUSH32(esp, eax); /* 0x2B019733: push eax */ 7599 RECOMP_ICALL(0x2B019DA0u); /* 0x2B019734: call 0x2b019da0 */ /* not lifted */ 7600 RECOMP_FLAGS_IN(); 7601 ecx = MEM32(esi + 0x10); /* 0x2B019739: mov ecx, dword ptr [esi + 0x10] */ 7602 eax = MEM32(esi + 0x4); /* 0x2B01973C: mov eax, dword ptr [esi + 4] */ 7603 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7604 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7605 esp = esp + 0xCu; /* 0x2B01973F: add esp, 0xc */ 7606 _flag_k = FK_ADD; 7607 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7608 ecx = ecx + 1; /* 0x2B019742: inc ecx */ 7609 _flag_k = FK_INC; 7610 /* cmp edi, eax */ /* 0x2B019743: cmp edi, eax */ 7611 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7613 _flag_k = FK_CMP; 7614 MEM32(esi + 0x10) = ecx; /* 0x2B019745: mov dword ptr [esi + 0x10], ecx */ 7615 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01976C; /* 0x2B019748: je 0x2b01976c */ 7616 L_2B01974A: 7617 eax = MEM32(ebp + 0xC); /* 0x2B01974A: mov eax, dword ptr [ebp + 0xc] */ 7618 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2B01974D: cmp eax, dword ptr [esi + 8] */ 7619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7621 _flag_k = FK_CMP; 7622 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01976C; /* 0x2B019750: jne 0x2b01976c */ 7623 L_2B019752: 7624 ecx = MEM32(ebx); /* 0x2B019752: mov ecx, dword ptr [ebx] */ 7625 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x2B019754: cmp ecx, dword ptr [edi + 0xc] */ 7626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 7627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7628 _flag_k = FK_CMP; 7629 if (CMP_L(_flag_a, _flag_b)) goto L_2B01976C; /* 0x2B019757: jl 0x2b01976c */ 7630 L_2B019759: 7631 ecx = MEM32(ebp + (-0x4)); /* 0x2B019759: mov ecx, dword ptr [ebp - 4] */ 7632 MEM32(edi + 0x8) = ecx; /* 0x2B01975C: mov dword ptr [edi + 8], ecx */ 7633 eax = MEM32(esi + 0x4); /* 0x2B01975F: mov eax, dword ptr [esi + 4] */ 7634 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B019762: cmp edi, dword ptr [eax + 8] */ 7635 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 7636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7637 _flag_k = FK_CMP; 7638 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01978C; /* 0x2B019765: jne 0x2b01978c */ 7639 L_2B019767: 7640 MEM32(eax + 0x8) = ecx; /* 0x2B019767: mov dword ptr [eax + 8], ecx */ 7641 goto L_2B01978C; /* 0x2B01976A: jmp 0x2b01978c */ 7642 L_2B01976C: 7643 ecx = MEM32(ebp + (-0x4)); /* 0x2B01976C: mov ecx, dword ptr [ebp - 4] */ 7644 MEM32(edi) = ecx; /* 0x2B01976F: mov dword ptr [edi], ecx */ 7645 eax = MEM32(esi + 0x4); /* 0x2B019771: mov eax, dword ptr [esi + 4] */ 7646 /* cmp edi, eax */ /* 0x2B019774: cmp edi, eax */ 7647 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7649 _flag_k = FK_CMP; 7650 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019783; /* 0x2B019776: jne 0x2b019783 */ 7651 L_2B019778: 7652 MEM32(eax + 0x4) = ecx; /* 0x2B019778: mov dword ptr [eax + 4], ecx */ 7653 edx = MEM32(esi + 0x4); /* 0x2B01977B: mov edx, dword ptr [esi + 4] */ 7654 MEM32(edx + 0x8) = ecx; /* 0x2B01977E: mov dword ptr [edx + 8], ecx */ 7655 goto L_2B01978C; /* 0x2B019781: jmp 0x2b01978c */ 7656 L_2B019783: 7657 /* cmp edi, MEM32(eax) */ /* 0x2B019783: cmp edi, dword ptr [eax] */ 7658 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 7659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7660 _flag_k = FK_CMP; 7661 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01978C; /* 0x2B019785: jne 0x2b01978c */ 7662 L_2B019787: 7663 ecx = MEM32(ebp + (-0x4)); /* 0x2B019787: mov ecx, dword ptr [ebp - 4] */ 7664 MEM32(eax) = ecx; /* 0x2B01978A: mov dword ptr [eax], ecx */ 7665 L_2B01978C: 7666 edx = MEM32(esi + 0x4); /* 0x2B01978C: mov edx, dword ptr [esi + 4] */ 7667 eax = MEM32(ebp + (-0x4)); /* 0x2B01978F: mov eax, dword ptr [ebp - 4] */ 7668 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B019792: cmp eax, dword ptr [edx + 4] */ 7669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7671 _flag_k = FK_CMP; 7672 SET_LO8(ebx, 1); /* 0x2B019795: mov bl, 1 */ 7673 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B019797: je 0x2b01991d */ 7674 L_2B01979D: 7675 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 7676 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 7677 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 7678 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7679 _cf = 0; 7680 _flag_k = FK_NARROW(FK_TEST, 24); 7681 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 7682 L_2B0197AB: 7683 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 7684 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 7685 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 7686 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7688 _flag_k = FK_CMP; 7689 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 7690 L_2B0197B8: 7691 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 7692 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 7693 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7695 _flag_k = FK_NARROW(FK_CMP, 24); 7696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 7697 L_2B0197C1: 7698 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 7699 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 7700 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 7701 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 7702 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 7703 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 7704 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 7705 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 7706 L_2B0197DC: 7707 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 7708 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7710 _flag_k = FK_CMP; 7711 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 7712 L_2B0197E1: 7713 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 7714 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 7715 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 7716 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 7717 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 7718 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 7719 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7721 _flag_k = FK_CMP; 7722 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 7723 L_2B0197F2: 7724 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 7725 L_2B0197F5: 7726 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 7727 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 7728 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 7729 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 7730 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7732 _flag_k = FK_CMP; 7733 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 7734 L_2B019803: 7735 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 7736 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 7737 L_2B019808: 7738 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 7739 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 7740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7742 _flag_k = FK_CMP; 7743 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 7744 L_2B01980F: 7745 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 7746 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 7747 L_2B019813: 7748 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 7749 L_2B019816: 7750 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 7751 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 7752 L_2B01981B: 7753 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 7754 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 7755 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 7756 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 7757 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 7758 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 7759 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 7760 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 7761 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 7762 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 7763 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 7764 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 7765 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7767 _flag_k = FK_CMP; 7768 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 7769 L_2B019840: 7770 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 7771 L_2B019843: 7772 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 7773 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 7774 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 7775 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 7776 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7778 _flag_k = FK_CMP; 7779 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 7780 L_2B019851: 7781 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 7782 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 7783 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 7784 L_2B01985C: 7785 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 7786 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 7787 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7789 _flag_k = FK_CMP; 7790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 7791 L_2B019864: 7792 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 7793 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 7794 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 7795 L_2B01986F: 7796 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 7797 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 7798 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 7799 L_2B019879: 7800 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 7801 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7803 _flag_k = FK_NARROW(FK_CMP, 24); 7804 RECOMP_BACKEDGE(); 7805 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 7806 L_2B019883: 7807 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 7808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7810 _flag_k = FK_CMP; 7811 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 7812 L_2B019887: 7813 eax = ecx; /* 0x2B019887: mov eax, ecx */ 7814 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 7815 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 7816 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 7817 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 7818 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 7819 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7821 _flag_k = FK_CMP; 7822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 7823 L_2B019898: 7824 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 7825 L_2B01989B: 7826 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 7827 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 7828 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 7829 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 7830 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7832 _flag_k = FK_CMP; 7833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 7834 L_2B0198A9: 7835 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 7836 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 7837 L_2B0198AE: 7838 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 7839 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 7840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7842 _flag_k = FK_CMP; 7843 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 7844 L_2B0198B6: 7845 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 7846 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 7847 L_2B0198BB: 7848 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 7849 L_2B0198BD: 7850 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 7851 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 7852 L_2B0198C3: 7853 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 7854 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 7855 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 7856 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 7857 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 7858 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 7859 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 7860 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 7861 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 7862 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 7863 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 7864 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 7865 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7867 _flag_k = FK_CMP; 7868 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 7869 L_2B0198E8: 7870 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 7871 L_2B0198EB: 7872 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 7873 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 7874 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 7875 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 7876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7878 _flag_k = FK_CMP; 7879 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 7880 L_2B0198F9: 7881 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 7882 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 7883 L_2B0198FE: 7884 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 7885 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 7886 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7888 _flag_k = FK_CMP; 7889 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 7890 L_2B019905: 7891 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 7892 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 7893 L_2B019909: 7894 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 7895 L_2B01990C: 7896 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 7897 L_2B01990E: 7898 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 7899 L_2B019911: 7900 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 7901 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 7902 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7904 _flag_k = FK_CMP; 7905 RECOMP_BACKEDGE(); 7906 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 7907 L_2B01991D: 7908 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 7909 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 7910 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 7911 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 7912 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 7913 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 7914 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 7915 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 7916 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 7917 esp = ebp; /* 0x2B019931: mov esp, ebp */ 7918 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 7919 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 7920 RECOMP_REGS_OUT(); 7921 } 7922 7923 void sub_2B01979D(void) { 7924 int _fpu_cmp = 0; 7925 uint32_t _cf = 0; 7926 int _df = 1; 7927 uint32_t _flag_k = FK_NONE; 7928 uint32_t _flag_a = 0, _flag_b = 0; 7929 uint32_t _itail_tgt = 0; 7930 RECOMP_REGS_LOCALS 7931 RECOMP_ENTER(0x2B01979Du); 7932 7933 L_2B01979D: 7934 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 7935 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 7936 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 7937 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7938 _cf = 0; 7939 _flag_k = FK_NARROW(FK_TEST, 24); 7940 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 7941 L_2B0197AB: 7942 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 7943 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 7944 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 7945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7947 _flag_k = FK_CMP; 7948 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 7949 L_2B0197B8: 7950 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 7951 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 7952 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7954 _flag_k = FK_NARROW(FK_CMP, 24); 7955 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 7956 L_2B0197C1: 7957 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 7958 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 7959 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 7960 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 7961 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 7962 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 7963 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 7964 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 7965 L_2B0197DC: 7966 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 7967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7969 _flag_k = FK_CMP; 7970 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 7971 L_2B0197E1: 7972 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 7973 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 7974 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 7975 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 7976 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 7977 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 7978 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7980 _flag_k = FK_CMP; 7981 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 7982 L_2B0197F2: 7983 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 7984 L_2B0197F5: 7985 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 7986 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 7987 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 7988 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 7989 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7991 _flag_k = FK_CMP; 7992 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 7993 L_2B019803: 7994 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 7995 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 7996 L_2B019808: 7997 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 7998 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 7999 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8001 _flag_k = FK_CMP; 8002 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 8003 L_2B01980F: 8004 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 8005 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 8006 L_2B019813: 8007 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 8008 L_2B019816: 8009 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 8010 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 8011 L_2B01981B: 8012 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 8013 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 8014 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 8015 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 8016 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 8017 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 8018 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 8019 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 8020 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 8021 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 8022 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 8023 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 8024 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8026 _flag_k = FK_CMP; 8027 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 8028 L_2B019840: 8029 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 8030 L_2B019843: 8031 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 8032 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 8033 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 8034 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 8035 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8037 _flag_k = FK_CMP; 8038 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 8039 L_2B019851: 8040 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 8041 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 8042 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 8043 L_2B01985C: 8044 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 8045 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 8046 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8048 _flag_k = FK_CMP; 8049 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 8050 L_2B019864: 8051 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 8052 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 8053 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 8054 L_2B01986F: 8055 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 8056 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 8057 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 8058 L_2B019879: 8059 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 8060 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8062 _flag_k = FK_NARROW(FK_CMP, 24); 8063 RECOMP_BACKEDGE(); 8064 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 8065 L_2B019883: 8066 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 8067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8069 _flag_k = FK_CMP; 8070 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 8071 L_2B019887: 8072 eax = ecx; /* 0x2B019887: mov eax, ecx */ 8073 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 8074 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 8075 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 8076 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 8077 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 8078 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8080 _flag_k = FK_CMP; 8081 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 8082 L_2B019898: 8083 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 8084 L_2B01989B: 8085 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 8086 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 8087 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 8088 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 8089 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8091 _flag_k = FK_CMP; 8092 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 8093 L_2B0198A9: 8094 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 8095 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 8096 L_2B0198AE: 8097 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 8098 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 8099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8101 _flag_k = FK_CMP; 8102 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 8103 L_2B0198B6: 8104 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 8105 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 8106 L_2B0198BB: 8107 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 8108 L_2B0198BD: 8109 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 8110 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 8111 L_2B0198C3: 8112 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 8113 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 8114 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 8115 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 8116 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 8117 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 8118 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 8119 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 8120 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 8121 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 8122 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 8123 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 8124 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8126 _flag_k = FK_CMP; 8127 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 8128 L_2B0198E8: 8129 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 8130 L_2B0198EB: 8131 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 8132 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 8133 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 8134 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 8135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8137 _flag_k = FK_CMP; 8138 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 8139 L_2B0198F9: 8140 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 8141 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 8142 L_2B0198FE: 8143 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 8144 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 8145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8147 _flag_k = FK_CMP; 8148 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 8149 L_2B019905: 8150 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 8151 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 8152 L_2B019909: 8153 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 8154 L_2B01990C: 8155 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 8156 L_2B01990E: 8157 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 8158 L_2B019911: 8159 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 8160 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 8161 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8163 _flag_k = FK_CMP; 8164 RECOMP_BACKEDGE(); 8165 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 8166 L_2B01991D: 8167 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 8168 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 8169 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 8170 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 8171 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 8172 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 8173 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 8174 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 8175 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 8176 esp = ebp; /* 0x2B019931: mov esp, ebp */ 8177 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 8178 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 8179 RECOMP_REGS_OUT(); 8180 } 8181 8182 void sub_2B0197C1(void) { 8183 int _fpu_cmp = 0; 8184 uint32_t _cf = 0; 8185 int _df = 1; 8186 uint32_t _flag_k = FK_NONE; 8187 uint32_t _flag_a = 0, _flag_b = 0; 8188 uint32_t _itail_tgt = 0; 8189 RECOMP_REGS_LOCALS 8190 RECOMP_ENTER(0x2B0197C1u); 8191 8192 goto L_2B0197C1; 8193 L_2B01979D: 8194 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 8195 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 8196 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 8197 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8198 _cf = 0; 8199 _flag_k = FK_NARROW(FK_TEST, 24); 8200 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 8201 L_2B0197AB: 8202 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 8203 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 8204 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 8205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8207 _flag_k = FK_CMP; 8208 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 8209 L_2B0197B8: 8210 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 8211 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 8212 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8214 _flag_k = FK_NARROW(FK_CMP, 24); 8215 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 8216 L_2B0197C1: 8217 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 8218 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 8219 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 8220 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 8221 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 8222 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 8223 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 8224 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 8225 L_2B0197DC: 8226 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 8227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8229 _flag_k = FK_CMP; 8230 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 8231 L_2B0197E1: 8232 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 8233 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 8234 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 8235 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 8236 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 8237 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 8238 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8240 _flag_k = FK_CMP; 8241 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 8242 L_2B0197F2: 8243 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 8244 L_2B0197F5: 8245 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 8246 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 8247 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 8248 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 8249 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8251 _flag_k = FK_CMP; 8252 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 8253 L_2B019803: 8254 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 8255 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 8256 L_2B019808: 8257 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 8258 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 8259 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8261 _flag_k = FK_CMP; 8262 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 8263 L_2B01980F: 8264 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 8265 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 8266 L_2B019813: 8267 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 8268 L_2B019816: 8269 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 8270 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 8271 L_2B01981B: 8272 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 8273 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 8274 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 8275 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 8276 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 8277 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 8278 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 8279 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 8280 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 8281 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 8282 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 8283 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 8284 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8286 _flag_k = FK_CMP; 8287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 8288 L_2B019840: 8289 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 8290 L_2B019843: 8291 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 8292 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 8293 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 8294 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 8295 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8297 _flag_k = FK_CMP; 8298 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 8299 L_2B019851: 8300 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 8301 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 8302 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 8303 L_2B01985C: 8304 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 8305 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 8306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8308 _flag_k = FK_CMP; 8309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 8310 L_2B019864: 8311 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 8312 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 8313 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 8314 L_2B01986F: 8315 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 8316 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 8317 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 8318 L_2B019879: 8319 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 8320 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8322 _flag_k = FK_NARROW(FK_CMP, 24); 8323 RECOMP_BACKEDGE(); 8324 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 8325 L_2B019883: 8326 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 8327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8329 _flag_k = FK_CMP; 8330 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 8331 L_2B019887: 8332 eax = ecx; /* 0x2B019887: mov eax, ecx */ 8333 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 8334 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 8335 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 8336 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 8337 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 8338 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8340 _flag_k = FK_CMP; 8341 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 8342 L_2B019898: 8343 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 8344 L_2B01989B: 8345 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 8346 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 8347 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 8348 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 8349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8351 _flag_k = FK_CMP; 8352 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 8353 L_2B0198A9: 8354 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 8355 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 8356 L_2B0198AE: 8357 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 8358 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 8359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8361 _flag_k = FK_CMP; 8362 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 8363 L_2B0198B6: 8364 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 8365 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 8366 L_2B0198BB: 8367 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 8368 L_2B0198BD: 8369 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 8370 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 8371 L_2B0198C3: 8372 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 8373 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 8374 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 8375 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 8376 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 8377 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 8378 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 8379 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 8380 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 8381 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 8382 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 8383 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 8384 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8386 _flag_k = FK_CMP; 8387 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 8388 L_2B0198E8: 8389 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 8390 L_2B0198EB: 8391 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 8392 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 8393 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 8394 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 8395 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8397 _flag_k = FK_CMP; 8398 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 8399 L_2B0198F9: 8400 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 8401 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 8402 L_2B0198FE: 8403 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 8404 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 8405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8407 _flag_k = FK_CMP; 8408 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 8409 L_2B019905: 8410 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 8411 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 8412 L_2B019909: 8413 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 8414 L_2B01990C: 8415 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 8416 L_2B01990E: 8417 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 8418 L_2B019911: 8419 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 8420 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 8421 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8423 _flag_k = FK_CMP; 8424 RECOMP_BACKEDGE(); 8425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 8426 L_2B01991D: 8427 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 8428 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 8429 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 8430 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 8431 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 8432 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 8433 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 8434 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 8435 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 8436 esp = ebp; /* 0x2B019931: mov esp, ebp */ 8437 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 8438 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 8439 RECOMP_REGS_OUT(); 8440 } 8441 8442 void sub_2B019816(void) { 8443 int _fpu_cmp = 0; 8444 uint32_t _cf = 0; 8445 int _df = 1; 8446 uint32_t _flag_k = FK_NONE; 8447 uint32_t _flag_a = 0, _flag_b = 0; 8448 uint32_t _itail_tgt = 0; 8449 RECOMP_REGS_LOCALS 8450 RECOMP_ENTER(0x2B019816u); 8451 8452 goto L_2B019816; 8453 L_2B01979D: 8454 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 8455 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 8456 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 8457 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8458 _cf = 0; 8459 _flag_k = FK_NARROW(FK_TEST, 24); 8460 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 8461 L_2B0197AB: 8462 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 8463 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 8464 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 8465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8467 _flag_k = FK_CMP; 8468 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 8469 L_2B0197B8: 8470 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 8471 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 8472 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8474 _flag_k = FK_NARROW(FK_CMP, 24); 8475 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 8476 L_2B0197C1: 8477 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 8478 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 8479 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 8480 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 8481 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 8482 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 8483 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 8484 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 8485 L_2B0197DC: 8486 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 8487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8489 _flag_k = FK_CMP; 8490 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 8491 L_2B0197E1: 8492 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 8493 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 8494 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 8495 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 8496 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 8497 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 8498 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8500 _flag_k = FK_CMP; 8501 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 8502 L_2B0197F2: 8503 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 8504 L_2B0197F5: 8505 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 8506 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 8507 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 8508 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 8509 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8511 _flag_k = FK_CMP; 8512 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 8513 L_2B019803: 8514 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 8515 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 8516 L_2B019808: 8517 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 8518 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 8519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 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_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 8523 L_2B01980F: 8524 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 8525 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 8526 L_2B019813: 8527 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 8528 L_2B019816: 8529 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 8530 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 8531 L_2B01981B: 8532 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 8533 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 8534 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 8535 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 8536 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 8537 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 8538 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 8539 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 8540 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 8541 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 8542 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 8543 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 8544 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8546 _flag_k = FK_CMP; 8547 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 8548 L_2B019840: 8549 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 8550 L_2B019843: 8551 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 8552 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 8553 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 8554 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 8555 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8557 _flag_k = FK_CMP; 8558 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 8559 L_2B019851: 8560 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 8561 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 8562 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 8563 L_2B01985C: 8564 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 8565 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 8566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8568 _flag_k = FK_CMP; 8569 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 8570 L_2B019864: 8571 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 8572 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 8573 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 8574 L_2B01986F: 8575 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 8576 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 8577 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 8578 L_2B019879: 8579 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 8580 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8582 _flag_k = FK_NARROW(FK_CMP, 24); 8583 RECOMP_BACKEDGE(); 8584 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 8585 L_2B019883: 8586 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 8587 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8589 _flag_k = FK_CMP; 8590 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 8591 L_2B019887: 8592 eax = ecx; /* 0x2B019887: mov eax, ecx */ 8593 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 8594 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 8595 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 8596 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 8597 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 8598 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8600 _flag_k = FK_CMP; 8601 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 8602 L_2B019898: 8603 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 8604 L_2B01989B: 8605 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 8606 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 8607 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 8608 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 8609 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8611 _flag_k = FK_CMP; 8612 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 8613 L_2B0198A9: 8614 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 8615 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 8616 L_2B0198AE: 8617 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 8618 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 8619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8621 _flag_k = FK_CMP; 8622 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 8623 L_2B0198B6: 8624 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 8625 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 8626 L_2B0198BB: 8627 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 8628 L_2B0198BD: 8629 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 8630 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 8631 L_2B0198C3: 8632 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 8633 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 8634 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 8635 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 8636 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 8637 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 8638 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 8639 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 8640 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 8641 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 8642 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 8643 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 8644 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8646 _flag_k = FK_CMP; 8647 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 8648 L_2B0198E8: 8649 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 8650 L_2B0198EB: 8651 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 8652 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 8653 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 8654 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 8655 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8657 _flag_k = FK_CMP; 8658 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 8659 L_2B0198F9: 8660 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 8661 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 8662 L_2B0198FE: 8663 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 8664 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 8665 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8667 _flag_k = FK_CMP; 8668 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 8669 L_2B019905: 8670 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 8671 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 8672 L_2B019909: 8673 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 8674 L_2B01990C: 8675 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 8676 L_2B01990E: 8677 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 8678 L_2B019911: 8679 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 8680 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 8681 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8683 _flag_k = FK_CMP; 8684 RECOMP_BACKEDGE(); 8685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 8686 L_2B01991D: 8687 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 8688 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 8689 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 8690 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 8691 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 8692 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 8693 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 8694 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 8695 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 8696 esp = ebp; /* 0x2B019931: mov esp, ebp */ 8697 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 8698 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 8699 RECOMP_REGS_OUT(); 8700 } 8701 8702 void sub_2B01981B(void) { 8703 int _fpu_cmp = 0; 8704 uint32_t _cf = 0; 8705 int _df = 1; 8706 uint32_t _flag_k = FK_NONE; 8707 uint32_t _flag_a = 0, _flag_b = 0; 8708 uint32_t _itail_tgt = 0; 8709 RECOMP_REGS_LOCALS 8710 RECOMP_ENTER(0x2B01981Bu); 8711 8712 goto L_2B01981B; 8713 L_2B01979D: 8714 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 8715 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 8716 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 8717 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8718 _cf = 0; 8719 _flag_k = FK_NARROW(FK_TEST, 24); 8720 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 8721 L_2B0197AB: 8722 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 8723 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 8724 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 8725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8727 _flag_k = FK_CMP; 8728 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 8729 L_2B0197B8: 8730 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 8731 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 8732 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8734 _flag_k = FK_NARROW(FK_CMP, 24); 8735 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 8736 L_2B0197C1: 8737 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 8738 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 8739 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 8740 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 8741 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 8742 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 8743 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 8744 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 8745 L_2B0197DC: 8746 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 8747 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8749 _flag_k = FK_CMP; 8750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 8751 L_2B0197E1: 8752 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 8753 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 8754 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 8755 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 8756 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 8757 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 8758 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8760 _flag_k = FK_CMP; 8761 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 8762 L_2B0197F2: 8763 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 8764 L_2B0197F5: 8765 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 8766 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 8767 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 8768 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 8769 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8771 _flag_k = FK_CMP; 8772 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 8773 L_2B019803: 8774 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 8775 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 8776 L_2B019808: 8777 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 8778 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 8779 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8781 _flag_k = FK_CMP; 8782 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 8783 L_2B01980F: 8784 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 8785 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 8786 L_2B019813: 8787 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 8788 L_2B019816: 8789 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 8790 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 8791 L_2B01981B: 8792 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 8793 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 8794 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 8795 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 8796 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 8797 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 8798 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 8799 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 8800 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 8801 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 8802 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 8803 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 8804 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8806 _flag_k = FK_CMP; 8807 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 8808 L_2B019840: 8809 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 8810 L_2B019843: 8811 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 8812 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 8813 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 8814 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 8815 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8817 _flag_k = FK_CMP; 8818 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 8819 L_2B019851: 8820 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 8821 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 8822 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 8823 L_2B01985C: 8824 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 8825 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 8826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8828 _flag_k = FK_CMP; 8829 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 8830 L_2B019864: 8831 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 8832 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 8833 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 8834 L_2B01986F: 8835 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 8836 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 8837 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 8838 L_2B019879: 8839 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 8840 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8842 _flag_k = FK_NARROW(FK_CMP, 24); 8843 RECOMP_BACKEDGE(); 8844 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 8845 L_2B019883: 8846 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 8847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8849 _flag_k = FK_CMP; 8850 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 8851 L_2B019887: 8852 eax = ecx; /* 0x2B019887: mov eax, ecx */ 8853 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 8854 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 8855 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 8856 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 8857 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 8858 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8860 _flag_k = FK_CMP; 8861 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 8862 L_2B019898: 8863 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 8864 L_2B01989B: 8865 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 8866 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 8867 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 8868 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 8869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8871 _flag_k = FK_CMP; 8872 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 8873 L_2B0198A9: 8874 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 8875 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 8876 L_2B0198AE: 8877 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 8878 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 8879 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8881 _flag_k = FK_CMP; 8882 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 8883 L_2B0198B6: 8884 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 8885 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 8886 L_2B0198BB: 8887 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 8888 L_2B0198BD: 8889 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 8890 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 8891 L_2B0198C3: 8892 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 8893 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 8894 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 8895 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 8896 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 8897 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 8898 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 8899 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 8900 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 8901 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 8902 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 8903 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 8904 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8906 _flag_k = FK_CMP; 8907 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 8908 L_2B0198E8: 8909 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 8910 L_2B0198EB: 8911 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 8912 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 8913 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 8914 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 8915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8917 _flag_k = FK_CMP; 8918 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 8919 L_2B0198F9: 8920 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 8921 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 8922 L_2B0198FE: 8923 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 8924 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 8925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8927 _flag_k = FK_CMP; 8928 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 8929 L_2B019905: 8930 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 8931 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 8932 L_2B019909: 8933 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 8934 L_2B01990C: 8935 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 8936 L_2B01990E: 8937 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 8938 L_2B019911: 8939 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 8940 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 8941 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8943 _flag_k = FK_CMP; 8944 RECOMP_BACKEDGE(); 8945 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 8946 L_2B01991D: 8947 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 8948 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 8949 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 8950 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 8951 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 8952 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 8953 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 8954 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 8955 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 8956 esp = ebp; /* 0x2B019931: mov esp, ebp */ 8957 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 8958 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 8959 RECOMP_REGS_OUT(); 8960 } 8961 8962 void sub_2B019879(void) { 8963 int _fpu_cmp = 0; 8964 uint32_t _cf = 0; 8965 int _df = 1; 8966 uint32_t _flag_k = FK_NONE; 8967 uint32_t _flag_a = 0, _flag_b = 0; 8968 uint32_t _itail_tgt = 0; 8969 RECOMP_REGS_LOCALS 8970 RECOMP_ENTER(0x2B019879u); 8971 8972 goto L_2B019879; 8973 L_2B01979D: 8974 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 8975 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 8976 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 8977 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8978 _cf = 0; 8979 _flag_k = FK_NARROW(FK_TEST, 24); 8980 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 8981 L_2B0197AB: 8982 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 8983 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 8984 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 8985 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8987 _flag_k = FK_CMP; 8988 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 8989 L_2B0197B8: 8990 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 8991 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 8992 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8994 _flag_k = FK_NARROW(FK_CMP, 24); 8995 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 8996 L_2B0197C1: 8997 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 8998 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 8999 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 9000 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 9001 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 9002 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 9003 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 9004 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 9005 L_2B0197DC: 9006 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 9007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9009 _flag_k = FK_CMP; 9010 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 9011 L_2B0197E1: 9012 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 9013 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 9014 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 9015 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 9016 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 9017 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 9018 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9020 _flag_k = FK_CMP; 9021 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 9022 L_2B0197F2: 9023 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 9024 L_2B0197F5: 9025 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 9026 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 9027 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 9028 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 9029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9031 _flag_k = FK_CMP; 9032 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 9033 L_2B019803: 9034 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 9035 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 9036 L_2B019808: 9037 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 9038 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 9039 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9041 _flag_k = FK_CMP; 9042 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 9043 L_2B01980F: 9044 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 9045 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 9046 L_2B019813: 9047 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 9048 L_2B019816: 9049 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 9050 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 9051 L_2B01981B: 9052 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 9053 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 9054 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 9055 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 9056 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 9057 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 9058 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 9059 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 9060 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 9061 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 9062 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 9063 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 9064 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9066 _flag_k = FK_CMP; 9067 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 9068 L_2B019840: 9069 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 9070 L_2B019843: 9071 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 9072 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 9073 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 9074 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 9075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9077 _flag_k = FK_CMP; 9078 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 9079 L_2B019851: 9080 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 9081 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 9082 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 9083 L_2B01985C: 9084 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 9085 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 9086 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9087 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9088 _flag_k = FK_CMP; 9089 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 9090 L_2B019864: 9091 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 9092 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 9093 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 9094 L_2B01986F: 9095 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 9096 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 9097 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 9098 L_2B019879: 9099 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 9100 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9102 _flag_k = FK_NARROW(FK_CMP, 24); 9103 RECOMP_BACKEDGE(); 9104 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 9105 L_2B019883: 9106 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 9107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9109 _flag_k = FK_CMP; 9110 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 9111 L_2B019887: 9112 eax = ecx; /* 0x2B019887: mov eax, ecx */ 9113 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 9114 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 9115 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 9116 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 9117 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 9118 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9120 _flag_k = FK_CMP; 9121 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 9122 L_2B019898: 9123 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 9124 L_2B01989B: 9125 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 9126 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 9127 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 9128 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 9129 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9131 _flag_k = FK_CMP; 9132 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 9133 L_2B0198A9: 9134 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 9135 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 9136 L_2B0198AE: 9137 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 9138 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 9139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9141 _flag_k = FK_CMP; 9142 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 9143 L_2B0198B6: 9144 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 9145 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 9146 L_2B0198BB: 9147 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 9148 L_2B0198BD: 9149 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 9150 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 9151 L_2B0198C3: 9152 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 9153 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 9154 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 9155 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 9156 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 9157 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 9158 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 9159 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 9160 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 9161 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 9162 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 9163 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 9164 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9166 _flag_k = FK_CMP; 9167 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 9168 L_2B0198E8: 9169 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 9170 L_2B0198EB: 9171 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 9172 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 9173 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 9174 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 9175 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9177 _flag_k = FK_CMP; 9178 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 9179 L_2B0198F9: 9180 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 9181 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 9182 L_2B0198FE: 9183 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 9184 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 9185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9187 _flag_k = FK_CMP; 9188 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 9189 L_2B019905: 9190 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 9191 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 9192 L_2B019909: 9193 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 9194 L_2B01990C: 9195 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 9196 L_2B01990E: 9197 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 9198 L_2B019911: 9199 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 9200 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 9201 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9203 _flag_k = FK_CMP; 9204 RECOMP_BACKEDGE(); 9205 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 9206 L_2B01991D: 9207 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 9208 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 9209 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 9210 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 9211 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 9212 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 9213 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 9214 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 9215 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 9216 esp = ebp; /* 0x2B019931: mov esp, ebp */ 9217 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 9218 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 9219 RECOMP_REGS_OUT(); 9220 } 9221 9222 void sub_2B0198BD(void) { 9223 int _fpu_cmp = 0; 9224 uint32_t _cf = 0; 9225 int _df = 1; 9226 uint32_t _flag_k = FK_NONE; 9227 uint32_t _flag_a = 0, _flag_b = 0; 9228 uint32_t _itail_tgt = 0; 9229 RECOMP_REGS_LOCALS 9230 RECOMP_ENTER(0x2B0198BDu); 9231 9232 goto L_2B0198BD; 9233 L_2B01979D: 9234 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 9235 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 9236 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 9237 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9238 _cf = 0; 9239 _flag_k = FK_NARROW(FK_TEST, 24); 9240 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 9241 L_2B0197AB: 9242 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 9243 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 9244 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 9245 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9247 _flag_k = FK_CMP; 9248 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 9249 L_2B0197B8: 9250 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 9251 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 9252 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9254 _flag_k = FK_NARROW(FK_CMP, 24); 9255 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 9256 L_2B0197C1: 9257 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 9258 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 9259 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 9260 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 9261 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 9262 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 9263 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 9264 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 9265 L_2B0197DC: 9266 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 9267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9269 _flag_k = FK_CMP; 9270 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 9271 L_2B0197E1: 9272 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 9273 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 9274 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 9275 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 9276 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 9277 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 9278 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9279 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9280 _flag_k = FK_CMP; 9281 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 9282 L_2B0197F2: 9283 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 9284 L_2B0197F5: 9285 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 9286 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 9287 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 9288 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 9289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9291 _flag_k = FK_CMP; 9292 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 9293 L_2B019803: 9294 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 9295 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 9296 L_2B019808: 9297 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 9298 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 9299 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9301 _flag_k = FK_CMP; 9302 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 9303 L_2B01980F: 9304 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 9305 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 9306 L_2B019813: 9307 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 9308 L_2B019816: 9309 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 9310 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 9311 L_2B01981B: 9312 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 9313 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 9314 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 9315 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 9316 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 9317 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 9318 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 9319 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 9320 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 9321 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 9322 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 9323 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 9324 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9326 _flag_k = FK_CMP; 9327 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 9328 L_2B019840: 9329 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 9330 L_2B019843: 9331 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 9332 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 9333 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 9334 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 9335 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9337 _flag_k = FK_CMP; 9338 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 9339 L_2B019851: 9340 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 9341 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 9342 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 9343 L_2B01985C: 9344 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 9345 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 9346 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9348 _flag_k = FK_CMP; 9349 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 9350 L_2B019864: 9351 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 9352 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 9353 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 9354 L_2B01986F: 9355 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 9356 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 9357 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 9358 L_2B019879: 9359 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 9360 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9362 _flag_k = FK_NARROW(FK_CMP, 24); 9363 RECOMP_BACKEDGE(); 9364 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 9365 L_2B019883: 9366 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 9367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9369 _flag_k = FK_CMP; 9370 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 9371 L_2B019887: 9372 eax = ecx; /* 0x2B019887: mov eax, ecx */ 9373 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 9374 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 9375 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 9376 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 9377 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 9378 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9380 _flag_k = FK_CMP; 9381 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 9382 L_2B019898: 9383 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 9384 L_2B01989B: 9385 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 9386 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 9387 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 9388 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 9389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9391 _flag_k = FK_CMP; 9392 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 9393 L_2B0198A9: 9394 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 9395 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 9396 L_2B0198AE: 9397 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 9398 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 9399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9401 _flag_k = FK_CMP; 9402 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 9403 L_2B0198B6: 9404 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 9405 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 9406 L_2B0198BB: 9407 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 9408 L_2B0198BD: 9409 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 9410 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 9411 L_2B0198C3: 9412 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 9413 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 9414 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 9415 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 9416 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 9417 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 9418 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 9419 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 9420 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 9421 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 9422 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 9423 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 9424 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9426 _flag_k = FK_CMP; 9427 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 9428 L_2B0198E8: 9429 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 9430 L_2B0198EB: 9431 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 9432 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 9433 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 9434 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 9435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9437 _flag_k = FK_CMP; 9438 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 9439 L_2B0198F9: 9440 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 9441 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 9442 L_2B0198FE: 9443 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 9444 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 9445 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9447 _flag_k = FK_CMP; 9448 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 9449 L_2B019905: 9450 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 9451 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 9452 L_2B019909: 9453 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 9454 L_2B01990C: 9455 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 9456 L_2B01990E: 9457 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 9458 L_2B019911: 9459 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 9460 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 9461 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9463 _flag_k = FK_CMP; 9464 RECOMP_BACKEDGE(); 9465 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 9466 L_2B01991D: 9467 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 9468 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 9469 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 9470 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 9471 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 9472 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 9473 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 9474 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 9475 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 9476 esp = ebp; /* 0x2B019931: mov esp, ebp */ 9477 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 9478 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 9479 RECOMP_REGS_OUT(); 9480 } 9481 9482 void sub_2B0198C3(void) { 9483 int _fpu_cmp = 0; 9484 uint32_t _cf = 0; 9485 int _df = 1; 9486 uint32_t _flag_k = FK_NONE; 9487 uint32_t _flag_a = 0, _flag_b = 0; 9488 uint32_t _itail_tgt = 0; 9489 RECOMP_REGS_LOCALS 9490 RECOMP_ENTER(0x2B0198C3u); 9491 9492 goto L_2B0198C3; 9493 L_2B01979D: 9494 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 9495 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 9496 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 9497 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9498 _cf = 0; 9499 _flag_k = FK_NARROW(FK_TEST, 24); 9500 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 9501 L_2B0197AB: 9502 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 9503 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 9504 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 9505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9507 _flag_k = FK_CMP; 9508 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 9509 L_2B0197B8: 9510 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 9511 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 9512 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9514 _flag_k = FK_NARROW(FK_CMP, 24); 9515 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 9516 L_2B0197C1: 9517 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 9518 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 9519 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 9520 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 9521 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 9522 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 9523 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 9524 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 9525 L_2B0197DC: 9526 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 9527 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9529 _flag_k = FK_CMP; 9530 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 9531 L_2B0197E1: 9532 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 9533 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 9534 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 9535 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 9536 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 9537 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 9538 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9540 _flag_k = FK_CMP; 9541 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 9542 L_2B0197F2: 9543 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 9544 L_2B0197F5: 9545 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 9546 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 9547 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 9548 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 9549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9551 _flag_k = FK_CMP; 9552 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 9553 L_2B019803: 9554 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 9555 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 9556 L_2B019808: 9557 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 9558 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 9559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9561 _flag_k = FK_CMP; 9562 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 9563 L_2B01980F: 9564 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 9565 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 9566 L_2B019813: 9567 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 9568 L_2B019816: 9569 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 9570 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 9571 L_2B01981B: 9572 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 9573 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 9574 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 9575 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 9576 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 9577 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 9578 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 9579 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 9580 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 9581 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 9582 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 9583 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 9584 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9586 _flag_k = FK_CMP; 9587 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 9588 L_2B019840: 9589 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 9590 L_2B019843: 9591 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 9592 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 9593 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 9594 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 9595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9597 _flag_k = FK_CMP; 9598 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 9599 L_2B019851: 9600 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 9601 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 9602 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 9603 L_2B01985C: 9604 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 9605 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 9606 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9608 _flag_k = FK_CMP; 9609 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 9610 L_2B019864: 9611 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 9612 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 9613 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 9614 L_2B01986F: 9615 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 9616 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 9617 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 9618 L_2B019879: 9619 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 9620 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9622 _flag_k = FK_NARROW(FK_CMP, 24); 9623 RECOMP_BACKEDGE(); 9624 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 9625 L_2B019883: 9626 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 9627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9629 _flag_k = FK_CMP; 9630 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 9631 L_2B019887: 9632 eax = ecx; /* 0x2B019887: mov eax, ecx */ 9633 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 9634 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 9635 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 9636 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 9637 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 9638 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2B01989B; /* 0x2B019896: je 0x2b01989b */ 9642 L_2B019898: 9643 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 9644 L_2B01989B: 9645 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 9646 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 9647 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 9648 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 9649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9651 _flag_k = FK_CMP; 9652 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 9653 L_2B0198A9: 9654 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 9655 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 9656 L_2B0198AE: 9657 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 9658 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 9659 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9661 _flag_k = FK_CMP; 9662 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 9663 L_2B0198B6: 9664 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 9665 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 9666 L_2B0198BB: 9667 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 9668 L_2B0198BD: 9669 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 9670 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 9671 L_2B0198C3: 9672 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 9673 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 9674 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 9675 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 9676 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 9677 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 9678 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 9679 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 9680 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 9681 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 9682 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 9683 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 9684 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9686 _flag_k = FK_CMP; 9687 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 9688 L_2B0198E8: 9689 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 9690 L_2B0198EB: 9691 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 9692 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 9693 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 9694 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 9695 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9697 _flag_k = FK_CMP; 9698 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 9699 L_2B0198F9: 9700 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 9701 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 9702 L_2B0198FE: 9703 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 9704 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 9705 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9707 _flag_k = FK_CMP; 9708 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 9709 L_2B019905: 9710 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 9711 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 9712 L_2B019909: 9713 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 9714 L_2B01990C: 9715 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 9716 L_2B01990E: 9717 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 9718 L_2B019911: 9719 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 9720 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 9721 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9723 _flag_k = FK_CMP; 9724 RECOMP_BACKEDGE(); 9725 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 9726 L_2B01991D: 9727 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 9728 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 9729 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 9730 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 9731 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 9732 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 9733 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 9734 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 9735 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 9736 esp = ebp; /* 0x2B019931: mov esp, ebp */ 9737 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 9738 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 9739 RECOMP_REGS_OUT(); 9740 } 9741 9742 void sub_2B01990C(void) { 9743 int _fpu_cmp = 0; 9744 uint32_t _cf = 0; 9745 int _df = 1; 9746 uint32_t _flag_k = FK_NONE; 9747 uint32_t _flag_a = 0, _flag_b = 0; 9748 uint32_t _itail_tgt = 0; 9749 RECOMP_REGS_LOCALS 9750 RECOMP_ENTER(0x2B01990Cu); 9751 9752 goto L_2B01990C; 9753 L_2B01979D: 9754 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 9755 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 9756 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 9757 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9758 _cf = 0; 9759 _flag_k = FK_NARROW(FK_TEST, 24); 9760 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 9761 L_2B0197AB: 9762 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 9763 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 9764 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 9765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9767 _flag_k = FK_CMP; 9768 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 9769 L_2B0197B8: 9770 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 9771 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 9772 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9774 _flag_k = FK_NARROW(FK_CMP, 24); 9775 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 9776 L_2B0197C1: 9777 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 9778 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 9779 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 9780 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 9781 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 9782 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 9783 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 9784 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 9785 L_2B0197DC: 9786 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 9787 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9789 _flag_k = FK_CMP; 9790 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 9791 L_2B0197E1: 9792 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 9793 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 9794 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 9795 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 9796 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 9797 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 9798 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9799 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9800 _flag_k = FK_CMP; 9801 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 9802 L_2B0197F2: 9803 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 9804 L_2B0197F5: 9805 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 9806 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 9807 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 9808 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 9809 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9810 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9811 _flag_k = FK_CMP; 9812 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 9813 L_2B019803: 9814 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 9815 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 9816 L_2B019808: 9817 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 9818 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 9819 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9821 _flag_k = FK_CMP; 9822 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 9823 L_2B01980F: 9824 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 9825 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 9826 L_2B019813: 9827 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 9828 L_2B019816: 9829 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 9830 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 9831 L_2B01981B: 9832 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 9833 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 9834 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 9835 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 9836 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 9837 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 9838 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 9839 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 9840 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 9841 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 9842 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 9843 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 9844 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9846 _flag_k = FK_CMP; 9847 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 9848 L_2B019840: 9849 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 9850 L_2B019843: 9851 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 9852 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 9853 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 9854 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 9855 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9857 _flag_k = FK_CMP; 9858 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 9859 L_2B019851: 9860 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 9861 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 9862 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 9863 L_2B01985C: 9864 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 9865 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 9866 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 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_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 9870 L_2B019864: 9871 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 9872 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 9873 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 9874 L_2B01986F: 9875 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 9876 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 9877 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 9878 L_2B019879: 9879 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 9880 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9882 _flag_k = FK_NARROW(FK_CMP, 24); 9883 RECOMP_BACKEDGE(); 9884 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 9885 L_2B019883: 9886 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 9887 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9889 _flag_k = FK_CMP; 9890 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 9891 L_2B019887: 9892 eax = ecx; /* 0x2B019887: mov eax, ecx */ 9893 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 9894 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 9895 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 9896 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 9897 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 9898 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9900 _flag_k = FK_CMP; 9901 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 9902 L_2B019898: 9903 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 9904 L_2B01989B: 9905 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 9906 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 9907 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 9908 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 9909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9911 _flag_k = FK_CMP; 9912 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 9913 L_2B0198A9: 9914 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 9915 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 9916 L_2B0198AE: 9917 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 9918 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 9919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9921 _flag_k = FK_CMP; 9922 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 9923 L_2B0198B6: 9924 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 9925 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 9926 L_2B0198BB: 9927 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 9928 L_2B0198BD: 9929 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 9930 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 9931 L_2B0198C3: 9932 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 9933 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 9934 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 9935 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 9936 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 9937 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 9938 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 9939 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 9940 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 9941 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 9942 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 9943 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 9944 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9946 _flag_k = FK_CMP; 9947 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 9948 L_2B0198E8: 9949 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 9950 L_2B0198EB: 9951 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 9952 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 9953 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 9954 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 9955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9957 _flag_k = FK_CMP; 9958 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 9959 L_2B0198F9: 9960 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 9961 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 9962 L_2B0198FE: 9963 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 9964 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 9965 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9967 _flag_k = FK_CMP; 9968 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 9969 L_2B019905: 9970 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 9971 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 9972 L_2B019909: 9973 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 9974 L_2B01990C: 9975 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 9976 L_2B01990E: 9977 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 9978 L_2B019911: 9979 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 9980 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 9981 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9983 _flag_k = FK_CMP; 9984 RECOMP_BACKEDGE(); 9985 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 9986 L_2B01991D: 9987 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 9988 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 9989 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 9990 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 9991 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 9992 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 9993 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 9994 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 9995 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 9996 esp = ebp; /* 0x2B019931: mov esp, ebp */ 9997 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 9998 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 9999 RECOMP_REGS_OUT(); 10000 } 10001 10002 void sub_2B01990E(void) { 10003 int _fpu_cmp = 0; 10004 uint32_t _cf = 0; 10005 int _df = 1; 10006 uint32_t _flag_k = FK_NONE; 10007 uint32_t _flag_a = 0, _flag_b = 0; 10008 uint32_t _itail_tgt = 0; 10009 RECOMP_REGS_LOCALS 10010 RECOMP_ENTER(0x2B01990Eu); 10011 10012 goto L_2B01990E; 10013 L_2B01979D: 10014 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 10015 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 10016 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 10017 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10018 _cf = 0; 10019 _flag_k = FK_NARROW(FK_TEST, 24); 10020 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 10021 L_2B0197AB: 10022 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 10023 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 10024 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 10025 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10027 _flag_k = FK_CMP; 10028 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 10029 L_2B0197B8: 10030 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 10031 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 10032 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 10033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10034 _flag_k = FK_NARROW(FK_CMP, 24); 10035 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 10036 L_2B0197C1: 10037 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 10038 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 10039 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 10040 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 10041 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 10042 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 10043 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 10044 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 10045 L_2B0197DC: 10046 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 10047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10049 _flag_k = FK_CMP; 10050 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 10051 L_2B0197E1: 10052 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 10053 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 10054 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 10055 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 10056 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 10057 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 10058 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10060 _flag_k = FK_CMP; 10061 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 10062 L_2B0197F2: 10063 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 10064 L_2B0197F5: 10065 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 10066 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 10067 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 10068 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 10069 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10071 _flag_k = FK_CMP; 10072 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 10073 L_2B019803: 10074 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 10075 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 10076 L_2B019808: 10077 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 10078 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 10079 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10081 _flag_k = FK_CMP; 10082 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 10083 L_2B01980F: 10084 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 10085 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 10086 L_2B019813: 10087 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 10088 L_2B019816: 10089 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 10090 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 10091 L_2B01981B: 10092 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 10093 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 10094 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 10095 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 10096 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 10097 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 10098 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 10099 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 10100 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 10101 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 10102 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 10103 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 10104 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10106 _flag_k = FK_CMP; 10107 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 10108 L_2B019840: 10109 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 10110 L_2B019843: 10111 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 10112 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 10113 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 10114 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 10115 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10117 _flag_k = FK_CMP; 10118 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 10119 L_2B019851: 10120 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 10121 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 10122 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 10123 L_2B01985C: 10124 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 10125 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 10126 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10128 _flag_k = FK_CMP; 10129 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 10130 L_2B019864: 10131 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 10132 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 10133 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 10134 L_2B01986F: 10135 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 10136 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 10137 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 10138 L_2B019879: 10139 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 10140 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 10141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10142 _flag_k = FK_NARROW(FK_CMP, 24); 10143 RECOMP_BACKEDGE(); 10144 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 10145 L_2B019883: 10146 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 10147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10149 _flag_k = FK_CMP; 10150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 10151 L_2B019887: 10152 eax = ecx; /* 0x2B019887: mov eax, ecx */ 10153 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 10154 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 10155 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 10156 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 10157 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 10158 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10160 _flag_k = FK_CMP; 10161 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 10162 L_2B019898: 10163 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 10164 L_2B01989B: 10165 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 10166 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 10167 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 10168 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 10169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10171 _flag_k = FK_CMP; 10172 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 10173 L_2B0198A9: 10174 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 10175 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 10176 L_2B0198AE: 10177 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 10178 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 10179 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10181 _flag_k = FK_CMP; 10182 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 10183 L_2B0198B6: 10184 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 10185 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 10186 L_2B0198BB: 10187 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 10188 L_2B0198BD: 10189 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 10190 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 10191 L_2B0198C3: 10192 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 10193 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 10194 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 10195 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 10196 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 10197 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 10198 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 10199 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 10200 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 10201 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 10202 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 10203 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 10204 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10206 _flag_k = FK_CMP; 10207 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 10208 L_2B0198E8: 10209 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 10210 L_2B0198EB: 10211 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 10212 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 10213 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 10214 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 10215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10217 _flag_k = FK_CMP; 10218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 10219 L_2B0198F9: 10220 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 10221 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 10222 L_2B0198FE: 10223 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 10224 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 10225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10227 _flag_k = FK_CMP; 10228 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 10229 L_2B019905: 10230 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 10231 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 10232 L_2B019909: 10233 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 10234 L_2B01990C: 10235 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 10236 L_2B01990E: 10237 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 10238 L_2B019911: 10239 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 10240 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 10241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10243 _flag_k = FK_CMP; 10244 RECOMP_BACKEDGE(); 10245 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 10246 L_2B01991D: 10247 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 10248 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 10249 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 10250 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 10251 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 10252 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 10253 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 10254 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 10255 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 10256 esp = ebp; /* 0x2B019931: mov esp, ebp */ 10257 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 10258 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 10259 RECOMP_REGS_OUT(); 10260 } 10261 10262 void sub_2B019911(void) { 10263 int _fpu_cmp = 0; 10264 uint32_t _cf = 0; 10265 int _df = 1; 10266 uint32_t _flag_k = FK_NONE; 10267 uint32_t _flag_a = 0, _flag_b = 0; 10268 uint32_t _itail_tgt = 0; 10269 RECOMP_REGS_LOCALS 10270 RECOMP_ENTER(0x2B019911u); 10271 10272 goto L_2B019911; 10273 L_2B01979D: 10274 ecx = MEM32(eax + 0x4); /* 0x2B01979D: mov ecx, dword ptr [eax + 4] */ 10275 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2B0197A0: mov dl, byte ptr [ecx + 0x24] */ 10276 /* test LO8(edx), LO8(edx) */ /* 0x2B0197A3: test dl, dl */ 10277 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10278 _cf = 0; 10279 _flag_k = FK_NARROW(FK_TEST, 24); 10280 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01991D; /* 0x2B0197A5: jne 0x2b01991d */ 10281 L_2B0197AB: 10282 edi = MEM32(ecx + 0x4); /* 0x2B0197AB: mov edi, dword ptr [ecx + 4] */ 10283 edx = MEM32(edi); /* 0x2B0197AE: mov edx, dword ptr [edi] */ 10284 /* cmp ecx, edx */ /* 0x2B0197B0: cmp ecx, edx */ 10285 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10287 _flag_k = FK_CMP; 10288 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019879; /* 0x2B0197B2: jne 0x2b019879 */ 10289 L_2B0197B8: 10290 edx = MEM32(edi + 0x8); /* 0x2B0197B8: mov edx, dword ptr [edi + 8] */ 10291 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B0197BB: cmp byte ptr [edx + 0x24], 0 */ 10292 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 10293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10294 _flag_k = FK_NARROW(FK_CMP, 24); 10295 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0197DC; /* 0x2B0197BF: jne 0x2b0197dc */ 10296 L_2B0197C1: 10297 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C1: mov byte ptr [ecx + 0x24], bl */ 10298 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0197C4: mov byte ptr [edx + 0x24], bl */ 10299 ecx = MEM32(eax + 0x4); /* 0x2B0197C7: mov ecx, dword ptr [eax + 4] */ 10300 edx = MEM32(ecx + 0x4); /* 0x2B0197CA: mov edx, dword ptr [ecx + 4] */ 10301 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2B0197CD: mov byte ptr [edx + 0x24], 0 */ 10302 eax = MEM32(eax + 0x4); /* 0x2B0197D1: mov eax, dword ptr [eax + 4] */ 10303 eax = MEM32(eax + 0x4); /* 0x2B0197D4: mov eax, dword ptr [eax + 4] */ 10304 goto L_2B019911; /* 0x2B0197D7: jmp 0x2b019911 */ 10305 L_2B0197DC: 10306 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B0197DC: cmp eax, dword ptr [ecx + 8] */ 10307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10309 _flag_k = FK_CMP; 10310 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01981B; /* 0x2B0197DF: jne 0x2b01981b */ 10311 L_2B0197E1: 10312 eax = ecx; /* 0x2B0197E1: mov eax, ecx */ 10313 ecx = MEM32(eax + 0x8); /* 0x2B0197E3: mov ecx, dword ptr [eax + 8] */ 10314 edx = MEM32(ecx); /* 0x2B0197E6: mov edx, dword ptr [ecx] */ 10315 MEM32(eax + 0x8) = edx; /* 0x2B0197E8: mov dword ptr [eax + 8], edx */ 10316 edx = MEM32(ecx); /* 0x2B0197EB: mov edx, dword ptr [ecx] */ 10317 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B0197ED: cmp edx, dword ptr [esi + 8] */ 10318 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10320 _flag_k = FK_CMP; 10321 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197F5; /* 0x2B0197F0: je 0x2b0197f5 */ 10322 L_2B0197F2: 10323 MEM32(edx + 0x4) = eax; /* 0x2B0197F2: mov dword ptr [edx + 4], eax */ 10324 L_2B0197F5: 10325 edx = MEM32(eax + 0x4); /* 0x2B0197F5: mov edx, dword ptr [eax + 4] */ 10326 MEM32(ecx + 0x4) = edx; /* 0x2B0197F8: mov dword ptr [ecx + 4], edx */ 10327 edx = MEM32(esi + 0x4); /* 0x2B0197FB: mov edx, dword ptr [esi + 4] */ 10328 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0197FE: cmp eax, dword ptr [edx + 4] */ 10329 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10331 _flag_k = FK_CMP; 10332 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019808; /* 0x2B019801: jne 0x2b019808 */ 10333 L_2B019803: 10334 MEM32(edx + 0x4) = ecx; /* 0x2B019803: mov dword ptr [edx + 4], ecx */ 10335 goto L_2B019816; /* 0x2B019806: jmp 0x2b019816 */ 10336 L_2B019808: 10337 edx = MEM32(eax + 0x4); /* 0x2B019808: mov edx, dword ptr [eax + 4] */ 10338 /* cmp eax, MEM32(edx) */ /* 0x2B01980B: cmp eax, dword ptr [edx] */ 10339 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10341 _flag_k = FK_CMP; 10342 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019813; /* 0x2B01980D: jne 0x2b019813 */ 10343 L_2B01980F: 10344 MEM32(edx) = ecx; /* 0x2B01980F: mov dword ptr [edx], ecx */ 10345 goto L_2B019816; /* 0x2B019811: jmp 0x2b019816 */ 10346 L_2B019813: 10347 MEM32(edx + 0x8) = ecx; /* 0x2B019813: mov dword ptr [edx + 8], ecx */ 10348 L_2B019816: 10349 MEM32(ecx) = eax; /* 0x2B019816: mov dword ptr [ecx], eax */ 10350 MEM32(eax + 0x4) = ecx; /* 0x2B019818: mov dword ptr [eax + 4], ecx */ 10351 L_2B01981B: 10352 ecx = MEM32(eax + 0x4); /* 0x2B01981B: mov ecx, dword ptr [eax + 4] */ 10353 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B01981E: mov byte ptr [ecx + 0x24], bl */ 10354 edx = MEM32(eax + 0x4); /* 0x2B019821: mov edx, dword ptr [eax + 4] */ 10355 ecx = MEM32(edx + 0x4); /* 0x2B019824: mov ecx, dword ptr [edx + 4] */ 10356 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B019827: mov byte ptr [ecx + 0x24], 0 */ 10357 edx = MEM32(eax + 0x4); /* 0x2B01982B: mov edx, dword ptr [eax + 4] */ 10358 ecx = MEM32(edx + 0x4); /* 0x2B01982E: mov ecx, dword ptr [edx + 4] */ 10359 edx = MEM32(ecx); /* 0x2B019831: mov edx, dword ptr [ecx] */ 10360 edi = MEM32(edx + 0x8); /* 0x2B019833: mov edi, dword ptr [edx + 8] */ 10361 MEM32(ecx) = edi; /* 0x2B019836: mov dword ptr [ecx], edi */ 10362 edi = MEM32(edx + 0x8); /* 0x2B019838: mov edi, dword ptr [edx + 8] */ 10363 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B01983B: cmp edi, dword ptr [esi + 8] */ 10364 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10366 _flag_k = FK_CMP; 10367 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019843; /* 0x2B01983E: je 0x2b019843 */ 10368 L_2B019840: 10369 MEM32(edi + 0x4) = ecx; /* 0x2B019840: mov dword ptr [edi + 4], ecx */ 10370 L_2B019843: 10371 edi = MEM32(ecx + 0x4); /* 0x2B019843: mov edi, dword ptr [ecx + 4] */ 10372 MEM32(edx + 0x4) = edi; /* 0x2B019846: mov dword ptr [edx + 4], edi */ 10373 edi = MEM32(esi + 0x4); /* 0x2B019849: mov edi, dword ptr [esi + 4] */ 10374 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B01984C: cmp ecx, dword ptr [edi + 4] */ 10375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10377 _flag_k = FK_CMP; 10378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01985C; /* 0x2B01984F: jne 0x2b01985c */ 10379 L_2B019851: 10380 MEM32(edi + 0x4) = edx; /* 0x2B019851: mov dword ptr [edi + 4], edx */ 10381 MEM32(edx + 0x8) = ecx; /* 0x2B019854: mov dword ptr [edx + 8], ecx */ 10382 goto L_2B01990E; /* 0x2B019857: jmp 0x2b01990e */ 10383 L_2B01985C: 10384 edi = MEM32(ecx + 0x4); /* 0x2B01985C: mov edi, dword ptr [ecx + 4] */ 10385 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B01985F: cmp ecx, dword ptr [edi + 8] */ 10386 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10388 _flag_k = FK_CMP; 10389 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01986F; /* 0x2B019862: jne 0x2b01986f */ 10390 L_2B019864: 10391 MEM32(edi + 0x8) = edx; /* 0x2B019864: mov dword ptr [edi + 8], edx */ 10392 MEM32(edx + 0x8) = ecx; /* 0x2B019867: mov dword ptr [edx + 8], ecx */ 10393 goto L_2B01990E; /* 0x2B01986A: jmp 0x2b01990e */ 10394 L_2B01986F: 10395 MEM32(edi) = edx; /* 0x2B01986F: mov dword ptr [edi], edx */ 10396 MEM32(edx + 0x8) = ecx; /* 0x2B019871: mov dword ptr [edx + 8], ecx */ 10397 goto L_2B01990E; /* 0x2B019874: jmp 0x2b01990e */ 10398 L_2B019879: 10399 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2B019879: cmp byte ptr [edx + 0x24], 0 */ 10400 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 10401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10402 _flag_k = FK_NARROW(FK_CMP, 24); 10403 RECOMP_BACKEDGE(); 10404 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0197C1; /* 0x2B01987D: je 0x2b0197c1 */ 10405 L_2B019883: 10406 /* cmp eax, MEM32(ecx) */ /* 0x2B019883: cmp eax, dword ptr [ecx] */ 10407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10409 _flag_k = FK_CMP; 10410 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198C3; /* 0x2B019885: jne 0x2b0198c3 */ 10411 L_2B019887: 10412 eax = ecx; /* 0x2B019887: mov eax, ecx */ 10413 ecx = MEM32(eax); /* 0x2B019889: mov ecx, dword ptr [eax] */ 10414 edx = MEM32(ecx + 0x8); /* 0x2B01988B: mov edx, dword ptr [ecx + 8] */ 10415 MEM32(eax) = edx; /* 0x2B01988E: mov dword ptr [eax], edx */ 10416 edx = MEM32(ecx + 0x8); /* 0x2B019890: mov edx, dword ptr [ecx + 8] */ 10417 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B019893: cmp edx, dword ptr [esi + 8] */ 10418 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10420 _flag_k = FK_CMP; 10421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01989B; /* 0x2B019896: je 0x2b01989b */ 10422 L_2B019898: 10423 MEM32(edx + 0x4) = eax; /* 0x2B019898: mov dword ptr [edx + 4], eax */ 10424 L_2B01989B: 10425 edx = MEM32(eax + 0x4); /* 0x2B01989B: mov edx, dword ptr [eax + 4] */ 10426 MEM32(ecx + 0x4) = edx; /* 0x2B01989E: mov dword ptr [ecx + 4], edx */ 10427 edx = MEM32(esi + 0x4); /* 0x2B0198A1: mov edx, dword ptr [esi + 4] */ 10428 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B0198A4: cmp eax, dword ptr [edx + 4] */ 10429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 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_2B0198AE; /* 0x2B0198A7: jne 0x2b0198ae */ 10433 L_2B0198A9: 10434 MEM32(edx + 0x4) = ecx; /* 0x2B0198A9: mov dword ptr [edx + 4], ecx */ 10435 goto L_2B0198BD; /* 0x2B0198AC: jmp 0x2b0198bd */ 10436 L_2B0198AE: 10437 edx = MEM32(eax + 0x4); /* 0x2B0198AE: mov edx, dword ptr [eax + 4] */ 10438 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B0198B1: cmp eax, dword ptr [edx + 8] */ 10439 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10441 _flag_k = FK_CMP; 10442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198BB; /* 0x2B0198B4: jne 0x2b0198bb */ 10443 L_2B0198B6: 10444 MEM32(edx + 0x8) = ecx; /* 0x2B0198B6: mov dword ptr [edx + 8], ecx */ 10445 goto L_2B0198BD; /* 0x2B0198B9: jmp 0x2b0198bd */ 10446 L_2B0198BB: 10447 MEM32(edx) = ecx; /* 0x2B0198BB: mov dword ptr [edx], ecx */ 10448 L_2B0198BD: 10449 MEM32(ecx + 0x8) = eax; /* 0x2B0198BD: mov dword ptr [ecx + 8], eax */ 10450 MEM32(eax + 0x4) = ecx; /* 0x2B0198C0: mov dword ptr [eax + 4], ecx */ 10451 L_2B0198C3: 10452 ecx = MEM32(eax + 0x4); /* 0x2B0198C3: mov ecx, dword ptr [eax + 4] */ 10453 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B0198C6: mov byte ptr [ecx + 0x24], bl */ 10454 edx = MEM32(eax + 0x4); /* 0x2B0198C9: mov edx, dword ptr [eax + 4] */ 10455 ecx = MEM32(edx + 0x4); /* 0x2B0198CC: mov ecx, dword ptr [edx + 4] */ 10456 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2B0198CF: mov byte ptr [ecx + 0x24], 0 */ 10457 edx = MEM32(eax + 0x4); /* 0x2B0198D3: mov edx, dword ptr [eax + 4] */ 10458 ecx = MEM32(edx + 0x4); /* 0x2B0198D6: mov ecx, dword ptr [edx + 4] */ 10459 edx = MEM32(ecx + 0x8); /* 0x2B0198D9: mov edx, dword ptr [ecx + 8] */ 10460 edi = MEM32(edx); /* 0x2B0198DC: mov edi, dword ptr [edx] */ 10461 MEM32(ecx + 0x8) = edi; /* 0x2B0198DE: mov dword ptr [ecx + 8], edi */ 10462 edi = MEM32(edx); /* 0x2B0198E1: mov edi, dword ptr [edx] */ 10463 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B0198E3: cmp edi, dword ptr [esi + 8] */ 10464 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10466 _flag_k = FK_CMP; 10467 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0198EB; /* 0x2B0198E6: je 0x2b0198eb */ 10468 L_2B0198E8: 10469 MEM32(edi + 0x4) = ecx; /* 0x2B0198E8: mov dword ptr [edi + 4], ecx */ 10470 L_2B0198EB: 10471 edi = MEM32(ecx + 0x4); /* 0x2B0198EB: mov edi, dword ptr [ecx + 4] */ 10472 MEM32(edx + 0x4) = edi; /* 0x2B0198EE: mov dword ptr [edx + 4], edi */ 10473 edi = MEM32(esi + 0x4); /* 0x2B0198F1: mov edi, dword ptr [esi + 4] */ 10474 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B0198F4: cmp ecx, dword ptr [edi + 4] */ 10475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10477 _flag_k = FK_CMP; 10478 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0198FE; /* 0x2B0198F7: jne 0x2b0198fe */ 10479 L_2B0198F9: 10480 MEM32(edi + 0x4) = edx; /* 0x2B0198F9: mov dword ptr [edi + 4], edx */ 10481 goto L_2B01990C; /* 0x2B0198FC: jmp 0x2b01990c */ 10482 L_2B0198FE: 10483 edi = MEM32(ecx + 0x4); /* 0x2B0198FE: mov edi, dword ptr [ecx + 4] */ 10484 /* cmp ecx, MEM32(edi) */ /* 0x2B019901: cmp ecx, dword ptr [edi] */ 10485 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10487 _flag_k = FK_CMP; 10488 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019909; /* 0x2B019903: jne 0x2b019909 */ 10489 L_2B019905: 10490 MEM32(edi) = edx; /* 0x2B019905: mov dword ptr [edi], edx */ 10491 goto L_2B01990C; /* 0x2B019907: jmp 0x2b01990c */ 10492 L_2B019909: 10493 MEM32(edi + 0x8) = edx; /* 0x2B019909: mov dword ptr [edi + 8], edx */ 10494 L_2B01990C: 10495 MEM32(edx) = ecx; /* 0x2B01990C: mov dword ptr [edx], ecx */ 10496 L_2B01990E: 10497 MEM32(ecx + 0x4) = edx; /* 0x2B01990E: mov dword ptr [ecx + 4], edx */ 10498 L_2B019911: 10499 ecx = MEM32(esi + 0x4); /* 0x2B019911: mov ecx, dword ptr [esi + 4] */ 10500 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B019914: cmp eax, dword ptr [ecx + 4] */ 10501 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10503 _flag_k = FK_CMP; 10504 RECOMP_BACKEDGE(); 10505 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01979D; /* 0x2B019917: jne 0x2b01979d */ 10506 L_2B01991D: 10507 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 10508 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 10509 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 10510 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 10511 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 10512 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 10513 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 10514 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 10515 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 10516 esp = ebp; /* 0x2B019931: mov esp, ebp */ 10517 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 10518 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 10519 RECOMP_REGS_OUT(); 10520 } 10521 10522 void sub_2B01991D(void) { 10523 int _fpu_cmp = 0; 10524 uint32_t _cf = 0; 10525 int _df = 1; 10526 uint32_t _flag_k = FK_NONE; 10527 uint32_t _flag_a = 0, _flag_b = 0; 10528 uint32_t _itail_tgt = 0; 10529 RECOMP_REGS_LOCALS 10530 RECOMP_ENTER(0x2B01991Du); 10531 10532 L_2B01991D: 10533 edx = MEM32(esi + 0x4); /* 0x2B01991D: mov edx, dword ptr [esi + 4] */ 10534 eax = MEM32(edx + 0x4); /* 0x2B019920: mov eax, dword ptr [edx + 4] */ 10535 ecx = MEM32(ebp + (-0x4)); /* 0x2B019923: mov ecx, dword ptr [ebp - 4] */ 10536 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2B019926: mov byte ptr [eax + 0x24], bl */ 10537 eax = MEM32(ebp + 0x8); /* 0x2B019929: mov eax, dword ptr [ebp + 8] */ 10538 edi = POP32_VAL(esp); /* 0x2B01992C: pop edi */ 10539 esi = POP32_VAL(esp); /* 0x2B01992D: pop esi */ 10540 MEM32(eax) = ecx; /* 0x2B01992E: mov dword ptr [eax], ecx */ 10541 ebx = POP32_VAL(esp); /* 0x2B019930: pop ebx */ 10542 esp = ebp; /* 0x2B019931: mov esp, ebp */ 10543 ebp = POP32_VAL(esp); /* 0x2B019933: pop ebp */ 10544 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B019934: ret 0x10 */ 10545 RECOMP_REGS_OUT(); 10546 } 10547 10548 void sub_2B019940(void) { 10549 int _fpu_cmp = 0; 10550 uint32_t _cf = 0; 10551 int _df = 1; 10552 uint32_t _flag_k = FK_NONE; 10553 uint32_t _flag_a = 0, _flag_b = 0; 10554 uint32_t _itail_tgt = 0; 10555 RECOMP_REGS_LOCALS 10556 RECOMP_ENTER(0x2B019940u); 10557 10558 L_2B019940: 10559 PUSH32(esp, ebp); /* 0x2B019940: push ebp */ 10560 ebp = esp; /* 0x2B019941: mov ebp, esp */ 10561 PUSH32(esp, 0x28u); /* 0x2B019943: push 0x28 */ 10562 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019945: call 0x2b0ab212 */ /* not lifted */ 10563 RECOMP_FLAGS_IN(); 10564 ecx = MEM32(ebp + 0x8); /* 0x2B01994A: mov ecx, dword ptr [ebp + 8] */ 10565 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x2B01994D: mov dl, byte ptr [ebp + 0xc] */ 10566 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10567 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10568 esp = esp + 4; /* 0x2B019950: add esp, 4 */ 10569 _flag_k = FK_ADD; 10570 MEM32(eax + 0x4) = ecx; /* 0x2B019953: mov dword ptr [eax + 4], ecx */ 10571 MEM8(eax + 0x24) = (uint8_t)(LO8(edx)); /* 0x2B019956: mov byte ptr [eax + 0x24], dl */ 10572 MEM8(eax + 0x25) = (uint8_t)(0); /* 0x2B019959: mov byte ptr [eax + 0x25], 0 */ 10573 ebp = POP32_VAL(esp); /* 0x2B01995D: pop ebp */ 10574 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01995E: ret 8 */ 10575 RECOMP_REGS_OUT(); 10576 } 10577 10578 void sub_2B019970(void) { 10579 int _fpu_cmp = 0; 10580 uint32_t _cf = 0; 10581 int _df = 1; 10582 uint32_t _flag_k = FK_NONE; 10583 uint32_t _flag_a = 0, _flag_b = 0; 10584 uint32_t _itail_tgt = 0; 10585 RECOMP_REGS_LOCALS 10586 RECOMP_ENTER(0x2B019970u); 10587 10588 L_2B019970: 10589 eax = MEM32(ecx); /* 0x2B019970: mov eax, dword ptr [ecx] */ 10590 SET_LO8(edx, MEM8(eax + 0x24)); /* 0x2B019972: mov dl, byte ptr [eax + 0x24] */ 10591 /* test LO8(edx), LO8(edx) */ /* 0x2B019975: test dl, dl */ 10592 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10593 _cf = 0; 10594 _flag_k = FK_NARROW(FK_TEST, 24); 10595 PUSH32(esp, ebx); /* 0x2B019977: push ebx */ 10596 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019989; /* 0x2B019978: jne 0x2b019989 */ 10597 L_2B01997A: 10598 edx = MEM32(eax + 0x4); /* 0x2B01997A: mov edx, dword ptr [eax + 4] */ 10599 /* cmp MEM32(edx + 0x4), eax */ /* 0x2B01997D: cmp dword ptr [edx + 4], eax */ 10600 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 10601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10602 _flag_k = FK_CMP; 10603 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019989; /* 0x2B019980: jne 0x2b019989 */ 10604 L_2B019982: 10605 eax = MEM32(eax + 0x8); /* 0x2B019982: mov eax, dword ptr [eax + 8] */ 10606 MEM32(ecx) = eax; /* 0x2B019985: mov dword ptr [ecx], eax */ 10607 ebx = POP32_VAL(esp); /* 0x2B019987: pop ebx */ 10608 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B019988: ret */ 10609 L_2B019989: 10610 edx = MEM32(eax); /* 0x2B019989: mov edx, dword ptr [eax] */ 10611 SET_LO8(ebx, MEM8(edx + 0x25)); /* 0x2B01998B: mov bl, byte ptr [edx + 0x25] */ 10612 /* test LO8(ebx), LO8(ebx) */ /* 0x2B01998E: test bl, bl */ 10613 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10614 _cf = 0; 10615 _flag_k = FK_NARROW(FK_TEST, 24); 10616 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0199AC; /* 0x2B019990: jne 0x2b0199ac */ 10617 L_2B019992: 10618 eax = MEM32(edx + 0x8); /* 0x2B019992: mov eax, dword ptr [edx + 8] */ 10619 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B019995: mov bl, byte ptr [eax + 0x25] */ 10620 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019998: test bl, bl */ 10621 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10622 _cf = 0; 10623 _flag_k = FK_NARROW(FK_TEST, 24); 10624 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0199A8; /* 0x2B01999A: jne 0x2b0199a8 */ 10625 L_2B01999C: 10626 edx = eax; /* 0x2B01999C: mov edx, eax */ 10627 eax = MEM32(edx + 0x8); /* 0x2B01999E: mov eax, dword ptr [edx + 8] */ 10628 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B0199A1: mov bl, byte ptr [eax + 0x25] */ 10629 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0199A4: test bl, bl */ 10630 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10631 _cf = 0; 10632 _flag_k = FK_NARROW(FK_TEST, 24); 10633 RECOMP_BACKEDGE(); 10634 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01999C; /* 0x2B0199A6: je 0x2b01999c */ 10635 L_2B0199A8: 10636 MEM32(ecx) = edx; /* 0x2B0199A8: mov dword ptr [ecx], edx */ 10637 ebx = POP32_VAL(esp); /* 0x2B0199AA: pop ebx */ 10638 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0199AB: ret */ 10639 L_2B0199AC: 10640 eax = MEM32(eax + 0x4); /* 0x2B0199AC: mov eax, dword ptr [eax + 4] */ 10641 edx = MEM32(ecx); /* 0x2B0199AF: mov edx, dword ptr [ecx] */ 10642 /* cmp edx, MEM32(eax) */ /* 0x2B0199B1: cmp edx, dword ptr [eax] */ 10643 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 10644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10645 _flag_k = FK_CMP; 10646 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0199C0; /* 0x2B0199B3: jne 0x2b0199c0 */ 10647 L_2B0199B5: 10648 MEM32(ecx) = eax; /* 0x2B0199B5: mov dword ptr [ecx], eax */ 10649 eax = MEM32(eax + 0x4); /* 0x2B0199B7: mov eax, dword ptr [eax + 4] */ 10650 edx = MEM32(ecx); /* 0x2B0199BA: mov edx, dword ptr [ecx] */ 10651 /* cmp edx, MEM32(eax) */ /* 0x2B0199BC: cmp edx, dword ptr [eax] */ 10652 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 10653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10654 _flag_k = FK_CMP; 10655 RECOMP_BACKEDGE(); 10656 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0199B5; /* 0x2B0199BE: je 0x2b0199b5 */ 10657 L_2B0199C0: 10658 MEM32(ecx) = eax; /* 0x2B0199C0: mov dword ptr [ecx], eax */ 10659 ebx = POP32_VAL(esp); /* 0x2B0199C2: pop ebx */ 10660 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0199C3: ret */ 10661 RECOMP_REGS_OUT(); 10662 } 10663 10664 void sub_2B0199D0(void) { 10665 int _fpu_cmp = 0; 10666 uint32_t _cf = 0; 10667 int _df = 1; 10668 uint32_t _flag_k = FK_NONE; 10669 uint32_t _flag_a = 0, _flag_b = 0; 10670 uint32_t _itail_tgt = 0; 10671 RECOMP_REGS_LOCALS 10672 RECOMP_ENTER(0x2B0199D0u); 10673 10674 L_2B0199D0: 10675 eax = MEM32(ecx); /* 0x2B0199D0: mov eax, dword ptr [ecx] */ 10676 edx = MEM32(eax + 0x8); /* 0x2B0199D2: mov edx, dword ptr [eax + 8] */ 10677 PUSH32(esp, ebx); /* 0x2B0199D5: push ebx */ 10678 SET_LO8(ebx, MEM8(edx + 0x25)); /* 0x2B0199D6: mov bl, byte ptr [edx + 0x25] */ 10679 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0199D9: test bl, bl */ 10680 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10681 _cf = 0; 10682 _flag_k = FK_NARROW(FK_TEST, 24); 10683 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0199F5; /* 0x2B0199DB: jne 0x2b0199f5 */ 10684 L_2B0199DD: 10685 eax = MEM32(edx); /* 0x2B0199DD: mov eax, dword ptr [edx] */ 10686 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B0199DF: mov bl, byte ptr [eax + 0x25] */ 10687 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0199E2: test bl, bl */ 10688 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10689 _cf = 0; 10690 _flag_k = FK_NARROW(FK_TEST, 24); 10691 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B0199F1; /* 0x2B0199E4: jne 0x2b0199f1 */ 10692 L_2B0199E6: 10693 edx = eax; /* 0x2B0199E6: mov edx, eax */ 10694 eax = MEM32(edx); /* 0x2B0199E8: mov eax, dword ptr [edx] */ 10695 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2B0199EA: mov bl, byte ptr [eax + 0x25] */ 10696 /* test LO8(ebx), LO8(ebx) */ /* 0x2B0199ED: test bl, bl */ 10697 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10698 _cf = 0; 10699 _flag_k = FK_NARROW(FK_TEST, 24); 10700 RECOMP_BACKEDGE(); 10701 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0199E6; /* 0x2B0199EF: je 0x2b0199e6 */ 10702 L_2B0199F1: 10703 MEM32(ecx) = edx; /* 0x2B0199F1: mov dword ptr [ecx], edx */ 10704 ebx = POP32_VAL(esp); /* 0x2B0199F3: pop ebx */ 10705 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0199F4: ret */ 10706 L_2B0199F5: 10707 eax = MEM32(eax + 0x4); /* 0x2B0199F5: mov eax, dword ptr [eax + 4] */ 10708 edx = MEM32(ecx); /* 0x2B0199F8: mov edx, dword ptr [ecx] */ 10709 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B0199FA: cmp edx, dword ptr [eax + 8] */ 10710 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10712 _flag_k = FK_CMP; 10713 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019A0B; /* 0x2B0199FD: jne 0x2b019a0b */ 10714 L_2B0199FF: 10715 MEM32(ecx) = eax; /* 0x2B0199FF: mov dword ptr [ecx], eax */ 10716 eax = MEM32(eax + 0x4); /* 0x2B019A01: mov eax, dword ptr [eax + 4] */ 10717 edx = MEM32(ecx); /* 0x2B019A04: mov edx, dword ptr [ecx] */ 10718 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B019A06: cmp edx, dword ptr [eax + 8] */ 10719 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10721 _flag_k = FK_CMP; 10722 RECOMP_BACKEDGE(); 10723 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0199FF; /* 0x2B019A09: je 0x2b0199ff */ 10724 L_2B019A0B: 10725 edx = MEM32(ecx); /* 0x2B019A0B: mov edx, dword ptr [ecx] */ 10726 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B019A0D: cmp dword ptr [edx + 8], eax */ 10727 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 10728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10729 _flag_k = FK_CMP; 10730 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019A14; /* 0x2B019A10: je 0x2b019a14 */ 10731 L_2B019A12: 10732 MEM32(ecx) = eax; /* 0x2B019A12: mov dword ptr [ecx], eax */ 10733 L_2B019A14: 10734 ebx = POP32_VAL(esp); /* 0x2B019A14: pop ebx */ 10735 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B019A15: ret */ 10736 RECOMP_REGS_OUT(); 10737 } 10738 10739 void sub_2B019A20(void) { 10740 int _fpu_cmp = 0; 10741 uint32_t _cf = 0; 10742 int _df = 1; 10743 uint32_t _flag_k = FK_NONE; 10744 uint32_t _flag_a = 0, _flag_b = 0; 10745 uint32_t _itail_tgt = 0; 10746 RECOMP_REGS_LOCALS 10747 RECOMP_ENTER(0x2B019A20u); 10748 10749 L_2B019A20: 10750 PUSH32(esp, ebp); /* 0x2B019A20: push ebp */ 10751 ebp = esp; /* 0x2B019A21: mov ebp, esp */ 10752 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B019A23: push -1 */ 10753 PUSH32(esp, 0x2B0ACEF9u); /* 0x2B019A25: push 0x2b0acef9 */ 10754 eax = MEM32(FS_BASE + (0)); /* 0x2B019A2A: mov eax, dword ptr fs:[0] */ 10755 PUSH32(esp, eax); /* 0x2B019A30: push eax */ 10756 MEM32(FS_BASE + (0)) = esp; /* 0x2B019A31: mov dword ptr fs:[0], esp */ 10757 PUSH32(esp, ecx); /* 0x2B019A38: push ecx */ 10758 PUSH32(esp, ebx); /* 0x2B019A39: push ebx */ 10759 ebx = MEM32(ebp + 0x8); /* 0x2B019A3A: mov ebx, dword ptr [ebp + 8] */ 10760 PUSH32(esp, esi); /* 0x2B019A3D: push esi */ 10761 MEM32(ebp + (-0x10)) = ebx; /* 0x2B019A3E: mov dword ptr [ebp - 0x10], ebx */ 10762 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10763 esi = 0; /* 0x2B019A41: xor esi, esi */ 10764 _cf = 0; 10765 _flag_k = FK_TEST; 10766 /* cmp ebx, esi */ /* 0x2B019A43: cmp ebx, esi */ 10767 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(esi); 10768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10769 _flag_k = FK_CMP; 10770 MEM32(ebp + (-0x4)) = esi; /* 0x2B019A45: mov dword ptr [ebp - 4], esi */ 10771 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019B68; /* 0x2B019A48: je 0x2b019b68 */ 10772 L_2B019A4E: 10773 PUSH32(esp, edi); /* 0x2B019A4E: push edi */ 10774 edi = MEM32(ebp + 0xC); /* 0x2B019A4F: mov edi, dword ptr [ebp + 0xc] */ 10775 SET_LO8(eax, MEM8(edi)); /* 0x2B019A52: mov al, byte ptr [edi] */ 10776 MEM8(ebx) = (uint8_t)(LO8(eax)); /* 0x2B019A54: mov byte ptr [ebx], al */ 10777 SET_LO8(ecx, MEM8(edi + 0x1)); /* 0x2B019A56: mov cl, byte ptr [edi + 1] */ 10778 MEM8(ebx + 0x1) = (uint8_t)(LO8(ecx)); /* 0x2B019A59: mov byte ptr [ebx + 1], cl */ 10779 SET_LO8(edx, MEM8(edi + 0xC)); /* 0x2B019A5C: mov dl, byte ptr [edi + 0xc] */ 10780 PUSH32(esp, 0x18u); /* 0x2B019A5F: push 0x18 */ 10781 MEM8(ebx + 0xC) = (uint8_t)(LO8(edx)); /* 0x2B019A61: mov byte ptr [ebx + 0xc], dl */ 10782 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019A64: call 0x2b0ab212 */ /* not lifted */ 10783 RECOMP_FLAGS_IN(); 10784 MEM32(eax + 0x4) = esi; /* 0x2B019A69: mov dword ptr [eax + 4], esi */ 10785 MEM8(eax + 0x14) = (uint8_t)(1); /* 0x2B019A6C: mov byte ptr [eax + 0x14], 1 */ 10786 MEM8(eax + 0x15) = (uint8_t)(0); /* 0x2B019A70: mov byte ptr [eax + 0x15], 0 */ 10787 MEM32(ebx + 0x8) = eax; /* 0x2B019A74: mov dword ptr [ebx + 8], eax */ 10788 MEM8(eax + 0x15) = (uint8_t)(1); /* 0x2B019A77: mov byte ptr [eax + 0x15], 1 */ 10789 eax = MEM32(ebx + 0x8); /* 0x2B019A7B: mov eax, dword ptr [ebx + 8] */ 10790 MEM32(eax) = esi; /* 0x2B019A7E: mov dword ptr [eax], esi */ 10791 eax = MEM32(ebx + 0x8); /* 0x2B019A80: mov eax, dword ptr [ebx + 8] */ 10792 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10794 esp = esp + 4; /* 0x2B019A83: add esp, 4 */ 10795 _flag_k = FK_ADD; 10796 MEM32(eax + 0x8) = esi; /* 0x2B019A86: mov dword ptr [eax + 8], esi */ 10797 ecx = MEM32(ebx + 0x8); /* 0x2B019A89: mov ecx, dword ptr [ebx + 8] */ 10798 PUSH32(esp, esi); /* 0x2B019A8C: push esi */ 10799 PUSH32(esp, ecx); /* 0x2B019A8D: push ecx */ 10800 ecx = ebx; /* 0x2B019A8E: mov ecx, ebx */ 10801 RECOMP_ICALL(0x2B078C00u); /* 0x2B019A90: call 0x2b078c00 */ /* not lifted */ 10802 RECOMP_FLAGS_IN(); 10803 MEM32(ebx + 0x4) = eax; /* 0x2B019A95: mov dword ptr [ebx + 4], eax */ 10804 MEM32(eax) = eax; /* 0x2B019A98: mov dword ptr [eax], eax */ 10805 eax = MEM32(ebx + 0x4); /* 0x2B019A9A: mov eax, dword ptr [ebx + 4] */ 10806 MEM32(eax + 0x8) = eax; /* 0x2B019A9D: mov dword ptr [eax + 8], eax */ 10807 PUSH32(esp, edi); /* 0x2B019AA0: push edi */ 10808 ecx = ebx; /* 0x2B019AA1: mov ecx, ebx */ 10809 MEM32(ebx + 0x10) = esi; /* 0x2B019AA3: mov dword ptr [ebx + 0x10], esi */ 10810 RECOMP_ICALL(0x2B019B80u); /* 0x2B019AA6: call 0x2b019b80 */ /* not lifted */ 10811 RECOMP_FLAGS_IN(); 10812 SET_LO8(edx, MEM8(edi + 0x14)); /* 0x2B019AAB: mov dl, byte ptr [edi + 0x14] */ 10813 MEM8(ebx + 0x14) = (uint8_t)(LO8(edx)); /* 0x2B019AAE: mov byte ptr [ebx + 0x14], dl */ 10814 eax = MEM32(edi + 0x18); /* 0x2B019AB1: mov eax, dword ptr [edi + 0x18] */ 10815 MEM32(ebx + 0x18) = eax; /* 0x2B019AB4: mov dword ptr [ebx + 0x18], eax */ 10816 ecx = MEM32(edi + 0x1C); /* 0x2B019AB7: mov ecx, dword ptr [edi + 0x1c] */ 10817 MEM32(ebx + 0x1C) = ecx; /* 0x2B019ABA: mov dword ptr [ebx + 0x1c], ecx */ 10818 edx = MEM32(edi + 0x20); /* 0x2B019ABD: mov edx, dword ptr [edi + 0x20] */ 10819 MEM32(ebx + 0x20) = edx; /* 0x2B019AC0: mov dword ptr [ebx + 0x20], edx */ 10820 eax = MEM32(edi + 0x24); /* 0x2B019AC3: mov eax, dword ptr [edi + 0x24] */ 10821 MEM32(ebx + 0x24) = eax; /* 0x2B019AC6: mov dword ptr [ebx + 0x24], eax */ 10822 SET_LO8(ecx, MEM8(edi + 0x28)); /* 0x2B019AC9: mov cl, byte ptr [edi + 0x28] */ 10823 esi = ebx + 0x28; /* 0x2B019ACC: lea esi, [ebx + 0x28] */ 10824 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2B019ACF: mov byte ptr [esi], cl */ 10825 SET_LO8(edx, MEM8(edi + 0x29)); /* 0x2B019AD1: mov dl, byte ptr [edi + 0x29] */ 10826 MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x2B019AD4: mov byte ptr [esi + 1], dl */ 10827 SET_LO8(eax, MEM8(edi + 0x34)); /* 0x2B019AD7: mov al, byte ptr [edi + 0x34] */ 10828 PUSH32(esp, 0x28u); /* 0x2B019ADA: push 0x28 */ 10829 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B019ADC: mov byte ptr [ebp - 4], 1 */ 10830 MEM8(esi + 0xC) = (uint8_t)(LO8(eax)); /* 0x2B019AE0: mov byte ptr [esi + 0xc], al */ 10831 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019AE3: call 0x2b0ab212 */ /* not lifted */ 10832 RECOMP_FLAGS_IN(); 10833 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10834 ecx = 0; /* 0x2B019AE8: xor ecx, ecx */ 10835 _cf = 0; 10836 _flag_k = FK_TEST; 10837 MEM32(eax + 0x4) = ecx; /* 0x2B019AEA: mov dword ptr [eax + 4], ecx */ 10838 MEM8(eax + 0x25) = (uint8_t)(LO8(ecx)); /* 0x2B019AED: mov byte ptr [eax + 0x25], cl */ 10839 MEM8(eax + 0x24) = (uint8_t)(1); /* 0x2B019AF0: mov byte ptr [eax + 0x24], 1 */ 10840 MEM32(esi + 0x8) = eax; /* 0x2B019AF4: mov dword ptr [esi + 8], eax */ 10841 MEM8(eax + 0x25) = (uint8_t)(1); /* 0x2B019AF7: mov byte ptr [eax + 0x25], 1 */ 10842 edx = MEM32(esi + 0x8); /* 0x2B019AFB: mov edx, dword ptr [esi + 8] */ 10843 MEM32(edx) = ecx; /* 0x2B019AFE: mov dword ptr [edx], ecx */ 10844 eax = MEM32(esi + 0x8); /* 0x2B019B00: mov eax, dword ptr [esi + 8] */ 10845 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10846 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10847 esp = esp + 4; /* 0x2B019B03: add esp, 4 */ 10848 _flag_k = FK_ADD; 10849 PUSH32(esp, ecx); /* 0x2B019B06: push ecx */ 10850 MEM32(eax + 0x8) = ecx; /* 0x2B019B07: mov dword ptr [eax + 8], ecx */ 10851 ecx = MEM32(esi + 0x8); /* 0x2B019B0A: mov ecx, dword ptr [esi + 8] */ 10852 PUSH32(esp, ecx); /* 0x2B019B0D: push ecx */ 10853 ecx = esi; /* 0x2B019B0E: mov ecx, esi */ 10854 RECOMP_ICALL(0x2B019940u); /* 0x2B019B10: call 0x2b019940 */ /* not lifted */ 10855 RECOMP_FLAGS_IN(); 10856 MEM32(esi + 0x4) = eax; /* 0x2B019B15: mov dword ptr [esi + 4], eax */ 10857 MEM32(eax) = eax; /* 0x2B019B18: mov dword ptr [eax], eax */ 10858 eax = MEM32(esi + 0x4); /* 0x2B019B1A: mov eax, dword ptr [esi + 4] */ 10859 MEM32(eax + 0x8) = eax; /* 0x2B019B1D: mov dword ptr [eax + 8], eax */ 10860 eax = edi + 0x28; /* 0x2B019B20: lea eax, [edi + 0x28] */ 10861 PUSH32(esp, eax); /* 0x2B019B23: push eax */ 10862 ecx = esi; /* 0x2B019B24: mov ecx, esi */ 10863 MEM32(esi + 0x10) = 0; /* 0x2B019B26: mov dword ptr [esi + 0x10], 0 */ 10864 RECOMP_ICALL(0x2B019C80u); /* 0x2B019B2D: call 0x2b019c80 */ /* not lifted */ 10865 RECOMP_FLAGS_IN(); 10866 esi = edi + 0x3C; /* 0x2B019B32: lea esi, [edi + 0x3c] */ 10867 edi = ebx + 0x3C; /* 0x2B019B35: lea edi, [ebx + 0x3c] */ 10868 eax = MEM32(ebp + 0xC); /* 0x2B019B38: mov eax, dword ptr [ebp + 0xc] */ 10869 ecx = 0xAu; /* 0x2B019B3B: mov ecx, 0xa */ 10870 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B019B40: 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; } 10871 esi = eax + 0x64; /* 0x2B019B42: lea esi, [eax + 0x64] */ 10872 edi = ebx + 0x64; /* 0x2B019B45: lea edi, [ebx + 0x64] */ 10873 ecx = 0xAu; /* 0x2B019B48: mov ecx, 0xa */ 10874 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B019B4D: 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; } 10875 edx = MEM32(eax + 0x8C); /* 0x2B019B4F: mov edx, dword ptr [eax + 0x8c] */ 10876 MEM32(ebx + 0x8C) = edx; /* 0x2B019B55: mov dword ptr [ebx + 0x8c], edx */ 10877 eax = MEM32(eax + 0x90); /* 0x2B019B5B: mov eax, dword ptr [eax + 0x90] */ 10878 MEM32(ebx + 0x90) = eax; /* 0x2B019B61: mov dword ptr [ebx + 0x90], eax */ 10879 edi = POP32_VAL(esp); /* 0x2B019B67: pop edi */ 10880 L_2B019B68: 10881 ecx = MEM32(ebp + (-0xC)); /* 0x2B019B68: mov ecx, dword ptr [ebp - 0xc] */ 10882 esi = POP32_VAL(esp); /* 0x2B019B6B: pop esi */ 10883 ebx = POP32_VAL(esp); /* 0x2B019B6C: pop ebx */ 10884 MEM32(FS_BASE + (0)) = ecx; /* 0x2B019B6D: mov dword ptr fs:[0], ecx */ 10885 esp = ebp; /* 0x2B019B74: mov esp, ebp */ 10886 ebp = POP32_VAL(esp); /* 0x2B019B76: pop ebp */ 10887 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B019B77: ret */ 10888 RECOMP_REGS_OUT(); 10889 } 10890 10891 void sub_2B019B80(void) { 10892 int _fpu_cmp = 0; 10893 uint32_t _cf = 0; 10894 int _df = 1; 10895 uint32_t _flag_k = FK_NONE; 10896 uint32_t _flag_a = 0, _flag_b = 0; 10897 uint32_t _itail_tgt = 0; 10898 RECOMP_REGS_LOCALS 10899 RECOMP_ENTER(0x2B019B80u); 10900 10901 L_2B019B80: 10902 PUSH32(esp, ebp); /* 0x2B019B80: push ebp */ 10903 ebp = esp; /* 0x2B019B81: mov ebp, esp */ 10904 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10906 esp = esp - 0xCu; /* 0x2B019B83: sub esp, 0xc */ 10907 _flag_k = FK_CMP; 10908 PUSH32(esp, ebx); /* 0x2B019B86: push ebx */ 10909 PUSH32(esp, esi); /* 0x2B019B87: push esi */ 10910 esi = ecx; /* 0x2B019B88: mov esi, ecx */ 10911 eax = MEM32(esi + 0x4); /* 0x2B019B8A: mov eax, dword ptr [esi + 4] */ 10912 ecx = MEM32(ebp + 0x8); /* 0x2B019B8D: mov ecx, dword ptr [ebp + 8] */ 10913 edx = MEM32(ecx + 0x4); /* 0x2B019B90: mov edx, dword ptr [ecx + 4] */ 10914 ebx = MEM32(edx + 0x4); /* 0x2B019B93: mov ebx, dword ptr [edx + 4] */ 10915 MEM32(ebp + (-0xC)) = eax; /* 0x2B019B96: mov dword ptr [ebp - 0xc], eax */ 10916 eax = MEM32(esi + 0x8); /* 0x2B019B99: mov eax, dword ptr [esi + 8] */ 10917 MEM32(ebp + (-0x8)) = eax; /* 0x2B019B9C: mov dword ptr [ebp - 8], eax */ 10918 SET_LO8(eax, MEM8(ebx + 0x15)); /* 0x2B019B9F: mov al, byte ptr [ebx + 0x15] */ 10919 /* test LO8(eax), LO8(eax) */ /* 0x2B019BA2: test al, al */ 10920 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10921 _cf = 0; 10922 _flag_k = FK_NARROW(FK_TEST, 24); 10923 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019C0B; /* 0x2B019BA4: jne 0x2b019c0b */ 10924 L_2B019BA6: 10925 SET_LO8(ecx, MEM8(ebx + 0x14)); /* 0x2B019BA6: mov cl, byte ptr [ebx + 0x14] */ 10926 PUSH32(esp, edi); /* 0x2B019BA9: push edi */ 10927 PUSH32(esp, 0x18u); /* 0x2B019BAA: push 0x18 */ 10928 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B019BAC: mov byte ptr [ebp - 1], cl */ 10929 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019BAF: call 0x2b0ab212 */ /* not lifted */ 10930 RECOMP_FLAGS_IN(); 10931 edx = MEM32(ebp + (-0xC)); /* 0x2B019BB4: mov edx, dword ptr [ebp - 0xc] */ 10932 edi = eax; /* 0x2B019BB7: mov edi, eax */ 10933 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B019BB9: mov al, byte ptr [ebp - 1] */ 10934 ecx = ebx + 0xC; /* 0x2B019BBC: lea ecx, [ebx + 0xc] */ 10935 MEM32(edi + 0x4) = edx; /* 0x2B019BBF: mov dword ptr [edi + 4], edx */ 10936 PUSH32(esp, ecx); /* 0x2B019BC2: push ecx */ 10937 edx = edi + 0xC; /* 0x2B019BC3: lea edx, [edi + 0xc] */ 10938 PUSH32(esp, edx); /* 0x2B019BC6: push edx */ 10939 MEM8(edi + 0x14) = (uint8_t)(LO8(eax)); /* 0x2B019BC7: mov byte ptr [edi + 0x14], al */ 10940 MEM8(edi + 0x15) = (uint8_t)(0); /* 0x2B019BCA: mov byte ptr [edi + 0x15], 0 */ 10941 RECOMP_ICALL(0x2B019D80u); /* 0x2B019BCE: call 0x2b019d80 */ /* not lifted */ 10942 RECOMP_FLAGS_IN(); 10943 eax = MEM32(esi + 0x8); /* 0x2B019BD3: mov eax, dword ptr [esi + 8] */ 10944 edx = MEM32(ebp + (-0x8)); /* 0x2B019BD6: mov edx, dword ptr [ebp - 8] */ 10945 MEM32(edi) = eax; /* 0x2B019BD9: mov dword ptr [edi], eax */ 10946 ecx = MEM32(esi + 0x8); /* 0x2B019BDB: mov ecx, dword ptr [esi + 8] */ 10947 MEM32(edi + 0x8) = ecx; /* 0x2B019BDE: mov dword ptr [edi + 8], ecx */ 10948 eax = MEM32(esi + 0x8); /* 0x2B019BE1: mov eax, dword ptr [esi + 8] */ 10949 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10950 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10951 esp = esp + 0xCu; /* 0x2B019BE4: add esp, 0xc */ 10952 _flag_k = FK_ADD; 10953 /* cmp edx, eax */ /* 0x2B019BE7: cmp edx, eax */ 10954 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 10955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10956 _flag_k = FK_CMP; 10957 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019BEE; /* 0x2B019BE9: jne 0x2b019bee */ 10958 L_2B019BEB: 10959 MEM32(ebp + (-0x8)) = edi; /* 0x2B019BEB: mov dword ptr [ebp - 8], edi */ 10960 L_2B019BEE: 10961 eax = MEM32(ebx); /* 0x2B019BEE: mov eax, dword ptr [ebx] */ 10962 PUSH32(esp, edi); /* 0x2B019BF0: push edi */ 10963 PUSH32(esp, eax); /* 0x2B019BF1: push eax */ 10964 ecx = esi; /* 0x2B019BF2: mov ecx, esi */ 10965 RECOMP_ICALL(0x2B0195E0u); /* 0x2B019BF4: call 0x2b0195e0 */ /* not lifted */ 10966 RECOMP_FLAGS_IN(); 10967 MEM32(edi) = eax; /* 0x2B019BF9: mov dword ptr [edi], eax */ 10968 ecx = MEM32(ebx + 0x8); /* 0x2B019BFB: mov ecx, dword ptr [ebx + 8] */ 10969 PUSH32(esp, edi); /* 0x2B019BFE: push edi */ 10970 PUSH32(esp, ecx); /* 0x2B019BFF: push ecx */ 10971 ecx = esi; /* 0x2B019C00: mov ecx, esi */ 10972 RECOMP_ICALL(0x2B0195E0u); /* 0x2B019C02: call 0x2b0195e0 */ /* not lifted */ 10973 RECOMP_FLAGS_IN(); 10974 MEM32(edi + 0x8) = eax; /* 0x2B019C07: mov dword ptr [edi + 8], eax */ 10975 edi = POP32_VAL(esp); /* 0x2B019C0A: pop edi */ 10976 L_2B019C0B: 10977 edx = MEM32(esi + 0x4); /* 0x2B019C0B: mov edx, dword ptr [esi + 4] */ 10978 eax = MEM32(ebp + (-0x8)); /* 0x2B019C0E: mov eax, dword ptr [ebp - 8] */ 10979 ecx = MEM32(ebp + 0x8); /* 0x2B019C11: mov ecx, dword ptr [ebp + 8] */ 10980 MEM32(edx + 0x4) = eax; /* 0x2B019C14: mov dword ptr [edx + 4], eax */ 10981 edx = MEM32(ecx + 0x10); /* 0x2B019C17: mov edx, dword ptr [ecx + 0x10] */ 10982 ecx = MEM32(esi + 0x8); /* 0x2B019C1A: mov ecx, dword ptr [esi + 8] */ 10983 MEM32(esi + 0x10) = edx; /* 0x2B019C1D: mov dword ptr [esi + 0x10], edx */ 10984 edx = MEM32(esi + 0x4); /* 0x2B019C20: mov edx, dword ptr [esi + 4] */ 10985 eax = MEM32(edx + 0x4); /* 0x2B019C23: mov eax, dword ptr [edx + 4] */ 10986 /* cmp eax, ecx */ /* 0x2B019C26: cmp eax, ecx */ 10987 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10989 _flag_k = FK_CMP; 10990 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019C67; /* 0x2B019C28: je 0x2b019c67 */ 10991 L_2B019C2A: 10992 ecx = MEM32(eax); /* 0x2B019C2A: mov ecx, dword ptr [eax] */ 10993 SET_LO8(ebx, MEM8(ecx + 0x15)); /* 0x2B019C2C: mov bl, byte ptr [ecx + 0x15] */ 10994 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019C2F: test bl, bl */ 10995 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10996 _cf = 0; 10997 _flag_k = FK_NARROW(FK_TEST, 24); 10998 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019C3E; /* 0x2B019C31: jne 0x2b019c3e */ 10999 L_2B019C33: 11000 eax = ecx; /* 0x2B019C33: mov eax, ecx */ 11001 ecx = MEM32(eax); /* 0x2B019C35: mov ecx, dword ptr [eax] */ 11002 SET_LO8(ebx, MEM8(ecx + 0x15)); /* 0x2B019C37: mov bl, byte ptr [ecx + 0x15] */ 11003 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019C3A: test bl, bl */ 11004 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11005 _cf = 0; 11006 _flag_k = FK_NARROW(FK_TEST, 24); 11007 RECOMP_BACKEDGE(); 11008 if (TEST_Z(_flag_a, _flag_b)) goto L_2B019C33; /* 0x2B019C3C: je 0x2b019c33 */ 11009 L_2B019C3E: 11010 MEM32(edx) = eax; /* 0x2B019C3E: mov dword ptr [edx], eax */ 11011 esi = MEM32(esi + 0x4); /* 0x2B019C40: mov esi, dword ptr [esi + 4] */ 11012 ecx = MEM32(esi + 0x4); /* 0x2B019C43: mov ecx, dword ptr [esi + 4] */ 11013 eax = MEM32(ecx + 0x8); /* 0x2B019C46: mov eax, dword ptr [ecx + 8] */ 11014 SET_LO8(edx, MEM8(eax + 0x15)); /* 0x2B019C49: mov dl, byte ptr [eax + 0x15] */ 11015 /* test LO8(edx), LO8(edx) */ /* 0x2B019C4C: test dl, dl */ 11016 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11017 _cf = 0; 11018 _flag_k = FK_NARROW(FK_TEST, 24); 11019 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019C5C; /* 0x2B019C4E: jne 0x2b019c5c */ 11020 L_2B019C50: 11021 ecx = eax; /* 0x2B019C50: mov ecx, eax */ 11022 eax = MEM32(ecx + 0x8); /* 0x2B019C52: mov eax, dword ptr [ecx + 8] */ 11023 SET_LO8(edx, MEM8(eax + 0x15)); /* 0x2B019C55: mov dl, byte ptr [eax + 0x15] */ 11024 /* test LO8(edx), LO8(edx) */ /* 0x2B019C58: test dl, dl */ 11025 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11026 _cf = 0; 11027 _flag_k = FK_NARROW(FK_TEST, 24); 11028 RECOMP_BACKEDGE(); 11029 if (TEST_Z(_flag_a, _flag_b)) goto L_2B019C50; /* 0x2B019C5A: je 0x2b019c50 */ 11030 L_2B019C5C: 11031 MEM32(esi + 0x8) = ecx; /* 0x2B019C5C: mov dword ptr [esi + 8], ecx */ 11032 esi = POP32_VAL(esp); /* 0x2B019C5F: pop esi */ 11033 ebx = POP32_VAL(esp); /* 0x2B019C60: pop ebx */ 11034 esp = ebp; /* 0x2B019C61: mov esp, ebp */ 11035 ebp = POP32_VAL(esp); /* 0x2B019C63: pop ebp */ 11036 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019C64: ret 4 */ 11037 L_2B019C67: 11038 MEM32(edx) = edx; /* 0x2B019C67: mov dword ptr [edx], edx */ 11039 esi = MEM32(esi + 0x4); /* 0x2B019C69: mov esi, dword ptr [esi + 4] */ 11040 MEM32(esi + 0x8) = esi; /* 0x2B019C6C: mov dword ptr [esi + 8], esi */ 11041 esi = POP32_VAL(esp); /* 0x2B019C6F: pop esi */ 11042 ebx = POP32_VAL(esp); /* 0x2B019C70: pop ebx */ 11043 esp = ebp; /* 0x2B019C71: mov esp, ebp */ 11044 ebp = POP32_VAL(esp); /* 0x2B019C73: pop ebp */ 11045 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019C74: ret 4 */ 11046 RECOMP_REGS_OUT(); 11047 } 11048 11049 void sub_2B019C80(void) { 11050 int _fpu_cmp = 0; 11051 uint32_t _cf = 0; 11052 int _df = 1; 11053 uint32_t _flag_k = FK_NONE; 11054 uint32_t _flag_a = 0, _flag_b = 0; 11055 uint32_t _itail_tgt = 0; 11056 RECOMP_REGS_LOCALS 11057 RECOMP_ENTER(0x2B019C80u); 11058 11059 L_2B019C80: 11060 PUSH32(esp, ebp); /* 0x2B019C80: push ebp */ 11061 ebp = esp; /* 0x2B019C81: mov ebp, esp */ 11062 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11064 esp = esp - 0xCu; /* 0x2B019C83: sub esp, 0xc */ 11065 _flag_k = FK_CMP; 11066 PUSH32(esp, ebx); /* 0x2B019C86: push ebx */ 11067 PUSH32(esp, esi); /* 0x2B019C87: push esi */ 11068 esi = ecx; /* 0x2B019C88: mov esi, ecx */ 11069 eax = MEM32(esi + 0x4); /* 0x2B019C8A: mov eax, dword ptr [esi + 4] */ 11070 ecx = MEM32(ebp + 0x8); /* 0x2B019C8D: mov ecx, dword ptr [ebp + 8] */ 11071 edx = MEM32(ecx + 0x4); /* 0x2B019C90: mov edx, dword ptr [ecx + 4] */ 11072 ebx = MEM32(edx + 0x4); /* 0x2B019C93: mov ebx, dword ptr [edx + 4] */ 11073 MEM32(ebp + (-0xC)) = eax; /* 0x2B019C96: mov dword ptr [ebp - 0xc], eax */ 11074 eax = MEM32(esi + 0x8); /* 0x2B019C99: mov eax, dword ptr [esi + 8] */ 11075 MEM32(ebp + (-0x8)) = eax; /* 0x2B019C9C: mov dword ptr [ebp - 8], eax */ 11076 SET_LO8(eax, MEM8(ebx + 0x25)); /* 0x2B019C9F: mov al, byte ptr [ebx + 0x25] */ 11077 /* test LO8(eax), LO8(eax) */ /* 0x2B019CA2: test al, al */ 11078 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11079 _cf = 0; 11080 _flag_k = FK_NARROW(FK_TEST, 24); 11081 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019D0B; /* 0x2B019CA4: jne 0x2b019d0b */ 11082 L_2B019CA6: 11083 SET_LO8(ecx, MEM8(ebx + 0x24)); /* 0x2B019CA6: mov cl, byte ptr [ebx + 0x24] */ 11084 PUSH32(esp, edi); /* 0x2B019CA9: push edi */ 11085 PUSH32(esp, 0x28u); /* 0x2B019CAA: push 0x28 */ 11086 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2B019CAC: mov byte ptr [ebp - 1], cl */ 11087 RECOMP_ICALL(0x2B0AB212u); /* 0x2B019CAF: call 0x2b0ab212 */ /* not lifted */ 11088 RECOMP_FLAGS_IN(); 11089 edx = MEM32(ebp + (-0xC)); /* 0x2B019CB4: mov edx, dword ptr [ebp - 0xc] */ 11090 edi = eax; /* 0x2B019CB7: mov edi, eax */ 11091 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2B019CB9: mov al, byte ptr [ebp - 1] */ 11092 ecx = ebx + 0xC; /* 0x2B019CBC: lea ecx, [ebx + 0xc] */ 11093 MEM32(edi + 0x4) = edx; /* 0x2B019CBF: mov dword ptr [edi + 4], edx */ 11094 PUSH32(esp, ecx); /* 0x2B019CC2: push ecx */ 11095 edx = edi + 0xC; /* 0x2B019CC3: lea edx, [edi + 0xc] */ 11096 PUSH32(esp, edx); /* 0x2B019CC6: push edx */ 11097 MEM8(edi + 0x24) = (uint8_t)(LO8(eax)); /* 0x2B019CC7: mov byte ptr [edi + 0x24], al */ 11098 MEM8(edi + 0x25) = (uint8_t)(0); /* 0x2B019CCA: mov byte ptr [edi + 0x25], 0 */ 11099 RECOMP_ICALL(0x2B019DA0u); /* 0x2B019CCE: call 0x2b019da0 */ /* not lifted */ 11100 RECOMP_FLAGS_IN(); 11101 eax = MEM32(esi + 0x8); /* 0x2B019CD3: mov eax, dword ptr [esi + 8] */ 11102 edx = MEM32(ebp + (-0x8)); /* 0x2B019CD6: mov edx, dword ptr [ebp - 8] */ 11103 MEM32(edi) = eax; /* 0x2B019CD9: mov dword ptr [edi], eax */ 11104 ecx = MEM32(esi + 0x8); /* 0x2B019CDB: mov ecx, dword ptr [esi + 8] */ 11105 MEM32(edi + 0x8) = ecx; /* 0x2B019CDE: mov dword ptr [edi + 8], ecx */ 11106 eax = MEM32(esi + 0x8); /* 0x2B019CE1: mov eax, dword ptr [esi + 8] */ 11107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11108 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11109 esp = esp + 0xCu; /* 0x2B019CE4: add esp, 0xc */ 11110 _flag_k = FK_ADD; 11111 /* cmp edx, eax */ /* 0x2B019CE7: cmp edx, eax */ 11112 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 11113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11114 _flag_k = FK_CMP; 11115 if (CMP_NE(_flag_a, _flag_b)) goto L_2B019CEE; /* 0x2B019CE9: jne 0x2b019cee */ 11116 L_2B019CEB: 11117 MEM32(ebp + (-0x8)) = edi; /* 0x2B019CEB: mov dword ptr [ebp - 8], edi */ 11118 L_2B019CEE: 11119 eax = MEM32(ebx); /* 0x2B019CEE: mov eax, dword ptr [ebx] */ 11120 PUSH32(esp, edi); /* 0x2B019CF0: push edi */ 11121 PUSH32(esp, eax); /* 0x2B019CF1: push eax */ 11122 ecx = esi; /* 0x2B019CF2: mov ecx, esi */ 11123 RECOMP_ICALL(0x2B019670u); /* 0x2B019CF4: call 0x2b019670 */ /* not lifted */ 11124 RECOMP_FLAGS_IN(); 11125 MEM32(edi) = eax; /* 0x2B019CF9: mov dword ptr [edi], eax */ 11126 ecx = MEM32(ebx + 0x8); /* 0x2B019CFB: mov ecx, dword ptr [ebx + 8] */ 11127 PUSH32(esp, edi); /* 0x2B019CFE: push edi */ 11128 PUSH32(esp, ecx); /* 0x2B019CFF: push ecx */ 11129 ecx = esi; /* 0x2B019D00: mov ecx, esi */ 11130 RECOMP_ICALL(0x2B019670u); /* 0x2B019D02: call 0x2b019670 */ /* not lifted */ 11131 RECOMP_FLAGS_IN(); 11132 MEM32(edi + 0x8) = eax; /* 0x2B019D07: mov dword ptr [edi + 8], eax */ 11133 edi = POP32_VAL(esp); /* 0x2B019D0A: pop edi */ 11134 L_2B019D0B: 11135 edx = MEM32(esi + 0x4); /* 0x2B019D0B: mov edx, dword ptr [esi + 4] */ 11136 eax = MEM32(ebp + (-0x8)); /* 0x2B019D0E: mov eax, dword ptr [ebp - 8] */ 11137 ecx = MEM32(ebp + 0x8); /* 0x2B019D11: mov ecx, dword ptr [ebp + 8] */ 11138 MEM32(edx + 0x4) = eax; /* 0x2B019D14: mov dword ptr [edx + 4], eax */ 11139 edx = MEM32(ecx + 0x10); /* 0x2B019D17: mov edx, dword ptr [ecx + 0x10] */ 11140 ecx = MEM32(esi + 0x8); /* 0x2B019D1A: mov ecx, dword ptr [esi + 8] */ 11141 MEM32(esi + 0x10) = edx; /* 0x2B019D1D: mov dword ptr [esi + 0x10], edx */ 11142 edx = MEM32(esi + 0x4); /* 0x2B019D20: mov edx, dword ptr [esi + 4] */ 11143 eax = MEM32(edx + 0x4); /* 0x2B019D23: mov eax, dword ptr [edx + 4] */ 11144 /* cmp eax, ecx */ /* 0x2B019D26: cmp eax, ecx */ 11145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11147 _flag_k = FK_CMP; 11148 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B019D67; /* 0x2B019D28: je 0x2b019d67 */ 11149 L_2B019D2A: 11150 ecx = MEM32(eax); /* 0x2B019D2A: mov ecx, dword ptr [eax] */ 11151 SET_LO8(ebx, MEM8(ecx + 0x25)); /* 0x2B019D2C: mov bl, byte ptr [ecx + 0x25] */ 11152 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019D2F: test bl, bl */ 11153 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11154 _cf = 0; 11155 _flag_k = FK_NARROW(FK_TEST, 24); 11156 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019D3E; /* 0x2B019D31: jne 0x2b019d3e */ 11157 L_2B019D33: 11158 eax = ecx; /* 0x2B019D33: mov eax, ecx */ 11159 ecx = MEM32(eax); /* 0x2B019D35: mov ecx, dword ptr [eax] */ 11160 SET_LO8(ebx, MEM8(ecx + 0x25)); /* 0x2B019D37: mov bl, byte ptr [ecx + 0x25] */ 11161 /* test LO8(ebx), LO8(ebx) */ /* 0x2B019D3A: test bl, bl */ 11162 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11163 _cf = 0; 11164 _flag_k = FK_NARROW(FK_TEST, 24); 11165 RECOMP_BACKEDGE(); 11166 if (TEST_Z(_flag_a, _flag_b)) goto L_2B019D33; /* 0x2B019D3C: je 0x2b019d33 */ 11167 L_2B019D3E: 11168 MEM32(edx) = eax; /* 0x2B019D3E: mov dword ptr [edx], eax */ 11169 esi = MEM32(esi + 0x4); /* 0x2B019D40: mov esi, dword ptr [esi + 4] */ 11170 ecx = MEM32(esi + 0x4); /* 0x2B019D43: mov ecx, dword ptr [esi + 4] */ 11171 eax = MEM32(ecx + 0x8); /* 0x2B019D46: mov eax, dword ptr [ecx + 8] */ 11172 SET_LO8(edx, MEM8(eax + 0x25)); /* 0x2B019D49: mov dl, byte ptr [eax + 0x25] */ 11173 /* test LO8(edx), LO8(edx) */ /* 0x2B019D4C: test dl, dl */ 11174 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11175 _cf = 0; 11176 _flag_k = FK_NARROW(FK_TEST, 24); 11177 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B019D5C; /* 0x2B019D4E: jne 0x2b019d5c */ 11178 L_2B019D50: 11179 ecx = eax; /* 0x2B019D50: mov ecx, eax */ 11180 eax = MEM32(ecx + 0x8); /* 0x2B019D52: mov eax, dword ptr [ecx + 8] */ 11181 SET_LO8(edx, MEM8(eax + 0x25)); /* 0x2B019D55: mov dl, byte ptr [eax + 0x25] */ 11182 /* test LO8(edx), LO8(edx) */ /* 0x2B019D58: test dl, dl */ 11183 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11184 _cf = 0; 11185 _flag_k = FK_NARROW(FK_TEST, 24); 11186 RECOMP_BACKEDGE(); 11187 if (TEST_Z(_flag_a, _flag_b)) goto L_2B019D50; /* 0x2B019D5A: je 0x2b019d50 */ 11188 L_2B019D5C: 11189 MEM32(esi + 0x8) = ecx; /* 0x2B019D5C: mov dword ptr [esi + 8], ecx */ 11190 esi = POP32_VAL(esp); /* 0x2B019D5F: pop esi */ 11191 ebx = POP32_VAL(esp); /* 0x2B019D60: pop ebx */ 11192 esp = ebp; /* 0x2B019D61: mov esp, ebp */ 11193 ebp = POP32_VAL(esp); /* 0x2B019D63: pop ebp */ 11194 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019D64: ret 4 */ 11195 L_2B019D67: 11196 MEM32(edx) = edx; /* 0x2B019D67: mov dword ptr [edx], edx */ 11197 esi = MEM32(esi + 0x4); /* 0x2B019D69: mov esi, dword ptr [esi + 4] */ 11198 MEM32(esi + 0x8) = esi; /* 0x2B019D6C: mov dword ptr [esi + 8], esi */ 11199 esi = POP32_VAL(esp); /* 0x2B019D6F: pop esi */ 11200 ebx = POP32_VAL(esp); /* 0x2B019D70: pop ebx */ 11201 esp = ebp; /* 0x2B019D71: mov esp, ebp */ 11202 ebp = POP32_VAL(esp); /* 0x2B019D73: pop ebp */ 11203 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019D74: ret 4 */ 11204 RECOMP_REGS_OUT(); 11205 } 11206 11207 void sub_2B019D80(void) { 11208 int _fpu_cmp = 0; 11209 uint32_t _cf = 0; 11210 int _df = 1; 11211 uint32_t _flag_k = FK_NONE; 11212 uint32_t _flag_a = 0, _flag_b = 0; 11213 uint32_t _itail_tgt = 0; 11214 RECOMP_REGS_LOCALS 11215 RECOMP_ENTER(0x2B019D80u); 11216 11217 L_2B019D80: 11218 PUSH32(esp, ebp); /* 0x2B019D80: push ebp */ 11219 ebp = esp; /* 0x2B019D81: mov ebp, esp */ 11220 eax = MEM32(ebp + 0x8); /* 0x2B019D83: mov eax, dword ptr [ebp + 8] */ 11221 /* test eax, eax */ /* 0x2B019D86: test eax, eax */ 11222 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11223 _cf = 0; 11224 _flag_k = FK_TEST; 11225 if (TEST_Z(_flag_a, _flag_b)) goto L_2B019D97; /* 0x2B019D88: je 0x2b019d97 */ 11226 L_2B019D8A: 11227 ecx = MEM32(ebp + 0xC); /* 0x2B019D8A: mov ecx, dword ptr [ebp + 0xc] */ 11228 edx = MEM32(ecx); /* 0x2B019D8D: mov edx, dword ptr [ecx] */ 11229 MEM32(eax) = edx; /* 0x2B019D8F: mov dword ptr [eax], edx */ 11230 ecx = MEM32(ecx + 0x4); /* 0x2B019D91: mov ecx, dword ptr [ecx + 4] */ 11231 MEM32(eax + 0x4) = ecx; /* 0x2B019D94: mov dword ptr [eax + 4], ecx */ 11232 L_2B019D97: 11233 ebp = POP32_VAL(esp); /* 0x2B019D97: pop ebp */ 11234 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B019D98: ret */ 11235 RECOMP_REGS_OUT(); 11236 } 11237 11238 void sub_2B019DA0(void) { 11239 int _fpu_cmp = 0; 11240 uint32_t _cf = 0; 11241 int _df = 1; 11242 uint32_t _flag_k = FK_NONE; 11243 uint32_t _flag_a = 0, _flag_b = 0; 11244 uint32_t _itail_tgt = 0; 11245 RECOMP_REGS_LOCALS 11246 RECOMP_ENTER(0x2B019DA0u); 11247 11248 L_2B019DA0: 11249 PUSH32(esp, ebp); /* 0x2B019DA0: push ebp */ 11250 ebp = esp; /* 0x2B019DA1: mov ebp, esp */ 11251 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B019DA3: push -1 */ 11252 PUSH32(esp, 0x2B0ACF21u); /* 0x2B019DA5: push 0x2b0acf21 */ 11253 eax = MEM32(FS_BASE + (0)); /* 0x2B019DAA: mov eax, dword ptr fs:[0] */ 11254 PUSH32(esp, eax); /* 0x2B019DB0: push eax */ 11255 MEM32(FS_BASE + (0)) = esp; /* 0x2B019DB1: mov dword ptr fs:[0], esp */ 11256 PUSH32(esp, ecx); /* 0x2B019DB8: push ecx */ 11257 eax = MEM32(ebp + 0x8); /* 0x2B019DB9: mov eax, dword ptr [ebp + 8] */ 11258 MEM32(ebp + (-0x10)) = eax; /* 0x2B019DBC: mov dword ptr [ebp - 0x10], eax */ 11259 /* test eax, eax */ /* 0x2B019DBF: test eax, eax */ 11260 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11261 _cf = 0; 11262 _flag_k = FK_TEST; 11263 MEM32(ebp + (-0x4)) = 0; /* 0x2B019DC1: mov dword ptr [ebp - 4], 0 */ 11264 if (TEST_Z(_flag_a, _flag_b)) goto L_2B019DDE; /* 0x2B019DC8: je 0x2b019dde */ 11265 L_2B019DCA: 11266 ecx = MEM32(ebp + 0xC); /* 0x2B019DCA: mov ecx, dword ptr [ebp + 0xc] */ 11267 edx = MEM32(ecx); /* 0x2B019DCD: mov edx, dword ptr [ecx] */ 11268 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 11269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11270 ecx = ecx + 4; /* 0x2B019DCF: add ecx, 4 */ 11271 _flag_k = FK_ADD; 11272 PUSH32(esp, ecx); /* 0x2B019DD2: push ecx */ 11273 ecx = eax + 0x4; /* 0x2B019DD3: lea ecx, [eax + 4] */ 11274 MEM32(eax) = edx; /* 0x2B019DD6: mov dword ptr [eax], edx */ 11275 RECOMP_ICALL(MEM32(0x2B0B5B6C)); /* 0x2B019DD8: call dword ptr [0x2b0b5b6c] */ 11276 RECOMP_FLAGS_IN(); 11277 L_2B019DDE: 11278 ecx = MEM32(ebp + (-0xC)); /* 0x2B019DDE: mov ecx, dword ptr [ebp - 0xc] */ 11279 MEM32(FS_BASE + (0)) = ecx; /* 0x2B019DE1: mov dword ptr fs:[0], ecx */ 11280 esp = ebp; /* 0x2B019DE8: mov esp, ebp */ 11281 ebp = POP32_VAL(esp); /* 0x2B019DEA: pop ebp */ 11282 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B019DEB: ret */ 11283 RECOMP_REGS_OUT(); 11284 } 11285 11286 void sub_2B019DF0(void) { 11287 int _fpu_cmp = 0; 11288 uint32_t _cf = 0; 11289 int _df = 1; 11290 uint32_t _flag_k = FK_NONE; 11291 uint32_t _flag_a = 0, _flag_b = 0; 11292 uint32_t _itail_tgt = 0; 11293 RECOMP_REGS_LOCALS 11294 RECOMP_ENTER(0x2B019DF0u); 11295 11296 L_2B019DF0: 11297 PUSH32(esp, ebp); /* 0x2B019DF0: push ebp */ 11298 ebp = esp; /* 0x2B019DF1: mov ebp, esp */ 11299 PUSH32(esp, esi); /* 0x2B019DF3: push esi */ 11300 esi = ecx; /* 0x2B019DF4: mov esi, ecx */ 11301 RECOMP_ICALL(0x2B018920u); /* 0x2B019DF6: call 0x2b018920 */ /* not lifted */ 11302 RECOMP_FLAGS_IN(); 11303 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B019DFB: test byte ptr [ebp + 8], 1 */ 11304 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 11305 _cf = 0; 11306 _flag_k = FK_NARROW(FK_TEST, 24); 11307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B019E0A; /* 0x2B019DFF: je 0x2b019e0a */ 11308 L_2B019E01: 11309 PUSH32(esp, esi); /* 0x2B019E01: push esi */ 11310 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B019E02: call 0x2b0ab1ba */ /* not lifted */ 11311 RECOMP_FLAGS_IN(); 11312 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11313 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11314 esp = esp + 4; /* 0x2B019E07: add esp, 4 */ 11315 _flag_k = FK_ADD; 11316 L_2B019E0A: 11317 eax = esi; /* 0x2B019E0A: mov eax, esi */ 11318 esi = POP32_VAL(esp); /* 0x2B019E0C: pop esi */ 11319 ebp = POP32_VAL(esp); /* 0x2B019E0D: pop ebp */ 11320 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019E0E: ret 4 */ 11321 RECOMP_REGS_OUT(); 11322 } 11323 11324 void sub_2B019E20(void) { 11325 int _fpu_cmp = 0; 11326 uint32_t _cf = 0; 11327 int _df = 1; 11328 uint32_t _flag_k = FK_NONE; 11329 uint32_t _flag_a = 0, _flag_b = 0; 11330 uint32_t _itail_tgt = 0; 11331 RECOMP_REGS_LOCALS 11332 RECOMP_ENTER(0x2B019E20u); 11333 11334 L_2B019E20: 11335 eax = MEM32(ecx + 0x40); /* 0x2B019E20: mov eax, dword ptr [ecx + 0x40] */ 11336 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B019E23: ret */ 11337 RECOMP_REGS_OUT(); 11338 } 11339 11340 void sub_2B019E30(void) { 11341 int _fpu_cmp = 0; 11342 uint32_t _cf = 0; 11343 int _df = 1; 11344 uint32_t _flag_k = FK_NONE; 11345 uint32_t _flag_a = 0, _flag_b = 0; 11346 uint32_t _itail_tgt = 0; 11347 RECOMP_REGS_LOCALS 11348 RECOMP_ENTER(0x2B019E30u); 11349 11350 L_2B019E30: 11351 PUSH32(esp, ebp); /* 0x2B019E30: push ebp */ 11352 ebp = esp; /* 0x2B019E31: mov ebp, esp */ 11353 eax = MEM32(ebp + 0x8); /* 0x2B019E33: mov eax, dword ptr [ebp + 8] */ 11354 MEM32(ecx + 0x64) = eax; /* 0x2B019E36: mov dword ptr [ecx + 0x64], eax */ 11355 ebp = POP32_VAL(esp); /* 0x2B019E39: pop ebp */ 11356 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019E3A: ret 4 */ 11357 RECOMP_REGS_OUT(); 11358 } 11359 11360 void sub_2B019E40(void) { 11361 int _fpu_cmp = 0; 11362 uint32_t _cf = 0; 11363 int _df = 1; 11364 uint32_t _flag_k = FK_NONE; 11365 uint32_t _flag_a = 0, _flag_b = 0; 11366 uint32_t _itail_tgt = 0; 11367 RECOMP_REGS_LOCALS 11368 RECOMP_ENTER(0x2B019E40u); 11369 11370 L_2B019E40: 11371 PUSH32(esp, ebp); /* 0x2B019E40: push ebp */ 11372 ebp = esp; /* 0x2B019E41: mov ebp, esp */ 11373 eax = MEM32(ebp + 0x8); /* 0x2B019E43: mov eax, dword ptr [ebp + 8] */ 11374 MEM32(ecx + 0x5C) = eax; /* 0x2B019E46: mov dword ptr [ecx + 0x5c], eax */ 11375 ebp = POP32_VAL(esp); /* 0x2B019E49: pop ebp */ 11376 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019E4A: ret 4 */ 11377 RECOMP_REGS_OUT(); 11378 } 11379 11380 void sub_2B019E50(void) { 11381 int _fpu_cmp = 0; 11382 uint32_t _cf = 0; 11383 int _df = 1; 11384 uint32_t _flag_k = FK_NONE; 11385 uint32_t _flag_a = 0, _flag_b = 0; 11386 uint32_t _itail_tgt = 0; 11387 RECOMP_REGS_LOCALS 11388 RECOMP_ENTER(0x2B019E50u); 11389 11390 L_2B019E50: 11391 PUSH32(esp, ebp); /* 0x2B019E50: push ebp */ 11392 ebp = esp; /* 0x2B019E51: mov ebp, esp */ 11393 eax = MEM32(ebp + 0x8); /* 0x2B019E53: mov eax, dword ptr [ebp + 8] */ 11394 MEM32(0x2B0EE8DC) = eax; /* 0x2B019E56: mov dword ptr [0x2b0ee8dc], eax */ 11395 ebp = POP32_VAL(esp); /* 0x2B019E5B: pop ebp */ 11396 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019E5C: ret 4 */ 11397 RECOMP_REGS_OUT(); 11398 } 11399 11400 void sub_2B019E60(void) { 11401 int _fpu_cmp = 0; 11402 uint32_t _cf = 0; 11403 int _df = 1; 11404 uint32_t _flag_k = FK_NONE; 11405 uint32_t _flag_a = 0, _flag_b = 0; 11406 uint32_t _itail_tgt = 0; 11407 RECOMP_REGS_LOCALS 11408 RECOMP_ENTER(0x2B019E60u); 11409 11410 L_2B019E60: 11411 PUSH32(esp, ebp); /* 0x2B019E60: push ebp */ 11412 ebp = esp; /* 0x2B019E61: mov ebp, esp */ 11413 eax = ecx; /* 0x2B019E63: mov eax, ecx */ 11414 ecx = MEM32(ebp + 0x8); /* 0x2B019E65: mov ecx, dword ptr [ebp + 8] */ 11415 edx = MEM32(ecx + 0x4); /* 0x2B019E68: mov edx, dword ptr [ecx + 4] */ 11416 MEM32(eax + 0x4) = edx; /* 0x2B019E6B: mov dword ptr [eax + 4], edx */ 11417 edx = MEM32(ecx + 0x8); /* 0x2B019E6E: mov edx, dword ptr [ecx + 8] */ 11418 MEM32(eax + 0x8) = edx; /* 0x2B019E71: mov dword ptr [eax + 8], edx */ 11419 edx = MEM32(ecx + 0xC); /* 0x2B019E74: mov edx, dword ptr [ecx + 0xc] */ 11420 MEM32(eax + 0xC) = edx; /* 0x2B019E77: mov dword ptr [eax + 0xc], edx */ 11421 edx = MEM32(ecx + 0x10); /* 0x2B019E7A: mov edx, dword ptr [ecx + 0x10] */ 11422 MEM32(eax + 0x10) = edx; /* 0x2B019E7D: mov dword ptr [eax + 0x10], edx */ 11423 edx = MEM32(ecx + 0x14); /* 0x2B019E80: mov edx, dword ptr [ecx + 0x14] */ 11424 MEM32(eax + 0x14) = edx; /* 0x2B019E83: mov dword ptr [eax + 0x14], edx */ 11425 edx = MEM32(ecx + 0x18); /* 0x2B019E86: mov edx, dword ptr [ecx + 0x18] */ 11426 MEM32(eax + 0x18) = edx; /* 0x2B019E89: mov dword ptr [eax + 0x18], edx */ 11427 edx = MEM32(ecx + 0x1C); /* 0x2B019E8C: mov edx, dword ptr [ecx + 0x1c] */ 11428 MEM32(eax + 0x1C) = edx; /* 0x2B019E8F: mov dword ptr [eax + 0x1c], edx */ 11429 edx = MEM32(ecx + 0x20); /* 0x2B019E92: mov edx, dword ptr [ecx + 0x20] */ 11430 MEM32(eax + 0x20) = edx; /* 0x2B019E95: mov dword ptr [eax + 0x20], edx */ 11431 edx = MEM32(ecx + 0x24); /* 0x2B019E98: mov edx, dword ptr [ecx + 0x24] */ 11432 MEM32(eax + 0x24) = edx; /* 0x2B019E9B: mov dword ptr [eax + 0x24], edx */ 11433 edx = MEM32(ecx + 0x28); /* 0x2B019E9E: mov edx, dword ptr [ecx + 0x28] */ 11434 MEM32(eax + 0x28) = edx; /* 0x2B019EA1: mov dword ptr [eax + 0x28], edx */ 11435 edx = MEM32(ecx + 0x2C); /* 0x2B019EA4: mov edx, dword ptr [ecx + 0x2c] */ 11436 MEM32(eax + 0x2C) = edx; /* 0x2B019EA7: mov dword ptr [eax + 0x2c], edx */ 11437 edx = MEM32(ecx + 0x30); /* 0x2B019EAA: mov edx, dword ptr [ecx + 0x30] */ 11438 MEM32(eax + 0x30) = edx; /* 0x2B019EAD: mov dword ptr [eax + 0x30], edx */ 11439 edx = MEM32(ecx + 0x34); /* 0x2B019EB0: mov edx, dword ptr [ecx + 0x34] */ 11440 MEM32(eax + 0x34) = edx; /* 0x2B019EB3: mov dword ptr [eax + 0x34], edx */ 11441 edx = MEM32(ecx + 0x38); /* 0x2B019EB6: mov edx, dword ptr [ecx + 0x38] */ 11442 MEM32(eax + 0x38) = edx; /* 0x2B019EB9: mov dword ptr [eax + 0x38], edx */ 11443 edx = MEM32(ecx + 0x3C); /* 0x2B019EBC: mov edx, dword ptr [ecx + 0x3c] */ 11444 MEM32(eax + 0x3C) = edx; /* 0x2B019EBF: mov dword ptr [eax + 0x3c], edx */ 11445 edx = MEM32(ecx + 0x40); /* 0x2B019EC2: mov edx, dword ptr [ecx + 0x40] */ 11446 MEM32(eax + 0x40) = edx; /* 0x2B019EC5: mov dword ptr [eax + 0x40], edx */ 11447 edx = MEM32(ecx + 0x44); /* 0x2B019EC8: mov edx, dword ptr [ecx + 0x44] */ 11448 MEM32(eax + 0x44) = edx; /* 0x2B019ECB: mov dword ptr [eax + 0x44], edx */ 11449 edx = MEM32(ecx + 0x48); /* 0x2B019ECE: mov edx, dword ptr [ecx + 0x48] */ 11450 MEM32(eax + 0x48) = edx; /* 0x2B019ED1: mov dword ptr [eax + 0x48], edx */ 11451 edx = MEM32(ecx + 0x4C); /* 0x2B019ED4: mov edx, dword ptr [ecx + 0x4c] */ 11452 MEM32(eax + 0x4C) = edx; /* 0x2B019ED7: mov dword ptr [eax + 0x4c], edx */ 11453 edx = MEM32(ecx + 0x50); /* 0x2B019EDA: mov edx, dword ptr [ecx + 0x50] */ 11454 MEM32(eax + 0x50) = edx; /* 0x2B019EDD: mov dword ptr [eax + 0x50], edx */ 11455 edx = MEM32(ecx + 0x54); /* 0x2B019EE0: mov edx, dword ptr [ecx + 0x54] */ 11456 MEM32(eax + 0x54) = edx; /* 0x2B019EE3: mov dword ptr [eax + 0x54], edx */ 11457 edx = MEM32(ecx + 0x58); /* 0x2B019EE6: mov edx, dword ptr [ecx + 0x58] */ 11458 MEM32(eax + 0x58) = edx; /* 0x2B019EE9: mov dword ptr [eax + 0x58], edx */ 11459 edx = MEM32(ecx + 0x5C); /* 0x2B019EEC: mov edx, dword ptr [ecx + 0x5c] */ 11460 MEM32(eax + 0x5C) = edx; /* 0x2B019EEF: mov dword ptr [eax + 0x5c], edx */ 11461 edx = MEM32(ecx + 0x60); /* 0x2B019EF2: mov edx, dword ptr [ecx + 0x60] */ 11462 MEM32(eax + 0x60) = edx; /* 0x2B019EF5: mov dword ptr [eax + 0x60], edx */ 11463 edx = MEM32(ecx + 0x64); /* 0x2B019EF8: mov edx, dword ptr [ecx + 0x64] */ 11464 MEM32(eax + 0x64) = edx; /* 0x2B019EFB: mov dword ptr [eax + 0x64], edx */ 11465 edx = MEM32(ecx + 0x68); /* 0x2B019EFE: mov edx, dword ptr [ecx + 0x68] */ 11466 MEM32(eax + 0x68) = edx; /* 0x2B019F01: mov dword ptr [eax + 0x68], edx */ 11467 edx = MEM32(ecx + 0x6C); /* 0x2B019F04: mov edx, dword ptr [ecx + 0x6c] */ 11468 MEM32(eax + 0x6C) = edx; /* 0x2B019F07: mov dword ptr [eax + 0x6c], edx */ 11469 edx = MEM32(ecx + 0x70); /* 0x2B019F0A: mov edx, dword ptr [ecx + 0x70] */ 11470 MEM32(eax + 0x70) = edx; /* 0x2B019F0D: mov dword ptr [eax + 0x70], edx */ 11471 edx = MEM32(ecx + 0x74); /* 0x2B019F10: mov edx, dword ptr [ecx + 0x74] */ 11472 MEM32(eax + 0x74) = edx; /* 0x2B019F13: mov dword ptr [eax + 0x74], edx */ 11473 ecx = MEM32(ecx + 0x78); /* 0x2B019F16: mov ecx, dword ptr [ecx + 0x78] */ 11474 MEM32(eax + 0x78) = ecx; /* 0x2B019F19: mov dword ptr [eax + 0x78], ecx */ 11475 MEM32(eax) = 0x2B0B63DCu; /* 0x2B019F1C: mov dword ptr [eax], 0x2b0b63dc */ 11476 ebp = POP32_VAL(esp); /* 0x2B019F22: pop ebp */ 11477 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019F23: ret 4 */ 11478 RECOMP_REGS_OUT(); 11479 } 11480 11481 void sub_2B019F30(void) { 11482 int _fpu_cmp = 0; 11483 uint32_t _cf = 0; 11484 int _df = 1; 11485 uint32_t _flag_k = FK_NONE; 11486 uint32_t _flag_a = 0, _flag_b = 0; 11487 uint32_t _itail_tgt = 0; 11488 RECOMP_REGS_LOCALS 11489 RECOMP_ENTER(0x2B019F30u); 11490 11491 L_2B019F30: 11492 PUSH32(esp, ebp); /* 0x2B019F30: push ebp */ 11493 ebp = esp; /* 0x2B019F31: mov ebp, esp */ 11494 eax = ecx; /* 0x2B019F33: mov eax, ecx */ 11495 ecx = MEM32(ebp + 0x8); /* 0x2B019F35: mov ecx, dword ptr [ebp + 8] */ 11496 edx = MEM32(ecx + 0x4); /* 0x2B019F38: mov edx, dword ptr [ecx + 4] */ 11497 MEM32(eax + 0x4) = edx; /* 0x2B019F3B: mov dword ptr [eax + 4], edx */ 11498 edx = MEM32(ecx + 0x8); /* 0x2B019F3E: mov edx, dword ptr [ecx + 8] */ 11499 MEM32(eax + 0x8) = edx; /* 0x2B019F41: mov dword ptr [eax + 8], edx */ 11500 edx = MEM32(ecx + 0xC); /* 0x2B019F44: mov edx, dword ptr [ecx + 0xc] */ 11501 MEM32(eax + 0xC) = edx; /* 0x2B019F47: mov dword ptr [eax + 0xc], edx */ 11502 edx = MEM32(ecx + 0x10); /* 0x2B019F4A: mov edx, dword ptr [ecx + 0x10] */ 11503 MEM32(eax + 0x10) = edx; /* 0x2B019F4D: mov dword ptr [eax + 0x10], edx */ 11504 edx = MEM32(ecx + 0x14); /* 0x2B019F50: mov edx, dword ptr [ecx + 0x14] */ 11505 MEM32(eax + 0x14) = edx; /* 0x2B019F53: mov dword ptr [eax + 0x14], edx */ 11506 edx = MEM32(ecx + 0x18); /* 0x2B019F56: mov edx, dword ptr [ecx + 0x18] */ 11507 MEM32(eax + 0x18) = edx; /* 0x2B019F59: mov dword ptr [eax + 0x18], edx */ 11508 edx = MEM32(ecx + 0x1C); /* 0x2B019F5C: mov edx, dword ptr [ecx + 0x1c] */ 11509 MEM32(eax + 0x1C) = edx; /* 0x2B019F5F: mov dword ptr [eax + 0x1c], edx */ 11510 edx = MEM32(ecx + 0x20); /* 0x2B019F62: mov edx, dword ptr [ecx + 0x20] */ 11511 MEM32(eax + 0x20) = edx; /* 0x2B019F65: mov dword ptr [eax + 0x20], edx */ 11512 edx = MEM32(ecx + 0x24); /* 0x2B019F68: mov edx, dword ptr [ecx + 0x24] */ 11513 MEM32(eax + 0x24) = edx; /* 0x2B019F6B: mov dword ptr [eax + 0x24], edx */ 11514 edx = MEM32(ecx + 0x28); /* 0x2B019F6E: mov edx, dword ptr [ecx + 0x28] */ 11515 MEM32(eax + 0x28) = edx; /* 0x2B019F71: mov dword ptr [eax + 0x28], edx */ 11516 edx = MEM32(ecx + 0x2C); /* 0x2B019F74: mov edx, dword ptr [ecx + 0x2c] */ 11517 MEM32(eax + 0x2C) = edx; /* 0x2B019F77: mov dword ptr [eax + 0x2c], edx */ 11518 edx = MEM32(ecx + 0x30); /* 0x2B019F7A: mov edx, dword ptr [ecx + 0x30] */ 11519 MEM32(eax + 0x30) = edx; /* 0x2B019F7D: mov dword ptr [eax + 0x30], edx */ 11520 edx = MEM32(ecx + 0x34); /* 0x2B019F80: mov edx, dword ptr [ecx + 0x34] */ 11521 MEM32(eax + 0x34) = edx; /* 0x2B019F83: mov dword ptr [eax + 0x34], edx */ 11522 edx = MEM32(ecx + 0x38); /* 0x2B019F86: mov edx, dword ptr [ecx + 0x38] */ 11523 MEM32(eax + 0x38) = edx; /* 0x2B019F89: mov dword ptr [eax + 0x38], edx */ 11524 edx = MEM32(ecx + 0x3C); /* 0x2B019F8C: mov edx, dword ptr [ecx + 0x3c] */ 11525 MEM32(eax + 0x3C) = edx; /* 0x2B019F8F: mov dword ptr [eax + 0x3c], edx */ 11526 edx = MEM32(ecx + 0x40); /* 0x2B019F92: mov edx, dword ptr [ecx + 0x40] */ 11527 MEM32(eax + 0x40) = edx; /* 0x2B019F95: mov dword ptr [eax + 0x40], edx */ 11528 edx = MEM32(ecx + 0x44); /* 0x2B019F98: mov edx, dword ptr [ecx + 0x44] */ 11529 MEM32(eax + 0x44) = edx; /* 0x2B019F9B: mov dword ptr [eax + 0x44], edx */ 11530 edx = MEM32(ecx + 0x48); /* 0x2B019F9E: mov edx, dword ptr [ecx + 0x48] */ 11531 MEM32(eax + 0x48) = edx; /* 0x2B019FA1: mov dword ptr [eax + 0x48], edx */ 11532 edx = MEM32(ecx + 0x4C); /* 0x2B019FA4: mov edx, dword ptr [ecx + 0x4c] */ 11533 MEM32(eax + 0x4C) = edx; /* 0x2B019FA7: mov dword ptr [eax + 0x4c], edx */ 11534 edx = MEM32(ecx + 0x50); /* 0x2B019FAA: mov edx, dword ptr [ecx + 0x50] */ 11535 MEM32(eax + 0x50) = edx; /* 0x2B019FAD: mov dword ptr [eax + 0x50], edx */ 11536 edx = MEM32(ecx + 0x54); /* 0x2B019FB0: mov edx, dword ptr [ecx + 0x54] */ 11537 MEM32(eax + 0x54) = edx; /* 0x2B019FB3: mov dword ptr [eax + 0x54], edx */ 11538 edx = MEM32(ecx + 0x58); /* 0x2B019FB6: mov edx, dword ptr [ecx + 0x58] */ 11539 MEM32(eax + 0x58) = edx; /* 0x2B019FB9: mov dword ptr [eax + 0x58], edx */ 11540 edx = MEM32(ecx + 0x5C); /* 0x2B019FBC: mov edx, dword ptr [ecx + 0x5c] */ 11541 MEM32(eax + 0x5C) = edx; /* 0x2B019FBF: mov dword ptr [eax + 0x5c], edx */ 11542 edx = MEM32(ecx + 0x60); /* 0x2B019FC2: mov edx, dword ptr [ecx + 0x60] */ 11543 MEM32(eax + 0x60) = edx; /* 0x2B019FC5: mov dword ptr [eax + 0x60], edx */ 11544 edx = MEM32(ecx + 0x64); /* 0x2B019FC8: mov edx, dword ptr [ecx + 0x64] */ 11545 MEM32(eax + 0x64) = edx; /* 0x2B019FCB: mov dword ptr [eax + 0x64], edx */ 11546 edx = MEM32(ecx + 0x68); /* 0x2B019FCE: mov edx, dword ptr [ecx + 0x68] */ 11547 MEM32(eax + 0x68) = edx; /* 0x2B019FD1: mov dword ptr [eax + 0x68], edx */ 11548 edx = MEM32(ecx + 0x6C); /* 0x2B019FD4: mov edx, dword ptr [ecx + 0x6c] */ 11549 MEM32(eax + 0x6C) = edx; /* 0x2B019FD7: mov dword ptr [eax + 0x6c], edx */ 11550 edx = MEM32(ecx + 0x70); /* 0x2B019FDA: mov edx, dword ptr [ecx + 0x70] */ 11551 MEM32(eax + 0x70) = edx; /* 0x2B019FDD: mov dword ptr [eax + 0x70], edx */ 11552 edx = MEM32(ecx + 0x74); /* 0x2B019FE0: mov edx, dword ptr [ecx + 0x74] */ 11553 MEM32(eax + 0x74) = edx; /* 0x2B019FE3: mov dword ptr [eax + 0x74], edx */ 11554 ecx = MEM32(ecx + 0x78); /* 0x2B019FE6: mov ecx, dword ptr [ecx + 0x78] */ 11555 MEM32(eax + 0x78) = ecx; /* 0x2B019FE9: mov dword ptr [eax + 0x78], ecx */ 11556 ebp = POP32_VAL(esp); /* 0x2B019FEC: pop ebp */ 11557 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B019FED: ret 4 */ 11558 RECOMP_REGS_OUT(); 11559 } 11560 11561 void sub_2B019FF0(void) { 11562 int _fpu_cmp = 0; 11563 uint32_t _cf = 0; 11564 int _df = 1; 11565 uint32_t _flag_k = FK_NONE; 11566 uint32_t _flag_a = 0, _flag_b = 0; 11567 uint32_t _itail_tgt = 0; 11568 RECOMP_REGS_LOCALS 11569 RECOMP_ENTER(0x2B019FF0u); 11570 11571 L_2B019FF0: 11572 PUSH32(esp, ebp); /* 0x2B019FF0: push ebp */ 11573 ebp = esp; /* 0x2B019FF1: mov ebp, esp */ 11574 PUSH32(esp, ebx); /* 0x2B019FF3: push ebx */ 11575 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2B019FF4: mov bl, byte ptr [ebp + 8] */ 11576 /* test LO8(ebx), 2 */ /* 0x2B019FF7: test bl, 2 */ 11577 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 11578 _cf = 0; 11579 _flag_k = FK_NARROW(FK_TEST, 24); 11580 PUSH32(esp, esi); /* 0x2B019FFA: push esi */ 11581 esi = ecx; /* 0x2B019FFB: mov esi, ecx */ 11582 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A02B; /* 0x2B019FFD: je 0x2b01a02b */ 11583 L_2B019FFF: 11584 eax = MEM32(esi + (-0x4)); /* 0x2B019FFF: mov eax, dword ptr [esi - 4] */ 11585 PUSH32(esp, edi); /* 0x2B01A002: push edi */ 11586 PUSH32(esp, 0x2B038470u); /* 0x2B01A003: push 0x2b038470 */ 11587 edi = esi + (-0x4); /* 0x2B01A008: lea edi, [esi - 4] */ 11588 PUSH32(esp, eax); /* 0x2B01A00B: push eax */ 11589 PUSH32(esp, 0x7Cu); /* 0x2B01A00C: push 0x7c */ 11590 PUSH32(esp, esi); /* 0x2B01A00E: push esi */ 11591 RECOMP_ICALL(0x2B0AB27Fu); /* 0x2B01A00F: call 0x2b0ab27f */ /* not lifted */ 11592 RECOMP_FLAGS_IN(); 11593 /* test LO8(ebx), 1 */ /* 0x2B01A014: test bl, 1 */ 11594 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 11595 _cf = 0; 11596 _flag_k = FK_NARROW(FK_TEST, 24); 11597 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A022; /* 0x2B01A017: je 0x2b01a022 */ 11598 L_2B01A019: 11599 PUSH32(esp, edi); /* 0x2B01A019: push edi */ 11600 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A01A: call 0x2b0ab1ba */ /* not lifted */ 11601 RECOMP_FLAGS_IN(); 11602 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11603 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11604 esp = esp + 4; /* 0x2B01A01F: add esp, 4 */ 11605 _flag_k = FK_ADD; 11606 L_2B01A022: 11607 eax = edi; /* 0x2B01A022: mov eax, edi */ 11608 edi = POP32_VAL(esp); /* 0x2B01A024: pop edi */ 11609 esi = POP32_VAL(esp); /* 0x2B01A025: pop esi */ 11610 ebx = POP32_VAL(esp); /* 0x2B01A026: pop ebx */ 11611 ebp = POP32_VAL(esp); /* 0x2B01A027: pop ebp */ 11612 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A028: ret 4 */ 11613 L_2B01A02B: 11614 ecx = esi; /* 0x2B01A02B: mov ecx, esi */ 11615 RECOMP_ICALL(0x2B038470u); /* 0x2B01A02D: call 0x2b038470 */ /* not lifted */ 11616 RECOMP_FLAGS_IN(); 11617 /* test LO8(ebx), 1 */ /* 0x2B01A032: test bl, 1 */ 11618 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 11619 _cf = 0; 11620 _flag_k = FK_NARROW(FK_TEST, 24); 11621 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A040; /* 0x2B01A035: je 0x2b01a040 */ 11622 L_2B01A037: 11623 PUSH32(esp, esi); /* 0x2B01A037: push esi */ 11624 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A038: call 0x2b0ab1ba */ /* not lifted */ 11625 RECOMP_FLAGS_IN(); 11626 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11627 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11628 esp = esp + 4; /* 0x2B01A03D: add esp, 4 */ 11629 _flag_k = FK_ADD; 11630 L_2B01A040: 11631 eax = esi; /* 0x2B01A040: mov eax, esi */ 11632 esi = POP32_VAL(esp); /* 0x2B01A042: pop esi */ 11633 ebx = POP32_VAL(esp); /* 0x2B01A043: pop ebx */ 11634 ebp = POP32_VAL(esp); /* 0x2B01A044: pop ebp */ 11635 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A045: ret 4 */ 11636 RECOMP_REGS_OUT(); 11637 } 11638 11639 void sub_2B01A050(void) { 11640 int _fpu_cmp = 0; 11641 uint32_t _cf = 0; 11642 int _df = 1; 11643 uint32_t _flag_k = FK_NONE; 11644 uint32_t _flag_a = 0, _flag_b = 0; 11645 uint32_t _itail_tgt = 0; 11646 RECOMP_REGS_LOCALS 11647 RECOMP_ENTER(0x2B01A050u); 11648 11649 L_2B01A050: 11650 eax = MEM32(ecx + 0x78); /* 0x2B01A050: mov eax, dword ptr [ecx + 0x78] */ 11651 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01A053: ret */ 11652 RECOMP_REGS_OUT(); 11653 } 11654 11655 void sub_2B01A060(void) { 11656 int _fpu_cmp = 0; 11657 uint32_t _cf = 0; 11658 int _df = 1; 11659 uint32_t _flag_k = FK_NONE; 11660 uint32_t _flag_a = 0, _flag_b = 0; 11661 uint32_t _itail_tgt = 0; 11662 RECOMP_REGS_LOCALS 11663 RECOMP_ENTER(0x2B01A060u); 11664 11665 L_2B01A060: 11666 PUSH32(esp, ebp); /* 0x2B01A060: push ebp */ 11667 ebp = esp; /* 0x2B01A061: mov ebp, esp */ 11668 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01A063: push -1 */ 11669 PUSH32(esp, 0x2B0ACF58u); /* 0x2B01A065: push 0x2b0acf58 */ 11670 eax = MEM32(FS_BASE + (0)); /* 0x2B01A06A: mov eax, dword ptr fs:[0] */ 11671 PUSH32(esp, eax); /* 0x2B01A070: push eax */ 11672 MEM32(FS_BASE + (0)) = esp; /* 0x2B01A071: mov dword ptr fs:[0], esp */ 11673 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 11674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11675 esp = esp - 0x10u; /* 0x2B01A078: sub esp, 0x10 */ 11676 _flag_k = FK_CMP; 11677 PUSH32(esp, ebx); /* 0x2B01A07B: push ebx */ 11678 PUSH32(esp, esi); /* 0x2B01A07C: push esi */ 11679 esi = MEM32(ebp + 0x8); /* 0x2B01A07D: mov esi, dword ptr [ebp + 8] */ 11680 eax = MEM32(esi); /* 0x2B01A080: mov eax, dword ptr [esi] */ 11681 PUSH32(esp, edi); /* 0x2B01A082: push edi */ 11682 edi = ecx; /* 0x2B01A083: mov edi, ecx */ 11683 MEM32(edi) = eax; /* 0x2B01A085: mov dword ptr [edi], eax */ 11684 ecx = MEM32(esi + 0x4); /* 0x2B01A087: mov ecx, dword ptr [esi + 4] */ 11685 MEM32(edi + 0x4) = ecx; /* 0x2B01A08A: mov dword ptr [edi + 4], ecx */ 11686 edx = MEM32(esi + 0x8); /* 0x2B01A08D: mov edx, dword ptr [esi + 8] */ 11687 MEM32(edi + 0x8) = edx; /* 0x2B01A090: mov dword ptr [edi + 8], edx */ 11688 eax = MEM32(esi + 0xC); /* 0x2B01A093: mov eax, dword ptr [esi + 0xc] */ 11689 MEM32(edi + 0xC) = eax; /* 0x2B01A096: mov dword ptr [edi + 0xc], eax */ 11690 ecx = MEM32(esi + 0x10); /* 0x2B01A099: mov ecx, dword ptr [esi + 0x10] */ 11691 MEM32(edi + 0x10) = ecx; /* 0x2B01A09C: mov dword ptr [edi + 0x10], ecx */ 11692 edx = MEM32(esi + 0x14); /* 0x2B01A09F: mov edx, dword ptr [esi + 0x14] */ 11693 MEM32(edi + 0x14) = edx; /* 0x2B01A0A2: mov dword ptr [edi + 0x14], edx */ 11694 SET_LO8(edx, MEM8(esi + 0x18)); /* 0x2B01A0A5: mov dl, byte ptr [esi + 0x18] */ 11695 eax = esi + 0x18; /* 0x2B01A0A8: lea eax, [esi + 0x18] */ 11696 ecx = edi + 0x18; /* 0x2B01A0AB: lea ecx, [edi + 0x18] */ 11697 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11698 ebx = 0; /* 0x2B01A0AE: xor ebx, ebx */ 11699 _cf = 0; 11700 _flag_k = FK_TEST; 11701 MEM8(ecx) = (uint8_t)(LO8(edx)); /* 0x2B01A0B0: mov byte ptr [ecx], dl */ 11702 MEM32(ecx + 0x4) = ebx; /* 0x2B01A0B2: mov dword ptr [ecx + 4], ebx */ 11703 MEM32(ecx + 0x8) = ebx; /* 0x2B01A0B5: mov dword ptr [ecx + 8], ebx */ 11704 MEM32(ecx + 0xC) = ebx; /* 0x2B01A0B8: mov dword ptr [ecx + 0xc], ebx */ 11705 edx = MEM32(0x2B0B515C); /* 0x2B01A0BB: mov edx, dword ptr [0x2b0b515c] */ 11706 edx = MEM32(edx); /* 0x2B01A0C1: mov edx, dword ptr [edx] */ 11707 PUSH32(esp, edx); /* 0x2B01A0C3: push edx */ 11708 PUSH32(esp, ebx); /* 0x2B01A0C4: push ebx */ 11709 PUSH32(esp, eax); /* 0x2B01A0C5: push eax */ 11710 MEM32(ebp + (-0x18)) = edi; /* 0x2B01A0C6: mov dword ptr [ebp - 0x18], edi */ 11711 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A0C9: call dword ptr [0x2b0b5158] */ 11712 RECOMP_FLAGS_IN(); 11713 eax = MEM32(esi + 0x28); /* 0x2B01A0CF: mov eax, dword ptr [esi + 0x28] */ 11714 MEM32(edi + 0x28) = eax; /* 0x2B01A0D2: mov dword ptr [edi + 0x28], eax */ 11715 SET_LO8(ecx, MEM8(esi + 0x2C)); /* 0x2B01A0D5: mov cl, byte ptr [esi + 0x2c] */ 11716 MEM8(edi + 0x2C) = (uint8_t)(LO8(ecx)); /* 0x2B01A0D8: mov byte ptr [edi + 0x2c], cl */ 11717 ecx = MEM32(esi + 0x30); /* 0x2B01A0DB: mov ecx, dword ptr [esi + 0x30] */ 11718 /* cmp ecx, ebx */ /* 0x2B01A0DE: cmp ecx, ebx */ 11719 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 11720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11721 _flag_k = FK_CMP; 11722 MEM32(ebp + (-0x4)) = ebx; /* 0x2B01A0E0: mov dword ptr [ebp - 4], ebx */ 11723 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A0E9; /* 0x2B01A0E3: jne 0x2b01a0e9 */ 11724 L_2B01A0E5: 11725 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11726 eax = 0; /* 0x2B01A0E5: xor eax, eax */ 11727 _cf = 0; 11728 _flag_k = FK_TEST; 11729 goto L_2B01A0F1; /* 0x2B01A0E7: jmp 0x2b01a0f1 */ 11730 L_2B01A0E9: 11731 eax = MEM32(esi + 0x34); /* 0x2B01A0E9: mov eax, dword ptr [esi + 0x34] */ 11732 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11734 eax = eax - ecx; /* 0x2B01A0EC: sub eax, ecx */ 11735 _flag_k = FK_CMP; 11736 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01A0EE: sar eax, 4 */ 11737 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11738 eax = (uint32_t)((int32_t)eax >> 4u); 11739 L_2B01A0F1: 11740 /* cmp eax, ebx */ /* 0x2B01A0F1: cmp eax, ebx */ 11741 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 11742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11743 _flag_k = FK_CMP; 11744 if (CMP_GE(_flag_a, _flag_b)) goto L_2B01A0F7; /* 0x2B01A0F3: jge 0x2b01a0f7 */ 11745 L_2B01A0F5: 11746 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11747 eax = 0; /* 0x2B01A0F5: xor eax, eax */ 11748 _cf = 0; 11749 _flag_k = FK_TEST; 11750 L_2B01A0F7: 11751 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A0F7: shl eax, 4 */ 11752 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11753 eax = eax << 4u; /* 0x2B01A0F7: shl eax, 4 */ 11754 PUSH32(esp, eax); /* 0x2B01A0FA: push eax */ 11755 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01A0FB: call 0x2b0ab212 */ /* not lifted */ 11756 RECOMP_FLAGS_IN(); 11757 MEM32(edi + 0x30) = eax; /* 0x2B01A100: mov dword ptr [edi + 0x30], eax */ 11758 ecx = MEM32(esi + 0x30); /* 0x2B01A103: mov ecx, dword ptr [esi + 0x30] */ 11759 edx = MEM32(esi + 0x34); /* 0x2B01A106: mov edx, dword ptr [esi + 0x34] */ 11760 ebx = eax; /* 0x2B01A109: mov ebx, eax */ 11761 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11763 esp = esp + 4; /* 0x2B01A10B: add esp, 4 */ 11764 _flag_k = FK_ADD; 11765 /* cmp ecx, edx */ /* 0x2B01A10E: cmp ecx, edx */ 11766 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11768 _flag_k = FK_CMP; 11769 eax = ecx; /* 0x2B01A110: mov eax, ecx */ 11770 MEM32(ebp + (-0x10)) = edx; /* 0x2B01A112: mov dword ptr [ebp - 0x10], edx */ 11771 MEM32(ebp + (-0x14)) = ebx; /* 0x2B01A115: mov dword ptr [ebp - 0x14], ebx */ 11772 MEM32(ebp + 0x8) = eax; /* 0x2B01A118: mov dword ptr [ebp + 8], eax */ 11773 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A162; /* 0x2B01A11B: je 0x2b01a162 */ 11774 L_2B01A11D: 11775 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B01A11D: mov dword ptr [ebp - 0x1c], ebx */ 11776 /* test ebx, ebx */ /* 0x2B01A120: test ebx, ebx */ 11777 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 11778 _cf = 0; 11779 _flag_k = FK_TEST; 11780 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01A122: mov byte ptr [ebp - 4], 1 */ 11781 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A152; /* 0x2B01A126: je 0x2b01a152 */ 11782 L_2B01A128: 11783 SET_LO8(edx, MEM8(eax)); /* 0x2B01A128: mov dl, byte ptr [eax] */ 11784 PUSH32(esp, 0); /* 0x2B01A12A: push 0 */ 11785 ecx = ebx; /* 0x2B01A12C: mov ecx, ebx */ 11786 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B01A12E: mov byte ptr [ebx], dl */ 11787 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01A130: call dword ptr [0x2b0b514c] */ 11788 RECOMP_FLAGS_IN(); 11789 eax = MEM32(0x2B0B515C); /* 0x2B01A136: mov eax, dword ptr [0x2b0b515c] */ 11790 ecx = MEM32(eax); /* 0x2B01A13B: mov ecx, dword ptr [eax] */ 11791 edx = MEM32(ebp + 0x8); /* 0x2B01A13D: mov edx, dword ptr [ebp + 8] */ 11792 PUSH32(esp, ecx); /* 0x2B01A140: push ecx */ 11793 PUSH32(esp, 0); /* 0x2B01A141: push 0 */ 11794 PUSH32(esp, edx); /* 0x2B01A143: push edx */ 11795 ecx = ebx; /* 0x2B01A144: mov ecx, ebx */ 11796 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A146: call dword ptr [0x2b0b5158] */ 11797 RECOMP_FLAGS_IN(); 11798 eax = MEM32(ebp + 0x8); /* 0x2B01A14C: mov eax, dword ptr [ebp + 8] */ 11799 edx = MEM32(ebp + (-0x10)); /* 0x2B01A14F: mov edx, dword ptr [ebp - 0x10] */ 11800 L_2B01A152: 11801 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 11802 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11803 eax = eax + 0x10u; /* 0x2B01A152: add eax, 0x10 */ 11804 _flag_k = FK_ADD; 11805 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 11806 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11807 ebx = ebx + 0x10u; /* 0x2B01A155: add ebx, 0x10 */ 11808 _flag_k = FK_ADD; 11809 /* cmp eax, edx */ /* 0x2B01A158: cmp eax, edx */ 11810 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11812 _flag_k = FK_CMP; 11813 MEM32(ebp + (-0x14)) = ebx; /* 0x2B01A15A: mov dword ptr [ebp - 0x14], ebx */ 11814 MEM32(ebp + 0x8) = eax; /* 0x2B01A15D: mov dword ptr [ebp + 8], eax */ 11815 RECOMP_BACKEDGE(); 11816 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A11D; /* 0x2B01A160: jne 0x2b01a11d */ 11817 L_2B01A162: 11818 MEM32(edi + 0x34) = ebx; /* 0x2B01A162: mov dword ptr [edi + 0x34], ebx */ 11819 MEM32(edi + 0x38) = ebx; /* 0x2B01A165: mov dword ptr [edi + 0x38], ebx */ 11820 eax = MEM32(esi + 0x3C); /* 0x2B01A168: mov eax, dword ptr [esi + 0x3c] */ 11821 MEM32(edi + 0x3C) = eax; /* 0x2B01A16B: mov dword ptr [edi + 0x3c], eax */ 11822 SET_LO8(ecx, MEM8(esi + 0x40)); /* 0x2B01A16E: mov cl, byte ptr [esi + 0x40] */ 11823 MEM8(edi + 0x40) = (uint8_t)(LO8(ecx)); /* 0x2B01A171: mov byte ptr [edi + 0x40], cl */ 11824 ecx = MEM32(esi + 0x44); /* 0x2B01A174: mov ecx, dword ptr [esi + 0x44] */ 11825 /* test ecx, ecx */ /* 0x2B01A177: test ecx, ecx */ 11826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11827 _cf = 0; 11828 _flag_k = FK_TEST; 11829 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01A179: mov byte ptr [ebp - 4], 2 */ 11830 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A183; /* 0x2B01A17D: jne 0x2b01a183 */ 11831 L_2B01A17F: 11832 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11833 eax = 0; /* 0x2B01A17F: xor eax, eax */ 11834 _cf = 0; 11835 _flag_k = FK_TEST; 11836 goto L_2B01A18B; /* 0x2B01A181: jmp 0x2b01a18b */ 11837 L_2B01A183: 11838 eax = MEM32(esi + 0x48); /* 0x2B01A183: mov eax, dword ptr [esi + 0x48] */ 11839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11841 eax = eax - ecx; /* 0x2B01A186: sub eax, ecx */ 11842 _flag_k = FK_CMP; 11843 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B01A188: sar eax, 3 */ 11844 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11845 eax = (uint32_t)((int32_t)eax >> 3u); 11846 L_2B01A18B: 11847 /* test eax, eax */ /* 0x2B01A18B: test eax, eax */ 11848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11849 _cf = 0; 11850 _flag_k = FK_TEST; 11851 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01A191; /* 0x2B01A18D: jge 0x2b01a191 */ 11852 L_2B01A18F: 11853 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11854 eax = 0; /* 0x2B01A18F: xor eax, eax */ 11855 _cf = 0; 11856 _flag_k = FK_TEST; 11857 L_2B01A191: 11858 edx = eax * 8; /* 0x2B01A191: lea edx, [eax*8] */ 11859 PUSH32(esp, edx); /* 0x2B01A198: push edx */ 11860 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01A199: call 0x2b0ab212 */ /* not lifted */ 11861 RECOMP_FLAGS_IN(); 11862 MEM32(edi + 0x44) = eax; /* 0x2B01A19E: mov dword ptr [edi + 0x44], eax */ 11863 edx = MEM32(esi + 0x48); /* 0x2B01A1A1: mov edx, dword ptr [esi + 0x48] */ 11864 ecx = eax; /* 0x2B01A1A4: mov ecx, eax */ 11865 eax = MEM32(esi + 0x44); /* 0x2B01A1A6: mov eax, dword ptr [esi + 0x44] */ 11866 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11867 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11868 esp = esp + 4; /* 0x2B01A1A9: add esp, 4 */ 11869 _flag_k = FK_ADD; 11870 /* cmp eax, edx */ /* 0x2B01A1AC: cmp eax, edx */ 11871 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11873 _flag_k = FK_CMP; 11874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A1C8; /* 0x2B01A1AE: je 0x2b01a1c8 */ 11875 L_2B01A1B0: 11876 /* test ecx, ecx */ /* 0x2B01A1B0: test ecx, ecx */ 11877 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11878 _cf = 0; 11879 _flag_k = FK_TEST; 11880 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A1BE; /* 0x2B01A1B2: je 0x2b01a1be */ 11881 L_2B01A1B4: 11882 ebx = MEM32(eax); /* 0x2B01A1B4: mov ebx, dword ptr [eax] */ 11883 MEM32(ecx) = ebx; /* 0x2B01A1B6: mov dword ptr [ecx], ebx */ 11884 ebx = MEM32(eax + 0x4); /* 0x2B01A1B8: mov ebx, dword ptr [eax + 4] */ 11885 MEM32(ecx + 0x4) = ebx; /* 0x2B01A1BB: mov dword ptr [ecx + 4], ebx */ 11886 L_2B01A1BE: 11887 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 11888 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11889 eax = eax + 8; /* 0x2B01A1BE: add eax, 8 */ 11890 _flag_k = FK_ADD; 11891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 11892 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11893 ecx = ecx + 8; /* 0x2B01A1C1: add ecx, 8 */ 11894 _flag_k = FK_ADD; 11895 /* cmp eax, edx */ /* 0x2B01A1C4: cmp eax, edx */ 11896 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 11897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11898 _flag_k = FK_CMP; 11899 RECOMP_BACKEDGE(); 11900 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A1B0; /* 0x2B01A1C6: jne 0x2b01a1b0 */ 11901 L_2B01A1C8: 11902 MEM32(edi + 0x48) = ecx; /* 0x2B01A1C8: mov dword ptr [edi + 0x48], ecx */ 11903 MEM32(edi + 0x4C) = ecx; /* 0x2B01A1CB: mov dword ptr [edi + 0x4c], ecx */ 11904 eax = MEM32(esi + 0x50); /* 0x2B01A1CE: mov eax, dword ptr [esi + 0x50] */ 11905 MEM32(edi + 0x50) = eax; /* 0x2B01A1D1: mov dword ptr [edi + 0x50], eax */ 11906 ecx = MEM32(esi + 0x54); /* 0x2B01A1D4: mov ecx, dword ptr [esi + 0x54] */ 11907 MEM32(edi + 0x54) = ecx; /* 0x2B01A1D7: mov dword ptr [edi + 0x54], ecx */ 11908 edx = MEM32(esi + 0x58); /* 0x2B01A1DA: mov edx, dword ptr [esi + 0x58] */ 11909 MEM32(edi + 0x58) = edx; /* 0x2B01A1DD: mov dword ptr [edi + 0x58], edx */ 11910 eax = esi + 0x5C; /* 0x2B01A1E0: lea eax, [esi + 0x5c] */ 11911 edx = MEM32(eax); /* 0x2B01A1E3: mov edx, dword ptr [eax] */ 11912 ecx = edi + 0x5C; /* 0x2B01A1E5: lea ecx, [edi + 0x5c] */ 11913 MEM32(ecx) = edx; /* 0x2B01A1E8: mov dword ptr [ecx], edx */ 11914 edx = MEM32(eax + 0x4); /* 0x2B01A1EA: mov edx, dword ptr [eax + 4] */ 11915 MEM32(ecx + 0x4) = edx; /* 0x2B01A1ED: mov dword ptr [ecx + 4], edx */ 11916 eax = MEM32(eax + 0x8); /* 0x2B01A1F0: mov eax, dword ptr [eax + 8] */ 11917 MEM32(ecx + 0x8) = eax; /* 0x2B01A1F3: mov dword ptr [ecx + 8], eax */ 11918 ecx = esi + 0x68; /* 0x2B01A1F6: lea ecx, [esi + 0x68] */ 11919 eax = MEM32(ecx); /* 0x2B01A1F9: mov eax, dword ptr [ecx] */ 11920 edx = edi + 0x68; /* 0x2B01A1FB: lea edx, [edi + 0x68] */ 11921 MEM32(edx) = eax; /* 0x2B01A1FE: mov dword ptr [edx], eax */ 11922 eax = MEM32(ecx + 0x4); /* 0x2B01A200: mov eax, dword ptr [ecx + 4] */ 11923 MEM32(edx + 0x4) = eax; /* 0x2B01A203: mov dword ptr [edx + 4], eax */ 11924 eax = MEM32(ecx + 0x8); /* 0x2B01A206: mov eax, dword ptr [ecx + 8] */ 11925 MEM32(edx + 0x8) = eax; /* 0x2B01A209: mov dword ptr [edx + 8], eax */ 11926 ecx = MEM32(ecx + 0xC); /* 0x2B01A20C: mov ecx, dword ptr [ecx + 0xc] */ 11927 MEM32(edx + 0xC) = ecx; /* 0x2B01A20F: mov dword ptr [edx + 0xc], ecx */ 11928 edx = MEM32(esi + 0x78); /* 0x2B01A212: mov edx, dword ptr [esi + 0x78] */ 11929 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A215: mov ecx, dword ptr [ebp - 0xc] */ 11930 MEM32(edi + 0x78) = edx; /* 0x2B01A218: mov dword ptr [edi + 0x78], edx */ 11931 eax = MEM32(esi + 0x7C); /* 0x2B01A21B: mov eax, dword ptr [esi + 0x7c] */ 11932 MEM32(edi + 0x7C) = eax; /* 0x2B01A21E: mov dword ptr [edi + 0x7c], eax */ 11933 eax = edi; /* 0x2B01A221: mov eax, edi */ 11934 edi = POP32_VAL(esp); /* 0x2B01A223: pop edi */ 11935 esi = POP32_VAL(esp); /* 0x2B01A224: pop esi */ 11936 ebx = POP32_VAL(esp); /* 0x2B01A225: pop ebx */ 11937 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01A226: mov dword ptr fs:[0], ecx */ 11938 esp = ebp; /* 0x2B01A22D: mov esp, ebp */ 11939 ebp = POP32_VAL(esp); /* 0x2B01A22F: pop ebp */ 11940 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A230: ret 4 */ 11941 RECOMP_REGS_OUT(); 11942 } 11943 11944 void sub_2B01A240(void) { 11945 int _fpu_cmp = 0; 11946 uint32_t _cf = 0; 11947 int _df = 1; 11948 uint32_t _flag_k = FK_NONE; 11949 uint32_t _flag_a = 0, _flag_b = 0; 11950 uint32_t _itail_tgt = 0; 11951 RECOMP_REGS_LOCALS 11952 RECOMP_ENTER(0x2B01A240u); 11953 11954 L_2B01A240: 11955 PUSH32(esp, ebp); /* 0x2B01A240: push ebp */ 11956 ebp = esp; /* 0x2B01A241: mov ebp, esp */ 11957 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11959 esp = esp - 0xCu; /* 0x2B01A243: sub esp, 0xc */ 11960 _flag_k = FK_CMP; 11961 PUSH32(esp, ebx); /* 0x2B01A246: push ebx */ 11962 ebx = ecx; /* 0x2B01A247: mov ebx, ecx */ 11963 PUSH32(esp, esi); /* 0x2B01A249: push esi */ 11964 esi = MEM32(ebp + 0x8); /* 0x2B01A24A: mov esi, dword ptr [ebp + 8] */ 11965 eax = MEM32(esi); /* 0x2B01A24D: mov eax, dword ptr [esi] */ 11966 MEM32(ebx) = eax; /* 0x2B01A24F: mov dword ptr [ebx], eax */ 11967 ecx = MEM32(esi + 0x4); /* 0x2B01A251: mov ecx, dword ptr [esi + 4] */ 11968 MEM32(ebx + 0x4) = ecx; /* 0x2B01A254: mov dword ptr [ebx + 4], ecx */ 11969 edx = MEM32(esi + 0x8); /* 0x2B01A257: mov edx, dword ptr [esi + 8] */ 11970 MEM32(ebx + 0x8) = edx; /* 0x2B01A25A: mov dword ptr [ebx + 8], edx */ 11971 eax = MEM32(esi + 0xC); /* 0x2B01A25D: mov eax, dword ptr [esi + 0xc] */ 11972 MEM32(ebx + 0xC) = eax; /* 0x2B01A260: mov dword ptr [ebx + 0xc], eax */ 11973 ecx = MEM32(esi + 0x10); /* 0x2B01A263: mov ecx, dword ptr [esi + 0x10] */ 11974 MEM32(ebx + 0x10) = ecx; /* 0x2B01A266: mov dword ptr [ebx + 0x10], ecx */ 11975 edx = MEM32(esi + 0x14); /* 0x2B01A269: mov edx, dword ptr [esi + 0x14] */ 11976 eax = esi + 0x18; /* 0x2B01A26C: lea eax, [esi + 0x18] */ 11977 MEM32(ebx + 0x14) = edx; /* 0x2B01A26F: mov dword ptr [ebx + 0x14], edx */ 11978 ecx = MEM32(0x2B0B515C); /* 0x2B01A272: mov ecx, dword ptr [0x2b0b515c] */ 11979 edx = MEM32(eax + 0x8); /* 0x2B01A278: mov edx, dword ptr [eax + 8] */ 11980 ecx = MEM32(ecx); /* 0x2B01A27B: mov ecx, dword ptr [ecx] */ 11981 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A27D: mov dword ptr [ebp - 4], eax */ 11982 eax = edx; /* 0x2B01A280: mov eax, edx */ 11983 /* cmp ecx, eax */ /* 0x2B01A282: cmp ecx, eax */ 11984 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11986 _flag_k = FK_CMP; 11987 PUSH32(esp, edi); /* 0x2B01A284: push edi */ 11988 MEM32(ebp + (-0xC)) = ebx; /* 0x2B01A285: mov dword ptr [ebp - 0xc], ebx */ 11989 edi = ebx + 0x18; /* 0x2B01A288: lea edi, [ebx + 0x18] */ 11990 MEM32(ebp + (-0x8)) = eax; /* 0x2B01A28B: mov dword ptr [ebp - 8], eax */ 11991 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01A295; /* 0x2B01A28E: jae 0x2b01a295 */ 11992 L_2B01A290: 11993 MEM32(ebp + (-0x8)) = ecx; /* 0x2B01A290: mov dword ptr [ebp - 8], ecx */ 11994 eax = ecx; /* 0x2B01A293: mov eax, ecx */ 11995 L_2B01A295: 11996 /* cmp edi, MEM32(ebp + (-0x4)) */ /* 0x2B01A295: cmp edi, dword ptr [ebp - 4] */ 11997 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + (-0x4))); 11998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11999 _flag_k = FK_CMP; 12000 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A2B5; /* 0x2B01A298: jne 0x2b01a2b5 */ 12001 L_2B01A29A: 12002 PUSH32(esp, ecx); /* 0x2B01A29A: push ecx */ 12003 PUSH32(esp, eax); /* 0x2B01A29B: push eax */ 12004 ecx = edi; /* 0x2B01A29C: mov ecx, edi */ 12005 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B01A29E: call dword ptr [0x2b0b51ac] */ 12006 RECOMP_FLAGS_IN(); 12007 PUSH32(esp, 0); /* 0x2B01A2A4: push 0 */ 12008 PUSH32(esp, 0); /* 0x2B01A2A6: push 0 */ 12009 ecx = edi; /* 0x2B01A2A8: mov ecx, edi */ 12010 RECOMP_ICALL(MEM32(0x2B0B51AC)); /* 0x2B01A2AA: call dword ptr [0x2b0b51ac] */ 12011 RECOMP_FLAGS_IN(); 12012 goto L_2B01A343; /* 0x2B01A2B0: jmp 0x2b01a343 */ 12013 L_2B01A2B5: 12014 /* test eax, eax */ /* 0x2B01A2B5: test eax, eax */ 12015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12016 _cf = 0; 12017 _flag_k = FK_TEST; 12018 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A300; /* 0x2B01A2B7: jbe 0x2b01a300 */ 12019 L_2B01A2B9: 12020 /* cmp eax, edx */ /* 0x2B01A2B9: cmp eax, edx */ 12021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 12022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12023 _flag_k = FK_CMP; 12024 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A300; /* 0x2B01A2BB: jne 0x2b01a300 */ 12025 L_2B01A2BD: 12026 edx = MEM32(ebp + (-0x4)); /* 0x2B01A2BD: mov edx, dword ptr [ebp - 4] */ 12027 ecx = MEM32(edx + 0x4); /* 0x2B01A2C0: mov ecx, dword ptr [edx + 4] */ 12028 /* test ecx, ecx */ /* 0x2B01A2C3: test ecx, ecx */ 12029 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12030 _cf = 0; 12031 _flag_k = FK_TEST; 12032 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A2CD; /* 0x2B01A2C5: jne 0x2b01a2cd */ 12033 L_2B01A2C7: 12034 ecx = MEM32(0x2B0B513C); /* 0x2B01A2C7: mov ecx, dword ptr [0x2b0b513c] */ 12035 L_2B01A2CD: 12036 /* cmp MEM8(ecx + (-0x1)), 0xFEu */ /* 0x2B01A2CD: cmp byte ptr [ecx - 1], 0xfe */ 12037 _flag_a = (uint32_t)(MEM8(ecx + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 12038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12039 _flag_k = FK_NARROW(FK_CMP, 24); 12040 if (CMP_AE(_flag_a, _flag_b)) goto L_2B01A300; /* 0x2B01A2D1: jae 0x2b01a300 */ 12041 L_2B01A2D3: 12042 PUSH32(esp, 1); /* 0x2B01A2D3: push 1 */ 12043 ecx = edi; /* 0x2B01A2D5: mov ecx, edi */ 12044 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01A2D7: call dword ptr [0x2b0b514c] */ 12045 RECOMP_FLAGS_IN(); 12046 ecx = MEM32(ebp + (-0x4)); /* 0x2B01A2DD: mov ecx, dword ptr [ebp - 4] */ 12047 eax = MEM32(ecx + 0x4); /* 0x2B01A2E0: mov eax, dword ptr [ecx + 4] */ 12048 /* test eax, eax */ /* 0x2B01A2E3: test eax, eax */ 12049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12050 _cf = 0; 12051 _flag_k = FK_TEST; 12052 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A2EC; /* 0x2B01A2E5: jne 0x2b01a2ec */ 12053 L_2B01A2E7: 12054 eax = MEM32(0x2B0B513C); /* 0x2B01A2E7: mov eax, dword ptr [0x2b0b513c] */ 12055 L_2B01A2EC: 12056 MEM32(edi + 0x4) = eax; /* 0x2B01A2EC: mov dword ptr [edi + 4], eax */ 12057 edx = MEM32(ecx + 0x8); /* 0x2B01A2EF: mov edx, dword ptr [ecx + 8] */ 12058 MEM32(edi + 0x8) = edx; /* 0x2B01A2F2: mov dword ptr [edi + 8], edx */ 12059 ecx = MEM32(ecx + 0xC); /* 0x2B01A2F5: mov ecx, dword ptr [ecx + 0xc] */ 12060 MEM32(edi + 0xC) = ecx; /* 0x2B01A2F8: mov dword ptr [edi + 0xc], ecx */ 12061 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(1) << 24; 12062 MEM8(eax + (-0x1)) = (uint8_t)(MEM8(eax + (-0x1)) + 1); /* 0x2B01A2FB: inc byte ptr [eax - 1] */ 12063 _flag_k = FK_NARROW(FK_INC, 24); 12064 goto L_2B01A343; /* 0x2B01A2FE: jmp 0x2b01a343 */ 12065 L_2B01A300: 12066 PUSH32(esp, 1); /* 0x2B01A300: push 1 */ 12067 PUSH32(esp, eax); /* 0x2B01A302: push eax */ 12068 ecx = edi; /* 0x2B01A303: mov ecx, edi */ 12069 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01A305: call dword ptr [0x2b0b5154] */ 12070 RECOMP_FLAGS_IN(); 12071 /* test LO8(eax), LO8(eax) */ /* 0x2B01A30B: test al, al */ 12072 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12073 _cf = 0; 12074 _flag_k = FK_NARROW(FK_TEST, 24); 12075 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A343; /* 0x2B01A30D: je 0x2b01a343 */ 12076 L_2B01A30F: 12077 edx = MEM32(ebp + (-0x4)); /* 0x2B01A30F: mov edx, dword ptr [ebp - 4] */ 12078 eax = MEM32(edx + 0x4); /* 0x2B01A312: mov eax, dword ptr [edx + 4] */ 12079 /* test eax, eax */ /* 0x2B01A315: test eax, eax */ 12080 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12081 _cf = 0; 12082 _flag_k = FK_TEST; 12083 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A31E; /* 0x2B01A317: jne 0x2b01a31e */ 12084 L_2B01A319: 12085 eax = MEM32(0x2B0B513C); /* 0x2B01A319: mov eax, dword ptr [0x2b0b513c] */ 12086 L_2B01A31E: 12087 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A31E: mov ecx, dword ptr [ebp - 8] */ 12088 edi = MEM32(edi + 0x4); /* 0x2B01A321: mov edi, dword ptr [edi + 4] */ 12089 esi = eax; /* 0x2B01A324: mov esi, eax */ 12090 eax = ecx; /* 0x2B01A326: mov eax, ecx */ 12091 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01A328: shr ecx, 2 */ 12092 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12093 ecx = ecx >> 2u; /* 0x2B01A328: shr ecx, 2 */ 12094 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01A32B: 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; } 12095 ecx = eax; /* 0x2B01A32D: mov ecx, eax */ 12096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 12097 ecx = ecx & 3; /* 0x2B01A32F: and ecx, 3 */ 12098 _cf = 0; 12099 _flag_k = FK_TEST; 12100 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01A332: 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; } 12101 ecx = eax; /* 0x2B01A334: mov ecx, eax */ 12102 PUSH32(esp, ecx); /* 0x2B01A336: push ecx */ 12103 ecx = ebx + 0x18; /* 0x2B01A337: lea ecx, [ebx + 0x18] */ 12104 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01A33A: call dword ptr [0x2b0b5150] */ 12105 RECOMP_FLAGS_IN(); 12106 esi = MEM32(ebp + 0x8); /* 0x2B01A340: mov esi, dword ptr [ebp + 8] */ 12107 L_2B01A343: 12108 edx = MEM32(esi + 0x28); /* 0x2B01A343: mov edx, dword ptr [esi + 0x28] */ 12109 edi = esi + 0x2C; /* 0x2B01A346: lea edi, [esi + 0x2c] */ 12110 esi = ebx + 0x2C; /* 0x2B01A349: lea esi, [ebx + 0x2c] */ 12111 /* cmp esi, edi */ /* 0x2B01A34C: cmp esi, edi */ 12112 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 12113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12114 _flag_k = FK_CMP; 12115 MEM32(ebx + 0x28) = edx; /* 0x2B01A34E: mov dword ptr [ebx + 0x28], edx */ 12116 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A49D; /* 0x2B01A351: je 0x2b01a49d */ 12117 L_2B01A357: 12118 ecx = MEM32(edi + 0x4); /* 0x2B01A357: mov ecx, dword ptr [edi + 4] */ 12119 /* test ecx, ecx */ /* 0x2B01A35A: test ecx, ecx */ 12120 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12121 _cf = 0; 12122 _flag_k = FK_TEST; 12123 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A362; /* 0x2B01A35C: jne 0x2b01a362 */ 12124 L_2B01A35E: 12125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12126 eax = 0; /* 0x2B01A35E: xor eax, eax */ 12127 _cf = 0; 12128 _flag_k = FK_TEST; 12129 goto L_2B01A36A; /* 0x2B01A360: jmp 0x2b01a36a */ 12130 L_2B01A362: 12131 eax = MEM32(edi + 0x8); /* 0x2B01A362: mov eax, dword ptr [edi + 8] */ 12132 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12134 eax = eax - ecx; /* 0x2B01A365: sub eax, ecx */ 12135 _flag_k = FK_CMP; 12136 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01A367: sar eax, 4 */ 12137 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12138 eax = (uint32_t)((int32_t)eax >> 4u); 12139 L_2B01A36A: 12140 edx = MEM32(esi + 0x4); /* 0x2B01A36A: mov edx, dword ptr [esi + 4] */ 12141 /* test edx, edx */ /* 0x2B01A36D: test edx, edx */ 12142 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 12143 _cf = 0; 12144 _flag_k = FK_TEST; 12145 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A375; /* 0x2B01A36F: jne 0x2b01a375 */ 12146 L_2B01A371: 12147 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12148 ecx = 0; /* 0x2B01A371: xor ecx, ecx */ 12149 _cf = 0; 12150 _flag_k = FK_TEST; 12151 goto L_2B01A37D; /* 0x2B01A373: jmp 0x2b01a37d */ 12152 L_2B01A375: 12153 ecx = MEM32(esi + 0x8); /* 0x2B01A375: mov ecx, dword ptr [esi + 8] */ 12154 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12156 ecx = ecx - edx; /* 0x2B01A378: sub ecx, edx */ 12157 _flag_k = FK_CMP; 12158 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x2B01A37A: sar ecx, 4 */ 12159 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12160 ecx = (uint32_t)((int32_t)ecx >> 4u); 12161 L_2B01A37D: 12162 /* cmp eax, ecx */ /* 0x2B01A37D: cmp eax, ecx */ 12163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12165 _flag_k = FK_CMP; 12166 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A3ED; /* 0x2B01A37F: ja 0x2b01a3ed */ 12167 L_2B01A381: 12168 ecx = MEM32(edi + 0x8); /* 0x2B01A381: mov ecx, dword ptr [edi + 8] */ 12169 eax = MEM32(edi + 0x4); /* 0x2B01A384: mov eax, dword ptr [edi + 4] */ 12170 /* cmp eax, ecx */ /* 0x2B01A387: cmp eax, ecx */ 12171 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12173 _flag_k = FK_CMP; 12174 MEM32(ebp + (-0xC)) = ecx; /* 0x2B01A389: mov dword ptr [ebp - 0xc], ecx */ 12175 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A38C: mov dword ptr [ebp - 8], edx */ 12176 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A38F: mov dword ptr [ebp - 4], eax */ 12177 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A3C7; /* 0x2B01A392: je 0x2b01a3c7 */ 12178 L_2B01A394: 12179 goto L_2B01A399; /* 0x2B01A394: jmp 0x2b01a399 */ 12180 L_2B01A396: 12181 eax = MEM32(ebp + (-0x4)); /* 0x2B01A396: mov eax, dword ptr [ebp - 4] */ 12182 L_2B01A399: 12183 ecx = MEM32(0x2B0B515C); /* 0x2B01A399: mov ecx, dword ptr [0x2b0b515c] */ 12184 edx = MEM32(ecx); /* 0x2B01A39F: mov edx, dword ptr [ecx] */ 12185 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3A1: mov ecx, dword ptr [ebp - 8] */ 12186 PUSH32(esp, edx); /* 0x2B01A3A4: push edx */ 12187 PUSH32(esp, 0); /* 0x2B01A3A5: push 0 */ 12188 PUSH32(esp, eax); /* 0x2B01A3A7: push eax */ 12189 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A3A8: call dword ptr [0x2b0b5158] */ 12190 RECOMP_FLAGS_IN(); 12191 eax = MEM32(ebp + (-0x8)); /* 0x2B01A3AE: mov eax, dword ptr [ebp - 8] */ 12192 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A3B1: mov ecx, dword ptr [ebp - 0xc] */ 12193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12195 eax = eax + 0x10u; /* 0x2B01A3B4: add eax, 0x10 */ 12196 _flag_k = FK_ADD; 12197 MEM32(ebp + (-0x8)) = eax; /* 0x2B01A3B7: mov dword ptr [ebp - 8], eax */ 12198 eax = MEM32(ebp + (-0x4)); /* 0x2B01A3BA: mov eax, dword ptr [ebp - 4] */ 12199 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12200 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12201 eax = eax + 0x10u; /* 0x2B01A3BD: add eax, 0x10 */ 12202 _flag_k = FK_ADD; 12203 /* cmp eax, ecx */ /* 0x2B01A3C0: cmp eax, ecx */ 12204 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12206 _flag_k = FK_CMP; 12207 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A3C2: mov dword ptr [ebp - 4], eax */ 12208 RECOMP_BACKEDGE(); 12209 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A396; /* 0x2B01A3C5: jne 0x2b01a396 */ 12210 L_2B01A3C7: 12211 eax = MEM32(esi + 0x8); /* 0x2B01A3C7: mov eax, dword ptr [esi + 8] */ 12212 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3CA: mov ecx, dword ptr [ebp - 8] */ 12213 PUSH32(esp, eax); /* 0x2B01A3CD: push eax */ 12214 PUSH32(esp, ecx); /* 0x2B01A3CE: push ecx */ 12215 ecx = esi; /* 0x2B01A3CF: mov ecx, esi */ 12216 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A3D1: call 0x2b002fe0 */ /* not lifted */ 12217 RECOMP_FLAGS_IN(); 12218 ecx = edi; /* 0x2B01A3D6: mov ecx, edi */ 12219 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3D8: call 0x2b002fc0 */ /* not lifted */ 12220 RECOMP_FLAGS_IN(); 12221 ecx = MEM32(esi + 0x4); /* 0x2B01A3DD: mov ecx, dword ptr [esi + 4] */ 12222 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A3E0: shl eax, 4 */ 12223 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12224 eax = eax << 4u; /* 0x2B01A3E0: shl eax, 4 */ 12225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12226 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12227 eax = eax + ecx; /* 0x2B01A3E3: add eax, ecx */ 12228 _flag_k = FK_ADD; 12229 MEM32(esi + 0x8) = eax; /* 0x2B01A3E5: mov dword ptr [esi + 8], eax */ 12230 goto L_2B01A49D; /* 0x2B01A3E8: jmp 0x2b01a49d */ 12231 L_2B01A3ED: 12232 ecx = esi; /* 0x2B01A3ED: mov ecx, esi */ 12233 RECOMP_ICALL(0x2B01DC70u); /* 0x2B01A3EF: call 0x2b01dc70 */ /* not lifted */ 12234 RECOMP_FLAGS_IN(); 12235 ecx = edi; /* 0x2B01A3F4: mov ecx, edi */ 12236 ebx = eax; /* 0x2B01A3F6: mov ebx, eax */ 12237 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3F8: call 0x2b002fc0 */ /* not lifted */ 12238 RECOMP_FLAGS_IN(); 12239 /* cmp eax, ebx */ /* 0x2B01A3FD: cmp eax, ebx */ 12240 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12242 _flag_k = FK_CMP; 12243 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A44D; /* 0x2B01A3FF: ja 0x2b01a44d */ 12244 L_2B01A401: 12245 edx = MEM32(edi + 0x4); /* 0x2B01A401: mov edx, dword ptr [edi + 4] */ 12246 ecx = esi; /* 0x2B01A404: mov ecx, esi */ 12247 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A406: mov dword ptr [ebp - 8], edx */ 12248 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A409: call 0x2b002fc0 */ /* not lifted */ 12249 RECOMP_FLAGS_IN(); 12250 edx = MEM32(ebp + (-0x8)); /* 0x2B01A40E: mov edx, dword ptr [ebp - 8] */ 12251 ecx = MEM32(edi + 0x4); /* 0x2B01A411: mov ecx, dword ptr [edi + 4] */ 12252 ebx = eax; /* 0x2B01A414: mov ebx, eax */ 12253 eax = MEM32(esi + 0x4); /* 0x2B01A416: mov eax, dword ptr [esi + 4] */ 12254 if (4u) _cf = (((ebx) >> 28) & 1u); /* 0x2B01A419: shl ebx, 4 */ 12255 if (4u) { _flag_a = recomp_flags_pack((ebx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12256 ebx = ebx << 4u; /* 0x2B01A419: shl ebx, 4 */ 12257 PUSH32(esp, eax); /* 0x2B01A41C: push eax */ 12258 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 12259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12260 ebx = ebx + edx; /* 0x2B01A41D: add ebx, edx */ 12261 _flag_k = FK_ADD; 12262 PUSH32(esp, ebx); /* 0x2B01A41F: push ebx */ 12263 PUSH32(esp, ecx); /* 0x2B01A420: push ecx */ 12264 RECOMP_ICALL(0x2B01E300u); /* 0x2B01A421: call 0x2b01e300 */ /* not lifted */ 12265 RECOMP_FLAGS_IN(); 12266 edx = MEM32(esi + 0x8); /* 0x2B01A426: mov edx, dword ptr [esi + 8] */ 12267 eax = MEM32(edi + 0x8); /* 0x2B01A429: mov eax, dword ptr [edi + 8] */ 12268 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12269 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12270 esp = esp + 0xCu; /* 0x2B01A42C: add esp, 0xc */ 12271 _flag_k = FK_ADD; 12272 PUSH32(esp, edx); /* 0x2B01A42F: push edx */ 12273 PUSH32(esp, eax); /* 0x2B01A430: push eax */ 12274 PUSH32(esp, ebx); /* 0x2B01A431: push ebx */ 12275 ecx = esi; /* 0x2B01A432: mov ecx, esi */ 12276 RECOMP_ICALL(0x2B003030u); /* 0x2B01A434: call 0x2b003030 */ /* not lifted */ 12277 RECOMP_FLAGS_IN(); 12278 ecx = edi; /* 0x2B01A439: mov ecx, edi */ 12279 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A43B: call 0x2b002fc0 */ /* not lifted */ 12280 RECOMP_FLAGS_IN(); 12281 ecx = MEM32(esi + 0x4); /* 0x2B01A440: mov ecx, dword ptr [esi + 4] */ 12282 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A443: shl eax, 4 */ 12283 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12284 eax = eax << 4u; /* 0x2B01A443: shl eax, 4 */ 12285 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12286 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12287 eax = eax + ecx; /* 0x2B01A446: add eax, ecx */ 12288 _flag_k = FK_ADD; 12289 MEM32(esi + 0x8) = eax; /* 0x2B01A448: mov dword ptr [esi + 8], eax */ 12290 goto L_2B01A49A; /* 0x2B01A44B: jmp 0x2b01a49a */ 12291 L_2B01A44D: 12292 ecx = MEM32(esi + 0x8); /* 0x2B01A44D: mov ecx, dword ptr [esi + 8] */ 12293 edx = MEM32(esi + 0x4); /* 0x2B01A450: mov edx, dword ptr [esi + 4] */ 12294 PUSH32(esp, ecx); /* 0x2B01A453: push ecx */ 12295 PUSH32(esp, edx); /* 0x2B01A454: push edx */ 12296 ecx = esi; /* 0x2B01A455: mov ecx, esi */ 12297 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A457: call 0x2b002fe0 */ /* not lifted */ 12298 RECOMP_FLAGS_IN(); 12299 eax = MEM32(esi + 0x4); /* 0x2B01A45C: mov eax, dword ptr [esi + 4] */ 12300 PUSH32(esp, eax); /* 0x2B01A45F: push eax */ 12301 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A460: call 0x2b0ab1ba */ /* not lifted */ 12302 RECOMP_FLAGS_IN(); 12303 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12304 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12305 esp = esp + 4; /* 0x2B01A465: add esp, 4 */ 12306 _flag_k = FK_ADD; 12307 ecx = edi; /* 0x2B01A468: mov ecx, edi */ 12308 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A46A: call 0x2b002fc0 */ /* not lifted */ 12309 RECOMP_FLAGS_IN(); 12310 /* test eax, eax */ /* 0x2B01A46F: test eax, eax */ 12311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12312 _cf = 0; 12313 _flag_k = FK_TEST; 12314 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01A475; /* 0x2B01A471: jge 0x2b01a475 */ 12315 L_2B01A473: 12316 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12317 eax = 0; /* 0x2B01A473: xor eax, eax */ 12318 _cf = 0; 12319 _flag_k = FK_TEST; 12320 L_2B01A475: 12321 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A475: shl eax, 4 */ 12322 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12323 eax = eax << 4u; /* 0x2B01A475: shl eax, 4 */ 12324 PUSH32(esp, eax); /* 0x2B01A478: push eax */ 12325 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01A479: call 0x2b0ab212 */ /* not lifted */ 12326 RECOMP_FLAGS_IN(); 12327 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12328 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12329 esp = esp + 4; /* 0x2B01A47E: add esp, 4 */ 12330 _flag_k = FK_ADD; 12331 MEM32(esi + 0x4) = eax; /* 0x2B01A481: mov dword ptr [esi + 4], eax */ 12332 ecx = MEM32(edi + 0x8); /* 0x2B01A484: mov ecx, dword ptr [edi + 8] */ 12333 edi = MEM32(edi + 0x4); /* 0x2B01A487: mov edi, dword ptr [edi + 4] */ 12334 PUSH32(esp, eax); /* 0x2B01A48A: push eax */ 12335 PUSH32(esp, ecx); /* 0x2B01A48B: push ecx */ 12336 PUSH32(esp, edi); /* 0x2B01A48C: push edi */ 12337 ecx = esi; /* 0x2B01A48D: mov ecx, esi */ 12338 RECOMP_ICALL(0x2B003030u); /* 0x2B01A48F: call 0x2b003030 */ /* not lifted */ 12339 RECOMP_FLAGS_IN(); 12340 MEM32(esi + 0x8) = eax; /* 0x2B01A494: mov dword ptr [esi + 8], eax */ 12341 MEM32(esi + 0xC) = eax; /* 0x2B01A497: mov dword ptr [esi + 0xc], eax */ 12342 L_2B01A49A: 12343 ebx = MEM32(ebp + (-0xC)); /* 0x2B01A49A: mov ebx, dword ptr [ebp - 0xc] */ 12344 L_2B01A49D: 12345 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 12346 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 12347 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 12348 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 12349 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 12350 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 12351 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 12352 RECOMP_FLAGS_IN(); 12353 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 12354 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 12355 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 12356 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 12357 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 12358 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 12359 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 12360 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 12361 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 12362 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 12363 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 12364 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 12365 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 12366 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 12367 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 12368 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 12369 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 12370 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 12371 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 12372 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 12373 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 12374 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 12375 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 12376 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 12377 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 12378 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 12379 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 12380 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 12381 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 12382 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 12383 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 12384 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 12385 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 12386 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 12387 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 12388 RECOMP_REGS_OUT(); 12389 } 12390 12391 void sub_2B01A343(void) { 12392 int _fpu_cmp = 0; 12393 uint32_t _cf = 0; 12394 int _df = 1; 12395 uint32_t _flag_k = FK_NONE; 12396 uint32_t _flag_a = 0, _flag_b = 0; 12397 uint32_t _itail_tgt = 0; 12398 RECOMP_REGS_LOCALS 12399 RECOMP_ENTER(0x2B01A343u); 12400 12401 L_2B01A343: 12402 edx = MEM32(esi + 0x28); /* 0x2B01A343: mov edx, dword ptr [esi + 0x28] */ 12403 edi = esi + 0x2C; /* 0x2B01A346: lea edi, [esi + 0x2c] */ 12404 esi = ebx + 0x2C; /* 0x2B01A349: lea esi, [ebx + 0x2c] */ 12405 /* cmp esi, edi */ /* 0x2B01A34C: cmp esi, edi */ 12406 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 12407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12408 _flag_k = FK_CMP; 12409 MEM32(ebx + 0x28) = edx; /* 0x2B01A34E: mov dword ptr [ebx + 0x28], edx */ 12410 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A49D; /* 0x2B01A351: je 0x2b01a49d */ 12411 L_2B01A357: 12412 ecx = MEM32(edi + 0x4); /* 0x2B01A357: mov ecx, dword ptr [edi + 4] */ 12413 /* test ecx, ecx */ /* 0x2B01A35A: test ecx, ecx */ 12414 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12415 _cf = 0; 12416 _flag_k = FK_TEST; 12417 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A362; /* 0x2B01A35C: jne 0x2b01a362 */ 12418 L_2B01A35E: 12419 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12420 eax = 0; /* 0x2B01A35E: xor eax, eax */ 12421 _cf = 0; 12422 _flag_k = FK_TEST; 12423 goto L_2B01A36A; /* 0x2B01A360: jmp 0x2b01a36a */ 12424 L_2B01A362: 12425 eax = MEM32(edi + 0x8); /* 0x2B01A362: mov eax, dword ptr [edi + 8] */ 12426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12428 eax = eax - ecx; /* 0x2B01A365: sub eax, ecx */ 12429 _flag_k = FK_CMP; 12430 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B01A367: sar eax, 4 */ 12431 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12432 eax = (uint32_t)((int32_t)eax >> 4u); 12433 L_2B01A36A: 12434 edx = MEM32(esi + 0x4); /* 0x2B01A36A: mov edx, dword ptr [esi + 4] */ 12435 /* test edx, edx */ /* 0x2B01A36D: test edx, edx */ 12436 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 12437 _cf = 0; 12438 _flag_k = FK_TEST; 12439 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A375; /* 0x2B01A36F: jne 0x2b01a375 */ 12440 L_2B01A371: 12441 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12442 ecx = 0; /* 0x2B01A371: xor ecx, ecx */ 12443 _cf = 0; 12444 _flag_k = FK_TEST; 12445 goto L_2B01A37D; /* 0x2B01A373: jmp 0x2b01a37d */ 12446 L_2B01A375: 12447 ecx = MEM32(esi + 0x8); /* 0x2B01A375: mov ecx, dword ptr [esi + 8] */ 12448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12450 ecx = ecx - edx; /* 0x2B01A378: sub ecx, edx */ 12451 _flag_k = FK_CMP; 12452 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x2B01A37A: sar ecx, 4 */ 12453 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12454 ecx = (uint32_t)((int32_t)ecx >> 4u); 12455 L_2B01A37D: 12456 /* cmp eax, ecx */ /* 0x2B01A37D: cmp eax, ecx */ 12457 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12459 _flag_k = FK_CMP; 12460 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A3ED; /* 0x2B01A37F: ja 0x2b01a3ed */ 12461 L_2B01A381: 12462 ecx = MEM32(edi + 0x8); /* 0x2B01A381: mov ecx, dword ptr [edi + 8] */ 12463 eax = MEM32(edi + 0x4); /* 0x2B01A384: mov eax, dword ptr [edi + 4] */ 12464 /* cmp eax, ecx */ /* 0x2B01A387: cmp eax, ecx */ 12465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12467 _flag_k = FK_CMP; 12468 MEM32(ebp + (-0xC)) = ecx; /* 0x2B01A389: mov dword ptr [ebp - 0xc], ecx */ 12469 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A38C: mov dword ptr [ebp - 8], edx */ 12470 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A38F: mov dword ptr [ebp - 4], eax */ 12471 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A3C7; /* 0x2B01A392: je 0x2b01a3c7 */ 12472 L_2B01A394: 12473 goto L_2B01A399; /* 0x2B01A394: jmp 0x2b01a399 */ 12474 L_2B01A396: 12475 eax = MEM32(ebp + (-0x4)); /* 0x2B01A396: mov eax, dword ptr [ebp - 4] */ 12476 L_2B01A399: 12477 ecx = MEM32(0x2B0B515C); /* 0x2B01A399: mov ecx, dword ptr [0x2b0b515c] */ 12478 edx = MEM32(ecx); /* 0x2B01A39F: mov edx, dword ptr [ecx] */ 12479 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3A1: mov ecx, dword ptr [ebp - 8] */ 12480 PUSH32(esp, edx); /* 0x2B01A3A4: push edx */ 12481 PUSH32(esp, 0); /* 0x2B01A3A5: push 0 */ 12482 PUSH32(esp, eax); /* 0x2B01A3A7: push eax */ 12483 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A3A8: call dword ptr [0x2b0b5158] */ 12484 RECOMP_FLAGS_IN(); 12485 eax = MEM32(ebp + (-0x8)); /* 0x2B01A3AE: mov eax, dword ptr [ebp - 8] */ 12486 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A3B1: mov ecx, dword ptr [ebp - 0xc] */ 12487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12488 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12489 eax = eax + 0x10u; /* 0x2B01A3B4: add eax, 0x10 */ 12490 _flag_k = FK_ADD; 12491 MEM32(ebp + (-0x8)) = eax; /* 0x2B01A3B7: mov dword ptr [ebp - 8], eax */ 12492 eax = MEM32(ebp + (-0x4)); /* 0x2B01A3BA: mov eax, dword ptr [ebp - 4] */ 12493 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12494 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12495 eax = eax + 0x10u; /* 0x2B01A3BD: add eax, 0x10 */ 12496 _flag_k = FK_ADD; 12497 /* cmp eax, ecx */ /* 0x2B01A3C0: cmp eax, ecx */ 12498 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12500 _flag_k = FK_CMP; 12501 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A3C2: mov dword ptr [ebp - 4], eax */ 12502 RECOMP_BACKEDGE(); 12503 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A396; /* 0x2B01A3C5: jne 0x2b01a396 */ 12504 L_2B01A3C7: 12505 eax = MEM32(esi + 0x8); /* 0x2B01A3C7: mov eax, dword ptr [esi + 8] */ 12506 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3CA: mov ecx, dword ptr [ebp - 8] */ 12507 PUSH32(esp, eax); /* 0x2B01A3CD: push eax */ 12508 PUSH32(esp, ecx); /* 0x2B01A3CE: push ecx */ 12509 ecx = esi; /* 0x2B01A3CF: mov ecx, esi */ 12510 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A3D1: call 0x2b002fe0 */ /* not lifted */ 12511 RECOMP_FLAGS_IN(); 12512 ecx = edi; /* 0x2B01A3D6: mov ecx, edi */ 12513 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3D8: call 0x2b002fc0 */ /* not lifted */ 12514 RECOMP_FLAGS_IN(); 12515 ecx = MEM32(esi + 0x4); /* 0x2B01A3DD: mov ecx, dword ptr [esi + 4] */ 12516 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A3E0: shl eax, 4 */ 12517 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12518 eax = eax << 4u; /* 0x2B01A3E0: shl eax, 4 */ 12519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12520 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12521 eax = eax + ecx; /* 0x2B01A3E3: add eax, ecx */ 12522 _flag_k = FK_ADD; 12523 MEM32(esi + 0x8) = eax; /* 0x2B01A3E5: mov dword ptr [esi + 8], eax */ 12524 goto L_2B01A49D; /* 0x2B01A3E8: jmp 0x2b01a49d */ 12525 L_2B01A3ED: 12526 ecx = esi; /* 0x2B01A3ED: mov ecx, esi */ 12527 RECOMP_ICALL(0x2B01DC70u); /* 0x2B01A3EF: call 0x2b01dc70 */ /* not lifted */ 12528 RECOMP_FLAGS_IN(); 12529 ecx = edi; /* 0x2B01A3F4: mov ecx, edi */ 12530 ebx = eax; /* 0x2B01A3F6: mov ebx, eax */ 12531 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3F8: call 0x2b002fc0 */ /* not lifted */ 12532 RECOMP_FLAGS_IN(); 12533 /* cmp eax, ebx */ /* 0x2B01A3FD: cmp eax, ebx */ 12534 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12536 _flag_k = FK_CMP; 12537 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A44D; /* 0x2B01A3FF: ja 0x2b01a44d */ 12538 L_2B01A401: 12539 edx = MEM32(edi + 0x4); /* 0x2B01A401: mov edx, dword ptr [edi + 4] */ 12540 ecx = esi; /* 0x2B01A404: mov ecx, esi */ 12541 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A406: mov dword ptr [ebp - 8], edx */ 12542 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A409: call 0x2b002fc0 */ /* not lifted */ 12543 RECOMP_FLAGS_IN(); 12544 edx = MEM32(ebp + (-0x8)); /* 0x2B01A40E: mov edx, dword ptr [ebp - 8] */ 12545 ecx = MEM32(edi + 0x4); /* 0x2B01A411: mov ecx, dword ptr [edi + 4] */ 12546 ebx = eax; /* 0x2B01A414: mov ebx, eax */ 12547 eax = MEM32(esi + 0x4); /* 0x2B01A416: mov eax, dword ptr [esi + 4] */ 12548 if (4u) _cf = (((ebx) >> 28) & 1u); /* 0x2B01A419: shl ebx, 4 */ 12549 if (4u) { _flag_a = recomp_flags_pack((ebx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12550 ebx = ebx << 4u; /* 0x2B01A419: shl ebx, 4 */ 12551 PUSH32(esp, eax); /* 0x2B01A41C: push eax */ 12552 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 12553 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12554 ebx = ebx + edx; /* 0x2B01A41D: add ebx, edx */ 12555 _flag_k = FK_ADD; 12556 PUSH32(esp, ebx); /* 0x2B01A41F: push ebx */ 12557 PUSH32(esp, ecx); /* 0x2B01A420: push ecx */ 12558 RECOMP_ICALL(0x2B01E300u); /* 0x2B01A421: call 0x2b01e300 */ /* not lifted */ 12559 RECOMP_FLAGS_IN(); 12560 edx = MEM32(esi + 0x8); /* 0x2B01A426: mov edx, dword ptr [esi + 8] */ 12561 eax = MEM32(edi + 0x8); /* 0x2B01A429: mov eax, dword ptr [edi + 8] */ 12562 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12563 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12564 esp = esp + 0xCu; /* 0x2B01A42C: add esp, 0xc */ 12565 _flag_k = FK_ADD; 12566 PUSH32(esp, edx); /* 0x2B01A42F: push edx */ 12567 PUSH32(esp, eax); /* 0x2B01A430: push eax */ 12568 PUSH32(esp, ebx); /* 0x2B01A431: push ebx */ 12569 ecx = esi; /* 0x2B01A432: mov ecx, esi */ 12570 RECOMP_ICALL(0x2B003030u); /* 0x2B01A434: call 0x2b003030 */ /* not lifted */ 12571 RECOMP_FLAGS_IN(); 12572 ecx = edi; /* 0x2B01A439: mov ecx, edi */ 12573 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A43B: call 0x2b002fc0 */ /* not lifted */ 12574 RECOMP_FLAGS_IN(); 12575 ecx = MEM32(esi + 0x4); /* 0x2B01A440: mov ecx, dword ptr [esi + 4] */ 12576 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A443: shl eax, 4 */ 12577 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12578 eax = eax << 4u; /* 0x2B01A443: shl eax, 4 */ 12579 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12581 eax = eax + ecx; /* 0x2B01A446: add eax, ecx */ 12582 _flag_k = FK_ADD; 12583 MEM32(esi + 0x8) = eax; /* 0x2B01A448: mov dword ptr [esi + 8], eax */ 12584 goto L_2B01A49A; /* 0x2B01A44B: jmp 0x2b01a49a */ 12585 L_2B01A44D: 12586 ecx = MEM32(esi + 0x8); /* 0x2B01A44D: mov ecx, dword ptr [esi + 8] */ 12587 edx = MEM32(esi + 0x4); /* 0x2B01A450: mov edx, dword ptr [esi + 4] */ 12588 PUSH32(esp, ecx); /* 0x2B01A453: push ecx */ 12589 PUSH32(esp, edx); /* 0x2B01A454: push edx */ 12590 ecx = esi; /* 0x2B01A455: mov ecx, esi */ 12591 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A457: call 0x2b002fe0 */ /* not lifted */ 12592 RECOMP_FLAGS_IN(); 12593 eax = MEM32(esi + 0x4); /* 0x2B01A45C: mov eax, dword ptr [esi + 4] */ 12594 PUSH32(esp, eax); /* 0x2B01A45F: push eax */ 12595 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A460: call 0x2b0ab1ba */ /* not lifted */ 12596 RECOMP_FLAGS_IN(); 12597 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12598 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12599 esp = esp + 4; /* 0x2B01A465: add esp, 4 */ 12600 _flag_k = FK_ADD; 12601 ecx = edi; /* 0x2B01A468: mov ecx, edi */ 12602 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A46A: call 0x2b002fc0 */ /* not lifted */ 12603 RECOMP_FLAGS_IN(); 12604 /* test eax, eax */ /* 0x2B01A46F: test eax, eax */ 12605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12606 _cf = 0; 12607 _flag_k = FK_TEST; 12608 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01A475; /* 0x2B01A471: jge 0x2b01a475 */ 12609 L_2B01A473: 12610 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12611 eax = 0; /* 0x2B01A473: xor eax, eax */ 12612 _cf = 0; 12613 _flag_k = FK_TEST; 12614 L_2B01A475: 12615 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A475: shl eax, 4 */ 12616 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12617 eax = eax << 4u; /* 0x2B01A475: shl eax, 4 */ 12618 PUSH32(esp, eax); /* 0x2B01A478: push eax */ 12619 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01A479: call 0x2b0ab212 */ /* not lifted */ 12620 RECOMP_FLAGS_IN(); 12621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12623 esp = esp + 4; /* 0x2B01A47E: add esp, 4 */ 12624 _flag_k = FK_ADD; 12625 MEM32(esi + 0x4) = eax; /* 0x2B01A481: mov dword ptr [esi + 4], eax */ 12626 ecx = MEM32(edi + 0x8); /* 0x2B01A484: mov ecx, dword ptr [edi + 8] */ 12627 edi = MEM32(edi + 0x4); /* 0x2B01A487: mov edi, dword ptr [edi + 4] */ 12628 PUSH32(esp, eax); /* 0x2B01A48A: push eax */ 12629 PUSH32(esp, ecx); /* 0x2B01A48B: push ecx */ 12630 PUSH32(esp, edi); /* 0x2B01A48C: push edi */ 12631 ecx = esi; /* 0x2B01A48D: mov ecx, esi */ 12632 RECOMP_ICALL(0x2B003030u); /* 0x2B01A48F: call 0x2b003030 */ /* not lifted */ 12633 RECOMP_FLAGS_IN(); 12634 MEM32(esi + 0x8) = eax; /* 0x2B01A494: mov dword ptr [esi + 8], eax */ 12635 MEM32(esi + 0xC) = eax; /* 0x2B01A497: mov dword ptr [esi + 0xc], eax */ 12636 L_2B01A49A: 12637 ebx = MEM32(ebp + (-0xC)); /* 0x2B01A49A: mov ebx, dword ptr [ebp - 0xc] */ 12638 L_2B01A49D: 12639 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 12640 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 12641 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 12642 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 12643 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 12644 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 12645 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 12646 RECOMP_FLAGS_IN(); 12647 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 12648 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 12649 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 12650 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 12651 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 12652 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 12653 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 12654 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 12655 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 12656 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 12657 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 12658 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 12659 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 12660 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 12661 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 12662 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 12663 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 12664 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 12665 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 12666 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 12667 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 12668 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 12669 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 12670 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 12671 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 12672 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 12673 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 12674 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 12675 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 12676 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 12677 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 12678 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 12679 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 12680 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 12681 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 12682 RECOMP_REGS_OUT(); 12683 } 12684 12685 void sub_2B01A36A(void) { 12686 int _fpu_cmp = 0; 12687 uint32_t _cf = 0; 12688 int _df = 1; 12689 uint32_t _flag_k = FK_NONE; 12690 uint32_t _flag_a = 0, _flag_b = 0; 12691 uint32_t _itail_tgt = 0; 12692 RECOMP_REGS_LOCALS 12693 RECOMP_ENTER(0x2B01A36Au); 12694 12695 L_2B01A36A: 12696 edx = MEM32(esi + 0x4); /* 0x2B01A36A: mov edx, dword ptr [esi + 4] */ 12697 /* test edx, edx */ /* 0x2B01A36D: test edx, edx */ 12698 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 12699 _cf = 0; 12700 _flag_k = FK_TEST; 12701 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A375; /* 0x2B01A36F: jne 0x2b01a375 */ 12702 L_2B01A371: 12703 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12704 ecx = 0; /* 0x2B01A371: xor ecx, ecx */ 12705 _cf = 0; 12706 _flag_k = FK_TEST; 12707 goto L_2B01A37D; /* 0x2B01A373: jmp 0x2b01a37d */ 12708 L_2B01A375: 12709 ecx = MEM32(esi + 0x8); /* 0x2B01A375: mov ecx, dword ptr [esi + 8] */ 12710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12712 ecx = ecx - edx; /* 0x2B01A378: sub ecx, edx */ 12713 _flag_k = FK_CMP; 12714 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x2B01A37A: sar ecx, 4 */ 12715 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12716 ecx = (uint32_t)((int32_t)ecx >> 4u); 12717 L_2B01A37D: 12718 /* cmp eax, ecx */ /* 0x2B01A37D: cmp eax, ecx */ 12719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12721 _flag_k = FK_CMP; 12722 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A3ED; /* 0x2B01A37F: ja 0x2b01a3ed */ 12723 L_2B01A381: 12724 ecx = MEM32(edi + 0x8); /* 0x2B01A381: mov ecx, dword ptr [edi + 8] */ 12725 eax = MEM32(edi + 0x4); /* 0x2B01A384: mov eax, dword ptr [edi + 4] */ 12726 /* cmp eax, ecx */ /* 0x2B01A387: cmp eax, ecx */ 12727 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12729 _flag_k = FK_CMP; 12730 MEM32(ebp + (-0xC)) = ecx; /* 0x2B01A389: mov dword ptr [ebp - 0xc], ecx */ 12731 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A38C: mov dword ptr [ebp - 8], edx */ 12732 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A38F: mov dword ptr [ebp - 4], eax */ 12733 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A3C7; /* 0x2B01A392: je 0x2b01a3c7 */ 12734 L_2B01A394: 12735 goto L_2B01A399; /* 0x2B01A394: jmp 0x2b01a399 */ 12736 L_2B01A396: 12737 eax = MEM32(ebp + (-0x4)); /* 0x2B01A396: mov eax, dword ptr [ebp - 4] */ 12738 L_2B01A399: 12739 ecx = MEM32(0x2B0B515C); /* 0x2B01A399: mov ecx, dword ptr [0x2b0b515c] */ 12740 edx = MEM32(ecx); /* 0x2B01A39F: mov edx, dword ptr [ecx] */ 12741 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3A1: mov ecx, dword ptr [ebp - 8] */ 12742 PUSH32(esp, edx); /* 0x2B01A3A4: push edx */ 12743 PUSH32(esp, 0); /* 0x2B01A3A5: push 0 */ 12744 PUSH32(esp, eax); /* 0x2B01A3A7: push eax */ 12745 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A3A8: call dword ptr [0x2b0b5158] */ 12746 RECOMP_FLAGS_IN(); 12747 eax = MEM32(ebp + (-0x8)); /* 0x2B01A3AE: mov eax, dword ptr [ebp - 8] */ 12748 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A3B1: mov ecx, dword ptr [ebp - 0xc] */ 12749 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12750 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12751 eax = eax + 0x10u; /* 0x2B01A3B4: add eax, 0x10 */ 12752 _flag_k = FK_ADD; 12753 MEM32(ebp + (-0x8)) = eax; /* 0x2B01A3B7: mov dword ptr [ebp - 8], eax */ 12754 eax = MEM32(ebp + (-0x4)); /* 0x2B01A3BA: mov eax, dword ptr [ebp - 4] */ 12755 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12756 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12757 eax = eax + 0x10u; /* 0x2B01A3BD: add eax, 0x10 */ 12758 _flag_k = FK_ADD; 12759 /* cmp eax, ecx */ /* 0x2B01A3C0: cmp eax, ecx */ 12760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12762 _flag_k = FK_CMP; 12763 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A3C2: mov dword ptr [ebp - 4], eax */ 12764 RECOMP_BACKEDGE(); 12765 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A396; /* 0x2B01A3C5: jne 0x2b01a396 */ 12766 L_2B01A3C7: 12767 eax = MEM32(esi + 0x8); /* 0x2B01A3C7: mov eax, dword ptr [esi + 8] */ 12768 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3CA: mov ecx, dword ptr [ebp - 8] */ 12769 PUSH32(esp, eax); /* 0x2B01A3CD: push eax */ 12770 PUSH32(esp, ecx); /* 0x2B01A3CE: push ecx */ 12771 ecx = esi; /* 0x2B01A3CF: mov ecx, esi */ 12772 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A3D1: call 0x2b002fe0 */ /* not lifted */ 12773 RECOMP_FLAGS_IN(); 12774 ecx = edi; /* 0x2B01A3D6: mov ecx, edi */ 12775 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3D8: call 0x2b002fc0 */ /* not lifted */ 12776 RECOMP_FLAGS_IN(); 12777 ecx = MEM32(esi + 0x4); /* 0x2B01A3DD: mov ecx, dword ptr [esi + 4] */ 12778 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A3E0: shl eax, 4 */ 12779 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12780 eax = eax << 4u; /* 0x2B01A3E0: shl eax, 4 */ 12781 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12782 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12783 eax = eax + ecx; /* 0x2B01A3E3: add eax, ecx */ 12784 _flag_k = FK_ADD; 12785 MEM32(esi + 0x8) = eax; /* 0x2B01A3E5: mov dword ptr [esi + 8], eax */ 12786 goto L_2B01A49D; /* 0x2B01A3E8: jmp 0x2b01a49d */ 12787 L_2B01A3ED: 12788 ecx = esi; /* 0x2B01A3ED: mov ecx, esi */ 12789 RECOMP_ICALL(0x2B01DC70u); /* 0x2B01A3EF: call 0x2b01dc70 */ /* not lifted */ 12790 RECOMP_FLAGS_IN(); 12791 ecx = edi; /* 0x2B01A3F4: mov ecx, edi */ 12792 ebx = eax; /* 0x2B01A3F6: mov ebx, eax */ 12793 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3F8: call 0x2b002fc0 */ /* not lifted */ 12794 RECOMP_FLAGS_IN(); 12795 /* cmp eax, ebx */ /* 0x2B01A3FD: cmp eax, ebx */ 12796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 12797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12798 _flag_k = FK_CMP; 12799 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A44D; /* 0x2B01A3FF: ja 0x2b01a44d */ 12800 L_2B01A401: 12801 edx = MEM32(edi + 0x4); /* 0x2B01A401: mov edx, dword ptr [edi + 4] */ 12802 ecx = esi; /* 0x2B01A404: mov ecx, esi */ 12803 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A406: mov dword ptr [ebp - 8], edx */ 12804 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A409: call 0x2b002fc0 */ /* not lifted */ 12805 RECOMP_FLAGS_IN(); 12806 edx = MEM32(ebp + (-0x8)); /* 0x2B01A40E: mov edx, dword ptr [ebp - 8] */ 12807 ecx = MEM32(edi + 0x4); /* 0x2B01A411: mov ecx, dword ptr [edi + 4] */ 12808 ebx = eax; /* 0x2B01A414: mov ebx, eax */ 12809 eax = MEM32(esi + 0x4); /* 0x2B01A416: mov eax, dword ptr [esi + 4] */ 12810 if (4u) _cf = (((ebx) >> 28) & 1u); /* 0x2B01A419: shl ebx, 4 */ 12811 if (4u) { _flag_a = recomp_flags_pack((ebx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12812 ebx = ebx << 4u; /* 0x2B01A419: shl ebx, 4 */ 12813 PUSH32(esp, eax); /* 0x2B01A41C: push eax */ 12814 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 12815 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12816 ebx = ebx + edx; /* 0x2B01A41D: add ebx, edx */ 12817 _flag_k = FK_ADD; 12818 PUSH32(esp, ebx); /* 0x2B01A41F: push ebx */ 12819 PUSH32(esp, ecx); /* 0x2B01A420: push ecx */ 12820 RECOMP_ICALL(0x2B01E300u); /* 0x2B01A421: call 0x2b01e300 */ /* not lifted */ 12821 RECOMP_FLAGS_IN(); 12822 edx = MEM32(esi + 0x8); /* 0x2B01A426: mov edx, dword ptr [esi + 8] */ 12823 eax = MEM32(edi + 0x8); /* 0x2B01A429: mov eax, dword ptr [edi + 8] */ 12824 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 12825 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12826 esp = esp + 0xCu; /* 0x2B01A42C: add esp, 0xc */ 12827 _flag_k = FK_ADD; 12828 PUSH32(esp, edx); /* 0x2B01A42F: push edx */ 12829 PUSH32(esp, eax); /* 0x2B01A430: push eax */ 12830 PUSH32(esp, ebx); /* 0x2B01A431: push ebx */ 12831 ecx = esi; /* 0x2B01A432: mov ecx, esi */ 12832 RECOMP_ICALL(0x2B003030u); /* 0x2B01A434: call 0x2b003030 */ /* not lifted */ 12833 RECOMP_FLAGS_IN(); 12834 ecx = edi; /* 0x2B01A439: mov ecx, edi */ 12835 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A43B: call 0x2b002fc0 */ /* not lifted */ 12836 RECOMP_FLAGS_IN(); 12837 ecx = MEM32(esi + 0x4); /* 0x2B01A440: mov ecx, dword ptr [esi + 4] */ 12838 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A443: shl eax, 4 */ 12839 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12840 eax = eax << 4u; /* 0x2B01A443: shl eax, 4 */ 12841 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12842 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12843 eax = eax + ecx; /* 0x2B01A446: add eax, ecx */ 12844 _flag_k = FK_ADD; 12845 MEM32(esi + 0x8) = eax; /* 0x2B01A448: mov dword ptr [esi + 8], eax */ 12846 goto L_2B01A49A; /* 0x2B01A44B: jmp 0x2b01a49a */ 12847 L_2B01A44D: 12848 ecx = MEM32(esi + 0x8); /* 0x2B01A44D: mov ecx, dword ptr [esi + 8] */ 12849 edx = MEM32(esi + 0x4); /* 0x2B01A450: mov edx, dword ptr [esi + 4] */ 12850 PUSH32(esp, ecx); /* 0x2B01A453: push ecx */ 12851 PUSH32(esp, edx); /* 0x2B01A454: push edx */ 12852 ecx = esi; /* 0x2B01A455: mov ecx, esi */ 12853 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A457: call 0x2b002fe0 */ /* not lifted */ 12854 RECOMP_FLAGS_IN(); 12855 eax = MEM32(esi + 0x4); /* 0x2B01A45C: mov eax, dword ptr [esi + 4] */ 12856 PUSH32(esp, eax); /* 0x2B01A45F: push eax */ 12857 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A460: call 0x2b0ab1ba */ /* not lifted */ 12858 RECOMP_FLAGS_IN(); 12859 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12861 esp = esp + 4; /* 0x2B01A465: add esp, 4 */ 12862 _flag_k = FK_ADD; 12863 ecx = edi; /* 0x2B01A468: mov ecx, edi */ 12864 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A46A: call 0x2b002fc0 */ /* not lifted */ 12865 RECOMP_FLAGS_IN(); 12866 /* test eax, eax */ /* 0x2B01A46F: test eax, eax */ 12867 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12868 _cf = 0; 12869 _flag_k = FK_TEST; 12870 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01A475; /* 0x2B01A471: jge 0x2b01a475 */ 12871 L_2B01A473: 12872 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12873 eax = 0; /* 0x2B01A473: xor eax, eax */ 12874 _cf = 0; 12875 _flag_k = FK_TEST; 12876 L_2B01A475: 12877 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A475: shl eax, 4 */ 12878 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 12879 eax = eax << 4u; /* 0x2B01A475: shl eax, 4 */ 12880 PUSH32(esp, eax); /* 0x2B01A478: push eax */ 12881 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01A479: call 0x2b0ab212 */ /* not lifted */ 12882 RECOMP_FLAGS_IN(); 12883 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12884 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12885 esp = esp + 4; /* 0x2B01A47E: add esp, 4 */ 12886 _flag_k = FK_ADD; 12887 MEM32(esi + 0x4) = eax; /* 0x2B01A481: mov dword ptr [esi + 4], eax */ 12888 ecx = MEM32(edi + 0x8); /* 0x2B01A484: mov ecx, dword ptr [edi + 8] */ 12889 edi = MEM32(edi + 0x4); /* 0x2B01A487: mov edi, dword ptr [edi + 4] */ 12890 PUSH32(esp, eax); /* 0x2B01A48A: push eax */ 12891 PUSH32(esp, ecx); /* 0x2B01A48B: push ecx */ 12892 PUSH32(esp, edi); /* 0x2B01A48C: push edi */ 12893 ecx = esi; /* 0x2B01A48D: mov ecx, esi */ 12894 RECOMP_ICALL(0x2B003030u); /* 0x2B01A48F: call 0x2b003030 */ /* not lifted */ 12895 RECOMP_FLAGS_IN(); 12896 MEM32(esi + 0x8) = eax; /* 0x2B01A494: mov dword ptr [esi + 8], eax */ 12897 MEM32(esi + 0xC) = eax; /* 0x2B01A497: mov dword ptr [esi + 0xc], eax */ 12898 L_2B01A49A: 12899 ebx = MEM32(ebp + (-0xC)); /* 0x2B01A49A: mov ebx, dword ptr [ebp - 0xc] */ 12900 L_2B01A49D: 12901 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 12902 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 12903 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 12904 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 12905 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 12906 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 12907 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 12908 RECOMP_FLAGS_IN(); 12909 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 12910 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 12911 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 12912 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 12913 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 12914 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 12915 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 12916 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 12917 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 12918 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 12919 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 12920 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 12921 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 12922 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 12923 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 12924 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 12925 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 12926 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 12927 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 12928 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 12929 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 12930 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 12931 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 12932 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 12933 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 12934 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 12935 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 12936 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 12937 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 12938 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 12939 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 12940 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 12941 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 12942 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 12943 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 12944 RECOMP_REGS_OUT(); 12945 } 12946 12947 void sub_2B01A37D(void) { 12948 int _fpu_cmp = 0; 12949 uint32_t _cf = 0; 12950 int _df = 1; 12951 uint32_t _flag_k = FK_NONE; 12952 uint32_t _flag_a = 0, _flag_b = 0; 12953 uint32_t _itail_tgt = 0; 12954 RECOMP_REGS_LOCALS 12955 RECOMP_ENTER(0x2B01A37Du); 12956 12957 L_2B01A37D: 12958 /* cmp eax, ecx */ /* 0x2B01A37D: cmp eax, ecx */ 12959 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12961 _flag_k = FK_CMP; 12962 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A3ED; /* 0x2B01A37F: ja 0x2b01a3ed */ 12963 L_2B01A381: 12964 ecx = MEM32(edi + 0x8); /* 0x2B01A381: mov ecx, dword ptr [edi + 8] */ 12965 eax = MEM32(edi + 0x4); /* 0x2B01A384: mov eax, dword ptr [edi + 4] */ 12966 /* cmp eax, ecx */ /* 0x2B01A387: cmp eax, ecx */ 12967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12969 _flag_k = FK_CMP; 12970 MEM32(ebp + (-0xC)) = ecx; /* 0x2B01A389: mov dword ptr [ebp - 0xc], ecx */ 12971 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A38C: mov dword ptr [ebp - 8], edx */ 12972 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A38F: mov dword ptr [ebp - 4], eax */ 12973 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01A3C7; /* 0x2B01A392: je 0x2b01a3c7 */ 12974 L_2B01A394: 12975 goto L_2B01A399; /* 0x2B01A394: jmp 0x2b01a399 */ 12976 L_2B01A396: 12977 eax = MEM32(ebp + (-0x4)); /* 0x2B01A396: mov eax, dword ptr [ebp - 4] */ 12978 L_2B01A399: 12979 ecx = MEM32(0x2B0B515C); /* 0x2B01A399: mov ecx, dword ptr [0x2b0b515c] */ 12980 edx = MEM32(ecx); /* 0x2B01A39F: mov edx, dword ptr [ecx] */ 12981 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3A1: mov ecx, dword ptr [ebp - 8] */ 12982 PUSH32(esp, edx); /* 0x2B01A3A4: push edx */ 12983 PUSH32(esp, 0); /* 0x2B01A3A5: push 0 */ 12984 PUSH32(esp, eax); /* 0x2B01A3A7: push eax */ 12985 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A3A8: call dword ptr [0x2b0b5158] */ 12986 RECOMP_FLAGS_IN(); 12987 eax = MEM32(ebp + (-0x8)); /* 0x2B01A3AE: mov eax, dword ptr [ebp - 8] */ 12988 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A3B1: mov ecx, dword ptr [ebp - 0xc] */ 12989 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12990 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12991 eax = eax + 0x10u; /* 0x2B01A3B4: add eax, 0x10 */ 12992 _flag_k = FK_ADD; 12993 MEM32(ebp + (-0x8)) = eax; /* 0x2B01A3B7: mov dword ptr [ebp - 8], eax */ 12994 eax = MEM32(ebp + (-0x4)); /* 0x2B01A3BA: mov eax, dword ptr [ebp - 4] */ 12995 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 12996 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12997 eax = eax + 0x10u; /* 0x2B01A3BD: add eax, 0x10 */ 12998 _flag_k = FK_ADD; 12999 /* cmp eax, ecx */ /* 0x2B01A3C0: cmp eax, ecx */ 13000 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13002 _flag_k = FK_CMP; 13003 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A3C2: mov dword ptr [ebp - 4], eax */ 13004 RECOMP_BACKEDGE(); 13005 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A396; /* 0x2B01A3C5: jne 0x2b01a396 */ 13006 L_2B01A3C7: 13007 eax = MEM32(esi + 0x8); /* 0x2B01A3C7: mov eax, dword ptr [esi + 8] */ 13008 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3CA: mov ecx, dword ptr [ebp - 8] */ 13009 PUSH32(esp, eax); /* 0x2B01A3CD: push eax */ 13010 PUSH32(esp, ecx); /* 0x2B01A3CE: push ecx */ 13011 ecx = esi; /* 0x2B01A3CF: mov ecx, esi */ 13012 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A3D1: call 0x2b002fe0 */ /* not lifted */ 13013 RECOMP_FLAGS_IN(); 13014 ecx = edi; /* 0x2B01A3D6: mov ecx, edi */ 13015 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3D8: call 0x2b002fc0 */ /* not lifted */ 13016 RECOMP_FLAGS_IN(); 13017 ecx = MEM32(esi + 0x4); /* 0x2B01A3DD: mov ecx, dword ptr [esi + 4] */ 13018 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A3E0: shl eax, 4 */ 13019 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13020 eax = eax << 4u; /* 0x2B01A3E0: shl eax, 4 */ 13021 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13022 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13023 eax = eax + ecx; /* 0x2B01A3E3: add eax, ecx */ 13024 _flag_k = FK_ADD; 13025 MEM32(esi + 0x8) = eax; /* 0x2B01A3E5: mov dword ptr [esi + 8], eax */ 13026 goto L_2B01A49D; /* 0x2B01A3E8: jmp 0x2b01a49d */ 13027 L_2B01A3ED: 13028 ecx = esi; /* 0x2B01A3ED: mov ecx, esi */ 13029 RECOMP_ICALL(0x2B01DC70u); /* 0x2B01A3EF: call 0x2b01dc70 */ /* not lifted */ 13030 RECOMP_FLAGS_IN(); 13031 ecx = edi; /* 0x2B01A3F4: mov ecx, edi */ 13032 ebx = eax; /* 0x2B01A3F6: mov ebx, eax */ 13033 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3F8: call 0x2b002fc0 */ /* not lifted */ 13034 RECOMP_FLAGS_IN(); 13035 /* cmp eax, ebx */ /* 0x2B01A3FD: cmp eax, ebx */ 13036 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 13037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13038 _flag_k = FK_CMP; 13039 if (CMP_A(_flag_a, _flag_b)) goto L_2B01A44D; /* 0x2B01A3FF: ja 0x2b01a44d */ 13040 L_2B01A401: 13041 edx = MEM32(edi + 0x4); /* 0x2B01A401: mov edx, dword ptr [edi + 4] */ 13042 ecx = esi; /* 0x2B01A404: mov ecx, esi */ 13043 MEM32(ebp + (-0x8)) = edx; /* 0x2B01A406: mov dword ptr [ebp - 8], edx */ 13044 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A409: call 0x2b002fc0 */ /* not lifted */ 13045 RECOMP_FLAGS_IN(); 13046 edx = MEM32(ebp + (-0x8)); /* 0x2B01A40E: mov edx, dword ptr [ebp - 8] */ 13047 ecx = MEM32(edi + 0x4); /* 0x2B01A411: mov ecx, dword ptr [edi + 4] */ 13048 ebx = eax; /* 0x2B01A414: mov ebx, eax */ 13049 eax = MEM32(esi + 0x4); /* 0x2B01A416: mov eax, dword ptr [esi + 4] */ 13050 if (4u) _cf = (((ebx) >> 28) & 1u); /* 0x2B01A419: shl ebx, 4 */ 13051 if (4u) { _flag_a = recomp_flags_pack((ebx << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13052 ebx = ebx << 4u; /* 0x2B01A419: shl ebx, 4 */ 13053 PUSH32(esp, eax); /* 0x2B01A41C: push eax */ 13054 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 13055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13056 ebx = ebx + edx; /* 0x2B01A41D: add ebx, edx */ 13057 _flag_k = FK_ADD; 13058 PUSH32(esp, ebx); /* 0x2B01A41F: push ebx */ 13059 PUSH32(esp, ecx); /* 0x2B01A420: push ecx */ 13060 RECOMP_ICALL(0x2B01E300u); /* 0x2B01A421: call 0x2b01e300 */ /* not lifted */ 13061 RECOMP_FLAGS_IN(); 13062 edx = MEM32(esi + 0x8); /* 0x2B01A426: mov edx, dword ptr [esi + 8] */ 13063 eax = MEM32(edi + 0x8); /* 0x2B01A429: mov eax, dword ptr [edi + 8] */ 13064 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13065 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13066 esp = esp + 0xCu; /* 0x2B01A42C: add esp, 0xc */ 13067 _flag_k = FK_ADD; 13068 PUSH32(esp, edx); /* 0x2B01A42F: push edx */ 13069 PUSH32(esp, eax); /* 0x2B01A430: push eax */ 13070 PUSH32(esp, ebx); /* 0x2B01A431: push ebx */ 13071 ecx = esi; /* 0x2B01A432: mov ecx, esi */ 13072 RECOMP_ICALL(0x2B003030u); /* 0x2B01A434: call 0x2b003030 */ /* not lifted */ 13073 RECOMP_FLAGS_IN(); 13074 ecx = edi; /* 0x2B01A439: mov ecx, edi */ 13075 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A43B: call 0x2b002fc0 */ /* not lifted */ 13076 RECOMP_FLAGS_IN(); 13077 ecx = MEM32(esi + 0x4); /* 0x2B01A440: mov ecx, dword ptr [esi + 4] */ 13078 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A443: shl eax, 4 */ 13079 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13080 eax = eax << 4u; /* 0x2B01A443: shl eax, 4 */ 13081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13082 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13083 eax = eax + ecx; /* 0x2B01A446: add eax, ecx */ 13084 _flag_k = FK_ADD; 13085 MEM32(esi + 0x8) = eax; /* 0x2B01A448: mov dword ptr [esi + 8], eax */ 13086 goto L_2B01A49A; /* 0x2B01A44B: jmp 0x2b01a49a */ 13087 L_2B01A44D: 13088 ecx = MEM32(esi + 0x8); /* 0x2B01A44D: mov ecx, dword ptr [esi + 8] */ 13089 edx = MEM32(esi + 0x4); /* 0x2B01A450: mov edx, dword ptr [esi + 4] */ 13090 PUSH32(esp, ecx); /* 0x2B01A453: push ecx */ 13091 PUSH32(esp, edx); /* 0x2B01A454: push edx */ 13092 ecx = esi; /* 0x2B01A455: mov ecx, esi */ 13093 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A457: call 0x2b002fe0 */ /* not lifted */ 13094 RECOMP_FLAGS_IN(); 13095 eax = MEM32(esi + 0x4); /* 0x2B01A45C: mov eax, dword ptr [esi + 4] */ 13096 PUSH32(esp, eax); /* 0x2B01A45F: push eax */ 13097 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A460: call 0x2b0ab1ba */ /* not lifted */ 13098 RECOMP_FLAGS_IN(); 13099 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13100 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13101 esp = esp + 4; /* 0x2B01A465: add esp, 4 */ 13102 _flag_k = FK_ADD; 13103 ecx = edi; /* 0x2B01A468: mov ecx, edi */ 13104 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A46A: call 0x2b002fc0 */ /* not lifted */ 13105 RECOMP_FLAGS_IN(); 13106 /* test eax, eax */ /* 0x2B01A46F: test eax, eax */ 13107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13108 _cf = 0; 13109 _flag_k = FK_TEST; 13110 if (TEST_NS(_flag_a, _flag_b)) goto L_2B01A475; /* 0x2B01A471: jge 0x2b01a475 */ 13111 L_2B01A473: 13112 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13113 eax = 0; /* 0x2B01A473: xor eax, eax */ 13114 _cf = 0; 13115 _flag_k = FK_TEST; 13116 L_2B01A475: 13117 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A475: shl eax, 4 */ 13118 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13119 eax = eax << 4u; /* 0x2B01A475: shl eax, 4 */ 13120 PUSH32(esp, eax); /* 0x2B01A478: push eax */ 13121 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01A479: call 0x2b0ab212 */ /* not lifted */ 13122 RECOMP_FLAGS_IN(); 13123 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13124 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13125 esp = esp + 4; /* 0x2B01A47E: add esp, 4 */ 13126 _flag_k = FK_ADD; 13127 MEM32(esi + 0x4) = eax; /* 0x2B01A481: mov dword ptr [esi + 4], eax */ 13128 ecx = MEM32(edi + 0x8); /* 0x2B01A484: mov ecx, dword ptr [edi + 8] */ 13129 edi = MEM32(edi + 0x4); /* 0x2B01A487: mov edi, dword ptr [edi + 4] */ 13130 PUSH32(esp, eax); /* 0x2B01A48A: push eax */ 13131 PUSH32(esp, ecx); /* 0x2B01A48B: push ecx */ 13132 PUSH32(esp, edi); /* 0x2B01A48C: push edi */ 13133 ecx = esi; /* 0x2B01A48D: mov ecx, esi */ 13134 RECOMP_ICALL(0x2B003030u); /* 0x2B01A48F: call 0x2b003030 */ /* not lifted */ 13135 RECOMP_FLAGS_IN(); 13136 MEM32(esi + 0x8) = eax; /* 0x2B01A494: mov dword ptr [esi + 8], eax */ 13137 MEM32(esi + 0xC) = eax; /* 0x2B01A497: mov dword ptr [esi + 0xc], eax */ 13138 L_2B01A49A: 13139 ebx = MEM32(ebp + (-0xC)); /* 0x2B01A49A: mov ebx, dword ptr [ebp - 0xc] */ 13140 L_2B01A49D: 13141 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 13142 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 13143 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 13144 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 13145 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 13146 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 13147 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 13148 RECOMP_FLAGS_IN(); 13149 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 13150 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 13151 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 13152 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 13153 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 13154 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 13155 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 13156 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 13157 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 13158 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 13159 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 13160 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 13161 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 13162 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 13163 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 13164 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 13165 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 13166 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 13167 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 13168 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 13169 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 13170 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 13171 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 13172 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 13173 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 13174 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 13175 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 13176 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 13177 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 13178 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 13179 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 13180 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 13181 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 13182 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 13183 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 13184 RECOMP_REGS_OUT(); 13185 } 13186 13187 void sub_2B01A396(void) { 13188 int _fpu_cmp = 0; 13189 uint32_t _cf = 0; 13190 int _df = 1; 13191 uint32_t _flag_k = FK_NONE; 13192 uint32_t _flag_a = 0, _flag_b = 0; 13193 uint32_t _itail_tgt = 0; 13194 RECOMP_REGS_LOCALS 13195 RECOMP_ENTER(0x2B01A396u); 13196 13197 L_2B01A396: 13198 eax = MEM32(ebp + (-0x4)); /* 0x2B01A396: mov eax, dword ptr [ebp - 4] */ 13199 ecx = MEM32(0x2B0B515C); /* 0x2B01A399: mov ecx, dword ptr [0x2b0b515c] */ 13200 edx = MEM32(ecx); /* 0x2B01A39F: mov edx, dword ptr [ecx] */ 13201 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3A1: mov ecx, dword ptr [ebp - 8] */ 13202 PUSH32(esp, edx); /* 0x2B01A3A4: push edx */ 13203 PUSH32(esp, 0); /* 0x2B01A3A5: push 0 */ 13204 PUSH32(esp, eax); /* 0x2B01A3A7: push eax */ 13205 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A3A8: call dword ptr [0x2b0b5158] */ 13206 RECOMP_FLAGS_IN(); 13207 eax = MEM32(ebp + (-0x8)); /* 0x2B01A3AE: mov eax, dword ptr [ebp - 8] */ 13208 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A3B1: mov ecx, dword ptr [ebp - 0xc] */ 13209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 13210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13211 eax = eax + 0x10u; /* 0x2B01A3B4: add eax, 0x10 */ 13212 _flag_k = FK_ADD; 13213 MEM32(ebp + (-0x8)) = eax; /* 0x2B01A3B7: mov dword ptr [ebp - 8], eax */ 13214 eax = MEM32(ebp + (-0x4)); /* 0x2B01A3BA: mov eax, dword ptr [ebp - 4] */ 13215 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 13216 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13217 eax = eax + 0x10u; /* 0x2B01A3BD: add eax, 0x10 */ 13218 _flag_k = FK_ADD; 13219 /* cmp eax, ecx */ /* 0x2B01A3C0: cmp eax, ecx */ 13220 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13222 _flag_k = FK_CMP; 13223 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A3C2: mov dword ptr [ebp - 4], eax */ 13224 RECOMP_BACKEDGE(); 13225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A396; /* 0x2B01A3C5: jne 0x2b01a396 */ 13226 L_2B01A3C7: 13227 eax = MEM32(esi + 0x8); /* 0x2B01A3C7: mov eax, dword ptr [esi + 8] */ 13228 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3CA: mov ecx, dword ptr [ebp - 8] */ 13229 PUSH32(esp, eax); /* 0x2B01A3CD: push eax */ 13230 PUSH32(esp, ecx); /* 0x2B01A3CE: push ecx */ 13231 ecx = esi; /* 0x2B01A3CF: mov ecx, esi */ 13232 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A3D1: call 0x2b002fe0 */ /* not lifted */ 13233 RECOMP_FLAGS_IN(); 13234 ecx = edi; /* 0x2B01A3D6: mov ecx, edi */ 13235 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3D8: call 0x2b002fc0 */ /* not lifted */ 13236 RECOMP_FLAGS_IN(); 13237 ecx = MEM32(esi + 0x4); /* 0x2B01A3DD: mov ecx, dword ptr [esi + 4] */ 13238 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A3E0: shl eax, 4 */ 13239 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13240 eax = eax << 4u; /* 0x2B01A3E0: shl eax, 4 */ 13241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13242 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13243 eax = eax + ecx; /* 0x2B01A3E3: add eax, ecx */ 13244 _flag_k = FK_ADD; 13245 MEM32(esi + 0x8) = eax; /* 0x2B01A3E5: mov dword ptr [esi + 8], eax */ 13246 goto L_2B01A49D; /* 0x2B01A3E8: jmp 0x2b01a49d */ 13247 L_2B01A49D: 13248 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 13249 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 13250 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 13251 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 13252 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 13253 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 13254 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 13255 RECOMP_FLAGS_IN(); 13256 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 13257 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 13258 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 13259 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 13260 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 13261 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 13262 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 13263 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 13264 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 13265 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 13266 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 13267 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 13268 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 13269 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 13270 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 13271 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 13272 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 13273 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 13274 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 13275 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 13276 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 13277 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 13278 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 13279 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 13280 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 13281 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 13282 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 13283 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 13284 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 13285 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 13286 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 13287 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 13288 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 13289 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 13290 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 13291 RECOMP_REGS_OUT(); 13292 } 13293 13294 void sub_2B01A399(void) { 13295 int _fpu_cmp = 0; 13296 uint32_t _cf = 0; 13297 int _df = 1; 13298 uint32_t _flag_k = FK_NONE; 13299 uint32_t _flag_a = 0, _flag_b = 0; 13300 uint32_t _itail_tgt = 0; 13301 RECOMP_REGS_LOCALS 13302 RECOMP_ENTER(0x2B01A399u); 13303 13304 goto L_2B01A399; 13305 L_2B01A396: 13306 eax = MEM32(ebp + (-0x4)); /* 0x2B01A396: mov eax, dword ptr [ebp - 4] */ 13307 L_2B01A399: 13308 ecx = MEM32(0x2B0B515C); /* 0x2B01A399: mov ecx, dword ptr [0x2b0b515c] */ 13309 edx = MEM32(ecx); /* 0x2B01A39F: mov edx, dword ptr [ecx] */ 13310 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3A1: mov ecx, dword ptr [ebp - 8] */ 13311 PUSH32(esp, edx); /* 0x2B01A3A4: push edx */ 13312 PUSH32(esp, 0); /* 0x2B01A3A5: push 0 */ 13313 PUSH32(esp, eax); /* 0x2B01A3A7: push eax */ 13314 RECOMP_ICALL(MEM32(0x2B0B5158)); /* 0x2B01A3A8: call dword ptr [0x2b0b5158] */ 13315 RECOMP_FLAGS_IN(); 13316 eax = MEM32(ebp + (-0x8)); /* 0x2B01A3AE: mov eax, dword ptr [ebp - 8] */ 13317 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A3B1: mov ecx, dword ptr [ebp - 0xc] */ 13318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 13319 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13320 eax = eax + 0x10u; /* 0x2B01A3B4: add eax, 0x10 */ 13321 _flag_k = FK_ADD; 13322 MEM32(ebp + (-0x8)) = eax; /* 0x2B01A3B7: mov dword ptr [ebp - 8], eax */ 13323 eax = MEM32(ebp + (-0x4)); /* 0x2B01A3BA: mov eax, dword ptr [ebp - 4] */ 13324 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 13325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13326 eax = eax + 0x10u; /* 0x2B01A3BD: add eax, 0x10 */ 13327 _flag_k = FK_ADD; 13328 /* cmp eax, ecx */ /* 0x2B01A3C0: cmp eax, ecx */ 13329 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13331 _flag_k = FK_CMP; 13332 MEM32(ebp + (-0x4)) = eax; /* 0x2B01A3C2: mov dword ptr [ebp - 4], eax */ 13333 RECOMP_BACKEDGE(); 13334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01A396; /* 0x2B01A3C5: jne 0x2b01a396 */ 13335 L_2B01A3C7: 13336 eax = MEM32(esi + 0x8); /* 0x2B01A3C7: mov eax, dword ptr [esi + 8] */ 13337 ecx = MEM32(ebp + (-0x8)); /* 0x2B01A3CA: mov ecx, dword ptr [ebp - 8] */ 13338 PUSH32(esp, eax); /* 0x2B01A3CD: push eax */ 13339 PUSH32(esp, ecx); /* 0x2B01A3CE: push ecx */ 13340 ecx = esi; /* 0x2B01A3CF: mov ecx, esi */ 13341 RECOMP_ICALL(0x2B002FE0u); /* 0x2B01A3D1: call 0x2b002fe0 */ /* not lifted */ 13342 RECOMP_FLAGS_IN(); 13343 ecx = edi; /* 0x2B01A3D6: mov ecx, edi */ 13344 RECOMP_ICALL(0x2B002FC0u); /* 0x2B01A3D8: call 0x2b002fc0 */ /* not lifted */ 13345 RECOMP_FLAGS_IN(); 13346 ecx = MEM32(esi + 0x4); /* 0x2B01A3DD: mov ecx, dword ptr [esi + 4] */ 13347 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B01A3E0: shl eax, 4 */ 13348 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 13349 eax = eax << 4u; /* 0x2B01A3E0: shl eax, 4 */ 13350 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13351 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13352 eax = eax + ecx; /* 0x2B01A3E3: add eax, ecx */ 13353 _flag_k = FK_ADD; 13354 MEM32(esi + 0x8) = eax; /* 0x2B01A3E5: mov dword ptr [esi + 8], eax */ 13355 goto L_2B01A49D; /* 0x2B01A3E8: jmp 0x2b01a49d */ 13356 L_2B01A49D: 13357 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 13358 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 13359 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 13360 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 13361 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 13362 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 13363 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 13364 RECOMP_FLAGS_IN(); 13365 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 13366 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 13367 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 13368 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 13369 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 13370 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 13371 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 13372 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 13373 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 13374 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 13375 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 13376 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 13377 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 13378 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 13379 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 13380 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 13381 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 13382 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 13383 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 13384 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 13385 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 13386 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 13387 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 13388 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 13389 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 13390 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 13391 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 13392 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 13393 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 13394 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 13395 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 13396 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 13397 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 13398 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 13399 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 13400 RECOMP_REGS_OUT(); 13401 } 13402 13403 void sub_2B01A49A(void) { 13404 int _fpu_cmp = 0; 13405 uint32_t _cf = 0; 13406 int _df = 1; 13407 uint32_t _flag_k = FK_NONE; 13408 uint32_t _flag_a = 0, _flag_b = 0; 13409 uint32_t _itail_tgt = 0; 13410 RECOMP_REGS_LOCALS 13411 RECOMP_ENTER(0x2B01A49Au); 13412 13413 L_2B01A49A: 13414 ebx = MEM32(ebp + (-0xC)); /* 0x2B01A49A: mov ebx, dword ptr [ebp - 0xc] */ 13415 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 13416 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 13417 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 13418 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 13419 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 13420 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 13421 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 13422 RECOMP_FLAGS_IN(); 13423 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 13424 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 13425 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 13426 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 13427 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 13428 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 13429 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 13430 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 13431 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 13432 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 13433 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 13434 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 13435 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 13436 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 13437 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 13438 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 13439 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 13440 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 13441 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 13442 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 13443 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 13444 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 13445 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 13446 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 13447 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 13448 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 13449 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 13450 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 13451 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 13452 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 13453 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 13454 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 13455 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 13456 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 13457 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 13458 RECOMP_REGS_OUT(); 13459 } 13460 13461 void sub_2B01A49D(void) { 13462 int _fpu_cmp = 0; 13463 uint32_t _cf = 0; 13464 int _df = 1; 13465 uint32_t _flag_k = FK_NONE; 13466 uint32_t _flag_a = 0, _flag_b = 0; 13467 uint32_t _itail_tgt = 0; 13468 RECOMP_REGS_LOCALS 13469 RECOMP_ENTER(0x2B01A49Du); 13470 13471 L_2B01A49D: 13472 esi = MEM32(ebp + 0x8); /* 0x2B01A49D: mov esi, dword ptr [ebp + 8] */ 13473 ecx = MEM32(esi + 0x3C); /* 0x2B01A4A0: mov ecx, dword ptr [esi + 0x3c] */ 13474 edx = esi + 0x40; /* 0x2B01A4A3: lea edx, [esi + 0x40] */ 13475 MEM32(ebx + 0x3C) = ecx; /* 0x2B01A4A6: mov dword ptr [ebx + 0x3c], ecx */ 13476 PUSH32(esp, edx); /* 0x2B01A4A9: push edx */ 13477 ecx = ebx + 0x40; /* 0x2B01A4AA: lea ecx, [ebx + 0x40] */ 13478 RECOMP_ICALL(0x2B01D690u); /* 0x2B01A4AD: call 0x2b01d690 */ /* not lifted */ 13479 RECOMP_FLAGS_IN(); 13480 eax = MEM32(esi + 0x50); /* 0x2B01A4B2: mov eax, dword ptr [esi + 0x50] */ 13481 MEM32(ebx + 0x50) = eax; /* 0x2B01A4B5: mov dword ptr [ebx + 0x50], eax */ 13482 ecx = MEM32(esi + 0x54); /* 0x2B01A4B8: mov ecx, dword ptr [esi + 0x54] */ 13483 MEM32(ebx + 0x54) = ecx; /* 0x2B01A4BB: mov dword ptr [ebx + 0x54], ecx */ 13484 edx = MEM32(esi + 0x58); /* 0x2B01A4BE: mov edx, dword ptr [esi + 0x58] */ 13485 MEM32(ebx + 0x58) = edx; /* 0x2B01A4C1: mov dword ptr [ebx + 0x58], edx */ 13486 eax = esi + 0x5C; /* 0x2B01A4C4: lea eax, [esi + 0x5c] */ 13487 edx = MEM32(eax); /* 0x2B01A4C7: mov edx, dword ptr [eax] */ 13488 ecx = ebx + 0x5C; /* 0x2B01A4C9: lea ecx, [ebx + 0x5c] */ 13489 MEM32(ecx) = edx; /* 0x2B01A4CC: mov dword ptr [ecx], edx */ 13490 edx = MEM32(eax + 0x4); /* 0x2B01A4CE: mov edx, dword ptr [eax + 4] */ 13491 MEM32(ecx + 0x4) = edx; /* 0x2B01A4D1: mov dword ptr [ecx + 4], edx */ 13492 eax = MEM32(eax + 0x8); /* 0x2B01A4D4: mov eax, dword ptr [eax + 8] */ 13493 MEM32(ecx + 0x8) = eax; /* 0x2B01A4D7: mov dword ptr [ecx + 8], eax */ 13494 ecx = esi + 0x68; /* 0x2B01A4DA: lea ecx, [esi + 0x68] */ 13495 eax = MEM32(ecx); /* 0x2B01A4DD: mov eax, dword ptr [ecx] */ 13496 edx = ebx + 0x68; /* 0x2B01A4DF: lea edx, [ebx + 0x68] */ 13497 MEM32(edx) = eax; /* 0x2B01A4E2: mov dword ptr [edx], eax */ 13498 eax = MEM32(ecx + 0x4); /* 0x2B01A4E4: mov eax, dword ptr [ecx + 4] */ 13499 MEM32(edx + 0x4) = eax; /* 0x2B01A4E7: mov dword ptr [edx + 4], eax */ 13500 eax = MEM32(ecx + 0x8); /* 0x2B01A4EA: mov eax, dword ptr [ecx + 8] */ 13501 MEM32(edx + 0x8) = eax; /* 0x2B01A4ED: mov dword ptr [edx + 8], eax */ 13502 ecx = MEM32(ecx + 0xC); /* 0x2B01A4F0: mov ecx, dword ptr [ecx + 0xc] */ 13503 MEM32(edx + 0xC) = ecx; /* 0x2B01A4F3: mov dword ptr [edx + 0xc], ecx */ 13504 edx = MEM32(esi + 0x78); /* 0x2B01A4F6: mov edx, dword ptr [esi + 0x78] */ 13505 MEM32(ebx + 0x78) = edx; /* 0x2B01A4F9: mov dword ptr [ebx + 0x78], edx */ 13506 eax = MEM32(esi + 0x7C); /* 0x2B01A4FC: mov eax, dword ptr [esi + 0x7c] */ 13507 edi = POP32_VAL(esp); /* 0x2B01A4FF: pop edi */ 13508 MEM32(ebx + 0x7C) = eax; /* 0x2B01A500: mov dword ptr [ebx + 0x7c], eax */ 13509 esi = POP32_VAL(esp); /* 0x2B01A503: pop esi */ 13510 eax = ebx; /* 0x2B01A504: mov eax, ebx */ 13511 ebx = POP32_VAL(esp); /* 0x2B01A506: pop ebx */ 13512 esp = ebp; /* 0x2B01A507: mov esp, ebp */ 13513 ebp = POP32_VAL(esp); /* 0x2B01A509: pop ebp */ 13514 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A50A: ret 4 */ 13515 RECOMP_REGS_OUT(); 13516 } 13517 13518 void sub_2B01A510(void) { 13519 int _fpu_cmp = 0; 13520 uint32_t _cf = 0; 13521 int _df = 1; 13522 uint32_t _flag_k = FK_NONE; 13523 uint32_t _flag_a = 0, _flag_b = 0; 13524 uint32_t _itail_tgt = 0; 13525 RECOMP_REGS_LOCALS 13526 RECOMP_ENTER(0x2B01A510u); 13527 13528 L_2B01A510: 13529 PUSH32(esp, ebp); /* 0x2B01A510: push ebp */ 13530 ebp = esp; /* 0x2B01A511: mov ebp, esp */ 13531 eax = ecx; /* 0x2B01A513: mov eax, ecx */ 13532 ecx = MEM32(ebp + 0x8); /* 0x2B01A515: mov ecx, dword ptr [ebp + 8] */ 13533 edx = MEM32(ecx + 0x4); /* 0x2B01A518: mov edx, dword ptr [ecx + 4] */ 13534 MEM32(eax + 0x4) = edx; /* 0x2B01A51B: mov dword ptr [eax + 4], edx */ 13535 edx = MEM32(ecx + 0x8); /* 0x2B01A51E: mov edx, dword ptr [ecx + 8] */ 13536 MEM32(eax + 0x8) = edx; /* 0x2B01A521: mov dword ptr [eax + 8], edx */ 13537 edx = MEM32(ecx + 0xC); /* 0x2B01A524: mov edx, dword ptr [ecx + 0xc] */ 13538 MEM32(eax + 0xC) = edx; /* 0x2B01A527: mov dword ptr [eax + 0xc], edx */ 13539 edx = MEM32(ecx + 0x10); /* 0x2B01A52A: mov edx, dword ptr [ecx + 0x10] */ 13540 MEM32(eax + 0x10) = edx; /* 0x2B01A52D: mov dword ptr [eax + 0x10], edx */ 13541 edx = MEM32(ecx + 0x14); /* 0x2B01A530: mov edx, dword ptr [ecx + 0x14] */ 13542 MEM32(eax + 0x14) = edx; /* 0x2B01A533: mov dword ptr [eax + 0x14], edx */ 13543 edx = MEM32(ecx + 0x18); /* 0x2B01A536: mov edx, dword ptr [ecx + 0x18] */ 13544 MEM32(eax + 0x18) = edx; /* 0x2B01A539: mov dword ptr [eax + 0x18], edx */ 13545 edx = MEM32(ecx + 0x1C); /* 0x2B01A53C: mov edx, dword ptr [ecx + 0x1c] */ 13546 MEM32(eax + 0x1C) = edx; /* 0x2B01A53F: mov dword ptr [eax + 0x1c], edx */ 13547 edx = MEM32(ecx + 0x20); /* 0x2B01A542: mov edx, dword ptr [ecx + 0x20] */ 13548 MEM32(eax + 0x20) = edx; /* 0x2B01A545: mov dword ptr [eax + 0x20], edx */ 13549 edx = MEM32(ecx + 0x24); /* 0x2B01A548: mov edx, dword ptr [ecx + 0x24] */ 13550 MEM32(eax + 0x24) = edx; /* 0x2B01A54B: mov dword ptr [eax + 0x24], edx */ 13551 edx = MEM32(ecx + 0x28); /* 0x2B01A54E: mov edx, dword ptr [ecx + 0x28] */ 13552 MEM32(eax + 0x28) = edx; /* 0x2B01A551: mov dword ptr [eax + 0x28], edx */ 13553 edx = MEM32(ecx + 0x2C); /* 0x2B01A554: mov edx, dword ptr [ecx + 0x2c] */ 13554 MEM32(eax + 0x2C) = edx; /* 0x2B01A557: mov dword ptr [eax + 0x2c], edx */ 13555 edx = MEM32(ecx + 0x30); /* 0x2B01A55A: mov edx, dword ptr [ecx + 0x30] */ 13556 MEM32(eax + 0x30) = edx; /* 0x2B01A55D: mov dword ptr [eax + 0x30], edx */ 13557 edx = MEM32(ecx + 0x34); /* 0x2B01A560: mov edx, dword ptr [ecx + 0x34] */ 13558 MEM32(eax + 0x34) = edx; /* 0x2B01A563: mov dword ptr [eax + 0x34], edx */ 13559 edx = MEM32(ecx + 0x38); /* 0x2B01A566: mov edx, dword ptr [ecx + 0x38] */ 13560 MEM32(eax + 0x38) = edx; /* 0x2B01A569: mov dword ptr [eax + 0x38], edx */ 13561 edx = MEM32(ecx + 0x3C); /* 0x2B01A56C: mov edx, dword ptr [ecx + 0x3c] */ 13562 MEM32(eax + 0x3C) = edx; /* 0x2B01A56F: mov dword ptr [eax + 0x3c], edx */ 13563 edx = MEM32(ecx + 0x40); /* 0x2B01A572: mov edx, dword ptr [ecx + 0x40] */ 13564 MEM32(eax + 0x40) = edx; /* 0x2B01A575: mov dword ptr [eax + 0x40], edx */ 13565 edx = MEM32(ecx + 0x44); /* 0x2B01A578: mov edx, dword ptr [ecx + 0x44] */ 13566 MEM32(eax + 0x44) = edx; /* 0x2B01A57B: mov dword ptr [eax + 0x44], edx */ 13567 edx = MEM32(ecx + 0x48); /* 0x2B01A57E: mov edx, dword ptr [ecx + 0x48] */ 13568 MEM32(eax + 0x48) = edx; /* 0x2B01A581: mov dword ptr [eax + 0x48], edx */ 13569 edx = MEM32(ecx + 0x4C); /* 0x2B01A584: mov edx, dword ptr [ecx + 0x4c] */ 13570 MEM32(eax + 0x4C) = edx; /* 0x2B01A587: mov dword ptr [eax + 0x4c], edx */ 13571 edx = MEM32(ecx + 0x50); /* 0x2B01A58A: mov edx, dword ptr [ecx + 0x50] */ 13572 MEM32(eax + 0x50) = edx; /* 0x2B01A58D: mov dword ptr [eax + 0x50], edx */ 13573 edx = MEM32(ecx + 0x54); /* 0x2B01A590: mov edx, dword ptr [ecx + 0x54] */ 13574 MEM32(eax + 0x54) = edx; /* 0x2B01A593: mov dword ptr [eax + 0x54], edx */ 13575 edx = MEM32(ecx + 0x58); /* 0x2B01A596: mov edx, dword ptr [ecx + 0x58] */ 13576 MEM32(eax + 0x58) = edx; /* 0x2B01A599: mov dword ptr [eax + 0x58], edx */ 13577 edx = MEM32(ecx + 0x5C); /* 0x2B01A59C: mov edx, dword ptr [ecx + 0x5c] */ 13578 MEM32(eax + 0x5C) = edx; /* 0x2B01A59F: mov dword ptr [eax + 0x5c], edx */ 13579 edx = MEM32(ecx + 0x60); /* 0x2B01A5A2: mov edx, dword ptr [ecx + 0x60] */ 13580 MEM32(eax + 0x60) = edx; /* 0x2B01A5A5: mov dword ptr [eax + 0x60], edx */ 13581 edx = MEM32(ecx + 0x64); /* 0x2B01A5A8: mov edx, dword ptr [ecx + 0x64] */ 13582 MEM32(eax + 0x64) = edx; /* 0x2B01A5AB: mov dword ptr [eax + 0x64], edx */ 13583 edx = MEM32(ecx + 0x68); /* 0x2B01A5AE: mov edx, dword ptr [ecx + 0x68] */ 13584 MEM32(eax + 0x68) = edx; /* 0x2B01A5B1: mov dword ptr [eax + 0x68], edx */ 13585 edx = MEM32(ecx + 0x6C); /* 0x2B01A5B4: mov edx, dword ptr [ecx + 0x6c] */ 13586 MEM32(eax + 0x6C) = edx; /* 0x2B01A5B7: mov dword ptr [eax + 0x6c], edx */ 13587 edx = MEM32(ecx + 0x70); /* 0x2B01A5BA: mov edx, dword ptr [ecx + 0x70] */ 13588 MEM32(eax + 0x70) = edx; /* 0x2B01A5BD: mov dword ptr [eax + 0x70], edx */ 13589 edx = MEM32(ecx + 0x74); /* 0x2B01A5C0: mov edx, dword ptr [ecx + 0x74] */ 13590 MEM32(eax + 0x74) = edx; /* 0x2B01A5C3: mov dword ptr [eax + 0x74], edx */ 13591 edx = MEM32(ecx + 0x78); /* 0x2B01A5C6: mov edx, dword ptr [ecx + 0x78] */ 13592 MEM32(eax + 0x78) = edx; /* 0x2B01A5C9: mov dword ptr [eax + 0x78], edx */ 13593 MEM32(eax) = 0x2B0B63DCu; /* 0x2B01A5CC: mov dword ptr [eax], 0x2b0b63dc */ 13594 edx = MEM32(ecx + 0x7C); /* 0x2B01A5D2: mov edx, dword ptr [ecx + 0x7c] */ 13595 MEM32(eax + 0x7C) = edx; /* 0x2B01A5D5: mov dword ptr [eax + 0x7c], edx */ 13596 edx = MEM32(ecx + 0x80); /* 0x2B01A5D8: mov edx, dword ptr [ecx + 0x80] */ 13597 MEM32(eax + 0x80) = edx; /* 0x2B01A5DE: mov dword ptr [eax + 0x80], edx */ 13598 edx = MEM32(ecx + 0x84); /* 0x2B01A5E4: mov edx, dword ptr [ecx + 0x84] */ 13599 MEM32(eax + 0x84) = edx; /* 0x2B01A5EA: mov dword ptr [eax + 0x84], edx */ 13600 edx = MEM32(ecx + 0x88); /* 0x2B01A5F0: mov edx, dword ptr [ecx + 0x88] */ 13601 MEM32(eax + 0x88) = edx; /* 0x2B01A5F6: mov dword ptr [eax + 0x88], edx */ 13602 edx = MEM32(ecx + 0x8C); /* 0x2B01A5FC: mov edx, dword ptr [ecx + 0x8c] */ 13603 MEM32(eax + 0x8C) = edx; /* 0x2B01A602: mov dword ptr [eax + 0x8c], edx */ 13604 edx = MEM32(ecx + 0x90); /* 0x2B01A608: mov edx, dword ptr [ecx + 0x90] */ 13605 MEM32(eax + 0x90) = edx; /* 0x2B01A60E: mov dword ptr [eax + 0x90], edx */ 13606 edx = MEM32(ecx + 0x94); /* 0x2B01A614: mov edx, dword ptr [ecx + 0x94] */ 13607 MEM32(eax + 0x94) = edx; /* 0x2B01A61A: mov dword ptr [eax + 0x94], edx */ 13608 edx = MEM32(ecx + 0x98); /* 0x2B01A620: mov edx, dword ptr [ecx + 0x98] */ 13609 MEM32(eax + 0x98) = edx; /* 0x2B01A626: mov dword ptr [eax + 0x98], edx */ 13610 edx = MEM32(ecx + 0x9C); /* 0x2B01A62C: mov edx, dword ptr [ecx + 0x9c] */ 13611 MEM32(eax + 0x9C) = edx; /* 0x2B01A632: mov dword ptr [eax + 0x9c], edx */ 13612 edx = MEM32(ecx + 0xA0); /* 0x2B01A638: mov edx, dword ptr [ecx + 0xa0] */ 13613 MEM32(eax + 0xA0) = edx; /* 0x2B01A63E: mov dword ptr [eax + 0xa0], edx */ 13614 edx = MEM32(ecx + 0xA4); /* 0x2B01A644: mov edx, dword ptr [ecx + 0xa4] */ 13615 MEM32(eax + 0xA4) = edx; /* 0x2B01A64A: mov dword ptr [eax + 0xa4], edx */ 13616 edx = MEM32(ecx + 0xA8); /* 0x2B01A650: mov edx, dword ptr [ecx + 0xa8] */ 13617 MEM32(eax + 0xA8) = edx; /* 0x2B01A656: mov dword ptr [eax + 0xa8], edx */ 13618 edx = MEM32(ecx + 0xAC); /* 0x2B01A65C: mov edx, dword ptr [ecx + 0xac] */ 13619 MEM32(eax + 0xAC) = edx; /* 0x2B01A662: mov dword ptr [eax + 0xac], edx */ 13620 edx = MEM32(ecx + 0xB0); /* 0x2B01A668: mov edx, dword ptr [ecx + 0xb0] */ 13621 MEM32(eax + 0xB0) = edx; /* 0x2B01A66E: mov dword ptr [eax + 0xb0], edx */ 13622 edx = MEM32(ecx + 0xB4); /* 0x2B01A674: mov edx, dword ptr [ecx + 0xb4] */ 13623 MEM32(eax + 0xB4) = edx; /* 0x2B01A67A: mov dword ptr [eax + 0xb4], edx */ 13624 edx = MEM32(ecx + 0xB8); /* 0x2B01A680: mov edx, dword ptr [ecx + 0xb8] */ 13625 MEM32(eax + 0xB8) = edx; /* 0x2B01A686: mov dword ptr [eax + 0xb8], edx */ 13626 edx = MEM32(ecx + 0xBC); /* 0x2B01A68C: mov edx, dword ptr [ecx + 0xbc] */ 13627 MEM32(eax + 0xBC) = edx; /* 0x2B01A692: mov dword ptr [eax + 0xbc], edx */ 13628 edx = MEM32(ecx + 0xC0); /* 0x2B01A698: mov edx, dword ptr [ecx + 0xc0] */ 13629 MEM32(eax + 0xC0) = edx; /* 0x2B01A69E: mov dword ptr [eax + 0xc0], edx */ 13630 edx = MEM32(ecx + 0xC4); /* 0x2B01A6A4: mov edx, dword ptr [ecx + 0xc4] */ 13631 MEM32(eax + 0xC4) = edx; /* 0x2B01A6AA: mov dword ptr [eax + 0xc4], edx */ 13632 edx = MEM32(ecx + 0xC8); /* 0x2B01A6B0: mov edx, dword ptr [ecx + 0xc8] */ 13633 MEM32(eax + 0xC8) = edx; /* 0x2B01A6B6: mov dword ptr [eax + 0xc8], edx */ 13634 edx = MEM32(ecx + 0xCC); /* 0x2B01A6BC: mov edx, dword ptr [ecx + 0xcc] */ 13635 MEM32(eax + 0xCC) = edx; /* 0x2B01A6C2: mov dword ptr [eax + 0xcc], edx */ 13636 edx = MEM32(ecx + 0xD0); /* 0x2B01A6C8: mov edx, dword ptr [ecx + 0xd0] */ 13637 MEM32(eax + 0xD0) = edx; /* 0x2B01A6CE: mov dword ptr [eax + 0xd0], edx */ 13638 edx = MEM32(ecx + 0xD4); /* 0x2B01A6D4: mov edx, dword ptr [ecx + 0xd4] */ 13639 MEM32(eax + 0xD4) = edx; /* 0x2B01A6DA: mov dword ptr [eax + 0xd4], edx */ 13640 edx = MEM32(ecx + 0xD8); /* 0x2B01A6E0: mov edx, dword ptr [ecx + 0xd8] */ 13641 MEM32(eax + 0xD8) = edx; /* 0x2B01A6E6: mov dword ptr [eax + 0xd8], edx */ 13642 ecx = MEM32(ecx + 0xDC); /* 0x2B01A6EC: mov ecx, dword ptr [ecx + 0xdc] */ 13643 MEM32(eax + 0xDC) = ecx; /* 0x2B01A6F2: mov dword ptr [eax + 0xdc], ecx */ 13644 MEM32(eax) = 0x2B0B6404u; /* 0x2B01A6F8: mov dword ptr [eax], 0x2b0b6404 */ 13645 ebp = POP32_VAL(esp); /* 0x2B01A6FE: pop ebp */ 13646 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A6FF: ret 4 */ 13647 RECOMP_REGS_OUT(); 13648 } 13649 13650 void sub_2B01A710(void) { 13651 int _fpu_cmp = 0; 13652 uint32_t _cf = 0; 13653 int _df = 1; 13654 uint32_t _flag_k = FK_NONE; 13655 uint32_t _flag_a = 0, _flag_b = 0; 13656 uint32_t _itail_tgt = 0; 13657 RECOMP_REGS_LOCALS 13658 RECOMP_ENTER(0x2B01A710u); 13659 13660 L_2B01A710: 13661 PUSH32(esp, ebp); /* 0x2B01A710: push ebp */ 13662 ebp = esp; /* 0x2B01A711: mov ebp, esp */ 13663 eax = ecx; /* 0x2B01A713: mov eax, ecx */ 13664 ecx = MEM32(ebp + 0x8); /* 0x2B01A715: mov ecx, dword ptr [ebp + 8] */ 13665 edx = MEM32(ecx + 0x4); /* 0x2B01A718: mov edx, dword ptr [ecx + 4] */ 13666 MEM32(eax + 0x4) = edx; /* 0x2B01A71B: mov dword ptr [eax + 4], edx */ 13667 edx = MEM32(ecx + 0x8); /* 0x2B01A71E: mov edx, dword ptr [ecx + 8] */ 13668 MEM32(eax + 0x8) = edx; /* 0x2B01A721: mov dword ptr [eax + 8], edx */ 13669 edx = MEM32(ecx + 0xC); /* 0x2B01A724: mov edx, dword ptr [ecx + 0xc] */ 13670 MEM32(eax + 0xC) = edx; /* 0x2B01A727: mov dword ptr [eax + 0xc], edx */ 13671 edx = MEM32(ecx + 0x10); /* 0x2B01A72A: mov edx, dword ptr [ecx + 0x10] */ 13672 MEM32(eax + 0x10) = edx; /* 0x2B01A72D: mov dword ptr [eax + 0x10], edx */ 13673 edx = MEM32(ecx + 0x14); /* 0x2B01A730: mov edx, dword ptr [ecx + 0x14] */ 13674 MEM32(eax + 0x14) = edx; /* 0x2B01A733: mov dword ptr [eax + 0x14], edx */ 13675 edx = MEM32(ecx + 0x18); /* 0x2B01A736: mov edx, dword ptr [ecx + 0x18] */ 13676 MEM32(eax + 0x18) = edx; /* 0x2B01A739: mov dword ptr [eax + 0x18], edx */ 13677 edx = MEM32(ecx + 0x1C); /* 0x2B01A73C: mov edx, dword ptr [ecx + 0x1c] */ 13678 MEM32(eax + 0x1C) = edx; /* 0x2B01A73F: mov dword ptr [eax + 0x1c], edx */ 13679 edx = MEM32(ecx + 0x20); /* 0x2B01A742: mov edx, dword ptr [ecx + 0x20] */ 13680 MEM32(eax + 0x20) = edx; /* 0x2B01A745: mov dword ptr [eax + 0x20], edx */ 13681 edx = MEM32(ecx + 0x24); /* 0x2B01A748: mov edx, dword ptr [ecx + 0x24] */ 13682 MEM32(eax + 0x24) = edx; /* 0x2B01A74B: mov dword ptr [eax + 0x24], edx */ 13683 edx = MEM32(ecx + 0x28); /* 0x2B01A74E: mov edx, dword ptr [ecx + 0x28] */ 13684 MEM32(eax + 0x28) = edx; /* 0x2B01A751: mov dword ptr [eax + 0x28], edx */ 13685 edx = MEM32(ecx + 0x2C); /* 0x2B01A754: mov edx, dword ptr [ecx + 0x2c] */ 13686 MEM32(eax + 0x2C) = edx; /* 0x2B01A757: mov dword ptr [eax + 0x2c], edx */ 13687 edx = MEM32(ecx + 0x30); /* 0x2B01A75A: mov edx, dword ptr [ecx + 0x30] */ 13688 MEM32(eax + 0x30) = edx; /* 0x2B01A75D: mov dword ptr [eax + 0x30], edx */ 13689 edx = MEM32(ecx + 0x34); /* 0x2B01A760: mov edx, dword ptr [ecx + 0x34] */ 13690 MEM32(eax + 0x34) = edx; /* 0x2B01A763: mov dword ptr [eax + 0x34], edx */ 13691 edx = MEM32(ecx + 0x38); /* 0x2B01A766: mov edx, dword ptr [ecx + 0x38] */ 13692 MEM32(eax + 0x38) = edx; /* 0x2B01A769: mov dword ptr [eax + 0x38], edx */ 13693 edx = MEM32(ecx + 0x3C); /* 0x2B01A76C: mov edx, dword ptr [ecx + 0x3c] */ 13694 MEM32(eax + 0x3C) = edx; /* 0x2B01A76F: mov dword ptr [eax + 0x3c], edx */ 13695 edx = MEM32(ecx + 0x40); /* 0x2B01A772: mov edx, dword ptr [ecx + 0x40] */ 13696 MEM32(eax + 0x40) = edx; /* 0x2B01A775: mov dword ptr [eax + 0x40], edx */ 13697 edx = MEM32(ecx + 0x44); /* 0x2B01A778: mov edx, dword ptr [ecx + 0x44] */ 13698 MEM32(eax + 0x44) = edx; /* 0x2B01A77B: mov dword ptr [eax + 0x44], edx */ 13699 edx = MEM32(ecx + 0x48); /* 0x2B01A77E: mov edx, dword ptr [ecx + 0x48] */ 13700 MEM32(eax + 0x48) = edx; /* 0x2B01A781: mov dword ptr [eax + 0x48], edx */ 13701 edx = MEM32(ecx + 0x4C); /* 0x2B01A784: mov edx, dword ptr [ecx + 0x4c] */ 13702 MEM32(eax + 0x4C) = edx; /* 0x2B01A787: mov dword ptr [eax + 0x4c], edx */ 13703 edx = MEM32(ecx + 0x50); /* 0x2B01A78A: mov edx, dword ptr [ecx + 0x50] */ 13704 MEM32(eax + 0x50) = edx; /* 0x2B01A78D: mov dword ptr [eax + 0x50], edx */ 13705 edx = MEM32(ecx + 0x54); /* 0x2B01A790: mov edx, dword ptr [ecx + 0x54] */ 13706 MEM32(eax + 0x54) = edx; /* 0x2B01A793: mov dword ptr [eax + 0x54], edx */ 13707 edx = MEM32(ecx + 0x58); /* 0x2B01A796: mov edx, dword ptr [ecx + 0x58] */ 13708 MEM32(eax + 0x58) = edx; /* 0x2B01A799: mov dword ptr [eax + 0x58], edx */ 13709 edx = MEM32(ecx + 0x5C); /* 0x2B01A79C: mov edx, dword ptr [ecx + 0x5c] */ 13710 MEM32(eax + 0x5C) = edx; /* 0x2B01A79F: mov dword ptr [eax + 0x5c], edx */ 13711 edx = MEM32(ecx + 0x60); /* 0x2B01A7A2: mov edx, dword ptr [ecx + 0x60] */ 13712 MEM32(eax + 0x60) = edx; /* 0x2B01A7A5: mov dword ptr [eax + 0x60], edx */ 13713 edx = MEM32(ecx + 0x64); /* 0x2B01A7A8: mov edx, dword ptr [ecx + 0x64] */ 13714 MEM32(eax + 0x64) = edx; /* 0x2B01A7AB: mov dword ptr [eax + 0x64], edx */ 13715 edx = MEM32(ecx + 0x68); /* 0x2B01A7AE: mov edx, dword ptr [ecx + 0x68] */ 13716 MEM32(eax + 0x68) = edx; /* 0x2B01A7B1: mov dword ptr [eax + 0x68], edx */ 13717 edx = MEM32(ecx + 0x6C); /* 0x2B01A7B4: mov edx, dword ptr [ecx + 0x6c] */ 13718 MEM32(eax + 0x6C) = edx; /* 0x2B01A7B7: mov dword ptr [eax + 0x6c], edx */ 13719 edx = MEM32(ecx + 0x70); /* 0x2B01A7BA: mov edx, dword ptr [ecx + 0x70] */ 13720 MEM32(eax + 0x70) = edx; /* 0x2B01A7BD: mov dword ptr [eax + 0x70], edx */ 13721 edx = MEM32(ecx + 0x74); /* 0x2B01A7C0: mov edx, dword ptr [ecx + 0x74] */ 13722 MEM32(eax + 0x74) = edx; /* 0x2B01A7C3: mov dword ptr [eax + 0x74], edx */ 13723 edx = MEM32(ecx + 0x78); /* 0x2B01A7C6: mov edx, dword ptr [ecx + 0x78] */ 13724 MEM32(eax + 0x78) = edx; /* 0x2B01A7C9: mov dword ptr [eax + 0x78], edx */ 13725 edx = MEM32(ecx + 0x7C); /* 0x2B01A7CC: mov edx, dword ptr [ecx + 0x7c] */ 13726 MEM32(eax + 0x7C) = edx; /* 0x2B01A7CF: mov dword ptr [eax + 0x7c], edx */ 13727 edx = MEM32(ecx + 0x80); /* 0x2B01A7D2: mov edx, dword ptr [ecx + 0x80] */ 13728 MEM32(eax + 0x80) = edx; /* 0x2B01A7D8: mov dword ptr [eax + 0x80], edx */ 13729 edx = MEM32(ecx + 0x84); /* 0x2B01A7DE: mov edx, dword ptr [ecx + 0x84] */ 13730 MEM32(eax + 0x84) = edx; /* 0x2B01A7E4: mov dword ptr [eax + 0x84], edx */ 13731 edx = MEM32(ecx + 0x88); /* 0x2B01A7EA: mov edx, dword ptr [ecx + 0x88] */ 13732 MEM32(eax + 0x88) = edx; /* 0x2B01A7F0: mov dword ptr [eax + 0x88], edx */ 13733 edx = MEM32(ecx + 0x8C); /* 0x2B01A7F6: mov edx, dword ptr [ecx + 0x8c] */ 13734 MEM32(eax + 0x8C) = edx; /* 0x2B01A7FC: mov dword ptr [eax + 0x8c], edx */ 13735 edx = MEM32(ecx + 0x90); /* 0x2B01A802: mov edx, dword ptr [ecx + 0x90] */ 13736 MEM32(eax + 0x90) = edx; /* 0x2B01A808: mov dword ptr [eax + 0x90], edx */ 13737 edx = MEM32(ecx + 0x94); /* 0x2B01A80E: mov edx, dword ptr [ecx + 0x94] */ 13738 MEM32(eax + 0x94) = edx; /* 0x2B01A814: mov dword ptr [eax + 0x94], edx */ 13739 edx = MEM32(ecx + 0x98); /* 0x2B01A81A: mov edx, dword ptr [ecx + 0x98] */ 13740 MEM32(eax + 0x98) = edx; /* 0x2B01A820: mov dword ptr [eax + 0x98], edx */ 13741 edx = MEM32(ecx + 0x9C); /* 0x2B01A826: mov edx, dword ptr [ecx + 0x9c] */ 13742 MEM32(eax + 0x9C) = edx; /* 0x2B01A82C: mov dword ptr [eax + 0x9c], edx */ 13743 edx = MEM32(ecx + 0xA0); /* 0x2B01A832: mov edx, dword ptr [ecx + 0xa0] */ 13744 MEM32(eax + 0xA0) = edx; /* 0x2B01A838: mov dword ptr [eax + 0xa0], edx */ 13745 edx = MEM32(ecx + 0xA4); /* 0x2B01A83E: mov edx, dword ptr [ecx + 0xa4] */ 13746 MEM32(eax + 0xA4) = edx; /* 0x2B01A844: mov dword ptr [eax + 0xa4], edx */ 13747 edx = MEM32(ecx + 0xA8); /* 0x2B01A84A: mov edx, dword ptr [ecx + 0xa8] */ 13748 MEM32(eax + 0xA8) = edx; /* 0x2B01A850: mov dword ptr [eax + 0xa8], edx */ 13749 edx = MEM32(ecx + 0xAC); /* 0x2B01A856: mov edx, dword ptr [ecx + 0xac] */ 13750 MEM32(eax + 0xAC) = edx; /* 0x2B01A85C: mov dword ptr [eax + 0xac], edx */ 13751 edx = MEM32(ecx + 0xB0); /* 0x2B01A862: mov edx, dword ptr [ecx + 0xb0] */ 13752 MEM32(eax + 0xB0) = edx; /* 0x2B01A868: mov dword ptr [eax + 0xb0], edx */ 13753 edx = MEM32(ecx + 0xB4); /* 0x2B01A86E: mov edx, dword ptr [ecx + 0xb4] */ 13754 MEM32(eax + 0xB4) = edx; /* 0x2B01A874: mov dword ptr [eax + 0xb4], edx */ 13755 edx = MEM32(ecx + 0xB8); /* 0x2B01A87A: mov edx, dword ptr [ecx + 0xb8] */ 13756 MEM32(eax + 0xB8) = edx; /* 0x2B01A880: mov dword ptr [eax + 0xb8], edx */ 13757 edx = MEM32(ecx + 0xBC); /* 0x2B01A886: mov edx, dword ptr [ecx + 0xbc] */ 13758 MEM32(eax + 0xBC) = edx; /* 0x2B01A88C: mov dword ptr [eax + 0xbc], edx */ 13759 edx = MEM32(ecx + 0xC0); /* 0x2B01A892: mov edx, dword ptr [ecx + 0xc0] */ 13760 MEM32(eax + 0xC0) = edx; /* 0x2B01A898: mov dword ptr [eax + 0xc0], edx */ 13761 edx = MEM32(ecx + 0xC4); /* 0x2B01A89E: mov edx, dword ptr [ecx + 0xc4] */ 13762 MEM32(eax + 0xC4) = edx; /* 0x2B01A8A4: mov dword ptr [eax + 0xc4], edx */ 13763 edx = MEM32(ecx + 0xC8); /* 0x2B01A8AA: mov edx, dword ptr [ecx + 0xc8] */ 13764 MEM32(eax + 0xC8) = edx; /* 0x2B01A8B0: mov dword ptr [eax + 0xc8], edx */ 13765 edx = MEM32(ecx + 0xCC); /* 0x2B01A8B6: mov edx, dword ptr [ecx + 0xcc] */ 13766 MEM32(eax + 0xCC) = edx; /* 0x2B01A8BC: mov dword ptr [eax + 0xcc], edx */ 13767 edx = MEM32(ecx + 0xD0); /* 0x2B01A8C2: mov edx, dword ptr [ecx + 0xd0] */ 13768 MEM32(eax + 0xD0) = edx; /* 0x2B01A8C8: mov dword ptr [eax + 0xd0], edx */ 13769 edx = MEM32(ecx + 0xD4); /* 0x2B01A8CE: mov edx, dword ptr [ecx + 0xd4] */ 13770 MEM32(eax + 0xD4) = edx; /* 0x2B01A8D4: mov dword ptr [eax + 0xd4], edx */ 13771 edx = MEM32(ecx + 0xD8); /* 0x2B01A8DA: mov edx, dword ptr [ecx + 0xd8] */ 13772 MEM32(eax + 0xD8) = edx; /* 0x2B01A8E0: mov dword ptr [eax + 0xd8], edx */ 13773 ecx = MEM32(ecx + 0xDC); /* 0x2B01A8E6: mov ecx, dword ptr [ecx + 0xdc] */ 13774 MEM32(eax + 0xDC) = ecx; /* 0x2B01A8EC: mov dword ptr [eax + 0xdc], ecx */ 13775 ebp = POP32_VAL(esp); /* 0x2B01A8F2: pop ebp */ 13776 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A8F3: ret 4 */ 13777 RECOMP_REGS_OUT(); 13778 } 13779 13780 void sub_2B01A900(void) { 13781 int _fpu_cmp = 0; 13782 uint32_t _cf = 0; 13783 int _df = 1; 13784 uint32_t _flag_k = FK_NONE; 13785 uint32_t _flag_a = 0, _flag_b = 0; 13786 uint32_t _itail_tgt = 0; 13787 RECOMP_REGS_LOCALS 13788 RECOMP_ENTER(0x2B01A900u); 13789 13790 L_2B01A900: 13791 PUSH32(esp, ebp); /* 0x2B01A900: push ebp */ 13792 ebp = esp; /* 0x2B01A901: mov ebp, esp */ 13793 PUSH32(esp, ebx); /* 0x2B01A903: push ebx */ 13794 SET_LO8(ebx, MEM8(ebp + 0x8)); /* 0x2B01A904: mov bl, byte ptr [ebp + 8] */ 13795 /* test LO8(ebx), 2 */ /* 0x2B01A907: test bl, 2 */ 13796 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 13797 _cf = 0; 13798 _flag_k = FK_NARROW(FK_TEST, 24); 13799 PUSH32(esp, esi); /* 0x2B01A90A: push esi */ 13800 esi = ecx; /* 0x2B01A90B: mov esi, ecx */ 13801 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A93E; /* 0x2B01A90D: je 0x2b01a93e */ 13802 L_2B01A90F: 13803 eax = MEM32(esi + (-0x4)); /* 0x2B01A90F: mov eax, dword ptr [esi - 4] */ 13804 PUSH32(esp, edi); /* 0x2B01A912: push edi */ 13805 PUSH32(esp, 0x2B01BD00u); /* 0x2B01A913: push 0x2b01bd00 */ 13806 edi = esi + (-0x4); /* 0x2B01A918: lea edi, [esi - 4] */ 13807 PUSH32(esp, eax); /* 0x2B01A91B: push eax */ 13808 PUSH32(esp, 0xE0u); /* 0x2B01A91C: push 0xe0 */ 13809 PUSH32(esp, esi); /* 0x2B01A921: push esi */ 13810 RECOMP_ICALL(0x2B0AB27Fu); /* 0x2B01A922: call 0x2b0ab27f */ /* not lifted */ 13811 RECOMP_FLAGS_IN(); 13812 /* test LO8(ebx), 1 */ /* 0x2B01A927: test bl, 1 */ 13813 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 13814 _cf = 0; 13815 _flag_k = FK_NARROW(FK_TEST, 24); 13816 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A935; /* 0x2B01A92A: je 0x2b01a935 */ 13817 L_2B01A92C: 13818 PUSH32(esp, edi); /* 0x2B01A92C: push edi */ 13819 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A92D: call 0x2b0ab1ba */ /* not lifted */ 13820 RECOMP_FLAGS_IN(); 13821 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13822 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13823 esp = esp + 4; /* 0x2B01A932: add esp, 4 */ 13824 _flag_k = FK_ADD; 13825 L_2B01A935: 13826 eax = edi; /* 0x2B01A935: mov eax, edi */ 13827 edi = POP32_VAL(esp); /* 0x2B01A937: pop edi */ 13828 esi = POP32_VAL(esp); /* 0x2B01A938: pop esi */ 13829 ebx = POP32_VAL(esp); /* 0x2B01A939: pop ebx */ 13830 ebp = POP32_VAL(esp); /* 0x2B01A93A: pop ebp */ 13831 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A93B: ret 4 */ 13832 L_2B01A93E: 13833 ecx = esi; /* 0x2B01A93E: mov ecx, esi */ 13834 RECOMP_ICALL(0x2B01BD00u); /* 0x2B01A940: call 0x2b01bd00 */ /* not lifted */ 13835 RECOMP_FLAGS_IN(); 13836 /* test LO8(ebx), 1 */ /* 0x2B01A945: test bl, 1 */ 13837 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 13838 _cf = 0; 13839 _flag_k = FK_NARROW(FK_TEST, 24); 13840 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A953; /* 0x2B01A948: je 0x2b01a953 */ 13841 L_2B01A94A: 13842 PUSH32(esp, esi); /* 0x2B01A94A: push esi */ 13843 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01A94B: call 0x2b0ab1ba */ /* not lifted */ 13844 RECOMP_FLAGS_IN(); 13845 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13846 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13847 esp = esp + 4; /* 0x2B01A950: add esp, 4 */ 13848 _flag_k = FK_ADD; 13849 L_2B01A953: 13850 eax = esi; /* 0x2B01A953: mov eax, esi */ 13851 esi = POP32_VAL(esp); /* 0x2B01A955: pop esi */ 13852 ebx = POP32_VAL(esp); /* 0x2B01A956: pop ebx */ 13853 ebp = POP32_VAL(esp); /* 0x2B01A957: pop ebp */ 13854 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01A958: ret 4 */ 13855 RECOMP_REGS_OUT(); 13856 } 13857 13858 void sub_2B01A960(void) { 13859 int _fpu_cmp = 0; 13860 uint32_t _cf = 0; 13861 int _df = 1; 13862 uint32_t _flag_k = FK_NONE; 13863 uint32_t _flag_a = 0, _flag_b = 0; 13864 uint32_t _itail_tgt = 0; 13865 RECOMP_REGS_LOCALS 13866 RECOMP_ENTER(0x2B01A960u); 13867 13868 L_2B01A960: 13869 MEM32(0x2B0EE7CC) = 0; /* 0x2B01A960: mov dword ptr [0x2b0ee7cc], 0 */ 13870 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01A96A: ret */ 13871 RECOMP_REGS_OUT(); 13872 } 13873 13874 void sub_2B01A970(void) { 13875 int _fpu_cmp = 0; 13876 uint32_t _cf = 0; 13877 int _df = 1; 13878 uint32_t _flag_k = FK_NONE; 13879 uint32_t _flag_a = 0, _flag_b = 0; 13880 uint32_t _itail_tgt = 0; 13881 RECOMP_REGS_LOCALS 13882 RECOMP_ENTER(0x2B01A970u); 13883 13884 L_2B01A970: 13885 PUSH32(esp, ebp); /* 0x2B01A970: push ebp */ 13886 ebp = esp; /* 0x2B01A971: mov ebp, esp */ 13887 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01A973: push -1 */ 13888 PUSH32(esp, 0x2B0ACF7Bu); /* 0x2B01A975: push 0x2b0acf7b */ 13889 eax = MEM32(FS_BASE + (0)); /* 0x2B01A97A: mov eax, dword ptr fs:[0] */ 13890 PUSH32(esp, eax); /* 0x2B01A980: push eax */ 13891 MEM32(FS_BASE + (0)) = esp; /* 0x2B01A981: mov dword ptr fs:[0], esp */ 13892 PUSH32(esp, ecx); /* 0x2B01A988: push ecx */ 13893 eax = MEM32(0x2B0EE7CC); /* 0x2B01A989: mov eax, dword ptr [0x2b0ee7cc] */ 13894 /* test eax, eax */ /* 0x2B01A98E: test eax, eax */ 13895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13896 _cf = 0; 13897 _flag_k = FK_TEST; 13898 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01A9CB; /* 0x2B01A990: jne 0x2b01a9cb */ 13899 L_2B01A992: 13900 PUSH32(esp, 1); /* 0x2B01A992: push 1 */ 13901 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01A994: call 0x2b0ab212 */ /* not lifted */ 13902 RECOMP_FLAGS_IN(); 13903 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13904 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13905 esp = esp + 4; /* 0x2B01A999: add esp, 4 */ 13906 _flag_k = FK_ADD; 13907 MEM32(ebp + (-0x10)) = eax; /* 0x2B01A99C: mov dword ptr [ebp - 0x10], eax */ 13908 /* test eax, eax */ /* 0x2B01A99F: test eax, eax */ 13909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13910 _cf = 0; 13911 _flag_k = FK_TEST; 13912 MEM32(ebp + (-0x4)) = 0; /* 0x2B01A9A1: mov dword ptr [ebp - 4], 0 */ 13913 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01A9C4; /* 0x2B01A9A8: je 0x2b01a9c4 */ 13914 L_2B01A9AA: 13915 ecx = eax; /* 0x2B01A9AA: mov ecx, eax */ 13916 RECOMP_ICALL(0x2B02D550u); /* 0x2B01A9AC: call 0x2b02d550 */ /* not lifted */ 13917 RECOMP_FLAGS_IN(); 13918 MEM32(0x2B0EE7CC) = eax; /* 0x2B01A9B1: mov dword ptr [0x2b0ee7cc], eax */ 13919 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A9B6: mov ecx, dword ptr [ebp - 0xc] */ 13920 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01A9B9: mov dword ptr fs:[0], ecx */ 13921 esp = ebp; /* 0x2B01A9C0: mov esp, ebp */ 13922 ebp = POP32_VAL(esp); /* 0x2B01A9C2: pop ebp */ 13923 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01A9C3: ret */ 13924 L_2B01A9C4: 13925 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 13926 eax = 0; /* 0x2B01A9C4: xor eax, eax */ 13927 _cf = 0; 13928 _flag_k = FK_TEST; 13929 MEM32(0x2B0EE7CC) = eax; /* 0x2B01A9C6: mov dword ptr [0x2b0ee7cc], eax */ 13930 L_2B01A9CB: 13931 ecx = MEM32(ebp + (-0xC)); /* 0x2B01A9CB: mov ecx, dword ptr [ebp - 0xc] */ 13932 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01A9CE: mov dword ptr fs:[0], ecx */ 13933 esp = ebp; /* 0x2B01A9D5: mov esp, ebp */ 13934 ebp = POP32_VAL(esp); /* 0x2B01A9D7: pop ebp */ 13935 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01A9D8: ret */ 13936 RECOMP_REGS_OUT(); 13937 } 13938 13939 void sub_2B01A9E0(void) { 13940 int _fpu_cmp = 0; 13941 uint32_t _cf = 0; 13942 int _df = 1; 13943 uint32_t _flag_k = FK_NONE; 13944 uint32_t _flag_a = 0, _flag_b = 0; 13945 uint32_t _itail_tgt = 0; 13946 RECOMP_REGS_LOCALS 13947 RECOMP_ENTER(0x2B01A9E0u); 13948 13949 L_2B01A9E0: 13950 eax = MEM32(0x2B0EE7CC); /* 0x2B01A9E0: mov eax, dword ptr [0x2b0ee7cc] */ 13951 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01A9E5: ret */ 13952 RECOMP_REGS_OUT(); 13953 } 13954 13955 void sub_2B01A9F0(void) { 13956 int _fpu_cmp = 0; 13957 uint32_t _cf = 0; 13958 int _df = 1; 13959 uint32_t _flag_k = FK_NONE; 13960 uint32_t _flag_a = 0, _flag_b = 0; 13961 uint32_t _itail_tgt = 0; 13962 RECOMP_REGS_LOCALS 13963 RECOMP_ENTER(0x2B01A9F0u); 13964 13965 L_2B01A9F0: 13966 eax = MEM32(0x2B0EE800); /* 0x2B01A9F0: mov eax, dword ptr [0x2b0ee800] */ 13967 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01A9F5: ret */ 13968 RECOMP_REGS_OUT(); 13969 } 13970 13971 void sub_2B01AA00(void) { 13972 int _fpu_cmp = 0; 13973 uint32_t _cf = 0; 13974 int _df = 1; 13975 uint32_t _flag_k = FK_NONE; 13976 uint32_t _flag_a = 0, _flag_b = 0; 13977 uint32_t _itail_tgt = 0; 13978 RECOMP_REGS_LOCALS 13979 RECOMP_ENTER(0x2B01AA00u); 13980 13981 L_2B01AA00: 13982 eax = 0x2B0EE804u; /* 0x2B01AA00: mov eax, 0x2b0ee804 */ 13983 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01AA05: ret */ 13984 RECOMP_REGS_OUT(); 13985 } 13986 13987 void sub_2B01AA10(void) { 13988 int _fpu_cmp = 0; 13989 uint32_t _cf = 0; 13990 int _df = 1; 13991 uint32_t _flag_k = FK_NONE; 13992 uint32_t _flag_a = 0, _flag_b = 0; 13993 uint32_t _itail_tgt = 0; 13994 RECOMP_REGS_LOCALS 13995 RECOMP_ENTER(0x2B01AA10u); 13996 13997 L_2B01AA10: 13998 fp_push(*(float*)&MEM32(0x2B0EE7C8)); /* 0x2B01AA10: fld dword ptr [0x2b0ee7c8] */ 13999 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01AA16: ret */ 14000 RECOMP_REGS_OUT(); 14001 } 14002 14003 void sub_2B01AA20(void) { 14004 int _fpu_cmp = 0; 14005 uint32_t _cf = 0; 14006 int _df = 1; 14007 uint32_t _flag_k = FK_NONE; 14008 uint32_t _flag_a = 0, _flag_b = 0; 14009 uint32_t _itail_tgt = 0; 14010 RECOMP_REGS_LOCALS 14011 RECOMP_ENTER(0x2B01AA20u); 14012 14013 L_2B01AA20: 14014 PUSH32(esp, ebp); /* 0x2B01AA20: push ebp */ 14015 ebp = esp; /* 0x2B01AA21: mov ebp, esp */ 14016 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01AA23: push -1 */ 14017 PUSH32(esp, 0x2B0AD0F8u); /* 0x2B01AA25: push 0x2b0ad0f8 */ 14018 eax = MEM32(FS_BASE + (0)); /* 0x2B01AA2A: mov eax, dword ptr fs:[0] */ 14019 PUSH32(esp, eax); /* 0x2B01AA30: push eax */ 14020 MEM32(FS_BASE + (0)) = esp; /* 0x2B01AA31: mov dword ptr fs:[0], esp */ 14021 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x68u); 14022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14023 esp = esp - 0x68u; /* 0x2B01AA38: sub esp, 0x68 */ 14024 _flag_k = FK_CMP; 14025 eax = MEM32(ebp + 0xC); /* 0x2B01AA3B: mov eax, dword ptr [ebp + 0xc] */ 14026 PUSH32(esp, ebx); /* 0x2B01AA3E: push ebx */ 14027 PUSH32(esp, esi); /* 0x2B01AA3F: push esi */ 14028 PUSH32(esp, edi); /* 0x2B01AA40: push edi */ 14029 ebx = ecx; /* 0x2B01AA41: mov ebx, ecx */ 14030 ecx = MEM32(ebp + 0x8); /* 0x2B01AA43: mov ecx, dword ptr [ebp + 8] */ 14031 PUSH32(esp, eax); /* 0x2B01AA46: push eax */ 14032 PUSH32(esp, ecx); /* 0x2B01AA47: push ecx */ 14033 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14034 edi = 0; /* 0x2B01AA48: xor edi, edi */ 14035 _cf = 0; 14036 _flag_k = FK_TEST; 14037 PUSH32(esp, 0x2B0E2DACu); /* 0x2B01AA4A: push 0x2b0e2dac */ 14038 ecx = ebx; /* 0x2B01AA4F: mov ecx, ebx */ 14039 MEM32(ebp + (-0x18)) = ebx; /* 0x2B01AA51: mov dword ptr [ebp - 0x18], ebx */ 14040 MEM32(ebp + (-0x10)) = edi; /* 0x2B01AA54: mov dword ptr [ebp - 0x10], edi */ 14041 RECOMP_ICALL(0x2B037910u); /* 0x2B01AA57: call 0x2b037910 */ /* not lifted */ 14042 RECOMP_FLAGS_IN(); 14043 fp_push(*(float*)&MEM32(ebx + 0x54)); /* 0x2B01AA5C: fld dword ptr [ebx + 0x54] */ 14044 _st[0] *= *(double*)ADDR(0x2B0B64D0); /* 0x2B01AA5F: fmul qword ptr [0x2b0b64d0] */ 14045 MEM32(ebx) = 0x2B0B6404u; /* 0x2B01AA65: mov dword ptr [ebx], 0x2b0b6404 */ 14046 MEM32(ebp + (-0x4)) = edi; /* 0x2B01AA6B: mov dword ptr [ebp - 4], edi */ 14047 MEM32(ebx + 0x40) = 0x3EAu; /* 0x2B01AA6E: mov dword ptr [ebx + 0x40], 0x3ea */ 14048 MEM32(ebx + 0x7C) = edi; /* 0x2B01AA75: mov dword ptr [ebx + 0x7c], edi */ 14049 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AA78: call 0x2b0ab220 */ /* not lifted */ 14050 RECOMP_FLAGS_IN(); 14051 fp_push(*(float*)&MEM32(ebx + 0x58)); /* 0x2B01AA7D: fld dword ptr [ebx + 0x58] */ 14052 _st[0] *= *(double*)ADDR(0x2B0B64C8); /* 0x2B01AA80: fmul qword ptr [0x2b0b64c8] */ 14053 MEM32(ebp + (-0x20)) = eax; /* 0x2B01AA86: mov dword ptr [ebp - 0x20], eax */ 14054 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AA89: call 0x2b0ab220 */ /* not lifted */ 14055 RECOMP_FLAGS_IN(); 14056 edx = ebp + (-0x20); /* 0x2B01AA8E: lea edx, [ebp - 0x20] */ 14057 PUSH32(esp, edx); /* 0x2B01AA91: push edx */ 14058 ecx = ebx; /* 0x2B01AA92: mov ecx, ebx */ 14059 MEM32(ebp + (-0x1C)) = eax; /* 0x2B01AA94: mov dword ptr [ebp - 0x1c], eax */ 14060 RECOMP_ICALL(0x2B0385C0u); /* 0x2B01AA97: call 0x2b0385c0 */ /* not lifted */ 14061 RECOMP_FLAGS_IN(); 14062 fp_push(*(float*)&MEM32(ebx + 0x54)); /* 0x2B01AA9C: fld dword ptr [ebx + 0x54] */ 14063 _st[0] *= *(double*)ADDR(0x2B0B64C0); /* 0x2B01AA9F: fmul qword ptr [0x2b0b64c0] */ 14064 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AAA5: call 0x2b0ab220 */ /* not lifted */ 14065 RECOMP_FLAGS_IN(); 14066 fp_push(*(float*)&MEM32(ebx + 0x58)); /* 0x2B01AAAA: fld dword ptr [ebx + 0x58] */ 14067 _st[0] *= *(double*)ADDR(0x2B0B64B8); /* 0x2B01AAAD: fmul qword ptr [0x2b0b64b8] */ 14068 ecx = eax; /* 0x2B01AAB3: mov ecx, eax */ 14069 eax = MEM32(ebp + (-0x20)); /* 0x2B01AAB5: mov eax, dword ptr [ebp - 0x20] */ 14070 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01AAB8: cdq */ 14071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14073 eax = eax - edx; /* 0x2B01AAB9: sub eax, edx */ 14074 _flag_k = FK_CMP; 14075 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01AABB: sar eax, 1 */ 14076 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14077 eax = (uint32_t)((int32_t)eax >> 1u); 14078 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14079 _cf = (eax) != 0; 14080 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01AABD: neg eax */ 14081 _flag_k = FK_CMP; 14082 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14084 eax = eax - ecx; /* 0x2B01AABF: sub eax, ecx */ 14085 _flag_k = FK_CMP; 14086 MEM32(ebp + (-0x28)) = eax; /* 0x2B01AAC1: mov dword ptr [ebp - 0x28], eax */ 14087 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AAC4: call 0x2b0ab220 */ /* not lifted */ 14088 RECOMP_FLAGS_IN(); 14089 ecx = eax; /* 0x2B01AAC9: mov ecx, eax */ 14090 eax = MEM32(ebp + (-0x1C)); /* 0x2B01AACB: mov eax, dword ptr [ebp - 0x1c] */ 14091 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01AACE: cdq */ 14092 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14094 eax = eax - edx; /* 0x2B01AACF: sub eax, edx */ 14095 _flag_k = FK_CMP; 14096 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01AAD1: sar eax, 1 */ 14097 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14098 eax = (uint32_t)((int32_t)eax >> 1u); 14099 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14100 _cf = (eax) != 0; 14101 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01AAD3: neg eax */ 14102 _flag_k = FK_CMP; 14103 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14105 eax = eax - ecx; /* 0x2B01AAD5: sub eax, ecx */ 14106 _flag_k = FK_CMP; 14107 edx = ebp + (-0x28); /* 0x2B01AAD7: lea edx, [ebp - 0x28] */ 14108 PUSH32(esp, edx); /* 0x2B01AADA: push edx */ 14109 ecx = ebx; /* 0x2B01AADB: mov ecx, ebx */ 14110 MEM32(ebp + (-0x24)) = eax; /* 0x2B01AADD: mov dword ptr [ebp - 0x24], eax */ 14111 RECOMP_ICALL(0x2B038730u); /* 0x2B01AAE0: call 0x2b038730 */ /* not lifted */ 14112 RECOMP_FLAGS_IN(); 14113 PUSH32(esp, 8); /* 0x2B01AAE5: push 8 */ 14114 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01AAE7: call 0x2b0ab212 */ /* not lifted */ 14115 RECOMP_FLAGS_IN(); 14116 esi = eax; /* 0x2B01AAEC: mov esi, eax */ 14117 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14118 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14119 esp = esp + 4; /* 0x2B01AAEE: add esp, 4 */ 14120 _flag_k = FK_ADD; 14121 MEM32(ebp + 0x8) = esi; /* 0x2B01AAF1: mov dword ptr [ebp + 8], esi */ 14122 /* cmp esi, edi */ /* 0x2B01AAF4: cmp esi, edi */ 14123 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14125 _flag_k = FK_CMP; 14126 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01AAF6: mov byte ptr [ebp - 4], 1 */ 14127 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01AB86; /* 0x2B01AAFA: je 0x2b01ab86 */ 14128 L_2B01AB00: 14129 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B01AB00: mov al, byte ptr [ebp + 0xf] */ 14130 PUSH32(esp, edi); /* 0x2B01AB03: push edi */ 14131 ecx = ebp + (-0x44); /* 0x2B01AB04: lea ecx, [ebp - 0x44] */ 14132 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(eax)); /* 0x2B01AB07: mov byte ptr [ebp - 0x44], al */ 14133 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01AB0A: call dword ptr [0x2b0b514c] */ 14134 RECOMP_FLAGS_IN(); 14135 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14136 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01AB10: or ecx, 0xffffffff */ 14137 _cf = 0; 14138 _flag_k = FK_TEST; 14139 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14140 eax = 0; /* 0x2B01AB13: xor eax, eax */ 14141 _cf = 0; 14142 _flag_k = FK_TEST; 14143 edi = 0x2B0E2D9Cu; /* 0x2B01AB15: mov edi, 0x2b0e2d9c */ 14144 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; } /* 0x2B01AB1A: repne scasb al, byte ptr es:[edi] */ 14145 ecx = ~ecx; /* 0x2B01AB1C: not ecx */ 14146 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14147 ecx = ecx - 1; /* 0x2B01AB1E: dec ecx */ 14148 _flag_k = FK_DEC; 14149 edi = ecx; /* 0x2B01AB1F: mov edi, ecx */ 14150 PUSH32(esp, 1); /* 0x2B01AB21: push 1 */ 14151 PUSH32(esp, edi); /* 0x2B01AB23: push edi */ 14152 ecx = ebp + (-0x44); /* 0x2B01AB24: lea ecx, [ebp - 0x44] */ 14153 MEM32(ebp + 0xC) = edi; /* 0x2B01AB27: mov dword ptr [ebp + 0xc], edi */ 14154 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01AB2A: call dword ptr [0x2b0b5154] */ 14155 RECOMP_FLAGS_IN(); 14156 /* test LO8(eax), LO8(eax) */ /* 0x2B01AB30: test al, al */ 14157 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14158 _cf = 0; 14159 _flag_k = FK_NARROW(FK_TEST, 24); 14160 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01AB5B; /* 0x2B01AB32: je 0x2b01ab5b */ 14161 L_2B01AB34: 14162 ecx = edi; /* 0x2B01AB34: mov ecx, edi */ 14163 edi = MEM32(ebp + (-0x40)); /* 0x2B01AB36: mov edi, dword ptr [ebp - 0x40] */ 14164 edx = ecx; /* 0x2B01AB39: mov edx, ecx */ 14165 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01AB3B: shr ecx, 2 */ 14166 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14167 ecx = ecx >> 2u; /* 0x2B01AB3B: shr ecx, 2 */ 14168 esi = 0x2B0E2D9Cu; /* 0x2B01AB3E: mov esi, 0x2b0e2d9c */ 14169 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01AB43: 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; } 14170 ecx = edx; /* 0x2B01AB45: mov ecx, edx */ 14171 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14172 ecx = ecx & 3; /* 0x2B01AB47: and ecx, 3 */ 14173 _cf = 0; 14174 _flag_k = FK_TEST; 14175 eax = edx; /* 0x2B01AB4A: mov eax, edx */ 14176 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01AB4C: 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; } 14177 PUSH32(esp, eax); /* 0x2B01AB4E: push eax */ 14178 ecx = ebp + (-0x44); /* 0x2B01AB4F: lea ecx, [ebp - 0x44] */ 14179 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01AB52: call dword ptr [0x2b0b5150] */ 14180 RECOMP_FLAGS_IN(); 14181 esi = MEM32(ebp + 0x8); /* 0x2B01AB58: mov esi, dword ptr [ebp + 8] */ 14182 L_2B01AB5B: 14183 MEM32(ebp + (-0x34)) = 0; /* 0x2B01AB5B: mov dword ptr [ebp - 0x34], 0 */ 14184 MEM32(ebp + (-0x10)) = 1; /* 0x2B01AB62: mov dword ptr [ebp - 0x10], 1 */ 14185 ecx = MEM32(ebx + 0x38); /* 0x2B01AB69: mov ecx, dword ptr [ebx + 0x38] */ 14186 edx = MEM32(ebx + 0x48); /* 0x2B01AB6C: mov edx, dword ptr [ebx + 0x48] */ 14187 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14188 ecx = ecx + 1; /* 0x2B01AB6F: inc ecx */ 14189 _flag_k = FK_INC; 14190 PUSH32(esp, ecx); /* 0x2B01AB70: push ecx */ 14191 PUSH32(esp, edx); /* 0x2B01AB71: push edx */ 14192 eax = ebp + (-0x44); /* 0x2B01AB72: lea eax, [ebp - 0x44] */ 14193 PUSH32(esp, eax); /* 0x2B01AB75: push eax */ 14194 ecx = esi; /* 0x2B01AB76: mov ecx, esi */ 14195 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01AB78: mov byte ptr [ebp - 4], 2 */ 14196 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B01AB7C: call dword ptr [0x2b0b5b20] */ 14197 RECOMP_FLAGS_IN(); 14198 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14199 edi = 0; /* 0x2B01AB82: xor edi, edi */ 14200 _cf = 0; 14201 _flag_k = FK_TEST; 14202 goto L_2B01AB88; /* 0x2B01AB84: jmp 0x2b01ab88 */ 14203 L_2B01AB86: 14204 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14205 eax = 0; /* 0x2B01AB86: xor eax, eax */ 14206 _cf = 0; 14207 _flag_k = FK_TEST; 14208 L_2B01AB88: 14209 MEM32(ebx + 0x80) = eax; /* 0x2B01AB88: mov dword ptr [ebx + 0x80], eax */ 14210 /* test MEM8(ebp + (-0x10)), 1 */ /* 0x2B01AB8E: test byte ptr [ebp - 0x10], 1 */ 14211 _flag_a = (uint32_t)(MEM8(ebp + (-0x10))) << 24; _flag_b = (uint32_t)(1) << 24; 14212 _cf = 0; 14213 _flag_k = FK_NARROW(FK_TEST, 24); 14214 MEM32(ebp + (-0x4)) = edi; /* 0x2B01AB92: mov dword ptr [ebp - 4], edi */ 14215 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01ABDA; /* 0x2B01AB95: je 0x2b01abda */ 14216 L_2B01AB97: 14217 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(0xFFFFFFFEu); 14218 MEM32(ebp + (-0x10)) = MEM32(ebp + (-0x10)) & 0xFFFFFFFEu; /* 0x2B01AB97: and dword ptr [ebp - 0x10], 0xfffffffe */ 14219 _cf = 0; 14220 _flag_k = FK_TEST; 14221 eax = MEM32(ebp + (-0x34)); /* 0x2B01AB9B: mov eax, dword ptr [ebp - 0x34] */ 14222 /* cmp eax, edi */ /* 0x2B01AB9E: cmp eax, edi */ 14223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14225 _flag_k = FK_CMP; 14226 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01ABA0: mov byte ptr [ebp - 4], 4 */ 14227 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01ABCB; /* 0x2B01ABA4: je 0x2b01abcb */ 14228 L_2B01ABA6: 14229 edx = MEM32(eax + 0x2C); /* 0x2B01ABA6: mov edx, dword ptr [eax + 0x2c] */ 14230 esi = eax; /* 0x2B01ABA9: mov esi, eax */ 14231 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 14232 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14233 eax = eax + 0x2Cu; /* 0x2B01ABAB: add eax, 0x2c */ 14234 _flag_k = FK_ADD; 14235 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 14236 edx = edx - 1; /* 0x2B01ABAE: dec edx */ 14237 _flag_k = FK_DEC; 14238 ecx = edx; /* 0x2B01ABAF: mov ecx, edx */ 14239 /* cmp ecx, edi */ /* 0x2B01ABB1: cmp ecx, edi */ 14240 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 14241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14242 _flag_k = FK_CMP; 14243 MEM32(eax) = edx; /* 0x2B01ABB3: mov dword ptr [eax], edx */ 14244 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01ABCB; /* 0x2B01ABB5: jne 0x2b01abcb */ 14245 L_2B01ABB7: 14246 /* cmp esi, edi */ /* 0x2B01ABB7: cmp esi, edi */ 14247 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14249 _flag_k = FK_CMP; 14250 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01ABCB; /* 0x2B01ABB9: je 0x2b01abcb */ 14251 L_2B01ABBB: 14252 ecx = esi; /* 0x2B01ABBB: mov ecx, esi */ 14253 RECOMP_ICALL(0x2B005B40u); /* 0x2B01ABBD: call 0x2b005b40 */ /* not lifted */ 14254 RECOMP_FLAGS_IN(); 14255 PUSH32(esp, esi); /* 0x2B01ABC2: push esi */ 14256 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01ABC3: call 0x2b0ab1ba */ /* not lifted */ 14257 RECOMP_FLAGS_IN(); 14258 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14259 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14260 esp = esp + 4; /* 0x2B01ABC8: add esp, 4 */ 14261 _flag_k = FK_ADD; 14262 L_2B01ABCB: 14263 PUSH32(esp, 1); /* 0x2B01ABCB: push 1 */ 14264 ecx = ebp + (-0x44); /* 0x2B01ABCD: lea ecx, [ebp - 0x44] */ 14265 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01ABD0: mov byte ptr [ebp - 4], 0 */ 14266 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01ABD4: call dword ptr [0x2b0b514c] */ 14267 RECOMP_FLAGS_IN(); 14268 L_2B01ABDA: 14269 ecx = MEM32(ebx + 0x80); /* 0x2B01ABDA: mov ecx, dword ptr [ebx + 0x80] */ 14270 ecx = MEM32(ecx + 0x4); /* 0x2B01ABE0: mov ecx, dword ptr [ecx + 4] */ 14271 PUSH32(esp, 1); /* 0x2B01ABE3: push 1 */ 14272 RECOMP_ICALL(MEM32(0x2B0B5B1C)); /* 0x2B01ABE5: call dword ptr [0x2b0b5b1c] */ 14273 RECOMP_FLAGS_IN(); 14274 edx = MEM32(ebx + 0x80); /* 0x2B01ABEB: mov edx, dword ptr [ebx + 0x80] */ 14275 ecx = MEM32(edx + 0x4); /* 0x2B01ABF1: mov ecx, dword ptr [edx + 4] */ 14276 PUSH32(esp, 0x44400000u); /* 0x2B01ABF4: push 0x44400000 */ 14277 PUSH32(esp, 0x44800000u); /* 0x2B01ABF9: push 0x44800000 */ 14278 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01ABFE: call dword ptr [0x2b0b5b18] */ 14279 RECOMP_FLAGS_IN(); 14280 eax = MEM32(ebx + 0x80); /* 0x2B01AC04: mov eax, dword ptr [ebx + 0x80] */ 14281 ecx = MEM32(eax + 0x4); /* 0x2B01AC0A: mov ecx, dword ptr [eax + 4] */ 14282 PUSH32(esp, 0x3E4CCCCDu); /* 0x2B01AC0D: push 0x3e4ccccd */ 14283 PUSH32(esp, 0x3F4A3D71u); /* 0x2B01AC12: push 0x3f4a3d71 */ 14284 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01AC17: call dword ptr [0x2b0b5b14] */ 14285 RECOMP_FLAGS_IN(); 14286 PUSH32(esp, 0x14u); /* 0x2B01AC1D: push 0x14 */ 14287 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01AC1F: call 0x2b0ab212 */ /* not lifted */ 14288 RECOMP_FLAGS_IN(); 14289 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14290 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14291 esp = esp + 4; /* 0x2B01AC24: add esp, 4 */ 14292 _flag_k = FK_ADD; 14293 MEM32(ebp + 0xC) = eax; /* 0x2B01AC27: mov dword ptr [ebp + 0xc], eax */ 14294 /* cmp eax, edi */ /* 0x2B01AC2A: cmp eax, edi */ 14295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14297 _flag_k = FK_CMP; 14298 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B01AC2C: mov byte ptr [ebp - 4], 5 */ 14299 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01AC40; /* 0x2B01AC30: je 0x2b01ac40 */ 14300 L_2B01AC32: 14301 ecx = MEM32(ebx + 0x38); /* 0x2B01AC32: mov ecx, dword ptr [ebx + 0x38] */ 14302 PUSH32(esp, ecx); /* 0x2B01AC35: push ecx */ 14303 ecx = eax; /* 0x2B01AC36: mov ecx, eax */ 14304 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B01AC38: call dword ptr [0x2b0b5b10] */ 14305 RECOMP_FLAGS_IN(); 14306 goto L_2B01AC42; /* 0x2B01AC3E: jmp 0x2b01ac42 */ 14307 L_2B01AC40: 14308 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14309 eax = 0; /* 0x2B01AC40: xor eax, eax */ 14310 _cf = 0; 14311 _flag_k = FK_TEST; 14312 L_2B01AC42: 14313 PUSH32(esp, 0x006666AAu); /* 0x2B01AC42: push 0x6666aa */ 14314 ecx = eax; /* 0x2B01AC47: mov ecx, eax */ 14315 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01AC49: mov byte ptr [ebp - 4], 0 */ 14316 MEM32(ebx + 0x84) = eax; /* 0x2B01AC4D: mov dword ptr [ebx + 0x84], eax */ 14317 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B01AC53: call dword ptr [0x2b0b5b0c] */ 14318 RECOMP_FLAGS_IN(); 14319 ecx = MEM32(ebx + 0x84); /* 0x2B01AC59: mov ecx, dword ptr [ebx + 0x84] */ 14320 PUSH32(esp, 0xB4u); /* 0x2B01AC5F: push 0xb4 */ 14321 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B01AC64: call dword ptr [0x2b0b5b08] */ 14322 RECOMP_FLAGS_IN(); 14323 edi = MEM32(ebx + 0x20); /* 0x2B01AC6A: mov edi, dword ptr [ebx + 0x20] */ 14324 eax = MEM32(edi + 0x4); /* 0x2B01AC6D: mov eax, dword ptr [edi + 4] */ 14325 edx = MEM32(eax + 0x34); /* 0x2B01AC70: mov edx, dword ptr [eax + 0x34] */ 14326 MEM32(ebp + 0xC) = edx; /* 0x2B01AC73: mov dword ptr [ebp + 0xc], edx */ 14327 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B01AC76: fild dword ptr [ebp + 0xc] */ 14328 _st[0] *= (double)*(float*)ADDR(ebx + 0x4C); /* 0x2B01AC79: fmul dword ptr [ebx + 0x4c] */ 14329 _st[0] *= (double)*(float*)ADDR(0x2B0B64B4); /* 0x2B01AC7C: fmul dword ptr [0x2b0b64b4] */ 14330 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AC82: call 0x2b0ab220 */ /* not lifted */ 14331 RECOMP_FLAGS_IN(); 14332 MEM32(ebp + (-0x20)) = eax; /* 0x2B01AC87: mov dword ptr [ebp - 0x20], eax */ 14333 edi = MEM32(edi + 0x4); /* 0x2B01AC8A: mov edi, dword ptr [edi + 4] */ 14334 eax = MEM32(edi + 0x38); /* 0x2B01AC8D: mov eax, dword ptr [edi + 0x38] */ 14335 MEM32(ebp + 0xC) = eax; /* 0x2B01AC90: mov dword ptr [ebp + 0xc], eax */ 14336 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B01AC93: fild dword ptr [ebp + 0xc] */ 14337 _st[0] *= (double)*(float*)ADDR(ebx + 0x50); /* 0x2B01AC96: fmul dword ptr [ebx + 0x50] */ 14338 _st[0] *= (double)*(float*)ADDR(0x2B0B64B0); /* 0x2B01AC99: fmul dword ptr [0x2b0b64b0] */ 14339 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AC9F: call 0x2b0ab220 */ /* not lifted */ 14340 RECOMP_FLAGS_IN(); 14341 ecx = ebp + (-0x20); /* 0x2B01ACA4: lea ecx, [ebp - 0x20] */ 14342 PUSH32(esp, ecx); /* 0x2B01ACA7: push ecx */ 14343 ecx = MEM32(ebx + 0x84); /* 0x2B01ACA8: mov ecx, dword ptr [ebx + 0x84] */ 14344 MEM32(ebp + (-0x1C)) = eax; /* 0x2B01ACAE: mov dword ptr [ebp - 0x1c], eax */ 14345 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B01ACB1: call dword ptr [0x2b0b5b04] */ 14346 RECOMP_FLAGS_IN(); 14347 fp_push(*(float*)&MEM32(ebx + 0x54)); /* 0x2B01ACB7: fld dword ptr [ebx + 0x54] */ 14348 _st[0] *= *(double*)ADDR(0x2B0B64A8); /* 0x2B01ACBA: fmul qword ptr [0x2b0b64a8] */ 14349 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01ACC0: call 0x2b0ab220 */ /* not lifted */ 14350 RECOMP_FLAGS_IN(); 14351 fp_push(*(float*)&MEM32(ebx + 0x58)); /* 0x2B01ACC5: fld dword ptr [ebx + 0x58] */ 14352 _st[0] *= *(double*)ADDR(0x2B0B64A0); /* 0x2B01ACC8: fmul qword ptr [0x2b0b64a0] */ 14353 ecx = eax; /* 0x2B01ACCE: mov ecx, eax */ 14354 eax = MEM32(ebp + (-0x20)); /* 0x2B01ACD0: mov eax, dword ptr [ebp - 0x20] */ 14355 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01ACD3: cdq */ 14356 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14358 eax = eax - edx; /* 0x2B01ACD4: sub eax, edx */ 14359 _flag_k = FK_CMP; 14360 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01ACD6: sar eax, 1 */ 14361 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14362 eax = (uint32_t)((int32_t)eax >> 1u); 14363 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14364 _cf = (eax) != 0; 14365 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01ACD8: neg eax */ 14366 _flag_k = FK_CMP; 14367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14369 eax = eax - ecx; /* 0x2B01ACDA: sub eax, ecx */ 14370 _flag_k = FK_CMP; 14371 MEM32(ebp + (-0x28)) = eax; /* 0x2B01ACDC: mov dword ptr [ebp - 0x28], eax */ 14372 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01ACDF: call 0x2b0ab220 */ /* not lifted */ 14373 RECOMP_FLAGS_IN(); 14374 ecx = eax; /* 0x2B01ACE4: mov ecx, eax */ 14375 eax = MEM32(ebp + (-0x1C)); /* 0x2B01ACE6: mov eax, dword ptr [ebp - 0x1c] */ 14376 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01ACE9: cdq */ 14377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14379 eax = eax - edx; /* 0x2B01ACEA: sub eax, edx */ 14380 _flag_k = FK_CMP; 14381 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01ACEC: sar eax, 1 */ 14382 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14383 eax = (uint32_t)((int32_t)eax >> 1u); 14384 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14385 _cf = (eax) != 0; 14386 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01ACEE: neg eax */ 14387 _flag_k = FK_CMP; 14388 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14390 eax = eax - ecx; /* 0x2B01ACF0: sub eax, ecx */ 14391 _flag_k = FK_CMP; 14392 ecx = MEM32(ebx + 0x84); /* 0x2B01ACF2: mov ecx, dword ptr [ebx + 0x84] */ 14393 edx = ebp + (-0x28); /* 0x2B01ACF8: lea edx, [ebp - 0x28] */ 14394 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 14395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14396 eax = eax - 2; /* 0x2B01ACFB: sub eax, 2 */ 14397 _flag_k = FK_CMP; 14398 PUSH32(esp, edx); /* 0x2B01ACFE: push edx */ 14399 MEM32(ebp + (-0x24)) = eax; /* 0x2B01ACFF: mov dword ptr [ebp - 0x24], eax */ 14400 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B01AD02: call dword ptr [0x2b0b5b00] */ 14401 RECOMP_FLAGS_IN(); 14402 PUSH32(esp, 8); /* 0x2B01AD08: push 8 */ 14403 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01AD0A: call 0x2b0ab212 */ /* not lifted */ 14404 RECOMP_FLAGS_IN(); 14405 esi = eax; /* 0x2B01AD0F: mov esi, eax */ 14406 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14407 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14408 esp = esp + 4; /* 0x2B01AD11: add esp, 4 */ 14409 _flag_k = FK_ADD; 14410 MEM32(ebp + 0x8) = esi; /* 0x2B01AD14: mov dword ptr [ebp + 8], esi */ 14411 /* test esi, esi */ /* 0x2B01AD17: test esi, esi */ 14412 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14413 _cf = 0; 14414 _flag_k = FK_TEST; 14415 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B01AD19: mov byte ptr [ebp - 4], 6 */ 14416 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01ADAA; /* 0x2B01AD1D: je 0x2b01adaa */ 14417 L_2B01AD23: 14418 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B01AD23: mov al, byte ptr [ebp + 0xf] */ 14419 PUSH32(esp, 0); /* 0x2B01AD26: push 0 */ 14420 ecx = ebp + (-0x44); /* 0x2B01AD28: lea ecx, [ebp - 0x44] */ 14421 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(eax)); /* 0x2B01AD2B: mov byte ptr [ebp - 0x44], al */ 14422 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01AD2E: call dword ptr [0x2b0b514c] */ 14423 RECOMP_FLAGS_IN(); 14424 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14425 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01AD34: or ecx, 0xffffffff */ 14426 _cf = 0; 14427 _flag_k = FK_TEST; 14428 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14429 eax = 0; /* 0x2B01AD37: xor eax, eax */ 14430 _cf = 0; 14431 _flag_k = FK_TEST; 14432 edi = 0x2B0E2D8Cu; /* 0x2B01AD39: mov edi, 0x2b0e2d8c */ 14433 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; } /* 0x2B01AD3E: repne scasb al, byte ptr es:[edi] */ 14434 ecx = ~ecx; /* 0x2B01AD40: not ecx */ 14435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14436 ecx = ecx - 1; /* 0x2B01AD42: dec ecx */ 14437 _flag_k = FK_DEC; 14438 edi = ecx; /* 0x2B01AD43: mov edi, ecx */ 14439 PUSH32(esp, 1); /* 0x2B01AD45: push 1 */ 14440 PUSH32(esp, edi); /* 0x2B01AD47: push edi */ 14441 ecx = ebp + (-0x44); /* 0x2B01AD48: lea ecx, [ebp - 0x44] */ 14442 MEM32(ebp + 0xC) = edi; /* 0x2B01AD4B: mov dword ptr [ebp + 0xc], edi */ 14443 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01AD4E: call dword ptr [0x2b0b5154] */ 14444 RECOMP_FLAGS_IN(); 14445 /* test LO8(eax), LO8(eax) */ /* 0x2B01AD54: test al, al */ 14446 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 14447 _cf = 0; 14448 _flag_k = FK_NARROW(FK_TEST, 24); 14449 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01AD7F; /* 0x2B01AD56: je 0x2b01ad7f */ 14450 L_2B01AD58: 14451 ecx = edi; /* 0x2B01AD58: mov ecx, edi */ 14452 edi = MEM32(ebp + (-0x40)); /* 0x2B01AD5A: mov edi, dword ptr [ebp - 0x40] */ 14453 edx = ecx; /* 0x2B01AD5D: mov edx, ecx */ 14454 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01AD5F: shr ecx, 2 */ 14455 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14456 ecx = ecx >> 2u; /* 0x2B01AD5F: shr ecx, 2 */ 14457 esi = 0x2B0E2D8Cu; /* 0x2B01AD62: mov esi, 0x2b0e2d8c */ 14458 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01AD67: 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; } 14459 ecx = edx; /* 0x2B01AD69: mov ecx, edx */ 14460 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 14461 ecx = ecx & 3; /* 0x2B01AD6B: and ecx, 3 */ 14462 _cf = 0; 14463 _flag_k = FK_TEST; 14464 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01AD6E: 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; } 14465 ecx = MEM32(ebp + (-0x40)); /* 0x2B01AD70: mov ecx, dword ptr [ebp - 0x40] */ 14466 esi = MEM32(ebp + 0x8); /* 0x2B01AD73: mov esi, dword ptr [ebp + 8] */ 14467 eax = edx; /* 0x2B01AD76: mov eax, edx */ 14468 MEM32(ebp + (-0x3C)) = eax; /* 0x2B01AD78: mov dword ptr [ebp - 0x3c], eax */ 14469 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2B01AD7B: mov byte ptr [ecx + eax], 0 */ 14470 L_2B01AD7F: 14471 ecx = MEM32(ebp + (-0x10)); /* 0x2B01AD7F: mov ecx, dword ptr [ebp - 0x10] */ 14472 _flag_a = (uint32_t)((ecx | 2)); _flag_b = (uint32_t)((ecx | 2)); 14473 ecx = ecx | 2; /* 0x2B01AD82: or ecx, 2 */ 14474 _cf = 0; 14475 _flag_k = FK_TEST; 14476 MEM32(ebp + (-0x34)) = 0; /* 0x2B01AD85: mov dword ptr [ebp - 0x34], 0 */ 14477 MEM32(ebp + (-0x10)) = ecx; /* 0x2B01AD8C: mov dword ptr [ebp - 0x10], ecx */ 14478 edx = MEM32(ebx + 0x38); /* 0x2B01AD8F: mov edx, dword ptr [ebx + 0x38] */ 14479 eax = MEM32(ebx + 0x48); /* 0x2B01AD92: mov eax, dword ptr [ebx + 0x48] */ 14480 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 14481 edx = edx + 1; /* 0x2B01AD95: inc edx */ 14482 _flag_k = FK_INC; 14483 PUSH32(esp, edx); /* 0x2B01AD96: push edx */ 14484 PUSH32(esp, eax); /* 0x2B01AD97: push eax */ 14485 ecx = ebp + (-0x44); /* 0x2B01AD98: lea ecx, [ebp - 0x44] */ 14486 PUSH32(esp, ecx); /* 0x2B01AD9B: push ecx */ 14487 ecx = esi; /* 0x2B01AD9C: mov ecx, esi */ 14488 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B01AD9E: mov byte ptr [ebp - 4], 7 */ 14489 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B01ADA2: call dword ptr [0x2b0b5b20] */ 14490 RECOMP_FLAGS_IN(); 14491 goto L_2B01ADAC; /* 0x2B01ADA8: jmp 0x2b01adac */ 14492 L_2B01ADAA: 14493 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14494 eax = 0; /* 0x2B01ADAA: xor eax, eax */ 14495 _cf = 0; 14496 _flag_k = FK_TEST; 14497 L_2B01ADAC: 14498 MEM32(ebx + 0xA0) = eax; /* 0x2B01ADAC: mov dword ptr [ebx + 0xa0], eax */ 14499 /* test MEM8(ebp + (-0x10)), 2 */ /* 0x2B01ADB2: test byte ptr [ebp - 0x10], 2 */ 14500 _flag_a = (uint32_t)(MEM8(ebp + (-0x10))) << 24; _flag_b = (uint32_t)(2) << 24; 14501 _cf = 0; 14502 _flag_k = FK_NARROW(FK_TEST, 24); 14503 MEM32(ebp + (-0x4)) = 0; /* 0x2B01ADB6: mov dword ptr [ebp - 4], 0 */ 14504 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01AE02; /* 0x2B01ADBD: je 0x2b01ae02 */ 14505 L_2B01ADBF: 14506 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(0xFFFFFFFDu); 14507 MEM32(ebp + (-0x10)) = MEM32(ebp + (-0x10)) & 0xFFFFFFFDu; /* 0x2B01ADBF: and dword ptr [ebp - 0x10], 0xfffffffd */ 14508 _cf = 0; 14509 _flag_k = FK_TEST; 14510 eax = MEM32(ebp + (-0x34)); /* 0x2B01ADC3: mov eax, dword ptr [ebp - 0x34] */ 14511 /* test eax, eax */ /* 0x2B01ADC6: test eax, eax */ 14512 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14513 _cf = 0; 14514 _flag_k = FK_TEST; 14515 MEM8(ebp + (-0x4)) = (uint8_t)(9); /* 0x2B01ADC8: mov byte ptr [ebp - 4], 9 */ 14516 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01ADF3; /* 0x2B01ADCC: je 0x2b01adf3 */ 14517 L_2B01ADCE: 14518 edx = MEM32(eax + 0x2C); /* 0x2B01ADCE: mov edx, dword ptr [eax + 0x2c] */ 14519 esi = eax; /* 0x2B01ADD1: mov esi, eax */ 14520 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 14521 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14522 eax = eax + 0x2Cu; /* 0x2B01ADD3: add eax, 0x2c */ 14523 _flag_k = FK_ADD; 14524 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 14525 edx = edx - 1; /* 0x2B01ADD6: dec edx */ 14526 _flag_k = FK_DEC; 14527 ecx = edx; /* 0x2B01ADD7: mov ecx, edx */ 14528 /* test ecx, ecx */ /* 0x2B01ADD9: test ecx, ecx */ 14529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14530 _cf = 0; 14531 _flag_k = FK_TEST; 14532 MEM32(eax) = edx; /* 0x2B01ADDB: mov dword ptr [eax], edx */ 14533 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01ADF3; /* 0x2B01ADDD: jne 0x2b01adf3 */ 14534 L_2B01ADDF: 14535 /* test esi, esi */ /* 0x2B01ADDF: test esi, esi */ 14536 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14537 _cf = 0; 14538 _flag_k = FK_TEST; 14539 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01ADF3; /* 0x2B01ADE1: je 0x2b01adf3 */ 14540 L_2B01ADE3: 14541 ecx = esi; /* 0x2B01ADE3: mov ecx, esi */ 14542 RECOMP_ICALL(0x2B005B40u); /* 0x2B01ADE5: call 0x2b005b40 */ /* not lifted */ 14543 RECOMP_FLAGS_IN(); 14544 PUSH32(esp, esi); /* 0x2B01ADEA: push esi */ 14545 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01ADEB: call 0x2b0ab1ba */ /* not lifted */ 14546 RECOMP_FLAGS_IN(); 14547 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14548 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14549 esp = esp + 4; /* 0x2B01ADF0: add esp, 4 */ 14550 _flag_k = FK_ADD; 14551 L_2B01ADF3: 14552 PUSH32(esp, 1); /* 0x2B01ADF3: push 1 */ 14553 ecx = ebp + (-0x44); /* 0x2B01ADF5: lea ecx, [ebp - 0x44] */ 14554 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01ADF8: mov byte ptr [ebp - 4], 0 */ 14555 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01ADFC: call dword ptr [0x2b0b514c] */ 14556 RECOMP_FLAGS_IN(); 14557 L_2B01AE02: 14558 edx = MEM32(ebx + 0xA0); /* 0x2B01AE02: mov edx, dword ptr [ebx + 0xa0] */ 14559 ecx = MEM32(edx + 0x4); /* 0x2B01AE08: mov ecx, dword ptr [edx + 4] */ 14560 PUSH32(esp, 1); /* 0x2B01AE0B: push 1 */ 14561 RECOMP_ICALL(MEM32(0x2B0B5B1C)); /* 0x2B01AE0D: call dword ptr [0x2b0b5b1c] */ 14562 RECOMP_FLAGS_IN(); 14563 eax = MEM32(ebx + 0xA0); /* 0x2B01AE13: mov eax, dword ptr [ebx + 0xa0] */ 14564 ecx = MEM32(eax + 0x4); /* 0x2B01AE19: mov ecx, dword ptr [eax + 4] */ 14565 PUSH32(esp, 0x44400000u); /* 0x2B01AE1C: push 0x44400000 */ 14566 PUSH32(esp, 0x44800000u); /* 0x2B01AE21: push 0x44800000 */ 14567 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01AE26: call dword ptr [0x2b0b5b18] */ 14568 RECOMP_FLAGS_IN(); 14569 ecx = MEM32(ebx + 0xA0); /* 0x2B01AE2C: mov ecx, dword ptr [ebx + 0xa0] */ 14570 ecx = MEM32(ecx + 0x4); /* 0x2B01AE32: mov ecx, dword ptr [ecx + 4] */ 14571 PUSH32(esp, 0x3F000000u); /* 0x2B01AE35: push 0x3f000000 */ 14572 PUSH32(esp, 0x3F4A3D71u); /* 0x2B01AE3A: push 0x3f4a3d71 */ 14573 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01AE3F: call dword ptr [0x2b0b5b14] */ 14574 RECOMP_FLAGS_IN(); 14575 PUSH32(esp, 0x14u); /* 0x2B01AE45: push 0x14 */ 14576 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01AE47: call 0x2b0ab212 */ /* not lifted */ 14577 RECOMP_FLAGS_IN(); 14578 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14579 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14580 esp = esp + 4; /* 0x2B01AE4C: add esp, 4 */ 14581 _flag_k = FK_ADD; 14582 MEM32(ebp + 0xC) = eax; /* 0x2B01AE4F: mov dword ptr [ebp + 0xc], eax */ 14583 /* test eax, eax */ /* 0x2B01AE52: test eax, eax */ 14584 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14585 _cf = 0; 14586 _flag_k = FK_TEST; 14587 MEM8(ebp + (-0x4)) = (uint8_t)(0xAu); /* 0x2B01AE54: mov byte ptr [ebp - 4], 0xa */ 14588 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01AE68; /* 0x2B01AE58: je 0x2b01ae68 */ 14589 L_2B01AE5A: 14590 edx = MEM32(ebx + 0x38); /* 0x2B01AE5A: mov edx, dword ptr [ebx + 0x38] */ 14591 PUSH32(esp, edx); /* 0x2B01AE5D: push edx */ 14592 ecx = eax; /* 0x2B01AE5E: mov ecx, eax */ 14593 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B01AE60: call dword ptr [0x2b0b5b10] */ 14594 RECOMP_FLAGS_IN(); 14595 goto L_2B01AE6A; /* 0x2B01AE66: jmp 0x2b01ae6a */ 14596 L_2B01AE68: 14597 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14598 eax = 0; /* 0x2B01AE68: xor eax, eax */ 14599 _cf = 0; 14600 _flag_k = FK_TEST; 14601 L_2B01AE6A: 14602 PUSH32(esp, 0x006666AAu); /* 0x2B01AE6A: push 0x6666aa */ 14603 ecx = eax; /* 0x2B01AE6F: mov ecx, eax */ 14604 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01AE71: mov byte ptr [ebp - 4], 0 */ 14605 MEM32(ebx + 0xA4) = eax; /* 0x2B01AE75: mov dword ptr [ebx + 0xa4], eax */ 14606 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B01AE7B: call dword ptr [0x2b0b5b0c] */ 14607 RECOMP_FLAGS_IN(); 14608 ecx = MEM32(ebx + 0xA4); /* 0x2B01AE81: mov ecx, dword ptr [ebx + 0xa4] */ 14609 PUSH32(esp, 0xB4u); /* 0x2B01AE87: push 0xb4 */ 14610 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B01AE8C: call dword ptr [0x2b0b5b08] */ 14611 RECOMP_FLAGS_IN(); 14612 edi = MEM32(ebx + 0x20); /* 0x2B01AE92: mov edi, dword ptr [ebx + 0x20] */ 14613 eax = MEM32(edi + 0x4); /* 0x2B01AE95: mov eax, dword ptr [edi + 4] */ 14614 eax = MEM32(eax + 0x34); /* 0x2B01AE98: mov eax, dword ptr [eax + 0x34] */ 14615 MEM32(ebp + 0xC) = eax; /* 0x2B01AE9B: mov dword ptr [ebp + 0xc], eax */ 14616 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B01AE9E: fild dword ptr [ebp + 0xc] */ 14617 _st[0] *= (double)*(float*)ADDR(ebx + 0x4C); /* 0x2B01AEA1: fmul dword ptr [ebx + 0x4c] */ 14618 _st[0] *= (double)*(float*)ADDR(0x2B0B64B4); /* 0x2B01AEA4: fmul dword ptr [0x2b0b64b4] */ 14619 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AEAA: call 0x2b0ab220 */ /* not lifted */ 14620 RECOMP_FLAGS_IN(); 14621 MEM32(ebp + (-0x20)) = eax; /* 0x2B01AEAF: mov dword ptr [ebp - 0x20], eax */ 14622 edi = MEM32(edi + 0x4); /* 0x2B01AEB2: mov edi, dword ptr [edi + 4] */ 14623 ecx = MEM32(edi + 0x38); /* 0x2B01AEB5: mov ecx, dword ptr [edi + 0x38] */ 14624 MEM32(ebp + 0xC) = ecx; /* 0x2B01AEB8: mov dword ptr [ebp + 0xc], ecx */ 14625 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B01AEBB: fild dword ptr [ebp + 0xc] */ 14626 _st[0] *= (double)*(float*)ADDR(ebx + 0x50); /* 0x2B01AEBE: fmul dword ptr [ebx + 0x50] */ 14627 _st[0] *= (double)*(float*)ADDR(0x2B0B64B0); /* 0x2B01AEC1: fmul dword ptr [0x2b0b64b0] */ 14628 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AEC7: call 0x2b0ab220 */ /* not lifted */ 14629 RECOMP_FLAGS_IN(); 14630 ecx = MEM32(ebx + 0xA4); /* 0x2B01AECC: mov ecx, dword ptr [ebx + 0xa4] */ 14631 edx = ebp + (-0x20); /* 0x2B01AED2: lea edx, [ebp - 0x20] */ 14632 PUSH32(esp, edx); /* 0x2B01AED5: push edx */ 14633 MEM32(ebp + (-0x1C)) = eax; /* 0x2B01AED6: mov dword ptr [ebp - 0x1c], eax */ 14634 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B01AED9: call dword ptr [0x2b0b5b04] */ 14635 RECOMP_FLAGS_IN(); 14636 fp_push(*(float*)&MEM32(ebx + 0x54)); /* 0x2B01AEDF: fld dword ptr [ebx + 0x54] */ 14637 _st[0] *= *(double*)ADDR(0x2B0B64A8); /* 0x2B01AEE2: fmul qword ptr [0x2b0b64a8] */ 14638 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AEE8: call 0x2b0ab220 */ /* not lifted */ 14639 RECOMP_FLAGS_IN(); 14640 fp_push(*(float*)&MEM32(ebx + 0x58)); /* 0x2B01AEED: fld dword ptr [ebx + 0x58] */ 14641 _st[0] *= *(double*)ADDR(0x2B0B6498); /* 0x2B01AEF0: fmul qword ptr [0x2b0b6498] */ 14642 ecx = eax; /* 0x2B01AEF6: mov ecx, eax */ 14643 eax = MEM32(ebp + (-0x20)); /* 0x2B01AEF8: mov eax, dword ptr [ebp - 0x20] */ 14644 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01AEFB: cdq */ 14645 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14647 eax = eax - edx; /* 0x2B01AEFC: sub eax, edx */ 14648 _flag_k = FK_CMP; 14649 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01AEFE: sar eax, 1 */ 14650 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14651 eax = (uint32_t)((int32_t)eax >> 1u); 14652 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14653 _cf = (eax) != 0; 14654 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01AF00: neg eax */ 14655 _flag_k = FK_CMP; 14656 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14658 eax = eax - ecx; /* 0x2B01AF02: sub eax, ecx */ 14659 _flag_k = FK_CMP; 14660 MEM32(ebp + (-0x28)) = eax; /* 0x2B01AF04: mov dword ptr [ebp - 0x28], eax */ 14661 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01AF07: call 0x2b0ab220 */ /* not lifted */ 14662 RECOMP_FLAGS_IN(); 14663 ecx = eax; /* 0x2B01AF0C: mov ecx, eax */ 14664 eax = MEM32(ebp + (-0x1C)); /* 0x2B01AF0E: mov eax, dword ptr [ebp - 0x1c] */ 14665 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01AF11: cdq */ 14666 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14668 eax = eax - edx; /* 0x2B01AF12: sub eax, edx */ 14669 _flag_k = FK_CMP; 14670 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01AF14: sar eax, 1 */ 14671 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14672 eax = (uint32_t)((int32_t)eax >> 1u); 14673 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14674 _cf = (eax) != 0; 14675 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01AF16: neg eax */ 14676 _flag_k = FK_CMP; 14677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14679 eax = eax - ecx; /* 0x2B01AF18: sub eax, ecx */ 14680 _flag_k = FK_CMP; 14681 ecx = MEM32(ebx + 0xA4); /* 0x2B01AF1A: mov ecx, dword ptr [ebx + 0xa4] */ 14682 edx = ebp + (-0x28); /* 0x2B01AF20: lea edx, [ebp - 0x28] */ 14683 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 14684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14685 eax = eax - 2; /* 0x2B01AF23: sub eax, 2 */ 14686 _flag_k = FK_CMP; 14687 PUSH32(esp, edx); /* 0x2B01AF26: push edx */ 14688 MEM32(ebp + (-0x24)) = eax; /* 0x2B01AF27: mov dword ptr [ebp - 0x24], eax */ 14689 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B01AF2A: call dword ptr [0x2b0b5b00] */ 14690 RECOMP_FLAGS_IN(); 14691 PUSH32(esp, 8); /* 0x2B01AF30: push 8 */ 14692 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01AF32: call 0x2b0ab212 */ /* not lifted */ 14693 RECOMP_FLAGS_IN(); 14694 esi = eax; /* 0x2B01AF37: mov esi, eax */ 14695 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14697 esp = esp + 4; /* 0x2B01AF39: add esp, 4 */ 14698 _flag_k = FK_ADD; 14699 MEM32(ebp + 0xC) = esi; /* 0x2B01AF3C: mov dword ptr [ebp + 0xc], esi */ 14700 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14701 edi = 0; /* 0x2B01AF3F: xor edi, edi */ 14702 _cf = 0; 14703 _flag_k = FK_TEST; 14704 /* cmp esi, edi */ /* 0x2B01AF41: cmp esi, edi */ 14705 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14707 _flag_k = FK_CMP; 14708 MEM8(ebp + (-0x4)) = (uint8_t)(0xBu); /* 0x2B01AF43: mov byte ptr [ebp - 4], 0xb */ 14709 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01AFA3; /* 0x2B01AF47: je 0x2b01afa3 */ 14710 L_2B01AF49: 14711 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B01AF49: mov al, byte ptr [ebp + 0xf] */ 14712 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 14713 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01AF4C: or ecx, 0xffffffff */ 14714 _cf = 0; 14715 _flag_k = FK_TEST; 14716 MEM32(ebp + (-0x40)) = edi; /* 0x2B01AF4F: mov dword ptr [ebp - 0x40], edi */ 14717 MEM32(ebp + (-0x3C)) = edi; /* 0x2B01AF52: mov dword ptr [ebp - 0x3c], edi */ 14718 MEM32(ebp + (-0x38)) = edi; /* 0x2B01AF55: mov dword ptr [ebp - 0x38], edi */ 14719 MEM8(ebp + (-0x44)) = (uint8_t)(LO8(eax)); /* 0x2B01AF58: mov byte ptr [ebp - 0x44], al */ 14720 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14721 eax = 0; /* 0x2B01AF5B: xor eax, eax */ 14722 _cf = 0; 14723 _flag_k = FK_TEST; 14724 edi = 0x2B0E2D80u; /* 0x2B01AF5D: mov edi, 0x2b0e2d80 */ 14725 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; } /* 0x2B01AF62: repne scasb al, byte ptr es:[edi] */ 14726 ecx = ~ecx; /* 0x2B01AF64: not ecx */ 14727 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14728 ecx = ecx - 1; /* 0x2B01AF66: dec ecx */ 14729 _flag_k = FK_DEC; 14730 PUSH32(esp, ecx); /* 0x2B01AF67: push ecx */ 14731 PUSH32(esp, 0x2B0E2D80u); /* 0x2B01AF68: push 0x2b0e2d80 */ 14732 ecx = ebp + (-0x44); /* 0x2B01AF6D: lea ecx, [ebp - 0x44] */ 14733 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01AF70: call dword ptr [0x2b0b5148] */ 14734 RECOMP_FLAGS_IN(); 14735 edi = MEM32(ebp + (-0x10)); /* 0x2B01AF76: mov edi, dword ptr [ebp - 0x10] */ 14736 _flag_a = (uint32_t)((edi | 4)); _flag_b = (uint32_t)((edi | 4)); 14737 edi = edi | 4; /* 0x2B01AF79: or edi, 4 */ 14738 _cf = 0; 14739 _flag_k = FK_TEST; 14740 MEM32(ebp + (-0x34)) = 0; /* 0x2B01AF7C: mov dword ptr [ebp - 0x34], 0 */ 14741 MEM32(ebp + (-0x10)) = edi; /* 0x2B01AF83: mov dword ptr [ebp - 0x10], edi */ 14742 ecx = MEM32(ebx + 0x38); /* 0x2B01AF86: mov ecx, dword ptr [ebx + 0x38] */ 14743 edx = MEM32(ebx + 0x48); /* 0x2B01AF89: mov edx, dword ptr [ebx + 0x48] */ 14744 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 14745 ecx = ecx + 1; /* 0x2B01AF8C: inc ecx */ 14746 _flag_k = FK_INC; 14747 PUSH32(esp, ecx); /* 0x2B01AF8D: push ecx */ 14748 PUSH32(esp, edx); /* 0x2B01AF8E: push edx */ 14749 eax = ebp + (-0x44); /* 0x2B01AF8F: lea eax, [ebp - 0x44] */ 14750 PUSH32(esp, eax); /* 0x2B01AF92: push eax */ 14751 ecx = esi; /* 0x2B01AF93: mov ecx, esi */ 14752 MEM8(ebp + (-0x4)) = (uint8_t)(0xCu); /* 0x2B01AF95: mov byte ptr [ebp - 4], 0xc */ 14753 RECOMP_ICALL(MEM32(0x2B0B5B20)); /* 0x2B01AF99: call dword ptr [0x2b0b5b20] */ 14754 RECOMP_FLAGS_IN(); 14755 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14756 edi = 0; /* 0x2B01AF9F: xor edi, edi */ 14757 _cf = 0; 14758 _flag_k = FK_TEST; 14759 goto L_2B01AFA5; /* 0x2B01AFA1: jmp 0x2b01afa5 */ 14760 L_2B01AFA3: 14761 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14762 eax = 0; /* 0x2B01AFA3: xor eax, eax */ 14763 _cf = 0; 14764 _flag_k = FK_TEST; 14765 L_2B01AFA5: 14766 MEM32(ebx + 0xC0) = eax; /* 0x2B01AFA5: mov dword ptr [ebx + 0xc0], eax */ 14767 /* test MEM8(ebp + (-0x10)), 4 */ /* 0x2B01AFAB: test byte ptr [ebp - 0x10], 4 */ 14768 _flag_a = (uint32_t)(MEM8(ebp + (-0x10))) << 24; _flag_b = (uint32_t)(4) << 24; 14769 _cf = 0; 14770 _flag_k = FK_NARROW(FK_TEST, 24); 14771 MEM32(ebp + (-0x4)) = edi; /* 0x2B01AFAF: mov dword ptr [ebp - 4], edi */ 14772 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01AFF3; /* 0x2B01AFB2: je 0x2b01aff3 */ 14773 L_2B01AFB4: 14774 eax = MEM32(ebp + (-0x34)); /* 0x2B01AFB4: mov eax, dword ptr [ebp - 0x34] */ 14775 /* cmp eax, edi */ /* 0x2B01AFB7: cmp eax, edi */ 14776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14778 _flag_k = FK_CMP; 14779 MEM8(ebp + (-0x4)) = (uint8_t)(0xEu); /* 0x2B01AFB9: mov byte ptr [ebp - 4], 0xe */ 14780 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01AFE4; /* 0x2B01AFBD: je 0x2b01afe4 */ 14781 L_2B01AFBF: 14782 edx = MEM32(eax + 0x2C); /* 0x2B01AFBF: mov edx, dword ptr [eax + 0x2c] */ 14783 esi = eax; /* 0x2B01AFC2: mov esi, eax */ 14784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x2Cu); 14785 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14786 eax = eax + 0x2Cu; /* 0x2B01AFC4: add eax, 0x2c */ 14787 _flag_k = FK_ADD; 14788 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(1); 14789 edx = edx - 1; /* 0x2B01AFC7: dec edx */ 14790 _flag_k = FK_DEC; 14791 ecx = edx; /* 0x2B01AFC8: mov ecx, edx */ 14792 /* cmp ecx, edi */ /* 0x2B01AFCA: cmp ecx, edi */ 14793 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 14794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14795 _flag_k = FK_CMP; 14796 MEM32(eax) = edx; /* 0x2B01AFCC: mov dword ptr [eax], edx */ 14797 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01AFE4; /* 0x2B01AFCE: jne 0x2b01afe4 */ 14798 L_2B01AFD0: 14799 /* cmp esi, edi */ /* 0x2B01AFD0: cmp esi, edi */ 14800 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14802 _flag_k = FK_CMP; 14803 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01AFE4; /* 0x2B01AFD2: je 0x2b01afe4 */ 14804 L_2B01AFD4: 14805 ecx = esi; /* 0x2B01AFD4: mov ecx, esi */ 14806 RECOMP_ICALL(0x2B005B40u); /* 0x2B01AFD6: call 0x2b005b40 */ /* not lifted */ 14807 RECOMP_FLAGS_IN(); 14808 PUSH32(esp, esi); /* 0x2B01AFDB: push esi */ 14809 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01AFDC: call 0x2b0ab1ba */ /* not lifted */ 14810 RECOMP_FLAGS_IN(); 14811 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14812 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14813 esp = esp + 4; /* 0x2B01AFE1: add esp, 4 */ 14814 _flag_k = FK_ADD; 14815 L_2B01AFE4: 14816 PUSH32(esp, 1); /* 0x2B01AFE4: push 1 */ 14817 ecx = ebp + (-0x44); /* 0x2B01AFE6: lea ecx, [ebp - 0x44] */ 14818 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01AFE9: mov byte ptr [ebp - 4], 0 */ 14819 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01AFED: call dword ptr [0x2b0b514c] */ 14820 RECOMP_FLAGS_IN(); 14821 L_2B01AFF3: 14822 ecx = MEM32(ebx + 0xC0); /* 0x2B01AFF3: mov ecx, dword ptr [ebx + 0xc0] */ 14823 ecx = MEM32(ecx + 0x4); /* 0x2B01AFF9: mov ecx, dword ptr [ecx + 4] */ 14824 PUSH32(esp, 1); /* 0x2B01AFFC: push 1 */ 14825 RECOMP_ICALL(MEM32(0x2B0B5B1C)); /* 0x2B01AFFE: call dword ptr [0x2b0b5b1c] */ 14826 RECOMP_FLAGS_IN(); 14827 edx = MEM32(ebx + 0xC0); /* 0x2B01B004: mov edx, dword ptr [ebx + 0xc0] */ 14828 ecx = MEM32(edx + 0x4); /* 0x2B01B00A: mov ecx, dword ptr [edx + 4] */ 14829 PUSH32(esp, 0x44400000u); /* 0x2B01B00D: push 0x44400000 */ 14830 PUSH32(esp, 0x44800000u); /* 0x2B01B012: push 0x44800000 */ 14831 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01B017: call dword ptr [0x2b0b5b18] */ 14832 RECOMP_FLAGS_IN(); 14833 eax = MEM32(ebx + 0xC0); /* 0x2B01B01D: mov eax, dword ptr [ebx + 0xc0] */ 14834 ecx = MEM32(eax + 0x4); /* 0x2B01B023: mov ecx, dword ptr [eax + 4] */ 14835 PUSH32(esp, 0x3E2E147Bu); /* 0x2B01B026: push 0x3e2e147b */ 14836 PUSH32(esp, 0x3E800000u); /* 0x2B01B02B: push 0x3e800000 */ 14837 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01B030: call dword ptr [0x2b0b5b14] */ 14838 RECOMP_FLAGS_IN(); 14839 PUSH32(esp, 0x14u); /* 0x2B01B036: push 0x14 */ 14840 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B038: call 0x2b0ab212 */ /* not lifted */ 14841 RECOMP_FLAGS_IN(); 14842 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14843 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14844 esp = esp + 4; /* 0x2B01B03D: add esp, 4 */ 14845 _flag_k = FK_ADD; 14846 MEM32(ebp + 0xC) = eax; /* 0x2B01B040: mov dword ptr [ebp + 0xc], eax */ 14847 /* cmp eax, edi */ /* 0x2B01B043: cmp eax, edi */ 14848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14850 _flag_k = FK_CMP; 14851 MEM8(ebp + (-0x4)) = (uint8_t)(0xFu); /* 0x2B01B045: mov byte ptr [ebp - 4], 0xf */ 14852 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01B059; /* 0x2B01B049: je 0x2b01b059 */ 14853 L_2B01B04B: 14854 ecx = MEM32(ebx + 0x38); /* 0x2B01B04B: mov ecx, dword ptr [ebx + 0x38] */ 14855 PUSH32(esp, ecx); /* 0x2B01B04E: push ecx */ 14856 ecx = eax; /* 0x2B01B04F: mov ecx, eax */ 14857 RECOMP_ICALL(MEM32(0x2B0B5B10)); /* 0x2B01B051: call dword ptr [0x2b0b5b10] */ 14858 RECOMP_FLAGS_IN(); 14859 goto L_2B01B05B; /* 0x2B01B057: jmp 0x2b01b05b */ 14860 L_2B01B059: 14861 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14862 eax = 0; /* 0x2B01B059: xor eax, eax */ 14863 _cf = 0; 14864 _flag_k = FK_TEST; 14865 L_2B01B05B: 14866 PUSH32(esp, 0x006666AAu); /* 0x2B01B05B: push 0x6666aa */ 14867 ecx = eax; /* 0x2B01B060: mov ecx, eax */ 14868 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B062: mov byte ptr [ebp - 4], 0 */ 14869 MEM32(ebx + 0xC4) = eax; /* 0x2B01B066: mov dword ptr [ebx + 0xc4], eax */ 14870 RECOMP_ICALL(MEM32(0x2B0B5B0C)); /* 0x2B01B06C: call dword ptr [0x2b0b5b0c] */ 14871 RECOMP_FLAGS_IN(); 14872 ecx = MEM32(ebx + 0xC4); /* 0x2B01B072: mov ecx, dword ptr [ebx + 0xc4] */ 14873 PUSH32(esp, 0xB4u); /* 0x2B01B078: push 0xb4 */ 14874 RECOMP_ICALL(MEM32(0x2B0B5B08)); /* 0x2B01B07D: call dword ptr [0x2b0b5b08] */ 14875 RECOMP_FLAGS_IN(); 14876 edi = MEM32(ebx + 0x20); /* 0x2B01B083: mov edi, dword ptr [ebx + 0x20] */ 14877 eax = MEM32(edi + 0x4); /* 0x2B01B086: mov eax, dword ptr [edi + 4] */ 14878 edx = MEM32(eax + 0x34); /* 0x2B01B089: mov edx, dword ptr [eax + 0x34] */ 14879 MEM32(ebp + 0xC) = edx; /* 0x2B01B08C: mov dword ptr [ebp + 0xc], edx */ 14880 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B01B08F: fild dword ptr [ebp + 0xc] */ 14881 _st[0] *= (double)*(float*)ADDR(ebx + 0x4C); /* 0x2B01B092: fmul dword ptr [ebx + 0x4c] */ 14882 _st[0] *= (double)*(float*)ADDR(0x2B0B6490); /* 0x2B01B095: fmul dword ptr [0x2b0b6490] */ 14883 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01B09B: call 0x2b0ab220 */ /* not lifted */ 14884 RECOMP_FLAGS_IN(); 14885 MEM32(ebp + (-0x20)) = eax; /* 0x2B01B0A0: mov dword ptr [ebp - 0x20], eax */ 14886 edi = MEM32(edi + 0x4); /* 0x2B01B0A3: mov edi, dword ptr [edi + 4] */ 14887 eax = MEM32(edi + 0x38); /* 0x2B01B0A6: mov eax, dword ptr [edi + 0x38] */ 14888 MEM32(ebp + 0xC) = eax; /* 0x2B01B0A9: mov dword ptr [ebp + 0xc], eax */ 14889 fp_push((double)(int32_t)MEM32(ebp + 0xC)); /* 0x2B01B0AC: fild dword ptr [ebp + 0xc] */ 14890 _st[0] *= (double)*(float*)ADDR(ebx + 0x50); /* 0x2B01B0AF: fmul dword ptr [ebx + 0x50] */ 14891 _st[0] *= (double)*(float*)ADDR(0x2B0B64B0); /* 0x2B01B0B2: fmul dword ptr [0x2b0b64b0] */ 14892 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01B0B8: call 0x2b0ab220 */ /* not lifted */ 14893 RECOMP_FLAGS_IN(); 14894 ecx = ebp + (-0x20); /* 0x2B01B0BD: lea ecx, [ebp - 0x20] */ 14895 PUSH32(esp, ecx); /* 0x2B01B0C0: push ecx */ 14896 ecx = MEM32(ebx + 0xC4); /* 0x2B01B0C1: mov ecx, dword ptr [ebx + 0xc4] */ 14897 MEM32(ebp + (-0x1C)) = eax; /* 0x2B01B0C7: mov dword ptr [ebp - 0x1c], eax */ 14898 RECOMP_ICALL(MEM32(0x2B0B5B04)); /* 0x2B01B0CA: call dword ptr [0x2b0b5b04] */ 14899 RECOMP_FLAGS_IN(); 14900 fp_push(*(float*)&MEM32(ebx + 0x54)); /* 0x2B01B0D0: fld dword ptr [ebx + 0x54] */ 14901 _st[0] *= *(double*)ADDR(0x2B0B6488); /* 0x2B01B0D3: fmul qword ptr [0x2b0b6488] */ 14902 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01B0D9: call 0x2b0ab220 */ /* not lifted */ 14903 RECOMP_FLAGS_IN(); 14904 fp_push(*(float*)&MEM32(ebx + 0x58)); /* 0x2B01B0DE: fld dword ptr [ebx + 0x58] */ 14905 _st[0] *= *(double*)ADDR(0x2B0B6480); /* 0x2B01B0E1: fmul qword ptr [0x2b0b6480] */ 14906 ecx = eax; /* 0x2B01B0E7: mov ecx, eax */ 14907 eax = MEM32(ebp + (-0x20)); /* 0x2B01B0E9: mov eax, dword ptr [ebp - 0x20] */ 14908 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01B0EC: cdq */ 14909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14911 eax = eax - edx; /* 0x2B01B0ED: sub eax, edx */ 14912 _flag_k = FK_CMP; 14913 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01B0EF: sar eax, 1 */ 14914 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14915 eax = (uint32_t)((int32_t)eax >> 1u); 14916 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14917 _cf = (eax) != 0; 14918 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01B0F1: neg eax */ 14919 _flag_k = FK_CMP; 14920 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14922 eax = eax - ecx; /* 0x2B01B0F3: sub eax, ecx */ 14923 _flag_k = FK_CMP; 14924 MEM32(ebp + (-0x28)) = eax; /* 0x2B01B0F5: mov dword ptr [ebp - 0x28], eax */ 14925 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01B0F8: call 0x2b0ab220 */ /* not lifted */ 14926 RECOMP_FLAGS_IN(); 14927 ecx = eax; /* 0x2B01B0FD: mov ecx, eax */ 14928 eax = MEM32(ebp + (-0x1C)); /* 0x2B01B0FF: mov eax, dword ptr [ebp - 0x1c] */ 14929 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01B102: cdq */ 14930 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14932 eax = eax - edx; /* 0x2B01B103: sub eax, edx */ 14933 _flag_k = FK_CMP; 14934 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01B105: sar eax, 1 */ 14935 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14936 eax = (uint32_t)((int32_t)eax >> 1u); 14937 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 14938 _cf = (eax) != 0; 14939 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01B107: neg eax */ 14940 _flag_k = FK_CMP; 14941 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14943 eax = eax - ecx; /* 0x2B01B109: sub eax, ecx */ 14944 _flag_k = FK_CMP; 14945 ecx = MEM32(ebx + 0xC4); /* 0x2B01B10B: mov ecx, dword ptr [ebx + 0xc4] */ 14946 edx = ebp + (-0x28); /* 0x2B01B111: lea edx, [ebp - 0x28] */ 14947 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 14948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14949 eax = eax - 2; /* 0x2B01B114: sub eax, 2 */ 14950 _flag_k = FK_CMP; 14951 PUSH32(esp, edx); /* 0x2B01B117: push edx */ 14952 MEM32(ebp + (-0x24)) = eax; /* 0x2B01B118: mov dword ptr [ebp - 0x24], eax */ 14953 RECOMP_ICALL(MEM32(0x2B0B5B00)); /* 0x2B01B11B: call dword ptr [0x2b0b5b00] */ 14954 RECOMP_FLAGS_IN(); 14955 esi = MEM32(0x2B0B5F80); /* 0x2B01B121: mov esi, dword ptr [0x2b0b5f80] */ 14956 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14957 eax = 0; /* 0x2B01B127: xor eax, eax */ 14958 _cf = 0; 14959 _flag_k = FK_TEST; 14960 ecx = 0xCu; /* 0x2B01B129: mov ecx, 0xc */ 14961 edi = ebp + (-0x74); /* 0x2B01B12E: lea edi, [ebp - 0x74] */ 14962 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01B131: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 14963 eax = MEM32(ebx + 0x38); /* 0x2B01B133: mov eax, dword ptr [ebx + 0x38] */ 14964 PUSH32(esp, 2); /* 0x2B01B136: push 2 */ 14965 ecx = ebp + (-0x14); /* 0x2B01B138: lea ecx, [ebp - 0x14] */ 14966 PUSH32(esp, 0x198u); /* 0x2B01B13B: push 0x198 */ 14967 PUSH32(esp, ecx); /* 0x2B01B140: push ecx */ 14968 MEM32(ebp + (-0x5C)) = eax; /* 0x2B01B141: mov dword ptr [ebp - 0x5c], eax */ 14969 MEM32(ebp + (-0x54)) = 0x198u; /* 0x2B01B144: mov dword ptr [ebp - 0x54], 0x198 */ 14970 MEM32(ebp + (-0x50)) = 0x199u; /* 0x2B01B14B: mov dword ptr [ebp - 0x50], 0x199 */ 14971 MEM32(ebp + (-0x48)) = 0x19Au; /* 0x2B01B152: mov dword ptr [ebp - 0x48], 0x19a */ 14972 RECOMP_ICALL(esi); /* 0x2B01B159: call esi */ 14973 RECOMP_FLAGS_IN(); 14974 ecx = eax; /* 0x2B01B15B: mov ecx, eax */ 14975 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01B15D: call dword ptr [0x2b0b5f7c] */ 14976 RECOMP_FLAGS_IN(); 14977 edx = MEM32(eax); /* 0x2B01B163: mov edx, dword ptr [eax] */ 14978 MEM32(ebp + (-0x20)) = edx; /* 0x2B01B165: mov dword ptr [ebp - 0x20], edx */ 14979 eax = MEM32(eax + 0x4); /* 0x2B01B168: mov eax, dword ptr [eax + 4] */ 14980 PUSH32(esp, 0x50u); /* 0x2B01B16B: push 0x50 */ 14981 MEM32(ebp + (-0x1C)) = eax; /* 0x2B01B16D: mov dword ptr [ebp - 0x1c], eax */ 14982 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B170: call 0x2b0ab212 */ /* not lifted */ 14983 RECOMP_FLAGS_IN(); 14984 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14986 esp = esp + 4; /* 0x2B01B175: add esp, 4 */ 14987 _flag_k = FK_ADD; 14988 MEM32(ebp + 0xC) = eax; /* 0x2B01B178: mov dword ptr [ebp + 0xc], eax */ 14989 /* test eax, eax */ /* 0x2B01B17B: test eax, eax */ 14990 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14991 _cf = 0; 14992 _flag_k = FK_TEST; 14993 MEM8(ebp + (-0x4)) = (uint8_t)(0x10u); /* 0x2B01B17D: mov byte ptr [ebp - 4], 0x10 */ 14994 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B1A9; /* 0x2B01B181: je 0x2b01b1a9 */ 14995 L_2B01B183: 14996 ecx = MEM32(ebx + 0x38); /* 0x2B01B183: mov ecx, dword ptr [ebx + 0x38] */ 14997 PUSH32(esp, 0); /* 0x2B01B186: push 0 */ 14998 PUSH32(esp, 0x3F800000u); /* 0x2B01B188: push 0x3f800000 */ 14999 PUSH32(esp, 0x3F800000u); /* 0x2B01B18D: push 0x3f800000 */ 15000 PUSH32(esp, ecx); /* 0x2B01B192: push ecx */ 15001 edx = ebp + (-0x28); /* 0x2B01B193: lea edx, [ebp - 0x28] */ 15002 PUSH32(esp, edx); /* 0x2B01B196: push edx */ 15003 ecx = ebp + (-0x20); /* 0x2B01B197: lea ecx, [ebp - 0x20] */ 15004 PUSH32(esp, ecx); /* 0x2B01B19A: push ecx */ 15005 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B19B: push -1 */ 15006 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B19D: push -1 */ 15007 ecx = eax; /* 0x2B01B19F: mov ecx, eax */ 15008 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01B1A1: call dword ptr [0x2b0b5bd8] */ 15009 RECOMP_FLAGS_IN(); 15010 goto L_2B01B1AB; /* 0x2B01B1A7: jmp 0x2b01b1ab */ 15011 L_2B01B1A9: 15012 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15013 eax = 0; /* 0x2B01B1A9: xor eax, eax */ 15014 _cf = 0; 15015 _flag_k = FK_TEST; 15016 L_2B01B1AB: 15017 PUSH32(esp, 1); /* 0x2B01B1AB: push 1 */ 15018 MEM32(ebx + 0x9C) = eax; /* 0x2B01B1AD: mov dword ptr [ebx + 0x9c], eax */ 15019 eax = MEM32(eax + 0x28); /* 0x2B01B1B3: mov eax, dword ptr [eax + 0x28] */ 15020 PUSH32(esp, 0); /* 0x2B01B1B6: push 0 */ 15021 PUSH32(esp, 0); /* 0x2B01B1B8: push 0 */ 15022 ecx = eax; /* 0x2B01B1BA: mov ecx, eax */ 15023 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B1BC: mov byte ptr [ebp - 4], 0 */ 15024 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01B1C0: call dword ptr [0x2b0b564c] */ 15025 RECOMP_FLAGS_IN(); 15026 PUSH32(esp, 0xBCu); /* 0x2B01B1C6: push 0xbc */ 15027 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B1CB: call 0x2b0ab212 */ /* not lifted */ 15028 RECOMP_FLAGS_IN(); 15029 edi = eax; /* 0x2B01B1D0: mov edi, eax */ 15030 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15031 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15032 esp = esp + 4; /* 0x2B01B1D2: add esp, 4 */ 15033 _flag_k = FK_ADD; 15034 MEM32(ebp + 0xC) = edi; /* 0x2B01B1D5: mov dword ptr [ebp + 0xc], edi */ 15035 /* test edi, edi */ /* 0x2B01B1D8: test edi, edi */ 15036 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15037 _cf = 0; 15038 _flag_k = FK_TEST; 15039 MEM8(ebp + (-0x4)) = (uint8_t)(0x11u); /* 0x2B01B1DA: mov byte ptr [ebp - 4], 0x11 */ 15040 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B1FD; /* 0x2B01B1DE: je 0x2b01b1fd */ 15041 L_2B01B1E0: 15042 edx = MEM32(ebx + 0x9C); /* 0x2B01B1E0: mov edx, dword ptr [ebx + 0x9c] */ 15043 PUSH32(esp, edx); /* 0x2B01B1E6: push edx */ 15044 eax = ebp + (-0x74); /* 0x2B01B1E7: lea eax, [ebp - 0x74] */ 15045 PUSH32(esp, eax); /* 0x2B01B1EA: push eax */ 15046 ecx = edi; /* 0x2B01B1EB: mov ecx, edi */ 15047 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01B1ED: call dword ptr [0x2b0b5afc] */ 15048 RECOMP_FLAGS_IN(); 15049 MEM32(edi) = 0x2B0B645Cu; /* 0x2B01B1F3: mov dword ptr [edi], 0x2b0b645c */ 15050 ecx = edi; /* 0x2B01B1F9: mov ecx, edi */ 15051 goto L_2B01B1FF; /* 0x2B01B1FB: jmp 0x2b01b1ff */ 15052 L_2B01B1FD: 15053 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15054 ecx = 0; /* 0x2B01B1FD: xor ecx, ecx */ 15055 _cf = 0; 15056 _flag_k = FK_TEST; 15057 L_2B01B1FF: 15058 PUSH32(esp, 0x7D3u); /* 0x2B01B1FF: push 0x7d3 */ 15059 PUSH32(esp, 0x2B0389A0u); /* 0x2B01B204: push 0x2b0389a0 */ 15060 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B209: mov byte ptr [ebp - 4], 0 */ 15061 MEM32(ebx + 0x98) = ecx; /* 0x2B01B20D: mov dword ptr [ebx + 0x98], ecx */ 15062 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01B213: call dword ptr [0x2b0b5af8] */ 15063 RECOMP_FLAGS_IN(); 15064 eax = MEM32(ebx + 0x98); /* 0x2B01B219: mov eax, dword ptr [ebx + 0x98] */ 15065 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01B21F: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15066 MEM32(eax + 0xB4) = 0x7D3u; /* 0x2B01B229: mov dword ptr [eax + 0xb4], 0x7d3 */ 15067 ecx = MEM32(ebx + 0x98); /* 0x2B01B233: mov ecx, dword ptr [ebx + 0x98] */ 15068 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01B239: push 0x2b0e2d68 */ 15069 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01B23E: call dword ptr [0x2b0b5af4] */ 15070 RECOMP_FLAGS_IN(); 15071 ecx = MEM32(ebx + 0x9C); /* 0x2B01B244: mov ecx, dword ptr [ebx + 0x9c] */ 15072 PUSH32(esp, 0x44400000u); /* 0x2B01B24A: push 0x44400000 */ 15073 PUSH32(esp, 0x44800000u); /* 0x2B01B24F: push 0x44800000 */ 15074 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01B254: call dword ptr [0x2b0b5b18] */ 15075 RECOMP_FLAGS_IN(); 15076 ecx = MEM32(ebx + 0x9C); /* 0x2B01B25A: mov ecx, dword ptr [ebx + 0x9c] */ 15077 PUSH32(esp, 0x3E8F5C29u); /* 0x2B01B260: push 0x3e8f5c29 */ 15078 PUSH32(esp, 0x3F666666u); /* 0x2B01B265: push 0x3f666666 */ 15079 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01B26A: call dword ptr [0x2b0b5b14] */ 15080 RECOMP_FLAGS_IN(); 15081 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15082 eax = 0; /* 0x2B01B270: xor eax, eax */ 15083 _cf = 0; 15084 _flag_k = FK_TEST; 15085 PUSH32(esp, 2); /* 0x2B01B272: push 2 */ 15086 ecx = 0xCu; /* 0x2B01B274: mov ecx, 0xc */ 15087 edi = ebp + (-0x74); /* 0x2B01B279: lea edi, [ebp - 0x74] */ 15088 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01B27C: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 15089 ecx = MEM32(ebx + 0x38); /* 0x2B01B27E: mov ecx, dword ptr [ebx + 0x38] */ 15090 edx = ebp + (-0x14); /* 0x2B01B281: lea edx, [ebp - 0x14] */ 15091 PUSH32(esp, 0x19Bu); /* 0x2B01B284: push 0x19b */ 15092 PUSH32(esp, edx); /* 0x2B01B289: push edx */ 15093 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B01B28A: mov dword ptr [ebp - 0x5c], ecx */ 15094 MEM32(ebp + (-0x54)) = 0x19Bu; /* 0x2B01B28D: mov dword ptr [ebp - 0x54], 0x19b */ 15095 MEM32(ebp + (-0x50)) = 0x19Cu; /* 0x2B01B294: mov dword ptr [ebp - 0x50], 0x19c */ 15096 MEM32(ebp + (-0x48)) = 0x19Du; /* 0x2B01B29B: mov dword ptr [ebp - 0x48], 0x19d */ 15097 RECOMP_ICALL(esi); /* 0x2B01B2A2: call esi */ 15098 RECOMP_FLAGS_IN(); 15099 ecx = eax; /* 0x2B01B2A4: mov ecx, eax */ 15100 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01B2A6: call dword ptr [0x2b0b5f7c] */ 15101 RECOMP_FLAGS_IN(); 15102 ecx = MEM32(eax); /* 0x2B01B2AC: mov ecx, dword ptr [eax] */ 15103 MEM32(ebp + (-0x20)) = ecx; /* 0x2B01B2AE: mov dword ptr [ebp - 0x20], ecx */ 15104 edx = MEM32(eax + 0x4); /* 0x2B01B2B1: mov edx, dword ptr [eax + 4] */ 15105 PUSH32(esp, 0x50u); /* 0x2B01B2B4: push 0x50 */ 15106 MEM32(ebp + (-0x1C)) = edx; /* 0x2B01B2B6: mov dword ptr [ebp - 0x1c], edx */ 15107 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B2B9: call 0x2b0ab212 */ /* not lifted */ 15108 RECOMP_FLAGS_IN(); 15109 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15110 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15111 esp = esp + 4; /* 0x2B01B2BE: add esp, 4 */ 15112 _flag_k = FK_ADD; 15113 MEM32(ebp + 0xC) = eax; /* 0x2B01B2C1: mov dword ptr [ebp + 0xc], eax */ 15114 /* test eax, eax */ /* 0x2B01B2C4: test eax, eax */ 15115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15116 _cf = 0; 15117 _flag_k = FK_TEST; 15118 MEM8(ebp + (-0x4)) = (uint8_t)(0x12u); /* 0x2B01B2C6: mov byte ptr [ebp - 4], 0x12 */ 15119 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B2F2; /* 0x2B01B2CA: je 0x2b01b2f2 */ 15120 L_2B01B2CC: 15121 ecx = MEM32(ebx + 0x38); /* 0x2B01B2CC: mov ecx, dword ptr [ebx + 0x38] */ 15122 PUSH32(esp, 0); /* 0x2B01B2CF: push 0 */ 15123 PUSH32(esp, 0x3F800000u); /* 0x2B01B2D1: push 0x3f800000 */ 15124 PUSH32(esp, 0x3F800000u); /* 0x2B01B2D6: push 0x3f800000 */ 15125 PUSH32(esp, ecx); /* 0x2B01B2DB: push ecx */ 15126 edx = ebp + (-0x28); /* 0x2B01B2DC: lea edx, [ebp - 0x28] */ 15127 PUSH32(esp, edx); /* 0x2B01B2DF: push edx */ 15128 ecx = ebp + (-0x20); /* 0x2B01B2E0: lea ecx, [ebp - 0x20] */ 15129 PUSH32(esp, ecx); /* 0x2B01B2E3: push ecx */ 15130 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B2E4: push -1 */ 15131 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B2E6: push -1 */ 15132 ecx = eax; /* 0x2B01B2E8: mov ecx, eax */ 15133 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01B2EA: call dword ptr [0x2b0b5bd8] */ 15134 RECOMP_FLAGS_IN(); 15135 goto L_2B01B2F4; /* 0x2B01B2F0: jmp 0x2b01b2f4 */ 15136 L_2B01B2F2: 15137 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15138 eax = 0; /* 0x2B01B2F2: xor eax, eax */ 15139 _cf = 0; 15140 _flag_k = FK_TEST; 15141 L_2B01B2F4: 15142 PUSH32(esp, 1); /* 0x2B01B2F4: push 1 */ 15143 MEM32(ebx + 0x94) = eax; /* 0x2B01B2F6: mov dword ptr [ebx + 0x94], eax */ 15144 eax = MEM32(eax + 0x28); /* 0x2B01B2FC: mov eax, dword ptr [eax + 0x28] */ 15145 PUSH32(esp, 0); /* 0x2B01B2FF: push 0 */ 15146 PUSH32(esp, 0); /* 0x2B01B301: push 0 */ 15147 ecx = eax; /* 0x2B01B303: mov ecx, eax */ 15148 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B305: mov byte ptr [ebp - 4], 0 */ 15149 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01B309: call dword ptr [0x2b0b564c] */ 15150 RECOMP_FLAGS_IN(); 15151 PUSH32(esp, 0xBCu); /* 0x2B01B30F: push 0xbc */ 15152 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B314: call 0x2b0ab212 */ /* not lifted */ 15153 RECOMP_FLAGS_IN(); 15154 edi = eax; /* 0x2B01B319: mov edi, eax */ 15155 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15156 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15157 esp = esp + 4; /* 0x2B01B31B: add esp, 4 */ 15158 _flag_k = FK_ADD; 15159 MEM32(ebp + 0xC) = edi; /* 0x2B01B31E: mov dword ptr [ebp + 0xc], edi */ 15160 /* test edi, edi */ /* 0x2B01B321: test edi, edi */ 15161 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15162 _cf = 0; 15163 _flag_k = FK_TEST; 15164 MEM8(ebp + (-0x4)) = (uint8_t)(0x13u); /* 0x2B01B323: mov byte ptr [ebp - 4], 0x13 */ 15165 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B346; /* 0x2B01B327: je 0x2b01b346 */ 15166 L_2B01B329: 15167 edx = MEM32(ebx + 0x94); /* 0x2B01B329: mov edx, dword ptr [ebx + 0x94] */ 15168 PUSH32(esp, edx); /* 0x2B01B32F: push edx */ 15169 eax = ebp + (-0x74); /* 0x2B01B330: lea eax, [ebp - 0x74] */ 15170 PUSH32(esp, eax); /* 0x2B01B333: push eax */ 15171 ecx = edi; /* 0x2B01B334: mov ecx, edi */ 15172 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01B336: call dword ptr [0x2b0b5afc] */ 15173 RECOMP_FLAGS_IN(); 15174 MEM32(edi) = 0x2B0B645Cu; /* 0x2B01B33C: mov dword ptr [edi], 0x2b0b645c */ 15175 ecx = edi; /* 0x2B01B342: mov ecx, edi */ 15176 goto L_2B01B348; /* 0x2B01B344: jmp 0x2b01b348 */ 15177 L_2B01B346: 15178 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15179 ecx = 0; /* 0x2B01B346: xor ecx, ecx */ 15180 _cf = 0; 15181 _flag_k = FK_TEST; 15182 L_2B01B348: 15183 PUSH32(esp, 0x7D2u); /* 0x2B01B348: push 0x7d2 */ 15184 PUSH32(esp, 0x2B0389A0u); /* 0x2B01B34D: push 0x2b0389a0 */ 15185 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B352: mov byte ptr [ebp - 4], 0 */ 15186 MEM32(ebx + 0x90) = ecx; /* 0x2B01B356: mov dword ptr [ebx + 0x90], ecx */ 15187 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01B35C: call dword ptr [0x2b0b5af8] */ 15188 RECOMP_FLAGS_IN(); 15189 eax = MEM32(ebx + 0x90); /* 0x2B01B362: mov eax, dword ptr [ebx + 0x90] */ 15190 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01B368: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15191 MEM32(eax + 0xB4) = 0x7D2u; /* 0x2B01B372: mov dword ptr [eax + 0xb4], 0x7d2 */ 15192 ecx = MEM32(ebx + 0x90); /* 0x2B01B37C: mov ecx, dword ptr [ebx + 0x90] */ 15193 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01B382: push 0x2b0e2d68 */ 15194 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01B387: call dword ptr [0x2b0b5af4] */ 15195 RECOMP_FLAGS_IN(); 15196 ecx = MEM32(ebx + 0x94); /* 0x2B01B38D: mov ecx, dword ptr [ebx + 0x94] */ 15197 PUSH32(esp, 0x44400000u); /* 0x2B01B393: push 0x44400000 */ 15198 PUSH32(esp, 0x44800000u); /* 0x2B01B398: push 0x44800000 */ 15199 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01B39D: call dword ptr [0x2b0b5b18] */ 15200 RECOMP_FLAGS_IN(); 15201 ecx = MEM32(ebx + 0x94); /* 0x2B01B3A3: mov ecx, dword ptr [ebx + 0x94] */ 15202 PUSH32(esp, 0x3E8F5C29u); /* 0x2B01B3A9: push 0x3e8f5c29 */ 15203 PUSH32(esp, 0x3F4A3D71u); /* 0x2B01B3AE: push 0x3f4a3d71 */ 15204 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01B3B3: call dword ptr [0x2b0b5b14] */ 15205 RECOMP_FLAGS_IN(); 15206 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15207 eax = 0; /* 0x2B01B3B9: xor eax, eax */ 15208 _cf = 0; 15209 _flag_k = FK_TEST; 15210 PUSH32(esp, 2); /* 0x2B01B3BB: push 2 */ 15211 ecx = 0xCu; /* 0x2B01B3BD: mov ecx, 0xc */ 15212 edi = ebp + (-0x74); /* 0x2B01B3C2: lea edi, [ebp - 0x74] */ 15213 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01B3C5: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 15214 ecx = MEM32(ebx + 0x38); /* 0x2B01B3C7: mov ecx, dword ptr [ebx + 0x38] */ 15215 edx = ebp + (-0x14); /* 0x2B01B3CA: lea edx, [ebp - 0x14] */ 15216 PUSH32(esp, 0x19Eu); /* 0x2B01B3CD: push 0x19e */ 15217 PUSH32(esp, edx); /* 0x2B01B3D2: push edx */ 15218 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B01B3D3: mov dword ptr [ebp - 0x5c], ecx */ 15219 MEM32(ebp + (-0x54)) = 0x19Eu; /* 0x2B01B3D6: mov dword ptr [ebp - 0x54], 0x19e */ 15220 MEM32(ebp + (-0x50)) = 0x19Fu; /* 0x2B01B3DD: mov dword ptr [ebp - 0x50], 0x19f */ 15221 MEM32(ebp + (-0x48)) = 0x1A0u; /* 0x2B01B3E4: mov dword ptr [ebp - 0x48], 0x1a0 */ 15222 RECOMP_ICALL(esi); /* 0x2B01B3EB: call esi */ 15223 RECOMP_FLAGS_IN(); 15224 ecx = eax; /* 0x2B01B3ED: mov ecx, eax */ 15225 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01B3EF: call dword ptr [0x2b0b5f7c] */ 15226 RECOMP_FLAGS_IN(); 15227 ecx = MEM32(eax); /* 0x2B01B3F5: mov ecx, dword ptr [eax] */ 15228 MEM32(ebp + (-0x20)) = ecx; /* 0x2B01B3F7: mov dword ptr [ebp - 0x20], ecx */ 15229 edx = MEM32(eax + 0x4); /* 0x2B01B3FA: mov edx, dword ptr [eax + 4] */ 15230 PUSH32(esp, 0x50u); /* 0x2B01B3FD: push 0x50 */ 15231 MEM32(ebp + (-0x1C)) = edx; /* 0x2B01B3FF: mov dword ptr [ebp - 0x1c], edx */ 15232 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B402: call 0x2b0ab212 */ /* not lifted */ 15233 RECOMP_FLAGS_IN(); 15234 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15235 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15236 esp = esp + 4; /* 0x2B01B407: add esp, 4 */ 15237 _flag_k = FK_ADD; 15238 MEM32(ebp + 0xC) = eax; /* 0x2B01B40A: mov dword ptr [ebp + 0xc], eax */ 15239 /* test eax, eax */ /* 0x2B01B40D: test eax, eax */ 15240 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15241 _cf = 0; 15242 _flag_k = FK_TEST; 15243 MEM8(ebp + (-0x4)) = (uint8_t)(0x14u); /* 0x2B01B40F: mov byte ptr [ebp - 4], 0x14 */ 15244 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B43B; /* 0x2B01B413: je 0x2b01b43b */ 15245 L_2B01B415: 15246 ecx = MEM32(ebx + 0x38); /* 0x2B01B415: mov ecx, dword ptr [ebx + 0x38] */ 15247 PUSH32(esp, 0); /* 0x2B01B418: push 0 */ 15248 PUSH32(esp, 0x3F800000u); /* 0x2B01B41A: push 0x3f800000 */ 15249 PUSH32(esp, 0x3F800000u); /* 0x2B01B41F: push 0x3f800000 */ 15250 PUSH32(esp, ecx); /* 0x2B01B424: push ecx */ 15251 edx = ebp + (-0x28); /* 0x2B01B425: lea edx, [ebp - 0x28] */ 15252 PUSH32(esp, edx); /* 0x2B01B428: push edx */ 15253 ecx = ebp + (-0x20); /* 0x2B01B429: lea ecx, [ebp - 0x20] */ 15254 PUSH32(esp, ecx); /* 0x2B01B42C: push ecx */ 15255 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B42D: push -1 */ 15256 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B42F: push -1 */ 15257 ecx = eax; /* 0x2B01B431: mov ecx, eax */ 15258 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01B433: call dword ptr [0x2b0b5bd8] */ 15259 RECOMP_FLAGS_IN(); 15260 goto L_2B01B43D; /* 0x2B01B439: jmp 0x2b01b43d */ 15261 L_2B01B43B: 15262 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15263 eax = 0; /* 0x2B01B43B: xor eax, eax */ 15264 _cf = 0; 15265 _flag_k = FK_TEST; 15266 L_2B01B43D: 15267 PUSH32(esp, 1); /* 0x2B01B43D: push 1 */ 15268 MEM32(ebx + 0x8C) = eax; /* 0x2B01B43F: mov dword ptr [ebx + 0x8c], eax */ 15269 eax = MEM32(eax + 0x28); /* 0x2B01B445: mov eax, dword ptr [eax + 0x28] */ 15270 PUSH32(esp, 0); /* 0x2B01B448: push 0 */ 15271 PUSH32(esp, 0); /* 0x2B01B44A: push 0 */ 15272 ecx = eax; /* 0x2B01B44C: mov ecx, eax */ 15273 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B44E: mov byte ptr [ebp - 4], 0 */ 15274 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01B452: call dword ptr [0x2b0b564c] */ 15275 RECOMP_FLAGS_IN(); 15276 PUSH32(esp, 0xBCu); /* 0x2B01B458: push 0xbc */ 15277 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B45D: call 0x2b0ab212 */ /* not lifted */ 15278 RECOMP_FLAGS_IN(); 15279 edi = eax; /* 0x2B01B462: mov edi, eax */ 15280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15282 esp = esp + 4; /* 0x2B01B464: add esp, 4 */ 15283 _flag_k = FK_ADD; 15284 MEM32(ebp + 0xC) = edi; /* 0x2B01B467: mov dword ptr [ebp + 0xc], edi */ 15285 /* test edi, edi */ /* 0x2B01B46A: test edi, edi */ 15286 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15287 _cf = 0; 15288 _flag_k = FK_TEST; 15289 MEM8(ebp + (-0x4)) = (uint8_t)(0x15u); /* 0x2B01B46C: mov byte ptr [ebp - 4], 0x15 */ 15290 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B48F; /* 0x2B01B470: je 0x2b01b48f */ 15291 L_2B01B472: 15292 edx = MEM32(ebx + 0x8C); /* 0x2B01B472: mov edx, dword ptr [ebx + 0x8c] */ 15293 PUSH32(esp, edx); /* 0x2B01B478: push edx */ 15294 eax = ebp + (-0x74); /* 0x2B01B479: lea eax, [ebp - 0x74] */ 15295 PUSH32(esp, eax); /* 0x2B01B47C: push eax */ 15296 ecx = edi; /* 0x2B01B47D: mov ecx, edi */ 15297 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01B47F: call dword ptr [0x2b0b5afc] */ 15298 RECOMP_FLAGS_IN(); 15299 MEM32(edi) = 0x2B0B645Cu; /* 0x2B01B485: mov dword ptr [edi], 0x2b0b645c */ 15300 ecx = edi; /* 0x2B01B48B: mov ecx, edi */ 15301 goto L_2B01B491; /* 0x2B01B48D: jmp 0x2b01b491 */ 15302 L_2B01B48F: 15303 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15304 ecx = 0; /* 0x2B01B48F: xor ecx, ecx */ 15305 _cf = 0; 15306 _flag_k = FK_TEST; 15307 L_2B01B491: 15308 PUSH32(esp, 0x7D1u); /* 0x2B01B491: push 0x7d1 */ 15309 PUSH32(esp, 0x2B0389A0u); /* 0x2B01B496: push 0x2b0389a0 */ 15310 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B49B: mov byte ptr [ebp - 4], 0 */ 15311 MEM32(ebx + 0x88) = ecx; /* 0x2B01B49F: mov dword ptr [ebx + 0x88], ecx */ 15312 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01B4A5: call dword ptr [0x2b0b5af8] */ 15313 RECOMP_FLAGS_IN(); 15314 eax = MEM32(ebx + 0x88); /* 0x2B01B4AB: mov eax, dword ptr [ebx + 0x88] */ 15315 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01B4B1: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15316 MEM32(eax + 0xB4) = 0x7D1u; /* 0x2B01B4BB: mov dword ptr [eax + 0xb4], 0x7d1 */ 15317 ecx = MEM32(ebx + 0x88); /* 0x2B01B4C5: mov ecx, dword ptr [ebx + 0x88] */ 15318 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01B4CB: push 0x2b0e2d68 */ 15319 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01B4D0: call dword ptr [0x2b0b5af4] */ 15320 RECOMP_FLAGS_IN(); 15321 ecx = MEM32(ebx + 0x8C); /* 0x2B01B4D6: mov ecx, dword ptr [ebx + 0x8c] */ 15322 PUSH32(esp, 0x44400000u); /* 0x2B01B4DC: push 0x44400000 */ 15323 PUSH32(esp, 0x44800000u); /* 0x2B01B4E1: push 0x44800000 */ 15324 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01B4E6: call dword ptr [0x2b0b5b18] */ 15325 RECOMP_FLAGS_IN(); 15326 ecx = MEM32(ebx + 0x8C); /* 0x2B01B4EC: mov ecx, dword ptr [ebx + 0x8c] */ 15327 PUSH32(esp, 0x3E8F5C29u); /* 0x2B01B4F2: push 0x3e8f5c29 */ 15328 PUSH32(esp, 0x3F2E147Bu); /* 0x2B01B4F7: push 0x3f2e147b */ 15329 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01B4FC: call dword ptr [0x2b0b5b14] */ 15330 RECOMP_FLAGS_IN(); 15331 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15332 eax = 0; /* 0x2B01B502: xor eax, eax */ 15333 _cf = 0; 15334 _flag_k = FK_TEST; 15335 PUSH32(esp, 2); /* 0x2B01B504: push 2 */ 15336 ecx = 0xCu; /* 0x2B01B506: mov ecx, 0xc */ 15337 edi = ebp + (-0x74); /* 0x2B01B50B: lea edi, [ebp - 0x74] */ 15338 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01B50E: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 15339 ecx = MEM32(ebx + 0x38); /* 0x2B01B510: mov ecx, dword ptr [ebx + 0x38] */ 15340 edx = ebp + (-0x14); /* 0x2B01B513: lea edx, [ebp - 0x14] */ 15341 PUSH32(esp, 0x1A1u); /* 0x2B01B516: push 0x1a1 */ 15342 PUSH32(esp, edx); /* 0x2B01B51B: push edx */ 15343 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B01B51C: mov dword ptr [ebp - 0x5c], ecx */ 15344 MEM32(ebp + (-0x54)) = 0x1A1u; /* 0x2B01B51F: mov dword ptr [ebp - 0x54], 0x1a1 */ 15345 MEM32(ebp + (-0x50)) = 0x1A2u; /* 0x2B01B526: mov dword ptr [ebp - 0x50], 0x1a2 */ 15346 MEM32(ebp + (-0x48)) = 0x1A3u; /* 0x2B01B52D: mov dword ptr [ebp - 0x48], 0x1a3 */ 15347 RECOMP_ICALL(esi); /* 0x2B01B534: call esi */ 15348 RECOMP_FLAGS_IN(); 15349 ecx = eax; /* 0x2B01B536: mov ecx, eax */ 15350 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01B538: call dword ptr [0x2b0b5f7c] */ 15351 RECOMP_FLAGS_IN(); 15352 ecx = MEM32(eax); /* 0x2B01B53E: mov ecx, dword ptr [eax] */ 15353 MEM32(ebp + (-0x20)) = ecx; /* 0x2B01B540: mov dword ptr [ebp - 0x20], ecx */ 15354 edx = MEM32(eax + 0x4); /* 0x2B01B543: mov edx, dword ptr [eax + 4] */ 15355 PUSH32(esp, 0x50u); /* 0x2B01B546: push 0x50 */ 15356 MEM32(ebp + (-0x1C)) = edx; /* 0x2B01B548: mov dword ptr [ebp - 0x1c], edx */ 15357 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B54B: call 0x2b0ab212 */ /* not lifted */ 15358 RECOMP_FLAGS_IN(); 15359 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15360 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15361 esp = esp + 4; /* 0x2B01B550: add esp, 4 */ 15362 _flag_k = FK_ADD; 15363 MEM32(ebp + 0xC) = eax; /* 0x2B01B553: mov dword ptr [ebp + 0xc], eax */ 15364 /* test eax, eax */ /* 0x2B01B556: test eax, eax */ 15365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15366 _cf = 0; 15367 _flag_k = FK_TEST; 15368 MEM8(ebp + (-0x4)) = (uint8_t)(0x16u); /* 0x2B01B558: mov byte ptr [ebp - 4], 0x16 */ 15369 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B584; /* 0x2B01B55C: je 0x2b01b584 */ 15370 L_2B01B55E: 15371 ecx = MEM32(ebx + 0x38); /* 0x2B01B55E: mov ecx, dword ptr [ebx + 0x38] */ 15372 PUSH32(esp, 0); /* 0x2B01B561: push 0 */ 15373 PUSH32(esp, 0x3F800000u); /* 0x2B01B563: push 0x3f800000 */ 15374 PUSH32(esp, 0x3F800000u); /* 0x2B01B568: push 0x3f800000 */ 15375 PUSH32(esp, ecx); /* 0x2B01B56D: push ecx */ 15376 edx = ebp + (-0x28); /* 0x2B01B56E: lea edx, [ebp - 0x28] */ 15377 PUSH32(esp, edx); /* 0x2B01B571: push edx */ 15378 ecx = ebp + (-0x20); /* 0x2B01B572: lea ecx, [ebp - 0x20] */ 15379 PUSH32(esp, ecx); /* 0x2B01B575: push ecx */ 15380 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B576: push -1 */ 15381 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B578: push -1 */ 15382 ecx = eax; /* 0x2B01B57A: mov ecx, eax */ 15383 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01B57C: call dword ptr [0x2b0b5bd8] */ 15384 RECOMP_FLAGS_IN(); 15385 goto L_2B01B586; /* 0x2B01B582: jmp 0x2b01b586 */ 15386 L_2B01B584: 15387 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15388 eax = 0; /* 0x2B01B584: xor eax, eax */ 15389 _cf = 0; 15390 _flag_k = FK_TEST; 15391 L_2B01B586: 15392 PUSH32(esp, 1); /* 0x2B01B586: push 1 */ 15393 MEM32(ebx + 0xBC) = eax; /* 0x2B01B588: mov dword ptr [ebx + 0xbc], eax */ 15394 eax = MEM32(eax + 0x28); /* 0x2B01B58E: mov eax, dword ptr [eax + 0x28] */ 15395 PUSH32(esp, 0); /* 0x2B01B591: push 0 */ 15396 PUSH32(esp, 0); /* 0x2B01B593: push 0 */ 15397 ecx = eax; /* 0x2B01B595: mov ecx, eax */ 15398 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B597: mov byte ptr [ebp - 4], 0 */ 15399 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01B59B: call dword ptr [0x2b0b564c] */ 15400 RECOMP_FLAGS_IN(); 15401 PUSH32(esp, 0xBCu); /* 0x2B01B5A1: push 0xbc */ 15402 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B5A6: call 0x2b0ab212 */ /* not lifted */ 15403 RECOMP_FLAGS_IN(); 15404 edi = eax; /* 0x2B01B5AB: mov edi, eax */ 15405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15407 esp = esp + 4; /* 0x2B01B5AD: add esp, 4 */ 15408 _flag_k = FK_ADD; 15409 MEM32(ebp + 0xC) = edi; /* 0x2B01B5B0: mov dword ptr [ebp + 0xc], edi */ 15410 /* test edi, edi */ /* 0x2B01B5B3: test edi, edi */ 15411 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15412 _cf = 0; 15413 _flag_k = FK_TEST; 15414 MEM8(ebp + (-0x4)) = (uint8_t)(0x17u); /* 0x2B01B5B5: mov byte ptr [ebp - 4], 0x17 */ 15415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B5D8; /* 0x2B01B5B9: je 0x2b01b5d8 */ 15416 L_2B01B5BB: 15417 edx = MEM32(ebx + 0xBC); /* 0x2B01B5BB: mov edx, dword ptr [ebx + 0xbc] */ 15418 PUSH32(esp, edx); /* 0x2B01B5C1: push edx */ 15419 eax = ebp + (-0x74); /* 0x2B01B5C2: lea eax, [ebp - 0x74] */ 15420 PUSH32(esp, eax); /* 0x2B01B5C5: push eax */ 15421 ecx = edi; /* 0x2B01B5C6: mov ecx, edi */ 15422 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01B5C8: call dword ptr [0x2b0b5afc] */ 15423 RECOMP_FLAGS_IN(); 15424 MEM32(edi) = 0x2B0B645Cu; /* 0x2B01B5CE: mov dword ptr [edi], 0x2b0b645c */ 15425 ecx = edi; /* 0x2B01B5D4: mov ecx, edi */ 15426 goto L_2B01B5DA; /* 0x2B01B5D6: jmp 0x2b01b5da */ 15427 L_2B01B5D8: 15428 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15429 ecx = 0; /* 0x2B01B5D8: xor ecx, ecx */ 15430 _cf = 0; 15431 _flag_k = FK_TEST; 15432 L_2B01B5DA: 15433 PUSH32(esp, 0x7DDu); /* 0x2B01B5DA: push 0x7dd */ 15434 PUSH32(esp, 0x2B0389A0u); /* 0x2B01B5DF: push 0x2b0389a0 */ 15435 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B5E4: mov byte ptr [ebp - 4], 0 */ 15436 MEM32(ebx + 0xB8) = ecx; /* 0x2B01B5E8: mov dword ptr [ebx + 0xb8], ecx */ 15437 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01B5EE: call dword ptr [0x2b0b5af8] */ 15438 RECOMP_FLAGS_IN(); 15439 eax = MEM32(ebx + 0xB8); /* 0x2B01B5F4: mov eax, dword ptr [ebx + 0xb8] */ 15440 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01B5FA: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15441 MEM32(eax + 0xB4) = 0x7DDu; /* 0x2B01B604: mov dword ptr [eax + 0xb4], 0x7dd */ 15442 ecx = MEM32(ebx + 0xB8); /* 0x2B01B60E: mov ecx, dword ptr [ebx + 0xb8] */ 15443 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01B614: push 0x2b0e2d68 */ 15444 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01B619: call dword ptr [0x2b0b5af4] */ 15445 RECOMP_FLAGS_IN(); 15446 ecx = MEM32(ebx + 0xBC); /* 0x2B01B61F: mov ecx, dword ptr [ebx + 0xbc] */ 15447 PUSH32(esp, 0x44400000u); /* 0x2B01B625: push 0x44400000 */ 15448 PUSH32(esp, 0x44800000u); /* 0x2B01B62A: push 0x44800000 */ 15449 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01B62F: call dword ptr [0x2b0b5b18] */ 15450 RECOMP_FLAGS_IN(); 15451 ecx = MEM32(ebx + 0xBC); /* 0x2B01B635: mov ecx, dword ptr [ebx + 0xbc] */ 15452 PUSH32(esp, 0x3F147AE1u); /* 0x2B01B63B: push 0x3f147ae1 */ 15453 PUSH32(esp, 0x3F666666u); /* 0x2B01B640: push 0x3f666666 */ 15454 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01B645: call dword ptr [0x2b0b5b14] */ 15455 RECOMP_FLAGS_IN(); 15456 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15457 eax = 0; /* 0x2B01B64B: xor eax, eax */ 15458 _cf = 0; 15459 _flag_k = FK_TEST; 15460 PUSH32(esp, 2); /* 0x2B01B64D: push 2 */ 15461 ecx = 0xCu; /* 0x2B01B64F: mov ecx, 0xc */ 15462 edi = ebp + (-0x74); /* 0x2B01B654: lea edi, [ebp - 0x74] */ 15463 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01B657: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 15464 ecx = MEM32(ebx + 0x38); /* 0x2B01B659: mov ecx, dword ptr [ebx + 0x38] */ 15465 edx = ebp + (-0x14); /* 0x2B01B65C: lea edx, [ebp - 0x14] */ 15466 PUSH32(esp, 0x19Bu); /* 0x2B01B65F: push 0x19b */ 15467 PUSH32(esp, edx); /* 0x2B01B664: push edx */ 15468 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B01B665: mov dword ptr [ebp - 0x5c], ecx */ 15469 MEM32(ebp + (-0x54)) = 0x19Bu; /* 0x2B01B668: mov dword ptr [ebp - 0x54], 0x19b */ 15470 MEM32(ebp + (-0x50)) = 0x19Cu; /* 0x2B01B66F: mov dword ptr [ebp - 0x50], 0x19c */ 15471 MEM32(ebp + (-0x48)) = 0x19Du; /* 0x2B01B676: mov dword ptr [ebp - 0x48], 0x19d */ 15472 RECOMP_ICALL(esi); /* 0x2B01B67D: call esi */ 15473 RECOMP_FLAGS_IN(); 15474 ecx = eax; /* 0x2B01B67F: mov ecx, eax */ 15475 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01B681: call dword ptr [0x2b0b5f7c] */ 15476 RECOMP_FLAGS_IN(); 15477 ecx = MEM32(eax); /* 0x2B01B687: mov ecx, dword ptr [eax] */ 15478 MEM32(ebp + (-0x20)) = ecx; /* 0x2B01B689: mov dword ptr [ebp - 0x20], ecx */ 15479 edx = MEM32(eax + 0x4); /* 0x2B01B68C: mov edx, dword ptr [eax + 4] */ 15480 PUSH32(esp, 0x50u); /* 0x2B01B68F: push 0x50 */ 15481 MEM32(ebp + (-0x1C)) = edx; /* 0x2B01B691: mov dword ptr [ebp - 0x1c], edx */ 15482 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B694: call 0x2b0ab212 */ /* not lifted */ 15483 RECOMP_FLAGS_IN(); 15484 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15485 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15486 esp = esp + 4; /* 0x2B01B699: add esp, 4 */ 15487 _flag_k = FK_ADD; 15488 MEM32(ebp + 0xC) = eax; /* 0x2B01B69C: mov dword ptr [ebp + 0xc], eax */ 15489 /* test eax, eax */ /* 0x2B01B69F: test eax, eax */ 15490 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15491 _cf = 0; 15492 _flag_k = FK_TEST; 15493 MEM8(ebp + (-0x4)) = (uint8_t)(0x18u); /* 0x2B01B6A1: mov byte ptr [ebp - 4], 0x18 */ 15494 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B6CD; /* 0x2B01B6A5: je 0x2b01b6cd */ 15495 L_2B01B6A7: 15496 ecx = MEM32(ebx + 0x38); /* 0x2B01B6A7: mov ecx, dword ptr [ebx + 0x38] */ 15497 PUSH32(esp, 0); /* 0x2B01B6AA: push 0 */ 15498 PUSH32(esp, 0x3F800000u); /* 0x2B01B6AC: push 0x3f800000 */ 15499 PUSH32(esp, 0x3F800000u); /* 0x2B01B6B1: push 0x3f800000 */ 15500 PUSH32(esp, ecx); /* 0x2B01B6B6: push ecx */ 15501 edx = ebp + (-0x28); /* 0x2B01B6B7: lea edx, [ebp - 0x28] */ 15502 PUSH32(esp, edx); /* 0x2B01B6BA: push edx */ 15503 ecx = ebp + (-0x20); /* 0x2B01B6BB: lea ecx, [ebp - 0x20] */ 15504 PUSH32(esp, ecx); /* 0x2B01B6BE: push ecx */ 15505 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B6BF: push -1 */ 15506 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B6C1: push -1 */ 15507 ecx = eax; /* 0x2B01B6C3: mov ecx, eax */ 15508 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01B6C5: call dword ptr [0x2b0b5bd8] */ 15509 RECOMP_FLAGS_IN(); 15510 goto L_2B01B6CF; /* 0x2B01B6CB: jmp 0x2b01b6cf */ 15511 L_2B01B6CD: 15512 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15513 eax = 0; /* 0x2B01B6CD: xor eax, eax */ 15514 _cf = 0; 15515 _flag_k = FK_TEST; 15516 L_2B01B6CF: 15517 PUSH32(esp, 1); /* 0x2B01B6CF: push 1 */ 15518 MEM32(ebx + 0xB4) = eax; /* 0x2B01B6D1: mov dword ptr [ebx + 0xb4], eax */ 15519 eax = MEM32(eax + 0x28); /* 0x2B01B6D7: mov eax, dword ptr [eax + 0x28] */ 15520 PUSH32(esp, 0); /* 0x2B01B6DA: push 0 */ 15521 PUSH32(esp, 0); /* 0x2B01B6DC: push 0 */ 15522 ecx = eax; /* 0x2B01B6DE: mov ecx, eax */ 15523 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B6E0: mov byte ptr [ebp - 4], 0 */ 15524 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01B6E4: call dword ptr [0x2b0b564c] */ 15525 RECOMP_FLAGS_IN(); 15526 PUSH32(esp, 0xBCu); /* 0x2B01B6EA: push 0xbc */ 15527 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B6EF: call 0x2b0ab212 */ /* not lifted */ 15528 RECOMP_FLAGS_IN(); 15529 edi = eax; /* 0x2B01B6F4: mov edi, eax */ 15530 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15531 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15532 esp = esp + 4; /* 0x2B01B6F6: add esp, 4 */ 15533 _flag_k = FK_ADD; 15534 MEM32(ebp + 0xC) = edi; /* 0x2B01B6F9: mov dword ptr [ebp + 0xc], edi */ 15535 /* test edi, edi */ /* 0x2B01B6FC: test edi, edi */ 15536 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15537 _cf = 0; 15538 _flag_k = FK_TEST; 15539 MEM8(ebp + (-0x4)) = (uint8_t)(0x19u); /* 0x2B01B6FE: mov byte ptr [ebp - 4], 0x19 */ 15540 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B721; /* 0x2B01B702: je 0x2b01b721 */ 15541 L_2B01B704: 15542 edx = MEM32(ebx + 0xB4); /* 0x2B01B704: mov edx, dword ptr [ebx + 0xb4] */ 15543 PUSH32(esp, edx); /* 0x2B01B70A: push edx */ 15544 eax = ebp + (-0x74); /* 0x2B01B70B: lea eax, [ebp - 0x74] */ 15545 PUSH32(esp, eax); /* 0x2B01B70E: push eax */ 15546 ecx = edi; /* 0x2B01B70F: mov ecx, edi */ 15547 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01B711: call dword ptr [0x2b0b5afc] */ 15548 RECOMP_FLAGS_IN(); 15549 MEM32(edi) = 0x2B0B645Cu; /* 0x2B01B717: mov dword ptr [edi], 0x2b0b645c */ 15550 ecx = edi; /* 0x2B01B71D: mov ecx, edi */ 15551 goto L_2B01B723; /* 0x2B01B71F: jmp 0x2b01b723 */ 15552 L_2B01B721: 15553 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15554 ecx = 0; /* 0x2B01B721: xor ecx, ecx */ 15555 _cf = 0; 15556 _flag_k = FK_TEST; 15557 L_2B01B723: 15558 PUSH32(esp, 0x7DCu); /* 0x2B01B723: push 0x7dc */ 15559 PUSH32(esp, 0x2B0389A0u); /* 0x2B01B728: push 0x2b0389a0 */ 15560 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B72D: mov byte ptr [ebp - 4], 0 */ 15561 MEM32(ebx + 0xB0) = ecx; /* 0x2B01B731: mov dword ptr [ebx + 0xb0], ecx */ 15562 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01B737: call dword ptr [0x2b0b5af8] */ 15563 RECOMP_FLAGS_IN(); 15564 eax = MEM32(ebx + 0xB0); /* 0x2B01B73D: mov eax, dword ptr [ebx + 0xb0] */ 15565 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01B743: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15566 MEM32(eax + 0xB4) = 0x7DCu; /* 0x2B01B74D: mov dword ptr [eax + 0xb4], 0x7dc */ 15567 ecx = MEM32(ebx + 0xB0); /* 0x2B01B757: mov ecx, dword ptr [ebx + 0xb0] */ 15568 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01B75D: push 0x2b0e2d68 */ 15569 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01B762: call dword ptr [0x2b0b5af4] */ 15570 RECOMP_FLAGS_IN(); 15571 ecx = MEM32(ebx + 0xB4); /* 0x2B01B768: mov ecx, dword ptr [ebx + 0xb4] */ 15572 PUSH32(esp, 0x44400000u); /* 0x2B01B76E: push 0x44400000 */ 15573 PUSH32(esp, 0x44800000u); /* 0x2B01B773: push 0x44800000 */ 15574 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01B778: call dword ptr [0x2b0b5b18] */ 15575 RECOMP_FLAGS_IN(); 15576 ecx = MEM32(ebx + 0xB4); /* 0x2B01B77E: mov ecx, dword ptr [ebx + 0xb4] */ 15577 PUSH32(esp, 0x3F147AE1u); /* 0x2B01B784: push 0x3f147ae1 */ 15578 PUSH32(esp, 0x3F4A3D71u); /* 0x2B01B789: push 0x3f4a3d71 */ 15579 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01B78E: call dword ptr [0x2b0b5b14] */ 15580 RECOMP_FLAGS_IN(); 15581 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15582 eax = 0; /* 0x2B01B794: xor eax, eax */ 15583 _cf = 0; 15584 _flag_k = FK_TEST; 15585 PUSH32(esp, 2); /* 0x2B01B796: push 2 */ 15586 ecx = 0xCu; /* 0x2B01B798: mov ecx, 0xc */ 15587 edi = ebp + (-0x74); /* 0x2B01B79D: lea edi, [ebp - 0x74] */ 15588 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01B7A0: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 15589 ecx = MEM32(ebx + 0x38); /* 0x2B01B7A2: mov ecx, dword ptr [ebx + 0x38] */ 15590 edx = ebp + (-0x14); /* 0x2B01B7A5: lea edx, [ebp - 0x14] */ 15591 PUSH32(esp, 0x1A4u); /* 0x2B01B7A8: push 0x1a4 */ 15592 PUSH32(esp, edx); /* 0x2B01B7AD: push edx */ 15593 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B01B7AE: mov dword ptr [ebp - 0x5c], ecx */ 15594 MEM32(ebp + (-0x54)) = 0x1A4u; /* 0x2B01B7B1: mov dword ptr [ebp - 0x54], 0x1a4 */ 15595 MEM32(ebp + (-0x50)) = 0x1A5u; /* 0x2B01B7B8: mov dword ptr [ebp - 0x50], 0x1a5 */ 15596 MEM32(ebp + (-0x48)) = 0x1A6u; /* 0x2B01B7BF: mov dword ptr [ebp - 0x48], 0x1a6 */ 15597 RECOMP_ICALL(esi); /* 0x2B01B7C6: call esi */ 15598 RECOMP_FLAGS_IN(); 15599 ecx = eax; /* 0x2B01B7C8: mov ecx, eax */ 15600 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01B7CA: call dword ptr [0x2b0b5f7c] */ 15601 RECOMP_FLAGS_IN(); 15602 ecx = MEM32(eax); /* 0x2B01B7D0: mov ecx, dword ptr [eax] */ 15603 MEM32(ebp + (-0x20)) = ecx; /* 0x2B01B7D2: mov dword ptr [ebp - 0x20], ecx */ 15604 edx = MEM32(eax + 0x4); /* 0x2B01B7D5: mov edx, dword ptr [eax + 4] */ 15605 PUSH32(esp, 0x50u); /* 0x2B01B7D8: push 0x50 */ 15606 MEM32(ebp + (-0x1C)) = edx; /* 0x2B01B7DA: mov dword ptr [ebp - 0x1c], edx */ 15607 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B7DD: call 0x2b0ab212 */ /* not lifted */ 15608 RECOMP_FLAGS_IN(); 15609 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15610 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15611 esp = esp + 4; /* 0x2B01B7E2: add esp, 4 */ 15612 _flag_k = FK_ADD; 15613 MEM32(ebp + 0xC) = eax; /* 0x2B01B7E5: mov dword ptr [ebp + 0xc], eax */ 15614 /* test eax, eax */ /* 0x2B01B7E8: test eax, eax */ 15615 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15616 _cf = 0; 15617 _flag_k = FK_TEST; 15618 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Au); /* 0x2B01B7EA: mov byte ptr [ebp - 4], 0x1a */ 15619 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B816; /* 0x2B01B7EE: je 0x2b01b816 */ 15620 L_2B01B7F0: 15621 ecx = MEM32(ebx + 0x38); /* 0x2B01B7F0: mov ecx, dword ptr [ebx + 0x38] */ 15622 PUSH32(esp, 0); /* 0x2B01B7F3: push 0 */ 15623 PUSH32(esp, 0x3F800000u); /* 0x2B01B7F5: push 0x3f800000 */ 15624 PUSH32(esp, 0x3F800000u); /* 0x2B01B7FA: push 0x3f800000 */ 15625 PUSH32(esp, ecx); /* 0x2B01B7FF: push ecx */ 15626 edx = ebp + (-0x28); /* 0x2B01B800: lea edx, [ebp - 0x28] */ 15627 PUSH32(esp, edx); /* 0x2B01B803: push edx */ 15628 ecx = ebp + (-0x20); /* 0x2B01B804: lea ecx, [ebp - 0x20] */ 15629 PUSH32(esp, ecx); /* 0x2B01B807: push ecx */ 15630 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B808: push -1 */ 15631 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B80A: push -1 */ 15632 ecx = eax; /* 0x2B01B80C: mov ecx, eax */ 15633 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01B80E: call dword ptr [0x2b0b5bd8] */ 15634 RECOMP_FLAGS_IN(); 15635 goto L_2B01B818; /* 0x2B01B814: jmp 0x2b01b818 */ 15636 L_2B01B816: 15637 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15638 eax = 0; /* 0x2B01B816: xor eax, eax */ 15639 _cf = 0; 15640 _flag_k = FK_TEST; 15641 L_2B01B818: 15642 PUSH32(esp, 1); /* 0x2B01B818: push 1 */ 15643 MEM32(ebx + 0xAC) = eax; /* 0x2B01B81A: mov dword ptr [ebx + 0xac], eax */ 15644 eax = MEM32(eax + 0x28); /* 0x2B01B820: mov eax, dword ptr [eax + 0x28] */ 15645 PUSH32(esp, 0); /* 0x2B01B823: push 0 */ 15646 PUSH32(esp, 0); /* 0x2B01B825: push 0 */ 15647 ecx = eax; /* 0x2B01B827: mov ecx, eax */ 15648 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B829: mov byte ptr [ebp - 4], 0 */ 15649 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01B82D: call dword ptr [0x2b0b564c] */ 15650 RECOMP_FLAGS_IN(); 15651 PUSH32(esp, 0xBCu); /* 0x2B01B833: push 0xbc */ 15652 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B838: call 0x2b0ab212 */ /* not lifted */ 15653 RECOMP_FLAGS_IN(); 15654 edi = eax; /* 0x2B01B83D: mov edi, eax */ 15655 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15657 esp = esp + 4; /* 0x2B01B83F: add esp, 4 */ 15658 _flag_k = FK_ADD; 15659 MEM32(ebp + 0xC) = edi; /* 0x2B01B842: mov dword ptr [ebp + 0xc], edi */ 15660 /* test edi, edi */ /* 0x2B01B845: test edi, edi */ 15661 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15662 _cf = 0; 15663 _flag_k = FK_TEST; 15664 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Bu); /* 0x2B01B847: mov byte ptr [ebp - 4], 0x1b */ 15665 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B86A; /* 0x2B01B84B: je 0x2b01b86a */ 15666 L_2B01B84D: 15667 edx = MEM32(ebx + 0xAC); /* 0x2B01B84D: mov edx, dword ptr [ebx + 0xac] */ 15668 PUSH32(esp, edx); /* 0x2B01B853: push edx */ 15669 eax = ebp + (-0x74); /* 0x2B01B854: lea eax, [ebp - 0x74] */ 15670 PUSH32(esp, eax); /* 0x2B01B857: push eax */ 15671 ecx = edi; /* 0x2B01B858: mov ecx, edi */ 15672 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01B85A: call dword ptr [0x2b0b5afc] */ 15673 RECOMP_FLAGS_IN(); 15674 MEM32(edi) = 0x2B0B645Cu; /* 0x2B01B860: mov dword ptr [edi], 0x2b0b645c */ 15675 ecx = edi; /* 0x2B01B866: mov ecx, edi */ 15676 goto L_2B01B86C; /* 0x2B01B868: jmp 0x2b01b86c */ 15677 L_2B01B86A: 15678 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15679 ecx = 0; /* 0x2B01B86A: xor ecx, ecx */ 15680 _cf = 0; 15681 _flag_k = FK_TEST; 15682 L_2B01B86C: 15683 PUSH32(esp, 0x7DBu); /* 0x2B01B86C: push 0x7db */ 15684 PUSH32(esp, 0x2B0389A0u); /* 0x2B01B871: push 0x2b0389a0 */ 15685 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B876: mov byte ptr [ebp - 4], 0 */ 15686 MEM32(ebx + 0xA8) = ecx; /* 0x2B01B87A: mov dword ptr [ebx + 0xa8], ecx */ 15687 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01B880: call dword ptr [0x2b0b5af8] */ 15688 RECOMP_FLAGS_IN(); 15689 eax = MEM32(ebx + 0xA8); /* 0x2B01B886: mov eax, dword ptr [ebx + 0xa8] */ 15690 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01B88C: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15691 MEM32(eax + 0xB4) = 0x7DBu; /* 0x2B01B896: mov dword ptr [eax + 0xb4], 0x7db */ 15692 ecx = MEM32(ebx + 0xA8); /* 0x2B01B8A0: mov ecx, dword ptr [ebx + 0xa8] */ 15693 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01B8A6: push 0x2b0e2d68 */ 15694 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01B8AB: call dword ptr [0x2b0b5af4] */ 15695 RECOMP_FLAGS_IN(); 15696 ecx = MEM32(ebx + 0xAC); /* 0x2B01B8B1: mov ecx, dword ptr [ebx + 0xac] */ 15697 PUSH32(esp, 0x44400000u); /* 0x2B01B8B7: push 0x44400000 */ 15698 PUSH32(esp, 0x44800000u); /* 0x2B01B8BC: push 0x44800000 */ 15699 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01B8C1: call dword ptr [0x2b0b5b18] */ 15700 RECOMP_FLAGS_IN(); 15701 ecx = MEM32(ebx + 0xAC); /* 0x2B01B8C7: mov ecx, dword ptr [ebx + 0xac] */ 15702 PUSH32(esp, 0x3F147AE1u); /* 0x2B01B8CD: push 0x3f147ae1 */ 15703 PUSH32(esp, 0x3F2E147Bu); /* 0x2B01B8D2: push 0x3f2e147b */ 15704 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01B8D7: call dword ptr [0x2b0b5b14] */ 15705 RECOMP_FLAGS_IN(); 15706 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15707 eax = 0; /* 0x2B01B8DD: xor eax, eax */ 15708 _cf = 0; 15709 _flag_k = FK_TEST; 15710 PUSH32(esp, 2); /* 0x2B01B8DF: push 2 */ 15711 ecx = 0xCu; /* 0x2B01B8E1: mov ecx, 0xc */ 15712 edi = ebp + (-0x74); /* 0x2B01B8E6: lea edi, [ebp - 0x74] */ 15713 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01B8E9: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 15714 ecx = MEM32(ebx + 0x38); /* 0x2B01B8EB: mov ecx, dword ptr [ebx + 0x38] */ 15715 edx = ebp + (-0x14); /* 0x2B01B8EE: lea edx, [ebp - 0x14] */ 15716 PUSH32(esp, 0x1A7u); /* 0x2B01B8F1: push 0x1a7 */ 15717 PUSH32(esp, edx); /* 0x2B01B8F6: push edx */ 15718 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B01B8F7: mov dword ptr [ebp - 0x5c], ecx */ 15719 MEM32(ebp + (-0x54)) = 0x1A7u; /* 0x2B01B8FA: mov dword ptr [ebp - 0x54], 0x1a7 */ 15720 MEM32(ebp + (-0x50)) = 0x1A8u; /* 0x2B01B901: mov dword ptr [ebp - 0x50], 0x1a8 */ 15721 MEM32(ebp + (-0x48)) = 0x1A9u; /* 0x2B01B908: mov dword ptr [ebp - 0x48], 0x1a9 */ 15722 RECOMP_ICALL(esi); /* 0x2B01B90F: call esi */ 15723 RECOMP_FLAGS_IN(); 15724 ecx = eax; /* 0x2B01B911: mov ecx, eax */ 15725 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01B913: call dword ptr [0x2b0b5f7c] */ 15726 RECOMP_FLAGS_IN(); 15727 ecx = MEM32(eax); /* 0x2B01B919: mov ecx, dword ptr [eax] */ 15728 MEM32(ebp + (-0x20)) = ecx; /* 0x2B01B91B: mov dword ptr [ebp - 0x20], ecx */ 15729 edx = MEM32(eax + 0x4); /* 0x2B01B91E: mov edx, dword ptr [eax + 4] */ 15730 PUSH32(esp, 0x50u); /* 0x2B01B921: push 0x50 */ 15731 MEM32(ebp + (-0x1C)) = edx; /* 0x2B01B923: mov dword ptr [ebp - 0x1c], edx */ 15732 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B926: call 0x2b0ab212 */ /* not lifted */ 15733 RECOMP_FLAGS_IN(); 15734 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15735 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15736 esp = esp + 4; /* 0x2B01B92B: add esp, 4 */ 15737 _flag_k = FK_ADD; 15738 MEM32(ebp + 0xC) = eax; /* 0x2B01B92E: mov dword ptr [ebp + 0xc], eax */ 15739 /* test eax, eax */ /* 0x2B01B931: test eax, eax */ 15740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15741 _cf = 0; 15742 _flag_k = FK_TEST; 15743 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Cu); /* 0x2B01B933: mov byte ptr [ebp - 4], 0x1c */ 15744 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B95F; /* 0x2B01B937: je 0x2b01b95f */ 15745 L_2B01B939: 15746 ecx = MEM32(ebx + 0x38); /* 0x2B01B939: mov ecx, dword ptr [ebx + 0x38] */ 15747 PUSH32(esp, 0); /* 0x2B01B93C: push 0 */ 15748 PUSH32(esp, 0x3F800000u); /* 0x2B01B93E: push 0x3f800000 */ 15749 PUSH32(esp, 0x3F800000u); /* 0x2B01B943: push 0x3f800000 */ 15750 PUSH32(esp, ecx); /* 0x2B01B948: push ecx */ 15751 edx = ebp + (-0x28); /* 0x2B01B949: lea edx, [ebp - 0x28] */ 15752 PUSH32(esp, edx); /* 0x2B01B94C: push edx */ 15753 ecx = ebp + (-0x20); /* 0x2B01B94D: lea ecx, [ebp - 0x20] */ 15754 PUSH32(esp, ecx); /* 0x2B01B950: push ecx */ 15755 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B951: push -1 */ 15756 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01B953: push -1 */ 15757 ecx = eax; /* 0x2B01B955: mov ecx, eax */ 15758 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01B957: call dword ptr [0x2b0b5bd8] */ 15759 RECOMP_FLAGS_IN(); 15760 goto L_2B01B961; /* 0x2B01B95D: jmp 0x2b01b961 */ 15761 L_2B01B95F: 15762 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15763 eax = 0; /* 0x2B01B95F: xor eax, eax */ 15764 _cf = 0; 15765 _flag_k = FK_TEST; 15766 L_2B01B961: 15767 PUSH32(esp, 1); /* 0x2B01B961: push 1 */ 15768 MEM32(ebx + 0xCC) = eax; /* 0x2B01B963: mov dword ptr [ebx + 0xcc], eax */ 15769 eax = MEM32(eax + 0x28); /* 0x2B01B969: mov eax, dword ptr [eax + 0x28] */ 15770 PUSH32(esp, 0); /* 0x2B01B96C: push 0 */ 15771 PUSH32(esp, 0); /* 0x2B01B96E: push 0 */ 15772 ecx = eax; /* 0x2B01B970: mov ecx, eax */ 15773 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B972: mov byte ptr [ebp - 4], 0 */ 15774 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01B976: call dword ptr [0x2b0b564c] */ 15775 RECOMP_FLAGS_IN(); 15776 PUSH32(esp, 0xBCu); /* 0x2B01B97C: push 0xbc */ 15777 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01B981: call 0x2b0ab212 */ /* not lifted */ 15778 RECOMP_FLAGS_IN(); 15779 edi = eax; /* 0x2B01B986: mov edi, eax */ 15780 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15781 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15782 esp = esp + 4; /* 0x2B01B988: add esp, 4 */ 15783 _flag_k = FK_ADD; 15784 MEM32(ebp + 0xC) = edi; /* 0x2B01B98B: mov dword ptr [ebp + 0xc], edi */ 15785 /* test edi, edi */ /* 0x2B01B98E: test edi, edi */ 15786 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 15787 _cf = 0; 15788 _flag_k = FK_TEST; 15789 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Du); /* 0x2B01B990: mov byte ptr [ebp - 4], 0x1d */ 15790 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01B9B3; /* 0x2B01B994: je 0x2b01b9b3 */ 15791 L_2B01B996: 15792 edx = MEM32(ebx + 0xCC); /* 0x2B01B996: mov edx, dword ptr [ebx + 0xcc] */ 15793 PUSH32(esp, edx); /* 0x2B01B99C: push edx */ 15794 eax = ebp + (-0x74); /* 0x2B01B99D: lea eax, [ebp - 0x74] */ 15795 PUSH32(esp, eax); /* 0x2B01B9A0: push eax */ 15796 ecx = edi; /* 0x2B01B9A1: mov ecx, edi */ 15797 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01B9A3: call dword ptr [0x2b0b5afc] */ 15798 RECOMP_FLAGS_IN(); 15799 MEM32(edi) = 0x2B0B645Cu; /* 0x2B01B9A9: mov dword ptr [edi], 0x2b0b645c */ 15800 ecx = edi; /* 0x2B01B9AF: mov ecx, edi */ 15801 goto L_2B01B9B5; /* 0x2B01B9B1: jmp 0x2b01b9b5 */ 15802 L_2B01B9B3: 15803 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15804 ecx = 0; /* 0x2B01B9B3: xor ecx, ecx */ 15805 _cf = 0; 15806 _flag_k = FK_TEST; 15807 L_2B01B9B5: 15808 PUSH32(esp, 0x7E5u); /* 0x2B01B9B5: push 0x7e5 */ 15809 PUSH32(esp, 0x2B0389A0u); /* 0x2B01B9BA: push 0x2b0389a0 */ 15810 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01B9BF: mov byte ptr [ebp - 4], 0 */ 15811 MEM32(ebx + 0xC8) = ecx; /* 0x2B01B9C3: mov dword ptr [ebx + 0xc8], ecx */ 15812 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01B9C9: call dword ptr [0x2b0b5af8] */ 15813 RECOMP_FLAGS_IN(); 15814 eax = MEM32(ebx + 0xC8); /* 0x2B01B9CF: mov eax, dword ptr [ebx + 0xc8] */ 15815 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01B9D5: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15816 MEM32(eax + 0xB4) = 0x7E5u; /* 0x2B01B9DF: mov dword ptr [eax + 0xb4], 0x7e5 */ 15817 ecx = MEM32(ebx + 0xC8); /* 0x2B01B9E9: mov ecx, dword ptr [ebx + 0xc8] */ 15818 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01B9EF: push 0x2b0e2d68 */ 15819 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01B9F4: call dword ptr [0x2b0b5af4] */ 15820 RECOMP_FLAGS_IN(); 15821 ecx = MEM32(ebx + 0xCC); /* 0x2B01B9FA: mov ecx, dword ptr [ebx + 0xcc] */ 15822 PUSH32(esp, 0x44400000u); /* 0x2B01BA00: push 0x44400000 */ 15823 PUSH32(esp, 0x44800000u); /* 0x2B01BA05: push 0x44800000 */ 15824 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01BA0A: call dword ptr [0x2b0b5b18] */ 15825 RECOMP_FLAGS_IN(); 15826 ecx = MEM32(ebx + 0xCC); /* 0x2B01BA10: mov ecx, dword ptr [ebx + 0xcc] */ 15827 PUSH32(esp, 0x3E2E147Bu); /* 0x2B01BA16: push 0x3e2e147b */ 15828 PUSH32(esp, 0x3ECCCCCDu); /* 0x2B01BA1B: push 0x3ecccccd */ 15829 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01BA20: call dword ptr [0x2b0b5b14] */ 15830 RECOMP_FLAGS_IN(); 15831 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15832 eax = 0; /* 0x2B01BA26: xor eax, eax */ 15833 _cf = 0; 15834 _flag_k = FK_TEST; 15835 PUSH32(esp, 2); /* 0x2B01BA28: push 2 */ 15836 ecx = 0xCu; /* 0x2B01BA2A: mov ecx, 0xc */ 15837 edi = ebp + (-0x74); /* 0x2B01BA2F: lea edi, [ebp - 0x74] */ 15838 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01BA32: rep stosd dword ptr es:[edi], eax */ if (_df > 0) { MEMSET32((void*)ADDR(edi), eax, _n); edi += _b; } else { MEMSET32((void*)ADDR(edi - _b + 4u), eax, _n); edi -= _b; } ecx = 0; } 15839 ecx = MEM32(ebx + 0x38); /* 0x2B01BA34: mov ecx, dword ptr [ebx + 0x38] */ 15840 edx = ebp + (-0x30); /* 0x2B01BA37: lea edx, [ebp - 0x30] */ 15841 PUSH32(esp, 0x1AAu); /* 0x2B01BA3A: push 0x1aa */ 15842 PUSH32(esp, edx); /* 0x2B01BA3F: push edx */ 15843 MEM32(ebp + (-0x5C)) = ecx; /* 0x2B01BA40: mov dword ptr [ebp - 0x5c], ecx */ 15844 MEM32(ebp + (-0x54)) = 0x1AAu; /* 0x2B01BA43: mov dword ptr [ebp - 0x54], 0x1aa */ 15845 MEM32(ebp + (-0x50)) = 0x1ABu; /* 0x2B01BA4A: mov dword ptr [ebp - 0x50], 0x1ab */ 15846 MEM32(ebp + (-0x48)) = 0x1ACu; /* 0x2B01BA51: mov dword ptr [ebp - 0x48], 0x1ac */ 15847 RECOMP_ICALL(esi); /* 0x2B01BA58: call esi */ 15848 RECOMP_FLAGS_IN(); 15849 ecx = eax; /* 0x2B01BA5A: mov ecx, eax */ 15850 RECOMP_ICALL(MEM32(0x2B0B5F7C)); /* 0x2B01BA5C: call dword ptr [0x2b0b5f7c] */ 15851 RECOMP_FLAGS_IN(); 15852 ecx = MEM32(eax); /* 0x2B01BA62: mov ecx, dword ptr [eax] */ 15853 MEM32(ebp + (-0x20)) = ecx; /* 0x2B01BA64: mov dword ptr [ebp - 0x20], ecx */ 15854 edx = MEM32(eax + 0x4); /* 0x2B01BA67: mov edx, dword ptr [eax + 4] */ 15855 PUSH32(esp, 0x50u); /* 0x2B01BA6A: push 0x50 */ 15856 MEM32(ebp + (-0x1C)) = edx; /* 0x2B01BA6C: mov dword ptr [ebp - 0x1c], edx */ 15857 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01BA6F: call 0x2b0ab212 */ /* not lifted */ 15858 RECOMP_FLAGS_IN(); 15859 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15861 esp = esp + 4; /* 0x2B01BA74: add esp, 4 */ 15862 _flag_k = FK_ADD; 15863 MEM32(ebp + 0xC) = eax; /* 0x2B01BA77: mov dword ptr [ebp + 0xc], eax */ 15864 /* test eax, eax */ /* 0x2B01BA7A: test eax, eax */ 15865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15866 _cf = 0; 15867 _flag_k = FK_TEST; 15868 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Eu); /* 0x2B01BA7C: mov byte ptr [ebp - 4], 0x1e */ 15869 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BAA8; /* 0x2B01BA80: je 0x2b01baa8 */ 15870 L_2B01BA82: 15871 ecx = MEM32(ebx + 0x38); /* 0x2B01BA82: mov ecx, dword ptr [ebx + 0x38] */ 15872 PUSH32(esp, 0); /* 0x2B01BA85: push 0 */ 15873 PUSH32(esp, 0x3F800000u); /* 0x2B01BA87: push 0x3f800000 */ 15874 PUSH32(esp, 0x3F800000u); /* 0x2B01BA8C: push 0x3f800000 */ 15875 PUSH32(esp, ecx); /* 0x2B01BA91: push ecx */ 15876 edx = ebp + (-0x28); /* 0x2B01BA92: lea edx, [ebp - 0x28] */ 15877 PUSH32(esp, edx); /* 0x2B01BA95: push edx */ 15878 ecx = ebp + (-0x20); /* 0x2B01BA96: lea ecx, [ebp - 0x20] */ 15879 PUSH32(esp, ecx); /* 0x2B01BA99: push ecx */ 15880 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01BA9A: push -1 */ 15881 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01BA9C: push -1 */ 15882 ecx = eax; /* 0x2B01BA9E: mov ecx, eax */ 15883 RECOMP_ICALL(MEM32(0x2B0B5BD8)); /* 0x2B01BAA0: call dword ptr [0x2b0b5bd8] */ 15884 RECOMP_FLAGS_IN(); 15885 goto L_2B01BAAA; /* 0x2B01BAA6: jmp 0x2b01baaa */ 15886 L_2B01BAA8: 15887 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15888 eax = 0; /* 0x2B01BAA8: xor eax, eax */ 15889 _cf = 0; 15890 _flag_k = FK_TEST; 15891 L_2B01BAAA: 15892 PUSH32(esp, 1); /* 0x2B01BAAA: push 1 */ 15893 MEM32(ebx + 0xD4) = eax; /* 0x2B01BAAC: mov dword ptr [ebx + 0xd4], eax */ 15894 eax = MEM32(eax + 0x28); /* 0x2B01BAB2: mov eax, dword ptr [eax + 0x28] */ 15895 PUSH32(esp, 0); /* 0x2B01BAB5: push 0 */ 15896 PUSH32(esp, 0); /* 0x2B01BAB7: push 0 */ 15897 ecx = eax; /* 0x2B01BAB9: mov ecx, eax */ 15898 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01BABB: mov byte ptr [ebp - 4], 0 */ 15899 RECOMP_ICALL(MEM32(0x2B0B564C)); /* 0x2B01BABF: call dword ptr [0x2b0b564c] */ 15900 RECOMP_FLAGS_IN(); 15901 PUSH32(esp, 0xBCu); /* 0x2B01BAC5: push 0xbc */ 15902 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01BACA: call 0x2b0ab212 */ /* not lifted */ 15903 RECOMP_FLAGS_IN(); 15904 esi = eax; /* 0x2B01BACF: mov esi, eax */ 15905 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15906 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15907 esp = esp + 4; /* 0x2B01BAD1: add esp, 4 */ 15908 _flag_k = FK_ADD; 15909 MEM32(ebp + 0xC) = esi; /* 0x2B01BAD4: mov dword ptr [ebp + 0xc], esi */ 15910 /* test esi, esi */ /* 0x2B01BAD7: test esi, esi */ 15911 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 15912 _cf = 0; 15913 _flag_k = FK_TEST; 15914 MEM8(ebp + (-0x4)) = (uint8_t)(0x1Fu); /* 0x2B01BAD9: mov byte ptr [ebp - 4], 0x1f */ 15915 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BAFC; /* 0x2B01BADD: je 0x2b01bafc */ 15916 L_2B01BADF: 15917 edx = MEM32(ebx + 0xD4); /* 0x2B01BADF: mov edx, dword ptr [ebx + 0xd4] */ 15918 PUSH32(esp, edx); /* 0x2B01BAE5: push edx */ 15919 eax = ebp + (-0x74); /* 0x2B01BAE6: lea eax, [ebp - 0x74] */ 15920 PUSH32(esp, eax); /* 0x2B01BAE9: push eax */ 15921 ecx = esi; /* 0x2B01BAEA: mov ecx, esi */ 15922 RECOMP_ICALL(MEM32(0x2B0B5AFC)); /* 0x2B01BAEC: call dword ptr [0x2b0b5afc] */ 15923 RECOMP_FLAGS_IN(); 15924 MEM32(esi) = 0x2B0B645Cu; /* 0x2B01BAF2: mov dword ptr [esi], 0x2b0b645c */ 15925 ecx = esi; /* 0x2B01BAF8: mov ecx, esi */ 15926 goto L_2B01BAFE; /* 0x2B01BAFA: jmp 0x2b01bafe */ 15927 L_2B01BAFC: 15928 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15929 ecx = 0; /* 0x2B01BAFC: xor ecx, ecx */ 15930 _cf = 0; 15931 _flag_k = FK_TEST; 15932 L_2B01BAFE: 15933 PUSH32(esp, 0x7E6u); /* 0x2B01BAFE: push 0x7e6 */ 15934 PUSH32(esp, 0x2B0389A0u); /* 0x2B01BB03: push 0x2b0389a0 */ 15935 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01BB08: mov byte ptr [ebp - 4], 0 */ 15936 MEM32(ebx + 0xD0) = ecx; /* 0x2B01BB0C: mov dword ptr [ebx + 0xd0], ecx */ 15937 RECOMP_ICALL(MEM32(0x2B0B5AF8)); /* 0x2B01BB12: call dword ptr [0x2b0b5af8] */ 15938 RECOMP_FLAGS_IN(); 15939 eax = MEM32(ebx + 0xD0); /* 0x2B01BB18: mov eax, dword ptr [ebx + 0xd0] */ 15940 MEM32(eax + 0xB0) = 0x2B038A00u; /* 0x2B01BB1E: mov dword ptr [eax + 0xb0], 0x2b038a00 */ 15941 MEM32(eax + 0xB4) = 0x7E6u; /* 0x2B01BB28: mov dword ptr [eax + 0xb4], 0x7e6 */ 15942 ecx = MEM32(ebx + 0xD0); /* 0x2B01BB32: mov ecx, dword ptr [ebx + 0xd0] */ 15943 PUSH32(esp, 0x2B0E2D68u); /* 0x2B01BB38: push 0x2b0e2d68 */ 15944 RECOMP_ICALL(MEM32(0x2B0B5AF4)); /* 0x2B01BB3D: call dword ptr [0x2b0b5af4] */ 15945 RECOMP_FLAGS_IN(); 15946 ecx = MEM32(ebx + 0xD4); /* 0x2B01BB43: mov ecx, dword ptr [ebx + 0xd4] */ 15947 PUSH32(esp, 0x44400000u); /* 0x2B01BB49: push 0x44400000 */ 15948 PUSH32(esp, 0x44800000u); /* 0x2B01BB4E: push 0x44800000 */ 15949 RECOMP_ICALL(MEM32(0x2B0B5B18)); /* 0x2B01BB53: call dword ptr [0x2b0b5b18] */ 15950 RECOMP_FLAGS_IN(); 15951 ecx = MEM32(ebx + 0xD4); /* 0x2B01BB59: mov ecx, dword ptr [ebx + 0xd4] */ 15952 PUSH32(esp, 0x3E2E147Bu); /* 0x2B01BB5F: push 0x3e2e147b */ 15953 PUSH32(esp, 0x3DCCCCCDu); /* 0x2B01BB64: push 0x3dcccccd */ 15954 RECOMP_ICALL(MEM32(0x2B0B5B14)); /* 0x2B01BB69: call dword ptr [0x2b0b5b14] */ 15955 RECOMP_FLAGS_IN(); 15956 fp_push(*(float*)&MEM32(ebx + 0x54)); /* 0x2B01BB6F: fld dword ptr [ebx + 0x54] */ 15957 _st[0] *= *(double*)ADDR(0x2B0B6450); /* 0x2B01BB72: fmul qword ptr [0x2b0b6450] */ 15958 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01BB78: call 0x2b0ab220 */ /* not lifted */ 15959 RECOMP_FLAGS_IN(); 15960 fp_push(*(float*)&MEM32(ebx + 0x58)); /* 0x2B01BB7D: fld dword ptr [ebx + 0x58] */ 15961 _st[0] *= *(double*)ADDR(0x2B0B63C8); /* 0x2B01BB80: fmul qword ptr [0x2b0b63c8] */ 15962 esi = eax; /* 0x2B01BB86: mov esi, eax */ 15963 MEM32(ebp + (-0x20)) = esi; /* 0x2B01BB88: mov dword ptr [ebp - 0x20], esi */ 15964 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01BB8B: call 0x2b0ab220 */ /* not lifted */ 15965 RECOMP_FLAGS_IN(); 15966 fp_push(*(float*)&MEM32(ebx + 0x54)); /* 0x2B01BB90: fld dword ptr [ebx + 0x54] */ 15967 _st[0] *= *(double*)ADDR(0x2B0B6488); /* 0x2B01BB93: fmul qword ptr [0x2b0b6488] */ 15968 edi = eax; /* 0x2B01BB99: mov edi, eax */ 15969 MEM32(ebp + (-0x1C)) = edi; /* 0x2B01BB9B: mov dword ptr [ebp - 0x1c], edi */ 15970 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01BB9E: call 0x2b0ab220 */ /* not lifted */ 15971 RECOMP_FLAGS_IN(); 15972 fp_push(*(float*)&MEM32(ebx + 0x58)); /* 0x2B01BBA3: fld dword ptr [ebx + 0x58] */ 15973 _st[0] *= *(double*)ADDR(0x2B0B6480); /* 0x2B01BBA6: fmul qword ptr [0x2b0b6480] */ 15974 ecx = eax; /* 0x2B01BBAC: mov ecx, eax */ 15975 eax = esi; /* 0x2B01BBAE: mov eax, esi */ 15976 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01BBB0: cdq */ 15977 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15979 eax = eax - edx; /* 0x2B01BBB1: sub eax, edx */ 15980 _flag_k = FK_CMP; 15981 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01BBB3: sar eax, 1 */ 15982 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15983 eax = (uint32_t)((int32_t)eax >> 1u); 15984 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 15985 _cf = (eax) != 0; 15986 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01BBB5: neg eax */ 15987 _flag_k = FK_CMP; 15988 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15990 eax = eax - ecx; /* 0x2B01BBB7: sub eax, ecx */ 15991 _flag_k = FK_CMP; 15992 MEM32(ebp + (-0x28)) = eax; /* 0x2B01BBB9: mov dword ptr [ebp - 0x28], eax */ 15993 RECOMP_ICALL(0x2B0AB220u); /* 0x2B01BBBC: call 0x2b0ab220 */ /* not lifted */ 15994 RECOMP_FLAGS_IN(); 15995 ecx = eax; /* 0x2B01BBC1: mov ecx, eax */ 15996 eax = edi; /* 0x2B01BBC3: mov eax, edi */ 15997 edx = ((int32_t)eax < 0) ? 0xFFFFFFFFu : 0; /* 0x2B01BBC5: cdq */ 15998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16000 eax = eax - edx; /* 0x2B01BBC6: sub eax, edx */ 16001 _flag_k = FK_CMP; 16002 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x2B01BBC8: sar eax, 1 */ 16003 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16004 eax = (uint32_t)((int32_t)eax >> 1u); 16005 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 16006 _cf = (eax) != 0; 16007 eax = (uint32_t)(-(int32_t)eax); /* 0x2B01BBCA: neg eax */ 16008 _flag_k = FK_CMP; 16009 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16011 eax = eax - ecx; /* 0x2B01BBCC: sub eax, ecx */ 16012 _flag_k = FK_CMP; 16013 PUSH32(esp, 0x9Cu); /* 0x2B01BBCE: push 0x9c */ 16014 MEM32(ebp + (-0x24)) = eax; /* 0x2B01BBD3: mov dword ptr [ebp - 0x24], eax */ 16015 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01BBD6: call 0x2b0ab212 */ /* not lifted */ 16016 RECOMP_FLAGS_IN(); 16017 esi = eax; /* 0x2B01BBDB: mov esi, eax */ 16018 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16019 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16020 esp = esp + 4; /* 0x2B01BBDD: add esp, 4 */ 16021 _flag_k = FK_ADD; 16022 MEM32(ebp + 0xC) = esi; /* 0x2B01BBE0: mov dword ptr [ebp + 0xc], esi */ 16023 /* test esi, esi */ /* 0x2B01BBE3: test esi, esi */ 16024 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 16025 _cf = 0; 16026 _flag_k = FK_TEST; 16027 MEM8(ebp + (-0x4)) = (uint8_t)(0x20u); /* 0x2B01BBE5: mov byte ptr [ebp - 4], 0x20 */ 16028 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BC1E; /* 0x2B01BBE9: je 0x2b01bc1e */ 16029 L_2B01BBEB: 16030 edx = MEM32(ebx + 0x38); /* 0x2B01BBEB: mov edx, dword ptr [ebx + 0x38] */ 16031 eax = MEM32(ebp + (-0x1C)); /* 0x2B01BBEE: mov eax, dword ptr [ebp - 0x1c] */ 16032 ecx = MEM32(ebp + (-0x20)); /* 0x2B01BBF1: mov ecx, dword ptr [ebp - 0x20] */ 16033 PUSH32(esp, 0); /* 0x2B01BBF4: push 0 */ 16034 PUSH32(esp, 0); /* 0x2B01BBF6: push 0 */ 16035 PUSH32(esp, 0); /* 0x2B01BBF8: push 0 */ 16036 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 16037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16038 edx = edx - 4; /* 0x2B01BBFA: sub edx, 4 */ 16039 _flag_k = FK_CMP; 16040 PUSH32(esp, edx); /* 0x2B01BBFD: push edx */ 16041 edx = MEM32(ebp + (-0x24)); /* 0x2B01BBFE: mov edx, dword ptr [ebp - 0x24] */ 16042 PUSH32(esp, 0); /* 0x2B01BC01: push 0 */ 16043 PUSH32(esp, 0); /* 0x2B01BC03: push 0 */ 16044 PUSH32(esp, 0); /* 0x2B01BC05: push 0 */ 16045 PUSH32(esp, eax); /* 0x2B01BC07: push eax */ 16046 eax = MEM32(ebp + (-0x28)); /* 0x2B01BC08: mov eax, dword ptr [ebp - 0x28] */ 16047 PUSH32(esp, ecx); /* 0x2B01BC0B: push ecx */ 16048 PUSH32(esp, edx); /* 0x2B01BC0C: push edx */ 16049 PUSH32(esp, eax); /* 0x2B01BC0D: push eax */ 16050 ecx = esi; /* 0x2B01BC0E: mov ecx, esi */ 16051 RECOMP_ICALL(MEM32(0x2B0B5AF0)); /* 0x2B01BC10: call dword ptr [0x2b0b5af0] */ 16052 RECOMP_FLAGS_IN(); 16053 MEM32(esi) = 0x2B0B642Cu; /* 0x2B01BC16: mov dword ptr [esi], 0x2b0b642c */ 16054 goto L_2B01BC20; /* 0x2B01BC1C: jmp 0x2b01bc20 */ 16055 L_2B01BC1E: 16056 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16057 esi = 0; /* 0x2B01BC1E: xor esi, esi */ 16058 _cf = 0; 16059 _flag_k = FK_TEST; 16060 L_2B01BC20: 16061 ecx = MEM32(ebp + (-0xC)); /* 0x2B01BC20: mov ecx, dword ptr [ebp - 0xc] */ 16062 MEM32(ebx + 0xD8) = esi; /* 0x2B01BC23: mov dword ptr [ebx + 0xd8], esi */ 16063 MEM32(esi + 0x20) = ebx; /* 0x2B01BC29: mov dword ptr [esi + 0x20], ebx */ 16064 edi = POP32_VAL(esp); /* 0x2B01BC2C: pop edi */ 16065 MEM32(esi + 0x1C) = 0x2B01D380u; /* 0x2B01BC2D: mov dword ptr [esi + 0x1c], 0x2b01d380 */ 16066 esi = POP32_VAL(esp); /* 0x2B01BC34: pop esi */ 16067 eax = ebx; /* 0x2B01BC35: mov eax, ebx */ 16068 ebx = POP32_VAL(esp); /* 0x2B01BC37: pop ebx */ 16069 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01BC38: mov dword ptr fs:[0], ecx */ 16070 esp = ebp; /* 0x2B01BC3F: mov esp, ebp */ 16071 ebp = POP32_VAL(esp); /* 0x2B01BC41: pop ebp */ 16072 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B01BC42: ret 8 */ 16073 RECOMP_REGS_OUT(); 16074 } 16075 16076 void sub_2B01BC50(void) { 16077 int _fpu_cmp = 0; 16078 uint32_t _cf = 0; 16079 int _df = 1; 16080 uint32_t _flag_k = FK_NONE; 16081 uint32_t _flag_a = 0, _flag_b = 0; 16082 uint32_t _itail_tgt = 0; 16083 RECOMP_REGS_LOCALS 16084 RECOMP_ENTER(0x2B01BC50u); 16085 16086 L_2B01BC50: 16087 PUSH32(esp, ebp); /* 0x2B01BC50: push ebp */ 16088 ebp = esp; /* 0x2B01BC51: mov ebp, esp */ 16089 PUSH32(esp, esi); /* 0x2B01BC53: push esi */ 16090 esi = ecx; /* 0x2B01BC54: mov esi, ecx */ 16091 RECOMP_ICALL(MEM32(0x2B0B5B24)); /* 0x2B01BC56: call dword ptr [0x2b0b5b24] */ 16092 RECOMP_FLAGS_IN(); 16093 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B01BC5C: test byte ptr [ebp + 8], 1 */ 16094 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 16095 _cf = 0; 16096 _flag_k = FK_NARROW(FK_TEST, 24); 16097 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BC6B; /* 0x2B01BC60: je 0x2b01bc6b */ 16098 L_2B01BC62: 16099 PUSH32(esp, esi); /* 0x2B01BC62: push esi */ 16100 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BC63: call 0x2b0ab1ba */ /* not lifted */ 16101 RECOMP_FLAGS_IN(); 16102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16104 esp = esp + 4; /* 0x2B01BC68: add esp, 4 */ 16105 _flag_k = FK_ADD; 16106 L_2B01BC6B: 16107 eax = esi; /* 0x2B01BC6B: mov eax, esi */ 16108 esi = POP32_VAL(esp); /* 0x2B01BC6D: pop esi */ 16109 ebp = POP32_VAL(esp); /* 0x2B01BC6E: pop ebp */ 16110 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01BC6F: ret 4 */ 16111 RECOMP_REGS_OUT(); 16112 } 16113 16114 void sub_2B01BC80(void) { 16115 int _fpu_cmp = 0; 16116 uint32_t _cf = 0; 16117 int _df = 1; 16118 uint32_t _flag_k = FK_NONE; 16119 uint32_t _flag_a = 0, _flag_b = 0; 16120 uint32_t _itail_tgt = 0; 16121 RECOMP_REGS_LOCALS 16122 RECOMP_ENTER(0x2B01BC80u); 16123 16124 L_2B01BC80: 16125 PUSH32(esp, ebp); /* 0x2B01BC80: push ebp */ 16126 ebp = esp; /* 0x2B01BC81: mov ebp, esp */ 16127 PUSH32(esp, esi); /* 0x2B01BC83: push esi */ 16128 esi = ecx; /* 0x2B01BC84: mov esi, ecx */ 16129 RECOMP_ICALL(MEM32(0x2B0B5B28)); /* 0x2B01BC86: call dword ptr [0x2b0b5b28] */ 16130 RECOMP_FLAGS_IN(); 16131 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B01BC8C: test byte ptr [ebp + 8], 1 */ 16132 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 16133 _cf = 0; 16134 _flag_k = FK_NARROW(FK_TEST, 24); 16135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BC9B; /* 0x2B01BC90: je 0x2b01bc9b */ 16136 L_2B01BC92: 16137 PUSH32(esp, esi); /* 0x2B01BC92: push esi */ 16138 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BC93: call 0x2b0ab1ba */ /* not lifted */ 16139 RECOMP_FLAGS_IN(); 16140 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16141 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16142 esp = esp + 4; /* 0x2B01BC98: add esp, 4 */ 16143 _flag_k = FK_ADD; 16144 L_2B01BC9B: 16145 eax = esi; /* 0x2B01BC9B: mov eax, esi */ 16146 esi = POP32_VAL(esp); /* 0x2B01BC9D: pop esi */ 16147 ebp = POP32_VAL(esp); /* 0x2B01BC9E: pop ebp */ 16148 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01BC9F: ret 4 */ 16149 RECOMP_REGS_OUT(); 16150 } 16151 16152 void sub_2B01BCB0(void) { 16153 int _fpu_cmp = 0; 16154 uint32_t _cf = 0; 16155 int _df = 1; 16156 uint32_t _flag_k = FK_NONE; 16157 uint32_t _flag_a = 0, _flag_b = 0; 16158 uint32_t _itail_tgt = 0; 16159 RECOMP_REGS_LOCALS 16160 RECOMP_ENTER(0x2B01BCB0u); 16161 16162 L_2B01BCB0: 16163 PUSH32(esp, esi); /* 0x2B01BCB0: push esi */ 16164 esi = ecx; /* 0x2B01BCB1: mov esi, ecx */ 16165 RECOMP_ICALL(0x2B038010u); /* 0x2B01BCB3: call 0x2b038010 */ /* not lifted */ 16166 RECOMP_FLAGS_IN(); 16167 SET_LO8(ecx, MEM8(0x2B0EE758)); /* 0x2B01BCB8: mov cl, byte ptr [0x2b0ee758] */ 16168 SET_LO8(eax, 1); /* 0x2B01BCBE: mov al, 1 */ 16169 /* test LO8(eax), LO8(ecx) */ /* 0x2B01BCC0: test al, cl */ 16170 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 16171 _cf = 0; 16172 _flag_k = FK_NARROW(FK_TEST, 24); 16173 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01BCDF; /* 0x2B01BCC2: jne 0x2b01bcdf */ 16174 L_2B01BCC4: 16175 _flag_a = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; _flag_b = (uint32_t)((LO8(ecx) | LO8(eax))) << 24; 16176 SET_LO8(ecx, LO8(ecx) | LO8(eax)); /* 0x2B01BCC4: or cl, al */ 16177 _cf = 0; 16178 _flag_k = FK_NARROW(FK_TEST, 24); 16179 PUSH32(esp, 0x2B0E2DD0u); /* 0x2B01BCC6: push 0x2b0e2dd0 */ 16180 MEM8(0x2B0EE758) = (uint8_t)(LO8(ecx)); /* 0x2B01BCCB: mov byte ptr [0x2b0ee758], cl */ 16181 RECOMP_ICALL(MEM32(0x2B0B60BC)); /* 0x2B01BCD1: call dword ptr [0x2b0b60bc] */ 16182 RECOMP_FLAGS_IN(); 16183 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16184 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16185 esp = esp + 4; /* 0x2B01BCD7: add esp, 4 */ 16186 _flag_k = FK_ADD; 16187 MEM32(0x2B0EE754) = eax; /* 0x2B01BCDA: mov dword ptr [0x2b0ee754], eax */ 16188 L_2B01BCDF: 16189 eax = MEM32(0x2B0EE754); /* 0x2B01BCDF: mov eax, dword ptr [0x2b0ee754] */ 16190 PUSH32(esp, eax); /* 0x2B01BCE4: push eax */ 16191 RECOMP_ICALL(MEM32(0x2B0B60B8)); /* 0x2B01BCE5: call dword ptr [0x2b0b60b8] */ 16192 RECOMP_FLAGS_IN(); 16193 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16195 esp = esp + 4; /* 0x2B01BCEB: add esp, 4 */ 16196 _flag_k = FK_ADD; 16197 MEM32(esi + 0x7C) = 0; /* 0x2B01BCEE: mov dword ptr [esi + 0x7c], 0 */ 16198 esi = POP32_VAL(esp); /* 0x2B01BCF5: pop esi */ 16199 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01BCF6: ret */ 16200 RECOMP_REGS_OUT(); 16201 } 16202 16203 void sub_2B01BD00(void) { 16204 int _fpu_cmp = 0; 16205 uint32_t _cf = 0; 16206 int _df = 1; 16207 uint32_t _flag_k = FK_NONE; 16208 uint32_t _flag_a = 0, _flag_b = 0; 16209 uint32_t _itail_tgt = 0; 16210 RECOMP_REGS_LOCALS 16211 RECOMP_ENTER(0x2B01BD00u); 16212 16213 L_2B01BD00: 16214 PUSH32(esp, ebp); /* 0x2B01BD00: push ebp */ 16215 ebp = esp; /* 0x2B01BD01: mov ebp, esp */ 16216 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01BD03: push -1 */ 16217 PUSH32(esp, 0x2B0AD118u); /* 0x2B01BD05: push 0x2b0ad118 */ 16218 eax = MEM32(FS_BASE + (0)); /* 0x2B01BD0A: mov eax, dword ptr fs:[0] */ 16219 PUSH32(esp, eax); /* 0x2B01BD10: push eax */ 16220 MEM32(FS_BASE + (0)) = esp; /* 0x2B01BD11: mov dword ptr fs:[0], esp */ 16221 PUSH32(esp, ecx); /* 0x2B01BD18: push ecx */ 16222 PUSH32(esp, esi); /* 0x2B01BD19: push esi */ 16223 esi = ecx; /* 0x2B01BD1A: mov esi, ecx */ 16224 PUSH32(esp, edi); /* 0x2B01BD1C: push edi */ 16225 MEM32(ebp + (-0x10)) = esi; /* 0x2B01BD1D: mov dword ptr [ebp - 0x10], esi */ 16226 MEM32(esi) = 0x2B0B6404u; /* 0x2B01BD20: mov dword ptr [esi], 0x2b0b6404 */ 16227 edi = MEM32(esi + 0x80); /* 0x2B01BD26: mov edi, dword ptr [esi + 0x80] */ 16228 /* test edi, edi */ /* 0x2B01BD2C: test edi, edi */ 16229 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16230 _cf = 0; 16231 _flag_k = FK_TEST; 16232 MEM32(ebp + (-0x4)) = 0; /* 0x2B01BD2E: mov dword ptr [ebp - 4], 0 */ 16233 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BD48; /* 0x2B01BD35: je 0x2b01bd48 */ 16234 L_2B01BD37: 16235 ecx = edi; /* 0x2B01BD37: mov ecx, edi */ 16236 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B01BD39: call dword ptr [0x2b0b5b30] */ 16237 RECOMP_FLAGS_IN(); 16238 PUSH32(esp, edi); /* 0x2B01BD3F: push edi */ 16239 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BD40: call 0x2b0ab1ba */ /* not lifted */ 16240 RECOMP_FLAGS_IN(); 16241 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16242 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16243 esp = esp + 4; /* 0x2B01BD45: add esp, 4 */ 16244 _flag_k = FK_ADD; 16245 L_2B01BD48: 16246 edi = MEM32(esi + 0x84); /* 0x2B01BD48: mov edi, dword ptr [esi + 0x84] */ 16247 /* test edi, edi */ /* 0x2B01BD4E: test edi, edi */ 16248 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16249 _cf = 0; 16250 _flag_k = FK_TEST; 16251 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BD63; /* 0x2B01BD50: je 0x2b01bd63 */ 16252 L_2B01BD52: 16253 ecx = edi; /* 0x2B01BD52: mov ecx, edi */ 16254 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B01BD54: call dword ptr [0x2b0b5b2c] */ 16255 RECOMP_FLAGS_IN(); 16256 PUSH32(esp, edi); /* 0x2B01BD5A: push edi */ 16257 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BD5B: call 0x2b0ab1ba */ /* not lifted */ 16258 RECOMP_FLAGS_IN(); 16259 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16260 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16261 esp = esp + 4; /* 0x2B01BD60: add esp, 4 */ 16262 _flag_k = FK_ADD; 16263 L_2B01BD63: 16264 ecx = MEM32(esi + 0x88); /* 0x2B01BD63: mov ecx, dword ptr [esi + 0x88] */ 16265 /* test ecx, ecx */ /* 0x2B01BD69: test ecx, ecx */ 16266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16267 _cf = 0; 16268 _flag_k = FK_TEST; 16269 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BD73; /* 0x2B01BD6B: je 0x2b01bd73 */ 16270 L_2B01BD6D: 16271 eax = MEM32(ecx); /* 0x2B01BD6D: mov eax, dword ptr [ecx] */ 16272 PUSH32(esp, 1); /* 0x2B01BD6F: push 1 */ 16273 RECOMP_ICALL(MEM32(eax)); /* 0x2B01BD71: call dword ptr [eax] */ 16274 RECOMP_FLAGS_IN(); 16275 L_2B01BD73: 16276 edi = MEM32(esi + 0x8C); /* 0x2B01BD73: mov edi, dword ptr [esi + 0x8c] */ 16277 /* test edi, edi */ /* 0x2B01BD79: test edi, edi */ 16278 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16279 _cf = 0; 16280 _flag_k = FK_TEST; 16281 PUSH32(esp, ebx); /* 0x2B01BD7B: push ebx */ 16282 ebx = MEM32(0x2B0B5BC4); /* 0x2B01BD7C: mov ebx, dword ptr [0x2b0b5bc4] */ 16283 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BD91; /* 0x2B01BD82: je 0x2b01bd91 */ 16284 L_2B01BD84: 16285 ecx = edi; /* 0x2B01BD84: mov ecx, edi */ 16286 RECOMP_ICALL(ebx); /* 0x2B01BD86: call ebx */ 16287 RECOMP_FLAGS_IN(); 16288 PUSH32(esp, edi); /* 0x2B01BD88: push edi */ 16289 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BD89: call 0x2b0ab1ba */ /* not lifted */ 16290 RECOMP_FLAGS_IN(); 16291 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16292 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16293 esp = esp + 4; /* 0x2B01BD8E: add esp, 4 */ 16294 _flag_k = FK_ADD; 16295 L_2B01BD91: 16296 ecx = MEM32(esi + 0x90); /* 0x2B01BD91: mov ecx, dword ptr [esi + 0x90] */ 16297 /* test ecx, ecx */ /* 0x2B01BD97: test ecx, ecx */ 16298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16299 _cf = 0; 16300 _flag_k = FK_TEST; 16301 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BDA1; /* 0x2B01BD99: je 0x2b01bda1 */ 16302 L_2B01BD9B: 16303 edx = MEM32(ecx); /* 0x2B01BD9B: mov edx, dword ptr [ecx] */ 16304 PUSH32(esp, 1); /* 0x2B01BD9D: push 1 */ 16305 RECOMP_ICALL(MEM32(edx)); /* 0x2B01BD9F: call dword ptr [edx] */ 16306 RECOMP_FLAGS_IN(); 16307 L_2B01BDA1: 16308 edi = MEM32(esi + 0x94); /* 0x2B01BDA1: mov edi, dword ptr [esi + 0x94] */ 16309 /* test edi, edi */ /* 0x2B01BDA7: test edi, edi */ 16310 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16311 _cf = 0; 16312 _flag_k = FK_TEST; 16313 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BDB8; /* 0x2B01BDA9: je 0x2b01bdb8 */ 16314 L_2B01BDAB: 16315 ecx = edi; /* 0x2B01BDAB: mov ecx, edi */ 16316 RECOMP_ICALL(ebx); /* 0x2B01BDAD: call ebx */ 16317 RECOMP_FLAGS_IN(); 16318 PUSH32(esp, edi); /* 0x2B01BDAF: push edi */ 16319 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BDB0: call 0x2b0ab1ba */ /* not lifted */ 16320 RECOMP_FLAGS_IN(); 16321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16323 esp = esp + 4; /* 0x2B01BDB5: add esp, 4 */ 16324 _flag_k = FK_ADD; 16325 L_2B01BDB8: 16326 ecx = MEM32(esi + 0x98); /* 0x2B01BDB8: mov ecx, dword ptr [esi + 0x98] */ 16327 /* test ecx, ecx */ /* 0x2B01BDBE: test ecx, ecx */ 16328 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16329 _cf = 0; 16330 _flag_k = FK_TEST; 16331 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BDC8; /* 0x2B01BDC0: je 0x2b01bdc8 */ 16332 L_2B01BDC2: 16333 eax = MEM32(ecx); /* 0x2B01BDC2: mov eax, dword ptr [ecx] */ 16334 PUSH32(esp, 1); /* 0x2B01BDC4: push 1 */ 16335 RECOMP_ICALL(MEM32(eax)); /* 0x2B01BDC6: call dword ptr [eax] */ 16336 RECOMP_FLAGS_IN(); 16337 L_2B01BDC8: 16338 edi = MEM32(esi + 0x9C); /* 0x2B01BDC8: mov edi, dword ptr [esi + 0x9c] */ 16339 /* test edi, edi */ /* 0x2B01BDCE: test edi, edi */ 16340 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16341 _cf = 0; 16342 _flag_k = FK_TEST; 16343 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BDDF; /* 0x2B01BDD0: je 0x2b01bddf */ 16344 L_2B01BDD2: 16345 ecx = edi; /* 0x2B01BDD2: mov ecx, edi */ 16346 RECOMP_ICALL(ebx); /* 0x2B01BDD4: call ebx */ 16347 RECOMP_FLAGS_IN(); 16348 PUSH32(esp, edi); /* 0x2B01BDD6: push edi */ 16349 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BDD7: call 0x2b0ab1ba */ /* not lifted */ 16350 RECOMP_FLAGS_IN(); 16351 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16352 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16353 esp = esp + 4; /* 0x2B01BDDC: add esp, 4 */ 16354 _flag_k = FK_ADD; 16355 L_2B01BDDF: 16356 edi = MEM32(esi + 0xA0); /* 0x2B01BDDF: mov edi, dword ptr [esi + 0xa0] */ 16357 /* test edi, edi */ /* 0x2B01BDE5: test edi, edi */ 16358 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16359 _cf = 0; 16360 _flag_k = FK_TEST; 16361 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BDFA; /* 0x2B01BDE7: je 0x2b01bdfa */ 16362 L_2B01BDE9: 16363 ecx = edi; /* 0x2B01BDE9: mov ecx, edi */ 16364 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B01BDEB: call dword ptr [0x2b0b5b30] */ 16365 RECOMP_FLAGS_IN(); 16366 PUSH32(esp, edi); /* 0x2B01BDF1: push edi */ 16367 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BDF2: call 0x2b0ab1ba */ /* not lifted */ 16368 RECOMP_FLAGS_IN(); 16369 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16371 esp = esp + 4; /* 0x2B01BDF7: add esp, 4 */ 16372 _flag_k = FK_ADD; 16373 L_2B01BDFA: 16374 edi = MEM32(esi + 0xA4); /* 0x2B01BDFA: mov edi, dword ptr [esi + 0xa4] */ 16375 /* test edi, edi */ /* 0x2B01BE00: test edi, edi */ 16376 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16377 _cf = 0; 16378 _flag_k = FK_TEST; 16379 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BE15; /* 0x2B01BE02: je 0x2b01be15 */ 16380 L_2B01BE04: 16381 ecx = edi; /* 0x2B01BE04: mov ecx, edi */ 16382 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B01BE06: call dword ptr [0x2b0b5b2c] */ 16383 RECOMP_FLAGS_IN(); 16384 PUSH32(esp, edi); /* 0x2B01BE0C: push edi */ 16385 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BE0D: call 0x2b0ab1ba */ /* not lifted */ 16386 RECOMP_FLAGS_IN(); 16387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16389 esp = esp + 4; /* 0x2B01BE12: add esp, 4 */ 16390 _flag_k = FK_ADD; 16391 L_2B01BE15: 16392 ecx = MEM32(esi + 0xA8); /* 0x2B01BE15: mov ecx, dword ptr [esi + 0xa8] */ 16393 /* test ecx, ecx */ /* 0x2B01BE1B: test ecx, ecx */ 16394 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16395 _cf = 0; 16396 _flag_k = FK_TEST; 16397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BE25; /* 0x2B01BE1D: je 0x2b01be25 */ 16398 L_2B01BE1F: 16399 edx = MEM32(ecx); /* 0x2B01BE1F: mov edx, dword ptr [ecx] */ 16400 PUSH32(esp, 1); /* 0x2B01BE21: push 1 */ 16401 RECOMP_ICALL(MEM32(edx)); /* 0x2B01BE23: call dword ptr [edx] */ 16402 RECOMP_FLAGS_IN(); 16403 L_2B01BE25: 16404 edi = MEM32(esi + 0xAC); /* 0x2B01BE25: mov edi, dword ptr [esi + 0xac] */ 16405 /* test edi, edi */ /* 0x2B01BE2B: test edi, edi */ 16406 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16407 _cf = 0; 16408 _flag_k = FK_TEST; 16409 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BE3C; /* 0x2B01BE2D: je 0x2b01be3c */ 16410 L_2B01BE2F: 16411 ecx = edi; /* 0x2B01BE2F: mov ecx, edi */ 16412 RECOMP_ICALL(ebx); /* 0x2B01BE31: call ebx */ 16413 RECOMP_FLAGS_IN(); 16414 PUSH32(esp, edi); /* 0x2B01BE33: push edi */ 16415 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BE34: call 0x2b0ab1ba */ /* not lifted */ 16416 RECOMP_FLAGS_IN(); 16417 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16418 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16419 esp = esp + 4; /* 0x2B01BE39: add esp, 4 */ 16420 _flag_k = FK_ADD; 16421 L_2B01BE3C: 16422 ecx = MEM32(esi + 0xB0); /* 0x2B01BE3C: mov ecx, dword ptr [esi + 0xb0] */ 16423 /* test ecx, ecx */ /* 0x2B01BE42: test ecx, ecx */ 16424 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16425 _cf = 0; 16426 _flag_k = FK_TEST; 16427 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BE4C; /* 0x2B01BE44: je 0x2b01be4c */ 16428 L_2B01BE46: 16429 eax = MEM32(ecx); /* 0x2B01BE46: mov eax, dword ptr [ecx] */ 16430 PUSH32(esp, 1); /* 0x2B01BE48: push 1 */ 16431 RECOMP_ICALL(MEM32(eax)); /* 0x2B01BE4A: call dword ptr [eax] */ 16432 RECOMP_FLAGS_IN(); 16433 L_2B01BE4C: 16434 edi = MEM32(esi + 0xB4); /* 0x2B01BE4C: mov edi, dword ptr [esi + 0xb4] */ 16435 /* test edi, edi */ /* 0x2B01BE52: test edi, edi */ 16436 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16437 _cf = 0; 16438 _flag_k = FK_TEST; 16439 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BE63; /* 0x2B01BE54: je 0x2b01be63 */ 16440 L_2B01BE56: 16441 ecx = edi; /* 0x2B01BE56: mov ecx, edi */ 16442 RECOMP_ICALL(ebx); /* 0x2B01BE58: call ebx */ 16443 RECOMP_FLAGS_IN(); 16444 PUSH32(esp, edi); /* 0x2B01BE5A: push edi */ 16445 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BE5B: call 0x2b0ab1ba */ /* not lifted */ 16446 RECOMP_FLAGS_IN(); 16447 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16448 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16449 esp = esp + 4; /* 0x2B01BE60: add esp, 4 */ 16450 _flag_k = FK_ADD; 16451 L_2B01BE63: 16452 ecx = MEM32(esi + 0xB8); /* 0x2B01BE63: mov ecx, dword ptr [esi + 0xb8] */ 16453 /* test ecx, ecx */ /* 0x2B01BE69: test ecx, ecx */ 16454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16455 _cf = 0; 16456 _flag_k = FK_TEST; 16457 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BE73; /* 0x2B01BE6B: je 0x2b01be73 */ 16458 L_2B01BE6D: 16459 edx = MEM32(ecx); /* 0x2B01BE6D: mov edx, dword ptr [ecx] */ 16460 PUSH32(esp, 1); /* 0x2B01BE6F: push 1 */ 16461 RECOMP_ICALL(MEM32(edx)); /* 0x2B01BE71: call dword ptr [edx] */ 16462 RECOMP_FLAGS_IN(); 16463 L_2B01BE73: 16464 edi = MEM32(esi + 0xBC); /* 0x2B01BE73: mov edi, dword ptr [esi + 0xbc] */ 16465 /* test edi, edi */ /* 0x2B01BE79: test edi, edi */ 16466 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16467 _cf = 0; 16468 _flag_k = FK_TEST; 16469 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BE8A; /* 0x2B01BE7B: je 0x2b01be8a */ 16470 L_2B01BE7D: 16471 ecx = edi; /* 0x2B01BE7D: mov ecx, edi */ 16472 RECOMP_ICALL(ebx); /* 0x2B01BE7F: call ebx */ 16473 RECOMP_FLAGS_IN(); 16474 PUSH32(esp, edi); /* 0x2B01BE81: push edi */ 16475 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BE82: call 0x2b0ab1ba */ /* not lifted */ 16476 RECOMP_FLAGS_IN(); 16477 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16478 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16479 esp = esp + 4; /* 0x2B01BE87: add esp, 4 */ 16480 _flag_k = FK_ADD; 16481 L_2B01BE8A: 16482 edi = MEM32(esi + 0xC0); /* 0x2B01BE8A: mov edi, dword ptr [esi + 0xc0] */ 16483 /* test edi, edi */ /* 0x2B01BE90: test edi, edi */ 16484 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16485 _cf = 0; 16486 _flag_k = FK_TEST; 16487 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BEA5; /* 0x2B01BE92: je 0x2b01bea5 */ 16488 L_2B01BE94: 16489 ecx = edi; /* 0x2B01BE94: mov ecx, edi */ 16490 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B01BE96: call dword ptr [0x2b0b5b30] */ 16491 RECOMP_FLAGS_IN(); 16492 PUSH32(esp, edi); /* 0x2B01BE9C: push edi */ 16493 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BE9D: call 0x2b0ab1ba */ /* not lifted */ 16494 RECOMP_FLAGS_IN(); 16495 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16497 esp = esp + 4; /* 0x2B01BEA2: add esp, 4 */ 16498 _flag_k = FK_ADD; 16499 L_2B01BEA5: 16500 edi = MEM32(esi + 0xC4); /* 0x2B01BEA5: mov edi, dword ptr [esi + 0xc4] */ 16501 /* test edi, edi */ /* 0x2B01BEAB: test edi, edi */ 16502 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16503 _cf = 0; 16504 _flag_k = FK_TEST; 16505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BEC0; /* 0x2B01BEAD: je 0x2b01bec0 */ 16506 L_2B01BEAF: 16507 ecx = edi; /* 0x2B01BEAF: mov ecx, edi */ 16508 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B01BEB1: call dword ptr [0x2b0b5b2c] */ 16509 RECOMP_FLAGS_IN(); 16510 PUSH32(esp, edi); /* 0x2B01BEB7: push edi */ 16511 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BEB8: call 0x2b0ab1ba */ /* not lifted */ 16512 RECOMP_FLAGS_IN(); 16513 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16514 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16515 esp = esp + 4; /* 0x2B01BEBD: add esp, 4 */ 16516 _flag_k = FK_ADD; 16517 L_2B01BEC0: 16518 ecx = MEM32(esi + 0xC8); /* 0x2B01BEC0: mov ecx, dword ptr [esi + 0xc8] */ 16519 /* test ecx, ecx */ /* 0x2B01BEC6: test ecx, ecx */ 16520 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16521 _cf = 0; 16522 _flag_k = FK_TEST; 16523 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BED0; /* 0x2B01BEC8: je 0x2b01bed0 */ 16524 L_2B01BECA: 16525 eax = MEM32(ecx); /* 0x2B01BECA: mov eax, dword ptr [ecx] */ 16526 PUSH32(esp, 1); /* 0x2B01BECC: push 1 */ 16527 RECOMP_ICALL(MEM32(eax)); /* 0x2B01BECE: call dword ptr [eax] */ 16528 RECOMP_FLAGS_IN(); 16529 L_2B01BED0: 16530 edi = MEM32(esi + 0xCC); /* 0x2B01BED0: mov edi, dword ptr [esi + 0xcc] */ 16531 /* test edi, edi */ /* 0x2B01BED6: test edi, edi */ 16532 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16533 _cf = 0; 16534 _flag_k = FK_TEST; 16535 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BEE7; /* 0x2B01BED8: je 0x2b01bee7 */ 16536 L_2B01BEDA: 16537 ecx = edi; /* 0x2B01BEDA: mov ecx, edi */ 16538 RECOMP_ICALL(ebx); /* 0x2B01BEDC: call ebx */ 16539 RECOMP_FLAGS_IN(); 16540 PUSH32(esp, edi); /* 0x2B01BEDE: push edi */ 16541 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BEDF: call 0x2b0ab1ba */ /* not lifted */ 16542 RECOMP_FLAGS_IN(); 16543 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16544 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16545 esp = esp + 4; /* 0x2B01BEE4: add esp, 4 */ 16546 _flag_k = FK_ADD; 16547 L_2B01BEE7: 16548 ecx = MEM32(esi + 0xD0); /* 0x2B01BEE7: mov ecx, dword ptr [esi + 0xd0] */ 16549 /* test ecx, ecx */ /* 0x2B01BEED: test ecx, ecx */ 16550 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16551 _cf = 0; 16552 _flag_k = FK_TEST; 16553 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BEF7; /* 0x2B01BEEF: je 0x2b01bef7 */ 16554 L_2B01BEF1: 16555 edx = MEM32(ecx); /* 0x2B01BEF1: mov edx, dword ptr [ecx] */ 16556 PUSH32(esp, 1); /* 0x2B01BEF3: push 1 */ 16557 RECOMP_ICALL(MEM32(edx)); /* 0x2B01BEF5: call dword ptr [edx] */ 16558 RECOMP_FLAGS_IN(); 16559 L_2B01BEF7: 16560 edi = MEM32(esi + 0xD4); /* 0x2B01BEF7: mov edi, dword ptr [esi + 0xd4] */ 16561 /* test edi, edi */ /* 0x2B01BEFD: test edi, edi */ 16562 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 16563 _cf = 0; 16564 _flag_k = FK_TEST; 16565 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BF0E; /* 0x2B01BEFF: je 0x2b01bf0e */ 16566 L_2B01BF01: 16567 ecx = edi; /* 0x2B01BF01: mov ecx, edi */ 16568 RECOMP_ICALL(ebx); /* 0x2B01BF03: call ebx */ 16569 RECOMP_FLAGS_IN(); 16570 PUSH32(esp, edi); /* 0x2B01BF05: push edi */ 16571 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01BF06: call 0x2b0ab1ba */ /* not lifted */ 16572 RECOMP_FLAGS_IN(); 16573 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16574 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16575 esp = esp + 4; /* 0x2B01BF0B: add esp, 4 */ 16576 _flag_k = FK_ADD; 16577 L_2B01BF0E: 16578 ecx = MEM32(esi + 0xD8); /* 0x2B01BF0E: mov ecx, dword ptr [esi + 0xd8] */ 16579 /* test ecx, ecx */ /* 0x2B01BF14: test ecx, ecx */ 16580 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16581 _cf = 0; 16582 _flag_k = FK_TEST; 16583 ebx = POP32_VAL(esp); /* 0x2B01BF16: pop ebx */ 16584 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01BF1F; /* 0x2B01BF17: je 0x2b01bf1f */ 16585 L_2B01BF19: 16586 eax = MEM32(ecx); /* 0x2B01BF19: mov eax, dword ptr [ecx] */ 16587 PUSH32(esp, 1); /* 0x2B01BF1B: push 1 */ 16588 RECOMP_ICALL(MEM32(eax)); /* 0x2B01BF1D: call dword ptr [eax] */ 16589 RECOMP_FLAGS_IN(); 16590 L_2B01BF1F: 16591 ecx = esi; /* 0x2B01BF1F: mov ecx, esi */ 16592 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01BF21: mov dword ptr [ebp - 4], 0xffffffff */ 16593 RECOMP_ICALL(0x2B038470u); /* 0x2B01BF28: call 0x2b038470 */ /* not lifted */ 16594 RECOMP_FLAGS_IN(); 16595 ecx = MEM32(ebp + (-0xC)); /* 0x2B01BF2D: mov ecx, dword ptr [ebp - 0xc] */ 16596 edi = POP32_VAL(esp); /* 0x2B01BF30: pop edi */ 16597 esi = POP32_VAL(esp); /* 0x2B01BF31: pop esi */ 16598 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01BF32: mov dword ptr fs:[0], ecx */ 16599 esp = ebp; /* 0x2B01BF39: mov esp, ebp */ 16600 ebp = POP32_VAL(esp); /* 0x2B01BF3B: pop ebp */ 16601 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01BF3C: ret */ 16602 RECOMP_REGS_OUT(); 16603 } 16604 16605 void sub_2B01BF40(void) { 16606 int _fpu_cmp = 0; 16607 uint32_t _cf = 0; 16608 int _df = 1; 16609 uint32_t _flag_k = FK_NONE; 16610 uint32_t _flag_a = 0, _flag_b = 0; 16611 uint32_t _itail_tgt = 0; 16612 RECOMP_REGS_LOCALS 16613 RECOMP_ENTER(0x2B01BF40u); 16614 16615 L_2B01BF40: 16616 PUSH32(esp, esi); /* 0x2B01BF40: push esi */ 16617 esi = ecx; /* 0x2B01BF41: mov esi, ecx */ 16618 RECOMP_ICALL(0x2B01BF60u); /* 0x2B01BF43: call 0x2b01bf60 */ /* not lifted */ 16619 RECOMP_FLAGS_IN(); 16620 ecx = esi; /* 0x2B01BF48: mov ecx, esi */ 16621 RECOMP_ICALL(0x2B038A40u); /* 0x2B01BF4A: call 0x2b038a40 */ /* not lifted */ 16622 RECOMP_FLAGS_IN(); 16623 esi = POP32_VAL(esp); /* 0x2B01BF4F: pop esi */ 16624 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01BF50: ret */ 16625 RECOMP_REGS_OUT(); 16626 } 16627 16628 void sub_2B01BF60(void) { 16629 int _fpu_cmp = 0; 16630 uint32_t _cf = 0; 16631 int _df = 1; 16632 uint32_t _flag_k = FK_NONE; 16633 uint32_t _flag_a = 0, _flag_b = 0; 16634 uint32_t _itail_tgt = 0; 16635 RECOMP_REGS_LOCALS 16636 RECOMP_ENTER(0x2B01BF60u); 16637 16638 L_2B01BF60: 16639 PUSH32(esp, ebp); /* 0x2B01BF60: push ebp */ 16640 L_2B01BF61: 16641 ebp = esp; /* 0x2B01BF61: mov ebp, esp */ 16642 L_2B01BF63: 16643 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01BF63: push -1 */ 16644 L_2B01BF65: 16645 PUSH32(esp, 0x2B0AD154u); /* 0x2B01BF65: push 0x2b0ad154 */ 16646 L_2B01BF6A: 16647 eax = MEM32(FS_BASE + (0)); /* 0x2B01BF6A: mov eax, dword ptr fs:[0] */ 16648 L_2B01BF70: 16649 PUSH32(esp, eax); /* 0x2B01BF70: push eax */ 16650 L_2B01BF71: 16651 MEM32(FS_BASE + (0)) = esp; /* 0x2B01BF71: mov dword ptr fs:[0], esp */ 16652 L_2B01BF78: 16653 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u); 16654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16655 esp = esp - 0x30u; /* 0x2B01BF78: sub esp, 0x30 */ 16656 _flag_k = FK_CMP; 16657 L_2B01BF7B: 16658 PUSH32(esp, ebx); /* 0x2B01BF7B: push ebx */ 16659 L_2B01BF7C: 16660 PUSH32(esp, esi); /* 0x2B01BF7C: push esi */ 16661 L_2B01BF7D: 16662 PUSH32(esp, edi); /* 0x2B01BF7D: push edi */ 16663 L_2B01BF7E: 16664 esi = ecx; /* 0x2B01BF7E: mov esi, ecx */ 16665 L_2B01BF80: 16666 eax = ebp + (-0xD); /* 0x2B01BF80: lea eax, [ebp - 0xd] */ 16667 L_2B01BF83: 16668 PUSH32(esp, eax); /* 0x2B01BF83: push eax */ 16669 L_2B01BF84: 16670 ecx = ebp + (-0x3C); /* 0x2B01BF84: lea ecx, [ebp - 0x3c] */ 16671 L_2B01BF87: 16672 MEM32(ebp + (-0x14)) = esi; /* 0x2B01BF87: mov dword ptr [ebp - 0x14], esi */ 16673 L_2B01BF8A: 16674 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B01BF8A: call dword ptr [0x2b0b5190] */ 16675 RECOMP_FLAGS_IN(); 16676 L_2B01BF90: 16677 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16678 edi = 0; /* 0x2B01BF90: xor edi, edi */ 16679 _cf = 0; 16680 _flag_k = FK_TEST; 16681 L_2B01BF92: 16682 MEM32(ebp + (-0x2C)) = edi; /* 0x2B01BF92: mov dword ptr [ebp - 0x2c], edi */ 16683 L_2B01BF95: 16684 ecx = ebp + (-0xE); /* 0x2B01BF95: lea ecx, [ebp - 0xe] */ 16685 L_2B01BF98: 16686 PUSH32(esp, ecx); /* 0x2B01BF98: push ecx */ 16687 L_2B01BF99: 16688 ecx = ebp + (-0x28); /* 0x2B01BF99: lea ecx, [ebp - 0x28] */ 16689 L_2B01BF9C: 16690 MEM32(ebp + (-0x4)) = edi; /* 0x2B01BF9C: mov dword ptr [ebp - 4], edi */ 16691 L_2B01BF9F: 16692 RECOMP_ICALL(MEM32(0x2B0B5190)); /* 0x2B01BF9F: call dword ptr [0x2b0b5190] */ 16693 RECOMP_FLAGS_IN(); 16694 L_2B01BFA5: 16695 MEM32(ebp + (-0x18)) = edi; /* 0x2B01BFA5: mov dword ptr [ebp - 0x18], edi */ 16696 L_2B01BFA8: 16697 eax = MEM32(esi + 0x5C); /* 0x2B01BFA8: mov eax, dword ptr [esi + 0x5c] */ 16698 L_2B01BFAB: 16699 /* cmp eax, 0x7D3u */ /* 0x2B01BFAB: cmp eax, 0x7d3 */ 16700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x7D3u); 16701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16702 _flag_k = FK_CMP; 16703 L_2B01BFB0: 16704 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01BFB0: mov byte ptr [ebp - 4], 1 */ 16705 L_2B01BFB4: 16706 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B01C1A2; /* 0x2B01BFB4: jg 0x2b01c1a2 */ 16707 L_2B01BFBA: 16708 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C12E; /* 0x2B01BFBA: je 0x2b01c12e */ 16709 L_2B01BFC0: 16710 /* cmp eax, 0x66u */ /* 0x2B01BFC0: cmp eax, 0x66 */ 16711 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x66u); 16712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16713 _flag_k = FK_CMP; 16714 L_2B01BFC3: 16715 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B01C09E; /* 0x2B01BFC3: jg 0x2b01c09e */ 16716 L_2B01BFC9: 16717 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C05D; /* 0x2B01BFC9: je 0x2b01c05d */ 16718 L_2B01BFCF: 16719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x64u); 16720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16721 eax = eax - 0x64u; /* 0x2B01BFCF: sub eax, 0x64 */ 16722 _flag_k = FK_CMP; 16723 L_2B01BFD2: 16724 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C01C; /* 0x2B01BFD2: je 0x2b01c01c */ 16725 L_2B01BFD4: 16726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16727 eax = eax - 1; /* 0x2B01BFD4: dec eax */ 16728 _flag_k = FK_DEC; 16729 L_2B01BFD5: 16730 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01C3C6; /* 0x2B01BFD5: jne 0x2b01c3c6 */ 16731 L_2B01BFDB: 16732 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16733 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01BFDB: or ecx, 0xffffffff */ 16734 _cf = 0; 16735 _flag_k = FK_TEST; 16736 L_2B01BFDE: 16737 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16738 eax = 0; /* 0x2B01BFDE: xor eax, eax */ 16739 _cf = 0; 16740 _flag_k = FK_TEST; 16741 L_2B01BFE0: 16742 edi = 0x2B0E310Cu; /* 0x2B01BFE0: mov edi, 0x2b0e310c */ 16743 L_2B01BFE5: 16744 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; } /* 0x2B01BFE5: repne scasb al, byte ptr es:[edi] */ 16745 L_2B01BFE7: 16746 ecx = ~ecx; /* 0x2B01BFE7: not ecx */ 16747 L_2B01BFE9: 16748 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16749 ecx = ecx - 1; /* 0x2B01BFE9: dec ecx */ 16750 _flag_k = FK_DEC; 16751 L_2B01BFEA: 16752 PUSH32(esp, ecx); /* 0x2B01BFEA: push ecx */ 16753 L_2B01BFEB: 16754 PUSH32(esp, 0x2B0E310Cu); /* 0x2B01BFEB: push 0x2b0e310c */ 16755 L_2B01BFF0: 16756 ecx = ebp + (-0x3C); /* 0x2B01BFF0: lea ecx, [ebp - 0x3c] */ 16757 L_2B01BFF3: 16758 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01BFF3: call dword ptr [0x2b0b5148] */ 16759 RECOMP_FLAGS_IN(); 16760 L_2B01BFF9: 16761 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16762 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01BFF9: or ecx, 0xffffffff */ 16763 _cf = 0; 16764 _flag_k = FK_TEST; 16765 L_2B01BFFC: 16766 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16767 eax = 0; /* 0x2B01BFFC: xor eax, eax */ 16768 _cf = 0; 16769 _flag_k = FK_TEST; 16770 L_2B01BFFE: 16771 edi = 0x2B0E30E0u; /* 0x2B01BFFE: mov edi, 0x2b0e30e0 */ 16772 L_2B01C003: 16773 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; } /* 0x2B01C003: repne scasb al, byte ptr es:[edi] */ 16774 L_2B01C005: 16775 ecx = ~ecx; /* 0x2B01C005: not ecx */ 16776 L_2B01C007: 16777 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16778 ecx = ecx - 1; /* 0x2B01C007: dec ecx */ 16779 _flag_k = FK_DEC; 16780 L_2B01C008: 16781 PUSH32(esp, ecx); /* 0x2B01C008: push ecx */ 16782 L_2B01C009: 16783 PUSH32(esp, 0x2B0E30E0u); /* 0x2B01C009: push 0x2b0e30e0 */ 16784 L_2B01C00E: 16785 ecx = ebp + (-0x28); /* 0x2B01C00E: lea ecx, [ebp - 0x28] */ 16786 L_2B01C011: 16787 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C011: call dword ptr [0x2b0b5148] */ 16788 RECOMP_FLAGS_IN(); 16789 L_2B01C017: 16790 goto L_2B01C454; /* 0x2B01C017: jmp 0x2b01c454 */ 16791 L_2B01C01C: 16792 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16793 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C01C: or ecx, 0xffffffff */ 16794 _cf = 0; 16795 _flag_k = FK_TEST; 16796 L_2B01C01F: 16797 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16798 eax = 0; /* 0x2B01C01F: xor eax, eax */ 16799 _cf = 0; 16800 _flag_k = FK_TEST; 16801 L_2B01C021: 16802 edi = 0x2B0E30C4u; /* 0x2B01C021: mov edi, 0x2b0e30c4 */ 16803 L_2B01C026: 16804 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; } /* 0x2B01C026: repne scasb al, byte ptr es:[edi] */ 16805 L_2B01C028: 16806 ecx = ~ecx; /* 0x2B01C028: not ecx */ 16807 L_2B01C02A: 16808 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16809 ecx = ecx - 1; /* 0x2B01C02A: dec ecx */ 16810 _flag_k = FK_DEC; 16811 L_2B01C02B: 16812 PUSH32(esp, ecx); /* 0x2B01C02B: push ecx */ 16813 L_2B01C02C: 16814 PUSH32(esp, 0x2B0E30C4u); /* 0x2B01C02C: push 0x2b0e30c4 */ 16815 L_2B01C031: 16816 ecx = ebp + (-0x3C); /* 0x2B01C031: lea ecx, [ebp - 0x3c] */ 16817 L_2B01C034: 16818 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C034: call dword ptr [0x2b0b5148] */ 16819 RECOMP_FLAGS_IN(); 16820 L_2B01C03A: 16821 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16822 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C03A: or ecx, 0xffffffff */ 16823 _cf = 0; 16824 _flag_k = FK_TEST; 16825 L_2B01C03D: 16826 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16827 eax = 0; /* 0x2B01C03D: xor eax, eax */ 16828 _cf = 0; 16829 _flag_k = FK_TEST; 16830 L_2B01C03F: 16831 edi = 0x2B0E3084u; /* 0x2B01C03F: mov edi, 0x2b0e3084 */ 16832 L_2B01C044: 16833 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; } /* 0x2B01C044: repne scasb al, byte ptr es:[edi] */ 16834 L_2B01C046: 16835 ecx = ~ecx; /* 0x2B01C046: not ecx */ 16836 L_2B01C048: 16837 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16838 ecx = ecx - 1; /* 0x2B01C048: dec ecx */ 16839 _flag_k = FK_DEC; 16840 L_2B01C049: 16841 PUSH32(esp, ecx); /* 0x2B01C049: push ecx */ 16842 L_2B01C04A: 16843 PUSH32(esp, 0x2B0E3084u); /* 0x2B01C04A: push 0x2b0e3084 */ 16844 L_2B01C04F: 16845 ecx = ebp + (-0x28); /* 0x2B01C04F: lea ecx, [ebp - 0x28] */ 16846 L_2B01C052: 16847 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C052: call dword ptr [0x2b0b5148] */ 16848 RECOMP_FLAGS_IN(); 16849 L_2B01C058: 16850 goto L_2B01C454; /* 0x2B01C058: jmp 0x2b01c454 */ 16851 L_2B01C05D: 16852 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16853 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C05D: or ecx, 0xffffffff */ 16854 _cf = 0; 16855 _flag_k = FK_TEST; 16856 L_2B01C060: 16857 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16858 eax = 0; /* 0x2B01C060: xor eax, eax */ 16859 _cf = 0; 16860 _flag_k = FK_TEST; 16861 L_2B01C062: 16862 edi = 0x2B0E3078u; /* 0x2B01C062: mov edi, 0x2b0e3078 */ 16863 L_2B01C067: 16864 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; } /* 0x2B01C067: repne scasb al, byte ptr es:[edi] */ 16865 L_2B01C069: 16866 ecx = ~ecx; /* 0x2B01C069: not ecx */ 16867 L_2B01C06B: 16868 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16869 ecx = ecx - 1; /* 0x2B01C06B: dec ecx */ 16870 _flag_k = FK_DEC; 16871 L_2B01C06C: 16872 PUSH32(esp, ecx); /* 0x2B01C06C: push ecx */ 16873 L_2B01C06D: 16874 PUSH32(esp, 0x2B0E3078u); /* 0x2B01C06D: push 0x2b0e3078 */ 16875 L_2B01C072: 16876 ecx = ebp + (-0x3C); /* 0x2B01C072: lea ecx, [ebp - 0x3c] */ 16877 L_2B01C075: 16878 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C075: call dword ptr [0x2b0b5148] */ 16879 RECOMP_FLAGS_IN(); 16880 L_2B01C07B: 16881 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16882 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C07B: or ecx, 0xffffffff */ 16883 _cf = 0; 16884 _flag_k = FK_TEST; 16885 L_2B01C07E: 16886 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16887 eax = 0; /* 0x2B01C07E: xor eax, eax */ 16888 _cf = 0; 16889 _flag_k = FK_TEST; 16890 L_2B01C080: 16891 edi = 0x2B0E3050u; /* 0x2B01C080: mov edi, 0x2b0e3050 */ 16892 L_2B01C085: 16893 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; } /* 0x2B01C085: repne scasb al, byte ptr es:[edi] */ 16894 L_2B01C087: 16895 ecx = ~ecx; /* 0x2B01C087: not ecx */ 16896 L_2B01C089: 16897 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16898 ecx = ecx - 1; /* 0x2B01C089: dec ecx */ 16899 _flag_k = FK_DEC; 16900 L_2B01C08A: 16901 PUSH32(esp, ecx); /* 0x2B01C08A: push ecx */ 16902 L_2B01C08B: 16903 PUSH32(esp, 0x2B0E3050u); /* 0x2B01C08B: push 0x2b0e3050 */ 16904 L_2B01C090: 16905 ecx = ebp + (-0x28); /* 0x2B01C090: lea ecx, [ebp - 0x28] */ 16906 L_2B01C093: 16907 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C093: call dword ptr [0x2b0b5148] */ 16908 RECOMP_FLAGS_IN(); 16909 L_2B01C099: 16910 goto L_2B01C454; /* 0x2B01C099: jmp 0x2b01c454 */ 16911 L_2B01C09E: 16912 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x7D1u); 16913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16914 eax = eax - 0x7D1u; /* 0x2B01C09E: sub eax, 0x7d1 */ 16915 _flag_k = FK_CMP; 16916 L_2B01C0A3: 16917 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C0ED; /* 0x2B01C0A3: je 0x2b01c0ed */ 16918 L_2B01C0A5: 16919 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16920 eax = eax - 1; /* 0x2B01C0A5: dec eax */ 16921 _flag_k = FK_DEC; 16922 L_2B01C0A6: 16923 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01C3C6; /* 0x2B01C0A6: jne 0x2b01c3c6 */ 16924 L_2B01C0AC: 16925 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16926 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C0AC: or ecx, 0xffffffff */ 16927 _cf = 0; 16928 _flag_k = FK_TEST; 16929 L_2B01C0AF: 16930 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16931 eax = 0; /* 0x2B01C0AF: xor eax, eax */ 16932 _cf = 0; 16933 _flag_k = FK_TEST; 16934 L_2B01C0B1: 16935 edi = 0x2B0E3048u; /* 0x2B01C0B1: mov edi, 0x2b0e3048 */ 16936 L_2B01C0B6: 16937 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; } /* 0x2B01C0B6: repne scasb al, byte ptr es:[edi] */ 16938 L_2B01C0B8: 16939 ecx = ~ecx; /* 0x2B01C0B8: not ecx */ 16940 L_2B01C0BA: 16941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16942 ecx = ecx - 1; /* 0x2B01C0BA: dec ecx */ 16943 _flag_k = FK_DEC; 16944 L_2B01C0BB: 16945 PUSH32(esp, ecx); /* 0x2B01C0BB: push ecx */ 16946 L_2B01C0BC: 16947 PUSH32(esp, 0x2B0E3048u); /* 0x2B01C0BC: push 0x2b0e3048 */ 16948 L_2B01C0C1: 16949 ecx = ebp + (-0x3C); /* 0x2B01C0C1: lea ecx, [ebp - 0x3c] */ 16950 L_2B01C0C4: 16951 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C0C4: call dword ptr [0x2b0b5148] */ 16952 RECOMP_FLAGS_IN(); 16953 L_2B01C0CA: 16954 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16955 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C0CA: or ecx, 0xffffffff */ 16956 _cf = 0; 16957 _flag_k = FK_TEST; 16958 L_2B01C0CD: 16959 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16960 eax = 0; /* 0x2B01C0CD: xor eax, eax */ 16961 _cf = 0; 16962 _flag_k = FK_TEST; 16963 L_2B01C0CF: 16964 edi = 0x2B0E3018u; /* 0x2B01C0CF: mov edi, 0x2b0e3018 */ 16965 L_2B01C0D4: 16966 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; } /* 0x2B01C0D4: repne scasb al, byte ptr es:[edi] */ 16967 L_2B01C0D6: 16968 ecx = ~ecx; /* 0x2B01C0D6: not ecx */ 16969 L_2B01C0D8: 16970 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16971 ecx = ecx - 1; /* 0x2B01C0D8: dec ecx */ 16972 _flag_k = FK_DEC; 16973 L_2B01C0D9: 16974 PUSH32(esp, ecx); /* 0x2B01C0D9: push ecx */ 16975 L_2B01C0DA: 16976 PUSH32(esp, 0x2B0E3018u); /* 0x2B01C0DA: push 0x2b0e3018 */ 16977 L_2B01C0DF: 16978 ecx = ebp + (-0x28); /* 0x2B01C0DF: lea ecx, [ebp - 0x28] */ 16979 L_2B01C0E2: 16980 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C0E2: call dword ptr [0x2b0b5148] */ 16981 RECOMP_FLAGS_IN(); 16982 L_2B01C0E8: 16983 goto L_2B01C454; /* 0x2B01C0E8: jmp 0x2b01c454 */ 16984 L_2B01C0ED: 16985 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 16986 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C0ED: or ecx, 0xffffffff */ 16987 _cf = 0; 16988 _flag_k = FK_TEST; 16989 L_2B01C0F0: 16990 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16991 eax = 0; /* 0x2B01C0F0: xor eax, eax */ 16992 _cf = 0; 16993 _flag_k = FK_TEST; 16994 L_2B01C0F2: 16995 edi = 0x2B0E3010u; /* 0x2B01C0F2: mov edi, 0x2b0e3010 */ 16996 L_2B01C0F7: 16997 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; } /* 0x2B01C0F7: repne scasb al, byte ptr es:[edi] */ 16998 L_2B01C0F9: 16999 ecx = ~ecx; /* 0x2B01C0F9: not ecx */ 17000 L_2B01C0FB: 17001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17002 ecx = ecx - 1; /* 0x2B01C0FB: dec ecx */ 17003 _flag_k = FK_DEC; 17004 L_2B01C0FC: 17005 PUSH32(esp, ecx); /* 0x2B01C0FC: push ecx */ 17006 L_2B01C0FD: 17007 PUSH32(esp, 0x2B0E3010u); /* 0x2B01C0FD: push 0x2b0e3010 */ 17008 L_2B01C102: 17009 ecx = ebp + (-0x3C); /* 0x2B01C102: lea ecx, [ebp - 0x3c] */ 17010 L_2B01C105: 17011 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C105: call dword ptr [0x2b0b5148] */ 17012 RECOMP_FLAGS_IN(); 17013 L_2B01C10B: 17014 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17015 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C10B: or ecx, 0xffffffff */ 17016 _cf = 0; 17017 _flag_k = FK_TEST; 17018 L_2B01C10E: 17019 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17020 eax = 0; /* 0x2B01C10E: xor eax, eax */ 17021 _cf = 0; 17022 _flag_k = FK_TEST; 17023 L_2B01C110: 17024 edi = 0x2B0E2FE0u; /* 0x2B01C110: mov edi, 0x2b0e2fe0 */ 17025 L_2B01C115: 17026 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; } /* 0x2B01C115: repne scasb al, byte ptr es:[edi] */ 17027 L_2B01C117: 17028 ecx = ~ecx; /* 0x2B01C117: not ecx */ 17029 L_2B01C119: 17030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17031 ecx = ecx - 1; /* 0x2B01C119: dec ecx */ 17032 _flag_k = FK_DEC; 17033 L_2B01C11A: 17034 PUSH32(esp, ecx); /* 0x2B01C11A: push ecx */ 17035 L_2B01C11B: 17036 PUSH32(esp, 0x2B0E2FE0u); /* 0x2B01C11B: push 0x2b0e2fe0 */ 17037 L_2B01C120: 17038 ecx = ebp + (-0x28); /* 0x2B01C120: lea ecx, [ebp - 0x28] */ 17039 L_2B01C123: 17040 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B01C123: call dword ptr [0x2b0b5148] */ 17041 RECOMP_FLAGS_IN(); 17042 L_2B01C129: 17043 goto L_2B01C454; /* 0x2B01C129: jmp 0x2b01c454 */ 17044 L_2B01C12E: 17045 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17046 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C12E: or ecx, 0xffffffff */ 17047 _cf = 0; 17048 _flag_k = FK_TEST; 17049 L_2B01C131: 17050 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17051 eax = 0; /* 0x2B01C131: xor eax, eax */ 17052 _cf = 0; 17053 _flag_k = FK_TEST; 17054 L_2B01C133: 17055 edi = 0x2B0E2FD8u; /* 0x2B01C133: mov edi, 0x2b0e2fd8 */ 17056 L_2B01C138: 17057 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; } /* 0x2B01C138: repne scasb al, byte ptr es:[edi] */ 17058 L_2B01C13A: 17059 ecx = ~ecx; /* 0x2B01C13A: not ecx */ 17060 L_2B01C13C: 17061 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17062 ecx = ecx - 1; /* 0x2B01C13C: dec ecx */ 17063 _flag_k = FK_DEC; 17064 L_2B01C13D: 17065 ebx = ecx; /* 0x2B01C13D: mov ebx, ecx */ 17066 L_2B01C13F: 17067 PUSH32(esp, 1); /* 0x2B01C13F: push 1 */ 17068 L_2B01C141: 17069 PUSH32(esp, ebx); /* 0x2B01C141: push ebx */ 17070 L_2B01C142: 17071 ecx = ebp + (-0x3C); /* 0x2B01C142: lea ecx, [ebp - 0x3c] */ 17072 L_2B01C145: 17073 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C145: call dword ptr [0x2b0b5154] */ 17074 RECOMP_FLAGS_IN(); 17075 L_2B01C14B: 17076 /* test LO8(eax), LO8(eax) */ /* 0x2B01C14B: test al, al */ 17077 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17078 _cf = 0; 17079 _flag_k = FK_NARROW(FK_TEST, 24); 17080 L_2B01C14D: 17081 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C171; /* 0x2B01C14D: je 0x2b01c171 */ 17082 L_2B01C14F: 17083 edi = MEM32(ebp + (-0x38)); /* 0x2B01C14F: mov edi, dword ptr [ebp - 0x38] */ 17084 L_2B01C152: 17085 ecx = ebx; /* 0x2B01C152: mov ecx, ebx */ 17086 L_2B01C154: 17087 edx = ecx; /* 0x2B01C154: mov edx, ecx */ 17088 L_2B01C156: 17089 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C156: shr ecx, 2 */ 17090 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17091 ecx = ecx >> 2u; /* 0x2B01C156: shr ecx, 2 */ 17092 L_2B01C159: 17093 esi = 0x2B0E2FD8u; /* 0x2B01C159: mov esi, 0x2b0e2fd8 */ 17094 L_2B01C15E: 17095 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C15E: 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; } 17096 L_2B01C160: 17097 ecx = edx; /* 0x2B01C160: mov ecx, edx */ 17098 L_2B01C162: 17099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17100 ecx = ecx & 3; /* 0x2B01C162: and ecx, 3 */ 17101 _cf = 0; 17102 _flag_k = FK_TEST; 17103 L_2B01C165: 17104 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C165: 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; } 17105 L_2B01C167: 17106 PUSH32(esp, ebx); /* 0x2B01C167: push ebx */ 17107 L_2B01C168: 17108 ecx = ebp + (-0x3C); /* 0x2B01C168: lea ecx, [ebp - 0x3c] */ 17109 L_2B01C16B: 17110 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C16B: call dword ptr [0x2b0b5150] */ 17111 RECOMP_FLAGS_IN(); 17112 L_2B01C171: 17113 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17114 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C171: or ecx, 0xffffffff */ 17115 _cf = 0; 17116 _flag_k = FK_TEST; 17117 L_2B01C174: 17118 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17119 eax = 0; /* 0x2B01C174: xor eax, eax */ 17120 _cf = 0; 17121 _flag_k = FK_TEST; 17122 L_2B01C176: 17123 edi = 0x2B0E2FA8u; /* 0x2B01C176: mov edi, 0x2b0e2fa8 */ 17124 L_2B01C17B: 17125 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; } /* 0x2B01C17B: repne scasb al, byte ptr es:[edi] */ 17126 L_2B01C17D: 17127 ecx = ~ecx; /* 0x2B01C17D: not ecx */ 17128 L_2B01C17F: 17129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17130 ecx = ecx - 1; /* 0x2B01C17F: dec ecx */ 17131 _flag_k = FK_DEC; 17132 L_2B01C180: 17133 ebx = ecx; /* 0x2B01C180: mov ebx, ecx */ 17134 L_2B01C182: 17135 PUSH32(esp, 1); /* 0x2B01C182: push 1 */ 17136 L_2B01C184: 17137 PUSH32(esp, ebx); /* 0x2B01C184: push ebx */ 17138 L_2B01C185: 17139 ecx = ebp + (-0x28); /* 0x2B01C185: lea ecx, [ebp - 0x28] */ 17140 L_2B01C188: 17141 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C188: call dword ptr [0x2b0b5154] */ 17142 RECOMP_FLAGS_IN(); 17143 L_2B01C18E: 17144 /* test LO8(eax), LO8(eax) */ /* 0x2B01C18E: test al, al */ 17145 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17146 _cf = 0; 17147 _flag_k = FK_NARROW(FK_TEST, 24); 17148 L_2B01C190: 17149 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C454; /* 0x2B01C190: je 0x2b01c454 */ 17150 L_2B01C196: 17151 ecx = ebx; /* 0x2B01C196: mov ecx, ebx */ 17152 L_2B01C198: 17153 esi = 0x2B0E2FA8u; /* 0x2B01C198: mov esi, 0x2b0e2fa8 */ 17154 L_2B01C19D: 17155 goto L_2B01C313; /* 0x2B01C19D: jmp 0x2b01c313 */ 17156 L_2B01C1A2: 17157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFF825u); 17158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17159 eax = eax + 0xFFFFF825u; /* 0x2B01C1A2: add eax, 0xfffff825 */ 17160 _flag_k = FK_ADD; 17161 L_2B01C1A7: 17162 /* cmp eax, 0x13u */ /* 0x2B01C1A7: cmp eax, 0x13 */ 17163 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x13u); 17164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17165 _flag_k = FK_CMP; 17166 L_2B01C1AA: 17167 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B01C3C6; /* 0x2B01C1AA: ja 0x2b01c3c6 */ 17168 L_2B01C1B0: 17169 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17170 ecx = 0; /* 0x2B01C1B0: xor ecx, ecx */ 17171 _cf = 0; 17172 _flag_k = FK_TEST; 17173 L_2B01C1B2: 17174 SET_LO8(ecx, MEM8(eax + 0x2B01C4E4)); /* 0x2B01C1B2: mov cl, byte ptr [eax + 0x2b01c4e4] */ 17175 L_2B01C1B8: 17176 { _itail_tgt = (uint32_t)(MEM32(ecx * 4 + 0x2B01C4D0)); goto _ljump; } 17177 L_2B01C1BF: 17178 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17179 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C1BF: or ecx, 0xffffffff */ 17180 _cf = 0; 17181 _flag_k = FK_TEST; 17182 L_2B01C1C2: 17183 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17184 eax = 0; /* 0x2B01C1C2: xor eax, eax */ 17185 _cf = 0; 17186 _flag_k = FK_TEST; 17187 L_2B01C1C4: 17188 edi = 0x2B0E2F9Cu; /* 0x2B01C1C4: mov edi, 0x2b0e2f9c */ 17189 L_2B01C1C9: 17190 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; } /* 0x2B01C1C9: repne scasb al, byte ptr es:[edi] */ 17191 L_2B01C1CB: 17192 ecx = ~ecx; /* 0x2B01C1CB: not ecx */ 17193 L_2B01C1CD: 17194 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17195 ecx = ecx - 1; /* 0x2B01C1CD: dec ecx */ 17196 _flag_k = FK_DEC; 17197 L_2B01C1CE: 17198 ebx = ecx; /* 0x2B01C1CE: mov ebx, ecx */ 17199 L_2B01C1D0: 17200 PUSH32(esp, 1); /* 0x2B01C1D0: push 1 */ 17201 L_2B01C1D2: 17202 PUSH32(esp, ebx); /* 0x2B01C1D2: push ebx */ 17203 L_2B01C1D3: 17204 ecx = ebp + (-0x3C); /* 0x2B01C1D3: lea ecx, [ebp - 0x3c] */ 17205 L_2B01C1D6: 17206 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C1D6: call dword ptr [0x2b0b5154] */ 17207 RECOMP_FLAGS_IN(); 17208 L_2B01C1DC: 17209 /* test LO8(eax), LO8(eax) */ /* 0x2B01C1DC: test al, al */ 17210 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17211 _cf = 0; 17212 _flag_k = FK_NARROW(FK_TEST, 24); 17213 L_2B01C1DE: 17214 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C202; /* 0x2B01C1DE: je 0x2b01c202 */ 17215 L_2B01C1E0: 17216 edi = MEM32(ebp + (-0x38)); /* 0x2B01C1E0: mov edi, dword ptr [ebp - 0x38] */ 17217 L_2B01C1E3: 17218 ecx = ebx; /* 0x2B01C1E3: mov ecx, ebx */ 17219 L_2B01C1E5: 17220 edx = ecx; /* 0x2B01C1E5: mov edx, ecx */ 17221 L_2B01C1E7: 17222 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C1E7: shr ecx, 2 */ 17223 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17224 ecx = ecx >> 2u; /* 0x2B01C1E7: shr ecx, 2 */ 17225 L_2B01C1EA: 17226 esi = 0x2B0E2F9Cu; /* 0x2B01C1EA: mov esi, 0x2b0e2f9c */ 17227 L_2B01C1EF: 17228 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C1EF: 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; } 17229 L_2B01C1F1: 17230 ecx = edx; /* 0x2B01C1F1: mov ecx, edx */ 17231 L_2B01C1F3: 17232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17233 ecx = ecx & 3; /* 0x2B01C1F3: and ecx, 3 */ 17234 _cf = 0; 17235 _flag_k = FK_TEST; 17236 L_2B01C1F6: 17237 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C1F6: 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; } 17238 L_2B01C1F8: 17239 PUSH32(esp, ebx); /* 0x2B01C1F8: push ebx */ 17240 L_2B01C1F9: 17241 ecx = ebp + (-0x3C); /* 0x2B01C1F9: lea ecx, [ebp - 0x3c] */ 17242 L_2B01C1FC: 17243 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C1FC: call dword ptr [0x2b0b5150] */ 17244 RECOMP_FLAGS_IN(); 17245 L_2B01C202: 17246 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17247 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C202: or ecx, 0xffffffff */ 17248 _cf = 0; 17249 _flag_k = FK_TEST; 17250 L_2B01C205: 17251 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17252 eax = 0; /* 0x2B01C205: xor eax, eax */ 17253 _cf = 0; 17254 _flag_k = FK_TEST; 17255 L_2B01C207: 17256 edi = 0x2B0E2F68u; /* 0x2B01C207: mov edi, 0x2b0e2f68 */ 17257 L_2B01C20C: 17258 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; } /* 0x2B01C20C: repne scasb al, byte ptr es:[edi] */ 17259 L_2B01C20E: 17260 ecx = ~ecx; /* 0x2B01C20E: not ecx */ 17261 L_2B01C210: 17262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17263 ecx = ecx - 1; /* 0x2B01C210: dec ecx */ 17264 _flag_k = FK_DEC; 17265 L_2B01C211: 17266 ebx = ecx; /* 0x2B01C211: mov ebx, ecx */ 17267 L_2B01C213: 17268 PUSH32(esp, 1); /* 0x2B01C213: push 1 */ 17269 L_2B01C215: 17270 PUSH32(esp, ebx); /* 0x2B01C215: push ebx */ 17271 L_2B01C216: 17272 ecx = ebp + (-0x28); /* 0x2B01C216: lea ecx, [ebp - 0x28] */ 17273 L_2B01C219: 17274 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C219: call dword ptr [0x2b0b5154] */ 17275 RECOMP_FLAGS_IN(); 17276 L_2B01C21F: 17277 /* test LO8(eax), LO8(eax) */ /* 0x2B01C21F: test al, al */ 17278 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17279 _cf = 0; 17280 _flag_k = FK_NARROW(FK_TEST, 24); 17281 L_2B01C221: 17282 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C454; /* 0x2B01C221: je 0x2b01c454 */ 17283 L_2B01C227: 17284 ecx = ebx; /* 0x2B01C227: mov ecx, ebx */ 17285 L_2B01C229: 17286 esi = 0x2B0E2F68u; /* 0x2B01C229: mov esi, 0x2b0e2f68 */ 17287 L_2B01C22E: 17288 goto L_2B01C313; /* 0x2B01C22E: jmp 0x2b01c313 */ 17289 L_2B01C233: 17290 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17291 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C233: or ecx, 0xffffffff */ 17292 _cf = 0; 17293 _flag_k = FK_TEST; 17294 L_2B01C236: 17295 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17296 eax = 0; /* 0x2B01C236: xor eax, eax */ 17297 _cf = 0; 17298 _flag_k = FK_TEST; 17299 L_2B01C238: 17300 edi = 0x2B0E3048u; /* 0x2B01C238: mov edi, 0x2b0e3048 */ 17301 L_2B01C23D: 17302 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; } /* 0x2B01C23D: repne scasb al, byte ptr es:[edi] */ 17303 L_2B01C23F: 17304 ecx = ~ecx; /* 0x2B01C23F: not ecx */ 17305 L_2B01C241: 17306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17307 ecx = ecx - 1; /* 0x2B01C241: dec ecx */ 17308 _flag_k = FK_DEC; 17309 L_2B01C242: 17310 ebx = ecx; /* 0x2B01C242: mov ebx, ecx */ 17311 L_2B01C244: 17312 PUSH32(esp, 1); /* 0x2B01C244: push 1 */ 17313 L_2B01C246: 17314 PUSH32(esp, ebx); /* 0x2B01C246: push ebx */ 17315 L_2B01C247: 17316 ecx = ebp + (-0x3C); /* 0x2B01C247: lea ecx, [ebp - 0x3c] */ 17317 L_2B01C24A: 17318 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C24A: call dword ptr [0x2b0b5154] */ 17319 RECOMP_FLAGS_IN(); 17320 L_2B01C250: 17321 /* test LO8(eax), LO8(eax) */ /* 0x2B01C250: test al, al */ 17322 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17323 _cf = 0; 17324 _flag_k = FK_NARROW(FK_TEST, 24); 17325 L_2B01C252: 17326 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C276; /* 0x2B01C252: je 0x2b01c276 */ 17327 L_2B01C254: 17328 edi = MEM32(ebp + (-0x38)); /* 0x2B01C254: mov edi, dword ptr [ebp - 0x38] */ 17329 L_2B01C257: 17330 ecx = ebx; /* 0x2B01C257: mov ecx, ebx */ 17331 L_2B01C259: 17332 edx = ecx; /* 0x2B01C259: mov edx, ecx */ 17333 L_2B01C25B: 17334 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C25B: shr ecx, 2 */ 17335 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17336 ecx = ecx >> 2u; /* 0x2B01C25B: shr ecx, 2 */ 17337 L_2B01C25E: 17338 esi = 0x2B0E3048u; /* 0x2B01C25E: mov esi, 0x2b0e3048 */ 17339 L_2B01C263: 17340 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C263: 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; } 17341 L_2B01C265: 17342 ecx = edx; /* 0x2B01C265: mov ecx, edx */ 17343 L_2B01C267: 17344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17345 ecx = ecx & 3; /* 0x2B01C267: and ecx, 3 */ 17346 _cf = 0; 17347 _flag_k = FK_TEST; 17348 L_2B01C26A: 17349 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C26A: 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; } 17350 L_2B01C26C: 17351 PUSH32(esp, ebx); /* 0x2B01C26C: push ebx */ 17352 L_2B01C26D: 17353 ecx = ebp + (-0x3C); /* 0x2B01C26D: lea ecx, [ebp - 0x3c] */ 17354 L_2B01C270: 17355 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C270: call dword ptr [0x2b0b5150] */ 17356 RECOMP_FLAGS_IN(); 17357 L_2B01C276: 17358 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17359 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C276: or ecx, 0xffffffff */ 17360 _cf = 0; 17361 _flag_k = FK_TEST; 17362 L_2B01C279: 17363 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17364 eax = 0; /* 0x2B01C279: xor eax, eax */ 17365 _cf = 0; 17366 _flag_k = FK_TEST; 17367 L_2B01C27B: 17368 edi = 0x2B0E2F34u; /* 0x2B01C27B: mov edi, 0x2b0e2f34 */ 17369 L_2B01C280: 17370 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; } /* 0x2B01C280: repne scasb al, byte ptr es:[edi] */ 17371 L_2B01C282: 17372 ecx = ~ecx; /* 0x2B01C282: not ecx */ 17373 L_2B01C284: 17374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17375 ecx = ecx - 1; /* 0x2B01C284: dec ecx */ 17376 _flag_k = FK_DEC; 17377 L_2B01C285: 17378 ebx = ecx; /* 0x2B01C285: mov ebx, ecx */ 17379 L_2B01C287: 17380 PUSH32(esp, 1); /* 0x2B01C287: push 1 */ 17381 L_2B01C289: 17382 PUSH32(esp, ebx); /* 0x2B01C289: push ebx */ 17383 L_2B01C28A: 17384 ecx = ebp + (-0x28); /* 0x2B01C28A: lea ecx, [ebp - 0x28] */ 17385 L_2B01C28D: 17386 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C28D: call dword ptr [0x2b0b5154] */ 17387 RECOMP_FLAGS_IN(); 17388 L_2B01C293: 17389 /* test LO8(eax), LO8(eax) */ /* 0x2B01C293: test al, al */ 17390 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17391 _cf = 0; 17392 _flag_k = FK_NARROW(FK_TEST, 24); 17393 L_2B01C295: 17394 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C454; /* 0x2B01C295: je 0x2b01c454 */ 17395 L_2B01C29B: 17396 ecx = ebx; /* 0x2B01C29B: mov ecx, ebx */ 17397 L_2B01C29D: 17398 esi = 0x2B0E2F34u; /* 0x2B01C29D: mov esi, 0x2b0e2f34 */ 17399 L_2B01C2A2: 17400 goto L_2B01C313; /* 0x2B01C2A2: jmp 0x2b01c313 */ 17401 L_2B01C2A4: 17402 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17403 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C2A4: or ecx, 0xffffffff */ 17404 _cf = 0; 17405 _flag_k = FK_TEST; 17406 L_2B01C2A7: 17407 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17408 eax = 0; /* 0x2B01C2A7: xor eax, eax */ 17409 _cf = 0; 17410 _flag_k = FK_TEST; 17411 L_2B01C2A9: 17412 edi = 0x2B0E2F2Cu; /* 0x2B01C2A9: mov edi, 0x2b0e2f2c */ 17413 L_2B01C2AE: 17414 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; } /* 0x2B01C2AE: repne scasb al, byte ptr es:[edi] */ 17415 L_2B01C2B0: 17416 ecx = ~ecx; /* 0x2B01C2B0: not ecx */ 17417 L_2B01C2B2: 17418 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17419 ecx = ecx - 1; /* 0x2B01C2B2: dec ecx */ 17420 _flag_k = FK_DEC; 17421 L_2B01C2B3: 17422 ebx = ecx; /* 0x2B01C2B3: mov ebx, ecx */ 17423 L_2B01C2B5: 17424 PUSH32(esp, 1); /* 0x2B01C2B5: push 1 */ 17425 L_2B01C2B7: 17426 PUSH32(esp, ebx); /* 0x2B01C2B7: push ebx */ 17427 L_2B01C2B8: 17428 ecx = ebp + (-0x3C); /* 0x2B01C2B8: lea ecx, [ebp - 0x3c] */ 17429 L_2B01C2BB: 17430 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C2BB: call dword ptr [0x2b0b5154] */ 17431 RECOMP_FLAGS_IN(); 17432 L_2B01C2C1: 17433 /* test LO8(eax), LO8(eax) */ /* 0x2B01C2C1: test al, al */ 17434 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17435 _cf = 0; 17436 _flag_k = FK_NARROW(FK_TEST, 24); 17437 L_2B01C2C3: 17438 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C2E7; /* 0x2B01C2C3: je 0x2b01c2e7 */ 17439 L_2B01C2C5: 17440 edi = MEM32(ebp + (-0x38)); /* 0x2B01C2C5: mov edi, dword ptr [ebp - 0x38] */ 17441 L_2B01C2C8: 17442 ecx = ebx; /* 0x2B01C2C8: mov ecx, ebx */ 17443 L_2B01C2CA: 17444 edx = ecx; /* 0x2B01C2CA: mov edx, ecx */ 17445 L_2B01C2CC: 17446 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C2CC: shr ecx, 2 */ 17447 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17448 ecx = ecx >> 2u; /* 0x2B01C2CC: shr ecx, 2 */ 17449 L_2B01C2CF: 17450 esi = 0x2B0E2F2Cu; /* 0x2B01C2CF: mov esi, 0x2b0e2f2c */ 17451 L_2B01C2D4: 17452 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C2D4: 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; } 17453 L_2B01C2D6: 17454 ecx = edx; /* 0x2B01C2D6: mov ecx, edx */ 17455 L_2B01C2D8: 17456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17457 ecx = ecx & 3; /* 0x2B01C2D8: and ecx, 3 */ 17458 _cf = 0; 17459 _flag_k = FK_TEST; 17460 L_2B01C2DB: 17461 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C2DB: 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; } 17462 L_2B01C2DD: 17463 PUSH32(esp, ebx); /* 0x2B01C2DD: push ebx */ 17464 L_2B01C2DE: 17465 ecx = ebp + (-0x3C); /* 0x2B01C2DE: lea ecx, [ebp - 0x3c] */ 17466 L_2B01C2E1: 17467 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C2E1: call dword ptr [0x2b0b5150] */ 17468 RECOMP_FLAGS_IN(); 17469 L_2B01C2E7: 17470 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17471 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C2E7: or ecx, 0xffffffff */ 17472 _cf = 0; 17473 _flag_k = FK_TEST; 17474 L_2B01C2EA: 17475 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17476 eax = 0; /* 0x2B01C2EA: xor eax, eax */ 17477 _cf = 0; 17478 _flag_k = FK_TEST; 17479 L_2B01C2EC: 17480 edi = 0x2B0E2EF8u; /* 0x2B01C2EC: mov edi, 0x2b0e2ef8 */ 17481 L_2B01C2F1: 17482 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; } /* 0x2B01C2F1: repne scasb al, byte ptr es:[edi] */ 17483 L_2B01C2F3: 17484 ecx = ~ecx; /* 0x2B01C2F3: not ecx */ 17485 L_2B01C2F5: 17486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17487 ecx = ecx - 1; /* 0x2B01C2F5: dec ecx */ 17488 _flag_k = FK_DEC; 17489 L_2B01C2F6: 17490 ebx = ecx; /* 0x2B01C2F6: mov ebx, ecx */ 17491 L_2B01C2F8: 17492 PUSH32(esp, 1); /* 0x2B01C2F8: push 1 */ 17493 L_2B01C2FA: 17494 PUSH32(esp, ebx); /* 0x2B01C2FA: push ebx */ 17495 L_2B01C2FB: 17496 ecx = ebp + (-0x28); /* 0x2B01C2FB: lea ecx, [ebp - 0x28] */ 17497 L_2B01C2FE: 17498 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C2FE: call dword ptr [0x2b0b5154] */ 17499 RECOMP_FLAGS_IN(); 17500 L_2B01C304: 17501 /* test LO8(eax), LO8(eax) */ /* 0x2B01C304: test al, al */ 17502 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17503 _cf = 0; 17504 _flag_k = FK_NARROW(FK_TEST, 24); 17505 L_2B01C306: 17506 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C454; /* 0x2B01C306: je 0x2b01c454 */ 17507 L_2B01C30C: 17508 ecx = ebx; /* 0x2B01C30C: mov ecx, ebx */ 17509 L_2B01C30E: 17510 esi = 0x2B0E2EF8u; /* 0x2B01C30E: mov esi, 0x2b0e2ef8 */ 17511 L_2B01C313: 17512 edi = MEM32(ebp + (-0x24)); /* 0x2B01C313: mov edi, dword ptr [ebp - 0x24] */ 17513 L_2B01C316: 17514 eax = ecx; /* 0x2B01C316: mov eax, ecx */ 17515 L_2B01C318: 17516 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C318: shr ecx, 2 */ 17517 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17518 ecx = ecx >> 2u; /* 0x2B01C318: shr ecx, 2 */ 17519 L_2B01C31B: 17520 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C31B: 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; } 17521 L_2B01C31D: 17522 ecx = eax; /* 0x2B01C31D: mov ecx, eax */ 17523 L_2B01C31F: 17524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17525 ecx = ecx & 3; /* 0x2B01C31F: and ecx, 3 */ 17526 _cf = 0; 17527 _flag_k = FK_TEST; 17528 L_2B01C322: 17529 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C322: 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; } 17530 L_2B01C324: 17531 PUSH32(esp, ebx); /* 0x2B01C324: push ebx */ 17532 L_2B01C325: 17533 ecx = ebp + (-0x28); /* 0x2B01C325: lea ecx, [ebp - 0x28] */ 17534 L_2B01C328: 17535 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C328: call dword ptr [0x2b0b5150] */ 17536 RECOMP_FLAGS_IN(); 17537 L_2B01C32E: 17538 goto L_2B01C454; /* 0x2B01C32E: jmp 0x2b01c454 */ 17539 L_2B01C333: 17540 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17541 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C333: or ecx, 0xffffffff */ 17542 _cf = 0; 17543 _flag_k = FK_TEST; 17544 L_2B01C336: 17545 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17546 eax = 0; /* 0x2B01C336: xor eax, eax */ 17547 _cf = 0; 17548 _flag_k = FK_TEST; 17549 L_2B01C338: 17550 edi = 0x2B0E2EE8u; /* 0x2B01C338: mov edi, 0x2b0e2ee8 */ 17551 L_2B01C33D: 17552 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; } /* 0x2B01C33D: repne scasb al, byte ptr es:[edi] */ 17553 L_2B01C33F: 17554 ecx = ~ecx; /* 0x2B01C33F: not ecx */ 17555 L_2B01C341: 17556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17557 ecx = ecx - 1; /* 0x2B01C341: dec ecx */ 17558 _flag_k = FK_DEC; 17559 L_2B01C342: 17560 ebx = ecx; /* 0x2B01C342: mov ebx, ecx */ 17561 L_2B01C344: 17562 PUSH32(esp, 1); /* 0x2B01C344: push 1 */ 17563 L_2B01C346: 17564 PUSH32(esp, ebx); /* 0x2B01C346: push ebx */ 17565 L_2B01C347: 17566 ecx = ebp + (-0x3C); /* 0x2B01C347: lea ecx, [ebp - 0x3c] */ 17567 L_2B01C34A: 17568 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C34A: call dword ptr [0x2b0b5154] */ 17569 RECOMP_FLAGS_IN(); 17570 L_2B01C350: 17571 /* test LO8(eax), LO8(eax) */ /* 0x2B01C350: test al, al */ 17572 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17573 _cf = 0; 17574 _flag_k = FK_NARROW(FK_TEST, 24); 17575 L_2B01C352: 17576 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C376; /* 0x2B01C352: je 0x2b01c376 */ 17577 L_2B01C354: 17578 edi = MEM32(ebp + (-0x38)); /* 0x2B01C354: mov edi, dword ptr [ebp - 0x38] */ 17579 L_2B01C357: 17580 ecx = ebx; /* 0x2B01C357: mov ecx, ebx */ 17581 L_2B01C359: 17582 edx = ecx; /* 0x2B01C359: mov edx, ecx */ 17583 L_2B01C35B: 17584 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C35B: shr ecx, 2 */ 17585 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17586 ecx = ecx >> 2u; /* 0x2B01C35B: shr ecx, 2 */ 17587 L_2B01C35E: 17588 esi = 0x2B0E2EE8u; /* 0x2B01C35E: mov esi, 0x2b0e2ee8 */ 17589 L_2B01C363: 17590 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C363: 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; } 17591 L_2B01C365: 17592 ecx = edx; /* 0x2B01C365: mov ecx, edx */ 17593 L_2B01C367: 17594 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17595 ecx = ecx & 3; /* 0x2B01C367: and ecx, 3 */ 17596 _cf = 0; 17597 _flag_k = FK_TEST; 17598 L_2B01C36A: 17599 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C36A: 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; } 17600 L_2B01C36C: 17601 PUSH32(esp, ebx); /* 0x2B01C36C: push ebx */ 17602 L_2B01C36D: 17603 ecx = ebp + (-0x3C); /* 0x2B01C36D: lea ecx, [ebp - 0x3c] */ 17604 L_2B01C370: 17605 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C370: call dword ptr [0x2b0b5150] */ 17606 RECOMP_FLAGS_IN(); 17607 L_2B01C376: 17608 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17609 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C376: or ecx, 0xffffffff */ 17610 _cf = 0; 17611 _flag_k = FK_TEST; 17612 L_2B01C379: 17613 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17614 eax = 0; /* 0x2B01C379: xor eax, eax */ 17615 _cf = 0; 17616 _flag_k = FK_TEST; 17617 L_2B01C37B: 17618 edi = 0x2B0E2EB4u; /* 0x2B01C37B: mov edi, 0x2b0e2eb4 */ 17619 L_2B01C380: 17620 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; } /* 0x2B01C380: repne scasb al, byte ptr es:[edi] */ 17621 L_2B01C382: 17622 ecx = ~ecx; /* 0x2B01C382: not ecx */ 17623 L_2B01C384: 17624 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17625 ecx = ecx - 1; /* 0x2B01C384: dec ecx */ 17626 _flag_k = FK_DEC; 17627 L_2B01C385: 17628 ebx = ecx; /* 0x2B01C385: mov ebx, ecx */ 17629 L_2B01C387: 17630 PUSH32(esp, 1); /* 0x2B01C387: push 1 */ 17631 L_2B01C389: 17632 PUSH32(esp, ebx); /* 0x2B01C389: push ebx */ 17633 L_2B01C38A: 17634 ecx = ebp + (-0x28); /* 0x2B01C38A: lea ecx, [ebp - 0x28] */ 17635 L_2B01C38D: 17636 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C38D: call dword ptr [0x2b0b5154] */ 17637 RECOMP_FLAGS_IN(); 17638 L_2B01C393: 17639 /* test LO8(eax), LO8(eax) */ /* 0x2B01C393: test al, al */ 17640 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17641 _cf = 0; 17642 _flag_k = FK_NARROW(FK_TEST, 24); 17643 L_2B01C395: 17644 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C3B9; /* 0x2B01C395: je 0x2b01c3b9 */ 17645 L_2B01C397: 17646 edi = MEM32(ebp + (-0x24)); /* 0x2B01C397: mov edi, dword ptr [ebp - 0x24] */ 17647 L_2B01C39A: 17648 ecx = ebx; /* 0x2B01C39A: mov ecx, ebx */ 17649 L_2B01C39C: 17650 eax = ecx; /* 0x2B01C39C: mov eax, ecx */ 17651 L_2B01C39E: 17652 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C39E: shr ecx, 2 */ 17653 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17654 ecx = ecx >> 2u; /* 0x2B01C39E: shr ecx, 2 */ 17655 L_2B01C3A1: 17656 esi = 0x2B0E2EB4u; /* 0x2B01C3A1: mov esi, 0x2b0e2eb4 */ 17657 L_2B01C3A6: 17658 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C3A6: 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; } 17659 L_2B01C3A8: 17660 ecx = eax; /* 0x2B01C3A8: mov ecx, eax */ 17661 L_2B01C3AA: 17662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17663 ecx = ecx & 3; /* 0x2B01C3AA: and ecx, 3 */ 17664 _cf = 0; 17665 _flag_k = FK_TEST; 17666 L_2B01C3AD: 17667 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C3AD: 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; } 17668 L_2B01C3AF: 17669 PUSH32(esp, ebx); /* 0x2B01C3AF: push ebx */ 17670 L_2B01C3B0: 17671 ecx = ebp + (-0x28); /* 0x2B01C3B0: lea ecx, [ebp - 0x28] */ 17672 L_2B01C3B3: 17673 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C3B3: call dword ptr [0x2b0b5150] */ 17674 RECOMP_FLAGS_IN(); 17675 L_2B01C3B9: 17676 ecx = MEM32(ebp + (-0x14)); /* 0x2B01C3B9: mov ecx, dword ptr [ebp - 0x14] */ 17677 L_2B01C3BC: 17678 RECOMP_ICALL(0x2B01CC00u); /* 0x2B01C3BC: call 0x2b01cc00 */ /* not lifted */ 17679 RECOMP_FLAGS_IN(); 17680 L_2B01C3C1: 17681 goto L_2B01C454; /* 0x2B01C3C1: jmp 0x2b01c454 */ 17682 L_2B01C3C6: 17683 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17684 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C3C6: or ecx, 0xffffffff */ 17685 _cf = 0; 17686 _flag_k = FK_TEST; 17687 L_2B01C3C9: 17688 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17689 eax = 0; /* 0x2B01C3C9: xor eax, eax */ 17690 _cf = 0; 17691 _flag_k = FK_TEST; 17692 L_2B01C3CB: 17693 edi = 0x2B0E2E90u; /* 0x2B01C3CB: mov edi, 0x2b0e2e90 */ 17694 L_2B01C3D0: 17695 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; } /* 0x2B01C3D0: repne scasb al, byte ptr es:[edi] */ 17696 L_2B01C3D2: 17697 ecx = ~ecx; /* 0x2B01C3D2: not ecx */ 17698 L_2B01C3D4: 17699 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17700 ecx = ecx - 1; /* 0x2B01C3D4: dec ecx */ 17701 _flag_k = FK_DEC; 17702 L_2B01C3D5: 17703 ebx = ecx; /* 0x2B01C3D5: mov ebx, ecx */ 17704 L_2B01C3D7: 17705 PUSH32(esp, 1); /* 0x2B01C3D7: push 1 */ 17706 L_2B01C3D9: 17707 PUSH32(esp, ebx); /* 0x2B01C3D9: push ebx */ 17708 L_2B01C3DA: 17709 ecx = ebp + (-0x3C); /* 0x2B01C3DA: lea ecx, [ebp - 0x3c] */ 17710 L_2B01C3DD: 17711 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C3DD: call dword ptr [0x2b0b5154] */ 17712 RECOMP_FLAGS_IN(); 17713 L_2B01C3E3: 17714 /* test LO8(eax), LO8(eax) */ /* 0x2B01C3E3: test al, al */ 17715 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17716 _cf = 0; 17717 _flag_k = FK_NARROW(FK_TEST, 24); 17718 L_2B01C3E5: 17719 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C409; /* 0x2B01C3E5: je 0x2b01c409 */ 17720 L_2B01C3E7: 17721 edi = MEM32(ebp + (-0x38)); /* 0x2B01C3E7: mov edi, dword ptr [ebp - 0x38] */ 17722 L_2B01C3EA: 17723 ecx = ebx; /* 0x2B01C3EA: mov ecx, ebx */ 17724 L_2B01C3EC: 17725 edx = ecx; /* 0x2B01C3EC: mov edx, ecx */ 17726 L_2B01C3EE: 17727 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C3EE: shr ecx, 2 */ 17728 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17729 ecx = ecx >> 2u; /* 0x2B01C3EE: shr ecx, 2 */ 17730 L_2B01C3F1: 17731 esi = 0x2B0E2E90u; /* 0x2B01C3F1: mov esi, 0x2b0e2e90 */ 17732 L_2B01C3F6: 17733 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C3F6: 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; } 17734 L_2B01C3F8: 17735 ecx = edx; /* 0x2B01C3F8: mov ecx, edx */ 17736 L_2B01C3FA: 17737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17738 ecx = ecx & 3; /* 0x2B01C3FA: and ecx, 3 */ 17739 _cf = 0; 17740 _flag_k = FK_TEST; 17741 L_2B01C3FD: 17742 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C3FD: 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; } 17743 L_2B01C3FF: 17744 PUSH32(esp, ebx); /* 0x2B01C3FF: push ebx */ 17745 L_2B01C400: 17746 ecx = ebp + (-0x3C); /* 0x2B01C400: lea ecx, [ebp - 0x3c] */ 17747 L_2B01C403: 17748 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C403: call dword ptr [0x2b0b5150] */ 17749 RECOMP_FLAGS_IN(); 17750 L_2B01C409: 17751 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 17752 ecx = ecx | 0xFFFFFFFFu; /* 0x2B01C409: or ecx, 0xffffffff */ 17753 _cf = 0; 17754 _flag_k = FK_TEST; 17755 L_2B01C40C: 17756 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17757 eax = 0; /* 0x2B01C40C: xor eax, eax */ 17758 _cf = 0; 17759 _flag_k = FK_TEST; 17760 L_2B01C40E: 17761 edi = 0x2B0E2DE8u; /* 0x2B01C40E: mov edi, 0x2b0e2de8 */ 17762 L_2B01C413: 17763 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; } /* 0x2B01C413: repne scasb al, byte ptr es:[edi] */ 17764 L_2B01C415: 17765 ecx = ~ecx; /* 0x2B01C415: not ecx */ 17766 L_2B01C417: 17767 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17768 ecx = ecx - 1; /* 0x2B01C417: dec ecx */ 17769 _flag_k = FK_DEC; 17770 L_2B01C418: 17771 ebx = ecx; /* 0x2B01C418: mov ebx, ecx */ 17772 L_2B01C41A: 17773 PUSH32(esp, 1); /* 0x2B01C41A: push 1 */ 17774 L_2B01C41C: 17775 PUSH32(esp, ebx); /* 0x2B01C41C: push ebx */ 17776 L_2B01C41D: 17777 ecx = ebp + (-0x28); /* 0x2B01C41D: lea ecx, [ebp - 0x28] */ 17778 L_2B01C420: 17779 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B01C420: call dword ptr [0x2b0b5154] */ 17780 RECOMP_FLAGS_IN(); 17781 L_2B01C426: 17782 /* test LO8(eax), LO8(eax) */ /* 0x2B01C426: test al, al */ 17783 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 17784 _cf = 0; 17785 _flag_k = FK_NARROW(FK_TEST, 24); 17786 L_2B01C428: 17787 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C44C; /* 0x2B01C428: je 0x2b01c44c */ 17788 L_2B01C42A: 17789 edi = MEM32(ebp + (-0x24)); /* 0x2B01C42A: mov edi, dword ptr [ebp - 0x24] */ 17790 L_2B01C42D: 17791 ecx = ebx; /* 0x2B01C42D: mov ecx, ebx */ 17792 L_2B01C42F: 17793 eax = ecx; /* 0x2B01C42F: mov eax, ecx */ 17794 L_2B01C431: 17795 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C431: shr ecx, 2 */ 17796 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17797 ecx = ecx >> 2u; /* 0x2B01C431: shr ecx, 2 */ 17798 L_2B01C434: 17799 esi = 0x2B0E2DE8u; /* 0x2B01C434: mov esi, 0x2b0e2de8 */ 17800 L_2B01C439: 17801 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C439: 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; } 17802 L_2B01C43B: 17803 ecx = eax; /* 0x2B01C43B: mov ecx, eax */ 17804 L_2B01C43D: 17805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 17806 ecx = ecx & 3; /* 0x2B01C43D: and ecx, 3 */ 17807 _cf = 0; 17808 _flag_k = FK_TEST; 17809 L_2B01C440: 17810 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C440: 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; } 17811 L_2B01C442: 17812 PUSH32(esp, ebx); /* 0x2B01C442: push ebx */ 17813 L_2B01C443: 17814 ecx = ebp + (-0x28); /* 0x2B01C443: lea ecx, [ebp - 0x28] */ 17815 L_2B01C446: 17816 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C446: call dword ptr [0x2b0b5150] */ 17817 RECOMP_FLAGS_IN(); 17818 L_2B01C44C: 17819 ecx = MEM32(ebp + (-0x14)); /* 0x2B01C44C: mov ecx, dword ptr [ebp - 0x14] */ 17820 L_2B01C44F: 17821 RECOMP_ICALL(0x2B01CFF0u); /* 0x2B01C44F: call 0x2b01cff0 */ /* not lifted */ 17822 RECOMP_FLAGS_IN(); 17823 L_2B01C454: 17824 esi = MEM32(ebp + (-0x14)); /* 0x2B01C454: mov esi, dword ptr [ebp - 0x14] */ 17825 L_2B01C457: 17826 ecx = MEM32(esi + 0x5C); /* 0x2B01C457: mov ecx, dword ptr [esi + 0x5c] */ 17827 L_2B01C45A: 17828 PUSH32(esp, 0); /* 0x2B01C45A: push 0 */ 17829 L_2B01C45C: 17830 PUSH32(esp, ecx); /* 0x2B01C45C: push ecx */ 17831 L_2B01C45D: 17832 edx = ebp + (-0x28); /* 0x2B01C45D: lea edx, [ebp - 0x28] */ 17833 L_2B01C460: 17834 PUSH32(esp, edx); /* 0x2B01C460: push edx */ 17835 L_2B01C461: 17836 eax = ebp + (-0x3C); /* 0x2B01C461: lea eax, [ebp - 0x3c] */ 17837 L_2B01C464: 17838 PUSH32(esp, eax); /* 0x2B01C464: push eax */ 17839 L_2B01C465: 17840 ecx = esi; /* 0x2B01C465: mov ecx, esi */ 17841 L_2B01C467: 17842 RECOMP_ICALL(0x2B0387C0u); /* 0x2B01C467: call 0x2b0387c0 */ /* not lifted */ 17843 RECOMP_FLAGS_IN(); 17844 L_2B01C46C: 17845 ecx = MEM32(esi + 0x5C); /* 0x2B01C46C: mov ecx, dword ptr [esi + 0x5c] */ 17846 L_2B01C46F: 17847 MEM32(esi + 0x60) = ecx; /* 0x2B01C46F: mov dword ptr [esi + 0x60], ecx */ 17848 L_2B01C472: 17849 MEM32(esi + 0x5C) = 0; /* 0x2B01C472: mov dword ptr [esi + 0x5c], 0 */ 17850 L_2B01C479: 17851 ecx = MEM32(ebp + (-0x18)); /* 0x2B01C479: mov ecx, dword ptr [ebp - 0x18] */ 17852 L_2B01C47C: 17853 /* test ecx, ecx */ /* 0x2B01C47C: test ecx, ecx */ 17854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17855 _cf = 0; 17856 _flag_k = FK_TEST; 17857 L_2B01C47E: 17858 edi = POP32_VAL(esp); /* 0x2B01C47E: pop edi */ 17859 L_2B01C47F: 17860 esi = POP32_VAL(esp); /* 0x2B01C47F: pop esi */ 17861 L_2B01C480: 17862 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01C480: mov byte ptr [ebp - 4], 2 */ 17863 L_2B01C484: 17864 ebx = POP32_VAL(esp); /* 0x2B01C484: pop ebx */ 17865 L_2B01C485: 17866 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C48C; /* 0x2B01C485: je 0x2b01c48c */ 17867 L_2B01C487: 17868 RECOMP_ICALL(0x2B005B20u); /* 0x2B01C487: call 0x2b005b20 */ /* not lifted */ 17869 RECOMP_FLAGS_IN(); 17870 L_2B01C48C: 17871 PUSH32(esp, 1); /* 0x2B01C48C: push 1 */ 17872 L_2B01C48E: 17873 ecx = ebp + (-0x28); /* 0x2B01C48E: lea ecx, [ebp - 0x28] */ 17874 L_2B01C491: 17875 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01C491: mov byte ptr [ebp - 4], 0 */ 17876 L_2B01C495: 17877 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01C495: call dword ptr [0x2b0b514c] */ 17878 RECOMP_FLAGS_IN(); 17879 L_2B01C49B: 17880 ecx = MEM32(ebp + (-0x2C)); /* 0x2B01C49B: mov ecx, dword ptr [ebp - 0x2c] */ 17881 L_2B01C49E: 17882 /* test ecx, ecx */ /* 0x2B01C49E: test ecx, ecx */ 17883 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17884 _cf = 0; 17885 _flag_k = FK_TEST; 17886 L_2B01C4A0: 17887 MEM32(ebp + (-0x4)) = 3; /* 0x2B01C4A0: mov dword ptr [ebp - 4], 3 */ 17888 L_2B01C4A7: 17889 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C4AE; /* 0x2B01C4A7: je 0x2b01c4ae */ 17890 L_2B01C4A9: 17891 RECOMP_ICALL(0x2B005B20u); /* 0x2B01C4A9: call 0x2b005b20 */ /* not lifted */ 17892 RECOMP_FLAGS_IN(); 17893 L_2B01C4AE: 17894 PUSH32(esp, 1); /* 0x2B01C4AE: push 1 */ 17895 L_2B01C4B0: 17896 ecx = ebp + (-0x3C); /* 0x2B01C4B0: lea ecx, [ebp - 0x3c] */ 17897 L_2B01C4B3: 17898 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01C4B3: mov dword ptr [ebp - 4], 0xffffffff */ 17899 L_2B01C4BA: 17900 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01C4BA: call dword ptr [0x2b0b514c] */ 17901 RECOMP_FLAGS_IN(); 17902 L_2B01C4C0: 17903 ecx = MEM32(ebp + (-0xC)); /* 0x2B01C4C0: mov ecx, dword ptr [ebp - 0xc] */ 17904 L_2B01C4C3: 17905 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01C4C3: mov dword ptr fs:[0], ecx */ 17906 L_2B01C4CA: 17907 esp = ebp; /* 0x2B01C4CA: mov esp, ebp */ 17908 L_2B01C4CC: 17909 ebp = POP32_VAL(esp); /* 0x2B01C4CC: pop ebp */ 17910 L_2B01C4CD: 17911 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01C4CD: ret */ 17912 _ljump: 17913 switch (_itail_tgt) { 17914 case 0x2B01BF60u: goto L_2B01BF60; 17915 case 0x2B01BF61u: goto L_2B01BF61; 17916 case 0x2B01BF63u: goto L_2B01BF63; 17917 case 0x2B01BF65u: goto L_2B01BF65; 17918 case 0x2B01BF6Au: goto L_2B01BF6A; 17919 case 0x2B01BF70u: goto L_2B01BF70; 17920 case 0x2B01BF71u: goto L_2B01BF71; 17921 case 0x2B01BF78u: goto L_2B01BF78; 17922 case 0x2B01BF7Bu: goto L_2B01BF7B; 17923 case 0x2B01BF7Cu: goto L_2B01BF7C; 17924 case 0x2B01BF7Du: goto L_2B01BF7D; 17925 case 0x2B01BF7Eu: goto L_2B01BF7E; 17926 case 0x2B01BF80u: goto L_2B01BF80; 17927 case 0x2B01BF83u: goto L_2B01BF83; 17928 case 0x2B01BF84u: goto L_2B01BF84; 17929 case 0x2B01BF87u: goto L_2B01BF87; 17930 case 0x2B01BF8Au: goto L_2B01BF8A; 17931 case 0x2B01BF90u: goto L_2B01BF90; 17932 case 0x2B01BF92u: goto L_2B01BF92; 17933 case 0x2B01BF95u: goto L_2B01BF95; 17934 case 0x2B01BF98u: goto L_2B01BF98; 17935 case 0x2B01BF99u: goto L_2B01BF99; 17936 case 0x2B01BF9Cu: goto L_2B01BF9C; 17937 case 0x2B01BF9Fu: goto L_2B01BF9F; 17938 case 0x2B01BFA5u: goto L_2B01BFA5; 17939 case 0x2B01BFA8u: goto L_2B01BFA8; 17940 case 0x2B01BFABu: goto L_2B01BFAB; 17941 case 0x2B01BFB0u: goto L_2B01BFB0; 17942 case 0x2B01BFB4u: goto L_2B01BFB4; 17943 case 0x2B01BFBAu: goto L_2B01BFBA; 17944 case 0x2B01BFC0u: goto L_2B01BFC0; 17945 case 0x2B01BFC3u: goto L_2B01BFC3; 17946 case 0x2B01BFC9u: goto L_2B01BFC9; 17947 case 0x2B01BFCFu: goto L_2B01BFCF; 17948 case 0x2B01BFD2u: goto L_2B01BFD2; 17949 case 0x2B01BFD4u: goto L_2B01BFD4; 17950 case 0x2B01BFD5u: goto L_2B01BFD5; 17951 case 0x2B01BFDBu: goto L_2B01BFDB; 17952 case 0x2B01BFDEu: goto L_2B01BFDE; 17953 case 0x2B01BFE0u: goto L_2B01BFE0; 17954 case 0x2B01BFE5u: goto L_2B01BFE5; 17955 case 0x2B01BFE7u: goto L_2B01BFE7; 17956 case 0x2B01BFE9u: goto L_2B01BFE9; 17957 case 0x2B01BFEAu: goto L_2B01BFEA; 17958 case 0x2B01BFEBu: goto L_2B01BFEB; 17959 case 0x2B01BFF0u: goto L_2B01BFF0; 17960 case 0x2B01BFF3u: goto L_2B01BFF3; 17961 case 0x2B01BFF9u: goto L_2B01BFF9; 17962 case 0x2B01BFFCu: goto L_2B01BFFC; 17963 case 0x2B01BFFEu: goto L_2B01BFFE; 17964 case 0x2B01C003u: goto L_2B01C003; 17965 case 0x2B01C005u: goto L_2B01C005; 17966 case 0x2B01C007u: goto L_2B01C007; 17967 case 0x2B01C008u: goto L_2B01C008; 17968 case 0x2B01C009u: goto L_2B01C009; 17969 case 0x2B01C00Eu: goto L_2B01C00E; 17970 case 0x2B01C011u: goto L_2B01C011; 17971 case 0x2B01C017u: goto L_2B01C017; 17972 case 0x2B01C01Cu: goto L_2B01C01C; 17973 case 0x2B01C01Fu: goto L_2B01C01F; 17974 case 0x2B01C021u: goto L_2B01C021; 17975 case 0x2B01C026u: goto L_2B01C026; 17976 case 0x2B01C028u: goto L_2B01C028; 17977 case 0x2B01C02Au: goto L_2B01C02A; 17978 case 0x2B01C02Bu: goto L_2B01C02B; 17979 case 0x2B01C02Cu: goto L_2B01C02C; 17980 case 0x2B01C031u: goto L_2B01C031; 17981 case 0x2B01C034u: goto L_2B01C034; 17982 case 0x2B01C03Au: goto L_2B01C03A; 17983 case 0x2B01C03Du: goto L_2B01C03D; 17984 case 0x2B01C03Fu: goto L_2B01C03F; 17985 case 0x2B01C044u: goto L_2B01C044; 17986 case 0x2B01C046u: goto L_2B01C046; 17987 case 0x2B01C048u: goto L_2B01C048; 17988 case 0x2B01C049u: goto L_2B01C049; 17989 case 0x2B01C04Au: goto L_2B01C04A; 17990 case 0x2B01C04Fu: goto L_2B01C04F; 17991 case 0x2B01C052u: goto L_2B01C052; 17992 case 0x2B01C058u: goto L_2B01C058; 17993 case 0x2B01C05Du: goto L_2B01C05D; 17994 case 0x2B01C060u: goto L_2B01C060; 17995 case 0x2B01C062u: goto L_2B01C062; 17996 case 0x2B01C067u: goto L_2B01C067; 17997 case 0x2B01C069u: goto L_2B01C069; 17998 case 0x2B01C06Bu: goto L_2B01C06B; 17999 case 0x2B01C06Cu: goto L_2B01C06C; 18000 case 0x2B01C06Du: goto L_2B01C06D; 18001 case 0x2B01C072u: goto L_2B01C072; 18002 case 0x2B01C075u: goto L_2B01C075; 18003 case 0x2B01C07Bu: goto L_2B01C07B; 18004 case 0x2B01C07Eu: goto L_2B01C07E; 18005 case 0x2B01C080u: goto L_2B01C080; 18006 case 0x2B01C085u: goto L_2B01C085; 18007 case 0x2B01C087u: goto L_2B01C087; 18008 case 0x2B01C089u: goto L_2B01C089; 18009 case 0x2B01C08Au: goto L_2B01C08A; 18010 case 0x2B01C08Bu: goto L_2B01C08B; 18011 case 0x2B01C090u: goto L_2B01C090; 18012 case 0x2B01C093u: goto L_2B01C093; 18013 case 0x2B01C099u: goto L_2B01C099; 18014 case 0x2B01C09Eu: goto L_2B01C09E; 18015 case 0x2B01C0A3u: goto L_2B01C0A3; 18016 case 0x2B01C0A5u: goto L_2B01C0A5; 18017 case 0x2B01C0A6u: goto L_2B01C0A6; 18018 case 0x2B01C0ACu: goto L_2B01C0AC; 18019 case 0x2B01C0AFu: goto L_2B01C0AF; 18020 case 0x2B01C0B1u: goto L_2B01C0B1; 18021 case 0x2B01C0B6u: goto L_2B01C0B6; 18022 case 0x2B01C0B8u: goto L_2B01C0B8; 18023 case 0x2B01C0BAu: goto L_2B01C0BA; 18024 case 0x2B01C0BBu: goto L_2B01C0BB; 18025 case 0x2B01C0BCu: goto L_2B01C0BC; 18026 case 0x2B01C0C1u: goto L_2B01C0C1; 18027 case 0x2B01C0C4u: goto L_2B01C0C4; 18028 case 0x2B01C0CAu: goto L_2B01C0CA; 18029 case 0x2B01C0CDu: goto L_2B01C0CD; 18030 case 0x2B01C0CFu: goto L_2B01C0CF; 18031 case 0x2B01C0D4u: goto L_2B01C0D4; 18032 case 0x2B01C0D6u: goto L_2B01C0D6; 18033 case 0x2B01C0D8u: goto L_2B01C0D8; 18034 case 0x2B01C0D9u: goto L_2B01C0D9; 18035 case 0x2B01C0DAu: goto L_2B01C0DA; 18036 case 0x2B01C0DFu: goto L_2B01C0DF; 18037 case 0x2B01C0E2u: goto L_2B01C0E2; 18038 case 0x2B01C0E8u: goto L_2B01C0E8; 18039 case 0x2B01C0EDu: goto L_2B01C0ED; 18040 case 0x2B01C0F0u: goto L_2B01C0F0; 18041 case 0x2B01C0F2u: goto L_2B01C0F2; 18042 case 0x2B01C0F7u: goto L_2B01C0F7; 18043 case 0x2B01C0F9u: goto L_2B01C0F9; 18044 case 0x2B01C0FBu: goto L_2B01C0FB; 18045 case 0x2B01C0FCu: goto L_2B01C0FC; 18046 case 0x2B01C0FDu: goto L_2B01C0FD; 18047 case 0x2B01C102u: goto L_2B01C102; 18048 case 0x2B01C105u: goto L_2B01C105; 18049 case 0x2B01C10Bu: goto L_2B01C10B; 18050 case 0x2B01C10Eu: goto L_2B01C10E; 18051 case 0x2B01C110u: goto L_2B01C110; 18052 case 0x2B01C115u: goto L_2B01C115; 18053 case 0x2B01C117u: goto L_2B01C117; 18054 case 0x2B01C119u: goto L_2B01C119; 18055 case 0x2B01C11Au: goto L_2B01C11A; 18056 case 0x2B01C11Bu: goto L_2B01C11B; 18057 case 0x2B01C120u: goto L_2B01C120; 18058 case 0x2B01C123u: goto L_2B01C123; 18059 case 0x2B01C129u: goto L_2B01C129; 18060 case 0x2B01C12Eu: goto L_2B01C12E; 18061 case 0x2B01C131u: goto L_2B01C131; 18062 case 0x2B01C133u: goto L_2B01C133; 18063 case 0x2B01C138u: goto L_2B01C138; 18064 case 0x2B01C13Au: goto L_2B01C13A; 18065 case 0x2B01C13Cu: goto L_2B01C13C; 18066 case 0x2B01C13Du: goto L_2B01C13D; 18067 case 0x2B01C13Fu: goto L_2B01C13F; 18068 case 0x2B01C141u: goto L_2B01C141; 18069 case 0x2B01C142u: goto L_2B01C142; 18070 case 0x2B01C145u: goto L_2B01C145; 18071 case 0x2B01C14Bu: goto L_2B01C14B; 18072 case 0x2B01C14Du: goto L_2B01C14D; 18073 case 0x2B01C14Fu: goto L_2B01C14F; 18074 case 0x2B01C152u: goto L_2B01C152; 18075 case 0x2B01C154u: goto L_2B01C154; 18076 case 0x2B01C156u: goto L_2B01C156; 18077 case 0x2B01C159u: goto L_2B01C159; 18078 case 0x2B01C15Eu: goto L_2B01C15E; 18079 case 0x2B01C160u: goto L_2B01C160; 18080 case 0x2B01C162u: goto L_2B01C162; 18081 case 0x2B01C165u: goto L_2B01C165; 18082 case 0x2B01C167u: goto L_2B01C167; 18083 case 0x2B01C168u: goto L_2B01C168; 18084 case 0x2B01C16Bu: goto L_2B01C16B; 18085 case 0x2B01C171u: goto L_2B01C171; 18086 case 0x2B01C174u: goto L_2B01C174; 18087 case 0x2B01C176u: goto L_2B01C176; 18088 case 0x2B01C17Bu: goto L_2B01C17B; 18089 case 0x2B01C17Du: goto L_2B01C17D; 18090 case 0x2B01C17Fu: goto L_2B01C17F; 18091 case 0x2B01C180u: goto L_2B01C180; 18092 case 0x2B01C182u: goto L_2B01C182; 18093 case 0x2B01C184u: goto L_2B01C184; 18094 case 0x2B01C185u: goto L_2B01C185; 18095 case 0x2B01C188u: goto L_2B01C188; 18096 case 0x2B01C18Eu: goto L_2B01C18E; 18097 case 0x2B01C190u: goto L_2B01C190; 18098 case 0x2B01C196u: goto L_2B01C196; 18099 case 0x2B01C198u: goto L_2B01C198; 18100 case 0x2B01C19Du: goto L_2B01C19D; 18101 case 0x2B01C1A2u: goto L_2B01C1A2; 18102 case 0x2B01C1A7u: goto L_2B01C1A7; 18103 case 0x2B01C1AAu: goto L_2B01C1AA; 18104 case 0x2B01C1B0u: goto L_2B01C1B0; 18105 case 0x2B01C1B2u: goto L_2B01C1B2; 18106 case 0x2B01C1B8u: goto L_2B01C1B8; 18107 case 0x2B01C1BFu: goto L_2B01C1BF; 18108 case 0x2B01C1C2u: goto L_2B01C1C2; 18109 case 0x2B01C1C4u: goto L_2B01C1C4; 18110 case 0x2B01C1C9u: goto L_2B01C1C9; 18111 case 0x2B01C1CBu: goto L_2B01C1CB; 18112 case 0x2B01C1CDu: goto L_2B01C1CD; 18113 case 0x2B01C1CEu: goto L_2B01C1CE; 18114 case 0x2B01C1D0u: goto L_2B01C1D0; 18115 case 0x2B01C1D2u: goto L_2B01C1D2; 18116 case 0x2B01C1D3u: goto L_2B01C1D3; 18117 case 0x2B01C1D6u: goto L_2B01C1D6; 18118 case 0x2B01C1DCu: goto L_2B01C1DC; 18119 case 0x2B01C1DEu: goto L_2B01C1DE; 18120 case 0x2B01C1E0u: goto L_2B01C1E0; 18121 case 0x2B01C1E3u: goto L_2B01C1E3; 18122 case 0x2B01C1E5u: goto L_2B01C1E5; 18123 case 0x2B01C1E7u: goto L_2B01C1E7; 18124 case 0x2B01C1EAu: goto L_2B01C1EA; 18125 case 0x2B01C1EFu: goto L_2B01C1EF; 18126 case 0x2B01C1F1u: goto L_2B01C1F1; 18127 case 0x2B01C1F3u: goto L_2B01C1F3; 18128 case 0x2B01C1F6u: goto L_2B01C1F6; 18129 case 0x2B01C1F8u: goto L_2B01C1F8; 18130 case 0x2B01C1F9u: goto L_2B01C1F9; 18131 case 0x2B01C1FCu: goto L_2B01C1FC; 18132 case 0x2B01C202u: goto L_2B01C202; 18133 case 0x2B01C205u: goto L_2B01C205; 18134 case 0x2B01C207u: goto L_2B01C207; 18135 case 0x2B01C20Cu: goto L_2B01C20C; 18136 case 0x2B01C20Eu: goto L_2B01C20E; 18137 case 0x2B01C210u: goto L_2B01C210; 18138 case 0x2B01C211u: goto L_2B01C211; 18139 case 0x2B01C213u: goto L_2B01C213; 18140 case 0x2B01C215u: goto L_2B01C215; 18141 case 0x2B01C216u: goto L_2B01C216; 18142 case 0x2B01C219u: goto L_2B01C219; 18143 case 0x2B01C21Fu: goto L_2B01C21F; 18144 case 0x2B01C221u: goto L_2B01C221; 18145 case 0x2B01C227u: goto L_2B01C227; 18146 case 0x2B01C229u: goto L_2B01C229; 18147 case 0x2B01C22Eu: goto L_2B01C22E; 18148 case 0x2B01C233u: goto L_2B01C233; 18149 case 0x2B01C236u: goto L_2B01C236; 18150 case 0x2B01C238u: goto L_2B01C238; 18151 case 0x2B01C23Du: goto L_2B01C23D; 18152 case 0x2B01C23Fu: goto L_2B01C23F; 18153 case 0x2B01C241u: goto L_2B01C241; 18154 case 0x2B01C242u: goto L_2B01C242; 18155 case 0x2B01C244u: goto L_2B01C244; 18156 case 0x2B01C246u: goto L_2B01C246; 18157 case 0x2B01C247u: goto L_2B01C247; 18158 case 0x2B01C24Au: goto L_2B01C24A; 18159 case 0x2B01C250u: goto L_2B01C250; 18160 case 0x2B01C252u: goto L_2B01C252; 18161 case 0x2B01C254u: goto L_2B01C254; 18162 case 0x2B01C257u: goto L_2B01C257; 18163 case 0x2B01C259u: goto L_2B01C259; 18164 case 0x2B01C25Bu: goto L_2B01C25B; 18165 case 0x2B01C25Eu: goto L_2B01C25E; 18166 case 0x2B01C263u: goto L_2B01C263; 18167 case 0x2B01C265u: goto L_2B01C265; 18168 case 0x2B01C267u: goto L_2B01C267; 18169 case 0x2B01C26Au: goto L_2B01C26A; 18170 case 0x2B01C26Cu: goto L_2B01C26C; 18171 case 0x2B01C26Du: goto L_2B01C26D; 18172 case 0x2B01C270u: goto L_2B01C270; 18173 case 0x2B01C276u: goto L_2B01C276; 18174 case 0x2B01C279u: goto L_2B01C279; 18175 case 0x2B01C27Bu: goto L_2B01C27B; 18176 case 0x2B01C280u: goto L_2B01C280; 18177 case 0x2B01C282u: goto L_2B01C282; 18178 case 0x2B01C284u: goto L_2B01C284; 18179 case 0x2B01C285u: goto L_2B01C285; 18180 case 0x2B01C287u: goto L_2B01C287; 18181 case 0x2B01C289u: goto L_2B01C289; 18182 case 0x2B01C28Au: goto L_2B01C28A; 18183 case 0x2B01C28Du: goto L_2B01C28D; 18184 case 0x2B01C293u: goto L_2B01C293; 18185 case 0x2B01C295u: goto L_2B01C295; 18186 case 0x2B01C29Bu: goto L_2B01C29B; 18187 case 0x2B01C29Du: goto L_2B01C29D; 18188 case 0x2B01C2A2u: goto L_2B01C2A2; 18189 case 0x2B01C2A4u: goto L_2B01C2A4; 18190 case 0x2B01C2A7u: goto L_2B01C2A7; 18191 case 0x2B01C2A9u: goto L_2B01C2A9; 18192 case 0x2B01C2AEu: goto L_2B01C2AE; 18193 case 0x2B01C2B0u: goto L_2B01C2B0; 18194 case 0x2B01C2B2u: goto L_2B01C2B2; 18195 case 0x2B01C2B3u: goto L_2B01C2B3; 18196 case 0x2B01C2B5u: goto L_2B01C2B5; 18197 case 0x2B01C2B7u: goto L_2B01C2B7; 18198 case 0x2B01C2B8u: goto L_2B01C2B8; 18199 case 0x2B01C2BBu: goto L_2B01C2BB; 18200 case 0x2B01C2C1u: goto L_2B01C2C1; 18201 case 0x2B01C2C3u: goto L_2B01C2C3; 18202 case 0x2B01C2C5u: goto L_2B01C2C5; 18203 case 0x2B01C2C8u: goto L_2B01C2C8; 18204 case 0x2B01C2CAu: goto L_2B01C2CA; 18205 case 0x2B01C2CCu: goto L_2B01C2CC; 18206 case 0x2B01C2CFu: goto L_2B01C2CF; 18207 case 0x2B01C2D4u: goto L_2B01C2D4; 18208 case 0x2B01C2D6u: goto L_2B01C2D6; 18209 case 0x2B01C2D8u: goto L_2B01C2D8; 18210 case 0x2B01C2DBu: goto L_2B01C2DB; 18211 case 0x2B01C2DDu: goto L_2B01C2DD; 18212 case 0x2B01C2DEu: goto L_2B01C2DE; 18213 case 0x2B01C2E1u: goto L_2B01C2E1; 18214 case 0x2B01C2E7u: goto L_2B01C2E7; 18215 case 0x2B01C2EAu: goto L_2B01C2EA; 18216 case 0x2B01C2ECu: goto L_2B01C2EC; 18217 case 0x2B01C2F1u: goto L_2B01C2F1; 18218 case 0x2B01C2F3u: goto L_2B01C2F3; 18219 case 0x2B01C2F5u: goto L_2B01C2F5; 18220 case 0x2B01C2F6u: goto L_2B01C2F6; 18221 case 0x2B01C2F8u: goto L_2B01C2F8; 18222 case 0x2B01C2FAu: goto L_2B01C2FA; 18223 case 0x2B01C2FBu: goto L_2B01C2FB; 18224 case 0x2B01C2FEu: goto L_2B01C2FE; 18225 case 0x2B01C304u: goto L_2B01C304; 18226 case 0x2B01C306u: goto L_2B01C306; 18227 case 0x2B01C30Cu: goto L_2B01C30C; 18228 case 0x2B01C30Eu: goto L_2B01C30E; 18229 case 0x2B01C313u: goto L_2B01C313; 18230 case 0x2B01C316u: goto L_2B01C316; 18231 case 0x2B01C318u: goto L_2B01C318; 18232 case 0x2B01C31Bu: goto L_2B01C31B; 18233 case 0x2B01C31Du: goto L_2B01C31D; 18234 case 0x2B01C31Fu: goto L_2B01C31F; 18235 case 0x2B01C322u: goto L_2B01C322; 18236 case 0x2B01C324u: goto L_2B01C324; 18237 case 0x2B01C325u: goto L_2B01C325; 18238 case 0x2B01C328u: goto L_2B01C328; 18239 case 0x2B01C32Eu: goto L_2B01C32E; 18240 case 0x2B01C333u: goto L_2B01C333; 18241 case 0x2B01C336u: goto L_2B01C336; 18242 case 0x2B01C338u: goto L_2B01C338; 18243 case 0x2B01C33Du: goto L_2B01C33D; 18244 case 0x2B01C33Fu: goto L_2B01C33F; 18245 case 0x2B01C341u: goto L_2B01C341; 18246 case 0x2B01C342u: goto L_2B01C342; 18247 case 0x2B01C344u: goto L_2B01C344; 18248 case 0x2B01C346u: goto L_2B01C346; 18249 case 0x2B01C347u: goto L_2B01C347; 18250 case 0x2B01C34Au: goto L_2B01C34A; 18251 case 0x2B01C350u: goto L_2B01C350; 18252 case 0x2B01C352u: goto L_2B01C352; 18253 case 0x2B01C354u: goto L_2B01C354; 18254 case 0x2B01C357u: goto L_2B01C357; 18255 case 0x2B01C359u: goto L_2B01C359; 18256 case 0x2B01C35Bu: goto L_2B01C35B; 18257 case 0x2B01C35Eu: goto L_2B01C35E; 18258 case 0x2B01C363u: goto L_2B01C363; 18259 case 0x2B01C365u: goto L_2B01C365; 18260 case 0x2B01C367u: goto L_2B01C367; 18261 case 0x2B01C36Au: goto L_2B01C36A; 18262 case 0x2B01C36Cu: goto L_2B01C36C; 18263 case 0x2B01C36Du: goto L_2B01C36D; 18264 case 0x2B01C370u: goto L_2B01C370; 18265 case 0x2B01C376u: goto L_2B01C376; 18266 case 0x2B01C379u: goto L_2B01C379; 18267 case 0x2B01C37Bu: goto L_2B01C37B; 18268 case 0x2B01C380u: goto L_2B01C380; 18269 case 0x2B01C382u: goto L_2B01C382; 18270 case 0x2B01C384u: goto L_2B01C384; 18271 case 0x2B01C385u: goto L_2B01C385; 18272 case 0x2B01C387u: goto L_2B01C387; 18273 case 0x2B01C389u: goto L_2B01C389; 18274 case 0x2B01C38Au: goto L_2B01C38A; 18275 case 0x2B01C38Du: goto L_2B01C38D; 18276 case 0x2B01C393u: goto L_2B01C393; 18277 case 0x2B01C395u: goto L_2B01C395; 18278 case 0x2B01C397u: goto L_2B01C397; 18279 case 0x2B01C39Au: goto L_2B01C39A; 18280 case 0x2B01C39Cu: goto L_2B01C39C; 18281 case 0x2B01C39Eu: goto L_2B01C39E; 18282 case 0x2B01C3A1u: goto L_2B01C3A1; 18283 case 0x2B01C3A6u: goto L_2B01C3A6; 18284 case 0x2B01C3A8u: goto L_2B01C3A8; 18285 case 0x2B01C3AAu: goto L_2B01C3AA; 18286 case 0x2B01C3ADu: goto L_2B01C3AD; 18287 case 0x2B01C3AFu: goto L_2B01C3AF; 18288 case 0x2B01C3B0u: goto L_2B01C3B0; 18289 case 0x2B01C3B3u: goto L_2B01C3B3; 18290 case 0x2B01C3B9u: goto L_2B01C3B9; 18291 case 0x2B01C3BCu: goto L_2B01C3BC; 18292 case 0x2B01C3C1u: goto L_2B01C3C1; 18293 case 0x2B01C3C6u: goto L_2B01C3C6; 18294 case 0x2B01C3C9u: goto L_2B01C3C9; 18295 case 0x2B01C3CBu: goto L_2B01C3CB; 18296 case 0x2B01C3D0u: goto L_2B01C3D0; 18297 case 0x2B01C3D2u: goto L_2B01C3D2; 18298 case 0x2B01C3D4u: goto L_2B01C3D4; 18299 case 0x2B01C3D5u: goto L_2B01C3D5; 18300 case 0x2B01C3D7u: goto L_2B01C3D7; 18301 case 0x2B01C3D9u: goto L_2B01C3D9; 18302 case 0x2B01C3DAu: goto L_2B01C3DA; 18303 case 0x2B01C3DDu: goto L_2B01C3DD; 18304 case 0x2B01C3E3u: goto L_2B01C3E3; 18305 case 0x2B01C3E5u: goto L_2B01C3E5; 18306 case 0x2B01C3E7u: goto L_2B01C3E7; 18307 case 0x2B01C3EAu: goto L_2B01C3EA; 18308 case 0x2B01C3ECu: goto L_2B01C3EC; 18309 case 0x2B01C3EEu: goto L_2B01C3EE; 18310 case 0x2B01C3F1u: goto L_2B01C3F1; 18311 case 0x2B01C3F6u: goto L_2B01C3F6; 18312 case 0x2B01C3F8u: goto L_2B01C3F8; 18313 case 0x2B01C3FAu: goto L_2B01C3FA; 18314 case 0x2B01C3FDu: goto L_2B01C3FD; 18315 case 0x2B01C3FFu: goto L_2B01C3FF; 18316 case 0x2B01C400u: goto L_2B01C400; 18317 case 0x2B01C403u: goto L_2B01C403; 18318 case 0x2B01C409u: goto L_2B01C409; 18319 case 0x2B01C40Cu: goto L_2B01C40C; 18320 case 0x2B01C40Eu: goto L_2B01C40E; 18321 case 0x2B01C413u: goto L_2B01C413; 18322 case 0x2B01C415u: goto L_2B01C415; 18323 case 0x2B01C417u: goto L_2B01C417; 18324 case 0x2B01C418u: goto L_2B01C418; 18325 case 0x2B01C41Au: goto L_2B01C41A; 18326 case 0x2B01C41Cu: goto L_2B01C41C; 18327 case 0x2B01C41Du: goto L_2B01C41D; 18328 case 0x2B01C420u: goto L_2B01C420; 18329 case 0x2B01C426u: goto L_2B01C426; 18330 case 0x2B01C428u: goto L_2B01C428; 18331 case 0x2B01C42Au: goto L_2B01C42A; 18332 case 0x2B01C42Du: goto L_2B01C42D; 18333 case 0x2B01C42Fu: goto L_2B01C42F; 18334 case 0x2B01C431u: goto L_2B01C431; 18335 case 0x2B01C434u: goto L_2B01C434; 18336 case 0x2B01C439u: goto L_2B01C439; 18337 case 0x2B01C43Bu: goto L_2B01C43B; 18338 case 0x2B01C43Du: goto L_2B01C43D; 18339 case 0x2B01C440u: goto L_2B01C440; 18340 case 0x2B01C442u: goto L_2B01C442; 18341 case 0x2B01C443u: goto L_2B01C443; 18342 case 0x2B01C446u: goto L_2B01C446; 18343 case 0x2B01C44Cu: goto L_2B01C44C; 18344 case 0x2B01C44Fu: goto L_2B01C44F; 18345 case 0x2B01C454u: goto L_2B01C454; 18346 case 0x2B01C457u: goto L_2B01C457; 18347 case 0x2B01C45Au: goto L_2B01C45A; 18348 case 0x2B01C45Cu: goto L_2B01C45C; 18349 case 0x2B01C45Du: goto L_2B01C45D; 18350 case 0x2B01C460u: goto L_2B01C460; 18351 case 0x2B01C461u: goto L_2B01C461; 18352 case 0x2B01C464u: goto L_2B01C464; 18353 case 0x2B01C465u: goto L_2B01C465; 18354 case 0x2B01C467u: goto L_2B01C467; 18355 case 0x2B01C46Cu: goto L_2B01C46C; 18356 case 0x2B01C46Fu: goto L_2B01C46F; 18357 case 0x2B01C472u: goto L_2B01C472; 18358 case 0x2B01C479u: goto L_2B01C479; 18359 case 0x2B01C47Cu: goto L_2B01C47C; 18360 case 0x2B01C47Eu: goto L_2B01C47E; 18361 case 0x2B01C47Fu: goto L_2B01C47F; 18362 case 0x2B01C480u: goto L_2B01C480; 18363 case 0x2B01C484u: goto L_2B01C484; 18364 case 0x2B01C485u: goto L_2B01C485; 18365 case 0x2B01C487u: goto L_2B01C487; 18366 case 0x2B01C48Cu: goto L_2B01C48C; 18367 case 0x2B01C48Eu: goto L_2B01C48E; 18368 case 0x2B01C491u: goto L_2B01C491; 18369 case 0x2B01C495u: goto L_2B01C495; 18370 case 0x2B01C49Bu: goto L_2B01C49B; 18371 case 0x2B01C49Eu: goto L_2B01C49E; 18372 case 0x2B01C4A0u: goto L_2B01C4A0; 18373 case 0x2B01C4A7u: goto L_2B01C4A7; 18374 case 0x2B01C4A9u: goto L_2B01C4A9; 18375 case 0x2B01C4AEu: goto L_2B01C4AE; 18376 case 0x2B01C4B0u: goto L_2B01C4B0; 18377 case 0x2B01C4B3u: goto L_2B01C4B3; 18378 case 0x2B01C4BAu: goto L_2B01C4BA; 18379 case 0x2B01C4C0u: goto L_2B01C4C0; 18380 case 0x2B01C4C3u: goto L_2B01C4C3; 18381 case 0x2B01C4CAu: goto L_2B01C4CA; 18382 case 0x2B01C4CCu: goto L_2B01C4CC; 18383 case 0x2B01C4CDu: goto L_2B01C4CD; 18384 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 18385 } 18386 RECOMP_REGS_OUT(); 18387 } 18388 18389 void sub_2B01C313(void) { 18390 int _fpu_cmp = 0; 18391 uint32_t _cf = 0; 18392 int _df = 1; 18393 uint32_t _flag_k = FK_NONE; 18394 uint32_t _flag_a = 0, _flag_b = 0; 18395 uint32_t _itail_tgt = 0; 18396 RECOMP_REGS_LOCALS 18397 RECOMP_ENTER(0x2B01C313u); 18398 18399 L_2B01C313: 18400 edi = MEM32(ebp + (-0x24)); /* 0x2B01C313: mov edi, dword ptr [ebp - 0x24] */ 18401 eax = ecx; /* 0x2B01C316: mov eax, ecx */ 18402 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B01C318: shr ecx, 2 */ 18403 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18404 ecx = ecx >> 2u; /* 0x2B01C318: shr ecx, 2 */ 18405 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B01C31B: 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; } 18406 ecx = eax; /* 0x2B01C31D: mov ecx, eax */ 18407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18408 ecx = ecx & 3; /* 0x2B01C31F: and ecx, 3 */ 18409 _cf = 0; 18410 _flag_k = FK_TEST; 18411 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B01C322: 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; } 18412 PUSH32(esp, ebx); /* 0x2B01C324: push ebx */ 18413 ecx = ebp + (-0x28); /* 0x2B01C325: lea ecx, [ebp - 0x28] */ 18414 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B01C328: call dword ptr [0x2b0b5150] */ 18415 RECOMP_FLAGS_IN(); 18416 goto L_2B01C454; /* 0x2B01C32E: jmp 0x2b01c454 */ 18417 L_2B01C454: 18418 esi = MEM32(ebp + (-0x14)); /* 0x2B01C454: mov esi, dword ptr [ebp - 0x14] */ 18419 ecx = MEM32(esi + 0x5C); /* 0x2B01C457: mov ecx, dword ptr [esi + 0x5c] */ 18420 PUSH32(esp, 0); /* 0x2B01C45A: push 0 */ 18421 PUSH32(esp, ecx); /* 0x2B01C45C: push ecx */ 18422 edx = ebp + (-0x28); /* 0x2B01C45D: lea edx, [ebp - 0x28] */ 18423 PUSH32(esp, edx); /* 0x2B01C460: push edx */ 18424 eax = ebp + (-0x3C); /* 0x2B01C461: lea eax, [ebp - 0x3c] */ 18425 PUSH32(esp, eax); /* 0x2B01C464: push eax */ 18426 ecx = esi; /* 0x2B01C465: mov ecx, esi */ 18427 RECOMP_ICALL(0x2B0387C0u); /* 0x2B01C467: call 0x2b0387c0 */ /* not lifted */ 18428 RECOMP_FLAGS_IN(); 18429 ecx = MEM32(esi + 0x5C); /* 0x2B01C46C: mov ecx, dword ptr [esi + 0x5c] */ 18430 MEM32(esi + 0x60) = ecx; /* 0x2B01C46F: mov dword ptr [esi + 0x60], ecx */ 18431 MEM32(esi + 0x5C) = 0; /* 0x2B01C472: mov dword ptr [esi + 0x5c], 0 */ 18432 ecx = MEM32(ebp + (-0x18)); /* 0x2B01C479: mov ecx, dword ptr [ebp - 0x18] */ 18433 /* test ecx, ecx */ /* 0x2B01C47C: test ecx, ecx */ 18434 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18435 _cf = 0; 18436 _flag_k = FK_TEST; 18437 edi = POP32_VAL(esp); /* 0x2B01C47E: pop edi */ 18438 esi = POP32_VAL(esp); /* 0x2B01C47F: pop esi */ 18439 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01C480: mov byte ptr [ebp - 4], 2 */ 18440 ebx = POP32_VAL(esp); /* 0x2B01C484: pop ebx */ 18441 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01C48C; /* 0x2B01C485: je 0x2b01c48c */ 18442 L_2B01C487: 18443 RECOMP_ICALL(0x2B005B20u); /* 0x2B01C487: call 0x2b005b20 */ /* not lifted */ 18444 RECOMP_FLAGS_IN(); 18445 L_2B01C48C: 18446 PUSH32(esp, 1); /* 0x2B01C48C: push 1 */ 18447 ecx = ebp + (-0x28); /* 0x2B01C48E: lea ecx, [ebp - 0x28] */ 18448 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01C491: mov byte ptr [ebp - 4], 0 */ 18449 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01C495: call dword ptr [0x2b0b514c] */ 18450 RECOMP_FLAGS_IN(); 18451 ecx = MEM32(ebp + (-0x2C)); /* 0x2B01C49B: mov ecx, dword ptr [ebp - 0x2c] */ 18452 /* test ecx, ecx */ /* 0x2B01C49E: test ecx, ecx */ 18453 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18454 _cf = 0; 18455 _flag_k = FK_TEST; 18456 MEM32(ebp + (-0x4)) = 3; /* 0x2B01C4A0: mov dword ptr [ebp - 4], 3 */ 18457 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01C4AE; /* 0x2B01C4A7: je 0x2b01c4ae */ 18458 L_2B01C4A9: 18459 RECOMP_ICALL(0x2B005B20u); /* 0x2B01C4A9: call 0x2b005b20 */ /* not lifted */ 18460 RECOMP_FLAGS_IN(); 18461 L_2B01C4AE: 18462 PUSH32(esp, 1); /* 0x2B01C4AE: push 1 */ 18463 ecx = ebp + (-0x3C); /* 0x2B01C4B0: lea ecx, [ebp - 0x3c] */ 18464 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01C4B3: mov dword ptr [ebp - 4], 0xffffffff */ 18465 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01C4BA: call dword ptr [0x2b0b514c] */ 18466 RECOMP_FLAGS_IN(); 18467 ecx = MEM32(ebp + (-0xC)); /* 0x2B01C4C0: mov ecx, dword ptr [ebp - 0xc] */ 18468 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01C4C3: mov dword ptr fs:[0], ecx */ 18469 esp = ebp; /* 0x2B01C4CA: mov esp, ebp */ 18470 ebp = POP32_VAL(esp); /* 0x2B01C4CC: pop ebp */ 18471 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01C4CD: ret */ 18472 RECOMP_REGS_OUT(); 18473 } 18474 18475 void sub_2B01C454(void) { 18476 int _fpu_cmp = 0; 18477 uint32_t _cf = 0; 18478 int _df = 1; 18479 uint32_t _flag_k = FK_NONE; 18480 uint32_t _flag_a = 0, _flag_b = 0; 18481 uint32_t _itail_tgt = 0; 18482 RECOMP_REGS_LOCALS 18483 RECOMP_ENTER(0x2B01C454u); 18484 18485 L_2B01C454: 18486 esi = MEM32(ebp + (-0x14)); /* 0x2B01C454: mov esi, dword ptr [ebp - 0x14] */ 18487 ecx = MEM32(esi + 0x5C); /* 0x2B01C457: mov ecx, dword ptr [esi + 0x5c] */ 18488 PUSH32(esp, 0); /* 0x2B01C45A: push 0 */ 18489 PUSH32(esp, ecx); /* 0x2B01C45C: push ecx */ 18490 edx = ebp + (-0x28); /* 0x2B01C45D: lea edx, [ebp - 0x28] */ 18491 PUSH32(esp, edx); /* 0x2B01C460: push edx */ 18492 eax = ebp + (-0x3C); /* 0x2B01C461: lea eax, [ebp - 0x3c] */ 18493 PUSH32(esp, eax); /* 0x2B01C464: push eax */ 18494 ecx = esi; /* 0x2B01C465: mov ecx, esi */ 18495 RECOMP_ICALL(0x2B0387C0u); /* 0x2B01C467: call 0x2b0387c0 */ /* not lifted */ 18496 RECOMP_FLAGS_IN(); 18497 ecx = MEM32(esi + 0x5C); /* 0x2B01C46C: mov ecx, dword ptr [esi + 0x5c] */ 18498 MEM32(esi + 0x60) = ecx; /* 0x2B01C46F: mov dword ptr [esi + 0x60], ecx */ 18499 MEM32(esi + 0x5C) = 0; /* 0x2B01C472: mov dword ptr [esi + 0x5c], 0 */ 18500 ecx = MEM32(ebp + (-0x18)); /* 0x2B01C479: mov ecx, dword ptr [ebp - 0x18] */ 18501 /* test ecx, ecx */ /* 0x2B01C47C: test ecx, ecx */ 18502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18503 _cf = 0; 18504 _flag_k = FK_TEST; 18505 edi = POP32_VAL(esp); /* 0x2B01C47E: pop edi */ 18506 esi = POP32_VAL(esp); /* 0x2B01C47F: pop esi */ 18507 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01C480: mov byte ptr [ebp - 4], 2 */ 18508 ebx = POP32_VAL(esp); /* 0x2B01C484: pop ebx */ 18509 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01C48C; /* 0x2B01C485: je 0x2b01c48c */ 18510 L_2B01C487: 18511 RECOMP_ICALL(0x2B005B20u); /* 0x2B01C487: call 0x2b005b20 */ /* not lifted */ 18512 RECOMP_FLAGS_IN(); 18513 L_2B01C48C: 18514 PUSH32(esp, 1); /* 0x2B01C48C: push 1 */ 18515 ecx = ebp + (-0x28); /* 0x2B01C48E: lea ecx, [ebp - 0x28] */ 18516 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B01C491: mov byte ptr [ebp - 4], 0 */ 18517 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01C495: call dword ptr [0x2b0b514c] */ 18518 RECOMP_FLAGS_IN(); 18519 ecx = MEM32(ebp + (-0x2C)); /* 0x2B01C49B: mov ecx, dword ptr [ebp - 0x2c] */ 18520 /* test ecx, ecx */ /* 0x2B01C49E: test ecx, ecx */ 18521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18522 _cf = 0; 18523 _flag_k = FK_TEST; 18524 MEM32(ebp + (-0x4)) = 3; /* 0x2B01C4A0: mov dword ptr [ebp - 4], 3 */ 18525 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01C4AE; /* 0x2B01C4A7: je 0x2b01c4ae */ 18526 L_2B01C4A9: 18527 RECOMP_ICALL(0x2B005B20u); /* 0x2B01C4A9: call 0x2b005b20 */ /* not lifted */ 18528 RECOMP_FLAGS_IN(); 18529 L_2B01C4AE: 18530 PUSH32(esp, 1); /* 0x2B01C4AE: push 1 */ 18531 ecx = ebp + (-0x3C); /* 0x2B01C4B0: lea ecx, [ebp - 0x3c] */ 18532 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01C4B3: mov dword ptr [ebp - 4], 0xffffffff */ 18533 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B01C4BA: call dword ptr [0x2b0b514c] */ 18534 RECOMP_FLAGS_IN(); 18535 ecx = MEM32(ebp + (-0xC)); /* 0x2B01C4C0: mov ecx, dword ptr [ebp - 0xc] */ 18536 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01C4C3: mov dword ptr fs:[0], ecx */ 18537 esp = ebp; /* 0x2B01C4CA: mov esp, ebp */ 18538 ebp = POP32_VAL(esp); /* 0x2B01C4CC: pop ebp */ 18539 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01C4CD: ret */ 18540 RECOMP_REGS_OUT(); 18541 } 18542 18543 void sub_2B01C500(void) { 18544 int _fpu_cmp = 0; 18545 uint32_t _cf = 0; 18546 int _df = 1; 18547 uint32_t _flag_k = FK_NONE; 18548 uint32_t _flag_a = 0, _flag_b = 0; 18549 uint32_t _itail_tgt = 0; 18550 RECOMP_REGS_LOCALS 18551 RECOMP_ENTER(0x2B01C500u); 18552 18553 L_2B01C500: 18554 PUSH32(esp, ebp); /* 0x2B01C500: push ebp */ 18555 L_2B01C501: 18556 ebp = esp; /* 0x2B01C501: mov ebp, esp */ 18557 L_2B01C503: 18558 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01C503: push -1 */ 18559 L_2B01C505: 18560 PUSH32(esp, 0x2B0AD1ABu); /* 0x2B01C505: push 0x2b0ad1ab */ 18561 L_2B01C50A: 18562 eax = MEM32(FS_BASE + (0)); /* 0x2B01C50A: mov eax, dword ptr fs:[0] */ 18563 L_2B01C510: 18564 PUSH32(esp, eax); /* 0x2B01C510: push eax */ 18565 L_2B01C511: 18566 MEM32(FS_BASE + (0)) = esp; /* 0x2B01C511: mov dword ptr fs:[0], esp */ 18567 L_2B01C518: 18568 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xC8u); 18569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18570 esp = esp - 0xC8u; /* 0x2B01C518: sub esp, 0xc8 */ 18571 _flag_k = FK_CMP; 18572 L_2B01C51E: 18573 eax = MEM32(ebp + 0x8); /* 0x2B01C51E: mov eax, dword ptr [ebp + 8] */ 18574 L_2B01C521: 18575 PUSH32(esp, ebx); /* 0x2B01C521: push ebx */ 18576 L_2B01C522: 18577 PUSH32(esp, esi); /* 0x2B01C522: push esi */ 18578 L_2B01C523: 18579 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18580 ebx = 0; /* 0x2B01C523: xor ebx, ebx */ 18581 _cf = 0; 18582 _flag_k = FK_TEST; 18583 L_2B01C525: 18584 /* cmp eax, 0x7DBu */ /* 0x2B01C525: cmp eax, 0x7db */ 18585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x7DBu); 18586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18587 _flag_k = FK_CMP; 18588 L_2B01C52A: 18589 PUSH32(esp, edi); /* 0x2B01C52A: push edi */ 18590 L_2B01C52B: 18591 esi = ecx; /* 0x2B01C52B: mov esi, ecx */ 18592 L_2B01C52D: 18593 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B01CB40; /* 0x2B01C52D: jg 0x2b01cb40 */ 18594 L_2B01C533: 18595 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01CB2F; /* 0x2B01C533: je 0x2b01cb2f */ 18596 L_2B01C539: 18597 /* cmp eax, 0x7D1u */ /* 0x2B01C539: cmp eax, 0x7d1 */ 18598 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x7D1u); 18599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18600 _flag_k = FK_CMP; 18601 L_2B01C53E: 18602 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_G, _cf)) goto L_2B01CAF7; /* 0x2B01C53E: jg 0x2b01caf7 */ 18603 L_2B01C544: 18604 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01CAE3; /* 0x2B01C544: je 0x2b01cae3 */ 18605 L_2B01C54A: 18606 ecx = eax; /* 0x2B01C54A: mov ecx, eax */ 18607 L_2B01C54C: 18608 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x65u); 18609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18610 ecx = ecx - 0x65u; /* 0x2B01C54C: sub ecx, 0x65 */ 18611 _flag_k = FK_CMP; 18612 L_2B01C54F: 18613 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01C79E; /* 0x2B01C54F: je 0x2b01c79e */ 18614 L_2B01C555: 18615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18616 ecx = ecx - 1; /* 0x2B01C555: dec ecx */ 18617 _flag_k = FK_DEC; 18618 L_2B01C556: 18619 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01CB9E; /* 0x2B01C556: jne 0x2b01cb9e */ 18620 L_2B01C55C: 18621 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B01C55C: mov al, byte ptr [ebp + 0xb] */ 18622 L_2B01C55F: 18623 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(eax)); /* 0x2B01C55F: mov byte ptr [ebp - 0x50], al */ 18624 L_2B01C562: 18625 MEM32(ebp + (-0x4C)) = ebx; /* 0x2B01C562: mov dword ptr [ebp - 0x4c], ebx */ 18626 L_2B01C565: 18627 MEM32(ebp + (-0x48)) = ebx; /* 0x2B01C565: mov dword ptr [ebp - 0x48], ebx */ 18628 L_2B01C568: 18629 MEM32(ebp + (-0x44)) = ebx; /* 0x2B01C568: mov dword ptr [ebp - 0x44], ebx */ 18630 L_2B01C56B: 18631 ecx = ebp + (-0xC8); /* 0x2B01C56B: lea ecx, [ebp - 0xc8] */ 18632 L_2B01C571: 18633 PUSH32(esp, ecx); /* 0x2B01C571: push ecx */ 18634 L_2B01C572: 18635 PUSH32(esp, ebx); /* 0x2B01C572: push ebx */ 18636 L_2B01C573: 18637 ecx = ebp + (-0x50); /* 0x2B01C573: lea ecx, [ebp - 0x50] */ 18638 L_2B01C576: 18639 MEM32(ebp + (-0x4)) = 5; /* 0x2B01C576: mov dword ptr [ebp - 4], 5 */ 18640 L_2B01C57D: 18641 MEM32(ebp + (-0xC8)) = 2; /* 0x2B01C57D: mov dword ptr [ebp - 0xc8], 2 */ 18642 L_2B01C587: 18643 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C587: call 0x2b01d840 */ /* not lifted */ 18644 RECOMP_FLAGS_IN(); 18645 L_2B01C58C: 18646 eax = MEM32(ebp + (-0x48)); /* 0x2B01C58C: mov eax, dword ptr [ebp - 0x48] */ 18647 L_2B01C58F: 18648 edx = ebp + (-0xA0); /* 0x2B01C58F: lea edx, [ebp - 0xa0] */ 18649 L_2B01C595: 18650 PUSH32(esp, edx); /* 0x2B01C595: push edx */ 18651 L_2B01C596: 18652 edi = 1; /* 0x2B01C596: mov edi, 1 */ 18653 L_2B01C59B: 18654 PUSH32(esp, eax); /* 0x2B01C59B: push eax */ 18655 L_2B01C59C: 18656 ecx = ebp + (-0x50); /* 0x2B01C59C: lea ecx, [ebp - 0x50] */ 18657 L_2B01C59F: 18658 MEM32(ebp + (-0xA0)) = edi; /* 0x2B01C59F: mov dword ptr [ebp - 0xa0], edi */ 18659 L_2B01C5A5: 18660 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C5A5: call 0x2b01d840 */ /* not lifted */ 18661 RECOMP_FLAGS_IN(); 18662 L_2B01C5AA: 18663 edx = MEM32(ebp + (-0x48)); /* 0x2B01C5AA: mov edx, dword ptr [ebp - 0x48] */ 18664 L_2B01C5AD: 18665 ecx = ebp + (-0x9C); /* 0x2B01C5AD: lea ecx, [ebp - 0x9c] */ 18666 L_2B01C5B3: 18667 PUSH32(esp, ecx); /* 0x2B01C5B3: push ecx */ 18668 L_2B01C5B4: 18669 PUSH32(esp, edx); /* 0x2B01C5B4: push edx */ 18670 L_2B01C5B5: 18671 ecx = ebp + (-0x50); /* 0x2B01C5B5: lea ecx, [ebp - 0x50] */ 18672 L_2B01C5B8: 18673 MEM32(ebp + (-0x9C)) = 3; /* 0x2B01C5B8: mov dword ptr [ebp - 0x9c], 3 */ 18674 L_2B01C5C2: 18675 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C5C2: call 0x2b01d840 */ /* not lifted */ 18676 RECOMP_FLAGS_IN(); 18677 L_2B01C5C7: 18678 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B01C5C7: mov al, byte ptr [ebp + 0xb] */ 18679 L_2B01C5CA: 18680 MEM8(ebp + (-0x70)) = (uint8_t)(LO8(eax)); /* 0x2B01C5CA: mov byte ptr [ebp - 0x70], al */ 18681 L_2B01C5CD: 18682 MEM32(ebp + (-0x6C)) = ebx; /* 0x2B01C5CD: mov dword ptr [ebp - 0x6c], ebx */ 18683 L_2B01C5D0: 18684 MEM32(ebp + (-0x68)) = ebx; /* 0x2B01C5D0: mov dword ptr [ebp - 0x68], ebx */ 18685 L_2B01C5D3: 18686 MEM32(ebp + (-0x64)) = ebx; /* 0x2B01C5D3: mov dword ptr [ebp - 0x64], ebx */ 18687 L_2B01C5D6: 18688 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B01C5D6: mov cl, byte ptr [ebp + 0xb] */ 18689 L_2B01C5D9: 18690 MEM8(ebp + (-0x80)) = (uint8_t)(LO8(ecx)); /* 0x2B01C5D9: mov byte ptr [ebp - 0x80], cl */ 18691 L_2B01C5DC: 18692 MEM32(ebp + (-0x7C)) = ebx; /* 0x2B01C5DC: mov dword ptr [ebp - 0x7c], ebx */ 18693 L_2B01C5DF: 18694 MEM32(ebp + (-0x78)) = ebx; /* 0x2B01C5DF: mov dword ptr [ebp - 0x78], ebx */ 18695 L_2B01C5E2: 18696 MEM32(ebp + (-0x74)) = ebx; /* 0x2B01C5E2: mov dword ptr [ebp - 0x74], ebx */ 18697 L_2B01C5E5: 18698 edx = ebp + (-0xA4); /* 0x2B01C5E5: lea edx, [ebp - 0xa4] */ 18699 L_2B01C5EB: 18700 PUSH32(esp, edx); /* 0x2B01C5EB: push edx */ 18701 L_2B01C5EC: 18702 PUSH32(esp, ebx); /* 0x2B01C5EC: push ebx */ 18703 L_2B01C5ED: 18704 ecx = ebp + (-0x80); /* 0x2B01C5ED: lea ecx, [ebp - 0x80] */ 18705 L_2B01C5F0: 18706 MEM8(ebp + (-0x4)) = (uint8_t)(7); /* 0x2B01C5F0: mov byte ptr [ebp - 4], 7 */ 18707 L_2B01C5F4: 18708 MEM32(ebp + (-0xA4)) = 2; /* 0x2B01C5F4: mov dword ptr [ebp - 0xa4], 2 */ 18709 L_2B01C5FE: 18710 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C5FE: call 0x2b01d840 */ /* not lifted */ 18711 RECOMP_FLAGS_IN(); 18712 L_2B01C603: 18713 ecx = MEM32(ebp + (-0x78)); /* 0x2B01C603: mov ecx, dword ptr [ebp - 0x78] */ 18714 L_2B01C606: 18715 eax = ebp + (-0xAC); /* 0x2B01C606: lea eax, [ebp - 0xac] */ 18716 L_2B01C60C: 18717 PUSH32(esp, eax); /* 0x2B01C60C: push eax */ 18718 L_2B01C60D: 18719 PUSH32(esp, ecx); /* 0x2B01C60D: push ecx */ 18720 L_2B01C60E: 18721 ecx = ebp + (-0x80); /* 0x2B01C60E: lea ecx, [ebp - 0x80] */ 18722 L_2B01C611: 18723 MEM32(ebp + (-0xAC)) = 3; /* 0x2B01C611: mov dword ptr [ebp - 0xac], 3 */ 18724 L_2B01C61B: 18725 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C61B: call 0x2b01d840 */ /* not lifted */ 18726 RECOMP_FLAGS_IN(); 18727 L_2B01C620: 18728 eax = MEM32(ebp + (-0x68)); /* 0x2B01C620: mov eax, dword ptr [ebp - 0x68] */ 18729 L_2B01C623: 18730 edx = ebp + (-0x80); /* 0x2B01C623: lea edx, [ebp - 0x80] */ 18731 L_2B01C626: 18732 PUSH32(esp, edx); /* 0x2B01C626: push edx */ 18733 L_2B01C627: 18734 PUSH32(esp, edi); /* 0x2B01C627: push edi */ 18735 L_2B01C628: 18736 PUSH32(esp, eax); /* 0x2B01C628: push eax */ 18737 L_2B01C629: 18738 ecx = ebp + (-0x70); /* 0x2B01C629: lea ecx, [ebp - 0x70] */ 18739 L_2B01C62C: 18740 RECOMP_ICALL(0x2B01DEA0u); /* 0x2B01C62C: call 0x2b01dea0 */ /* not lifted */ 18741 RECOMP_FLAGS_IN(); 18742 L_2B01C631: 18743 ecx = ebp + (-0x80); /* 0x2B01C631: lea ecx, [ebp - 0x80] */ 18744 L_2B01C634: 18745 PUSH32(esp, ecx); /* 0x2B01C634: push ecx */ 18746 L_2B01C635: 18747 ecx = MEM32(esi + 0x64); /* 0x2B01C635: mov ecx, dword ptr [esi + 0x64] */ 18748 L_2B01C638: 18749 RECOMP_ICALL(0x2B027DA0u); /* 0x2B01C638: call 0x2b027da0 */ /* not lifted */ 18750 RECOMP_FLAGS_IN(); 18751 L_2B01C63D: 18752 ecx = MEM32(esi + 0x64); /* 0x2B01C63D: mov ecx, dword ptr [esi + 0x64] */ 18753 L_2B01C640: 18754 edx = MEM32(ecx + 0x44); /* 0x2B01C640: mov edx, dword ptr [ecx + 0x44] */ 18755 L_2B01C643: 18756 eax = edx; /* 0x2B01C643: mov eax, edx */ 18757 L_2B01C645: 18758 PUSH32(esp, eax); /* 0x2B01C645: push eax */ 18759 L_2B01C646: 18760 MEM32(ebp + 0x8) = edx; /* 0x2B01C646: mov dword ptr [ebp + 8], edx */ 18761 L_2B01C649: 18762 edx = ecx + 0x34; /* 0x2B01C649: lea edx, [ecx + 0x34] */ 18763 L_2B01C64C: 18764 PUSH32(esp, edx); /* 0x2B01C64C: push edx */ 18765 L_2B01C64D: 18766 eax = ecx + 0x28; /* 0x2B01C64D: lea eax, [ecx + 0x28] */ 18767 L_2B01C650: 18768 PUSH32(esp, eax); /* 0x2B01C650: push eax */ 18769 L_2B01C651: 18770 edx = ebp + (-0x80); /* 0x2B01C651: lea edx, [ebp - 0x80] */ 18771 L_2B01C654: 18772 PUSH32(esp, edx); /* 0x2B01C654: push edx */ 18773 L_2B01C655: 18774 RECOMP_ICALL(0x2B027C80u); /* 0x2B01C655: call 0x2b027c80 */ /* not lifted */ 18775 RECOMP_FLAGS_IN(); 18776 L_2B01C65A: 18777 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B01C65A: mov al, byte ptr [ebp + 0xb] */ 18778 L_2B01C65D: 18779 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(eax)); /* 0x2B01C65D: mov byte ptr [ebp - 0x1c], al */ 18780 L_2B01C660: 18781 MEM32(ebp + (-0x18)) = ebx; /* 0x2B01C660: mov dword ptr [ebp - 0x18], ebx */ 18782 L_2B01C663: 18783 MEM32(ebp + (-0x14)) = ebx; /* 0x2B01C663: mov dword ptr [ebp - 0x14], ebx */ 18784 L_2B01C666: 18785 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01C666: mov dword ptr [ebp - 0x10], ebx */ 18786 L_2B01C669: 18787 ecx = ebp + (-0xB4); /* 0x2B01C669: lea ecx, [ebp - 0xb4] */ 18788 L_2B01C66F: 18789 PUSH32(esp, ecx); /* 0x2B01C66F: push ecx */ 18790 L_2B01C670: 18791 PUSH32(esp, edi); /* 0x2B01C670: push edi */ 18792 L_2B01C671: 18793 PUSH32(esp, ebx); /* 0x2B01C671: push ebx */ 18794 L_2B01C672: 18795 ecx = ebp + (-0x1C); /* 0x2B01C672: lea ecx, [ebp - 0x1c] */ 18796 L_2B01C675: 18797 MEM8(ebp + (-0x4)) = (uint8_t)(8); /* 0x2B01C675: mov byte ptr [ebp - 4], 8 */ 18798 L_2B01C679: 18799 MEM32(ebp + (-0xB4)) = edi; /* 0x2B01C679: mov dword ptr [ebp - 0xb4], edi */ 18800 L_2B01C67F: 18801 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01C67F: call 0x2b01dc90 */ /* not lifted */ 18802 RECOMP_FLAGS_IN(); 18803 L_2B01C684: 18804 eax = MEM32(ebp + (-0x14)); /* 0x2B01C684: mov eax, dword ptr [ebp - 0x14] */ 18805 L_2B01C687: 18806 edx = ebp + (-0xBC); /* 0x2B01C687: lea edx, [ebp - 0xbc] */ 18807 L_2B01C68D: 18808 PUSH32(esp, edx); /* 0x2B01C68D: push edx */ 18809 L_2B01C68E: 18810 PUSH32(esp, edi); /* 0x2B01C68E: push edi */ 18811 L_2B01C68F: 18812 PUSH32(esp, eax); /* 0x2B01C68F: push eax */ 18813 L_2B01C690: 18814 ecx = ebp + (-0x1C); /* 0x2B01C690: lea ecx, [ebp - 0x1c] */ 18815 L_2B01C693: 18816 MEM32(ebp + (-0xBC)) = edi; /* 0x2B01C693: mov dword ptr [ebp - 0xbc], edi */ 18817 L_2B01C699: 18818 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01C699: call 0x2b01dc90 */ /* not lifted */ 18819 RECOMP_FLAGS_IN(); 18820 L_2B01C69E: 18821 edx = MEM32(ebp + (-0x68)); /* 0x2B01C69E: mov edx, dword ptr [ebp - 0x68] */ 18822 L_2B01C6A1: 18823 ecx = ebp + (-0x1C); /* 0x2B01C6A1: lea ecx, [ebp - 0x1c] */ 18824 L_2B01C6A4: 18825 PUSH32(esp, ecx); /* 0x2B01C6A4: push ecx */ 18826 L_2B01C6A5: 18827 PUSH32(esp, edi); /* 0x2B01C6A5: push edi */ 18828 L_2B01C6A6: 18829 PUSH32(esp, edx); /* 0x2B01C6A6: push edx */ 18830 L_2B01C6A7: 18831 ecx = ebp + (-0x70); /* 0x2B01C6A7: lea ecx, [ebp - 0x70] */ 18832 L_2B01C6AA: 18833 RECOMP_ICALL(0x2B01DEA0u); /* 0x2B01C6AA: call 0x2b01dea0 */ /* not lifted */ 18834 RECOMP_FLAGS_IN(); 18835 L_2B01C6AF: 18836 ecx = MEM32(esi + 0x64); /* 0x2B01C6AF: mov ecx, dword ptr [esi + 0x64] */ 18837 L_2B01C6B2: 18838 eax = ebp + (-0x50); /* 0x2B01C6B2: lea eax, [ebp - 0x50] */ 18839 L_2B01C6B5: 18840 PUSH32(esp, eax); /* 0x2B01C6B5: push eax */ 18841 L_2B01C6B6: 18842 RECOMP_ICALL(0x2B027DF0u); /* 0x2B01C6B6: call 0x2b027df0 */ /* not lifted */ 18843 RECOMP_FLAGS_IN(); 18844 L_2B01C6BB: 18845 ecx = ebp + (-0x70); /* 0x2B01C6BB: lea ecx, [ebp - 0x70] */ 18846 L_2B01C6BE: 18847 PUSH32(esp, ecx); /* 0x2B01C6BE: push ecx */ 18848 L_2B01C6BF: 18849 ecx = MEM32(esi + 0x64); /* 0x2B01C6BF: mov ecx, dword ptr [esi + 0x64] */ 18850 L_2B01C6C2: 18851 PUSH32(esp, 0x3FF33333u); /* 0x2B01C6C2: push 0x3ff33333 */ 18852 L_2B01C6C7: 18853 edx = ebp + (-0x50); /* 0x2B01C6C7: lea edx, [ebp - 0x50] */ 18854 L_2B01C6CA: 18855 PUSH32(esp, edx); /* 0x2B01C6CA: push edx */ 18856 L_2B01C6CB: 18857 RECOMP_ICALL(0x2B027EE0u); /* 0x2B01C6CB: call 0x2b027ee0 */ /* not lifted */ 18858 RECOMP_FLAGS_IN(); 18859 L_2B01C6D0: 18860 SET_LO8(eax, MEM8(ebp + (-0x50))); /* 0x2B01C6D0: mov al, byte ptr [ebp - 0x50] */ 18861 L_2B01C6D3: 18862 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 18863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18864 esp = esp - 0x10u; /* 0x2B01C6D3: sub esp, 0x10 */ 18865 _flag_k = FK_CMP; 18866 L_2B01C6D6: 18867 edi = esp; /* 0x2B01C6D6: mov edi, esp */ 18868 L_2B01C6D8: 18869 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B01C6D8: mov byte ptr [edi], al */ 18870 L_2B01C6DA: 18871 ecx = MEM32(ebp + (-0x4C)); /* 0x2B01C6DA: mov ecx, dword ptr [ebp - 0x4c] */ 18872 L_2B01C6DD: 18873 /* cmp ecx, ebx */ /* 0x2B01C6DD: cmp ecx, ebx */ 18874 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 18875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18876 _flag_k = FK_CMP; 18877 L_2B01C6DF: 18878 MEM32(ebp + 0x8) = esp; /* 0x2B01C6DF: mov dword ptr [ebp + 8], esp */ 18879 L_2B01C6E2: 18880 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01C6E8; /* 0x2B01C6E2: jne 0x2b01c6e8 */ 18881 L_2B01C6E4: 18882 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18883 eax = 0; /* 0x2B01C6E4: xor eax, eax */ 18884 _cf = 0; 18885 _flag_k = FK_TEST; 18886 L_2B01C6E6: 18887 goto L_2B01C6F0; /* 0x2B01C6E6: jmp 0x2b01c6f0 */ 18888 L_2B01C6E8: 18889 eax = MEM32(ebp + (-0x48)); /* 0x2B01C6E8: mov eax, dword ptr [ebp - 0x48] */ 18890 L_2B01C6EB: 18891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18893 eax = eax - ecx; /* 0x2B01C6EB: sub eax, ecx */ 18894 _flag_k = FK_CMP; 18895 L_2B01C6ED: 18896 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01C6ED: sar eax, 2 */ 18897 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18898 eax = (uint32_t)((int32_t)eax >> 2u); 18899 L_2B01C6F0: 18900 /* cmp eax, ebx */ /* 0x2B01C6F0: cmp eax, ebx */ 18901 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 18902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18903 _flag_k = FK_CMP; 18904 L_2B01C6F2: 18905 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B01C6F6; /* 0x2B01C6F2: jge 0x2b01c6f6 */ 18906 L_2B01C6F4: 18907 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18908 eax = 0; /* 0x2B01C6F4: xor eax, eax */ 18909 _cf = 0; 18910 _flag_k = FK_TEST; 18911 L_2B01C6F6: 18912 ecx = eax * 4; /* 0x2B01C6F6: lea ecx, [eax*4] */ 18913 L_2B01C6FD: 18914 PUSH32(esp, ecx); /* 0x2B01C6FD: push ecx */ 18915 L_2B01C6FE: 18916 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01C6FE: call 0x2b0ab212 */ /* not lifted */ 18917 RECOMP_FLAGS_IN(); 18918 L_2B01C703: 18919 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18920 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18921 esp = esp + 4; /* 0x2B01C703: add esp, 4 */ 18922 _flag_k = FK_ADD; 18923 L_2B01C706: 18924 MEM32(edi + 0x4) = eax; /* 0x2B01C706: mov dword ptr [edi + 4], eax */ 18925 L_2B01C709: 18926 edx = MEM32(ebp + (-0x48)); /* 0x2B01C709: mov edx, dword ptr [ebp - 0x48] */ 18927 L_2B01C70C: 18928 PUSH32(esp, eax); /* 0x2B01C70C: push eax */ 18929 L_2B01C70D: 18930 eax = MEM32(ebp + (-0x4C)); /* 0x2B01C70D: mov eax, dword ptr [ebp - 0x4c] */ 18931 L_2B01C710: 18932 PUSH32(esp, edx); /* 0x2B01C710: push edx */ 18933 L_2B01C711: 18934 PUSH32(esp, eax); /* 0x2B01C711: push eax */ 18935 L_2B01C712: 18936 ecx = edi; /* 0x2B01C712: mov ecx, edi */ 18937 L_2B01C714: 18938 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01C714: call 0x2b01da20 */ /* not lifted */ 18939 RECOMP_FLAGS_IN(); 18940 L_2B01C719: 18941 MEM32(edi + 0x8) = eax; /* 0x2B01C719: mov dword ptr [edi + 8], eax */ 18942 L_2B01C71C: 18943 MEM32(edi + 0xC) = eax; /* 0x2B01C71C: mov dword ptr [edi + 0xc], eax */ 18944 L_2B01C71F: 18945 ecx = MEM32(esi + 0x64); /* 0x2B01C71F: mov ecx, dword ptr [esi + 0x64] */ 18946 L_2B01C722: 18947 RECOMP_ICALL(0x2B026A10u); /* 0x2B01C722: call 0x2b026a10 */ /* not lifted */ 18948 RECOMP_FLAGS_IN(); 18949 L_2B01C727: 18950 ecx = MEM32(esi + 0x64); /* 0x2B01C727: mov ecx, dword ptr [esi + 0x64] */ 18951 L_2B01C72A: 18952 PUSH32(esp, 0x2Eu); /* 0x2B01C72A: push 0x2e */ 18953 L_2B01C72C: 18954 RECOMP_ICALL(0x2B021E30u); /* 0x2B01C72C: call 0x2b021e30 */ /* not lifted */ 18955 RECOMP_FLAGS_IN(); 18956 L_2B01C731: 18957 edx = MEM32(esi); /* 0x2B01C731: mov edx, dword ptr [esi] */ 18958 L_2B01C733: 18959 PUSH32(esp, 0x66u); /* 0x2B01C733: push 0x66 */ 18960 L_2B01C735: 18961 ecx = esi; /* 0x2B01C735: mov ecx, esi */ 18962 L_2B01C737: 18963 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B01C737: call dword ptr [edx + 8] */ 18964 RECOMP_FLAGS_IN(); 18965 L_2B01C73A: 18966 eax = MEM32(ebp + (-0x18)); /* 0x2B01C73A: mov eax, dword ptr [ebp - 0x18] */ 18967 L_2B01C73D: 18968 PUSH32(esp, eax); /* 0x2B01C73D: push eax */ 18969 L_2B01C73E: 18970 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01C73E: call 0x2b0ab1ba */ /* not lifted */ 18971 RECOMP_FLAGS_IN(); 18972 L_2B01C743: 18973 ecx = MEM32(ebp + (-0x7C)); /* 0x2B01C743: mov ecx, dword ptr [ebp - 0x7c] */ 18974 L_2B01C746: 18975 PUSH32(esp, ecx); /* 0x2B01C746: push ecx */ 18976 L_2B01C747: 18977 MEM32(ebp + (-0x18)) = ebx; /* 0x2B01C747: mov dword ptr [ebp - 0x18], ebx */ 18978 L_2B01C74A: 18979 MEM32(ebp + (-0x14)) = ebx; /* 0x2B01C74A: mov dword ptr [ebp - 0x14], ebx */ 18980 L_2B01C74D: 18981 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01C74D: mov dword ptr [ebp - 0x10], ebx */ 18982 L_2B01C750: 18983 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01C750: call 0x2b0ab1ba */ /* not lifted */ 18984 RECOMP_FLAGS_IN(); 18985 L_2B01C755: 18986 edx = MEM32(ebp + (-0x68)); /* 0x2B01C755: mov edx, dword ptr [ebp - 0x68] */ 18987 L_2B01C758: 18988 eax = MEM32(ebp + (-0x6C)); /* 0x2B01C758: mov eax, dword ptr [ebp - 0x6c] */ 18989 L_2B01C75B: 18990 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18991 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18992 esp = esp + 8; /* 0x2B01C75B: add esp, 8 */ 18993 _flag_k = FK_ADD; 18994 L_2B01C75E: 18995 PUSH32(esp, edx); /* 0x2B01C75E: push edx */ 18996 L_2B01C75F: 18997 PUSH32(esp, eax); /* 0x2B01C75F: push eax */ 18998 L_2B01C760: 18999 ecx = ebp + (-0x70); /* 0x2B01C760: lea ecx, [ebp - 0x70] */ 19000 L_2B01C763: 19001 MEM32(ebp + (-0x7C)) = ebx; /* 0x2B01C763: mov dword ptr [ebp - 0x7c], ebx */ 19002 L_2B01C766: 19003 MEM32(ebp + (-0x78)) = ebx; /* 0x2B01C766: mov dword ptr [ebp - 0x78], ebx */ 19004 L_2B01C769: 19005 MEM32(ebp + (-0x74)) = ebx; /* 0x2B01C769: mov dword ptr [ebp - 0x74], ebx */ 19006 L_2B01C76C: 19007 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B01C76C: mov byte ptr [ebp - 4], 5 */ 19008 L_2B01C770: 19009 RECOMP_ICALL(0x2B01DBF0u); /* 0x2B01C770: call 0x2b01dbf0 */ /* not lifted */ 19010 RECOMP_FLAGS_IN(); 19011 L_2B01C775: 19012 ecx = MEM32(ebp + (-0x6C)); /* 0x2B01C775: mov ecx, dword ptr [ebp - 0x6c] */ 19013 L_2B01C778: 19014 PUSH32(esp, ecx); /* 0x2B01C778: push ecx */ 19015 L_2B01C779: 19016 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01C779: call 0x2b0ab1ba */ /* not lifted */ 19017 RECOMP_FLAGS_IN(); 19018 L_2B01C77E: 19019 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19020 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19021 esp = esp + 4; /* 0x2B01C77E: add esp, 4 */ 19022 _flag_k = FK_ADD; 19023 L_2B01C781: 19024 ecx = ebp + (-0x50); /* 0x2B01C781: lea ecx, [ebp - 0x50] */ 19025 L_2B01C784: 19026 MEM32(ebp + (-0x6C)) = ebx; /* 0x2B01C784: mov dword ptr [ebp - 0x6c], ebx */ 19027 L_2B01C787: 19028 MEM32(ebp + (-0x68)) = ebx; /* 0x2B01C787: mov dword ptr [ebp - 0x68], ebx */ 19029 L_2B01C78A: 19030 MEM32(ebp + (-0x64)) = ebx; /* 0x2B01C78A: mov dword ptr [ebp - 0x64], ebx */ 19031 L_2B01C78D: 19032 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01C78D: mov dword ptr [ebp - 4], 0xffffffff */ 19033 L_2B01C794: 19034 RECOMP_ICALL(0x2B012D80u); /* 0x2B01C794: call 0x2b012d80 */ /* not lifted */ 19035 RECOMP_FLAGS_IN(); 19036 L_2B01C799: 19037 goto L_2B01CBA6; /* 0x2B01C799: jmp 0x2b01cba6 */ 19038 L_2B01C79E: 19039 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2B01C79E: mov dl, byte ptr [ebp + 0xb] */ 19040 L_2B01C7A1: 19041 MEM8(ebp + (-0x40)) = (uint8_t)(LO8(edx)); /* 0x2B01C7A1: mov byte ptr [ebp - 0x40], dl */ 19042 L_2B01C7A4: 19043 MEM32(ebp + (-0x3C)) = ebx; /* 0x2B01C7A4: mov dword ptr [ebp - 0x3c], ebx */ 19044 L_2B01C7A7: 19045 MEM32(ebp + (-0x38)) = ebx; /* 0x2B01C7A7: mov dword ptr [ebp - 0x38], ebx */ 19046 L_2B01C7AA: 19047 MEM32(ebp + (-0x34)) = ebx; /* 0x2B01C7AA: mov dword ptr [ebp - 0x34], ebx */ 19048 L_2B01C7AD: 19049 eax = ebp + (-0xC4); /* 0x2B01C7AD: lea eax, [ebp - 0xc4] */ 19050 L_2B01C7B3: 19051 PUSH32(esp, eax); /* 0x2B01C7B3: push eax */ 19052 L_2B01C7B4: 19053 PUSH32(esp, ebx); /* 0x2B01C7B4: push ebx */ 19054 L_2B01C7B5: 19055 ecx = ebp + (-0x40); /* 0x2B01C7B5: lea ecx, [ebp - 0x40] */ 19056 L_2B01C7B8: 19057 MEM32(ebp + (-0x4)) = ebx; /* 0x2B01C7B8: mov dword ptr [ebp - 4], ebx */ 19058 L_2B01C7BB: 19059 MEM32(ebp + (-0xC4)) = 2; /* 0x2B01C7BB: mov dword ptr [ebp - 0xc4], 2 */ 19060 L_2B01C7C5: 19061 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C7C5: call 0x2b01d840 */ /* not lifted */ 19062 RECOMP_FLAGS_IN(); 19063 L_2B01C7CA: 19064 edx = MEM32(ebp + (-0x38)); /* 0x2B01C7CA: mov edx, dword ptr [ebp - 0x38] */ 19065 L_2B01C7CD: 19066 ecx = ebp + (-0xCC); /* 0x2B01C7CD: lea ecx, [ebp - 0xcc] */ 19067 L_2B01C7D3: 19068 PUSH32(esp, ecx); /* 0x2B01C7D3: push ecx */ 19069 L_2B01C7D4: 19070 edi = 1; /* 0x2B01C7D4: mov edi, 1 */ 19071 L_2B01C7D9: 19072 PUSH32(esp, edx); /* 0x2B01C7D9: push edx */ 19073 L_2B01C7DA: 19074 ecx = ebp + (-0x40); /* 0x2B01C7DA: lea ecx, [ebp - 0x40] */ 19075 L_2B01C7DD: 19076 MEM32(ebp + (-0xCC)) = edi; /* 0x2B01C7DD: mov dword ptr [ebp - 0xcc], edi */ 19077 L_2B01C7E3: 19078 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C7E3: call 0x2b01d840 */ /* not lifted */ 19079 RECOMP_FLAGS_IN(); 19080 L_2B01C7E8: 19081 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B01C7E8: mov al, byte ptr [ebp + 0xb] */ 19082 L_2B01C7EB: 19083 MEM8(ebp + (-0x60)) = (uint8_t)(LO8(eax)); /* 0x2B01C7EB: mov byte ptr [ebp - 0x60], al */ 19084 L_2B01C7EE: 19085 MEM32(ebp + (-0x5C)) = ebx; /* 0x2B01C7EE: mov dword ptr [ebp - 0x5c], ebx */ 19086 L_2B01C7F1: 19087 MEM32(ebp + (-0x58)) = ebx; /* 0x2B01C7F1: mov dword ptr [ebp - 0x58], ebx */ 19088 L_2B01C7F4: 19089 MEM32(ebp + (-0x54)) = ebx; /* 0x2B01C7F4: mov dword ptr [ebp - 0x54], ebx */ 19090 L_2B01C7F7: 19091 SET_LO8(ecx, MEM8(ebp + 0xB)); /* 0x2B01C7F7: mov cl, byte ptr [ebp + 0xb] */ 19092 L_2B01C7FA: 19093 MEM8(ebp + (-0x30)) = (uint8_t)(LO8(ecx)); /* 0x2B01C7FA: mov byte ptr [ebp - 0x30], cl */ 19094 L_2B01C7FD: 19095 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B01C7FD: mov dword ptr [ebp - 0x2c], ebx */ 19096 L_2B01C800: 19097 MEM32(ebp + (-0x28)) = ebx; /* 0x2B01C800: mov dword ptr [ebp - 0x28], ebx */ 19098 L_2B01C803: 19099 MEM32(ebp + (-0x24)) = ebx; /* 0x2B01C803: mov dword ptr [ebp - 0x24], ebx */ 19100 L_2B01C806: 19101 edx = MEM32(0x2B0B6048); /* 0x2B01C806: mov edx, dword ptr [0x2b0b6048] */ 19102 L_2B01C80C: 19103 ecx = MEM32(edx); /* 0x2B01C80C: mov ecx, dword ptr [edx] */ 19104 L_2B01C80E: 19105 PUSH32(esp, edi); /* 0x2B01C80E: push edi */ 19106 L_2B01C80F: 19107 PUSH32(esp, 0x2B0E3114u); /* 0x2B01C80F: push 0x2b0e3114 */ 19108 L_2B01C814: 19109 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01C814: mov byte ptr [ebp - 4], 2 */ 19110 L_2B01C818: 19111 RECOMP_ICALL(MEM32(0x2B0B602C)); /* 0x2B01C818: call dword ptr [0x2b0b602c] */ 19112 RECOMP_FLAGS_IN(); 19113 L_2B01C81E: 19114 MEM32(ebp + 0x8) = eax; /* 0x2B01C81E: mov dword ptr [ebp + 8], eax */ 19115 L_2B01C821: 19116 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B01C821: mov al, byte ptr [ebp + 0xb] */ 19117 L_2B01C824: 19118 MEM8(ebp + (-0x90)) = (uint8_t)(LO8(eax)); /* 0x2B01C824: mov byte ptr [ebp - 0x90], al */ 19119 L_2B01C82A: 19120 MEM32(ebp + (-0x8C)) = ebx; /* 0x2B01C82A: mov dword ptr [ebp - 0x8c], ebx */ 19121 L_2B01C830: 19122 MEM32(ebp + (-0x88)) = ebx; /* 0x2B01C830: mov dword ptr [ebp - 0x88], ebx */ 19123 L_2B01C836: 19124 MEM32(ebp + (-0x84)) = ebx; /* 0x2B01C836: mov dword ptr [ebp - 0x84], ebx */ 19125 L_2B01C83C: 19126 ecx = ebp + (-0xD4); /* 0x2B01C83C: lea ecx, [ebp - 0xd4] */ 19127 L_2B01C842: 19128 PUSH32(esp, ecx); /* 0x2B01C842: push ecx */ 19129 L_2B01C843: 19130 PUSH32(esp, ebx); /* 0x2B01C843: push ebx */ 19131 L_2B01C844: 19132 ecx = ebp + (-0x90); /* 0x2B01C844: lea ecx, [ebp - 0x90] */ 19133 L_2B01C84A: 19134 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B01C84A: mov byte ptr [ebp - 4], 3 */ 19135 L_2B01C84E: 19136 MEM32(ebp + (-0xD4)) = 2; /* 0x2B01C84E: mov dword ptr [ebp - 0xd4], 2 */ 19137 L_2B01C858: 19138 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C858: call 0x2b01d840 */ /* not lifted */ 19139 RECOMP_FLAGS_IN(); 19140 L_2B01C85D: 19141 eax = MEM32(ebp + (-0x88)); /* 0x2B01C85D: mov eax, dword ptr [ebp - 0x88] */ 19142 L_2B01C863: 19143 edx = ebp + (-0xB8); /* 0x2B01C863: lea edx, [ebp - 0xb8] */ 19144 L_2B01C869: 19145 PUSH32(esp, edx); /* 0x2B01C869: push edx */ 19146 L_2B01C86A: 19147 PUSH32(esp, eax); /* 0x2B01C86A: push eax */ 19148 L_2B01C86B: 19149 ecx = ebp + (-0x90); /* 0x2B01C86B: lea ecx, [ebp - 0x90] */ 19150 L_2B01C871: 19151 MEM32(ebp + (-0xB8)) = 3; /* 0x2B01C871: mov dword ptr [ebp - 0xb8], 3 */ 19152 L_2B01C87B: 19153 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C87B: call 0x2b01d840 */ /* not lifted */ 19154 RECOMP_FLAGS_IN(); 19155 L_2B01C880: 19156 edx = MEM32(ebp + (-0x58)); /* 0x2B01C880: mov edx, dword ptr [ebp - 0x58] */ 19157 L_2B01C883: 19158 ecx = ebp + (-0x90); /* 0x2B01C883: lea ecx, [ebp - 0x90] */ 19159 L_2B01C889: 19160 PUSH32(esp, ecx); /* 0x2B01C889: push ecx */ 19161 L_2B01C88A: 19162 PUSH32(esp, edx); /* 0x2B01C88A: push edx */ 19163 L_2B01C88B: 19164 ecx = ebp + (-0x60); /* 0x2B01C88B: lea ecx, [ebp - 0x60] */ 19165 L_2B01C88E: 19166 RECOMP_ICALL(0x2B01DA50u); /* 0x2B01C88E: call 0x2b01da50 */ /* not lifted */ 19167 RECOMP_FLAGS_IN(); 19168 L_2B01C893: 19169 ecx = MEM32(esi + 0x64); /* 0x2B01C893: mov ecx, dword ptr [esi + 0x64] */ 19170 L_2B01C896: 19171 eax = ebp + (-0x90); /* 0x2B01C896: lea eax, [ebp - 0x90] */ 19172 L_2B01C89C: 19173 PUSH32(esp, eax); /* 0x2B01C89C: push eax */ 19174 L_2B01C89D: 19175 RECOMP_ICALL(0x2B027DA0u); /* 0x2B01C89D: call 0x2b027da0 */ /* not lifted */ 19176 RECOMP_FLAGS_IN(); 19177 L_2B01C8A2: 19178 ecx = MEM32(esi + 0x64); /* 0x2B01C8A2: mov ecx, dword ptr [esi + 0x64] */ 19179 L_2B01C8A5: 19180 edx = MEM32(ecx + 0x44); /* 0x2B01C8A5: mov edx, dword ptr [ecx + 0x44] */ 19181 L_2B01C8A8: 19182 eax = edx; /* 0x2B01C8A8: mov eax, edx */ 19183 L_2B01C8AA: 19184 PUSH32(esp, eax); /* 0x2B01C8AA: push eax */ 19185 L_2B01C8AB: 19186 MEM32(ebp + (-0x20)) = edx; /* 0x2B01C8AB: mov dword ptr [ebp - 0x20], edx */ 19187 L_2B01C8AE: 19188 edx = ecx + 0x34; /* 0x2B01C8AE: lea edx, [ecx + 0x34] */ 19189 L_2B01C8B1: 19190 PUSH32(esp, edx); /* 0x2B01C8B1: push edx */ 19191 L_2B01C8B2: 19192 eax = ecx + 0x28; /* 0x2B01C8B2: lea eax, [ecx + 0x28] */ 19193 L_2B01C8B5: 19194 PUSH32(esp, eax); /* 0x2B01C8B5: push eax */ 19195 L_2B01C8B6: 19196 edx = ebp + (-0x90); /* 0x2B01C8B6: lea edx, [ebp - 0x90] */ 19197 L_2B01C8BC: 19198 PUSH32(esp, edx); /* 0x2B01C8BC: push edx */ 19199 L_2B01C8BD: 19200 RECOMP_ICALL(0x2B027C80u); /* 0x2B01C8BD: call 0x2b027c80 */ /* not lifted */ 19201 RECOMP_FLAGS_IN(); 19202 L_2B01C8C2: 19203 /* cmp MEM32(ebp + 0x8), ebx */ /* 0x2B01C8C2: cmp dword ptr [ebp + 8], ebx */ 19204 _flag_a = (uint32_t)(MEM32(ebp + 0x8)); _flag_b = (uint32_t)(ebx); 19205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19206 _flag_k = FK_CMP; 19207 L_2B01C8C5: 19208 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B01C97D; /* 0x2B01C8C5: jle 0x2b01c97d */ 19209 L_2B01C8CB: 19210 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x2B01C8CB: mov al, byte ptr [ebp + 0xb] */ 19211 L_2B01C8CE: 19212 MEM8(ebp + (-0x1C)) = (uint8_t)(LO8(eax)); /* 0x2B01C8CE: mov byte ptr [ebp - 0x1c], al */ 19213 L_2B01C8D1: 19214 MEM32(ebp + (-0x18)) = ebx; /* 0x2B01C8D1: mov dword ptr [ebp - 0x18], ebx */ 19215 L_2B01C8D4: 19216 MEM32(ebp + (-0x14)) = ebx; /* 0x2B01C8D4: mov dword ptr [ebp - 0x14], ebx */ 19217 L_2B01C8D7: 19218 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01C8D7: mov dword ptr [ebp - 0x10], ebx */ 19219 L_2B01C8DA: 19220 ecx = ebp + (-0x94); /* 0x2B01C8DA: lea ecx, [ebp - 0x94] */ 19221 L_2B01C8E0: 19222 PUSH32(esp, ecx); /* 0x2B01C8E0: push ecx */ 19223 L_2B01C8E1: 19224 PUSH32(esp, edi); /* 0x2B01C8E1: push edi */ 19225 L_2B01C8E2: 19226 PUSH32(esp, ebx); /* 0x2B01C8E2: push ebx */ 19227 L_2B01C8E3: 19228 ecx = ebp + (-0x1C); /* 0x2B01C8E3: lea ecx, [ebp - 0x1c] */ 19229 L_2B01C8E6: 19230 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01C8E6: mov byte ptr [ebp - 4], 4 */ 19231 L_2B01C8EA: 19232 MEM32(ebp + (-0x94)) = 3; /* 0x2B01C8EA: mov dword ptr [ebp - 0x94], 3 */ 19233 L_2B01C8F4: 19234 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01C8F4: call 0x2b01dc90 */ /* not lifted */ 19235 RECOMP_FLAGS_IN(); 19236 L_2B01C8F9: 19237 eax = MEM32(ebp + (-0x14)); /* 0x2B01C8F9: mov eax, dword ptr [ebp - 0x14] */ 19238 L_2B01C8FC: 19239 edx = ebp + (-0xA8); /* 0x2B01C8FC: lea edx, [ebp - 0xa8] */ 19240 L_2B01C902: 19241 PUSH32(esp, edx); /* 0x2B01C902: push edx */ 19242 L_2B01C903: 19243 PUSH32(esp, edi); /* 0x2B01C903: push edi */ 19244 L_2B01C904: 19245 PUSH32(esp, eax); /* 0x2B01C904: push eax */ 19246 L_2B01C905: 19247 ecx = ebp + (-0x1C); /* 0x2B01C905: lea ecx, [ebp - 0x1c] */ 19248 L_2B01C908: 19249 MEM32(ebp + (-0xA8)) = edi; /* 0x2B01C908: mov dword ptr [ebp - 0xa8], edi */ 19250 L_2B01C90E: 19251 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01C90E: call 0x2b01dc90 */ /* not lifted */ 19252 RECOMP_FLAGS_IN(); 19253 L_2B01C913: 19254 edx = MEM32(ebp + (-0x58)); /* 0x2B01C913: mov edx, dword ptr [ebp - 0x58] */ 19255 L_2B01C916: 19256 ecx = ebp + (-0x1C); /* 0x2B01C916: lea ecx, [ebp - 0x1c] */ 19257 L_2B01C919: 19258 PUSH32(esp, ecx); /* 0x2B01C919: push ecx */ 19259 L_2B01C91A: 19260 PUSH32(esp, edi); /* 0x2B01C91A: push edi */ 19261 L_2B01C91B: 19262 PUSH32(esp, edx); /* 0x2B01C91B: push edx */ 19263 L_2B01C91C: 19264 ecx = ebp + (-0x60); /* 0x2B01C91C: lea ecx, [ebp - 0x60] */ 19265 L_2B01C91F: 19266 RECOMP_ICALL(0x2B01DEA0u); /* 0x2B01C91F: call 0x2b01dea0 */ /* not lifted */ 19267 RECOMP_FLAGS_IN(); 19268 L_2B01C924: 19269 eax = MEM32(ebp + (-0x18)); /* 0x2B01C924: mov eax, dword ptr [ebp - 0x18] */ 19270 L_2B01C927: 19271 PUSH32(esp, eax); /* 0x2B01C927: push eax */ 19272 L_2B01C928: 19273 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B01C928: mov byte ptr [ebp - 4], 3 */ 19274 L_2B01C92C: 19275 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01C92C: call 0x2b0ab1ba */ /* not lifted */ 19276 RECOMP_FLAGS_IN(); 19277 L_2B01C931: 19278 eax = MEM32(ebp + 0x8); /* 0x2B01C931: mov eax, dword ptr [ebp + 8] */ 19279 L_2B01C934: 19280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19281 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19282 esp = esp + 4; /* 0x2B01C934: add esp, 4 */ 19283 _flag_k = FK_ADD; 19284 L_2B01C937: 19285 /* cmp eax, ebx */ /* 0x2B01C937: cmp eax, ebx */ 19286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 19287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19288 _flag_k = FK_CMP; 19289 L_2B01C939: 19290 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_LE, _cf)) goto L_2B01C97D; /* 0x2B01C939: jle 0x2b01c97d */ 19291 L_2B01C93B: 19292 edx = MEM32(ebp + (-0x28)); /* 0x2B01C93B: mov edx, dword ptr [ebp - 0x28] */ 19293 L_2B01C93E: 19294 ecx = ebp + (-0xC0); /* 0x2B01C93E: lea ecx, [ebp - 0xc0] */ 19295 L_2B01C944: 19296 PUSH32(esp, ecx); /* 0x2B01C944: push ecx */ 19297 L_2B01C945: 19298 PUSH32(esp, edx); /* 0x2B01C945: push edx */ 19299 L_2B01C946: 19300 ecx = ebp + (-0x30); /* 0x2B01C946: lea ecx, [ebp - 0x30] */ 19301 L_2B01C949: 19302 MEM32(ebp + (-0xC0)) = 3; /* 0x2B01C949: mov dword ptr [ebp - 0xc0], 3 */ 19303 L_2B01C953: 19304 RECOMP_ICALL(0x2B01D840u); /* 0x2B01C953: call 0x2b01d840 */ /* not lifted */ 19305 RECOMP_FLAGS_IN(); 19306 L_2B01C958: 19307 ecx = MEM32(ebp + (-0x28)); /* 0x2B01C958: mov ecx, dword ptr [ebp - 0x28] */ 19308 L_2B01C95B: 19309 eax = ebp + (-0xB0); /* 0x2B01C95B: lea eax, [ebp - 0xb0] */ 19310 L_2B01C961: 19311 PUSH32(esp, eax); /* 0x2B01C961: push eax */ 19312 L_2B01C962: 19313 PUSH32(esp, edi); /* 0x2B01C962: push edi */ 19314 L_2B01C963: 19315 PUSH32(esp, ecx); /* 0x2B01C963: push ecx */ 19316 L_2B01C964: 19317 ecx = ebp + (-0x30); /* 0x2B01C964: lea ecx, [ebp - 0x30] */ 19318 L_2B01C967: 19319 MEM32(ebp + (-0xB0)) = edi; /* 0x2B01C967: mov dword ptr [ebp - 0xb0], edi */ 19320 L_2B01C96D: 19321 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01C96D: call 0x2b01dc90 */ /* not lifted */ 19322 RECOMP_FLAGS_IN(); 19323 L_2B01C972: 19324 eax = MEM32(ebp + (-0x28)); /* 0x2B01C972: mov eax, dword ptr [ebp - 0x28] */ 19325 L_2B01C975: 19326 edx = ebp + 0x8; /* 0x2B01C975: lea edx, [ebp + 8] */ 19327 L_2B01C978: 19328 PUSH32(esp, edx); /* 0x2B01C978: push edx */ 19329 L_2B01C979: 19330 PUSH32(esp, edi); /* 0x2B01C979: push edi */ 19331 L_2B01C97A: 19332 PUSH32(esp, eax); /* 0x2B01C97A: push eax */ 19333 L_2B01C97B: 19334 goto L_2B01C9AD; /* 0x2B01C97B: jmp 0x2b01c9ad */ 19335 L_2B01C97D: 19336 edx = MEM32(ebp + (-0x28)); /* 0x2B01C97D: mov edx, dword ptr [ebp - 0x28] */ 19337 L_2B01C980: 19338 ecx = ebp + (-0xD0); /* 0x2B01C980: lea ecx, [ebp - 0xd0] */ 19339 L_2B01C986: 19340 PUSH32(esp, ecx); /* 0x2B01C986: push ecx */ 19341 L_2B01C987: 19342 PUSH32(esp, edi); /* 0x2B01C987: push edi */ 19343 L_2B01C988: 19344 PUSH32(esp, edx); /* 0x2B01C988: push edx */ 19345 L_2B01C989: 19346 ecx = ebp + (-0x30); /* 0x2B01C989: lea ecx, [ebp - 0x30] */ 19347 L_2B01C98C: 19348 MEM32(ebp + (-0xD0)) = 3; /* 0x2B01C98C: mov dword ptr [ebp - 0xd0], 3 */ 19349 L_2B01C996: 19350 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01C996: call 0x2b01dc90 */ /* not lifted */ 19351 RECOMP_FLAGS_IN(); 19352 L_2B01C99B: 19353 ecx = MEM32(ebp + (-0x28)); /* 0x2B01C99B: mov ecx, dword ptr [ebp - 0x28] */ 19354 L_2B01C99E: 19355 eax = ebp + (-0x98); /* 0x2B01C99E: lea eax, [ebp - 0x98] */ 19356 L_2B01C9A4: 19357 PUSH32(esp, eax); /* 0x2B01C9A4: push eax */ 19358 L_2B01C9A5: 19359 PUSH32(esp, edi); /* 0x2B01C9A5: push edi */ 19360 L_2B01C9A6: 19361 MEM32(ebp + (-0x98)) = edi; /* 0x2B01C9A6: mov dword ptr [ebp - 0x98], edi */ 19362 L_2B01C9AC: 19363 PUSH32(esp, ecx); /* 0x2B01C9AC: push ecx */ 19364 L_2B01C9AD: 19365 ecx = ebp + (-0x30); /* 0x2B01C9AD: lea ecx, [ebp - 0x30] */ 19366 L_2B01C9B0: 19367 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01C9B0: call 0x2b01dc90 */ /* not lifted */ 19368 RECOMP_FLAGS_IN(); 19369 L_2B01C9B5: 19370 eax = MEM32(ebp + (-0x58)); /* 0x2B01C9B5: mov eax, dword ptr [ebp - 0x58] */ 19371 L_2B01C9B8: 19372 edx = ebp + (-0x30); /* 0x2B01C9B8: lea edx, [ebp - 0x30] */ 19373 L_2B01C9BB: 19374 PUSH32(esp, edx); /* 0x2B01C9BB: push edx */ 19375 L_2B01C9BC: 19376 PUSH32(esp, edi); /* 0x2B01C9BC: push edi */ 19377 L_2B01C9BD: 19378 PUSH32(esp, eax); /* 0x2B01C9BD: push eax */ 19379 L_2B01C9BE: 19380 ecx = ebp + (-0x60); /* 0x2B01C9BE: lea ecx, [ebp - 0x60] */ 19381 L_2B01C9C1: 19382 RECOMP_ICALL(0x2B01DEA0u); /* 0x2B01C9C1: call 0x2b01dea0 */ /* not lifted */ 19383 RECOMP_FLAGS_IN(); 19384 L_2B01C9C6: 19385 ecx = ebp + (-0x40); /* 0x2B01C9C6: lea ecx, [ebp - 0x40] */ 19386 L_2B01C9C9: 19387 PUSH32(esp, ecx); /* 0x2B01C9C9: push ecx */ 19388 L_2B01C9CA: 19389 ecx = MEM32(esi + 0x64); /* 0x2B01C9CA: mov ecx, dword ptr [esi + 0x64] */ 19390 L_2B01C9CD: 19391 RECOMP_ICALL(0x2B027DF0u); /* 0x2B01C9CD: call 0x2b027df0 */ /* not lifted */ 19392 RECOMP_FLAGS_IN(); 19393 L_2B01C9D2: 19394 ecx = MEM32(esi + 0x64); /* 0x2B01C9D2: mov ecx, dword ptr [esi + 0x64] */ 19395 L_2B01C9D5: 19396 edx = ebp + (-0x60); /* 0x2B01C9D5: lea edx, [ebp - 0x60] */ 19397 L_2B01C9D8: 19398 PUSH32(esp, edx); /* 0x2B01C9D8: push edx */ 19399 L_2B01C9D9: 19400 PUSH32(esp, 0x3FF33333u); /* 0x2B01C9D9: push 0x3ff33333 */ 19401 L_2B01C9DE: 19402 eax = ebp + (-0x40); /* 0x2B01C9DE: lea eax, [ebp - 0x40] */ 19403 L_2B01C9E1: 19404 PUSH32(esp, eax); /* 0x2B01C9E1: push eax */ 19405 L_2B01C9E2: 19406 RECOMP_ICALL(0x2B027EE0u); /* 0x2B01C9E2: call 0x2b027ee0 */ /* not lifted */ 19407 RECOMP_FLAGS_IN(); 19408 L_2B01C9E7: 19409 SET_LO8(ecx, MEM8(ebp + (-0x40))); /* 0x2B01C9E7: mov cl, byte ptr [ebp - 0x40] */ 19410 L_2B01C9EA: 19411 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 19412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19413 esp = esp - 0x10u; /* 0x2B01C9EA: sub esp, 0x10 */ 19414 _flag_k = FK_CMP; 19415 L_2B01C9ED: 19416 edi = esp; /* 0x2B01C9ED: mov edi, esp */ 19417 L_2B01C9EF: 19418 MEM8(edi) = (uint8_t)(LO8(ecx)); /* 0x2B01C9EF: mov byte ptr [edi], cl */ 19419 L_2B01C9F1: 19420 ecx = MEM32(ebp + (-0x3C)); /* 0x2B01C9F1: mov ecx, dword ptr [ebp - 0x3c] */ 19421 L_2B01C9F4: 19422 /* cmp ecx, ebx */ /* 0x2B01C9F4: cmp ecx, ebx */ 19423 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 19424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19425 _flag_k = FK_CMP; 19426 L_2B01C9F6: 19427 MEM32(ebp + (-0x20)) = esp; /* 0x2B01C9F6: mov dword ptr [ebp - 0x20], esp */ 19428 L_2B01C9F9: 19429 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01C9FF; /* 0x2B01C9F9: jne 0x2b01c9ff */ 19430 L_2B01C9FB: 19431 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19432 eax = 0; /* 0x2B01C9FB: xor eax, eax */ 19433 _cf = 0; 19434 _flag_k = FK_TEST; 19435 L_2B01C9FD: 19436 goto L_2B01CA07; /* 0x2B01C9FD: jmp 0x2b01ca07 */ 19437 L_2B01C9FF: 19438 eax = MEM32(ebp + (-0x38)); /* 0x2B01C9FF: mov eax, dword ptr [ebp - 0x38] */ 19439 L_2B01CA02: 19440 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 19441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19442 eax = eax - ecx; /* 0x2B01CA02: sub eax, ecx */ 19443 _flag_k = FK_CMP; 19444 L_2B01CA04: 19445 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01CA04: sar eax, 2 */ 19446 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 19447 eax = (uint32_t)((int32_t)eax >> 2u); 19448 L_2B01CA07: 19449 /* cmp eax, ebx */ /* 0x2B01CA07: cmp eax, ebx */ 19450 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 19451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19452 _flag_k = FK_CMP; 19453 L_2B01CA09: 19454 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_GE, _cf)) goto L_2B01CA0D; /* 0x2B01CA09: jge 0x2b01ca0d */ 19455 L_2B01CA0B: 19456 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19457 eax = 0; /* 0x2B01CA0B: xor eax, eax */ 19458 _cf = 0; 19459 _flag_k = FK_TEST; 19460 L_2B01CA0D: 19461 edx = eax * 4; /* 0x2B01CA0D: lea edx, [eax*4] */ 19462 L_2B01CA14: 19463 PUSH32(esp, edx); /* 0x2B01CA14: push edx */ 19464 L_2B01CA15: 19465 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01CA15: call 0x2b0ab212 */ /* not lifted */ 19466 RECOMP_FLAGS_IN(); 19467 L_2B01CA1A: 19468 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19469 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19470 esp = esp + 4; /* 0x2B01CA1A: add esp, 4 */ 19471 _flag_k = FK_ADD; 19472 L_2B01CA1D: 19473 PUSH32(esp, eax); /* 0x2B01CA1D: push eax */ 19474 L_2B01CA1E: 19475 MEM32(edi + 0x4) = eax; /* 0x2B01CA1E: mov dword ptr [edi + 4], eax */ 19476 L_2B01CA21: 19477 eax = MEM32(ebp + (-0x38)); /* 0x2B01CA21: mov eax, dword ptr [ebp - 0x38] */ 19478 L_2B01CA24: 19479 ecx = MEM32(ebp + (-0x3C)); /* 0x2B01CA24: mov ecx, dword ptr [ebp - 0x3c] */ 19480 L_2B01CA27: 19481 PUSH32(esp, eax); /* 0x2B01CA27: push eax */ 19482 L_2B01CA28: 19483 PUSH32(esp, ecx); /* 0x2B01CA28: push ecx */ 19484 L_2B01CA29: 19485 ecx = edi; /* 0x2B01CA29: mov ecx, edi */ 19486 L_2B01CA2B: 19487 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01CA2B: call 0x2b01da20 */ /* not lifted */ 19488 RECOMP_FLAGS_IN(); 19489 L_2B01CA30: 19490 MEM32(edi + 0x8) = eax; /* 0x2B01CA30: mov dword ptr [edi + 8], eax */ 19491 L_2B01CA33: 19492 MEM32(edi + 0xC) = eax; /* 0x2B01CA33: mov dword ptr [edi + 0xc], eax */ 19493 L_2B01CA36: 19494 ecx = MEM32(esi + 0x64); /* 0x2B01CA36: mov ecx, dword ptr [esi + 0x64] */ 19495 L_2B01CA39: 19496 RECOMP_ICALL(0x2B026A10u); /* 0x2B01CA39: call 0x2b026a10 */ /* not lifted */ 19497 RECOMP_FLAGS_IN(); 19498 L_2B01CA3E: 19499 ecx = MEM32(esi + 0x64); /* 0x2B01CA3E: mov ecx, dword ptr [esi + 0x64] */ 19500 L_2B01CA41: 19501 PUSH32(esp, 0x2Eu); /* 0x2B01CA41: push 0x2e */ 19502 L_2B01CA43: 19503 RECOMP_ICALL(0x2B021E30u); /* 0x2B01CA43: call 0x2b021e30 */ /* not lifted */ 19504 RECOMP_FLAGS_IN(); 19505 L_2B01CA48: 19506 edx = MEM32(esi); /* 0x2B01CA48: mov edx, dword ptr [esi] */ 19507 L_2B01CA4A: 19508 PUSH32(esp, 0x65u); /* 0x2B01CA4A: push 0x65 */ 19509 L_2B01CA4C: 19510 ecx = esi; /* 0x2B01CA4C: mov ecx, esi */ 19511 L_2B01CA4E: 19512 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B01CA4E: call dword ptr [edx + 8] */ 19513 RECOMP_FLAGS_IN(); 19514 L_2B01CA51: 19515 eax = MEM32(ebp + (-0x8C)); /* 0x2B01CA51: mov eax, dword ptr [ebp - 0x8c] */ 19516 L_2B01CA57: 19517 PUSH32(esp, eax); /* 0x2B01CA57: push eax */ 19518 L_2B01CA58: 19519 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01CA58: call 0x2b0ab1ba */ /* not lifted */ 19520 RECOMP_FLAGS_IN(); 19521 L_2B01CA5D: 19522 ecx = MEM32(ebp + (-0x2C)); /* 0x2B01CA5D: mov ecx, dword ptr [ebp - 0x2c] */ 19523 L_2B01CA60: 19524 PUSH32(esp, ecx); /* 0x2B01CA60: push ecx */ 19525 L_2B01CA61: 19526 MEM32(ebp + (-0x8C)) = ebx; /* 0x2B01CA61: mov dword ptr [ebp - 0x8c], ebx */ 19527 L_2B01CA67: 19528 MEM32(ebp + (-0x88)) = ebx; /* 0x2B01CA67: mov dword ptr [ebp - 0x88], ebx */ 19529 L_2B01CA6D: 19530 MEM32(ebp + (-0x84)) = ebx; /* 0x2B01CA6D: mov dword ptr [ebp - 0x84], ebx */ 19531 L_2B01CA73: 19532 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01CA73: call 0x2b0ab1ba */ /* not lifted */ 19533 RECOMP_FLAGS_IN(); 19534 L_2B01CA78: 19535 eax = MEM32(ebp + (-0x58)); /* 0x2B01CA78: mov eax, dword ptr [ebp - 0x58] */ 19536 L_2B01CA7B: 19537 edi = MEM32(ebp + (-0x5C)); /* 0x2B01CA7B: mov edi, dword ptr [ebp - 0x5c] */ 19538 L_2B01CA7E: 19539 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 19540 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19541 esp = esp + 8; /* 0x2B01CA7E: add esp, 8 */ 19542 _flag_k = FK_ADD; 19543 L_2B01CA81: 19544 /* cmp edi, eax */ /* 0x2B01CA81: cmp edi, eax */ 19545 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19547 _flag_k = FK_CMP; 19548 L_2B01CA83: 19549 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B01CA83: mov dword ptr [ebp - 0x2c], ebx */ 19550 L_2B01CA86: 19551 MEM32(ebp + (-0x28)) = ebx; /* 0x2B01CA86: mov dword ptr [ebp - 0x28], ebx */ 19552 L_2B01CA89: 19553 MEM32(ebp + (-0x24)) = ebx; /* 0x2B01CA89: mov dword ptr [ebp - 0x24], ebx */ 19554 L_2B01CA8C: 19555 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01CA8C: mov byte ptr [ebp - 4], bl */ 19556 L_2B01CA8F: 19557 MEM32(ebp + (-0x20)) = eax; /* 0x2B01CA8F: mov dword ptr [ebp - 0x20], eax */ 19558 L_2B01CA92: 19559 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01CAA9; /* 0x2B01CA92: je 0x2b01caa9 */ 19560 L_2B01CA94: 19561 PUSH32(esp, ebx); /* 0x2B01CA94: push ebx */ 19562 L_2B01CA95: 19563 ecx = edi; /* 0x2B01CA95: mov ecx, edi */ 19564 L_2B01CA97: 19565 RECOMP_ICALL(0x2B01E840u); /* 0x2B01CA97: call 0x2b01e840 */ /* not lifted */ 19566 RECOMP_FLAGS_IN(); 19567 L_2B01CA9C: 19568 eax = MEM32(ebp + (-0x20)); /* 0x2B01CA9C: mov eax, dword ptr [ebp - 0x20] */ 19569 L_2B01CA9F: 19570 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 19571 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19572 edi = edi + 0x10u; /* 0x2B01CA9F: add edi, 0x10 */ 19573 _flag_k = FK_ADD; 19574 L_2B01CAA2: 19575 /* cmp edi, eax */ /* 0x2B01CAA2: cmp edi, eax */ 19576 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 19577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19578 _flag_k = FK_CMP; 19579 L_2B01CAA4: 19580 RECOMP_BACKEDGE(); 19581 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01CA94; /* 0x2B01CAA4: jne 0x2b01ca94 */ 19582 L_2B01CAA6: 19583 edi = MEM32(ebp + (-0x5C)); /* 0x2B01CAA6: mov edi, dword ptr [ebp - 0x5c] */ 19584 L_2B01CAA9: 19585 PUSH32(esp, edi); /* 0x2B01CAA9: push edi */ 19586 L_2B01CAAA: 19587 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01CAAA: call 0x2b0ab1ba */ /* not lifted */ 19588 RECOMP_FLAGS_IN(); 19589 L_2B01CAAF: 19590 edx = MEM32(ebp + (-0x38)); /* 0x2B01CAAF: mov edx, dword ptr [ebp - 0x38] */ 19591 L_2B01CAB2: 19592 eax = MEM32(ebp + (-0x3C)); /* 0x2B01CAB2: mov eax, dword ptr [ebp - 0x3c] */ 19593 L_2B01CAB5: 19594 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19595 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19596 esp = esp + 4; /* 0x2B01CAB5: add esp, 4 */ 19597 _flag_k = FK_ADD; 19598 L_2B01CAB8: 19599 PUSH32(esp, edx); /* 0x2B01CAB8: push edx */ 19600 L_2B01CAB9: 19601 PUSH32(esp, eax); /* 0x2B01CAB9: push eax */ 19602 L_2B01CABA: 19603 ecx = ebp + (-0x40); /* 0x2B01CABA: lea ecx, [ebp - 0x40] */ 19604 L_2B01CABD: 19605 MEM32(ebp + (-0x5C)) = ebx; /* 0x2B01CABD: mov dword ptr [ebp - 0x5c], ebx */ 19606 L_2B01CAC0: 19607 MEM32(ebp + (-0x58)) = ebx; /* 0x2B01CAC0: mov dword ptr [ebp - 0x58], ebx */ 19608 L_2B01CAC3: 19609 MEM32(ebp + (-0x54)) = ebx; /* 0x2B01CAC3: mov dword ptr [ebp - 0x54], ebx */ 19610 L_2B01CAC6: 19611 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01CAC6: mov dword ptr [ebp - 4], 0xffffffff */ 19612 L_2B01CACD: 19613 RECOMP_ICALL(0x2B0292C0u); /* 0x2B01CACD: call 0x2b0292c0 */ /* not lifted */ 19614 RECOMP_FLAGS_IN(); 19615 L_2B01CAD2: 19616 ecx = MEM32(ebp + (-0x3C)); /* 0x2B01CAD2: mov ecx, dword ptr [ebp - 0x3c] */ 19617 L_2B01CAD5: 19618 PUSH32(esp, ecx); /* 0x2B01CAD5: push ecx */ 19619 L_2B01CAD6: 19620 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01CAD6: call 0x2b0ab1ba */ /* not lifted */ 19621 RECOMP_FLAGS_IN(); 19622 L_2B01CADB: 19623 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 19624 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 19625 esp = esp + 4; /* 0x2B01CADB: add esp, 4 */ 19626 _flag_k = FK_ADD; 19627 L_2B01CADE: 19628 goto L_2B01CBA6; /* 0x2B01CADE: jmp 0x2b01cba6 */ 19629 L_2B01CAE3: 19630 PUSH32(esp, ebx); /* 0x2B01CAE3: push ebx */ 19631 L_2B01CAE4: 19632 ecx = esi; /* 0x2B01CAE4: mov ecx, esi */ 19633 L_2B01CAE6: 19634 RECOMP_ICALL(0x2B01D270u); /* 0x2B01CAE6: call 0x2b01d270 */ /* not lifted */ 19635 RECOMP_FLAGS_IN(); 19636 L_2B01CAEB: 19637 ecx = esi; /* 0x2B01CAEB: mov ecx, esi */ 19638 L_2B01CAED: 19639 RECOMP_ICALL(0x2B01CFF0u); /* 0x2B01CAED: call 0x2b01cff0 */ /* not lifted */ 19640 RECOMP_FLAGS_IN(); 19641 L_2B01CAF2: 19642 goto L_2B01CBA6; /* 0x2B01CAF2: jmp 0x2b01cba6 */ 19643 L_2B01CAF7: 19644 ecx = eax; /* 0x2B01CAF7: mov ecx, eax */ 19645 L_2B01CAF9: 19646 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x7D2u); 19647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19648 ecx = ecx - 0x7D2u; /* 0x2B01CAF9: sub ecx, 0x7d2 */ 19649 _flag_k = FK_CMP; 19650 L_2B01CAFF: 19651 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01CB1D; /* 0x2B01CAFF: je 0x2b01cb1d */ 19652 L_2B01CB01: 19653 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 19654 ecx = ecx - 1; /* 0x2B01CB01: dec ecx */ 19655 _flag_k = FK_DEC; 19656 L_2B01CB02: 19657 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01CB9E; /* 0x2B01CB02: jne 0x2b01cb9e */ 19658 L_2B01CB08: 19659 PUSH32(esp, 2); /* 0x2B01CB08: push 2 */ 19660 L_2B01CB0A: 19661 ecx = esi; /* 0x2B01CB0A: mov ecx, esi */ 19662 L_2B01CB0C: 19663 RECOMP_ICALL(0x2B01D270u); /* 0x2B01CB0C: call 0x2b01d270 */ /* not lifted */ 19664 RECOMP_FLAGS_IN(); 19665 L_2B01CB11: 19666 ecx = esi; /* 0x2B01CB11: mov ecx, esi */ 19667 L_2B01CB13: 19668 RECOMP_ICALL(0x2B01CFF0u); /* 0x2B01CB13: call 0x2b01cff0 */ /* not lifted */ 19669 RECOMP_FLAGS_IN(); 19670 L_2B01CB18: 19671 goto L_2B01CBA6; /* 0x2B01CB18: jmp 0x2b01cba6 */ 19672 L_2B01CB1D: 19673 PUSH32(esp, 1); /* 0x2B01CB1D: push 1 */ 19674 L_2B01CB1F: 19675 ecx = esi; /* 0x2B01CB1F: mov ecx, esi */ 19676 L_2B01CB21: 19677 RECOMP_ICALL(0x2B01D270u); /* 0x2B01CB21: call 0x2b01d270 */ /* not lifted */ 19678 RECOMP_FLAGS_IN(); 19679 L_2B01CB26: 19680 ecx = esi; /* 0x2B01CB26: mov ecx, esi */ 19681 L_2B01CB28: 19682 RECOMP_ICALL(0x2B01CFF0u); /* 0x2B01CB28: call 0x2b01cff0 */ /* not lifted */ 19683 RECOMP_FLAGS_IN(); 19684 L_2B01CB2D: 19685 goto L_2B01CBA6; /* 0x2B01CB2D: jmp 0x2b01cba6 */ 19686 L_2B01CB2F: 19687 PUSH32(esp, ebx); /* 0x2B01CB2F: push ebx */ 19688 L_2B01CB30: 19689 ecx = esi; /* 0x2B01CB30: mov ecx, esi */ 19690 L_2B01CB32: 19691 RECOMP_ICALL(0x2B01D2A0u); /* 0x2B01CB32: call 0x2b01d2a0 */ /* not lifted */ 19692 RECOMP_FLAGS_IN(); 19693 L_2B01CB37: 19694 ecx = esi; /* 0x2B01CB37: mov ecx, esi */ 19695 L_2B01CB39: 19696 RECOMP_ICALL(0x2B01CFF0u); /* 0x2B01CB39: call 0x2b01cff0 */ /* not lifted */ 19697 RECOMP_FLAGS_IN(); 19698 L_2B01CB3E: 19699 goto L_2B01CBA6; /* 0x2B01CB3E: jmp 0x2b01cba6 */ 19700 L_2B01CB40: 19701 edi = eax + (-0x7DC); /* 0x2B01CB40: lea edi, [eax - 0x7dc] */ 19702 L_2B01CB46: 19703 /* cmp edi, 0xAu */ /* 0x2B01CB46: cmp edi, 0xa */ 19704 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xAu); 19705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19706 _flag_k = FK_CMP; 19707 L_2B01CB49: 19708 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_A, _cf)) goto L_2B01CB9E; /* 0x2B01CB49: ja 0x2b01cb9e */ 19709 L_2B01CB4B: 19710 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 19711 edx = 0; /* 0x2B01CB4B: xor edx, edx */ 19712 _cf = 0; 19713 _flag_k = FK_TEST; 19714 L_2B01CB4D: 19715 SET_LO8(edx, MEM8(edi + 0x2B01CBF0)); /* 0x2B01CB4D: mov dl, byte ptr [edi + 0x2b01cbf0] */ 19716 L_2B01CB53: 19717 { _itail_tgt = (uint32_t)(MEM32(edx * 4 + 0x2B01CBDC)); goto _ljump; } 19718 L_2B01CB5A: 19719 PUSH32(esp, 1); /* 0x2B01CB5A: push 1 */ 19720 L_2B01CB5C: 19721 ecx = esi; /* 0x2B01CB5C: mov ecx, esi */ 19722 L_2B01CB5E: 19723 RECOMP_ICALL(0x2B01D2A0u); /* 0x2B01CB5E: call 0x2b01d2a0 */ /* not lifted */ 19724 RECOMP_FLAGS_IN(); 19725 L_2B01CB63: 19726 ecx = esi; /* 0x2B01CB63: mov ecx, esi */ 19727 L_2B01CB65: 19728 RECOMP_ICALL(0x2B01CFF0u); /* 0x2B01CB65: call 0x2b01cff0 */ /* not lifted */ 19729 RECOMP_FLAGS_IN(); 19730 L_2B01CB6A: 19731 goto L_2B01CBA6; /* 0x2B01CB6A: jmp 0x2b01cba6 */ 19732 L_2B01CB6C: 19733 PUSH32(esp, 2); /* 0x2B01CB6C: push 2 */ 19734 L_2B01CB6E: 19735 ecx = esi; /* 0x2B01CB6E: mov ecx, esi */ 19736 L_2B01CB70: 19737 RECOMP_ICALL(0x2B01D2A0u); /* 0x2B01CB70: call 0x2b01d2a0 */ /* not lifted */ 19738 RECOMP_FLAGS_IN(); 19739 L_2B01CB75: 19740 ecx = esi; /* 0x2B01CB75: mov ecx, esi */ 19741 L_2B01CB77: 19742 RECOMP_ICALL(0x2B01CFF0u); /* 0x2B01CB77: call 0x2b01cff0 */ /* not lifted */ 19743 RECOMP_FLAGS_IN(); 19744 L_2B01CB7C: 19745 goto L_2B01CBA6; /* 0x2B01CB7C: jmp 0x2b01cba6 */ 19746 L_2B01CB7E: 19747 ecx = esi; /* 0x2B01CB7E: mov ecx, esi */ 19748 L_2B01CB80: 19749 RECOMP_ICALL(0x2B01D320u); /* 0x2B01CB80: call 0x2b01d320 */ /* not lifted */ 19750 RECOMP_FLAGS_IN(); 19751 L_2B01CB85: 19752 ecx = esi; /* 0x2B01CB85: mov ecx, esi */ 19753 L_2B01CB87: 19754 RECOMP_ICALL(0x2B01CC00u); /* 0x2B01CB87: call 0x2b01cc00 */ /* not lifted */ 19755 RECOMP_FLAGS_IN(); 19756 L_2B01CB8C: 19757 goto L_2B01CBA6; /* 0x2B01CB8C: jmp 0x2b01cba6 */ 19758 L_2B01CB8E: 19759 ecx = esi; /* 0x2B01CB8E: mov ecx, esi */ 19760 L_2B01CB90: 19761 RECOMP_ICALL(0x2B01D2D0u); /* 0x2B01CB90: call 0x2b01d2d0 */ /* not lifted */ 19762 RECOMP_FLAGS_IN(); 19763 L_2B01CB95: 19764 ecx = esi; /* 0x2B01CB95: mov ecx, esi */ 19765 L_2B01CB97: 19766 RECOMP_ICALL(0x2B01CC00u); /* 0x2B01CB97: call 0x2b01cc00 */ /* not lifted */ 19767 RECOMP_FLAGS_IN(); 19768 L_2B01CB9C: 19769 goto L_2B01CBA6; /* 0x2B01CB9C: jmp 0x2b01cba6 */ 19770 L_2B01CB9E: 19771 PUSH32(esp, eax); /* 0x2B01CB9E: push eax */ 19772 L_2B01CB9F: 19773 ecx = esi; /* 0x2B01CB9F: mov ecx, esi */ 19774 L_2B01CBA1: 19775 RECOMP_ICALL(0x2B0389C0u); /* 0x2B01CBA1: call 0x2b0389c0 */ /* not lifted */ 19776 RECOMP_FLAGS_IN(); 19777 L_2B01CBA6: 19778 ecx = MEM32(esi + 0x64); /* 0x2B01CBA6: mov ecx, dword ptr [esi + 0x64] */ 19779 L_2B01CBA9: 19780 RECOMP_ICALL(0x2B026CC0u); /* 0x2B01CBA9: call 0x2b026cc0 */ /* not lifted */ 19781 RECOMP_FLAGS_IN(); 19782 L_2B01CBAE: 19783 /* test LO8(eax), LO8(eax) */ /* 0x2B01CBAE: test al, al */ 19784 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 19785 _cf = 0; 19786 _flag_k = FK_NARROW(FK_TEST, 24); 19787 L_2B01CBB0: 19788 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B01CBC8; /* 0x2B01CBB0: je 0x2b01cbc8 */ 19789 L_2B01CBB2: 19790 /* cmp MEM32(esi + 0x7C), 4 */ /* 0x2B01CBB2: cmp dword ptr [esi + 0x7c], 4 */ 19791 _flag_a = (uint32_t)(MEM32(esi + 0x7C)); _flag_b = (uint32_t)(4); 19792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19793 _flag_k = FK_CMP; 19794 L_2B01CBB6: 19795 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01CBBF; /* 0x2B01CBB6: jne 0x2b01cbbf */ 19796 L_2B01CBB8: 19797 MEM32(esi + 0x7C) = 1; /* 0x2B01CBB8: mov dword ptr [esi + 0x7c], 1 */ 19798 L_2B01CBBF: 19799 /* cmp MEM32(esi + 0x7C), 2 */ /* 0x2B01CBBF: cmp dword ptr [esi + 0x7c], 2 */ 19800 _flag_a = (uint32_t)(MEM32(esi + 0x7C)); _flag_b = (uint32_t)(2); 19801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19802 _flag_k = FK_CMP; 19803 L_2B01CBC3: 19804 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_NE, _cf)) goto L_2B01CBC8; /* 0x2B01CBC3: jne 0x2b01cbc8 */ 19805 L_2B01CBC5: 19806 MEM32(esi + 0x7C) = ebx; /* 0x2B01CBC5: mov dword ptr [esi + 0x7c], ebx */ 19807 L_2B01CBC8: 19808 ecx = MEM32(ebp + (-0xC)); /* 0x2B01CBC8: mov ecx, dword ptr [ebp - 0xc] */ 19809 L_2B01CBCB: 19810 edi = POP32_VAL(esp); /* 0x2B01CBCB: pop edi */ 19811 L_2B01CBCC: 19812 esi = POP32_VAL(esp); /* 0x2B01CBCC: pop esi */ 19813 L_2B01CBCD: 19814 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01CBCD: mov dword ptr fs:[0], ecx */ 19815 L_2B01CBD4: 19816 ebx = POP32_VAL(esp); /* 0x2B01CBD4: pop ebx */ 19817 L_2B01CBD5: 19818 esp = ebp; /* 0x2B01CBD5: mov esp, ebp */ 19819 L_2B01CBD7: 19820 ebp = POP32_VAL(esp); /* 0x2B01CBD7: pop ebp */ 19821 L_2B01CBD8: 19822 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01CBD8: ret 4 */ 19823 _ljump: 19824 switch (_itail_tgt) { 19825 case 0x2B01C500u: goto L_2B01C500; 19826 case 0x2B01C501u: goto L_2B01C501; 19827 case 0x2B01C503u: goto L_2B01C503; 19828 case 0x2B01C505u: goto L_2B01C505; 19829 case 0x2B01C50Au: goto L_2B01C50A; 19830 case 0x2B01C510u: goto L_2B01C510; 19831 case 0x2B01C511u: goto L_2B01C511; 19832 case 0x2B01C518u: goto L_2B01C518; 19833 case 0x2B01C51Eu: goto L_2B01C51E; 19834 case 0x2B01C521u: goto L_2B01C521; 19835 case 0x2B01C522u: goto L_2B01C522; 19836 case 0x2B01C523u: goto L_2B01C523; 19837 case 0x2B01C525u: goto L_2B01C525; 19838 case 0x2B01C52Au: goto L_2B01C52A; 19839 case 0x2B01C52Bu: goto L_2B01C52B; 19840 case 0x2B01C52Du: goto L_2B01C52D; 19841 case 0x2B01C533u: goto L_2B01C533; 19842 case 0x2B01C539u: goto L_2B01C539; 19843 case 0x2B01C53Eu: goto L_2B01C53E; 19844 case 0x2B01C544u: goto L_2B01C544; 19845 case 0x2B01C54Au: goto L_2B01C54A; 19846 case 0x2B01C54Cu: goto L_2B01C54C; 19847 case 0x2B01C54Fu: goto L_2B01C54F; 19848 case 0x2B01C555u: goto L_2B01C555; 19849 case 0x2B01C556u: goto L_2B01C556; 19850 case 0x2B01C55Cu: goto L_2B01C55C; 19851 case 0x2B01C55Fu: goto L_2B01C55F; 19852 case 0x2B01C562u: goto L_2B01C562; 19853 case 0x2B01C565u: goto L_2B01C565; 19854 case 0x2B01C568u: goto L_2B01C568; 19855 case 0x2B01C56Bu: goto L_2B01C56B; 19856 case 0x2B01C571u: goto L_2B01C571; 19857 case 0x2B01C572u: goto L_2B01C572; 19858 case 0x2B01C573u: goto L_2B01C573; 19859 case 0x2B01C576u: goto L_2B01C576; 19860 case 0x2B01C57Du: goto L_2B01C57D; 19861 case 0x2B01C587u: goto L_2B01C587; 19862 case 0x2B01C58Cu: goto L_2B01C58C; 19863 case 0x2B01C58Fu: goto L_2B01C58F; 19864 case 0x2B01C595u: goto L_2B01C595; 19865 case 0x2B01C596u: goto L_2B01C596; 19866 case 0x2B01C59Bu: goto L_2B01C59B; 19867 case 0x2B01C59Cu: goto L_2B01C59C; 19868 case 0x2B01C59Fu: goto L_2B01C59F; 19869 case 0x2B01C5A5u: goto L_2B01C5A5; 19870 case 0x2B01C5AAu: goto L_2B01C5AA; 19871 case 0x2B01C5ADu: goto L_2B01C5AD; 19872 case 0x2B01C5B3u: goto L_2B01C5B3; 19873 case 0x2B01C5B4u: goto L_2B01C5B4; 19874 case 0x2B01C5B5u: goto L_2B01C5B5; 19875 case 0x2B01C5B8u: goto L_2B01C5B8; 19876 case 0x2B01C5C2u: goto L_2B01C5C2; 19877 case 0x2B01C5C7u: goto L_2B01C5C7; 19878 case 0x2B01C5CAu: goto L_2B01C5CA; 19879 case 0x2B01C5CDu: goto L_2B01C5CD; 19880 case 0x2B01C5D0u: goto L_2B01C5D0; 19881 case 0x2B01C5D3u: goto L_2B01C5D3; 19882 case 0x2B01C5D6u: goto L_2B01C5D6; 19883 case 0x2B01C5D9u: goto L_2B01C5D9; 19884 case 0x2B01C5DCu: goto L_2B01C5DC; 19885 case 0x2B01C5DFu: goto L_2B01C5DF; 19886 case 0x2B01C5E2u: goto L_2B01C5E2; 19887 case 0x2B01C5E5u: goto L_2B01C5E5; 19888 case 0x2B01C5EBu: goto L_2B01C5EB; 19889 case 0x2B01C5ECu: goto L_2B01C5EC; 19890 case 0x2B01C5EDu: goto L_2B01C5ED; 19891 case 0x2B01C5F0u: goto L_2B01C5F0; 19892 case 0x2B01C5F4u: goto L_2B01C5F4; 19893 case 0x2B01C5FEu: goto L_2B01C5FE; 19894 case 0x2B01C603u: goto L_2B01C603; 19895 case 0x2B01C606u: goto L_2B01C606; 19896 case 0x2B01C60Cu: goto L_2B01C60C; 19897 case 0x2B01C60Du: goto L_2B01C60D; 19898 case 0x2B01C60Eu: goto L_2B01C60E; 19899 case 0x2B01C611u: goto L_2B01C611; 19900 case 0x2B01C61Bu: goto L_2B01C61B; 19901 case 0x2B01C620u: goto L_2B01C620; 19902 case 0x2B01C623u: goto L_2B01C623; 19903 case 0x2B01C626u: goto L_2B01C626; 19904 case 0x2B01C627u: goto L_2B01C627; 19905 case 0x2B01C628u: goto L_2B01C628; 19906 case 0x2B01C629u: goto L_2B01C629; 19907 case 0x2B01C62Cu: goto L_2B01C62C; 19908 case 0x2B01C631u: goto L_2B01C631; 19909 case 0x2B01C634u: goto L_2B01C634; 19910 case 0x2B01C635u: goto L_2B01C635; 19911 case 0x2B01C638u: goto L_2B01C638; 19912 case 0x2B01C63Du: goto L_2B01C63D; 19913 case 0x2B01C640u: goto L_2B01C640; 19914 case 0x2B01C643u: goto L_2B01C643; 19915 case 0x2B01C645u: goto L_2B01C645; 19916 case 0x2B01C646u: goto L_2B01C646; 19917 case 0x2B01C649u: goto L_2B01C649; 19918 case 0x2B01C64Cu: goto L_2B01C64C; 19919 case 0x2B01C64Du: goto L_2B01C64D; 19920 case 0x2B01C650u: goto L_2B01C650; 19921 case 0x2B01C651u: goto L_2B01C651; 19922 case 0x2B01C654u: goto L_2B01C654; 19923 case 0x2B01C655u: goto L_2B01C655; 19924 case 0x2B01C65Au: goto L_2B01C65A; 19925 case 0x2B01C65Du: goto L_2B01C65D; 19926 case 0x2B01C660u: goto L_2B01C660; 19927 case 0x2B01C663u: goto L_2B01C663; 19928 case 0x2B01C666u: goto L_2B01C666; 19929 case 0x2B01C669u: goto L_2B01C669; 19930 case 0x2B01C66Fu: goto L_2B01C66F; 19931 case 0x2B01C670u: goto L_2B01C670; 19932 case 0x2B01C671u: goto L_2B01C671; 19933 case 0x2B01C672u: goto L_2B01C672; 19934 case 0x2B01C675u: goto L_2B01C675; 19935 case 0x2B01C679u: goto L_2B01C679; 19936 case 0x2B01C67Fu: goto L_2B01C67F; 19937 case 0x2B01C684u: goto L_2B01C684; 19938 case 0x2B01C687u: goto L_2B01C687; 19939 case 0x2B01C68Du: goto L_2B01C68D; 19940 case 0x2B01C68Eu: goto L_2B01C68E; 19941 case 0x2B01C68Fu: goto L_2B01C68F; 19942 case 0x2B01C690u: goto L_2B01C690; 19943 case 0x2B01C693u: goto L_2B01C693; 19944 case 0x2B01C699u: goto L_2B01C699; 19945 case 0x2B01C69Eu: goto L_2B01C69E; 19946 case 0x2B01C6A1u: goto L_2B01C6A1; 19947 case 0x2B01C6A4u: goto L_2B01C6A4; 19948 case 0x2B01C6A5u: goto L_2B01C6A5; 19949 case 0x2B01C6A6u: goto L_2B01C6A6; 19950 case 0x2B01C6A7u: goto L_2B01C6A7; 19951 case 0x2B01C6AAu: goto L_2B01C6AA; 19952 case 0x2B01C6AFu: goto L_2B01C6AF; 19953 case 0x2B01C6B2u: goto L_2B01C6B2; 19954 case 0x2B01C6B5u: goto L_2B01C6B5; 19955 case 0x2B01C6B6u: goto L_2B01C6B6; 19956 case 0x2B01C6BBu: goto L_2B01C6BB; 19957 case 0x2B01C6BEu: goto L_2B01C6BE; 19958 case 0x2B01C6BFu: goto L_2B01C6BF; 19959 case 0x2B01C6C2u: goto L_2B01C6C2; 19960 case 0x2B01C6C7u: goto L_2B01C6C7; 19961 case 0x2B01C6CAu: goto L_2B01C6CA; 19962 case 0x2B01C6CBu: goto L_2B01C6CB; 19963 case 0x2B01C6D0u: goto L_2B01C6D0; 19964 case 0x2B01C6D3u: goto L_2B01C6D3; 19965 case 0x2B01C6D6u: goto L_2B01C6D6; 19966 case 0x2B01C6D8u: goto L_2B01C6D8; 19967 case 0x2B01C6DAu: goto L_2B01C6DA; 19968 case 0x2B01C6DDu: goto L_2B01C6DD; 19969 case 0x2B01C6DFu: goto L_2B01C6DF; 19970 case 0x2B01C6E2u: goto L_2B01C6E2; 19971 case 0x2B01C6E4u: goto L_2B01C6E4; 19972 case 0x2B01C6E6u: goto L_2B01C6E6; 19973 case 0x2B01C6E8u: goto L_2B01C6E8; 19974 case 0x2B01C6EBu: goto L_2B01C6EB; 19975 case 0x2B01C6EDu: goto L_2B01C6ED; 19976 case 0x2B01C6F0u: goto L_2B01C6F0; 19977 case 0x2B01C6F2u: goto L_2B01C6F2; 19978 case 0x2B01C6F4u: goto L_2B01C6F4; 19979 case 0x2B01C6F6u: goto L_2B01C6F6; 19980 case 0x2B01C6FDu: goto L_2B01C6FD; 19981 case 0x2B01C6FEu: goto L_2B01C6FE; 19982 case 0x2B01C703u: goto L_2B01C703; 19983 case 0x2B01C706u: goto L_2B01C706; 19984 case 0x2B01C709u: goto L_2B01C709; 19985 case 0x2B01C70Cu: goto L_2B01C70C; 19986 case 0x2B01C70Du: goto L_2B01C70D; 19987 case 0x2B01C710u: goto L_2B01C710; 19988 case 0x2B01C711u: goto L_2B01C711; 19989 case 0x2B01C712u: goto L_2B01C712; 19990 case 0x2B01C714u: goto L_2B01C714; 19991 case 0x2B01C719u: goto L_2B01C719; 19992 case 0x2B01C71Cu: goto L_2B01C71C; 19993 case 0x2B01C71Fu: goto L_2B01C71F; 19994 case 0x2B01C722u: goto L_2B01C722; 19995 case 0x2B01C727u: goto L_2B01C727; 19996 case 0x2B01C72Au: goto L_2B01C72A; 19997 case 0x2B01C72Cu: goto L_2B01C72C; 19998 case 0x2B01C731u: goto L_2B01C731; 19999 case 0x2B01C733u: goto L_2B01C733; 20000 case 0x2B01C735u: goto L_2B01C735; 20001 case 0x2B01C737u: goto L_2B01C737; 20002 case 0x2B01C73Au: goto L_2B01C73A; 20003 case 0x2B01C73Du: goto L_2B01C73D; 20004 case 0x2B01C73Eu: goto L_2B01C73E; 20005 case 0x2B01C743u: goto L_2B01C743; 20006 case 0x2B01C746u: goto L_2B01C746; 20007 case 0x2B01C747u: goto L_2B01C747; 20008 case 0x2B01C74Au: goto L_2B01C74A; 20009 case 0x2B01C74Du: goto L_2B01C74D; 20010 case 0x2B01C750u: goto L_2B01C750; 20011 case 0x2B01C755u: goto L_2B01C755; 20012 case 0x2B01C758u: goto L_2B01C758; 20013 case 0x2B01C75Bu: goto L_2B01C75B; 20014 case 0x2B01C75Eu: goto L_2B01C75E; 20015 case 0x2B01C75Fu: goto L_2B01C75F; 20016 case 0x2B01C760u: goto L_2B01C760; 20017 case 0x2B01C763u: goto L_2B01C763; 20018 case 0x2B01C766u: goto L_2B01C766; 20019 case 0x2B01C769u: goto L_2B01C769; 20020 case 0x2B01C76Cu: goto L_2B01C76C; 20021 case 0x2B01C770u: goto L_2B01C770; 20022 case 0x2B01C775u: goto L_2B01C775; 20023 case 0x2B01C778u: goto L_2B01C778; 20024 case 0x2B01C779u: goto L_2B01C779; 20025 case 0x2B01C77Eu: goto L_2B01C77E; 20026 case 0x2B01C781u: goto L_2B01C781; 20027 case 0x2B01C784u: goto L_2B01C784; 20028 case 0x2B01C787u: goto L_2B01C787; 20029 case 0x2B01C78Au: goto L_2B01C78A; 20030 case 0x2B01C78Du: goto L_2B01C78D; 20031 case 0x2B01C794u: goto L_2B01C794; 20032 case 0x2B01C799u: goto L_2B01C799; 20033 case 0x2B01C79Eu: goto L_2B01C79E; 20034 case 0x2B01C7A1u: goto L_2B01C7A1; 20035 case 0x2B01C7A4u: goto L_2B01C7A4; 20036 case 0x2B01C7A7u: goto L_2B01C7A7; 20037 case 0x2B01C7AAu: goto L_2B01C7AA; 20038 case 0x2B01C7ADu: goto L_2B01C7AD; 20039 case 0x2B01C7B3u: goto L_2B01C7B3; 20040 case 0x2B01C7B4u: goto L_2B01C7B4; 20041 case 0x2B01C7B5u: goto L_2B01C7B5; 20042 case 0x2B01C7B8u: goto L_2B01C7B8; 20043 case 0x2B01C7BBu: goto L_2B01C7BB; 20044 case 0x2B01C7C5u: goto L_2B01C7C5; 20045 case 0x2B01C7CAu: goto L_2B01C7CA; 20046 case 0x2B01C7CDu: goto L_2B01C7CD; 20047 case 0x2B01C7D3u: goto L_2B01C7D3; 20048 case 0x2B01C7D4u: goto L_2B01C7D4; 20049 case 0x2B01C7D9u: goto L_2B01C7D9; 20050 case 0x2B01C7DAu: goto L_2B01C7DA; 20051 case 0x2B01C7DDu: goto L_2B01C7DD; 20052 case 0x2B01C7E3u: goto L_2B01C7E3; 20053 case 0x2B01C7E8u: goto L_2B01C7E8; 20054 case 0x2B01C7EBu: goto L_2B01C7EB; 20055 case 0x2B01C7EEu: goto L_2B01C7EE; 20056 case 0x2B01C7F1u: goto L_2B01C7F1; 20057 case 0x2B01C7F4u: goto L_2B01C7F4; 20058 case 0x2B01C7F7u: goto L_2B01C7F7; 20059 case 0x2B01C7FAu: goto L_2B01C7FA; 20060 case 0x2B01C7FDu: goto L_2B01C7FD; 20061 case 0x2B01C800u: goto L_2B01C800; 20062 case 0x2B01C803u: goto L_2B01C803; 20063 case 0x2B01C806u: goto L_2B01C806; 20064 case 0x2B01C80Cu: goto L_2B01C80C; 20065 case 0x2B01C80Eu: goto L_2B01C80E; 20066 case 0x2B01C80Fu: goto L_2B01C80F; 20067 case 0x2B01C814u: goto L_2B01C814; 20068 case 0x2B01C818u: goto L_2B01C818; 20069 case 0x2B01C81Eu: goto L_2B01C81E; 20070 case 0x2B01C821u: goto L_2B01C821; 20071 case 0x2B01C824u: goto L_2B01C824; 20072 case 0x2B01C82Au: goto L_2B01C82A; 20073 case 0x2B01C830u: goto L_2B01C830; 20074 case 0x2B01C836u: goto L_2B01C836; 20075 case 0x2B01C83Cu: goto L_2B01C83C; 20076 case 0x2B01C842u: goto L_2B01C842; 20077 case 0x2B01C843u: goto L_2B01C843; 20078 case 0x2B01C844u: goto L_2B01C844; 20079 case 0x2B01C84Au: goto L_2B01C84A; 20080 case 0x2B01C84Eu: goto L_2B01C84E; 20081 case 0x2B01C858u: goto L_2B01C858; 20082 case 0x2B01C85Du: goto L_2B01C85D; 20083 case 0x2B01C863u: goto L_2B01C863; 20084 case 0x2B01C869u: goto L_2B01C869; 20085 case 0x2B01C86Au: goto L_2B01C86A; 20086 case 0x2B01C86Bu: goto L_2B01C86B; 20087 case 0x2B01C871u: goto L_2B01C871; 20088 case 0x2B01C87Bu: goto L_2B01C87B; 20089 case 0x2B01C880u: goto L_2B01C880; 20090 case 0x2B01C883u: goto L_2B01C883; 20091 case 0x2B01C889u: goto L_2B01C889; 20092 case 0x2B01C88Au: goto L_2B01C88A; 20093 case 0x2B01C88Bu: goto L_2B01C88B; 20094 case 0x2B01C88Eu: goto L_2B01C88E; 20095 case 0x2B01C893u: goto L_2B01C893; 20096 case 0x2B01C896u: goto L_2B01C896; 20097 case 0x2B01C89Cu: goto L_2B01C89C; 20098 case 0x2B01C89Du: goto L_2B01C89D; 20099 case 0x2B01C8A2u: goto L_2B01C8A2; 20100 case 0x2B01C8A5u: goto L_2B01C8A5; 20101 case 0x2B01C8A8u: goto L_2B01C8A8; 20102 case 0x2B01C8AAu: goto L_2B01C8AA; 20103 case 0x2B01C8ABu: goto L_2B01C8AB; 20104 case 0x2B01C8AEu: goto L_2B01C8AE; 20105 case 0x2B01C8B1u: goto L_2B01C8B1; 20106 case 0x2B01C8B2u: goto L_2B01C8B2; 20107 case 0x2B01C8B5u: goto L_2B01C8B5; 20108 case 0x2B01C8B6u: goto L_2B01C8B6; 20109 case 0x2B01C8BCu: goto L_2B01C8BC; 20110 case 0x2B01C8BDu: goto L_2B01C8BD; 20111 case 0x2B01C8C2u: goto L_2B01C8C2; 20112 case 0x2B01C8C5u: goto L_2B01C8C5; 20113 case 0x2B01C8CBu: goto L_2B01C8CB; 20114 case 0x2B01C8CEu: goto L_2B01C8CE; 20115 case 0x2B01C8D1u: goto L_2B01C8D1; 20116 case 0x2B01C8D4u: goto L_2B01C8D4; 20117 case 0x2B01C8D7u: goto L_2B01C8D7; 20118 case 0x2B01C8DAu: goto L_2B01C8DA; 20119 case 0x2B01C8E0u: goto L_2B01C8E0; 20120 case 0x2B01C8E1u: goto L_2B01C8E1; 20121 case 0x2B01C8E2u: goto L_2B01C8E2; 20122 case 0x2B01C8E3u: goto L_2B01C8E3; 20123 case 0x2B01C8E6u: goto L_2B01C8E6; 20124 case 0x2B01C8EAu: goto L_2B01C8EA; 20125 case 0x2B01C8F4u: goto L_2B01C8F4; 20126 case 0x2B01C8F9u: goto L_2B01C8F9; 20127 case 0x2B01C8FCu: goto L_2B01C8FC; 20128 case 0x2B01C902u: goto L_2B01C902; 20129 case 0x2B01C903u: goto L_2B01C903; 20130 case 0x2B01C904u: goto L_2B01C904; 20131 case 0x2B01C905u: goto L_2B01C905; 20132 case 0x2B01C908u: goto L_2B01C908; 20133 case 0x2B01C90Eu: goto L_2B01C90E; 20134 case 0x2B01C913u: goto L_2B01C913; 20135 case 0x2B01C916u: goto L_2B01C916; 20136 case 0x2B01C919u: goto L_2B01C919; 20137 case 0x2B01C91Au: goto L_2B01C91A; 20138 case 0x2B01C91Bu: goto L_2B01C91B; 20139 case 0x2B01C91Cu: goto L_2B01C91C; 20140 case 0x2B01C91Fu: goto L_2B01C91F; 20141 case 0x2B01C924u: goto L_2B01C924; 20142 case 0x2B01C927u: goto L_2B01C927; 20143 case 0x2B01C928u: goto L_2B01C928; 20144 case 0x2B01C92Cu: goto L_2B01C92C; 20145 case 0x2B01C931u: goto L_2B01C931; 20146 case 0x2B01C934u: goto L_2B01C934; 20147 case 0x2B01C937u: goto L_2B01C937; 20148 case 0x2B01C939u: goto L_2B01C939; 20149 case 0x2B01C93Bu: goto L_2B01C93B; 20150 case 0x2B01C93Eu: goto L_2B01C93E; 20151 case 0x2B01C944u: goto L_2B01C944; 20152 case 0x2B01C945u: goto L_2B01C945; 20153 case 0x2B01C946u: goto L_2B01C946; 20154 case 0x2B01C949u: goto L_2B01C949; 20155 case 0x2B01C953u: goto L_2B01C953; 20156 case 0x2B01C958u: goto L_2B01C958; 20157 case 0x2B01C95Bu: goto L_2B01C95B; 20158 case 0x2B01C961u: goto L_2B01C961; 20159 case 0x2B01C962u: goto L_2B01C962; 20160 case 0x2B01C963u: goto L_2B01C963; 20161 case 0x2B01C964u: goto L_2B01C964; 20162 case 0x2B01C967u: goto L_2B01C967; 20163 case 0x2B01C96Du: goto L_2B01C96D; 20164 case 0x2B01C972u: goto L_2B01C972; 20165 case 0x2B01C975u: goto L_2B01C975; 20166 case 0x2B01C978u: goto L_2B01C978; 20167 case 0x2B01C979u: goto L_2B01C979; 20168 case 0x2B01C97Au: goto L_2B01C97A; 20169 case 0x2B01C97Bu: goto L_2B01C97B; 20170 case 0x2B01C97Du: goto L_2B01C97D; 20171 case 0x2B01C980u: goto L_2B01C980; 20172 case 0x2B01C986u: goto L_2B01C986; 20173 case 0x2B01C987u: goto L_2B01C987; 20174 case 0x2B01C988u: goto L_2B01C988; 20175 case 0x2B01C989u: goto L_2B01C989; 20176 case 0x2B01C98Cu: goto L_2B01C98C; 20177 case 0x2B01C996u: goto L_2B01C996; 20178 case 0x2B01C99Bu: goto L_2B01C99B; 20179 case 0x2B01C99Eu: goto L_2B01C99E; 20180 case 0x2B01C9A4u: goto L_2B01C9A4; 20181 case 0x2B01C9A5u: goto L_2B01C9A5; 20182 case 0x2B01C9A6u: goto L_2B01C9A6; 20183 case 0x2B01C9ACu: goto L_2B01C9AC; 20184 case 0x2B01C9ADu: goto L_2B01C9AD; 20185 case 0x2B01C9B0u: goto L_2B01C9B0; 20186 case 0x2B01C9B5u: goto L_2B01C9B5; 20187 case 0x2B01C9B8u: goto L_2B01C9B8; 20188 case 0x2B01C9BBu: goto L_2B01C9BB; 20189 case 0x2B01C9BCu: goto L_2B01C9BC; 20190 case 0x2B01C9BDu: goto L_2B01C9BD; 20191 case 0x2B01C9BEu: goto L_2B01C9BE; 20192 case 0x2B01C9C1u: goto L_2B01C9C1; 20193 case 0x2B01C9C6u: goto L_2B01C9C6; 20194 case 0x2B01C9C9u: goto L_2B01C9C9; 20195 case 0x2B01C9CAu: goto L_2B01C9CA; 20196 case 0x2B01C9CDu: goto L_2B01C9CD; 20197 case 0x2B01C9D2u: goto L_2B01C9D2; 20198 case 0x2B01C9D5u: goto L_2B01C9D5; 20199 case 0x2B01C9D8u: goto L_2B01C9D8; 20200 case 0x2B01C9D9u: goto L_2B01C9D9; 20201 case 0x2B01C9DEu: goto L_2B01C9DE; 20202 case 0x2B01C9E1u: goto L_2B01C9E1; 20203 case 0x2B01C9E2u: goto L_2B01C9E2; 20204 case 0x2B01C9E7u: goto L_2B01C9E7; 20205 case 0x2B01C9EAu: goto L_2B01C9EA; 20206 case 0x2B01C9EDu: goto L_2B01C9ED; 20207 case 0x2B01C9EFu: goto L_2B01C9EF; 20208 case 0x2B01C9F1u: goto L_2B01C9F1; 20209 case 0x2B01C9F4u: goto L_2B01C9F4; 20210 case 0x2B01C9F6u: goto L_2B01C9F6; 20211 case 0x2B01C9F9u: goto L_2B01C9F9; 20212 case 0x2B01C9FBu: goto L_2B01C9FB; 20213 case 0x2B01C9FDu: goto L_2B01C9FD; 20214 case 0x2B01C9FFu: goto L_2B01C9FF; 20215 case 0x2B01CA02u: goto L_2B01CA02; 20216 case 0x2B01CA04u: goto L_2B01CA04; 20217 case 0x2B01CA07u: goto L_2B01CA07; 20218 case 0x2B01CA09u: goto L_2B01CA09; 20219 case 0x2B01CA0Bu: goto L_2B01CA0B; 20220 case 0x2B01CA0Du: goto L_2B01CA0D; 20221 case 0x2B01CA14u: goto L_2B01CA14; 20222 case 0x2B01CA15u: goto L_2B01CA15; 20223 case 0x2B01CA1Au: goto L_2B01CA1A; 20224 case 0x2B01CA1Du: goto L_2B01CA1D; 20225 case 0x2B01CA1Eu: goto L_2B01CA1E; 20226 case 0x2B01CA21u: goto L_2B01CA21; 20227 case 0x2B01CA24u: goto L_2B01CA24; 20228 case 0x2B01CA27u: goto L_2B01CA27; 20229 case 0x2B01CA28u: goto L_2B01CA28; 20230 case 0x2B01CA29u: goto L_2B01CA29; 20231 case 0x2B01CA2Bu: goto L_2B01CA2B; 20232 case 0x2B01CA30u: goto L_2B01CA30; 20233 case 0x2B01CA33u: goto L_2B01CA33; 20234 case 0x2B01CA36u: goto L_2B01CA36; 20235 case 0x2B01CA39u: goto L_2B01CA39; 20236 case 0x2B01CA3Eu: goto L_2B01CA3E; 20237 case 0x2B01CA41u: goto L_2B01CA41; 20238 case 0x2B01CA43u: goto L_2B01CA43; 20239 case 0x2B01CA48u: goto L_2B01CA48; 20240 case 0x2B01CA4Au: goto L_2B01CA4A; 20241 case 0x2B01CA4Cu: goto L_2B01CA4C; 20242 case 0x2B01CA4Eu: goto L_2B01CA4E; 20243 case 0x2B01CA51u: goto L_2B01CA51; 20244 case 0x2B01CA57u: goto L_2B01CA57; 20245 case 0x2B01CA58u: goto L_2B01CA58; 20246 case 0x2B01CA5Du: goto L_2B01CA5D; 20247 case 0x2B01CA60u: goto L_2B01CA60; 20248 case 0x2B01CA61u: goto L_2B01CA61; 20249 case 0x2B01CA67u: goto L_2B01CA67; 20250 case 0x2B01CA6Du: goto L_2B01CA6D; 20251 case 0x2B01CA73u: goto L_2B01CA73; 20252 case 0x2B01CA78u: goto L_2B01CA78; 20253 case 0x2B01CA7Bu: goto L_2B01CA7B; 20254 case 0x2B01CA7Eu: goto L_2B01CA7E; 20255 case 0x2B01CA81u: goto L_2B01CA81; 20256 case 0x2B01CA83u: goto L_2B01CA83; 20257 case 0x2B01CA86u: goto L_2B01CA86; 20258 case 0x2B01CA89u: goto L_2B01CA89; 20259 case 0x2B01CA8Cu: goto L_2B01CA8C; 20260 case 0x2B01CA8Fu: goto L_2B01CA8F; 20261 case 0x2B01CA92u: goto L_2B01CA92; 20262 case 0x2B01CA94u: goto L_2B01CA94; 20263 case 0x2B01CA95u: goto L_2B01CA95; 20264 case 0x2B01CA97u: goto L_2B01CA97; 20265 case 0x2B01CA9Cu: goto L_2B01CA9C; 20266 case 0x2B01CA9Fu: goto L_2B01CA9F; 20267 case 0x2B01CAA2u: goto L_2B01CAA2; 20268 case 0x2B01CAA4u: goto L_2B01CAA4; 20269 case 0x2B01CAA6u: goto L_2B01CAA6; 20270 case 0x2B01CAA9u: goto L_2B01CAA9; 20271 case 0x2B01CAAAu: goto L_2B01CAAA; 20272 case 0x2B01CAAFu: goto L_2B01CAAF; 20273 case 0x2B01CAB2u: goto L_2B01CAB2; 20274 case 0x2B01CAB5u: goto L_2B01CAB5; 20275 case 0x2B01CAB8u: goto L_2B01CAB8; 20276 case 0x2B01CAB9u: goto L_2B01CAB9; 20277 case 0x2B01CABAu: goto L_2B01CABA; 20278 case 0x2B01CABDu: goto L_2B01CABD; 20279 case 0x2B01CAC0u: goto L_2B01CAC0; 20280 case 0x2B01CAC3u: goto L_2B01CAC3; 20281 case 0x2B01CAC6u: goto L_2B01CAC6; 20282 case 0x2B01CACDu: goto L_2B01CACD; 20283 case 0x2B01CAD2u: goto L_2B01CAD2; 20284 case 0x2B01CAD5u: goto L_2B01CAD5; 20285 case 0x2B01CAD6u: goto L_2B01CAD6; 20286 case 0x2B01CADBu: goto L_2B01CADB; 20287 case 0x2B01CADEu: goto L_2B01CADE; 20288 case 0x2B01CAE3u: goto L_2B01CAE3; 20289 case 0x2B01CAE4u: goto L_2B01CAE4; 20290 case 0x2B01CAE6u: goto L_2B01CAE6; 20291 case 0x2B01CAEBu: goto L_2B01CAEB; 20292 case 0x2B01CAEDu: goto L_2B01CAED; 20293 case 0x2B01CAF2u: goto L_2B01CAF2; 20294 case 0x2B01CAF7u: goto L_2B01CAF7; 20295 case 0x2B01CAF9u: goto L_2B01CAF9; 20296 case 0x2B01CAFFu: goto L_2B01CAFF; 20297 case 0x2B01CB01u: goto L_2B01CB01; 20298 case 0x2B01CB02u: goto L_2B01CB02; 20299 case 0x2B01CB08u: goto L_2B01CB08; 20300 case 0x2B01CB0Au: goto L_2B01CB0A; 20301 case 0x2B01CB0Cu: goto L_2B01CB0C; 20302 case 0x2B01CB11u: goto L_2B01CB11; 20303 case 0x2B01CB13u: goto L_2B01CB13; 20304 case 0x2B01CB18u: goto L_2B01CB18; 20305 case 0x2B01CB1Du: goto L_2B01CB1D; 20306 case 0x2B01CB1Fu: goto L_2B01CB1F; 20307 case 0x2B01CB21u: goto L_2B01CB21; 20308 case 0x2B01CB26u: goto L_2B01CB26; 20309 case 0x2B01CB28u: goto L_2B01CB28; 20310 case 0x2B01CB2Du: goto L_2B01CB2D; 20311 case 0x2B01CB2Fu: goto L_2B01CB2F; 20312 case 0x2B01CB30u: goto L_2B01CB30; 20313 case 0x2B01CB32u: goto L_2B01CB32; 20314 case 0x2B01CB37u: goto L_2B01CB37; 20315 case 0x2B01CB39u: goto L_2B01CB39; 20316 case 0x2B01CB3Eu: goto L_2B01CB3E; 20317 case 0x2B01CB40u: goto L_2B01CB40; 20318 case 0x2B01CB46u: goto L_2B01CB46; 20319 case 0x2B01CB49u: goto L_2B01CB49; 20320 case 0x2B01CB4Bu: goto L_2B01CB4B; 20321 case 0x2B01CB4Du: goto L_2B01CB4D; 20322 case 0x2B01CB53u: goto L_2B01CB53; 20323 case 0x2B01CB5Au: goto L_2B01CB5A; 20324 case 0x2B01CB5Cu: goto L_2B01CB5C; 20325 case 0x2B01CB5Eu: goto L_2B01CB5E; 20326 case 0x2B01CB63u: goto L_2B01CB63; 20327 case 0x2B01CB65u: goto L_2B01CB65; 20328 case 0x2B01CB6Au: goto L_2B01CB6A; 20329 case 0x2B01CB6Cu: goto L_2B01CB6C; 20330 case 0x2B01CB6Eu: goto L_2B01CB6E; 20331 case 0x2B01CB70u: goto L_2B01CB70; 20332 case 0x2B01CB75u: goto L_2B01CB75; 20333 case 0x2B01CB77u: goto L_2B01CB77; 20334 case 0x2B01CB7Cu: goto L_2B01CB7C; 20335 case 0x2B01CB7Eu: goto L_2B01CB7E; 20336 case 0x2B01CB80u: goto L_2B01CB80; 20337 case 0x2B01CB85u: goto L_2B01CB85; 20338 case 0x2B01CB87u: goto L_2B01CB87; 20339 case 0x2B01CB8Cu: goto L_2B01CB8C; 20340 case 0x2B01CB8Eu: goto L_2B01CB8E; 20341 case 0x2B01CB90u: goto L_2B01CB90; 20342 case 0x2B01CB95u: goto L_2B01CB95; 20343 case 0x2B01CB97u: goto L_2B01CB97; 20344 case 0x2B01CB9Cu: goto L_2B01CB9C; 20345 case 0x2B01CB9Eu: goto L_2B01CB9E; 20346 case 0x2B01CB9Fu: goto L_2B01CB9F; 20347 case 0x2B01CBA1u: goto L_2B01CBA1; 20348 case 0x2B01CBA6u: goto L_2B01CBA6; 20349 case 0x2B01CBA9u: goto L_2B01CBA9; 20350 case 0x2B01CBAEu: goto L_2B01CBAE; 20351 case 0x2B01CBB0u: goto L_2B01CBB0; 20352 case 0x2B01CBB2u: goto L_2B01CBB2; 20353 case 0x2B01CBB6u: goto L_2B01CBB6; 20354 case 0x2B01CBB8u: goto L_2B01CBB8; 20355 case 0x2B01CBBFu: goto L_2B01CBBF; 20356 case 0x2B01CBC3u: goto L_2B01CBC3; 20357 case 0x2B01CBC5u: goto L_2B01CBC5; 20358 case 0x2B01CBC8u: goto L_2B01CBC8; 20359 case 0x2B01CBCBu: goto L_2B01CBCB; 20360 case 0x2B01CBCCu: goto L_2B01CBCC; 20361 case 0x2B01CBCDu: goto L_2B01CBCD; 20362 case 0x2B01CBD4u: goto L_2B01CBD4; 20363 case 0x2B01CBD5u: goto L_2B01CBD5; 20364 case 0x2B01CBD7u: goto L_2B01CBD7; 20365 case 0x2B01CBD8u: goto L_2B01CBD8; 20366 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 20367 } 20368 RECOMP_REGS_OUT(); 20369 } 20370 20371 void sub_2B01CBA6(void) { 20372 int _fpu_cmp = 0; 20373 uint32_t _cf = 0; 20374 int _df = 1; 20375 uint32_t _flag_k = FK_NONE; 20376 uint32_t _flag_a = 0, _flag_b = 0; 20377 uint32_t _itail_tgt = 0; 20378 RECOMP_REGS_LOCALS 20379 RECOMP_ENTER(0x2B01CBA6u); 20380 20381 L_2B01CBA6: 20382 ecx = MEM32(esi + 0x64); /* 0x2B01CBA6: mov ecx, dword ptr [esi + 0x64] */ 20383 RECOMP_ICALL(0x2B026CC0u); /* 0x2B01CBA9: call 0x2b026cc0 */ /* not lifted */ 20384 RECOMP_FLAGS_IN(); 20385 /* test LO8(eax), LO8(eax) */ /* 0x2B01CBAE: test al, al */ 20386 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20387 _cf = 0; 20388 _flag_k = FK_NARROW(FK_TEST, 24); 20389 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01CBC8; /* 0x2B01CBB0: je 0x2b01cbc8 */ 20390 L_2B01CBB2: 20391 /* cmp MEM32(esi + 0x7C), 4 */ /* 0x2B01CBB2: cmp dword ptr [esi + 0x7c], 4 */ 20392 _flag_a = (uint32_t)(MEM32(esi + 0x7C)); _flag_b = (uint32_t)(4); 20393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20394 _flag_k = FK_CMP; 20395 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01CBBF; /* 0x2B01CBB6: jne 0x2b01cbbf */ 20396 L_2B01CBB8: 20397 MEM32(esi + 0x7C) = 1; /* 0x2B01CBB8: mov dword ptr [esi + 0x7c], 1 */ 20398 L_2B01CBBF: 20399 /* cmp MEM32(esi + 0x7C), 2 */ /* 0x2B01CBBF: cmp dword ptr [esi + 0x7c], 2 */ 20400 _flag_a = (uint32_t)(MEM32(esi + 0x7C)); _flag_b = (uint32_t)(2); 20401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20402 _flag_k = FK_CMP; 20403 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01CBC8; /* 0x2B01CBC3: jne 0x2b01cbc8 */ 20404 L_2B01CBC5: 20405 MEM32(esi + 0x7C) = ebx; /* 0x2B01CBC5: mov dword ptr [esi + 0x7c], ebx */ 20406 L_2B01CBC8: 20407 ecx = MEM32(ebp + (-0xC)); /* 0x2B01CBC8: mov ecx, dword ptr [ebp - 0xc] */ 20408 edi = POP32_VAL(esp); /* 0x2B01CBCB: pop edi */ 20409 esi = POP32_VAL(esp); /* 0x2B01CBCC: pop esi */ 20410 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01CBCD: mov dword ptr fs:[0], ecx */ 20411 ebx = POP32_VAL(esp); /* 0x2B01CBD4: pop ebx */ 20412 esp = ebp; /* 0x2B01CBD5: mov esp, ebp */ 20413 ebp = POP32_VAL(esp); /* 0x2B01CBD7: pop ebp */ 20414 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01CBD8: ret 4 */ 20415 RECOMP_REGS_OUT(); 20416 } 20417 20418 void sub_2B01CC00(void) { 20419 int _fpu_cmp = 0; 20420 uint32_t _cf = 0; 20421 int _df = 1; 20422 uint32_t _flag_k = FK_NONE; 20423 uint32_t _flag_a = 0, _flag_b = 0; 20424 uint32_t _itail_tgt = 0; 20425 RECOMP_REGS_LOCALS 20426 RECOMP_ENTER(0x2B01CC00u); 20427 20428 L_2B01CC00: 20429 PUSH32(esp, ebp); /* 0x2B01CC00: push ebp */ 20430 ebp = esp; /* 0x2B01CC01: mov ebp, esp */ 20431 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01CC03: push -1 */ 20432 PUSH32(esp, 0x2B0AD1ECu); /* 0x2B01CC05: push 0x2b0ad1ec */ 20433 eax = MEM32(FS_BASE + (0)); /* 0x2B01CC0A: mov eax, dword ptr fs:[0] */ 20434 PUSH32(esp, eax); /* 0x2B01CC10: push eax */ 20435 MEM32(FS_BASE + (0)) = esp; /* 0x2B01CC11: mov dword ptr fs:[0], esp */ 20436 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xE8u); 20437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20438 esp = esp - 0xE8u; /* 0x2B01CC18: sub esp, 0xe8 */ 20439 _flag_k = FK_CMP; 20440 PUSH32(esp, ebx); /* 0x2B01CC1E: push ebx */ 20441 PUSH32(esp, esi); /* 0x2B01CC1F: push esi */ 20442 esi = ecx; /* 0x2B01CC20: mov esi, ecx */ 20443 eax = MEM32(esi + 0x7C); /* 0x2B01CC22: mov eax, dword ptr [esi + 0x7c] */ 20444 /* cmp eax, 1 */ /* 0x2B01CC25: cmp eax, 1 */ 20445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 20446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20447 _flag_k = FK_CMP; 20448 PUSH32(esp, edi); /* 0x2B01CC28: push edi */ 20449 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01CFD0; /* 0x2B01CC29: je 0x2b01cfd0 */ 20450 L_2B01CC2F: 20451 /* cmp eax, 4 */ /* 0x2B01CC2F: cmp eax, 4 */ 20452 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 20453 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20454 _flag_k = FK_CMP; 20455 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01CFD0; /* 0x2B01CC32: je 0x2b01cfd0 */ 20456 L_2B01CC38: 20457 /* cmp eax, 3 */ /* 0x2B01CC38: cmp eax, 3 */ 20458 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 20459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20460 _flag_k = FK_CMP; 20461 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01CC5D; /* 0x2B01CC3B: je 0x2b01cc5d */ 20462 L_2B01CC3D: 20463 ecx = MEM32(esi + 0x68); /* 0x2B01CC3D: mov ecx, dword ptr [esi + 0x68] */ 20464 PUSH32(esp, 1); /* 0x2B01CC40: push 1 */ 20465 PUSH32(esp, 0x2B0E3140u); /* 0x2B01CC42: push 0x2b0e3140 */ 20466 RECOMP_ICALL(0x2B02B960u); /* 0x2B01CC47: call 0x2b02b960 */ /* not lifted */ 20467 RECOMP_FLAGS_IN(); 20468 MEM32(esi + 0xDC) = 0x3F266666u; /* 0x2B01CC4C: mov dword ptr [esi + 0xdc], 0x3f266666 */ 20469 MEM32(esi + 0x7C) = 3; /* 0x2B01CC56: mov dword ptr [esi + 0x7c], 3 */ 20470 L_2B01CC5D: 20471 fp_push(*(float*)&MEM32(esi + 0xDC)); /* 0x2B01CC5D: fld dword ptr [esi + 0xdc] */ 20472 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B01CC63: fcomp dword ptr [0x2b0b61b8] */ 20473 fp_pop(); 20474 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B01CC69: fnstsw ax */ 20475 /* test HI8(eax), 0x41u */ /* 0x2B01CC6B: test ah, 0x41 */ 20476 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 20477 _cf = 0; 20478 _flag_k = FK_NARROW(FK_TEST, 24); 20479 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B01CC98; /* 0x2B01CC6E: jne 0x2b01cc98 */ 20480 L_2B01CC70: 20481 RECOMP_ICALL(MEM32(0x2B0B53BC)); /* 0x2B01CC70: call dword ptr [0x2b0b53bc] */ 20482 RECOMP_FLAGS_IN(); 20483 eax = MEM32(eax + 0x14); /* 0x2B01CC76: mov eax, dword ptr [eax + 0x14] */ 20484 fp_push(*(float*)&MEM32(eax)); /* 0x2B01CC79: fld dword ptr [eax] */ 20485 _st[0] = (double)*(float*)ADDR(esi + 0xDC) - _st[0]; /* 0x2B01CC7B: fsubr dword ptr [esi + 0xdc] */ 20486 { float _v = (float)_st[0]; *(float*)ADDR(esi + 0xDC) = _v; } /* 0x2B01CC81: fst dword ptr [esi + 0xdc] */ 20487 _fpu_cmp = FPU_CMP(_st[0], (double)*(float*)ADDR(0x2B0B61B8)); /* 0x2B01CC87: fcomp dword ptr [0x2b0b61b8] */ 20488 fp_pop(); 20489 eax = (eax & 0xFFFF0000u) | ((_fpu_cmp >= 0x10000) ? (uint32_t)(_fpu_cmp & 0x4700) : _fpu_cmp == 2 ? 0x4500u : _fpu_cmp < 0 ? 0x0100u : _fpu_cmp == 0 ? 0x4000u : 0x0000u); /* 0x2B01CC8D: fnstsw ax */ 20490 /* test HI8(eax), 0x41u */ /* 0x2B01CC8F: test ah, 0x41 */ 20491 _flag_a = (uint32_t)(HI8(eax)) << 24; _flag_b = (uint32_t)(0x41u) << 24; 20492 _cf = 0; 20493 _flag_k = FK_NARROW(FK_TEST, 24); 20494 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01CFD0; /* 0x2B01CC92: je 0x2b01cfd0 */ 20495 L_2B01CC98: 20496 SET_LO8(ecx, MEM8(ebp + (-0x11))); /* 0x2B01CC98: mov cl, byte ptr [ebp - 0x11] */ 20497 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20498 edi = 0; /* 0x2B01CC9B: xor edi, edi */ 20499 _cf = 0; 20500 _flag_k = FK_TEST; 20501 MEM8(ebp + (-0x60)) = (uint8_t)(LO8(ecx)); /* 0x2B01CC9D: mov byte ptr [ebp - 0x60], cl */ 20502 MEM32(ebp + (-0x5C)) = edi; /* 0x2B01CCA0: mov dword ptr [ebp - 0x5c], edi */ 20503 MEM32(ebp + (-0x58)) = edi; /* 0x2B01CCA3: mov dword ptr [ebp - 0x58], edi */ 20504 MEM32(ebp + (-0x54)) = edi; /* 0x2B01CCA6: mov dword ptr [ebp - 0x54], edi */ 20505 SET_LO8(edx, MEM8(ebp + (-0x11))); /* 0x2B01CCA9: mov dl, byte ptr [ebp - 0x11] */ 20506 MEM32(ebp + (-0x4)) = edi; /* 0x2B01CCAC: mov dword ptr [ebp - 4], edi */ 20507 MEM8(ebp + (-0x34)) = (uint8_t)(LO8(edx)); /* 0x2B01CCAF: mov byte ptr [ebp - 0x34], dl */ 20508 MEM32(ebp + (-0x30)) = edi; /* 0x2B01CCB2: mov dword ptr [ebp - 0x30], edi */ 20509 MEM32(ebp + (-0x2C)) = edi; /* 0x2B01CCB5: mov dword ptr [ebp - 0x2c], edi */ 20510 MEM32(ebp + (-0x28)) = edi; /* 0x2B01CCB8: mov dword ptr [ebp - 0x28], edi */ 20511 eax = ebp + (-0x10); /* 0x2B01CCBB: lea eax, [ebp - 0x10] */ 20512 PUSH32(esp, eax); /* 0x2B01CCBE: push eax */ 20513 ebx = 2; /* 0x2B01CCBF: mov ebx, 2 */ 20514 PUSH32(esp, edi); /* 0x2B01CCC4: push edi */ 20515 ecx = ebp + (-0x34); /* 0x2B01CCC5: lea ecx, [ebp - 0x34] */ 20516 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01CCC8: mov byte ptr [ebp - 4], 1 */ 20517 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01CCCC: mov dword ptr [ebp - 0x10], ebx */ 20518 RECOMP_ICALL(0x2B01D840u); /* 0x2B01CCCF: call 0x2b01d840 */ /* not lifted */ 20519 RECOMP_FLAGS_IN(); 20520 edx = MEM32(ebp + (-0x2C)); /* 0x2B01CCD4: mov edx, dword ptr [ebp - 0x2c] */ 20521 ecx = ebp + (-0x10); /* 0x2B01CCD7: lea ecx, [ebp - 0x10] */ 20522 PUSH32(esp, ecx); /* 0x2B01CCDA: push ecx */ 20523 PUSH32(esp, edx); /* 0x2B01CCDB: push edx */ 20524 ecx = ebp + (-0x34); /* 0x2B01CCDC: lea ecx, [ebp - 0x34] */ 20525 MEM32(ebp + (-0x10)) = 3; /* 0x2B01CCDF: mov dword ptr [ebp - 0x10], 3 */ 20526 RECOMP_ICALL(0x2B01D840u); /* 0x2B01CCE6: call 0x2b01d840 */ /* not lifted */ 20527 RECOMP_FLAGS_IN(); 20528 ecx = MEM32(ebp + (-0x58)); /* 0x2B01CCEB: mov ecx, dword ptr [ebp - 0x58] */ 20529 eax = ebp + (-0x34); /* 0x2B01CCEE: lea eax, [ebp - 0x34] */ 20530 PUSH32(esp, eax); /* 0x2B01CCF1: push eax */ 20531 PUSH32(esp, ecx); /* 0x2B01CCF2: push ecx */ 20532 ecx = ebp + (-0x60); /* 0x2B01CCF3: lea ecx, [ebp - 0x60] */ 20533 RECOMP_ICALL(0x2B01DA50u); /* 0x2B01CCF6: call 0x2b01da50 */ /* not lifted */ 20534 RECOMP_FLAGS_IN(); 20535 ecx = MEM32(esi + 0x64); /* 0x2B01CCFB: mov ecx, dword ptr [esi + 0x64] */ 20536 edx = ebp + (-0x34); /* 0x2B01CCFE: lea edx, [ebp - 0x34] */ 20537 PUSH32(esp, edx); /* 0x2B01CD01: push edx */ 20538 RECOMP_ICALL(0x2B027DA0u); /* 0x2B01CD02: call 0x2b027da0 */ /* not lifted */ 20539 RECOMP_FLAGS_IN(); 20540 ecx = MEM32(esi + 0x64); /* 0x2B01CD07: mov ecx, dword ptr [esi + 0x64] */ 20541 eax = MEM32(ecx + 0x44); /* 0x2B01CD0A: mov eax, dword ptr [ecx + 0x44] */ 20542 edx = eax; /* 0x2B01CD0D: mov edx, eax */ 20543 PUSH32(esp, edx); /* 0x2B01CD0F: push edx */ 20544 MEM32(ebp + (-0x10)) = eax; /* 0x2B01CD10: mov dword ptr [ebp - 0x10], eax */ 20545 eax = ecx + 0x34; /* 0x2B01CD13: lea eax, [ecx + 0x34] */ 20546 PUSH32(esp, eax); /* 0x2B01CD16: push eax */ 20547 edx = ecx + 0x28; /* 0x2B01CD17: lea edx, [ecx + 0x28] */ 20548 PUSH32(esp, edx); /* 0x2B01CD1A: push edx */ 20549 eax = ebp + (-0x34); /* 0x2B01CD1B: lea eax, [ebp - 0x34] */ 20550 PUSH32(esp, eax); /* 0x2B01CD1E: push eax */ 20551 RECOMP_ICALL(0x2B027C80u); /* 0x2B01CD1F: call 0x2b027c80 */ /* not lifted */ 20552 RECOMP_FLAGS_IN(); 20553 MEM32(ebp + (-0xB0)) = 0x3F800000u; /* 0x2B01CD24: mov dword ptr [ebp - 0xb0], 0x3f800000 */ 20554 MEM32(ebp + (-0xAC)) = edi; /* 0x2B01CD2E: mov dword ptr [ebp - 0xac], edi */ 20555 MEM32(ebp + (-0xA8)) = edi; /* 0x2B01CD34: mov dword ptr [ebp - 0xa8], edi */ 20556 MEM32(ebp + (-0xA4)) = edi; /* 0x2B01CD3A: mov dword ptr [ebp - 0xa4], edi */ 20557 MEM32(ebp + (-0xA0)) = edi; /* 0x2B01CD40: mov dword ptr [ebp - 0xa0], edi */ 20558 MEM32(ebp + (-0x9C)) = 0x3F800000u; /* 0x2B01CD46: mov dword ptr [ebp - 0x9c], 0x3f800000 */ 20559 MEM32(ebp + (-0x98)) = edi; /* 0x2B01CD50: mov dword ptr [ebp - 0x98], edi */ 20560 MEM32(ebp + (-0x94)) = edi; /* 0x2B01CD56: mov dword ptr [ebp - 0x94], edi */ 20561 MEM32(ebp + (-0x90)) = edi; /* 0x2B01CD5C: mov dword ptr [ebp - 0x90], edi */ 20562 MEM32(ebp + (-0x8C)) = edi; /* 0x2B01CD62: mov dword ptr [ebp - 0x8c], edi */ 20563 MEM32(ebp + (-0x88)) = 0x3F800000u; /* 0x2B01CD68: mov dword ptr [ebp - 0x88], 0x3f800000 */ 20564 MEM32(ebp + (-0x84)) = edi; /* 0x2B01CD72: mov dword ptr [ebp - 0x84], edi */ 20565 MEM32(ebp + (-0x80)) = edi; /* 0x2B01CD78: mov dword ptr [ebp - 0x80], edi */ 20566 MEM32(ebp + (-0x7C)) = edi; /* 0x2B01CD7B: mov dword ptr [ebp - 0x7c], edi */ 20567 MEM32(ebp + (-0x78)) = edi; /* 0x2B01CD7E: mov dword ptr [ebp - 0x78], edi */ 20568 MEM32(ebp + (-0x74)) = 0x3F800000u; /* 0x2B01CD81: mov dword ptr [ebp - 0x74], 0x3f800000 */ 20569 ecx = ebp + (-0xB0); /* 0x2B01CD88: lea ecx, [ebp - 0xb0] */ 20570 PUSH32(esp, ecx); /* 0x2B01CD8E: push ecx */ 20571 ecx = MEM32(esi + 0x68); /* 0x2B01CD8F: mov ecx, dword ptr [esi + 0x68] */ 20572 PUSH32(esp, 0x2B0E312Cu); /* 0x2B01CD92: push 0x2b0e312c */ 20573 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01CD97: mov byte ptr [ebp - 4], bl */ 20574 RECOMP_ICALL(0x2B02B420u); /* 0x2B01CD9A: call 0x2b02b420 */ /* not lifted */ 20575 RECOMP_FLAGS_IN(); 20576 ecx = eax; /* 0x2B01CD9F: mov ecx, eax */ 20577 RECOMP_ICALL(0x2B0AB0DCu); /* 0x2B01CDA1: call 0x2b0ab0dc */ /* not lifted */ 20578 RECOMP_FLAGS_IN(); 20579 /* test LO8(eax), LO8(eax) */ /* 0x2B01CDA6: test al, al */ 20580 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 20581 _cf = 0; 20582 _flag_k = FK_NARROW(FK_TEST, 24); 20583 if (TEST_Z(_flag_a, _flag_b)) goto L_2B01CEBB; /* 0x2B01CDA8: je 0x2b01cebb */ 20584 L_2B01CDAE: 20585 ecx = MEM32(esi + 0x68); /* 0x2B01CDAE: mov ecx, dword ptr [esi + 0x68] */ 20586 RECOMP_ICALL(0x2B02B420u); /* 0x2B01CDB1: call 0x2b02b420 */ /* not lifted */ 20587 RECOMP_FLAGS_IN(); 20588 ecx = eax; /* 0x2B01CDB6: mov ecx, eax */ 20589 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x3Cu); 20590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20591 ecx = ecx + 0x3Cu; /* 0x2B01CDB8: add ecx, 0x3c */ 20592 _flag_k = FK_ADD; 20593 RECOMP_ICALL(MEM32(0x2B0B5634)); /* 0x2B01CDBB: call dword ptr [0x2b0b5634] */ 20594 RECOMP_FLAGS_IN(); 20595 PUSH32(esp, eax); /* 0x2B01CDC1: push eax */ 20596 edx = ebp + (-0xF4); /* 0x2B01CDC2: lea edx, [ebp - 0xf4] */ 20597 PUSH32(esp, edx); /* 0x2B01CDC8: push edx */ 20598 ecx = ebp + (-0xB0); /* 0x2B01CDC9: lea ecx, [ebp - 0xb0] */ 20599 RECOMP_ICALL(MEM32(0x2B0B60C4)); /* 0x2B01CDCF: call dword ptr [0x2b0b60c4] */ 20600 RECOMP_FLAGS_IN(); 20601 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x30u); 20602 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20603 eax = eax + 0x30u; /* 0x2B01CDD5: add eax, 0x30 */ 20604 _flag_k = FK_ADD; 20605 ecx = MEM32(eax); /* 0x2B01CDD8: mov ecx, dword ptr [eax] */ 20606 MEM32(ebp + (-0x40)) = ecx; /* 0x2B01CDDA: mov dword ptr [ebp - 0x40], ecx */ 20607 fp_push(*(float*)&MEM32(ebp + (-0x40))); /* 0x2B01CDDD: fld dword ptr [ebp - 0x40] */ 20608 edx = MEM32(eax + 0x4); /* 0x2B01CDE0: mov edx, dword ptr [eax + 4] */ 20609 _st[0] -= (double)*(float*)ADDR(0x2B0B64E0); /* 0x2B01CDE3: fsub dword ptr [0x2b0b64e0] */ 20610 SET_LO8(ecx, MEM8(ebp + (-0x11))); /* 0x2B01CDE9: mov cl, byte ptr [ebp - 0x11] */ 20611 MEM32(ebp + (-0x3C)) = edx; /* 0x2B01CDEC: mov dword ptr [ebp - 0x3c], edx */ 20612 eax = MEM32(eax + 0x8); /* 0x2B01CDEF: mov eax, dword ptr [eax + 8] */ 20613 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x40)) = _v; } /* 0x2B01CDF2: fstp dword ptr [ebp - 0x40] */ 20614 fp_push(*(float*)&MEM32(ebp + (-0x3C))); /* 0x2B01CDF5: fld dword ptr [ebp - 0x3c] */ 20615 MEM32(ebp + (-0x38)) = eax; /* 0x2B01CDF8: mov dword ptr [ebp - 0x38], eax */ 20616 _st[0] -= (double)*(float*)ADDR(0x2B0B64DC); /* 0x2B01CDFB: fsub dword ptr [0x2b0b64dc] */ 20617 MEM8(ebp + (-0x50)) = (uint8_t)(LO8(ecx)); /* 0x2B01CE01: mov byte ptr [ebp - 0x50], cl */ 20618 MEM32(ebp + (-0x4C)) = edi; /* 0x2B01CE04: mov dword ptr [ebp - 0x4c], edi */ 20619 MEM32(ebp + (-0x48)) = edi; /* 0x2B01CE07: mov dword ptr [ebp - 0x48], edi */ 20620 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x3C)) = _v; } /* 0x2B01CE0A: fstp dword ptr [ebp - 0x3c] */ 20621 MEM32(ebp + (-0x44)) = edi; /* 0x2B01CE0D: mov dword ptr [ebp - 0x44], edi */ 20622 fp_push(*(float*)&MEM32(ebp + (-0x38))); /* 0x2B01CE10: fld dword ptr [ebp - 0x38] */ 20623 _st[0] += (double)*(float*)ADDR(0x2B0B64D8); /* 0x2B01CE13: fadd dword ptr [0x2b0b64d8] */ 20624 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x38)) = _v; } /* 0x2B01CE19: fstp dword ptr [ebp - 0x38] */ 20625 edx = ebp + (-0x10); /* 0x2B01CE1C: lea edx, [ebp - 0x10] */ 20626 PUSH32(esp, edx); /* 0x2B01CE1F: push edx */ 20627 PUSH32(esp, 1); /* 0x2B01CE20: push 1 */ 20628 PUSH32(esp, edi); /* 0x2B01CE22: push edi */ 20629 ecx = ebp + (-0x50); /* 0x2B01CE23: lea ecx, [ebp - 0x50] */ 20630 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B01CE26: mov byte ptr [ebp - 4], 3 */ 20631 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01CE2A: mov dword ptr [ebp - 0x10], ebx */ 20632 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01CE2D: call 0x2b01dc90 */ /* not lifted */ 20633 RECOMP_FLAGS_IN(); 20634 ecx = MEM32(ebp + (-0x48)); /* 0x2B01CE32: mov ecx, dword ptr [ebp - 0x48] */ 20635 eax = ebp + (-0x10); /* 0x2B01CE35: lea eax, [ebp - 0x10] */ 20636 PUSH32(esp, eax); /* 0x2B01CE38: push eax */ 20637 PUSH32(esp, 1); /* 0x2B01CE39: push 1 */ 20638 PUSH32(esp, ecx); /* 0x2B01CE3B: push ecx */ 20639 ecx = ebp + (-0x50); /* 0x2B01CE3C: lea ecx, [ebp - 0x50] */ 20640 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01CE3F: mov dword ptr [ebp - 0x10], ebx */ 20641 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01CE42: call 0x2b01dc90 */ /* not lifted */ 20642 RECOMP_FLAGS_IN(); 20643 eax = MEM32(ebp + (-0x58)); /* 0x2B01CE47: mov eax, dword ptr [ebp - 0x58] */ 20644 edx = ebp + (-0x50); /* 0x2B01CE4A: lea edx, [ebp - 0x50] */ 20645 PUSH32(esp, edx); /* 0x2B01CE4D: push edx */ 20646 PUSH32(esp, 1); /* 0x2B01CE4E: push 1 */ 20647 PUSH32(esp, eax); /* 0x2B01CE50: push eax */ 20648 ecx = ebp + (-0x60); /* 0x2B01CE51: lea ecx, [ebp - 0x60] */ 20649 RECOMP_ICALL(0x2B01DEA0u); /* 0x2B01CE54: call 0x2b01dea0 */ /* not lifted */ 20650 RECOMP_FLAGS_IN(); 20651 ecx = ebp + (-0x50); /* 0x2B01CE59: lea ecx, [ebp - 0x50] */ 20652 PUSH32(esp, ecx); /* 0x2B01CE5C: push ecx */ 20653 ecx = MEM32(esi + 0x64); /* 0x2B01CE5D: mov ecx, dword ptr [esi + 0x64] */ 20654 RECOMP_ICALL(0x2B027CE0u); /* 0x2B01CE60: call 0x2b027ce0 */ /* not lifted */ 20655 RECOMP_FLAGS_IN(); 20656 edx = MEM32(eax); /* 0x2B01CE65: mov edx, dword ptr [eax] */ 20657 MEM32(ebp + (-0x70)) = edx; /* 0x2B01CE67: mov dword ptr [ebp - 0x70], edx */ 20658 ecx = MEM32(eax + 0x4); /* 0x2B01CE6A: mov ecx, dword ptr [eax + 4] */ 20659 MEM32(ebp + (-0x6C)) = ecx; /* 0x2B01CE6D: mov dword ptr [ebp - 0x6c], ecx */ 20660 edx = MEM32(eax + 0x8); /* 0x2B01CE70: mov edx, dword ptr [eax + 8] */ 20661 ecx = ebp + (-0x50); /* 0x2B01CE73: lea ecx, [ebp - 0x50] */ 20662 MEM32(ebp + (-0x68)) = edx; /* 0x2B01CE76: mov dword ptr [ebp - 0x68], edx */ 20663 eax = MEM32(eax + 0xC); /* 0x2B01CE79: mov eax, dword ptr [eax + 0xc] */ 20664 PUSH32(esp, ecx); /* 0x2B01CE7C: push ecx */ 20665 ecx = MEM32(esi + 0x64); /* 0x2B01CE7D: mov ecx, dword ptr [esi + 0x64] */ 20666 MEM32(ebp + (-0x64)) = eax; /* 0x2B01CE80: mov dword ptr [ebp - 0x64], eax */ 20667 RECOMP_ICALL(0x2B027D40u); /* 0x2B01CE83: call 0x2b027d40 */ /* not lifted */ 20668 RECOMP_FLAGS_IN(); 20669 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2B01CE88: fstp dword ptr [ebp - 0x10] */ 20670 ecx = MEM32(esi + 0x64); /* 0x2B01CE8B: mov ecx, dword ptr [esi + 0x64] */ 20671 edx = ebp + (-0x50); /* 0x2B01CE8E: lea edx, [ebp - 0x50] */ 20672 PUSH32(esp, edx); /* 0x2B01CE91: push edx */ 20673 RECOMP_ICALL(0x2B027DA0u); /* 0x2B01CE92: call 0x2b027da0 */ /* not lifted */ 20674 RECOMP_FLAGS_IN(); 20675 eax = MEM32(ebp + (-0x10)); /* 0x2B01CE97: mov eax, dword ptr [ebp - 0x10] */ 20676 PUSH32(esp, eax); /* 0x2B01CE9A: push eax */ 20677 ecx = ebp + (-0x70); /* 0x2B01CE9B: lea ecx, [ebp - 0x70] */ 20678 PUSH32(esp, ecx); /* 0x2B01CE9E: push ecx */ 20679 edx = ebp + (-0x40); /* 0x2B01CE9F: lea edx, [ebp - 0x40] */ 20680 ecx = MEM32(esi + 0x64); /* 0x2B01CEA2: mov ecx, dword ptr [esi + 0x64] */ 20681 PUSH32(esp, edx); /* 0x2B01CEA5: push edx */ 20682 eax = ebp + (-0x50); /* 0x2B01CEA6: lea eax, [ebp - 0x50] */ 20683 PUSH32(esp, eax); /* 0x2B01CEA9: push eax */ 20684 RECOMP_ICALL(0x2B027C80u); /* 0x2B01CEAA: call 0x2b027c80 */ /* not lifted */ 20685 RECOMP_FLAGS_IN(); 20686 ecx = MEM32(ebp + (-0x4C)); /* 0x2B01CEAF: mov ecx, dword ptr [ebp - 0x4c] */ 20687 PUSH32(esp, ecx); /* 0x2B01CEB2: push ecx */ 20688 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01CEB3: call 0x2b0ab1ba */ /* not lifted */ 20689 RECOMP_FLAGS_IN(); 20690 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20691 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20692 esp = esp + 4; /* 0x2B01CEB8: add esp, 4 */ 20693 _flag_k = FK_ADD; 20694 L_2B01CEBB: 20695 SET_LO8(edx, MEM8(ebp + (-0x11))); /* 0x2B01CEBB: mov dl, byte ptr [ebp - 0x11] */ 20696 MEM8(ebp + (-0x24)) = (uint8_t)(LO8(edx)); /* 0x2B01CEBE: mov byte ptr [ebp - 0x24], dl */ 20697 MEM32(ebp + (-0x20)) = edi; /* 0x2B01CEC1: mov dword ptr [ebp - 0x20], edi */ 20698 MEM32(ebp + (-0x1C)) = edi; /* 0x2B01CEC4: mov dword ptr [ebp - 0x1c], edi */ 20699 MEM32(ebp + (-0x18)) = edi; /* 0x2B01CEC7: mov dword ptr [ebp - 0x18], edi */ 20700 eax = ebp + (-0x10); /* 0x2B01CECA: lea eax, [ebp - 0x10] */ 20701 PUSH32(esp, eax); /* 0x2B01CECD: push eax */ 20702 PUSH32(esp, 1); /* 0x2B01CECE: push 1 */ 20703 PUSH32(esp, edi); /* 0x2B01CED0: push edi */ 20704 ecx = ebp + (-0x24); /* 0x2B01CED1: lea ecx, [ebp - 0x24] */ 20705 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B01CED4: mov byte ptr [ebp - 4], 4 */ 20706 MEM32(ebp + (-0x10)) = ebx; /* 0x2B01CED8: mov dword ptr [ebp - 0x10], ebx */ 20707 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01CEDB: call 0x2b01dc90 */ /* not lifted */ 20708 RECOMP_FLAGS_IN(); 20709 edx = MEM32(ebp + (-0x1C)); /* 0x2B01CEE0: mov edx, dword ptr [ebp - 0x1c] */ 20710 ecx = ebp + (-0x10); /* 0x2B01CEE3: lea ecx, [ebp - 0x10] */ 20711 PUSH32(esp, ecx); /* 0x2B01CEE6: push ecx */ 20712 PUSH32(esp, 1); /* 0x2B01CEE7: push 1 */ 20713 PUSH32(esp, edx); /* 0x2B01CEE9: push edx */ 20714 ecx = ebp + (-0x24); /* 0x2B01CEEA: lea ecx, [ebp - 0x24] */ 20715 MEM32(ebp + (-0x10)) = 1; /* 0x2B01CEED: mov dword ptr [ebp - 0x10], 1 */ 20716 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01CEF4: call 0x2b01dc90 */ /* not lifted */ 20717 RECOMP_FLAGS_IN(); 20718 ecx = MEM32(ebp + (-0x1C)); /* 0x2B01CEF9: mov ecx, dword ptr [ebp - 0x1c] */ 20719 eax = ebp + (-0x10); /* 0x2B01CEFC: lea eax, [ebp - 0x10] */ 20720 PUSH32(esp, eax); /* 0x2B01CEFF: push eax */ 20721 PUSH32(esp, 1); /* 0x2B01CF00: push 1 */ 20722 PUSH32(esp, ecx); /* 0x2B01CF02: push ecx */ 20723 ecx = ebp + (-0x24); /* 0x2B01CF03: lea ecx, [ebp - 0x24] */ 20724 MEM32(ebp + (-0x10)) = 3; /* 0x2B01CF06: mov dword ptr [ebp - 0x10], 3 */ 20725 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01CF0D: call 0x2b01dc90 */ /* not lifted */ 20726 RECOMP_FLAGS_IN(); 20727 ecx = MEM32(esi + 0x64); /* 0x2B01CF12: mov ecx, dword ptr [esi + 0x64] */ 20728 edx = ebp + (-0x24); /* 0x2B01CF15: lea edx, [ebp - 0x24] */ 20729 PUSH32(esp, edx); /* 0x2B01CF18: push edx */ 20730 RECOMP_ICALL(0x2B027DF0u); /* 0x2B01CF19: call 0x2b027df0 */ /* not lifted */ 20731 RECOMP_FLAGS_IN(); 20732 eax = ebp + (-0x60); /* 0x2B01CF1E: lea eax, [ebp - 0x60] */ 20733 PUSH32(esp, eax); /* 0x2B01CF21: push eax */ 20734 PUSH32(esp, 0x3E99999Au); /* 0x2B01CF22: push 0x3e99999a */ 20735 ecx = ebp + (-0x24); /* 0x2B01CF27: lea ecx, [ebp - 0x24] */ 20736 PUSH32(esp, ecx); /* 0x2B01CF2A: push ecx */ 20737 ecx = MEM32(esi + 0x64); /* 0x2B01CF2B: mov ecx, dword ptr [esi + 0x64] */ 20738 RECOMP_ICALL(0x2B027EE0u); /* 0x2B01CF2E: call 0x2b027ee0 */ /* not lifted */ 20739 RECOMP_FLAGS_IN(); 20740 SET_LO8(edx, MEM8(ebp + (-0x24))); /* 0x2B01CF33: mov dl, byte ptr [ebp - 0x24] */ 20741 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 20742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20743 esp = esp - 0x10u; /* 0x2B01CF36: sub esp, 0x10 */ 20744 _flag_k = FK_CMP; 20745 ebx = esp; /* 0x2B01CF39: mov ebx, esp */ 20746 MEM8(ebx) = (uint8_t)(LO8(edx)); /* 0x2B01CF3B: mov byte ptr [ebx], dl */ 20747 ecx = MEM32(ebp + (-0x20)); /* 0x2B01CF3D: mov ecx, dword ptr [ebp - 0x20] */ 20748 /* cmp ecx, edi */ /* 0x2B01CF40: cmp ecx, edi */ 20749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 20750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20751 _flag_k = FK_CMP; 20752 MEM32(ebp + (-0xB4)) = esp; /* 0x2B01CF42: mov dword ptr [ebp - 0xb4], esp */ 20753 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01CF4E; /* 0x2B01CF48: jne 0x2b01cf4e */ 20754 L_2B01CF4A: 20755 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20756 eax = 0; /* 0x2B01CF4A: xor eax, eax */ 20757 _cf = 0; 20758 _flag_k = FK_TEST; 20759 goto L_2B01CF56; /* 0x2B01CF4C: jmp 0x2b01cf56 */ 20760 L_2B01CF4E: 20761 eax = MEM32(ebp + (-0x1C)); /* 0x2B01CF4E: mov eax, dword ptr [ebp - 0x1c] */ 20762 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 20763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20764 eax = eax - ecx; /* 0x2B01CF51: sub eax, ecx */ 20765 _flag_k = FK_CMP; 20766 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01CF53: sar eax, 2 */ 20767 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20768 eax = (uint32_t)((int32_t)eax >> 2u); 20769 L_2B01CF56: 20770 /* cmp eax, edi */ /* 0x2B01CF56: cmp eax, edi */ 20771 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20773 _flag_k = FK_CMP; 20774 if (CMP_GE(_flag_a, _flag_b)) goto L_2B01CF5C; /* 0x2B01CF58: jge 0x2b01cf5c */ 20775 L_2B01CF5A: 20776 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20777 eax = 0; /* 0x2B01CF5A: xor eax, eax */ 20778 _cf = 0; 20779 _flag_k = FK_TEST; 20780 L_2B01CF5C: 20781 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B01CF5C: shl eax, 2 */ 20782 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 20783 eax = eax << 2u; /* 0x2B01CF5C: shl eax, 2 */ 20784 PUSH32(esp, eax); /* 0x2B01CF5F: push eax */ 20785 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01CF60: call 0x2b0ab212 */ /* not lifted */ 20786 RECOMP_FLAGS_IN(); 20787 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 20788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20789 esp = esp + 4; /* 0x2B01CF65: add esp, 4 */ 20790 _flag_k = FK_ADD; 20791 MEM32(ebx + 0x4) = eax; /* 0x2B01CF68: mov dword ptr [ebx + 4], eax */ 20792 ecx = MEM32(ebp + (-0x1C)); /* 0x2B01CF6B: mov ecx, dword ptr [ebp - 0x1c] */ 20793 edx = MEM32(ebp + (-0x20)); /* 0x2B01CF6E: mov edx, dword ptr [ebp - 0x20] */ 20794 PUSH32(esp, eax); /* 0x2B01CF71: push eax */ 20795 PUSH32(esp, ecx); /* 0x2B01CF72: push ecx */ 20796 PUSH32(esp, edx); /* 0x2B01CF73: push edx */ 20797 ecx = ebx; /* 0x2B01CF74: mov ecx, ebx */ 20798 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01CF76: call 0x2b01da20 */ /* not lifted */ 20799 RECOMP_FLAGS_IN(); 20800 MEM32(ebx + 0x8) = eax; /* 0x2B01CF7B: mov dword ptr [ebx + 8], eax */ 20801 MEM32(ebx + 0xC) = eax; /* 0x2B01CF7E: mov dword ptr [ebx + 0xc], eax */ 20802 ecx = MEM32(esi + 0x64); /* 0x2B01CF81: mov ecx, dword ptr [esi + 0x64] */ 20803 RECOMP_ICALL(0x2B026A10u); /* 0x2B01CF84: call 0x2b026a10 */ /* not lifted */ 20804 RECOMP_FLAGS_IN(); 20805 ecx = MEM32(esi + 0x64); /* 0x2B01CF89: mov ecx, dword ptr [esi + 0x64] */ 20806 PUSH32(esp, 0x2Eu); /* 0x2B01CF8C: push 0x2e */ 20807 RECOMP_ICALL(0x2B021E30u); /* 0x2B01CF8E: call 0x2b021e30 */ /* not lifted */ 20808 RECOMP_FLAGS_IN(); 20809 eax = MEM32(ebp + (-0x20)); /* 0x2B01CF93: mov eax, dword ptr [ebp - 0x20] */ 20810 PUSH32(esp, eax); /* 0x2B01CF96: push eax */ 20811 MEM32(esi + 0x7C) = 4; /* 0x2B01CF97: mov dword ptr [esi + 0x7c], 4 */ 20812 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01CF9E: call 0x2b0ab1ba */ /* not lifted */ 20813 RECOMP_FLAGS_IN(); 20814 ecx = MEM32(ebp + (-0x30)); /* 0x2B01CFA3: mov ecx, dword ptr [ebp - 0x30] */ 20815 PUSH32(esp, ecx); /* 0x2B01CFA6: push ecx */ 20816 MEM32(ebp + (-0x20)) = edi; /* 0x2B01CFA7: mov dword ptr [ebp - 0x20], edi */ 20817 MEM32(ebp + (-0x1C)) = edi; /* 0x2B01CFAA: mov dword ptr [ebp - 0x1c], edi */ 20818 MEM32(ebp + (-0x18)) = edi; /* 0x2B01CFAD: mov dword ptr [ebp - 0x18], edi */ 20819 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01CFB0: call 0x2b0ab1ba */ /* not lifted */ 20820 RECOMP_FLAGS_IN(); 20821 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 20822 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 20823 esp = esp + 8; /* 0x2B01CFB5: add esp, 8 */ 20824 _flag_k = FK_ADD; 20825 ecx = ebp + (-0x60); /* 0x2B01CFB8: lea ecx, [ebp - 0x60] */ 20826 MEM32(ebp + (-0x30)) = edi; /* 0x2B01CFBB: mov dword ptr [ebp - 0x30], edi */ 20827 MEM32(ebp + (-0x2C)) = edi; /* 0x2B01CFBE: mov dword ptr [ebp - 0x2c], edi */ 20828 MEM32(ebp + (-0x28)) = edi; /* 0x2B01CFC1: mov dword ptr [ebp - 0x28], edi */ 20829 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01CFC4: mov dword ptr [ebp - 4], 0xffffffff */ 20830 RECOMP_ICALL(0x2B01D630u); /* 0x2B01CFCB: call 0x2b01d630 */ /* not lifted */ 20831 RECOMP_FLAGS_IN(); 20832 L_2B01CFD0: 20833 ecx = MEM32(ebp + (-0xC)); /* 0x2B01CFD0: mov ecx, dword ptr [ebp - 0xc] */ 20834 edi = POP32_VAL(esp); /* 0x2B01CFD3: pop edi */ 20835 esi = POP32_VAL(esp); /* 0x2B01CFD4: pop esi */ 20836 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01CFD5: mov dword ptr fs:[0], ecx */ 20837 ebx = POP32_VAL(esp); /* 0x2B01CFDC: pop ebx */ 20838 esp = ebp; /* 0x2B01CFDD: mov esp, ebp */ 20839 ebp = POP32_VAL(esp); /* 0x2B01CFDF: pop ebp */ 20840 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01CFE0: ret */ 20841 RECOMP_REGS_OUT(); 20842 } 20843 20844 void sub_2B01CFF0(void) { 20845 int _fpu_cmp = 0; 20846 uint32_t _cf = 0; 20847 int _df = 1; 20848 uint32_t _flag_k = FK_NONE; 20849 uint32_t _flag_a = 0, _flag_b = 0; 20850 uint32_t _itail_tgt = 0; 20851 RECOMP_REGS_LOCALS 20852 RECOMP_ENTER(0x2B01CFF0u); 20853 20854 L_2B01CFF0: 20855 PUSH32(esp, ebp); /* 0x2B01CFF0: push ebp */ 20856 ebp = esp; /* 0x2B01CFF1: mov ebp, esp */ 20857 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B01CFF3: push -1 */ 20858 PUSH32(esp, 0x2B0AD220u); /* 0x2B01CFF5: push 0x2b0ad220 */ 20859 eax = MEM32(FS_BASE + (0)); /* 0x2B01CFFA: mov eax, dword ptr fs:[0] */ 20860 PUSH32(esp, eax); /* 0x2B01D000: push eax */ 20861 MEM32(FS_BASE + (0)) = esp; /* 0x2B01D001: mov dword ptr fs:[0], esp */ 20862 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x4Cu); 20863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20864 esp = esp - 0x4Cu; /* 0x2B01D008: sub esp, 0x4c */ 20865 _flag_k = FK_CMP; 20866 PUSH32(esp, ebx); /* 0x2B01D00B: push ebx */ 20867 PUSH32(esp, esi); /* 0x2B01D00C: push esi */ 20868 esi = ecx; /* 0x2B01D00D: mov esi, ecx */ 20869 eax = MEM32(esi + 0x7C); /* 0x2B01D00F: mov eax, dword ptr [esi + 0x7c] */ 20870 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 20871 ebx = 0; /* 0x2B01D012: xor ebx, ebx */ 20872 _cf = 0; 20873 _flag_k = FK_TEST; 20874 /* cmp eax, ebx */ /* 0x2B01D014: cmp eax, ebx */ 20875 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 20876 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20877 _flag_k = FK_CMP; 20878 PUSH32(esp, edi); /* 0x2B01D016: push edi */ 20879 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D259; /* 0x2B01D017: je 0x2b01d259 */ 20880 L_2B01D01D: 20881 edi = 2; /* 0x2B01D01D: mov edi, 2 */ 20882 /* cmp eax, edi */ /* 0x2B01D022: cmp eax, edi */ 20883 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 20884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20885 _flag_k = FK_CMP; 20886 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01D259; /* 0x2B01D024: je 0x2b01d259 */ 20887 L_2B01D02A: 20888 ecx = MEM32(esi + 0x68); /* 0x2B01D02A: mov ecx, dword ptr [esi + 0x68] */ 20889 PUSH32(esp, ebx); /* 0x2B01D02D: push ebx */ 20890 PUSH32(esp, 0x2B0E3140u); /* 0x2B01D02E: push 0x2b0e3140 */ 20891 RECOMP_ICALL(0x2B02B960u); /* 0x2B01D033: call 0x2b02b960 */ /* not lifted */ 20892 RECOMP_FLAGS_IN(); 20893 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B01D038: mov al, byte ptr [ebp - 0xd] */ 20894 MEM8(ebp + (-0x58)) = (uint8_t)(LO8(eax)); /* 0x2B01D03B: mov byte ptr [ebp - 0x58], al */ 20895 MEM32(ebp + (-0x54)) = ebx; /* 0x2B01D03E: mov dword ptr [ebp - 0x54], ebx */ 20896 MEM32(ebp + (-0x50)) = ebx; /* 0x2B01D041: mov dword ptr [ebp - 0x50], ebx */ 20897 MEM32(ebp + (-0x4C)) = ebx; /* 0x2B01D044: mov dword ptr [ebp - 0x4c], ebx */ 20898 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x2B01D047: mov cl, byte ptr [ebp - 0xd] */ 20899 MEM32(ebp + (-0x4)) = ebx; /* 0x2B01D04A: mov dword ptr [ebp - 4], ebx */ 20900 MEM8(ebp + (-0x48)) = (uint8_t)(LO8(ecx)); /* 0x2B01D04D: mov byte ptr [ebp - 0x48], cl */ 20901 MEM32(ebp + (-0x44)) = ebx; /* 0x2B01D050: mov dword ptr [ebp - 0x44], ebx */ 20902 MEM32(ebp + (-0x40)) = ebx; /* 0x2B01D053: mov dword ptr [ebp - 0x40], ebx */ 20903 MEM32(ebp + (-0x3C)) = ebx; /* 0x2B01D056: mov dword ptr [ebp - 0x3c], ebx */ 20904 edx = ebp + (-0x14); /* 0x2B01D059: lea edx, [ebp - 0x14] */ 20905 PUSH32(esp, edx); /* 0x2B01D05C: push edx */ 20906 PUSH32(esp, ebx); /* 0x2B01D05D: push ebx */ 20907 ecx = ebp + (-0x48); /* 0x2B01D05E: lea ecx, [ebp - 0x48] */ 20908 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01D061: mov byte ptr [ebp - 4], 1 */ 20909 MEM32(ebp + (-0x14)) = edi; /* 0x2B01D065: mov dword ptr [ebp - 0x14], edi */ 20910 RECOMP_ICALL(0x2B01D840u); /* 0x2B01D068: call 0x2b01d840 */ /* not lifted */ 20911 RECOMP_FLAGS_IN(); 20912 ecx = MEM32(ebp + (-0x40)); /* 0x2B01D06D: mov ecx, dword ptr [ebp - 0x40] */ 20913 eax = ebp + (-0x14); /* 0x2B01D070: lea eax, [ebp - 0x14] */ 20914 PUSH32(esp, eax); /* 0x2B01D073: push eax */ 20915 PUSH32(esp, ecx); /* 0x2B01D074: push ecx */ 20916 ecx = ebp + (-0x48); /* 0x2B01D075: lea ecx, [ebp - 0x48] */ 20917 MEM32(ebp + (-0x14)) = 3; /* 0x2B01D078: mov dword ptr [ebp - 0x14], 3 */ 20918 RECOMP_ICALL(0x2B01D840u); /* 0x2B01D07F: call 0x2b01d840 */ /* not lifted */ 20919 RECOMP_FLAGS_IN(); 20920 eax = MEM32(ebp + (-0x50)); /* 0x2B01D084: mov eax, dword ptr [ebp - 0x50] */ 20921 edx = ebp + (-0x48); /* 0x2B01D087: lea edx, [ebp - 0x48] */ 20922 PUSH32(esp, edx); /* 0x2B01D08A: push edx */ 20923 PUSH32(esp, eax); /* 0x2B01D08B: push eax */ 20924 ecx = ebp + (-0x58); /* 0x2B01D08C: lea ecx, [ebp - 0x58] */ 20925 RECOMP_ICALL(0x2B01DA50u); /* 0x2B01D08F: call 0x2b01da50 */ /* not lifted */ 20926 RECOMP_FLAGS_IN(); 20927 ecx = ebp + (-0x48); /* 0x2B01D094: lea ecx, [ebp - 0x48] */ 20928 PUSH32(esp, ecx); /* 0x2B01D097: push ecx */ 20929 ecx = MEM32(esi + 0x64); /* 0x2B01D098: mov ecx, dword ptr [esi + 0x64] */ 20930 RECOMP_ICALL(0x2B027DA0u); /* 0x2B01D09B: call 0x2b027da0 */ /* not lifted */ 20931 RECOMP_FLAGS_IN(); 20932 ecx = MEM32(esi + 0x64); /* 0x2B01D0A0: mov ecx, dword ptr [esi + 0x64] */ 20933 edx = MEM32(ecx + 0x44); /* 0x2B01D0A3: mov edx, dword ptr [ecx + 0x44] */ 20934 eax = edx; /* 0x2B01D0A6: mov eax, edx */ 20935 PUSH32(esp, eax); /* 0x2B01D0A8: push eax */ 20936 MEM32(ebp + (-0x14)) = edx; /* 0x2B01D0A9: mov dword ptr [ebp - 0x14], edx */ 20937 edx = ecx + 0x34; /* 0x2B01D0AC: lea edx, [ecx + 0x34] */ 20938 PUSH32(esp, edx); /* 0x2B01D0AF: push edx */ 20939 eax = ecx + 0x28; /* 0x2B01D0B0: lea eax, [ecx + 0x28] */ 20940 PUSH32(esp, eax); /* 0x2B01D0B3: push eax */ 20941 edx = ebp + (-0x48); /* 0x2B01D0B4: lea edx, [ebp - 0x48] */ 20942 PUSH32(esp, edx); /* 0x2B01D0B7: push edx */ 20943 RECOMP_ICALL(0x2B027C80u); /* 0x2B01D0B8: call 0x2b027c80 */ /* not lifted */ 20944 RECOMP_FLAGS_IN(); 20945 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B01D0BD: mov al, byte ptr [ebp - 0xd] */ 20946 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x2B01D0C0: mov byte ptr [ebp - 0x38], al */ 20947 MEM32(ebp + (-0x34)) = ebx; /* 0x2B01D0C3: mov dword ptr [ebp - 0x34], ebx */ 20948 MEM32(ebp + (-0x30)) = ebx; /* 0x2B01D0C6: mov dword ptr [ebp - 0x30], ebx */ 20949 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B01D0C9: mov dword ptr [ebp - 0x2c], ebx */ 20950 ecx = ebp + (-0x14); /* 0x2B01D0CC: lea ecx, [ebp - 0x14] */ 20951 PUSH32(esp, ecx); /* 0x2B01D0CF: push ecx */ 20952 PUSH32(esp, 1); /* 0x2B01D0D0: push 1 */ 20953 PUSH32(esp, ebx); /* 0x2B01D0D2: push ebx */ 20954 ecx = ebp + (-0x38); /* 0x2B01D0D3: lea ecx, [ebp - 0x38] */ 20955 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01D0D6: mov byte ptr [ebp - 4], 2 */ 20956 MEM32(ebp + (-0x14)) = edi; /* 0x2B01D0DA: mov dword ptr [ebp - 0x14], edi */ 20957 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01D0DD: call 0x2b01dc90 */ /* not lifted */ 20958 RECOMP_FLAGS_IN(); 20959 eax = MEM32(ebp + (-0x30)); /* 0x2B01D0E2: mov eax, dword ptr [ebp - 0x30] */ 20960 edx = ebp + (-0x14); /* 0x2B01D0E5: lea edx, [ebp - 0x14] */ 20961 PUSH32(esp, edx); /* 0x2B01D0E8: push edx */ 20962 PUSH32(esp, 1); /* 0x2B01D0E9: push 1 */ 20963 PUSH32(esp, eax); /* 0x2B01D0EB: push eax */ 20964 ecx = ebp + (-0x38); /* 0x2B01D0EC: lea ecx, [ebp - 0x38] */ 20965 MEM32(ebp + (-0x14)) = 1; /* 0x2B01D0EF: mov dword ptr [ebp - 0x14], 1 */ 20966 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01D0F6: call 0x2b01dc90 */ /* not lifted */ 20967 RECOMP_FLAGS_IN(); 20968 edx = MEM32(ebp + (-0x50)); /* 0x2B01D0FB: mov edx, dword ptr [ebp - 0x50] */ 20969 ecx = ebp + (-0x38); /* 0x2B01D0FE: lea ecx, [ebp - 0x38] */ 20970 PUSH32(esp, ecx); /* 0x2B01D101: push ecx */ 20971 PUSH32(esp, 1); /* 0x2B01D102: push 1 */ 20972 PUSH32(esp, edx); /* 0x2B01D104: push edx */ 20973 ecx = ebp + (-0x58); /* 0x2B01D105: lea ecx, [ebp - 0x58] */ 20974 RECOMP_ICALL(0x2B01DEA0u); /* 0x2B01D108: call 0x2b01dea0 */ /* not lifted */ 20975 RECOMP_FLAGS_IN(); 20976 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B01D10D: mov al, byte ptr [ebp - 0xd] */ 20977 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(eax)); /* 0x2B01D110: mov byte ptr [ebp - 0x28], al */ 20978 MEM32(ebp + (-0x24)) = ebx; /* 0x2B01D113: mov dword ptr [ebp - 0x24], ebx */ 20979 MEM32(ebp + (-0x20)) = ebx; /* 0x2B01D116: mov dword ptr [ebp - 0x20], ebx */ 20980 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B01D119: mov dword ptr [ebp - 0x1c], ebx */ 20981 ecx = ebp + (-0x14); /* 0x2B01D11C: lea ecx, [ebp - 0x14] */ 20982 PUSH32(esp, ecx); /* 0x2B01D11F: push ecx */ 20983 PUSH32(esp, 1); /* 0x2B01D120: push 1 */ 20984 PUSH32(esp, ebx); /* 0x2B01D122: push ebx */ 20985 ecx = ebp + (-0x28); /* 0x2B01D123: lea ecx, [ebp - 0x28] */ 20986 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B01D126: mov byte ptr [ebp - 4], 3 */ 20987 MEM32(ebp + (-0x14)) = edi; /* 0x2B01D12A: mov dword ptr [ebp - 0x14], edi */ 20988 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01D12D: call 0x2b01dc90 */ /* not lifted */ 20989 RECOMP_FLAGS_IN(); 20990 eax = MEM32(ebp + (-0x20)); /* 0x2B01D132: mov eax, dword ptr [ebp - 0x20] */ 20991 edx = ebp + (-0x14); /* 0x2B01D135: lea edx, [ebp - 0x14] */ 20992 PUSH32(esp, edx); /* 0x2B01D138: push edx */ 20993 PUSH32(esp, 1); /* 0x2B01D139: push 1 */ 20994 PUSH32(esp, eax); /* 0x2B01D13B: push eax */ 20995 ecx = ebp + (-0x28); /* 0x2B01D13C: lea ecx, [ebp - 0x28] */ 20996 MEM32(ebp + (-0x14)) = 1; /* 0x2B01D13F: mov dword ptr [ebp - 0x14], 1 */ 20997 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01D146: call 0x2b01dc90 */ /* not lifted */ 20998 RECOMP_FLAGS_IN(); 20999 edx = MEM32(ebp + (-0x20)); /* 0x2B01D14B: mov edx, dword ptr [ebp - 0x20] */ 21000 ecx = ebp + (-0x14); /* 0x2B01D14E: lea ecx, [ebp - 0x14] */ 21001 PUSH32(esp, ecx); /* 0x2B01D151: push ecx */ 21002 PUSH32(esp, 1); /* 0x2B01D152: push 1 */ 21003 PUSH32(esp, edx); /* 0x2B01D154: push edx */ 21004 ecx = ebp + (-0x28); /* 0x2B01D155: lea ecx, [ebp - 0x28] */ 21005 MEM32(ebp + (-0x14)) = 3; /* 0x2B01D158: mov dword ptr [ebp - 0x14], 3 */ 21006 RECOMP_ICALL(0x2B01DC90u); /* 0x2B01D15F: call 0x2b01dc90 */ /* not lifted */ 21007 RECOMP_FLAGS_IN(); 21008 ecx = MEM32(esi + 0x64); /* 0x2B01D164: mov ecx, dword ptr [esi + 0x64] */ 21009 eax = ebp + (-0x28); /* 0x2B01D167: lea eax, [ebp - 0x28] */ 21010 PUSH32(esp, eax); /* 0x2B01D16A: push eax */ 21011 RECOMP_ICALL(0x2B027DF0u); /* 0x2B01D16B: call 0x2b027df0 */ /* not lifted */ 21012 RECOMP_FLAGS_IN(); 21013 ecx = ebp + (-0x58); /* 0x2B01D170: lea ecx, [ebp - 0x58] */ 21014 PUSH32(esp, ecx); /* 0x2B01D173: push ecx */ 21015 ecx = MEM32(esi + 0x64); /* 0x2B01D174: mov ecx, dword ptr [esi + 0x64] */ 21016 PUSH32(esp, 0x3E99999Au); /* 0x2B01D177: push 0x3e99999a */ 21017 edx = ebp + (-0x28); /* 0x2B01D17C: lea edx, [ebp - 0x28] */ 21018 PUSH32(esp, edx); /* 0x2B01D17F: push edx */ 21019 RECOMP_ICALL(0x2B027EE0u); /* 0x2B01D180: call 0x2b027ee0 */ /* not lifted */ 21020 RECOMP_FLAGS_IN(); 21021 SET_LO8(eax, MEM8(ebp + (-0x28))); /* 0x2B01D185: mov al, byte ptr [ebp - 0x28] */ 21022 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 21023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21024 esp = esp - 0x10u; /* 0x2B01D188: sub esp, 0x10 */ 21025 _flag_k = FK_CMP; 21026 edi = esp; /* 0x2B01D18B: mov edi, esp */ 21027 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B01D18D: mov byte ptr [edi], al */ 21028 ecx = MEM32(ebp + (-0x24)); /* 0x2B01D18F: mov ecx, dword ptr [ebp - 0x24] */ 21029 /* cmp ecx, ebx */ /* 0x2B01D192: cmp ecx, ebx */ 21030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 21031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21032 _flag_k = FK_CMP; 21033 MEM32(ebp + (-0x18)) = esp; /* 0x2B01D194: mov dword ptr [ebp - 0x18], esp */ 21034 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01D19D; /* 0x2B01D197: jne 0x2b01d19d */ 21035 L_2B01D199: 21036 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21037 eax = 0; /* 0x2B01D199: xor eax, eax */ 21038 _cf = 0; 21039 _flag_k = FK_TEST; 21040 goto L_2B01D1A5; /* 0x2B01D19B: jmp 0x2b01d1a5 */ 21041 L_2B01D19D: 21042 eax = MEM32(ebp + (-0x20)); /* 0x2B01D19D: mov eax, dword ptr [ebp - 0x20] */ 21043 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21045 eax = eax - ecx; /* 0x2B01D1A0: sub eax, ecx */ 21046 _flag_k = FK_CMP; 21047 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B01D1A2: sar eax, 2 */ 21048 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 21049 eax = (uint32_t)((int32_t)eax >> 2u); 21050 L_2B01D1A5: 21051 /* cmp eax, ebx */ /* 0x2B01D1A5: cmp eax, ebx */ 21052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 21053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21054 _flag_k = FK_CMP; 21055 if (CMP_GE(_flag_a, _flag_b)) goto L_2B01D1AB; /* 0x2B01D1A7: jge 0x2b01d1ab */ 21056 L_2B01D1A9: 21057 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 21058 eax = 0; /* 0x2B01D1A9: xor eax, eax */ 21059 _cf = 0; 21060 _flag_k = FK_TEST; 21061 L_2B01D1AB: 21062 ecx = eax * 4; /* 0x2B01D1AB: lea ecx, [eax*4] */ 21063 PUSH32(esp, ecx); /* 0x2B01D1B2: push ecx */ 21064 RECOMP_ICALL(0x2B0AB212u); /* 0x2B01D1B3: call 0x2b0ab212 */ /* not lifted */ 21065 RECOMP_FLAGS_IN(); 21066 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21068 esp = esp + 4; /* 0x2B01D1B8: add esp, 4 */ 21069 _flag_k = FK_ADD; 21070 MEM32(edi + 0x4) = eax; /* 0x2B01D1BB: mov dword ptr [edi + 4], eax */ 21071 edx = MEM32(ebp + (-0x20)); /* 0x2B01D1BE: mov edx, dword ptr [ebp - 0x20] */ 21072 PUSH32(esp, eax); /* 0x2B01D1C1: push eax */ 21073 eax = MEM32(ebp + (-0x24)); /* 0x2B01D1C2: mov eax, dword ptr [ebp - 0x24] */ 21074 PUSH32(esp, edx); /* 0x2B01D1C5: push edx */ 21075 PUSH32(esp, eax); /* 0x2B01D1C6: push eax */ 21076 ecx = edi; /* 0x2B01D1C7: mov ecx, edi */ 21077 RECOMP_ICALL(0x2B01DA20u); /* 0x2B01D1C9: call 0x2b01da20 */ /* not lifted */ 21078 RECOMP_FLAGS_IN(); 21079 MEM32(edi + 0x8) = eax; /* 0x2B01D1CE: mov dword ptr [edi + 8], eax */ 21080 MEM32(edi + 0xC) = eax; /* 0x2B01D1D1: mov dword ptr [edi + 0xc], eax */ 21081 ecx = MEM32(esi + 0x64); /* 0x2B01D1D4: mov ecx, dword ptr [esi + 0x64] */ 21082 RECOMP_ICALL(0x2B026A10u); /* 0x2B01D1D7: call 0x2b026a10 */ /* not lifted */ 21083 RECOMP_FLAGS_IN(); 21084 ecx = MEM32(esi + 0x64); /* 0x2B01D1DC: mov ecx, dword ptr [esi + 0x64] */ 21085 PUSH32(esp, 0x2Eu); /* 0x2B01D1DF: push 0x2e */ 21086 RECOMP_ICALL(0x2B021E30u); /* 0x2B01D1E1: call 0x2b021e30 */ /* not lifted */ 21087 RECOMP_FLAGS_IN(); 21088 ecx = MEM32(ebp + (-0x20)); /* 0x2B01D1E6: mov ecx, dword ptr [ebp - 0x20] */ 21089 edx = MEM32(ebp + (-0x24)); /* 0x2B01D1E9: mov edx, dword ptr [ebp - 0x24] */ 21090 PUSH32(esp, ecx); /* 0x2B01D1EC: push ecx */ 21091 PUSH32(esp, edx); /* 0x2B01D1ED: push edx */ 21092 ecx = ebp + (-0x28); /* 0x2B01D1EE: lea ecx, [ebp - 0x28] */ 21093 MEM32(esi + 0x7C) = 2; /* 0x2B01D1F1: mov dword ptr [esi + 0x7c], 2 */ 21094 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B01D1F8: mov byte ptr [ebp - 4], 2 */ 21095 RECOMP_ICALL(0x2B0292C0u); /* 0x2B01D1FC: call 0x2b0292c0 */ /* not lifted */ 21096 RECOMP_FLAGS_IN(); 21097 eax = MEM32(ebp + (-0x24)); /* 0x2B01D201: mov eax, dword ptr [ebp - 0x24] */ 21098 PUSH32(esp, eax); /* 0x2B01D204: push eax */ 21099 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D205: call 0x2b0ab1ba */ /* not lifted */ 21100 RECOMP_FLAGS_IN(); 21101 ecx = MEM32(ebp + (-0x30)); /* 0x2B01D20A: mov ecx, dword ptr [ebp - 0x30] */ 21102 edx = MEM32(ebp + (-0x34)); /* 0x2B01D20D: mov edx, dword ptr [ebp - 0x34] */ 21103 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21104 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21105 esp = esp + 4; /* 0x2B01D210: add esp, 4 */ 21106 _flag_k = FK_ADD; 21107 PUSH32(esp, ecx); /* 0x2B01D213: push ecx */ 21108 PUSH32(esp, edx); /* 0x2B01D214: push edx */ 21109 ecx = ebp + (-0x38); /* 0x2B01D215: lea ecx, [ebp - 0x38] */ 21110 MEM32(ebp + (-0x24)) = ebx; /* 0x2B01D218: mov dword ptr [ebp - 0x24], ebx */ 21111 MEM32(ebp + (-0x20)) = ebx; /* 0x2B01D21B: mov dword ptr [ebp - 0x20], ebx */ 21112 MEM32(ebp + (-0x1C)) = ebx; /* 0x2B01D21E: mov dword ptr [ebp - 0x1c], ebx */ 21113 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B01D221: mov byte ptr [ebp - 4], 1 */ 21114 RECOMP_ICALL(0x2B0292C0u); /* 0x2B01D225: call 0x2b0292c0 */ /* not lifted */ 21115 RECOMP_FLAGS_IN(); 21116 eax = MEM32(ebp + (-0x34)); /* 0x2B01D22A: mov eax, dword ptr [ebp - 0x34] */ 21117 PUSH32(esp, eax); /* 0x2B01D22D: push eax */ 21118 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01D22E: call 0x2b0ab1ba */ /* not lifted */ 21119 RECOMP_FLAGS_IN(); 21120 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 21121 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21122 esp = esp + 4; /* 0x2B01D233: add esp, 4 */ 21123 _flag_k = FK_ADD; 21124 ecx = ebp + (-0x48); /* 0x2B01D236: lea ecx, [ebp - 0x48] */ 21125 MEM32(ebp + (-0x34)) = ebx; /* 0x2B01D239: mov dword ptr [ebp - 0x34], ebx */ 21126 MEM32(ebp + (-0x30)) = ebx; /* 0x2B01D23C: mov dword ptr [ebp - 0x30], ebx */ 21127 MEM32(ebp + (-0x2C)) = ebx; /* 0x2B01D23F: mov dword ptr [ebp - 0x2c], ebx */ 21128 MEM8(ebp + (-0x4)) = (uint8_t)(LO8(ebx)); /* 0x2B01D242: mov byte ptr [ebp - 4], bl */ 21129 RECOMP_ICALL(0x2B012D80u); /* 0x2B01D245: call 0x2b012d80 */ /* not lifted */ 21130 RECOMP_FLAGS_IN(); 21131 ecx = ebp + (-0x58); /* 0x2B01D24A: lea ecx, [ebp - 0x58] */ 21132 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B01D24D: mov dword ptr [ebp - 4], 0xffffffff */ 21133 RECOMP_ICALL(0x2B01D630u); /* 0x2B01D254: call 0x2b01d630 */ /* not lifted */ 21134 RECOMP_FLAGS_IN(); 21135 L_2B01D259: 21136 ecx = MEM32(ebp + (-0xC)); /* 0x2B01D259: mov ecx, dword ptr [ebp - 0xc] */ 21137 edi = POP32_VAL(esp); /* 0x2B01D25C: pop edi */ 21138 esi = POP32_VAL(esp); /* 0x2B01D25D: pop esi */ 21139 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01D25E: mov dword ptr fs:[0], ecx */ 21140 ebx = POP32_VAL(esp); /* 0x2B01D265: pop ebx */ 21141 esp = ebp; /* 0x2B01D266: mov esp, ebp */ 21142 ebp = POP32_VAL(esp); /* 0x2B01D268: pop ebp */ 21143 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01D269: ret */ 21144 RECOMP_REGS_OUT(); 21145 } 21146 21147 void sub_2B01D270(void) { 21148 int _fpu_cmp = 0; 21149 uint32_t _cf = 0; 21150 int _df = 1; 21151 uint32_t _flag_k = FK_NONE; 21152 uint32_t _flag_a = 0, _flag_b = 0; 21153 uint32_t _itail_tgt = 0; 21154 RECOMP_REGS_LOCALS 21155 RECOMP_ENTER(0x2B01D270u); 21156 21157 L_2B01D270: 21158 PUSH32(esp, ebp); /* 0x2B01D270: push ebp */ 21159 ebp = esp; /* 0x2B01D271: mov ebp, esp */ 21160 ecx = MEM32(ecx + 0x68); /* 0x2B01D273: mov ecx, dword ptr [ecx + 0x68] */ 21161 PUSH32(esp, esi); /* 0x2B01D276: push esi */ 21162 esi = MEM32(ebp + 0x8); /* 0x2B01D277: mov esi, dword ptr [ebp + 8] */ 21163 PUSH32(esp, esi); /* 0x2B01D27A: push esi */ 21164 RECOMP_ICALL(0x2B02AF00u); /* 0x2B01D27B: call 0x2b02af00 */ /* not lifted */ 21165 RECOMP_FLAGS_IN(); 21166 eax = MEM32(0x2B0B6048); /* 0x2B01D280: mov eax, dword ptr [0x2b0b6048] */ 21167 ecx = MEM32(eax); /* 0x2B01D285: mov ecx, dword ptr [eax] */ 21168 PUSH32(esp, 1); /* 0x2B01D287: push 1 */ 21169 PUSH32(esp, 1); /* 0x2B01D289: push 1 */ 21170 PUSH32(esp, esi); /* 0x2B01D28B: push esi */ 21171 PUSH32(esp, 0x2B0E3154u); /* 0x2B01D28C: push 0x2b0e3154 */ 21172 RECOMP_ICALL(MEM32(0x2B0B604C)); /* 0x2B01D291: call dword ptr [0x2b0b604c] */ 21173 RECOMP_FLAGS_IN(); 21174 esi = POP32_VAL(esp); /* 0x2B01D297: pop esi */ 21175 ebp = POP32_VAL(esp); /* 0x2B01D298: pop ebp */ 21176 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B01D299: ret 4 */ 21177 RECOMP_REGS_OUT(); 21178 }